mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
public commit
This commit is contained in:
28
app/src/data/index.ts
Normal file
28
app/src/data/index.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { MutatorEvents, RepositoryEvents } from "./events";
|
||||
|
||||
export * from "./fields";
|
||||
export * from "./entities";
|
||||
export * from "./relations";
|
||||
export * from "./schema/SchemaManager";
|
||||
|
||||
export {
|
||||
type RepoQuery,
|
||||
defaultQuerySchema,
|
||||
querySchema,
|
||||
whereSchema
|
||||
} from "./server/data-query-impl";
|
||||
|
||||
export { whereRepoSchema as deprecated__whereRepoSchema } from "./server/query";
|
||||
|
||||
export { Connection } from "./connection/Connection";
|
||||
export { LibsqlConnection, type LibSqlCredentials } from "./connection/LibsqlConnection";
|
||||
export { SqliteConnection } from "./connection/SqliteConnection";
|
||||
export { SqliteLocalConnection } from "./connection/SqliteLocalConnection";
|
||||
|
||||
export const DatabaseEvents = {
|
||||
...MutatorEvents,
|
||||
...RepositoryEvents
|
||||
};
|
||||
export { MutatorEvents, RepositoryEvents };
|
||||
|
||||
export * as DataPermissions from "./permissions";
|
||||
Reference in New Issue
Block a user