@decaf-ts/core 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.cjs +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/types/auth/decorators.d.cts +2 -2
- package/lib/types/auth/decorators.d.mts +2 -2
- package/lib/types/auth/index.d.cts +2 -2
- package/lib/types/auth/index.d.mts +2 -2
- package/lib/types/fs/FilesystemAdapter.d.cts +5 -5
- package/lib/types/fs/FilesystemAdapter.d.mts +5 -5
- package/lib/types/fs/FsDispatch.d.cts +4 -4
- package/lib/types/fs/FsDispatch.d.mts +4 -4
- package/lib/types/fs/index.d.cts +4 -4
- package/lib/types/fs/index.d.mts +4 -4
- package/lib/types/fs/indexStore.d.cts +2 -2
- package/lib/types/fs/indexStore.d.mts +2 -2
- package/lib/types/fs/types.d.cts +2 -2
- package/lib/types/fs/types.d.mts +2 -2
- package/lib/types/identity/decorators.d.cts +3 -3
- package/lib/types/identity/decorators.d.mts +3 -3
- package/lib/types/identity/index.d.cts +1 -1
- package/lib/types/identity/index.d.mts +1 -1
- package/lib/types/index.d.cts +13 -13
- package/lib/types/index.d.mts +13 -13
- package/lib/types/interfaces/ContextuallyLogged.d.cts +2 -2
- package/lib/types/interfaces/ContextuallyLogged.d.mts +2 -2
- package/lib/types/interfaces/Observable.d.cts +1 -1
- package/lib/types/interfaces/Observable.d.mts +1 -1
- package/lib/types/interfaces/Paginatable.d.cts +1 -1
- package/lib/types/interfaces/Paginatable.d.mts +1 -1
- package/lib/types/interfaces/Queriable.d.cts +2 -2
- package/lib/types/interfaces/Queriable.d.mts +2 -2
- package/lib/types/interfaces/RawExecutor.d.cts +1 -1
- package/lib/types/interfaces/RawExecutor.d.mts +1 -1
- package/lib/types/interfaces/index.d.cts +7 -7
- package/lib/types/interfaces/index.d.mts +7 -7
- package/lib/types/migrations/Migration.d.cts +4 -4
- package/lib/types/migrations/Migration.d.mts +4 -4
- package/lib/types/migrations/MigrationService.d.cts +7 -7
- package/lib/types/migrations/MigrationService.d.mts +7 -7
- package/lib/types/migrations/MigrationTaskBuilder.d.cts +3 -3
- package/lib/types/migrations/MigrationTaskBuilder.d.mts +3 -3
- package/lib/types/migrations/MigrationTasks.d.cts +2 -2
- package/lib/types/migrations/MigrationTasks.d.mts +2 -2
- package/lib/types/migrations/SemverMigrationVersioning.d.cts +1 -1
- package/lib/types/migrations/SemverMigrationVersioning.d.mts +1 -1
- package/lib/types/migrations/StandardMigrationVersioning.d.cts +1 -1
- package/lib/types/migrations/StandardMigrationVersioning.d.mts +1 -1
- package/lib/types/migrations/constants.d.cts +1 -1
- package/lib/types/migrations/constants.d.mts +1 -1
- package/lib/types/migrations/decorators.d.cts +1 -1
- package/lib/types/migrations/decorators.d.mts +1 -1
- package/lib/types/migrations/index.d.cts +9 -9
- package/lib/types/migrations/index.d.mts +9 -9
- package/lib/types/migrations/types.d.cts +5 -5
- package/lib/types/migrations/types.d.mts +5 -5
- package/lib/types/model/SequenceModel.d.cts +1 -1
- package/lib/types/model/SequenceModel.d.mts +1 -1
- package/lib/types/model/construction.d.cts +4 -4
- package/lib/types/model/construction.d.mts +4 -4
- package/lib/types/model/decorators.d.cts +4 -4
- package/lib/types/model/decorators.d.mts +4 -4
- package/lib/types/model/index.d.cts +6 -6
- package/lib/types/model/index.d.mts +6 -6
- package/lib/types/model/indexing.d.cts +1 -1
- package/lib/types/model/indexing.d.mts +1 -1
- package/lib/types/model/types.d.cts +2 -2
- package/lib/types/model/types.d.mts +2 -2
- package/lib/types/overrides/Metadata.d.cts +6 -6
- package/lib/types/overrides/Metadata.d.mts +6 -6
- package/lib/types/overrides/Model.d.cts +3 -3
- package/lib/types/overrides/Model.d.mts +3 -3
- package/lib/types/overrides/index.d.cts +5 -5
- package/lib/types/overrides/index.d.mts +5 -5
- package/lib/types/overrides/injectables.d.cts +2 -2
- package/lib/types/overrides/injectables.d.mts +2 -2
- package/lib/types/persistence/Adapter.d.cts +15 -15
- package/lib/types/persistence/Adapter.d.mts +15 -15
- package/lib/types/persistence/Context.d.cts +1 -1
- package/lib/types/persistence/Context.d.mts +1 -1
- package/lib/types/persistence/ContextLock.d.cts +1 -1
- package/lib/types/persistence/ContextLock.d.mts +1 -1
- package/lib/types/persistence/Dispatch.d.cts +4 -4
- package/lib/types/persistence/Dispatch.d.mts +4 -4
- package/lib/types/persistence/ObserverHandler.d.cts +4 -4
- package/lib/types/persistence/ObserverHandler.d.mts +4 -4
- package/lib/types/persistence/Sequence.d.cts +7 -7
- package/lib/types/persistence/Sequence.d.mts +7 -7
- package/lib/types/persistence/constants.d.cts +2 -2
- package/lib/types/persistence/constants.d.mts +2 -2
- package/lib/types/persistence/decorators.d.cts +3 -3
- package/lib/types/persistence/decorators.d.mts +3 -3
- package/lib/types/persistence/event-filters.d.cts +2 -2
- package/lib/types/persistence/event-filters.d.mts +2 -2
- package/lib/types/persistence/index.d.cts +13 -13
- package/lib/types/persistence/index.d.mts +13 -13
- package/lib/types/persistence/transactions.d.cts +2 -2
- package/lib/types/persistence/transactions.d.mts +2 -2
- package/lib/types/persistence/types.d.cts +8 -8
- package/lib/types/persistence/types.d.mts +8 -8
- package/lib/types/query/Condition.d.cts +2 -2
- package/lib/types/query/Condition.d.mts +2 -2
- package/lib/types/query/MethodQueryBuilder.d.cts +1 -1
- package/lib/types/query/MethodQueryBuilder.d.mts +1 -1
- package/lib/types/query/Paginator.d.cts +3 -3
- package/lib/types/query/Paginator.d.mts +3 -3
- package/lib/types/query/Statement.d.cts +11 -11
- package/lib/types/query/Statement.d.mts +11 -11
- package/lib/types/query/decorators.d.cts +3 -3
- package/lib/types/query/decorators.d.mts +3 -3
- package/lib/types/query/index.d.cts +11 -11
- package/lib/types/query/index.d.mts +11 -11
- package/lib/types/query/options.d.cts +4 -4
- package/lib/types/query/options.d.mts +4 -4
- package/lib/types/query/selectors.d.cts +1 -1
- package/lib/types/query/selectors.d.mts +1 -1
- package/lib/types/query/types.d.cts +3 -3
- package/lib/types/query/types.d.mts +3 -3
- package/lib/types/query/utils.d.cts +1 -1
- package/lib/types/query/utils.d.mts +1 -1
- package/lib/types/ram/RamAdapter.d.cts +7 -7
- package/lib/types/ram/RamAdapter.d.mts +7 -7
- package/lib/types/ram/RamPaginator.d.cts +4 -4
- package/lib/types/ram/RamPaginator.d.mts +4 -4
- package/lib/types/ram/RamStatement.d.cts +5 -5
- package/lib/types/ram/RamStatement.d.mts +5 -5
- package/lib/types/ram/handlers.d.cts +3 -3
- package/lib/types/ram/handlers.d.mts +3 -3
- package/lib/types/ram/index.d.cts +6 -6
- package/lib/types/ram/index.d.mts +6 -6
- package/lib/types/ram/types.d.cts +3 -3
- package/lib/types/ram/types.d.mts +3 -3
- package/lib/types/repository/Repository.d.cts +13 -13
- package/lib/types/repository/Repository.d.mts +13 -13
- package/lib/types/repository/constants.d.cts +1 -1
- package/lib/types/repository/constants.d.mts +1 -1
- package/lib/types/repository/index.d.cts +7 -7
- package/lib/types/repository/index.d.mts +7 -7
- package/lib/types/repository/types.d.cts +1 -1
- package/lib/types/repository/types.d.mts +1 -1
- package/lib/types/services/ModelService.d.cts +8 -8
- package/lib/types/services/ModelService.d.mts +8 -8
- package/lib/types/services/PersistenceService.d.cts +4 -4
- package/lib/types/services/PersistenceService.d.mts +4 -4
- package/lib/types/services/index.d.cts +3 -3
- package/lib/types/services/index.d.mts +3 -3
- package/lib/types/services/services.d.cts +5 -5
- package/lib/types/services/services.d.mts +5 -5
- package/lib/types/tasks/CleanUpTask.d.cts +5 -5
- package/lib/types/tasks/CleanUpTask.d.mts +5 -5
- package/lib/types/tasks/TaskContext.d.cts +7 -7
- package/lib/types/tasks/TaskContext.d.mts +7 -7
- package/lib/types/tasks/TaskEngine.d.cts +18 -18
- package/lib/types/tasks/TaskEngine.d.mts +18 -18
- package/lib/types/tasks/TaskErrors.d.cts +2 -2
- package/lib/types/tasks/TaskErrors.d.mts +2 -2
- package/lib/types/tasks/TaskEventBus.d.cts +7 -7
- package/lib/types/tasks/TaskEventBus.d.mts +7 -7
- package/lib/types/tasks/TaskEventService.d.cts +3 -3
- package/lib/types/tasks/TaskEventService.d.mts +3 -3
- package/lib/types/tasks/TaskHandler.d.cts +3 -3
- package/lib/types/tasks/TaskHandler.d.mts +3 -3
- package/lib/types/tasks/TaskHandlerRegistry.d.cts +1 -1
- package/lib/types/tasks/TaskHandlerRegistry.d.mts +1 -1
- package/lib/types/tasks/TaskService.d.cts +15 -15
- package/lib/types/tasks/TaskService.d.mts +15 -15
- package/lib/types/tasks/TaskStateChangeError.d.cts +2 -2
- package/lib/types/tasks/TaskStateChangeError.d.mts +2 -2
- package/lib/types/tasks/TaskTracker.d.cts +8 -8
- package/lib/types/tasks/TaskTracker.d.mts +8 -8
- package/lib/types/tasks/builder.d.cts +4 -4
- package/lib/types/tasks/builder.d.mts +4 -4
- package/lib/types/tasks/constants.d.cts +1 -1
- package/lib/types/tasks/constants.d.mts +1 -1
- package/lib/types/tasks/index.d.cts +17 -17
- package/lib/types/tasks/index.d.mts +17 -17
- package/lib/types/tasks/logging.d.cts +1 -1
- package/lib/types/tasks/logging.d.mts +1 -1
- package/lib/types/tasks/models/TaskBackoffModel.d.cts +1 -1
- package/lib/types/tasks/models/TaskBackoffModel.d.mts +1 -1
- package/lib/types/tasks/models/TaskEventModel.d.cts +1 -1
- package/lib/types/tasks/models/TaskEventModel.d.mts +1 -1
- package/lib/types/tasks/models/TaskModel.d.cts +6 -6
- package/lib/types/tasks/models/TaskModel.d.mts +6 -6
- package/lib/types/tasks/models/TaskStepResultModel.d.cts +2 -2
- package/lib/types/tasks/models/TaskStepResultModel.d.mts +2 -2
- package/lib/types/tasks/models/index.d.cts +8 -8
- package/lib/types/tasks/models/index.d.mts +8 -8
- package/lib/types/tasks/types.d.cts +10 -10
- package/lib/types/tasks/types.d.mts +10 -10
- package/lib/types/tasks/utils.d.cts +2 -2
- package/lib/types/tasks/utils.d.mts +2 -2
- package/lib/types/utils/ContextualLoggedClass.d.cts +4 -4
- package/lib/types/utils/ContextualLoggedClass.d.mts +4 -4
- package/lib/types/utils/decorators.d.cts +1 -1
- package/lib/types/utils/decorators.d.mts +1 -1
- package/lib/types/utils/index.d.cts +6 -6
- package/lib/types/utils/index.d.mts +6 -6
- package/lib/types/workers/TaskEngine.d.cts +6 -6
- package/lib/types/workers/TaskEngine.d.mts +6 -6
- package/lib/types/workers/WorkThreadEnvironment.d.cts +1 -1
- package/lib/types/workers/WorkThreadEnvironment.d.mts +1 -1
- package/lib/types/workers/index.d.cts +4 -4
- package/lib/types/workers/index.d.mts +4 -4
- package/lib/types/workers/messages.d.cts +1 -1
- package/lib/types/workers/messages.d.mts +1 -1
- package/lib/types/workers/types.d.cts +3 -3
- package/lib/types/workers/types.d.mts +3 -3
- package/package.json +1 -1
- package/lib/types/auth/constants.d.ts +0 -5
- package/lib/types/auth/decorators.d.ts +0 -5
- package/lib/types/auth/index.d.ts +0 -2
- package/lib/types/fs/FilesystemAdapter.d.ts +0 -70
- package/lib/types/fs/FsDispatch.d.ts +0 -7
- package/lib/types/fs/helpers.d.ts +0 -17
- package/lib/types/fs/index.d.ts +0 -4
- package/lib/types/fs/indexStore.d.ts +0 -28
- package/lib/types/fs/locks/FilesystemLock.d.ts +0 -13
- package/lib/types/fs/locks/FilesystemMultiLock.d.ts +0 -8
- package/lib/types/fs/types.d.ts +0 -40
- package/lib/types/identity/decorators.d.ts +0 -72
- package/lib/types/identity/index.d.ts +0 -6
- package/lib/types/index.d.ts +0 -34
- package/lib/types/interfaces/ContextuallyLogged.d.ts +0 -8
- package/lib/types/interfaces/ErrorParser.d.ts +0 -16
- package/lib/types/interfaces/Executor.d.ts +0 -16
- package/lib/types/interfaces/Observable.d.ts +0 -33
- package/lib/types/interfaces/Observer.d.ts +0 -15
- package/lib/types/interfaces/Paginatable.d.ts +0 -20
- package/lib/types/interfaces/Queriable.d.ts +0 -47
- package/lib/types/interfaces/RawExecutor.d.ts +0 -28
- package/lib/types/interfaces/SequenceOptions.d.ts +0 -79
- package/lib/types/interfaces/index.d.ts +0 -12
- package/lib/types/migrations/Migration.d.ts +0 -19
- package/lib/types/migrations/MigrationService.d.ts +0 -63
- package/lib/types/migrations/MigrationTaskBuilder.d.ts +0 -10
- package/lib/types/migrations/MigrationTasks.d.ts +0 -9
- package/lib/types/migrations/MigrationVersioning.d.ts +0 -7
- package/lib/types/migrations/SemverMigrationVersioning.d.ts +0 -10
- package/lib/types/migrations/StandardMigrationVersioning.d.ts +0 -12
- package/lib/types/migrations/constants.d.ts +0 -2
- package/lib/types/migrations/decorators.d.ts +0 -12
- package/lib/types/migrations/index.d.ts +0 -15
- package/lib/types/migrations/types.d.ts +0 -46
- package/lib/types/model/BaseModel.d.ts +0 -37
- package/lib/types/model/SequenceModel.d.ts +0 -32
- package/lib/types/model/construction.d.ts +0 -455
- package/lib/types/model/decorators.d.ts +0 -237
- package/lib/types/model/index.d.ts +0 -11
- package/lib/types/model/indexing.d.ts +0 -20
- package/lib/types/model/types.d.ts +0 -60
- package/lib/types/overrides/Metadata.d.ts +0 -22
- package/lib/types/overrides/Model.d.ts +0 -94
- package/lib/types/overrides/ModelBuilder.d.ts +0 -31
- package/lib/types/overrides/index.d.ts +0 -11
- package/lib/types/overrides/injectables.d.ts +0 -10
- package/lib/types/overrides/overrides.d.ts +0 -1
- package/lib/types/persistence/Adapter.d.ts +0 -469
- package/lib/types/persistence/Context.d.ts +0 -16
- package/lib/types/persistence/ContextLock.d.ts +0 -18
- package/lib/types/persistence/Dispatch.d.ts +0 -128
- package/lib/types/persistence/ObserverHandler.d.ts +0 -111
- package/lib/types/persistence/Sequence.d.ts +0 -126
- package/lib/types/persistence/constants.d.ts +0 -74
- package/lib/types/persistence/decorators.d.ts +0 -28
- package/lib/types/persistence/errors.d.ts +0 -33
- package/lib/types/persistence/event-filters.d.ts +0 -20
- package/lib/types/persistence/generators.d.ts +0 -14
- package/lib/types/persistence/index.d.ts +0 -18
- package/lib/types/persistence/transactions.d.ts +0 -4
- package/lib/types/persistence/types.d.ts +0 -86
- package/lib/types/query/Condition.d.ts +0 -131
- package/lib/types/query/MethodQueryBuilder.d.ts +0 -185
- package/lib/types/query/Paginator.d.ts +0 -105
- package/lib/types/query/Statement.d.ts +0 -136
- package/lib/types/query/constants.d.ts +0 -69
- package/lib/types/query/decorators.d.ts +0 -8
- package/lib/types/query/errors.d.ts +0 -21
- package/lib/types/query/index.d.ts +0 -16
- package/lib/types/query/options.d.ts +0 -393
- package/lib/types/query/selectors.d.ts +0 -39
- package/lib/types/query/types.d.ts +0 -158
- package/lib/types/query/utils.d.ts +0 -40
- package/lib/types/ram/RamAdapter.d.ts +0 -341
- package/lib/types/ram/RamPaginator.d.ts +0 -54
- package/lib/types/ram/RamStatement.d.ts +0 -92
- package/lib/types/ram/constants.d.ts +0 -8
- package/lib/types/ram/handlers.d.ts +0 -24
- package/lib/types/ram/index.d.ts +0 -12
- package/lib/types/ram/types.d.ts +0 -50
- package/lib/types/repository/Repository.d.ts +0 -501
- package/lib/types/repository/constants.d.ts +0 -36
- package/lib/types/repository/decorators.d.ts +0 -30
- package/lib/types/repository/errors.d.ts +0 -19
- package/lib/types/repository/index.d.ts +0 -12
- package/lib/types/repository/injectables.d.ts +0 -95
- package/lib/types/repository/types.d.ts +0 -28
- package/lib/types/repository/utils.d.ts +0 -36
- package/lib/types/services/ModelService.d.ts +0 -45
- package/lib/types/services/PersistenceService.d.ts +0 -17
- package/lib/types/services/index.d.ts +0 -8
- package/lib/types/services/services.d.ts +0 -96
- package/lib/types/tasks/CleanUpTask.d.ts +0 -15
- package/lib/types/tasks/TaskContext.d.ts +0 -30
- package/lib/types/tasks/TaskEngine.d.ts +0 -97
- package/lib/types/tasks/TaskErrors.d.ts +0 -65
- package/lib/types/tasks/TaskEventBus.d.ts +0 -17
- package/lib/types/tasks/TaskEventService.d.ts +0 -7
- package/lib/types/tasks/TaskHandler.d.ts +0 -12
- package/lib/types/tasks/TaskHandlerRegistry.d.ts +0 -8
- package/lib/types/tasks/TaskService.d.ts +0 -65
- package/lib/types/tasks/TaskStateChangeError.d.ts +0 -11
- package/lib/types/tasks/TaskTracker.d.ts +0 -47
- package/lib/types/tasks/builder.d.ts +0 -72
- package/lib/types/tasks/constants.d.ts +0 -31
- package/lib/types/tasks/decorators.d.ts +0 -4
- package/lib/types/tasks/index.d.ts +0 -23
- package/lib/types/tasks/logging.d.ts +0 -31
- package/lib/types/tasks/models/TaskBackoffModel.d.ts +0 -9
- package/lib/types/tasks/models/TaskErrorModel.d.ts +0 -8
- package/lib/types/tasks/models/TaskEventModel.d.ts +0 -11
- package/lib/types/tasks/models/TaskIOSerializer.d.ts +0 -33
- package/lib/types/tasks/models/TaskLogEntryModel.d.ts +0 -10
- package/lib/types/tasks/models/TaskModel.d.ts +0 -43
- package/lib/types/tasks/models/TaskStepResultModel.d.ts +0 -9
- package/lib/types/tasks/models/TaskStepSpecModel.d.ts +0 -9
- package/lib/types/tasks/models/index.d.ts +0 -8
- package/lib/types/tasks/types.d.ts +0 -71
- package/lib/types/tasks/utils.d.ts +0 -5
- package/lib/types/utils/ContextualLoggedClass.d.ts +0 -37
- package/lib/types/utils/decorators.d.ts +0 -27
- package/lib/types/utils/errors.d.ts +0 -56
- package/lib/types/utils/index.d.ts +0 -11
- package/lib/types/utils/throttling.d.ts +0 -9
- package/lib/types/utils/types.d.ts +0 -23
- package/lib/types/utils/utils.d.ts +0 -22
- package/lib/types/workers/TaskEngine.d.ts +0 -40
- package/lib/types/workers/WorkThreadEnvironment.d.ts +0 -35
- package/lib/types/workers/index.d.ts +0 -5
- package/lib/types/workers/messages.d.ts +0 -69
- package/lib/types/workers/types.d.ts +0 -41
- package/lib/types/workers/workerThread.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AllOperationKeys, ObserverFilter } from "./types.
|
|
1
|
+
import { AllOperationKeys, ObserverFilter } from "./types.d.cts";
|
|
2
2
|
import { Model, ModelConstructor } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { Repo } from "../repository/Repository.
|
|
3
|
+
import type { Repo } from "../repository/Repository.d.cts";
|
|
4
4
|
export declare function onlyOnCreate(clazz: ModelConstructor<any>): ObserverFilter;
|
|
5
5
|
export declare function onlyOnUpdate(clazz: ModelConstructor<any>): ObserverFilter;
|
|
6
6
|
export declare function onlyOnDelete(clazz: ModelConstructor<any>): ObserverFilter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AllOperationKeys, ObserverFilter } from "./types.
|
|
1
|
+
import { AllOperationKeys, ObserverFilter } from "./types.d.mts";
|
|
2
2
|
import { Model, ModelConstructor } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import type { Repo } from "../repository/Repository.
|
|
3
|
+
import type { Repo } from "../repository/Repository.d.mts";
|
|
4
4
|
export declare function onlyOnCreate(clazz: ModelConstructor<any>): ObserverFilter;
|
|
5
5
|
export declare function onlyOnUpdate(clazz: ModelConstructor<any>): ObserverFilter;
|
|
6
6
|
export declare function onlyOnDelete(clazz: ModelConstructor<any>): ObserverFilter;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the persistence functionality, including Dispatch, constants, and more.
|
|
4
4
|
* @module core/persistence
|
|
5
5
|
*/
|
|
6
|
-
export * from "./Dispatch.
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./Context.
|
|
9
|
-
export * from "./ContextLock.
|
|
10
|
-
export * from "./decorators.
|
|
11
|
-
export * from "./errors.
|
|
12
|
-
export * from "./generators.
|
|
13
|
-
export * from "./event-filters.
|
|
14
|
-
export * from "./ObserverHandler.
|
|
15
|
-
export * from "./Sequence.
|
|
16
|
-
export * from "./types.
|
|
17
|
-
export * from "./transactions.
|
|
18
|
-
export * from "./Adapter.
|
|
6
|
+
export * from "./Dispatch.d.cts";
|
|
7
|
+
export * from "./constants.d.cts";
|
|
8
|
+
export * from "./Context.d.cts";
|
|
9
|
+
export * from "./ContextLock.d.cts";
|
|
10
|
+
export * from "./decorators.d.cts";
|
|
11
|
+
export * from "./errors.d.cts";
|
|
12
|
+
export * from "./generators.d.cts";
|
|
13
|
+
export * from "./event-filters.d.cts";
|
|
14
|
+
export * from "./ObserverHandler.d.cts";
|
|
15
|
+
export * from "./Sequence.d.cts";
|
|
16
|
+
export * from "./types.d.cts";
|
|
17
|
+
export * from "./transactions.d.cts";
|
|
18
|
+
export * from "./Adapter.d.cts";
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the persistence functionality, including Dispatch, constants, and more.
|
|
4
4
|
* @module core/persistence
|
|
5
5
|
*/
|
|
6
|
-
export * from "./Dispatch.
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./Context.
|
|
9
|
-
export * from "./ContextLock.
|
|
10
|
-
export * from "./decorators.
|
|
11
|
-
export * from "./errors.
|
|
12
|
-
export * from "./generators.
|
|
13
|
-
export * from "./event-filters.
|
|
14
|
-
export * from "./ObserverHandler.
|
|
15
|
-
export * from "./Sequence.
|
|
16
|
-
export * from "./types.
|
|
17
|
-
export * from "./transactions.
|
|
18
|
-
export * from "./Adapter.
|
|
6
|
+
export * from "./Dispatch.d.mts";
|
|
7
|
+
export * from "./constants.d.mts";
|
|
8
|
+
export * from "./Context.d.mts";
|
|
9
|
+
export * from "./ContextLock.d.mts";
|
|
10
|
+
export * from "./decorators.d.mts";
|
|
11
|
+
export * from "./errors.d.mts";
|
|
12
|
+
export * from "./generators.d.mts";
|
|
13
|
+
export * from "./event-filters.d.mts";
|
|
14
|
+
export * from "./ObserverHandler.d.mts";
|
|
15
|
+
export * from "./Sequence.d.mts";
|
|
16
|
+
export * from "./types.d.mts";
|
|
17
|
+
export * from "./transactions.d.mts";
|
|
18
|
+
export * from "./Adapter.d.mts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Adapter } from "../persistence/Adapter.
|
|
2
|
-
import { ContextLock } from "../persistence/ContextLock.
|
|
1
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
2
|
+
import { ContextLock } from "../persistence/ContextLock.d.cts";
|
|
3
3
|
export declare function getAdapterTransaction(obj: any, ...args: any[]): import(".").AdapterTransaction<Adapter<any, any, any, any>>;
|
|
4
4
|
export declare function getContextLock(obj: any, ...args: any[]): ContextLock;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Adapter } from "../persistence/Adapter.
|
|
2
|
-
import { ContextLock } from "../persistence/ContextLock.
|
|
1
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
2
|
+
import { ContextLock } from "../persistence/ContextLock.d.mts";
|
|
3
3
|
export declare function getAdapterTransaction(obj: any, ...args: any[]): import(".").AdapterTransaction<Adapter<any, any, any, any>>;
|
|
4
4
|
export declare function getContextLock(obj: any, ...args: any[]): ContextLock;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BulkCrudOperationKeys, LoggerOfFlags, OperationKeys, RepositoryFlags, ContextFlags as CtxFlags } from "@decaf-ts/db-decorators";
|
|
2
|
-
import { Adapter } from "./Adapter.
|
|
3
|
-
import { Observable, type Observer } from "../interfaces/index.
|
|
2
|
+
import { Adapter } from "./Adapter.d.cts";
|
|
3
|
+
import { Observable, type Observer } from "../interfaces/index.d.cts";
|
|
4
4
|
import { Logger } from "@decaf-ts/logging";
|
|
5
5
|
import { Constructor } from "@decaf-ts/decoration";
|
|
6
6
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
7
|
-
import { ContextualArgs, ContextualLoggedClass } from "../utils/ContextualLoggedClass.
|
|
8
|
-
import { Context } from "./Context.
|
|
9
|
-
import { Repository } from "../repository/Repository.
|
|
10
|
-
import { PersistenceKeys } from "./constants.
|
|
11
|
-
import { PreparedStatementKeys } from "../query/constants.
|
|
12
|
-
import { ContextLock } from "./ContextLock.
|
|
7
|
+
import { ContextualArgs, ContextualLoggedClass } from "../utils/ContextualLoggedClass.d.cts";
|
|
8
|
+
import { Context } from "./Context.d.cts";
|
|
9
|
+
import { Repository } from "../repository/Repository.d.cts";
|
|
10
|
+
import { PersistenceKeys } from "./constants.d.cts";
|
|
11
|
+
import { PreparedStatementKeys } from "../query/constants.d.cts";
|
|
12
|
+
import { ContextLock } from "./ContextLock.d.cts";
|
|
13
13
|
export type FlagsOfContext<C extends Context<any>> = C extends Context<infer F> ? F : never;
|
|
14
14
|
export type LoggerOfContext<C extends Context<any>> = LoggerOfFlags<FlagsOfContext<C>>;
|
|
15
15
|
export type ContextOfRepository<R extends Repository<any, any>> = R extends Repository<any, infer A> ? ContextOf<A> : never;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BulkCrudOperationKeys, LoggerOfFlags, OperationKeys, RepositoryFlags, ContextFlags as CtxFlags } from "@decaf-ts/db-decorators";
|
|
2
|
-
import { Adapter } from "./Adapter.
|
|
3
|
-
import { Observable, type Observer } from "../interfaces/index.
|
|
2
|
+
import { Adapter } from "./Adapter.d.mts";
|
|
3
|
+
import { Observable, type Observer } from "../interfaces/index.d.mts";
|
|
4
4
|
import { Logger } from "@decaf-ts/logging";
|
|
5
5
|
import { Constructor } from "@decaf-ts/decoration";
|
|
6
6
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
7
|
-
import { ContextualArgs, ContextualLoggedClass } from "../utils/ContextualLoggedClass.
|
|
8
|
-
import { Context } from "./Context.
|
|
9
|
-
import { Repository } from "../repository/Repository.
|
|
10
|
-
import { PersistenceKeys } from "./constants.
|
|
11
|
-
import { PreparedStatementKeys } from "../query/constants.
|
|
12
|
-
import { ContextLock } from "./ContextLock.
|
|
7
|
+
import { ContextualArgs, ContextualLoggedClass } from "../utils/ContextualLoggedClass.d.mts";
|
|
8
|
+
import { Context } from "./Context.d.mts";
|
|
9
|
+
import { Repository } from "../repository/Repository.d.mts";
|
|
10
|
+
import { PersistenceKeys } from "./constants.d.mts";
|
|
11
|
+
import { PreparedStatementKeys } from "../query/constants.d.mts";
|
|
12
|
+
import { ContextLock } from "./ContextLock.d.mts";
|
|
13
13
|
export type FlagsOfContext<C extends Context<any>> = C extends Context<infer F> ? F : never;
|
|
14
14
|
export type LoggerOfContext<C extends Context<any>> = LoggerOfFlags<FlagsOfContext<C>>;
|
|
15
15
|
export type ContextOfRepository<R extends Repository<any, any>> = R extends Repository<any, infer A> ? ContextOf<A> : never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AttributeOption, ConditionBuilderOption } from "./options.
|
|
1
|
+
import { AttributeOption, ConditionBuilderOption } from "./options.d.cts";
|
|
2
2
|
import { ConditionalAsync, Model, ModelArg, ModelErrorDefinition } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { GroupOperator, Operator } from "./constants.
|
|
3
|
+
import { GroupOperator, Operator } from "./constants.d.cts";
|
|
4
4
|
type InferAsync<M> = M extends Model<infer A> ? A : false;
|
|
5
5
|
/**
|
|
6
6
|
* @description Represents a logical condition for database queries
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AttributeOption, ConditionBuilderOption } from "./options.
|
|
1
|
+
import { AttributeOption, ConditionBuilderOption } from "./options.d.mts";
|
|
2
2
|
import { ConditionalAsync, Model, ModelArg, ModelErrorDefinition } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { GroupOperator, Operator } from "./constants.
|
|
3
|
+
import { GroupOperator, Operator } from "./constants.d.mts";
|
|
4
4
|
type InferAsync<M> = M extends Model<infer A> ? A : false;
|
|
5
5
|
/**
|
|
6
6
|
* @description Represents a logical condition for database queries
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Adapter } from "../persistence/Adapter.
|
|
1
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
3
|
import { Constructor } from "@decaf-ts/decoration";
|
|
4
4
|
import { LoggedClass } from "@decaf-ts/logging";
|
|
5
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
-
import { PreparedStatement } from "./types.
|
|
5
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
6
|
+
import { PreparedStatement } from "./types.d.cts";
|
|
7
7
|
/**
|
|
8
8
|
* @description Handles pagination for database queries
|
|
9
9
|
* @summary Provides functionality for navigating through paginated query results
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Adapter } from "../persistence/Adapter.
|
|
1
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
3
|
import { Constructor } from "@decaf-ts/decoration";
|
|
4
4
|
import { LoggedClass } from "@decaf-ts/logging";
|
|
5
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
-
import { PreparedStatement } from "./types.
|
|
5
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
6
|
+
import { PreparedStatement } from "./types.d.mts";
|
|
7
7
|
/**
|
|
8
8
|
* @description Handles pagination for database queries
|
|
9
9
|
* @summary Provides functionality for navigating through paginated query results
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
2
|
-
import type { Executor, RawExecutor } from "../interfaces/index.
|
|
3
|
-
import type { FromSelector, GroupBySelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.
|
|
4
|
-
import { Condition } from "./Condition.
|
|
2
|
+
import type { Executor, RawExecutor } from "../interfaces/index.d.cts";
|
|
3
|
+
import type { FromSelector, GroupBySelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.d.cts";
|
|
4
|
+
import { Condition } from "./Condition.d.cts";
|
|
5
5
|
import { Logger } from "@decaf-ts/logging";
|
|
6
|
-
import type { CountDistinctOption, CountOption, DistinctOption, GroupByResult, MaxOption, MinOption, OffsetOption, OrderAndGroupOption, OrderByResult, OrderByThenByOption, PreparableStatementExecutor, SelectOption, StatementExecutor, SumOption, AvgOption, WhereOption } from "./options.
|
|
7
|
-
import { Paginatable } from "../interfaces/Paginatable.
|
|
8
|
-
import { Paginator } from "./Paginator.
|
|
9
|
-
import { Adapter } from "../persistence/Adapter.
|
|
10
|
-
import type { AdapterFlags, ContextOf } from "../persistence/types.
|
|
6
|
+
import type { CountDistinctOption, CountOption, DistinctOption, GroupByResult, MaxOption, MinOption, OffsetOption, OrderAndGroupOption, OrderByResult, OrderByThenByOption, PreparableStatementExecutor, SelectOption, StatementExecutor, SumOption, AvgOption, WhereOption } from "./options.d.cts";
|
|
7
|
+
import { Paginatable } from "../interfaces/Paginatable.d.cts";
|
|
8
|
+
import { Paginator } from "./Paginator.d.cts";
|
|
9
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
10
|
+
import type { AdapterFlags, ContextOf } from "../persistence/types.d.cts";
|
|
11
11
|
import { Constructor } from "@decaf-ts/decoration";
|
|
12
|
-
import { type ContextualArgs, ContextualLoggedClass, type MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
13
|
-
import { PreparedStatement } from "./types.
|
|
14
|
-
import { Repository } from "../repository/Repository.
|
|
12
|
+
import { type ContextualArgs, ContextualLoggedClass, type MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
13
|
+
import { PreparedStatement } from "./types.d.cts";
|
|
14
|
+
import { Repository } from "../repository/Repository.d.cts";
|
|
15
15
|
/**
|
|
16
16
|
* @description Base class for database query statements
|
|
17
17
|
* @summary Provides a foundation for building and executing database queries
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
2
|
-
import type { Executor, RawExecutor } from "../interfaces/index.
|
|
3
|
-
import type { FromSelector, GroupBySelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.
|
|
4
|
-
import { Condition } from "./Condition.
|
|
2
|
+
import type { Executor, RawExecutor } from "../interfaces/index.d.mts";
|
|
3
|
+
import type { FromSelector, GroupBySelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.d.mts";
|
|
4
|
+
import { Condition } from "./Condition.d.mts";
|
|
5
5
|
import { Logger } from "@decaf-ts/logging";
|
|
6
|
-
import type { CountDistinctOption, CountOption, DistinctOption, GroupByResult, MaxOption, MinOption, OffsetOption, OrderAndGroupOption, OrderByResult, OrderByThenByOption, PreparableStatementExecutor, SelectOption, StatementExecutor, SumOption, AvgOption, WhereOption } from "./options.
|
|
7
|
-
import { Paginatable } from "../interfaces/Paginatable.
|
|
8
|
-
import { Paginator } from "./Paginator.
|
|
9
|
-
import { Adapter } from "../persistence/Adapter.
|
|
10
|
-
import type { AdapterFlags, ContextOf } from "../persistence/types.
|
|
6
|
+
import type { CountDistinctOption, CountOption, DistinctOption, GroupByResult, MaxOption, MinOption, OffsetOption, OrderAndGroupOption, OrderByResult, OrderByThenByOption, PreparableStatementExecutor, SelectOption, StatementExecutor, SumOption, AvgOption, WhereOption } from "./options.d.mts";
|
|
7
|
+
import { Paginatable } from "../interfaces/Paginatable.d.mts";
|
|
8
|
+
import { Paginator } from "./Paginator.d.mts";
|
|
9
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
10
|
+
import type { AdapterFlags, ContextOf } from "../persistence/types.d.mts";
|
|
11
11
|
import { Constructor } from "@decaf-ts/decoration";
|
|
12
|
-
import { type ContextualArgs, ContextualLoggedClass, type MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
13
|
-
import { PreparedStatement } from "./types.
|
|
14
|
-
import { Repository } from "../repository/Repository.
|
|
12
|
+
import { type ContextualArgs, ContextualLoggedClass, type MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
13
|
+
import { PreparedStatement } from "./types.d.mts";
|
|
14
|
+
import { Repository } from "../repository/Repository.d.mts";
|
|
15
15
|
/**
|
|
16
16
|
* @description Base class for database query statements
|
|
17
17
|
* @summary Provides a foundation for building and executing database queries
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QueryOptions, ViewKind, ViewOptions } from "./types.
|
|
2
|
-
import { PersistenceKeys } from "../persistence/constants.
|
|
3
|
-
import { Operator } from "./constants.
|
|
1
|
+
import { QueryOptions, ViewKind, ViewOptions } from "./types.d.cts";
|
|
2
|
+
import { PersistenceKeys } from "../persistence/constants.d.cts";
|
|
3
|
+
import { Operator } from "./constants.d.cts";
|
|
4
4
|
export declare function defaultQueryAttr(): (obj: object, prop?: any) => void;
|
|
5
5
|
export declare function prepared(): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
6
6
|
export declare function query(options?: QueryOptions): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QueryOptions, ViewKind, ViewOptions } from "./types.
|
|
2
|
-
import { PersistenceKeys } from "../persistence/constants.
|
|
3
|
-
import { Operator } from "./constants.
|
|
1
|
+
import { QueryOptions, ViewKind, ViewOptions } from "./types.d.mts";
|
|
2
|
+
import { PersistenceKeys } from "../persistence/constants.d.mts";
|
|
3
|
+
import { Operator } from "./constants.d.mts";
|
|
4
4
|
export declare function defaultQueryAttr(): (obj: object, prop?: any) => void;
|
|
5
5
|
export declare function prepared(): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
6
6
|
export declare function query(options?: QueryOptions): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the query functionality, including Condition, constants, errors, and more.
|
|
4
4
|
* @module core/query
|
|
5
5
|
*/
|
|
6
|
-
export * from "./Condition.
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./errors.
|
|
9
|
-
export * from "./options.
|
|
10
|
-
export * from "./Paginator.
|
|
11
|
-
export * from "./selectors.
|
|
12
|
-
export * from "./Statement.
|
|
13
|
-
export * from "./decorators.
|
|
14
|
-
export * from "./MethodQueryBuilder.
|
|
15
|
-
export * from "./types.
|
|
16
|
-
export * from "./utils.
|
|
6
|
+
export * from "./Condition.d.cts";
|
|
7
|
+
export * from "./constants.d.cts";
|
|
8
|
+
export * from "./errors.d.cts";
|
|
9
|
+
export * from "./options.d.cts";
|
|
10
|
+
export * from "./Paginator.d.cts";
|
|
11
|
+
export * from "./selectors.d.cts";
|
|
12
|
+
export * from "./Statement.d.cts";
|
|
13
|
+
export * from "./decorators.d.cts";
|
|
14
|
+
export * from "./MethodQueryBuilder.d.cts";
|
|
15
|
+
export * from "./types.d.cts";
|
|
16
|
+
export * from "./utils.d.cts";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the query functionality, including Condition, constants, errors, and more.
|
|
4
4
|
* @module core/query
|
|
5
5
|
*/
|
|
6
|
-
export * from "./Condition.
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./errors.
|
|
9
|
-
export * from "./options.
|
|
10
|
-
export * from "./Paginator.
|
|
11
|
-
export * from "./selectors.
|
|
12
|
-
export * from "./Statement.
|
|
13
|
-
export * from "./decorators.
|
|
14
|
-
export * from "./MethodQueryBuilder.
|
|
15
|
-
export * from "./types.
|
|
16
|
-
export * from "./utils.
|
|
6
|
+
export * from "./Condition.d.mts";
|
|
7
|
+
export * from "./constants.d.mts";
|
|
8
|
+
export * from "./errors.d.mts";
|
|
9
|
+
export * from "./options.d.mts";
|
|
10
|
+
export * from "./Paginator.d.mts";
|
|
11
|
+
export * from "./selectors.d.mts";
|
|
12
|
+
export * from "./Statement.d.mts";
|
|
13
|
+
export * from "./decorators.d.mts";
|
|
14
|
+
export * from "./MethodQueryBuilder.d.mts";
|
|
15
|
+
export * from "./types.d.mts";
|
|
16
|
+
export * from "./utils.d.mts";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { GroupBySelector, LimitSelector, OffsetSelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.
|
|
2
|
-
import { Executor } from "../interfaces/index.
|
|
1
|
+
import { GroupBySelector, LimitSelector, OffsetSelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.d.cts";
|
|
2
|
+
import { Executor } from "../interfaces/index.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Condition } from "./Condition.
|
|
5
|
-
import { Paginatable } from "../interfaces/Paginatable.
|
|
4
|
+
import { Condition } from "./Condition.d.cts";
|
|
5
|
+
import { Paginatable } from "../interfaces/Paginatable.d.cts";
|
|
6
6
|
import { Constructor } from "@decaf-ts/decoration";
|
|
7
7
|
type NormalizedGroupKey<M extends Model, K extends keyof M> = M[K] extends PropertyKey ? M[K] : PropertyKey;
|
|
8
8
|
type GroupByReturnValue<M extends Model, Keys extends readonly GroupBySelector<M>[]> = Keys extends [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { GroupBySelector, LimitSelector, OffsetSelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.
|
|
2
|
-
import { Executor } from "../interfaces/index.
|
|
1
|
+
import { GroupBySelector, LimitSelector, OffsetSelector, OrderBySelector, OrderDirectionInput, SelectSelector } from "./selectors.d.mts";
|
|
2
|
+
import { Executor } from "../interfaces/index.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Condition } from "./Condition.
|
|
5
|
-
import { Paginatable } from "../interfaces/Paginatable.
|
|
4
|
+
import { Condition } from "./Condition.d.mts";
|
|
5
|
+
import { Paginatable } from "../interfaces/Paginatable.d.mts";
|
|
6
6
|
import { Constructor } from "@decaf-ts/decoration";
|
|
7
7
|
type NormalizedGroupKey<M extends Model, K extends keyof M> = M[K] extends PropertyKey ? M[K] : PropertyKey;
|
|
8
8
|
type GroupByReturnValue<M extends Model, Keys extends readonly GroupBySelector<M>[]> = Keys extends [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { OrderDirection } from "../repository/index.
|
|
2
|
+
import { OrderDirection } from "../repository/index.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
export type OrderDirectionInput = OrderDirection | "asc" | "desc" | "ASC" | "DESC";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { OrderDirection } from "../repository/index.
|
|
2
|
+
import { OrderDirection } from "../repository/index.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
export type OrderDirectionInput = OrderDirection | "asc" | "desc" | "ASC" | "DESC";
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Condition } from "./Condition.
|
|
2
|
-
import { OrderBySelector } from "./selectors.
|
|
1
|
+
import { Condition } from "./Condition.d.cts";
|
|
2
|
+
import { OrderBySelector } from "./selectors.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { Constructor } from "@decaf-ts/decoration";
|
|
5
|
-
import { OrderDirection } from "../repository/constants.
|
|
5
|
+
import { OrderDirection } from "../repository/constants.d.cts";
|
|
6
6
|
/**
|
|
7
7
|
* @description
|
|
8
8
|
* Options for configuring query building behavior.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Condition } from "./Condition.
|
|
2
|
-
import { OrderBySelector } from "./selectors.
|
|
1
|
+
import { Condition } from "./Condition.d.mts";
|
|
2
|
+
import { OrderBySelector } from "./selectors.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { Constructor } from "@decaf-ts/decoration";
|
|
5
|
-
import { OrderDirection } from "../repository/constants.
|
|
5
|
+
import { OrderDirection } from "../repository/constants.d.mts";
|
|
6
6
|
/**
|
|
7
7
|
* @description
|
|
8
8
|
* Options for configuring query building behavior.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RamConfig, RamContext, RamFlags, RamStorage, RawRamQuery } from "./types.
|
|
2
|
-
import { RamStatement } from "./RamStatement.
|
|
3
|
-
import { Repository } from "../repository/Repository.
|
|
4
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
5
|
-
import { Adapter, AdapterFlags, RawResult } from "../persistence/index.
|
|
1
|
+
import { RamConfig, RamContext, RamFlags, RamStorage, RawRamQuery } from "./types.d.cts";
|
|
2
|
+
import { RamStatement } from "./RamStatement.d.cts";
|
|
3
|
+
import { Repository } from "../repository/Repository.d.cts";
|
|
4
|
+
import { Dispatch } from "../persistence/Dispatch.d.cts";
|
|
5
|
+
import { Adapter, AdapterFlags, RawResult } from "../persistence/index.d.cts";
|
|
6
6
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
7
7
|
import { BaseError, OperationKeys, PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
8
8
|
import type { Constructor } from "@decaf-ts/decoration";
|
|
9
|
-
import { RamPaginator } from "./RamPaginator.
|
|
10
|
-
import { ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
9
|
+
import { RamPaginator } from "./RamPaginator.d.cts";
|
|
10
|
+
import { ContextualArgs } from "../utils/ContextualLoggedClass.d.cts";
|
|
11
11
|
/**
|
|
12
12
|
* @description In-memory adapter for data persistence
|
|
13
13
|
* @summary The RamAdapter provides an in-memory implementation of the persistence layer.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RamConfig, RamContext, RamFlags, RamStorage, RawRamQuery } from "./types.
|
|
2
|
-
import { RamStatement } from "./RamStatement.
|
|
3
|
-
import { Repository } from "../repository/Repository.
|
|
4
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
5
|
-
import { Adapter, AdapterFlags, RawResult } from "../persistence/index.
|
|
1
|
+
import { RamConfig, RamContext, RamFlags, RamStorage, RawRamQuery } from "./types.d.mts";
|
|
2
|
+
import { RamStatement } from "./RamStatement.d.mts";
|
|
3
|
+
import { Repository } from "../repository/Repository.d.mts";
|
|
4
|
+
import { Dispatch } from "../persistence/Dispatch.d.mts";
|
|
5
|
+
import { Adapter, AdapterFlags, RawResult } from "../persistence/index.d.mts";
|
|
6
6
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
7
7
|
import { BaseError, OperationKeys, PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
8
8
|
import type { Constructor } from "@decaf-ts/decoration";
|
|
9
|
-
import { RamPaginator } from "./RamPaginator.
|
|
10
|
-
import { ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
9
|
+
import { RamPaginator } from "./RamPaginator.d.mts";
|
|
10
|
+
import { ContextualArgs } from "../utils/ContextualLoggedClass.d.mts";
|
|
11
11
|
/**
|
|
12
12
|
* @description In-memory adapter for data persistence
|
|
13
13
|
* @summary The RamAdapter provides an in-memory implementation of the persistence layer.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RawRamQuery } from "./types.
|
|
2
|
-
import { Paginator } from "../query/index.
|
|
1
|
+
import { RawRamQuery } from "./types.d.cts";
|
|
2
|
+
import { Paginator } from "../query/index.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Adapter } from "../persistence/index.
|
|
4
|
+
import { Adapter } from "../persistence/index.d.cts";
|
|
5
5
|
import type { Constructor } from "@decaf-ts/decoration";
|
|
6
|
-
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
+
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
7
7
|
/**
|
|
8
8
|
* @description RAM-specific paginator implementation
|
|
9
9
|
* @summary Extends the base Paginator class to provide pagination functionality for RAM adapter queries.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RawRamQuery } from "./types.
|
|
2
|
-
import { Paginator } from "../query/index.
|
|
1
|
+
import { RawRamQuery } from "./types.d.mts";
|
|
2
|
+
import { Paginator } from "../query/index.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Adapter } from "../persistence/index.
|
|
4
|
+
import { Adapter } from "../persistence/index.d.mts";
|
|
5
5
|
import type { Constructor } from "@decaf-ts/decoration";
|
|
6
|
-
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
+
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
7
7
|
/**
|
|
8
8
|
* @description RAM-specific paginator implementation
|
|
9
9
|
* @summary Extends the base Paginator class to provide pagination functionality for RAM adapter queries.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Condition } from "../query/index.
|
|
2
|
-
import { RamContext, RawRamQuery } from "./types.
|
|
1
|
+
import { Condition } from "../query/index.d.cts";
|
|
2
|
+
import { RamContext, RawRamQuery } from "./types.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Statement } from "../query/Statement.
|
|
5
|
-
import { Adapter } from "../persistence/Adapter.
|
|
6
|
-
import { AdapterFlags } from "../persistence/types.
|
|
4
|
+
import { Statement } from "../query/Statement.d.cts";
|
|
5
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
6
|
+
import { AdapterFlags } from "../persistence/types.d.cts";
|
|
7
7
|
/**
|
|
8
8
|
* @description RAM-specific query statement builder
|
|
9
9
|
* @summary Extends the base Statement class to provide query building functionality for the RAM adapter.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Condition } from "../query/index.
|
|
2
|
-
import { RamContext, RawRamQuery } from "./types.
|
|
1
|
+
import { Condition } from "../query/index.d.mts";
|
|
2
|
+
import { RamContext, RawRamQuery } from "./types.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
|
-
import { Statement } from "../query/Statement.
|
|
5
|
-
import { Adapter } from "../persistence/Adapter.
|
|
6
|
-
import { AdapterFlags } from "../persistence/types.
|
|
4
|
+
import { Statement } from "../query/Statement.d.mts";
|
|
5
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
6
|
+
import { AdapterFlags } from "../persistence/types.d.mts";
|
|
7
7
|
/**
|
|
8
8
|
* @description RAM-specific query statement builder
|
|
9
9
|
* @summary Extends the base Statement class to provide query building functionality for the RAM adapter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
2
|
-
import { RelationsMetadata } from "../model/index.
|
|
3
|
-
import { RamRepository } from "./types.
|
|
4
|
-
import { ContextOf } from "../persistence/index.
|
|
2
|
+
import { RelationsMetadata } from "../model/index.d.cts";
|
|
3
|
+
import { RamRepository } from "./types.d.cts";
|
|
4
|
+
import { ContextOf } from "../persistence/index.d.cts";
|
|
5
5
|
/**
|
|
6
6
|
* @description Sets the created by field on a model during RAM create/update operations
|
|
7
7
|
* @summary Automatically populates a model field with the UUID from the context during create or update operations.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
2
|
-
import { RelationsMetadata } from "../model/index.
|
|
3
|
-
import { RamRepository } from "./types.
|
|
4
|
-
import { ContextOf } from "../persistence/index.
|
|
2
|
+
import { RelationsMetadata } from "../model/index.d.mts";
|
|
3
|
+
import { RamRepository } from "./types.d.mts";
|
|
4
|
+
import { ContextOf } from "../persistence/index.d.mts";
|
|
5
5
|
/**
|
|
6
6
|
* @description Sets the created by field on a model during RAM create/update operations
|
|
7
7
|
* @summary Automatically populates a model field with the UUID from the context during create or update operations.
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* @module core/ram
|
|
5
5
|
*/
|
|
6
6
|
import "../overrides";
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./handlers.
|
|
9
|
-
export * from "./RamPaginator.
|
|
10
|
-
export * from "./RamStatement.
|
|
11
|
-
export * from "./types.
|
|
12
|
-
export * from "./RamAdapter.
|
|
7
|
+
export * from "./constants.d.cts";
|
|
8
|
+
export * from "./handlers.d.cts";
|
|
9
|
+
export * from "./RamPaginator.d.cts";
|
|
10
|
+
export * from "./RamStatement.d.cts";
|
|
11
|
+
export * from "./types.d.cts";
|
|
12
|
+
export * from "./RamAdapter.d.cts";
|