@decaf-ts/core 0.24.0 → 0.25.1
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 +14 -14
- package/lib/types/repository/Repository.d.mts +14 -14
- 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
package/lib/cjs/index.cjs
CHANGED
|
@@ -50,7 +50,7 @@ __exportStar(require("./persistence/index.cjs"), exports);
|
|
|
50
50
|
* @const VERSION
|
|
51
51
|
* @memberOf module:core
|
|
52
52
|
*/
|
|
53
|
-
exports.VERSION = "0.
|
|
53
|
+
exports.VERSION = "0.25.0";
|
|
54
54
|
/**
|
|
55
55
|
* @description Stores the current package version
|
|
56
56
|
* @summary A constant representing the version of the core package
|
package/lib/esm/index.js
CHANGED
|
@@ -33,7 +33,7 @@ export * from "./persistence/index.js";
|
|
|
33
33
|
* @const VERSION
|
|
34
34
|
* @memberOf module:core
|
|
35
35
|
*/
|
|
36
|
-
export const VERSION = "0.
|
|
36
|
+
export const VERSION = "0.25.0";
|
|
37
37
|
/**
|
|
38
38
|
* @description Stores the current package version
|
|
39
39
|
* @summary A constant representing the version of the core package
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
2
|
-
import { AuthorizationError } from "../utils/errors.
|
|
1
|
+
import { ContextualArgs } from "../utils/ContextualLoggedClass.d.cts";
|
|
2
|
+
import { AuthorizationError } from "../utils/errors.d.cts";
|
|
3
3
|
export type AuthHandler = (...args: ContextualArgs<any>) => void | AuthorizationError;
|
|
4
4
|
export declare function allowIf(handler: AuthHandler, ...argz: any[]): (target: object, propertyKey?: any, descriptor?: any) => void;
|
|
5
5
|
export declare function blockIf(handler: AuthHandler, ...argz: any[]): (target: object, propertyKey?: any, descriptor?: any) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
2
|
-
import { AuthorizationError } from "../utils/errors.
|
|
1
|
+
import { ContextualArgs } from "../utils/ContextualLoggedClass.d.mts";
|
|
2
|
+
import { AuthorizationError } from "../utils/errors.d.mts";
|
|
3
3
|
export type AuthHandler = (...args: ContextualArgs<any>) => void | AuthorizationError;
|
|
4
4
|
export declare function allowIf(handler: AuthHandler, ...argz: any[]): (target: object, propertyKey?: any, descriptor?: any) => void;
|
|
5
5
|
export declare function blockIf(handler: AuthHandler, ...argz: any[]): (target: object, propertyKey?: any, descriptor?: any) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./constants.
|
|
2
|
-
export * from "./decorators.
|
|
1
|
+
export * from "./constants.d.cts";
|
|
2
|
+
export * from "./decorators.d.cts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./constants.
|
|
2
|
-
export * from "./decorators.
|
|
1
|
+
export * from "./constants.d.mts";
|
|
2
|
+
export * from "./decorators.d.mts";
|
|
@@ -2,11 +2,11 @@ import { promises as defaultFs } from "node:fs";
|
|
|
2
2
|
import { Constructor } from "@decaf-ts/decoration";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
6
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
7
|
-
import { RamAdapter } from "../ram/index.
|
|
8
|
-
import type { RamContext, RawRamQuery } from "../ram/types.
|
|
9
|
-
import type { FilesystemConfig } from "./types.
|
|
5
|
+
import { Dispatch } from "../persistence/Dispatch.d.cts";
|
|
6
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
7
|
+
import { RamAdapter } from "../ram/index.d.cts";
|
|
8
|
+
import type { RamContext, RawRamQuery } from "../ram/types.d.cts";
|
|
9
|
+
import type { FilesystemConfig } from "./types.d.cts";
|
|
10
10
|
export declare class FilesystemAdapter extends RamAdapter {
|
|
11
11
|
private readonly rootDir;
|
|
12
12
|
private readonly dbPath;
|
|
@@ -2,11 +2,11 @@ import { promises as defaultFs } from "node:fs";
|
|
|
2
2
|
import { Constructor } from "@decaf-ts/decoration";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
6
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
7
|
-
import { RamAdapter } from "../ram/index.
|
|
8
|
-
import type { RamContext, RawRamQuery } from "../ram/types.
|
|
9
|
-
import type { FilesystemConfig } from "./types.
|
|
5
|
+
import { Dispatch } from "../persistence/Dispatch.d.mts";
|
|
6
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
7
|
+
import { RamAdapter } from "../ram/index.d.mts";
|
|
8
|
+
import type { RamContext, RawRamQuery } from "../ram/types.d.mts";
|
|
9
|
+
import type { FilesystemConfig } from "./types.d.mts";
|
|
10
10
|
export declare class FilesystemAdapter extends RamAdapter {
|
|
11
11
|
private readonly rootDir;
|
|
12
12
|
private readonly dbPath;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
2
|
-
import type { Adapter } from "../persistence/Adapter.
|
|
3
|
-
import { ContextOf } from "../persistence/types.
|
|
4
|
-
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
1
|
+
import { Dispatch } from "../persistence/Dispatch.d.cts";
|
|
2
|
+
import type { Adapter } from "../persistence/Adapter.d.cts";
|
|
3
|
+
import { ContextOf } from "../persistence/types.d.cts";
|
|
4
|
+
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
5
5
|
export declare class FsDispatch<A extends Adapter<any, any, any, any> = Adapter<any, any, any, any>> extends Dispatch<A> {
|
|
6
6
|
protected initialize(...args: MaybeContextualArg<ContextOf<A>>): Promise<void>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch } from "../persistence/Dispatch.
|
|
2
|
-
import type { Adapter } from "../persistence/Adapter.
|
|
3
|
-
import { ContextOf } from "../persistence/types.
|
|
4
|
-
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
1
|
+
import { Dispatch } from "../persistence/Dispatch.d.mts";
|
|
2
|
+
import type { Adapter } from "../persistence/Adapter.d.mts";
|
|
3
|
+
import { ContextOf } from "../persistence/types.d.mts";
|
|
4
|
+
import { MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
5
5
|
export declare class FsDispatch<A extends Adapter<any, any, any, any> = Adapter<any, any, any, any>> extends Dispatch<A> {
|
|
6
6
|
protected initialize(...args: MaybeContextualArg<ContextOf<A>>): Promise<void>;
|
|
7
7
|
}
|
package/lib/types/fs/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FilesystemAdapter.
|
|
2
|
-
export * from "./types.
|
|
3
|
-
export * from "./helpers.
|
|
4
|
-
export * from "./indexStore.
|
|
1
|
+
export * from "./FilesystemAdapter.d.cts";
|
|
2
|
+
export * from "./types.d.cts";
|
|
3
|
+
export * from "./helpers.d.cts";
|
|
4
|
+
export * from "./indexStore.d.cts";
|
package/lib/types/fs/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FilesystemAdapter.
|
|
2
|
-
export * from "./types.
|
|
3
|
-
export * from "./helpers.
|
|
4
|
-
export * from "./indexStore.
|
|
1
|
+
export * from "./FilesystemAdapter.d.mts";
|
|
2
|
+
export * from "./types.d.mts";
|
|
3
|
+
export * from "./helpers.d.mts";
|
|
4
|
+
export * from "./indexStore.d.mts";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { promises as FsPromises } from "node:fs";
|
|
2
2
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
3
|
-
import { OrderDirection } from "../repository/constants.
|
|
4
|
-
import { JsonSpacing } from "./helpers.
|
|
3
|
+
import { OrderDirection } from "../repository/constants.d.cts";
|
|
4
|
+
import { JsonSpacing } from "./helpers.d.cts";
|
|
5
5
|
export type IndexDescriptor = {
|
|
6
6
|
name: string;
|
|
7
7
|
fileName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { promises as FsPromises } from "node:fs";
|
|
2
2
|
import { PrimaryKeyType } from "@decaf-ts/db-decorators";
|
|
3
|
-
import { OrderDirection } from "../repository/constants.
|
|
4
|
-
import { JsonSpacing } from "./helpers.
|
|
3
|
+
import { OrderDirection } from "../repository/constants.d.mts";
|
|
4
|
+
import { JsonSpacing } from "./helpers.d.mts";
|
|
5
5
|
export type IndexDescriptor = {
|
|
6
6
|
name: string;
|
|
7
7
|
fileName: string;
|
package/lib/types/fs/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { promises as FsPromises } from "node:fs";
|
|
2
|
-
import type { RamConfig } from "../ram/types.
|
|
3
|
-
import type { JsonSpacing } from "./helpers.
|
|
2
|
+
import type { RamConfig } from "../ram/types.d.cts";
|
|
3
|
+
import type { JsonSpacing } from "./helpers.d.cts";
|
|
4
4
|
export type FilesystemHydrationInfo = {
|
|
5
5
|
table: string;
|
|
6
6
|
records: number;
|
package/lib/types/fs/types.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { promises as FsPromises } from "node:fs";
|
|
2
|
-
import type { RamConfig } from "../ram/types.
|
|
3
|
-
import type { JsonSpacing } from "./helpers.
|
|
2
|
+
import type { RamConfig } from "../ram/types.d.mts";
|
|
3
|
+
import type { JsonSpacing } from "./helpers.d.mts";
|
|
4
4
|
export type FilesystemHydrationInfo = {
|
|
5
5
|
table: string;
|
|
6
6
|
records: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../overrides";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { SequenceOptions } from "../interfaces/SequenceOptions.
|
|
3
|
+
import { SequenceOptions } from "../interfaces/SequenceOptions.d.cts";
|
|
4
4
|
import { GroupSort } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { Repository } from "../repository/Repository.
|
|
6
|
-
import { ContextOf } from "../persistence/types.
|
|
5
|
+
import { Repository } from "../repository/Repository.d.cts";
|
|
6
|
+
import { ContextOf } from "../persistence/types.d.cts";
|
|
7
7
|
export type SequenceDecoratorParams = {
|
|
8
8
|
/** when true, handler also runs on update (generates the next value) */
|
|
9
9
|
update?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../overrides";
|
|
2
2
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
3
|
-
import { SequenceOptions } from "../interfaces/SequenceOptions.
|
|
3
|
+
import { SequenceOptions } from "../interfaces/SequenceOptions.d.mts";
|
|
4
4
|
import { GroupSort } from "@decaf-ts/db-decorators";
|
|
5
|
-
import { Repository } from "../repository/Repository.
|
|
6
|
-
import { ContextOf } from "../persistence/types.
|
|
5
|
+
import { Repository } from "../repository/Repository.d.mts";
|
|
6
|
+
import { ContextOf } from "../persistence/types.d.mts";
|
|
7
7
|
export type SequenceDecoratorParams = {
|
|
8
8
|
/** when true, handler also runs on update (generates the next value) */
|
|
9
9
|
update?: boolean;
|
package/lib/types/index.d.cts
CHANGED
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
* It exports functionality from various submodules and sets up the injectable registry for repository decorators.
|
|
7
7
|
*/
|
|
8
8
|
import "./overrides";
|
|
9
|
-
export * from "./overrides/index.
|
|
10
|
-
export * from "./repository/index.
|
|
11
|
-
export * from "./auth/index.
|
|
12
|
-
export * from "./identity/index.
|
|
13
|
-
export * from "./interfaces/index.
|
|
14
|
-
export * from "./model/index.
|
|
15
|
-
export * from "./query/index.
|
|
16
|
-
export * from "./services/index.
|
|
17
|
-
export * from "./tasks/index.
|
|
18
|
-
export * from "./utils/index.
|
|
19
|
-
export * from "./migrations/index.
|
|
20
|
-
export * from "./persistence/index.
|
|
9
|
+
export * from "./overrides/index.d.cts";
|
|
10
|
+
export * from "./repository/index.d.cts";
|
|
11
|
+
export * from "./auth/index.d.cts";
|
|
12
|
+
export * from "./identity/index.d.cts";
|
|
13
|
+
export * from "./interfaces/index.d.cts";
|
|
14
|
+
export * from "./model/index.d.cts";
|
|
15
|
+
export * from "./query/index.d.cts";
|
|
16
|
+
export * from "./services/index.d.cts";
|
|
17
|
+
export * from "./tasks/index.d.cts";
|
|
18
|
+
export * from "./utils/index.d.cts";
|
|
19
|
+
export * from "./migrations/index.d.cts";
|
|
20
|
+
export * from "./persistence/index.d.cts";
|
|
21
21
|
/**
|
|
22
22
|
* @description Stores the current package version
|
|
23
23
|
* @summary A constant representing the version of the core package
|
|
24
24
|
* @const VERSION
|
|
25
25
|
* @memberOf module:core
|
|
26
26
|
*/
|
|
27
|
-
export declare const VERSION = "0.
|
|
27
|
+
export declare const VERSION = "0.25.0";
|
|
28
28
|
/**
|
|
29
29
|
* @description Stores the current package version
|
|
30
30
|
* @summary A constant representing the version of the core package
|
package/lib/types/index.d.mts
CHANGED
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
* It exports functionality from various submodules and sets up the injectable registry for repository decorators.
|
|
7
7
|
*/
|
|
8
8
|
import "./overrides";
|
|
9
|
-
export * from "./overrides/index.
|
|
10
|
-
export * from "./repository/index.
|
|
11
|
-
export * from "./auth/index.
|
|
12
|
-
export * from "./identity/index.
|
|
13
|
-
export * from "./interfaces/index.
|
|
14
|
-
export * from "./model/index.
|
|
15
|
-
export * from "./query/index.
|
|
16
|
-
export * from "./services/index.
|
|
17
|
-
export * from "./tasks/index.
|
|
18
|
-
export * from "./utils/index.
|
|
19
|
-
export * from "./migrations/index.
|
|
20
|
-
export * from "./persistence/index.
|
|
9
|
+
export * from "./overrides/index.d.mts";
|
|
10
|
+
export * from "./repository/index.d.mts";
|
|
11
|
+
export * from "./auth/index.d.mts";
|
|
12
|
+
export * from "./identity/index.d.mts";
|
|
13
|
+
export * from "./interfaces/index.d.mts";
|
|
14
|
+
export * from "./model/index.d.mts";
|
|
15
|
+
export * from "./query/index.d.mts";
|
|
16
|
+
export * from "./services/index.d.mts";
|
|
17
|
+
export * from "./tasks/index.d.mts";
|
|
18
|
+
export * from "./utils/index.d.mts";
|
|
19
|
+
export * from "./migrations/index.d.mts";
|
|
20
|
+
export * from "./persistence/index.d.mts";
|
|
21
21
|
/**
|
|
22
22
|
* @description Stores the current package version
|
|
23
23
|
* @summary A constant representing the version of the core package
|
|
24
24
|
* @const VERSION
|
|
25
25
|
* @memberOf module:core
|
|
26
26
|
*/
|
|
27
|
-
export declare const VERSION = "0.
|
|
27
|
+
export declare const VERSION = "0.25.0";
|
|
28
28
|
/**
|
|
29
29
|
* @description Stores the current package version
|
|
30
30
|
* @summary A constant representing the version of the core package
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Context } from "../persistence/Context.
|
|
2
|
-
import { LoggerOf } from "../persistence/types.
|
|
1
|
+
import { Context } from "../persistence/Context.d.cts";
|
|
2
|
+
import { LoggerOf } from "../persistence/types.d.cts";
|
|
3
3
|
export interface ContextuallyLogged<C extends Context<any>> {
|
|
4
4
|
logAndCtx(args: any[], method?: (...args: any[]) => any): {
|
|
5
5
|
ctx: C;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Context } from "../persistence/Context.
|
|
2
|
-
import { LoggerOf } from "../persistence/types.
|
|
1
|
+
import { Context } from "../persistence/Context.d.mts";
|
|
2
|
+
import { LoggerOf } from "../persistence/types.d.mts";
|
|
3
3
|
export interface ContextuallyLogged<C extends Context<any>> {
|
|
4
4
|
logAndCtx(args: any[], method?: (...args: any[]) => any): {
|
|
5
5
|
ctx: C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Observer } from "./Observer.
|
|
1
|
+
import { Observer } from "./Observer.d.cts";
|
|
2
2
|
/**
|
|
3
3
|
* @description Interface for objects that can be observed
|
|
4
4
|
* @summary Defines a contract for objects that implement the Observer pattern, allowing them to register observers,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Observer } from "./Observer.
|
|
1
|
+
import { Observer } from "./Observer.d.mts";
|
|
2
2
|
/**
|
|
3
3
|
* @description Interface for objects that can be observed
|
|
4
4
|
* @summary Defines a contract for objects that implement the Observer pattern, allowing them to register observers,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Condition, SelectSelector, WhereOption } from "../query/index.
|
|
2
|
-
import { OrderDirection } from "../repository/index.
|
|
1
|
+
import { Condition, SelectSelector, WhereOption } from "../query/index.d.cts";
|
|
2
|
+
import { OrderDirection } from "../repository/index.d.cts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
/**
|
|
5
5
|
* @description Interface for objects that support querying
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Condition, SelectSelector, WhereOption } from "../query/index.
|
|
2
|
-
import { OrderDirection } from "../repository/index.
|
|
1
|
+
import { Condition, SelectSelector, WhereOption } from "../query/index.d.mts";
|
|
2
|
+
import { OrderDirection } from "../repository/index.d.mts";
|
|
3
3
|
import { Model } from "@decaf-ts/decorator-validation";
|
|
4
4
|
/**
|
|
5
5
|
* @description Interface for objects that support querying
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RawResult } from "../persistence/types.
|
|
1
|
+
import { RawResult } from "../persistence/types.d.cts";
|
|
2
2
|
/**
|
|
3
3
|
* @description Interface for executing raw queries
|
|
4
4
|
* @summary Defines a contract for objects that can execute raw queries of a specific type and return results
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RawResult } from "../persistence/types.
|
|
1
|
+
import { RawResult } from "../persistence/types.d.mts";
|
|
2
2
|
/**
|
|
3
3
|
* @description Interface for executing raw queries
|
|
4
4
|
* @summary Defines a contract for objects that can execute raw queries of a specific type and return results
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the interfaces functionality, including ErrorParser, Executor, and more.
|
|
4
4
|
* @module core/interfaces
|
|
5
5
|
*/
|
|
6
|
-
export * from "./ErrorParser.
|
|
7
|
-
export * from "./Executor.
|
|
8
|
-
export * from "./Observable.
|
|
9
|
-
export * from "./Observer.
|
|
10
|
-
export * from "./Queriable.
|
|
11
|
-
export * from "./RawExecutor.
|
|
12
|
-
export * from "./SequenceOptions.
|
|
6
|
+
export * from "./ErrorParser.d.cts";
|
|
7
|
+
export * from "./Executor.d.cts";
|
|
8
|
+
export * from "./Observable.d.cts";
|
|
9
|
+
export * from "./Observer.d.cts";
|
|
10
|
+
export * from "./Queriable.d.cts";
|
|
11
|
+
export * from "./RawExecutor.d.cts";
|
|
12
|
+
export * from "./SequenceOptions.d.cts";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* @summary This file exports all the necessary components for the interfaces functionality, including ErrorParser, Executor, and more.
|
|
4
4
|
* @module core/interfaces
|
|
5
5
|
*/
|
|
6
|
-
export * from "./ErrorParser.
|
|
7
|
-
export * from "./Executor.
|
|
8
|
-
export * from "./Observable.
|
|
9
|
-
export * from "./Observer.
|
|
10
|
-
export * from "./Queriable.
|
|
11
|
-
export * from "./RawExecutor.
|
|
12
|
-
export * from "./SequenceOptions.
|
|
6
|
+
export * from "./ErrorParser.d.mts";
|
|
7
|
+
export * from "./Executor.d.mts";
|
|
8
|
+
export * from "./Observable.d.mts";
|
|
9
|
+
export * from "./Observer.d.mts";
|
|
10
|
+
export * from "./Queriable.d.mts";
|
|
11
|
+
export * from "./RawExecutor.d.mts";
|
|
12
|
+
export * from "./SequenceOptions.d.mts";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConnectionForAdapter, Migration } from "./types.
|
|
2
|
-
import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
3
|
-
import { Adapter } from "../persistence/Adapter.
|
|
4
|
-
import { ContextOf } from "../persistence/types.
|
|
1
|
+
import { ConnectionForAdapter, Migration } from "./types.d.cts";
|
|
2
|
+
import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.d.cts";
|
|
3
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
4
|
+
import { ContextOf } from "../persistence/types.d.cts";
|
|
5
5
|
export declare abstract class AbsMigration<A extends Adapter<any, any, any, any>, R = void> extends AbsContextual<ContextOf<A>> implements Migration<A, R> {
|
|
6
6
|
private _reference?;
|
|
7
7
|
private _precedence?;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConnectionForAdapter, Migration } from "./types.
|
|
2
|
-
import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.
|
|
3
|
-
import { Adapter } from "../persistence/Adapter.
|
|
4
|
-
import { ContextOf } from "../persistence/types.
|
|
1
|
+
import { ConnectionForAdapter, Migration } from "./types.d.mts";
|
|
2
|
+
import { AbsContextual, ContextualArgs } from "../utils/ContextualLoggedClass.d.mts";
|
|
3
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
4
|
+
import { ContextOf } from "../persistence/types.d.mts";
|
|
5
5
|
export declare abstract class AbsMigration<A extends Adapter<any, any, any, any>, R = void> extends AbsContextual<ContextOf<A>> implements Migration<A, R> {
|
|
6
6
|
private _reference?;
|
|
7
7
|
private _precedence?;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Migration, MigrationConfig, PersistenceMigrationConfig } from "./types.
|
|
2
|
-
import { ClientBasedService } from "../services/services.
|
|
3
|
-
import { Adapter } from "../persistence/Adapter.
|
|
4
|
-
import { ContextOf } from "../persistence/types.
|
|
5
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
-
import { TaskModel } from "../tasks/models/TaskModel.
|
|
7
|
-
import { MigrationVersioning } from "./MigrationVersioning.
|
|
1
|
+
import { Migration, MigrationConfig, PersistenceMigrationConfig } from "./types.d.cts";
|
|
2
|
+
import { ClientBasedService } from "../services/services.d.cts";
|
|
3
|
+
import { Adapter } from "../persistence/Adapter.d.cts";
|
|
4
|
+
import { ContextOf } from "../persistence/types.d.cts";
|
|
5
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.cts";
|
|
6
|
+
import { TaskModel } from "../tasks/models/TaskModel.d.cts";
|
|
7
|
+
import { MigrationVersioning } from "./MigrationVersioning.d.cts";
|
|
8
8
|
type ResolvedMigration = {
|
|
9
9
|
migration: Migration<any, any>;
|
|
10
10
|
flavour: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Migration, MigrationConfig, PersistenceMigrationConfig } from "./types.
|
|
2
|
-
import { ClientBasedService } from "../services/services.
|
|
3
|
-
import { Adapter } from "../persistence/Adapter.
|
|
4
|
-
import { ContextOf } from "../persistence/types.
|
|
5
|
-
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.
|
|
6
|
-
import { TaskModel } from "../tasks/models/TaskModel.
|
|
7
|
-
import { MigrationVersioning } from "./MigrationVersioning.
|
|
1
|
+
import { Migration, MigrationConfig, PersistenceMigrationConfig } from "./types.d.mts";
|
|
2
|
+
import { ClientBasedService } from "../services/services.d.mts";
|
|
3
|
+
import { Adapter } from "../persistence/Adapter.d.mts";
|
|
4
|
+
import { ContextOf } from "../persistence/types.d.mts";
|
|
5
|
+
import { ContextualArgs, MaybeContextualArg } from "../utils/ContextualLoggedClass.d.mts";
|
|
6
|
+
import { TaskModel } from "../tasks/models/TaskModel.d.mts";
|
|
7
|
+
import { MigrationVersioning } from "./MigrationVersioning.d.mts";
|
|
8
8
|
type ResolvedMigration = {
|
|
9
9
|
migration: Migration<any, any>;
|
|
10
10
|
flavour: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CompositeTaskBuilder } from "../tasks/builder.
|
|
2
|
-
import { TaskModel } from "../tasks/models/TaskModel.
|
|
3
|
-
import { MigrationStepInput } from "./MigrationTasks.
|
|
1
|
+
import { CompositeTaskBuilder } from "../tasks/builder.d.cts";
|
|
2
|
+
import { TaskModel } from "../tasks/models/TaskModel.d.cts";
|
|
3
|
+
import { MigrationStepInput } from "./MigrationTasks.d.cts";
|
|
4
4
|
export declare class MigrationTaskBuilder {
|
|
5
5
|
protected readonly builder: CompositeTaskBuilder;
|
|
6
6
|
constructor(name?: string);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CompositeTaskBuilder } from "../tasks/builder.
|
|
2
|
-
import { TaskModel } from "../tasks/models/TaskModel.
|
|
3
|
-
import { MigrationStepInput } from "./MigrationTasks.
|
|
1
|
+
import { CompositeTaskBuilder } from "../tasks/builder.d.mts";
|
|
2
|
+
import { TaskModel } from "../tasks/models/TaskModel.d.mts";
|
|
3
|
+
import { MigrationStepInput } from "./MigrationTasks.d.mts";
|
|
4
4
|
export declare class MigrationTaskBuilder {
|
|
5
5
|
protected readonly builder: CompositeTaskBuilder;
|
|
6
6
|
constructor(name?: string);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TaskHandler } from "../tasks/TaskHandler.
|
|
2
|
-
import { TaskContext } from "../tasks/TaskContext.
|
|
1
|
+
import { TaskHandler } from "../tasks/TaskHandler.d.cts";
|
|
2
|
+
import { TaskContext } from "../tasks/TaskContext.d.cts";
|
|
3
3
|
export interface MigrationStepInput {
|
|
4
4
|
reference: string;
|
|
5
5
|
args?: any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TaskHandler } from "../tasks/TaskHandler.
|
|
2
|
-
import { TaskContext } from "../tasks/TaskContext.
|
|
1
|
+
import { TaskHandler } from "../tasks/TaskHandler.d.mts";
|
|
2
|
+
import { TaskContext } from "../tasks/TaskContext.d.mts";
|
|
3
3
|
export interface MigrationStepInput {
|
|
4
4
|
reference: string;
|
|
5
5
|
args?: any[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MigrationConfig } from "./types.
|
|
1
|
+
import { MigrationConfig } from "./types.d.cts";
|
|
2
2
|
export declare const DefaultMigrationConfig: MigrationConfig<true>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MigrationConfig } from "./types.
|
|
1
|
+
import { MigrationConfig } from "./types.d.mts";
|
|
2
2
|
export declare const DefaultMigrationConfig: MigrationConfig<true>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { Migration, MigrationRule } from "./types.
|
|
2
|
+
import { Migration, MigrationRule } from "./types.d.cts";
|
|
3
3
|
export declare function migration(reference: string): (target: object) => any;
|
|
4
4
|
export declare function migration(reference: string, precedence: Constructor<Migration<any, any>> | null): (target: object) => any;
|
|
5
5
|
export declare function migration(reference: string, flavour: string, rules?: MigrationRule[]): (target: object) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Constructor } from "@decaf-ts/decoration";
|
|
2
|
-
import { Migration, MigrationRule } from "./types.
|
|
2
|
+
import { Migration, MigrationRule } from "./types.d.mts";
|
|
3
3
|
export declare function migration(reference: string): (target: object) => any;
|
|
4
4
|
export declare function migration(reference: string, precedence: Constructor<Migration<any, any>> | null): (target: object) => any;
|
|
5
5
|
export declare function migration(reference: string, flavour: string, rules?: MigrationRule[]): (target: object) => any;
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @module core/migrations
|
|
5
5
|
*/
|
|
6
6
|
import "../overrides";
|
|
7
|
-
export * from "./constants.
|
|
8
|
-
export * from "./decorators.
|
|
9
|
-
export * from "./Migration.
|
|
10
|
-
export * from "./MigrationService.
|
|
11
|
-
export * from "./MigrationTaskBuilder.
|
|
12
|
-
export * from "./MigrationTasks.
|
|
13
|
-
export * from "./StandardMigrationVersioning.
|
|
14
|
-
export * from "./MigrationVersioning.
|
|
15
|
-
export * from "./types.
|
|
7
|
+
export * from "./constants.d.cts";
|
|
8
|
+
export * from "./decorators.d.cts";
|
|
9
|
+
export * from "./Migration.d.cts";
|
|
10
|
+
export * from "./MigrationService.d.cts";
|
|
11
|
+
export * from "./MigrationTaskBuilder.d.cts";
|
|
12
|
+
export * from "./MigrationTasks.d.cts";
|
|
13
|
+
export * from "./StandardMigrationVersioning.d.cts";
|
|
14
|
+
export * from "./MigrationVersioning.d.cts";
|
|
15
|
+
export * from "./types.d.cts";
|