@decaf-ts/core 0.25.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
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
|
package/lib/types/index.d.cts
CHANGED
|
@@ -24,7 +24,7 @@ export * from "./persistence/index.d.cts";
|
|
|
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
|
@@ -24,7 +24,7 @@ export * from "./persistence/index.d.mts";
|
|
|
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
|
|
@@ -475,7 +475,7 @@ export declare class Repository<M extends Model<boolean>, A extends Adapter<any,
|
|
|
475
475
|
* @return {R} A repository instance for the model.
|
|
476
476
|
* @throws {InternalError} If no adapter is registered for the flavour.
|
|
477
477
|
*/
|
|
478
|
-
static forModel<M extends Model
|
|
478
|
+
static forModel<M extends Model<boolean>, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
|
|
479
479
|
/**
|
|
480
480
|
* @description Retrieves a repository for a model from the cache.
|
|
481
481
|
* @summary Gets a repository constructor or instance for the specified model from the internal cache.
|
|
@@ -475,7 +475,7 @@ export declare class Repository<M extends Model<boolean>, A extends Adapter<any,
|
|
|
475
475
|
* @return {R} A repository instance for the model.
|
|
476
476
|
* @throws {InternalError} If no adapter is registered for the flavour.
|
|
477
477
|
*/
|
|
478
|
-
static forModel<M extends Model
|
|
478
|
+
static forModel<M extends Model<boolean>, R extends Repo<M>>(model: Constructor<M>, alias?: string, ...args: any[]): R;
|
|
479
479
|
/**
|
|
480
480
|
* @description Retrieves a repository for a model from the cache.
|
|
481
481
|
* @summary Gets a repository constructor or instance for the specified model from the internal cache.
|