@vived/host 4.8.0 → 4.8.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/dist/cjs/Cache/Factories/setupCache.js +3 -5
- package/dist/cjs/Cache/Factories/setupCache.js.map +1 -1
- package/dist/esm/Cache/Factories/setupCache.js +3 -5
- package/dist/esm/Cache/Factories/setupCache.js.map +1 -1
- package/dist/types/Cache/Factories/setupCache.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.setupCache = setupCache;
|
|
4
|
-
const ScriptCacheEntity_1 = require("../Entities/ScriptCacheEntity");
|
|
5
|
-
const CacheEntity_1 = require("../Entities/CacheEntity");
|
|
6
4
|
const AssetCacheEntity_1 = require("../Entities/AssetCacheEntity");
|
|
7
|
-
const
|
|
8
|
-
const StoreScriptInCacheUC_1 = require("../UCs/StoreScriptInCacheUC");
|
|
5
|
+
const ScriptCacheEntity_1 = require("../Entities/ScriptCacheEntity");
|
|
9
6
|
const GetAssetFromCacheUC_1 = require("../UCs/GetAssetFromCacheUC");
|
|
7
|
+
const GetScriptFromCacheUC_1 = require("../UCs/GetScriptFromCacheUC");
|
|
10
8
|
const StoreAssetInCacheUC_1 = require("../UCs/StoreAssetInCacheUC");
|
|
9
|
+
const StoreScriptInCacheUC_1 = require("../UCs/StoreScriptInCacheUC");
|
|
11
10
|
/**
|
|
12
11
|
* Sets up the Cache feature components
|
|
13
12
|
*/
|
|
@@ -15,7 +14,6 @@ function setupCache(appObjects) {
|
|
|
15
14
|
// Create Cache Entity app object
|
|
16
15
|
const cacheEntityAO = appObjects.getOrCreate("Cache");
|
|
17
16
|
// Create entities
|
|
18
|
-
(0, CacheEntity_1.makeCacheEntity)(cacheEntityAO);
|
|
19
17
|
(0, ScriptCacheEntity_1.makeScriptCacheEntity)(cacheEntityAO);
|
|
20
18
|
(0, AssetCacheEntity_1.makeAssetCacheEntity)(cacheEntityAO);
|
|
21
19
|
// Create use cases
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupCache.js","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"setupCache.js","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":";;AAWA,gCAaC;AAvBD,mEAAoE;AACpE,qEAAsE;AACtE,oEAAqE;AACrE,sEAAuE;AACvE,oEAAqE;AACrE,sEAAuE;AAEvE;;GAEG;AACH,SAAgB,UAAU,CAAC,UAAyB;IAClD,iCAAiC;IACjC,MAAM,aAAa,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEtD,kBAAkB;IAClB,IAAA,yCAAqB,EAAC,aAAa,CAAC,CAAC;IACrC,IAAA,uCAAoB,EAAC,aAAa,CAAC,CAAC;IAEpC,mBAAmB;IACnB,IAAA,+CAAwB,EAAC,aAAa,CAAC,CAAC;IACxC,IAAA,+CAAwB,EAAC,aAAa,CAAC,CAAC;IACxC,IAAA,6CAAuB,EAAC,aAAa,CAAC,CAAC;IACvC,IAAA,6CAAuB,EAAC,aAAa,CAAC,CAAC;AACzC,CAAC","sourcesContent":["import { AppObjectRepo } from \"@vived/core\";\r\nimport { makeAssetCacheEntity } from \"../Entities/AssetCacheEntity\";\r\nimport { makeScriptCacheEntity } from \"../Entities/ScriptCacheEntity\";\r\nimport { makeGetAssetFromCacheUC } from \"../UCs/GetAssetFromCacheUC\";\r\nimport { makeGetScriptFromCacheUC } from \"../UCs/GetScriptFromCacheUC\";\r\nimport { makeStoreAssetInCacheUC } from \"../UCs/StoreAssetInCacheUC\";\r\nimport { makeStoreScriptInCacheUC } from \"../UCs/StoreScriptInCacheUC\";\r\n\r\n/**\r\n * Sets up the Cache feature components\r\n */\r\nexport function setupCache(appObjects: AppObjectRepo): void {\r\n // Create Cache Entity app object\r\n const cacheEntityAO = appObjects.getOrCreate(\"Cache\");\r\n\r\n // Create entities\r\n makeScriptCacheEntity(cacheEntityAO);\r\n makeAssetCacheEntity(cacheEntityAO);\r\n\r\n // Create use cases\r\n makeGetScriptFromCacheUC(cacheEntityAO);\r\n makeStoreScriptInCacheUC(cacheEntityAO);\r\n makeGetAssetFromCacheUC(cacheEntityAO);\r\n makeStoreAssetInCacheUC(cacheEntityAO);\r\n}\r\n"]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { makeScriptCacheEntity } from "../Entities/ScriptCacheEntity";
|
|
2
|
-
import { makeCacheEntity } from "../Entities/CacheEntity";
|
|
3
1
|
import { makeAssetCacheEntity } from "../Entities/AssetCacheEntity";
|
|
4
|
-
import {
|
|
5
|
-
import { makeStoreScriptInCacheUC } from "../UCs/StoreScriptInCacheUC";
|
|
2
|
+
import { makeScriptCacheEntity } from "../Entities/ScriptCacheEntity";
|
|
6
3
|
import { makeGetAssetFromCacheUC } from "../UCs/GetAssetFromCacheUC";
|
|
4
|
+
import { makeGetScriptFromCacheUC } from "../UCs/GetScriptFromCacheUC";
|
|
7
5
|
import { makeStoreAssetInCacheUC } from "../UCs/StoreAssetInCacheUC";
|
|
6
|
+
import { makeStoreScriptInCacheUC } from "../UCs/StoreScriptInCacheUC";
|
|
8
7
|
/**
|
|
9
8
|
* Sets up the Cache feature components
|
|
10
9
|
*/
|
|
@@ -12,7 +11,6 @@ export function setupCache(appObjects) {
|
|
|
12
11
|
// Create Cache Entity app object
|
|
13
12
|
const cacheEntityAO = appObjects.getOrCreate("Cache");
|
|
14
13
|
// Create entities
|
|
15
|
-
makeCacheEntity(cacheEntityAO);
|
|
16
14
|
makeScriptCacheEntity(cacheEntityAO);
|
|
17
15
|
makeAssetCacheEntity(cacheEntityAO);
|
|
18
16
|
// Create use cases
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupCache.js","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"setupCache.js","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,UAAyB;IAClD,iCAAiC;IACjC,MAAM,aAAa,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEtD,kBAAkB;IAClB,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACrC,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAEpC,mBAAmB;IACnB,wBAAwB,CAAC,aAAa,CAAC,CAAC;IACxC,wBAAwB,CAAC,aAAa,CAAC,CAAC;IACxC,uBAAuB,CAAC,aAAa,CAAC,CAAC;IACvC,uBAAuB,CAAC,aAAa,CAAC,CAAC;AACzC,CAAC","sourcesContent":["import { AppObjectRepo } from \"@vived/core\";\r\nimport { makeAssetCacheEntity } from \"../Entities/AssetCacheEntity\";\r\nimport { makeScriptCacheEntity } from \"../Entities/ScriptCacheEntity\";\r\nimport { makeGetAssetFromCacheUC } from \"../UCs/GetAssetFromCacheUC\";\r\nimport { makeGetScriptFromCacheUC } from \"../UCs/GetScriptFromCacheUC\";\r\nimport { makeStoreAssetInCacheUC } from \"../UCs/StoreAssetInCacheUC\";\r\nimport { makeStoreScriptInCacheUC } from \"../UCs/StoreScriptInCacheUC\";\r\n\r\n/**\r\n * Sets up the Cache feature components\r\n */\r\nexport function setupCache(appObjects: AppObjectRepo): void {\r\n // Create Cache Entity app object\r\n const cacheEntityAO = appObjects.getOrCreate(\"Cache\");\r\n\r\n // Create entities\r\n makeScriptCacheEntity(cacheEntityAO);\r\n makeAssetCacheEntity(cacheEntityAO);\r\n\r\n // Create use cases\r\n makeGetScriptFromCacheUC(cacheEntityAO);\r\n makeStoreScriptInCacheUC(cacheEntityAO);\r\n makeGetAssetFromCacheUC(cacheEntityAO);\r\n makeStoreAssetInCacheUC(cacheEntityAO);\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupCache.d.ts","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"setupCache.d.ts","sourceRoot":"","sources":["../../../../src/Cache/Factories/setupCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQ5C;;GAEG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,aAAa,GAAG,IAAI,CAa1D"}
|