Skip to content

Commit

Permalink
feat: exporting everything (for the future)
Browse files Browse the repository at this point in the history
  • Loading branch information
yUnreal committed May 20, 2024
1 parent 7a51c84 commit 4163d9d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/_exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { JSONBasedDriver } from './JSONBasedDriver';
3 changes: 3 additions & 0 deletions src/errors/_exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { QueryError } from './QueryError';
export { DriverError } from './DriverError';
export { SchemaError } from './SchemaError';
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from './errors/_exports';
export * from './typings/_exports';
export * from './structs/_exports';
export * from './drivers/_exports';
14 changes: 14 additions & 0 deletions src/structs/_exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export { Doc } from './Doc';
export { Model } from './Model';
export { Query } from './Query';
export { Schema } from './Schema';
export { QueryKey } from './QueryKey';
export { MapSchemaKey } from './schema/MapSchemaKey';
export { DateSchemaKey } from './schema/DateSchemaKey';
export { RegexSchemaKey } from './schema/RegexSchemaKey';
export { ArraySchemaKey } from './schema/ArraySchemaKey';
export { NumberSchemaKey } from './schema/NumberSchemaKey';
export { ObjectSchemaKey } from './schema/ObjectSchemaKey';
export { BigIntSchemaKey } from './schema/BigIntSchemaKey';
export { StringSchemaKey } from './schema/StringSchemaKey';
export { BooleanSchemaKey } from './schema/BooleanSchemaKey';
3 changes: 3 additions & 0 deletions src/typings/_exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './model';
export * from './query';
export * from './schema';

0 comments on commit 4163d9d

Please sign in to comment.