Skip to content

Commit

Permalink
chore: exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
yUnreal committed May 26, 2024
1 parent 6d57504 commit a839740
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ export const createModel = <S extends Schema<AnyObject>>(
name: string,
schema: S
) => new Model(name, schema);

export * from './types/schema';
export { Model } from './structs/Model';
export * from './structs/schema/exports';
export { Document } from './structs/Document';
export { JSONDriver } from './drivers/JSONDriver';
7 changes: 7 additions & 0 deletions lib/structs/schema/exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export { AnySchemaKey } from './AnySchemaKey';
export { BigIntSchemaKey } from './BigIntSchemaKey';
export { BooleanSchemaKey } from './BooleanSchemaKey';
export { DateSchemaKey } from './DateSchemaKey';
export { NumberSchemaKey } from './NumberSchemaKey';
export { Schema } from './Schema';
export { StringSchemaKey } from './StringSchemaKey';

0 comments on commit a839740

Please sign in to comment.