@decaf-ts/core 0.27.1 → 0.27.2
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/dist/core.cjs +1 -1
- package/lib/cjs/auth/constants.cjs +1 -1
- package/lib/cjs/auth/constants.cjs.map +1 -1
- package/lib/cjs/auth/decorators.cjs +1 -1
- package/lib/cjs/auth/decorators.cjs.map +1 -1
- package/lib/cjs/auth/index.cjs +1 -1
- package/lib/cjs/auth/index.cjs.map +1 -1
- package/lib/cjs/fs/FilesystemAdapter.cjs +1 -1
- package/lib/cjs/fs/FilesystemAdapter.cjs.map +1 -1
- package/lib/cjs/fs/FsDispatch.cjs +1 -1
- package/lib/cjs/fs/FsDispatch.cjs.map +1 -1
- package/lib/cjs/fs/helpers.cjs +1 -1
- package/lib/cjs/fs/helpers.cjs.map +1 -1
- package/lib/cjs/fs/index.cjs +1 -1
- package/lib/cjs/fs/index.cjs.map +1 -1
- package/lib/cjs/fs/indexStore.cjs +1 -1
- package/lib/cjs/fs/indexStore.cjs.map +1 -1
- package/lib/cjs/fs/locks/FilesystemLock.cjs +1 -1
- package/lib/cjs/fs/locks/FilesystemLock.cjs.map +1 -1
- package/lib/cjs/fs/locks/FilesystemMultiLock.cjs +1 -1
- package/lib/cjs/fs/locks/FilesystemMultiLock.cjs.map +1 -1
- package/lib/cjs/fs/types.cjs +1 -1
- package/lib/cjs/fs/types.cjs.map +1 -1
- package/lib/cjs/identity/decorators.cjs +1 -1
- package/lib/cjs/identity/decorators.cjs.map +1 -1
- package/lib/cjs/identity/index.cjs +1 -1
- package/lib/cjs/identity/index.cjs.map +1 -1
- package/lib/cjs/index.cjs +4 -4
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/cjs/interfaces/ContextuallyLogged.cjs +1 -1
- package/lib/cjs/interfaces/ContextuallyLogged.cjs.map +1 -1
- package/lib/cjs/interfaces/ErrorParser.cjs +1 -1
- package/lib/cjs/interfaces/ErrorParser.cjs.map +1 -1
- package/lib/cjs/interfaces/Executor.cjs +1 -1
- package/lib/cjs/interfaces/Executor.cjs.map +1 -1
- package/lib/cjs/interfaces/Observable.cjs +1 -1
- package/lib/cjs/interfaces/Observable.cjs.map +1 -1
- package/lib/cjs/interfaces/Observer.cjs +1 -1
- package/lib/cjs/interfaces/Observer.cjs.map +1 -1
- package/lib/cjs/interfaces/Paginatable.cjs +1 -1
- package/lib/cjs/interfaces/Paginatable.cjs.map +1 -1
- package/lib/cjs/interfaces/Queriable.cjs +1 -1
- package/lib/cjs/interfaces/Queriable.cjs.map +1 -1
- package/lib/cjs/interfaces/RawExecutor.cjs +1 -1
- package/lib/cjs/interfaces/RawExecutor.cjs.map +1 -1
- package/lib/cjs/interfaces/SequenceOptions.cjs +1 -1
- package/lib/cjs/interfaces/SequenceOptions.cjs.map +1 -1
- package/lib/cjs/interfaces/index.cjs +1 -1
- package/lib/cjs/interfaces/index.cjs.map +1 -1
- package/lib/cjs/migrations/Migration.cjs +1 -1
- package/lib/cjs/migrations/Migration.cjs.map +1 -1
- package/lib/cjs/migrations/MigrationService.cjs +1 -1
- package/lib/cjs/migrations/MigrationService.cjs.map +1 -1
- package/lib/cjs/migrations/MigrationTaskBuilder.cjs +1 -1
- package/lib/cjs/migrations/MigrationTaskBuilder.cjs.map +1 -1
- package/lib/cjs/migrations/MigrationTasks.cjs +1 -1
- package/lib/cjs/migrations/MigrationTasks.cjs.map +1 -1
- package/lib/cjs/migrations/MigrationVersioning.cjs +1 -1
- package/lib/cjs/migrations/MigrationVersioning.cjs.map +1 -1
- package/lib/cjs/migrations/SemverMigrationVersioning.cjs +1 -1
- package/lib/cjs/migrations/SemverMigrationVersioning.cjs.map +1 -1
- package/lib/cjs/migrations/StandardMigrationVersioning.cjs +1 -1
- package/lib/cjs/migrations/StandardMigrationVersioning.cjs.map +1 -1
- package/lib/cjs/migrations/constants.cjs +1 -1
- package/lib/cjs/migrations/constants.cjs.map +1 -1
- package/lib/cjs/migrations/decorators.cjs +1 -1
- package/lib/cjs/migrations/decorators.cjs.map +1 -1
- package/lib/cjs/migrations/index.cjs +1 -1
- package/lib/cjs/migrations/index.cjs.map +1 -1
- package/lib/cjs/migrations/types.cjs +1 -1
- package/lib/cjs/migrations/types.cjs.map +1 -1
- package/lib/cjs/model/BaseModel.cjs +1 -1
- package/lib/cjs/model/BaseModel.cjs.map +1 -1
- package/lib/cjs/model/SequenceModel.cjs +1 -1
- package/lib/cjs/model/SequenceModel.cjs.map +1 -1
- package/lib/cjs/model/construction.cjs +1 -1
- package/lib/cjs/model/construction.cjs.map +1 -1
- package/lib/cjs/model/decorators.cjs +1 -1
- package/lib/cjs/model/decorators.cjs.map +1 -1
- package/lib/cjs/model/index.cjs +1 -1
- package/lib/cjs/model/index.cjs.map +1 -1
- package/lib/cjs/model/indexing.cjs +1 -1
- package/lib/cjs/model/indexing.cjs.map +1 -1
- package/lib/cjs/model/types.cjs +1 -1
- package/lib/cjs/model/types.cjs.map +1 -1
- package/lib/cjs/overrides/Metadata.cjs +1 -1
- package/lib/cjs/overrides/Metadata.cjs.map +1 -1
- package/lib/cjs/overrides/Model.cjs +1 -1
- package/lib/cjs/overrides/Model.cjs.map +1 -1
- package/lib/cjs/overrides/ModelBuilder.cjs +1 -1
- package/lib/cjs/overrides/ModelBuilder.cjs.map +1 -1
- package/lib/cjs/overrides/index.cjs +1 -1
- package/lib/cjs/overrides/index.cjs.map +1 -1
- package/lib/cjs/overrides/injectables.cjs +1 -1
- package/lib/cjs/overrides/injectables.cjs.map +1 -1
- package/lib/cjs/overrides/overrides.cjs +1 -1
- package/lib/cjs/overrides/overrides.cjs.map +1 -1
- package/lib/cjs/persistence/Adapter.cjs +1 -1
- package/lib/cjs/persistence/Adapter.cjs.map +1 -1
- package/lib/cjs/persistence/Context.cjs +1 -1
- package/lib/cjs/persistence/Context.cjs.map +1 -1
- package/lib/cjs/persistence/ContextLock.cjs +1 -1
- package/lib/cjs/persistence/ContextLock.cjs.map +1 -1
- package/lib/cjs/persistence/Dispatch.cjs +1 -1
- package/lib/cjs/persistence/Dispatch.cjs.map +1 -1
- package/lib/cjs/persistence/ObserverHandler.cjs +1 -1
- package/lib/cjs/persistence/ObserverHandler.cjs.map +1 -1
- package/lib/cjs/persistence/Sequence.cjs +1 -1
- package/lib/cjs/persistence/Sequence.cjs.map +1 -1
- package/lib/cjs/persistence/constants.cjs +1 -1
- package/lib/cjs/persistence/constants.cjs.map +1 -1
- package/lib/cjs/persistence/decorators.cjs +1 -1
- package/lib/cjs/persistence/decorators.cjs.map +1 -1
- package/lib/cjs/persistence/errors.cjs +1 -1
- package/lib/cjs/persistence/errors.cjs.map +1 -1
- package/lib/cjs/persistence/event-filters.cjs +1 -1
- package/lib/cjs/persistence/event-filters.cjs.map +1 -1
- package/lib/cjs/persistence/generators.cjs +1 -1
- package/lib/cjs/persistence/generators.cjs.map +1 -1
- package/lib/cjs/persistence/index.cjs +1 -1
- package/lib/cjs/persistence/index.cjs.map +1 -1
- package/lib/cjs/persistence/transactions.cjs +1 -1
- package/lib/cjs/persistence/transactions.cjs.map +1 -1
- package/lib/cjs/persistence/types.cjs +1 -1
- package/lib/cjs/persistence/types.cjs.map +1 -1
- package/lib/cjs/query/Condition.cjs +1 -1
- package/lib/cjs/query/Condition.cjs.map +1 -1
- package/lib/cjs/query/MethodQueryBuilder.cjs +1 -1
- package/lib/cjs/query/MethodQueryBuilder.cjs.map +1 -1
- package/lib/cjs/query/Paginator.cjs +1 -1
- package/lib/cjs/query/Paginator.cjs.map +1 -1
- package/lib/cjs/query/Statement.cjs +1 -1
- package/lib/cjs/query/Statement.cjs.map +1 -1
- package/lib/cjs/query/constants.cjs +1 -1
- package/lib/cjs/query/constants.cjs.map +1 -1
- package/lib/cjs/query/decorators.cjs +1 -1
- package/lib/cjs/query/decorators.cjs.map +1 -1
- package/lib/cjs/query/errors.cjs +1 -1
- package/lib/cjs/query/errors.cjs.map +1 -1
- package/lib/cjs/query/index.cjs +1 -1
- package/lib/cjs/query/index.cjs.map +1 -1
- package/lib/cjs/query/options.cjs +1 -1
- package/lib/cjs/query/options.cjs.map +1 -1
- package/lib/cjs/query/selectors.cjs +1 -1
- package/lib/cjs/query/selectors.cjs.map +1 -1
- package/lib/cjs/query/types.cjs +1 -1
- package/lib/cjs/query/types.cjs.map +1 -1
- package/lib/cjs/query/utils.cjs +1 -1
- package/lib/cjs/query/utils.cjs.map +1 -1
- package/lib/cjs/ram/RamAdapter.cjs +1 -1
- package/lib/cjs/ram/RamAdapter.cjs.map +1 -1
- package/lib/cjs/ram/RamPaginator.cjs +1 -1
- package/lib/cjs/ram/RamPaginator.cjs.map +1 -1
- package/lib/cjs/ram/RamStatement.cjs +1 -1
- package/lib/cjs/ram/RamStatement.cjs.map +1 -1
- package/lib/cjs/ram/constants.cjs +1 -1
- package/lib/cjs/ram/constants.cjs.map +1 -1
- package/lib/cjs/ram/handlers.cjs +1 -1
- package/lib/cjs/ram/handlers.cjs.map +1 -1
- package/lib/cjs/ram/index.cjs +1 -1
- package/lib/cjs/ram/index.cjs.map +1 -1
- package/lib/cjs/ram/types.cjs +1 -1
- package/lib/cjs/ram/types.cjs.map +1 -1
- package/lib/cjs/repository/Repository.cjs +1 -1
- package/lib/cjs/repository/Repository.cjs.map +1 -1
- package/lib/cjs/repository/constants.cjs +1 -1
- package/lib/cjs/repository/constants.cjs.map +1 -1
- package/lib/cjs/repository/decorators.cjs +1 -1
- package/lib/cjs/repository/decorators.cjs.map +1 -1
- package/lib/cjs/repository/errors.cjs +1 -1
- package/lib/cjs/repository/errors.cjs.map +1 -1
- package/lib/cjs/repository/index.cjs +1 -1
- package/lib/cjs/repository/index.cjs.map +1 -1
- package/lib/cjs/repository/injectables.cjs +1 -1
- package/lib/cjs/repository/injectables.cjs.map +1 -1
- package/lib/cjs/repository/types.cjs +1 -1
- package/lib/cjs/repository/types.cjs.map +1 -1
- package/lib/cjs/repository/utils.cjs +1 -1
- package/lib/cjs/repository/utils.cjs.map +1 -1
- package/lib/cjs/services/ModelService.cjs +1 -1
- package/lib/cjs/services/ModelService.cjs.map +1 -1
- package/lib/cjs/services/PersistenceService.cjs +1 -1
- package/lib/cjs/services/PersistenceService.cjs.map +1 -1
- package/lib/cjs/services/index.cjs +1 -1
- package/lib/cjs/services/index.cjs.map +1 -1
- package/lib/cjs/services/services.cjs +1 -1
- package/lib/cjs/services/services.cjs.map +1 -1
- package/lib/cjs/tasks/CleanUpTask.cjs +1 -1
- package/lib/cjs/tasks/CleanUpTask.cjs.map +1 -1
- package/lib/cjs/tasks/TaskContext.cjs +1 -1
- package/lib/cjs/tasks/TaskContext.cjs.map +1 -1
- package/lib/cjs/tasks/TaskEngine.cjs +1 -1
- package/lib/cjs/tasks/TaskEngine.cjs.map +1 -1
- package/lib/cjs/tasks/TaskErrors.cjs +1 -1
- package/lib/cjs/tasks/TaskErrors.cjs.map +1 -1
- package/lib/cjs/tasks/TaskEventBus.cjs +1 -1
- package/lib/cjs/tasks/TaskEventBus.cjs.map +1 -1
- package/lib/cjs/tasks/TaskEventService.cjs +1 -1
- package/lib/cjs/tasks/TaskEventService.cjs.map +1 -1
- package/lib/cjs/tasks/TaskHandler.cjs +1 -1
- package/lib/cjs/tasks/TaskHandler.cjs.map +1 -1
- package/lib/cjs/tasks/TaskHandlerRegistry.cjs +1 -1
- package/lib/cjs/tasks/TaskHandlerRegistry.cjs.map +1 -1
- package/lib/cjs/tasks/TaskService.cjs +1 -1
- package/lib/cjs/tasks/TaskService.cjs.map +1 -1
- package/lib/cjs/tasks/TaskStateChangeError.cjs +1 -1
- package/lib/cjs/tasks/TaskStateChangeError.cjs.map +1 -1
- package/lib/cjs/tasks/TaskTracker.cjs +1 -1
- package/lib/cjs/tasks/TaskTracker.cjs.map +1 -1
- package/lib/cjs/tasks/builder.cjs +1 -1
- package/lib/cjs/tasks/builder.cjs.map +1 -1
- package/lib/cjs/tasks/constants.cjs +1 -1
- package/lib/cjs/tasks/constants.cjs.map +1 -1
- package/lib/cjs/tasks/decorators.cjs +1 -1
- package/lib/cjs/tasks/decorators.cjs.map +1 -1
- package/lib/cjs/tasks/index.cjs +1 -1
- package/lib/cjs/tasks/index.cjs.map +1 -1
- package/lib/cjs/tasks/logging.cjs +1 -1
- package/lib/cjs/tasks/logging.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskBackoffModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskBackoffModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskErrorModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskErrorModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskEventModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskEventModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskIOSerializer.cjs +1 -1
- package/lib/cjs/tasks/models/TaskIOSerializer.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskLogEntryModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskLogEntryModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskStepResultModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskStepResultModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/TaskStepSpecModel.cjs +1 -1
- package/lib/cjs/tasks/models/TaskStepSpecModel.cjs.map +1 -1
- package/lib/cjs/tasks/models/index.cjs +1 -1
- package/lib/cjs/tasks/models/index.cjs.map +1 -1
- package/lib/cjs/tasks/types.cjs +1 -1
- package/lib/cjs/tasks/types.cjs.map +1 -1
- package/lib/cjs/tasks/utils.cjs +1 -1
- package/lib/cjs/tasks/utils.cjs.map +1 -1
- package/lib/cjs/utils/ContextualLoggedClass.cjs +1 -1
- package/lib/cjs/utils/ContextualLoggedClass.cjs.map +1 -1
- package/lib/cjs/utils/decorators.cjs +1 -1
- package/lib/cjs/utils/decorators.cjs.map +1 -1
- package/lib/cjs/utils/errors.cjs +1 -1
- package/lib/cjs/utils/errors.cjs.map +1 -1
- package/lib/cjs/utils/index.cjs +1 -1
- package/lib/cjs/utils/index.cjs.map +1 -1
- package/lib/cjs/utils/throttling.cjs +1 -1
- package/lib/cjs/utils/throttling.cjs.map +1 -1
- package/lib/cjs/utils/types.cjs +1 -1
- package/lib/cjs/utils/types.cjs.map +1 -1
- package/lib/cjs/utils/utils.cjs +1 -1
- package/lib/cjs/utils/utils.cjs.map +1 -1
- package/lib/cjs/workers/TaskEngine.cjs +1 -1
- package/lib/cjs/workers/TaskEngine.cjs.map +1 -1
- package/lib/cjs/workers/WorkThreadEnvironment.cjs +1 -1
- package/lib/cjs/workers/WorkThreadEnvironment.cjs.map +1 -1
- package/lib/cjs/workers/index.cjs +1 -1
- package/lib/cjs/workers/index.cjs.map +1 -1
- package/lib/cjs/workers/messages.cjs +1 -1
- package/lib/cjs/workers/messages.cjs.map +1 -1
- package/lib/cjs/workers/types.cjs +1 -1
- package/lib/cjs/workers/types.cjs.map +1 -1
- package/lib/cjs/workers/workerThread.cjs +1 -1
- package/lib/cjs/workers/workerThread.cjs.map +1 -1
- package/lib/esm/index.js +3 -3
- package/lib/types/identity/decorators.d.cts +2 -2
- package/lib/types/identity/decorators.d.mts +2 -2
- package/lib/types/index.d.cts +3 -3
- package/lib/types/index.d.mts +3 -3
- package/lib/types/model/decorators.d.cts +4 -4
- package/lib/types/model/decorators.d.mts +4 -4
- package/lib/types/query/decorators.d.cts +2 -2
- package/lib/types/query/decorators.d.mts +2 -2
- package/lib/types/utils/decorators.d.cts +1 -1
- package/lib/types/utils/decorators.d.mts +1 -1
- package/package.json +7 -2
package/lib/esm/index.js
CHANGED
|
@@ -33,21 +33,21 @@ export * from "./persistence/index.js";
|
|
|
33
33
|
* @const VERSION
|
|
34
34
|
* @memberOf module:core
|
|
35
35
|
*/
|
|
36
|
-
export const VERSION = "0.27.
|
|
36
|
+
export const VERSION = "0.27.1";
|
|
37
37
|
/**
|
|
38
38
|
* @description Represents the current commit hash of the module build.
|
|
39
39
|
* @summary Stores the current git commit hash for the package. The build replaces
|
|
40
40
|
* the placeholder with the actual commit hash at publish time.
|
|
41
41
|
* @const COMMIT
|
|
42
42
|
*/
|
|
43
|
-
export const COMMIT = "
|
|
43
|
+
export const COMMIT = "79b9a2c";
|
|
44
44
|
/**
|
|
45
45
|
* @description Represents the full version string of the module.
|
|
46
46
|
* @summary Stores the semver version and commit hash for the package.
|
|
47
47
|
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
|
|
48
48
|
* @const FULL_VERSION
|
|
49
49
|
*/
|
|
50
|
-
export const FULL_VERSION = "0.27.
|
|
50
|
+
export const FULL_VERSION = "0.27.1-79b9a2c";
|
|
51
51
|
/**
|
|
52
52
|
* @description Stores the current package version
|
|
53
53
|
* @summary A constant representing the version of the core package
|
|
@@ -46,8 +46,8 @@ export type SequenceDecoratorParams = {
|
|
|
46
46
|
*/
|
|
47
47
|
export declare function pkOnCreate<M extends Model, R extends Repository<M, any>, V extends SequenceOptions>(this: R, context: ContextOf<R>, data: V, key: keyof M, model: M): Promise<void>;
|
|
48
48
|
export declare function sequenceOnCreateUpdate<M extends Model, R extends Repository<M, any>, V extends SequenceOptions & SequenceDecoratorParams>(this: R, context: ContextOf<R>, data: V, key: keyof M, model: M, oldModel?: M): Promise<void>;
|
|
49
|
-
export declare function pkDec(options: SequenceOptions, groupsort?: GroupSort): (obj: any, attr: any) =>
|
|
50
|
-
export declare function sequenceDec(options: SequenceOptions, params?: SequenceDecoratorParams, groupsort?: GroupSort): (obj: any, attr: any) =>
|
|
49
|
+
export declare function pkDec(options: SequenceOptions, groupsort?: GroupSort): (obj: any, attr: any) => any;
|
|
50
|
+
export declare function sequenceDec(options: SequenceOptions, params?: SequenceDecoratorParams, groupsort?: GroupSort): (obj: any, attr: any) => any;
|
|
51
51
|
/**
|
|
52
52
|
* @description Primary Key Decorator
|
|
53
53
|
* @summary Marks a property as the model's primary key with automatic sequence generation
|
|
@@ -46,8 +46,8 @@ export type SequenceDecoratorParams = {
|
|
|
46
46
|
*/
|
|
47
47
|
export declare function pkOnCreate<M extends Model, R extends Repository<M, any>, V extends SequenceOptions>(this: R, context: ContextOf<R>, data: V, key: keyof M, model: M): Promise<void>;
|
|
48
48
|
export declare function sequenceOnCreateUpdate<M extends Model, R extends Repository<M, any>, V extends SequenceOptions & SequenceDecoratorParams>(this: R, context: ContextOf<R>, data: V, key: keyof M, model: M, oldModel?: M): Promise<void>;
|
|
49
|
-
export declare function pkDec(options: SequenceOptions, groupsort?: GroupSort): (obj: any, attr: any) =>
|
|
50
|
-
export declare function sequenceDec(options: SequenceOptions, params?: SequenceDecoratorParams, groupsort?: GroupSort): (obj: any, attr: any) =>
|
|
49
|
+
export declare function pkDec(options: SequenceOptions, groupsort?: GroupSort): (obj: any, attr: any) => any;
|
|
50
|
+
export declare function sequenceDec(options: SequenceOptions, params?: SequenceDecoratorParams, groupsort?: GroupSort): (obj: any, attr: any) => any;
|
|
51
51
|
/**
|
|
52
52
|
* @description Primary Key Decorator
|
|
53
53
|
* @summary Marks a property as the model's primary key with automatic sequence generation
|
package/lib/types/index.d.cts
CHANGED
|
@@ -24,21 +24,21 @@ export * from "./persistence/index.d.cts";
|
|
|
24
24
|
* @const VERSION
|
|
25
25
|
* @memberOf module:core
|
|
26
26
|
*/
|
|
27
|
-
export declare const VERSION = "0.27.
|
|
27
|
+
export declare const VERSION = "0.27.1";
|
|
28
28
|
/**
|
|
29
29
|
* @description Represents the current commit hash of the module build.
|
|
30
30
|
* @summary Stores the current git commit hash for the package. The build replaces
|
|
31
31
|
* the placeholder with the actual commit hash at publish time.
|
|
32
32
|
* @const COMMIT
|
|
33
33
|
*/
|
|
34
|
-
export declare const COMMIT = "
|
|
34
|
+
export declare const COMMIT = "79b9a2c";
|
|
35
35
|
/**
|
|
36
36
|
* @description Represents the full version string of the module.
|
|
37
37
|
* @summary Stores the semver version and commit hash for the package.
|
|
38
38
|
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
|
|
39
39
|
* @const FULL_VERSION
|
|
40
40
|
*/
|
|
41
|
-
export declare const FULL_VERSION = "0.27.
|
|
41
|
+
export declare const FULL_VERSION = "0.27.1-79b9a2c";
|
|
42
42
|
/**
|
|
43
43
|
* @description Stores the current package version
|
|
44
44
|
* @summary A constant representing the version of the core package
|
package/lib/types/index.d.mts
CHANGED
|
@@ -24,21 +24,21 @@ export * from "./persistence/index.d.mts";
|
|
|
24
24
|
* @const VERSION
|
|
25
25
|
* @memberOf module:core
|
|
26
26
|
*/
|
|
27
|
-
export declare const VERSION = "0.27.
|
|
27
|
+
export declare const VERSION = "0.27.1";
|
|
28
28
|
/**
|
|
29
29
|
* @description Represents the current commit hash of the module build.
|
|
30
30
|
* @summary Stores the current git commit hash for the package. The build replaces
|
|
31
31
|
* the placeholder with the actual commit hash at publish time.
|
|
32
32
|
* @const COMMIT
|
|
33
33
|
*/
|
|
34
|
-
export declare const COMMIT = "
|
|
34
|
+
export declare const COMMIT = "79b9a2c";
|
|
35
35
|
/**
|
|
36
36
|
* @description Represents the full version string of the module.
|
|
37
37
|
* @summary Stores the semver version and commit hash for the package.
|
|
38
38
|
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
|
|
39
39
|
* @const FULL_VERSION
|
|
40
40
|
*/
|
|
41
|
-
export declare const FULL_VERSION = "0.27.
|
|
41
|
+
export declare const FULL_VERSION = "0.27.1-79b9a2c";
|
|
42
42
|
/**
|
|
43
43
|
* @description Stores the current package version
|
|
44
44
|
* @summary A constant representing the version of the core package
|
|
@@ -223,10 +223,10 @@ export declare function manyToOne<M extends Model>(clazz: Constructor<M> | (() =
|
|
|
223
223
|
* @see oneToOne
|
|
224
224
|
*/
|
|
225
225
|
export declare function manyToMany<M extends Model>(clazz: Constructor<M> | (() => Constructor<M>), cascadeOptions?: CascadeMetadata, populate?: boolean, joinTableOpts?: JoinTableOptions | JoinTableMultipleColumnsOptions, fk?: string): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
226
|
-
export declare function noValidateOn(...ops: OperationKeys[]): (target: any, propertyKey?: any) =>
|
|
227
|
-
export declare function noValidateOnCreate(): (target: any, propertyKey?: any) =>
|
|
228
|
-
export declare function noValidateOnUpdate(): (target: any, propertyKey?: any) =>
|
|
229
|
-
export declare function noValidateOnCreateUpdate(): (target: any, propertyKey?: any) =>
|
|
226
|
+
export declare function noValidateOn(...ops: OperationKeys[]): (target: any, propertyKey?: any) => any;
|
|
227
|
+
export declare function noValidateOnCreate(): (target: any, propertyKey?: any) => any;
|
|
228
|
+
export declare function noValidateOnUpdate(): (target: any, propertyKey?: any) => any;
|
|
229
|
+
export declare function noValidateOnCreateUpdate(): (target: any, propertyKey?: any) => any;
|
|
230
230
|
/**
|
|
231
231
|
* @description Specifies the model property as a relation
|
|
232
232
|
* @summary Decorator that specifies the model property as a relation in the database
|
|
@@ -223,10 +223,10 @@ export declare function manyToOne<M extends Model>(clazz: Constructor<M> | (() =
|
|
|
223
223
|
* @see oneToOne
|
|
224
224
|
*/
|
|
225
225
|
export declare function manyToMany<M extends Model>(clazz: Constructor<M> | (() => Constructor<M>), cascadeOptions?: CascadeMetadata, populate?: boolean, joinTableOpts?: JoinTableOptions | JoinTableMultipleColumnsOptions, fk?: string): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
226
|
-
export declare function noValidateOn(...ops: OperationKeys[]): (target: any, propertyKey?: any) =>
|
|
227
|
-
export declare function noValidateOnCreate(): (target: any, propertyKey?: any) =>
|
|
228
|
-
export declare function noValidateOnUpdate(): (target: any, propertyKey?: any) =>
|
|
229
|
-
export declare function noValidateOnCreateUpdate(): (target: any, propertyKey?: any) =>
|
|
226
|
+
export declare function noValidateOn(...ops: OperationKeys[]): (target: any, propertyKey?: any) => any;
|
|
227
|
+
export declare function noValidateOnCreate(): (target: any, propertyKey?: any) => any;
|
|
228
|
+
export declare function noValidateOnUpdate(): (target: any, propertyKey?: any) => any;
|
|
229
|
+
export declare function noValidateOnCreateUpdate(): (target: any, propertyKey?: any) => any;
|
|
230
230
|
/**
|
|
231
231
|
* @description Specifies the model property as a relation
|
|
232
232
|
* @summary Decorator that specifies the model property as a relation in the database
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QueryOptions, ViewKind, ViewOptions } from "./types.d.cts";
|
|
2
2
|
import { PersistenceKeys } from "../persistence/constants.d.cts";
|
|
3
3
|
import { Operator } from "./constants.d.cts";
|
|
4
|
-
export declare function defaultQueryAttr(): (obj: object, prop?: any) =>
|
|
4
|
+
export declare function defaultQueryAttr(): (obj: object, prop?: any) => any;
|
|
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;
|
|
7
|
-
export declare function applyViewDecorator(metaKey: PersistenceKeys | Operator, kind: ViewKind, opts?: ViewOptions): (target: any, attr: any) =>
|
|
7
|
+
export declare function applyViewDecorator(metaKey: PersistenceKeys | Operator, kind: ViewKind, opts?: ViewOptions): (target: any, attr: any) => any;
|
|
8
8
|
export declare function view<OPTS extends ViewOptions>(opts?: OPTS): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QueryOptions, ViewKind, ViewOptions } from "./types.d.mts";
|
|
2
2
|
import { PersistenceKeys } from "../persistence/constants.d.mts";
|
|
3
3
|
import { Operator } from "./constants.d.mts";
|
|
4
|
-
export declare function defaultQueryAttr(): (obj: object, prop?: any) =>
|
|
4
|
+
export declare function defaultQueryAttr(): (obj: object, prop?: any) => any;
|
|
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;
|
|
7
|
-
export declare function applyViewDecorator(metaKey: PersistenceKeys | Operator, kind: ViewKind, opts?: ViewOptions): (target: any, attr: any) =>
|
|
7
|
+
export declare function applyViewDecorator(metaKey: PersistenceKeys | Operator, kind: ViewKind, opts?: ViewOptions): (target: any, attr: any) => any;
|
|
8
8
|
export declare function view<OPTS extends ViewOptions>(opts?: OPTS): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
@@ -5,7 +5,7 @@ export declare const create: () => (target: any, _propertyKey?: any, descriptor?
|
|
|
5
5
|
export declare const read: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
6
6
|
export declare const update: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
7
7
|
export declare const del: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
8
|
-
export declare function service(key?: string | ModelConstructor<any>): (target: any, prop?: any, descriptor?: any) =>
|
|
8
|
+
export declare function service(key?: string | ModelConstructor<any>): (target: any, prop?: any, descriptor?: any) => any;
|
|
9
9
|
export declare function auth(model: string | Constructor): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
10
10
|
/**
|
|
11
11
|
* A decorator function that sets the roles required for authentication and authorization to the model in NestJS.
|
|
@@ -5,7 +5,7 @@ export declare const create: () => (target: any, _propertyKey?: any, descriptor?
|
|
|
5
5
|
export declare const read: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
6
6
|
export declare const update: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
7
7
|
export declare const del: () => (target: any, _propertyKey?: any, descriptor?: any) => any;
|
|
8
|
-
export declare function service(key?: string | ModelConstructor<any>): (target: any, prop?: any, descriptor?: any) =>
|
|
8
|
+
export declare function service(key?: string | ModelConstructor<any>): (target: any, prop?: any, descriptor?: any) => any;
|
|
9
9
|
export declare function auth(model: string | Constructor): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor<any>) => any;
|
|
10
10
|
/**
|
|
11
11
|
* A decorator function that sets the roles required for authentication and authorization to the model in NestJS.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/core",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "Core persistence module for the decaf framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -167,12 +167,17 @@
|
|
|
167
167
|
"optionalDependencies": {
|
|
168
168
|
"semver": "^7.7.2"
|
|
169
169
|
},
|
|
170
|
+
"overrides": {
|
|
171
|
+
"js-yaml": "^4.2.0"
|
|
172
|
+
},
|
|
170
173
|
"main": "./lib/cjs/index.cjs",
|
|
171
174
|
"module": "./lib/esm/index.js",
|
|
172
175
|
"sideEffects": [
|
|
173
176
|
"./lib/esm/overrides/index.js",
|
|
174
177
|
"./lib/esm/overrides/overrides.js",
|
|
175
178
|
"./lib/cjs/overrides/index.cjs",
|
|
176
|
-
"./lib/cjs/overrides/overrides.cjs"
|
|
179
|
+
"./lib/cjs/overrides/overrides.cjs",
|
|
180
|
+
"./lib/esm/persistence/index.js",
|
|
181
|
+
"./lib/cjs/persistence/index.cjs"
|
|
177
182
|
]
|
|
178
183
|
}
|