@imbricate/core 3.31.0 → 3.40.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.
Files changed (241) hide show
  1. package/author/definition.d.ts +0 -1
  2. package/author/definition.js +0 -1
  3. package/author/export.d.ts +0 -1
  4. package/author/export.js +0 -1
  5. package/common/action.d.ts +0 -1
  6. package/common/action.js +0 -1
  7. package/common/definition.d.ts +0 -1
  8. package/common/definition.js +0 -1
  9. package/common/export.d.ts +0 -1
  10. package/common/export.js +0 -1
  11. package/common/outcome.d.ts +0 -1
  12. package/common/outcome.js +0 -1
  13. package/database/base-class/essential-readonly.d.ts +0 -1
  14. package/database/base-class/essential-readonly.js +0 -1
  15. package/database/base-class/essential.d.ts +0 -1
  16. package/database/base-class/essential.js +0 -1
  17. package/database/base-class/exclude-annotation.d.ts +0 -1
  18. package/database/base-class/exclude-annotation.js +0 -1
  19. package/database/base-class/exclude-edit-records.d.ts +0 -1
  20. package/database/base-class/exclude-edit-records.js +0 -1
  21. package/database/base-class/full-feature-readonly.d.ts +0 -1
  22. package/database/base-class/full-feature-readonly.js +0 -1
  23. package/database/base-class/full-feature-with-action.d.ts +0 -1
  24. package/database/base-class/full-feature-with-action.js +0 -1
  25. package/database/base-class/full-feature.d.ts +0 -1
  26. package/database/base-class/full-feature.js +0 -1
  27. package/database/definition.d.ts +14 -1
  28. package/database/definition.js +10 -2
  29. package/database/export.d.ts +0 -1
  30. package/database/export.js +0 -1
  31. package/database/feature.d.ts +0 -1
  32. package/database/feature.js +0 -1
  33. package/database/interface.d.ts +0 -1
  34. package/database/interface.js +0 -1
  35. package/database/outcome.d.ts +0 -1
  36. package/database/outcome.js +0 -1
  37. package/database/schema.d.ts +0 -1
  38. package/database/schema.js +0 -1
  39. package/database/validate.d.ts +0 -1
  40. package/database/validate.js +0 -1
  41. package/database-manager/base-class/full-feature.d.ts +0 -1
  42. package/database-manager/base-class/full-feature.js +0 -1
  43. package/database-manager/base-class/readonly.d.ts +0 -1
  44. package/database-manager/base-class/readonly.js +0 -1
  45. package/database-manager/database-manager.d.ts +0 -1
  46. package/database-manager/database-manager.js +0 -1
  47. package/database-manager/definition.d.ts +0 -1
  48. package/database-manager/definition.js +0 -1
  49. package/database-manager/export.d.ts +0 -1
  50. package/database-manager/export.js +0 -1
  51. package/database-manager/feature.d.ts +0 -1
  52. package/database-manager/feature.js +0 -1
  53. package/database-manager/outcome.d.ts +0 -1
  54. package/database-manager/outcome.js +0 -1
  55. package/document/base-class/essential-readonly.d.ts +0 -1
  56. package/document/base-class/essential-readonly.js +0 -1
  57. package/document/base-class/essential.d.ts +0 -1
  58. package/document/base-class/essential.js +0 -1
  59. package/document/base-class/exclude-annotation.d.ts +0 -1
  60. package/document/base-class/exclude-annotation.js +0 -1
  61. package/document/base-class/exclude-edit-records.d.ts +0 -1
  62. package/document/base-class/exclude-edit-records.js +0 -1
  63. package/document/base-class/full-feature-readonly.d.ts +0 -1
  64. package/document/base-class/full-feature-readonly.js +0 -1
  65. package/document/base-class/full-feature-with-action.d.ts +0 -1
  66. package/document/base-class/full-feature-with-action.js +0 -1
  67. package/document/base-class/full-feature.d.ts +0 -1
  68. package/document/base-class/full-feature.js +0 -1
  69. package/document/definition.d.ts +0 -1
  70. package/document/definition.js +0 -1
  71. package/document/export.d.ts +0 -1
  72. package/document/export.js +0 -1
  73. package/document/feature.d.ts +0 -1
  74. package/document/feature.js +0 -1
  75. package/document/interface.d.ts +0 -1
  76. package/document/interface.js +0 -1
  77. package/document/outcome.d.ts +0 -1
  78. package/document/outcome.js +0 -1
  79. package/document/property/default-value.d.ts +0 -1
  80. package/document/property/default-value.js +0 -1
  81. package/document/property/definition.d.ts +0 -1
  82. package/document/property/definition.js +0 -1
  83. package/document/property/primary.d.ts +0 -1
  84. package/document/property/primary.js +0 -1
  85. package/document/property/triage-base.d.ts +0 -1
  86. package/document/property/triage-base.js +0 -1
  87. package/document/property/triage-manager.d.ts +0 -1
  88. package/document/property/triage-manager.js +0 -1
  89. package/document/property/triage.d.ts +0 -1
  90. package/document/property/triage.js +0 -1
  91. package/error/database/database-error.d.ts +0 -1
  92. package/error/database/database-error.js +0 -1
  93. package/error/database/feature-not-supported.d.ts +0 -1
  94. package/error/database/feature-not-supported.js +0 -1
  95. package/error/database-manager/database-manager-error.d.ts +0 -1
  96. package/error/database-manager/database-manager-error.js +0 -1
  97. package/error/database-manager/feature-not-supported.d.ts +0 -1
  98. package/error/database-manager/feature-not-supported.js +0 -1
  99. package/error/document/document-error.d.ts +0 -1
  100. package/error/document/document-error.js +0 -1
  101. package/error/document/feature-not-supported.d.ts +0 -1
  102. package/error/document/feature-not-supported.js +0 -1
  103. package/error/export.d.ts +0 -1
  104. package/error/export.js +0 -1
  105. package/error/imbricate-error.d.ts +0 -1
  106. package/error/imbricate-error.js +0 -1
  107. package/error/origin/feature-not-supported.d.ts +0 -1
  108. package/error/origin/feature-not-supported.js +0 -1
  109. package/error/origin/origin-error.d.ts +0 -1
  110. package/error/origin/origin-error.js +0 -1
  111. package/error/property/feature-not-supported.d.ts +0 -1
  112. package/error/property/feature-not-supported.js +0 -1
  113. package/error/property/property-error.d.ts +0 -1
  114. package/error/property/property-error.js +0 -1
  115. package/error/static/feature-not-supported.d.ts +0 -1
  116. package/error/static/feature-not-supported.js +0 -1
  117. package/error/static/static-error.d.ts +0 -1
  118. package/error/static/static-error.js +0 -1
  119. package/error/static-manager/feature-not-supported.d.ts +0 -1
  120. package/error/static-manager/feature-not-supported.js +0 -1
  121. package/error/static-manager/static-manager-error.d.ts +0 -1
  122. package/error/static-manager/static-manager-error.js +0 -1
  123. package/error/text/feature-not-supported.d.ts +0 -1
  124. package/error/text/feature-not-supported.js +0 -1
  125. package/error/text/text-error.d.ts +0 -1
  126. package/error/text/text-error.js +0 -1
  127. package/error/text-manager/feature-not-supported.d.ts +0 -1
  128. package/error/text-manager/feature-not-supported.js +0 -1
  129. package/error/text-manager/text-manager-error.d.ts +0 -1
  130. package/error/text-manager/text-manager-error.js +0 -1
  131. package/index.d.ts +0 -1
  132. package/index.js +0 -1
  133. package/loader/definition.d.ts +0 -1
  134. package/loader/definition.js +0 -1
  135. package/loader/export.d.ts +0 -2
  136. package/loader/export.js +0 -2
  137. package/loader/persistence.d.ts +8 -1
  138. package/loader/persistence.js +17 -2
  139. package/origin/base-class/essential.d.ts +1 -2
  140. package/origin/base-class/essential.js +0 -1
  141. package/origin/base-class/exclude-static.d.ts +1 -2
  142. package/origin/base-class/exclude-static.js +0 -1
  143. package/origin/base-class/full-feature-with-action.d.ts +3 -3
  144. package/origin/base-class/full-feature-with-action.js +5 -1
  145. package/origin/base-class/full-feature.d.ts +1 -2
  146. package/origin/base-class/full-feature.js +0 -1
  147. package/origin/definition.d.ts +0 -1
  148. package/origin/definition.js +0 -1
  149. package/origin/export.d.ts +0 -1
  150. package/origin/export.js +0 -1
  151. package/origin/feature.d.ts +0 -1
  152. package/origin/feature.js +0 -1
  153. package/origin/interface.d.ts +5 -5
  154. package/origin/interface.js +0 -1
  155. package/origin/outcome.d.ts +8 -1
  156. package/origin/outcome.js +7 -2
  157. package/origin/search.d.ts +0 -1
  158. package/origin/search.js +0 -1
  159. package/package.json +2 -2
  160. package/property/base-class/full-feature-with-action.d.ts +0 -1
  161. package/property/base-class/full-feature-with-action.js +0 -1
  162. package/property/base-class/full-feature.d.ts +0 -1
  163. package/property/base-class/full-feature.js +0 -1
  164. package/property/definition.d.ts +0 -1
  165. package/property/definition.js +0 -1
  166. package/property/export.d.ts +0 -1
  167. package/property/export.js +0 -1
  168. package/property/feature.d.ts +0 -1
  169. package/property/feature.js +0 -1
  170. package/property/interface.d.ts +0 -1
  171. package/property/interface.js +0 -1
  172. package/property/map.d.ts +0 -1
  173. package/property/map.js +0 -1
  174. package/property/type.d.ts +0 -1
  175. package/property/type.js +0 -1
  176. package/property/validate.d.ts +0 -1
  177. package/property/validate.js +0 -1
  178. package/static/base-class/author-only.d.ts +0 -1
  179. package/static/base-class/author-only.js +0 -1
  180. package/static/base-class/content-only.d.ts +0 -1
  181. package/static/base-class/content-only.js +0 -1
  182. package/static/base-class/full-feature.d.ts +0 -1
  183. package/static/base-class/full-feature.js +0 -1
  184. package/static/definition.d.ts +0 -1
  185. package/static/definition.js +0 -1
  186. package/static/export.d.ts +0 -1
  187. package/static/export.js +0 -1
  188. package/static/feature.d.ts +0 -1
  189. package/static/feature.js +0 -1
  190. package/static/interface.d.ts +0 -1
  191. package/static/interface.js +0 -1
  192. package/static/outcome.d.ts +0 -1
  193. package/static/outcome.js +0 -1
  194. package/static-manager/base-class/full-feature-blob.d.ts +0 -1
  195. package/static-manager/base-class/full-feature-blob.js +0 -1
  196. package/static-manager/base-class/full-feature.d.ts +0 -1
  197. package/static-manager/base-class/full-feature.js +0 -1
  198. package/static-manager/base-class/readonly-blob.d.ts +0 -1
  199. package/static-manager/base-class/readonly-blob.js +0 -1
  200. package/static-manager/base-class/readonly.d.ts +0 -1
  201. package/static-manager/base-class/readonly.js +0 -1
  202. package/static-manager/export.d.ts +0 -1
  203. package/static-manager/export.js +0 -1
  204. package/static-manager/feature.d.ts +0 -1
  205. package/static-manager/feature.js +0 -1
  206. package/static-manager/outcome.d.ts +0 -1
  207. package/static-manager/outcome.js +0 -1
  208. package/static-manager/static-manager.d.ts +0 -1
  209. package/static-manager/static-manager.js +0 -1
  210. package/text/base-class/author-only.d.ts +0 -1
  211. package/text/base-class/author-only.js +0 -1
  212. package/text/base-class/content-only.d.ts +0 -1
  213. package/text/base-class/content-only.js +0 -1
  214. package/text/base-class/full-feature.d.ts +0 -1
  215. package/text/base-class/full-feature.js +0 -1
  216. package/text/definition.d.ts +0 -1
  217. package/text/definition.js +0 -1
  218. package/text/export.d.ts +0 -1
  219. package/text/export.js +0 -1
  220. package/text/feature.d.ts +0 -1
  221. package/text/feature.js +0 -1
  222. package/text/interface.d.ts +0 -1
  223. package/text/interface.js +0 -1
  224. package/text/outcome.d.ts +0 -1
  225. package/text/outcome.js +0 -1
  226. package/text-manager/base-class/full-feature.d.ts +0 -1
  227. package/text-manager/base-class/full-feature.js +0 -1
  228. package/text-manager/base-class/readonly.d.ts +0 -1
  229. package/text-manager/base-class/readonly.js +0 -1
  230. package/text-manager/export.d.ts +0 -1
  231. package/text-manager/export.js +0 -1
  232. package/text-manager/feature.d.ts +0 -1
  233. package/text-manager/feature.js +0 -1
  234. package/text-manager/outcome.d.ts +0 -1
  235. package/text-manager/outcome.js +0 -1
  236. package/text-manager/text-manager.d.ts +0 -1
  237. package/text-manager/text-manager.js +0 -1
  238. package/util/rebuild-symbol.d.ts +0 -1
  239. package/util/rebuild-symbol.js +0 -1
  240. package/loader/origin-loader.d.ts +0 -29
  241. package/loader/origin-loader.js +0 -104
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Full Feature
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace TextManager
4
3
  * @description Readonly
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Readonly
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace TextManager
4
3
  * @description Export
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Export
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace TextManager
4
3
  * @description Feature
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Feature
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace TextManager
4
3
  * @description Outcome
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Outcome
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace TextManager
4
3
  * @description Text Manager
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace TextManager
5
4
  * @description Text Manager
6
5
  */
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @author WMXPY
3
2
  * @namespace Util
4
3
  * @description Rebuild Symbol
5
4
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- * @author WMXPY
4
3
  * @namespace Util
5
4
  * @description Rebuild Symbol
6
5
  */
@@ -1,29 +0,0 @@
1
- /**
2
- * @author WMXPY
3
- * @namespace Loader
4
- * @description Origin Loader
5
- */
6
- import { IImbricateOrigin } from "../origin/interface";
7
- import { ImbricateOriginPersistence, ImbricateOriginPersistenceOrigin } from "./persistence";
8
- /**
9
- * Load imbricate origin from persistence origin
10
- * This function will load the origin from the persistence origin
11
- * and initialize the origin with the payloads
12
- *
13
- * @param origin origin to persistence to load
14
- *
15
- * @returns a promise of the loaded origin
16
- * if the origin is not found, return null
17
- */
18
- export declare const loadImbricateOriginFromPersistenceOrigin: (origin: ImbricateOriginPersistenceOrigin) => Promise<IImbricateOrigin | null>;
19
- /**
20
- * Load imbricate origins from persistence
21
- * This function will load all origins from the persistence
22
- * and initialize the origins with the payloads
23
- * If the origin is not found, it will be ignored
24
- *
25
- * @param persistence persistence to load origins
26
- *
27
- * @returns a promise of the loaded origins, if the origin is not found, return empty array
28
- */
29
- export declare const loadImbricateOriginsFromPersistence: (persistence: ImbricateOriginPersistence) => Promise<IImbricateOrigin[]>;
@@ -1,104 +0,0 @@
1
- "use strict";
2
- /**
3
- * @author WMXPY
4
- * @namespace Loader
5
- * @description Origin Loader
6
- */
7
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- var desc = Object.getOwnPropertyDescriptor(m, k);
10
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
- desc = { enumerable: true, get: function() { return m[k]; } };
12
- }
13
- Object.defineProperty(o, k2, desc);
14
- }) : (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- o[k2] = m[k];
17
- }));
18
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
- Object.defineProperty(o, "default", { enumerable: true, value: v });
20
- }) : function(o, v) {
21
- o["default"] = v;
22
- });
23
- var __importStar = (this && this.__importStar) || (function () {
24
- var ownKeys = function(o) {
25
- ownKeys = Object.getOwnPropertyNames || function (o) {
26
- var ar = [];
27
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
28
- return ar;
29
- };
30
- return ownKeys(o);
31
- };
32
- return function (mod) {
33
- if (mod && mod.__esModule) return mod;
34
- var result = {};
35
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
36
- __setModuleDefault(result, mod);
37
- return result;
38
- };
39
- })();
40
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
- return new (P || (P = Promise))(function (resolve, reject) {
43
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
- step((generator = generator.apply(thisArg, _arguments || [])).next());
47
- });
48
- };
49
- Object.defineProperty(exports, "__esModule", { value: true });
50
- exports.loadImbricateOriginsFromPersistence = exports.loadImbricateOriginFromPersistenceOrigin = void 0;
51
- const persistence_1 = require("./persistence");
52
- /**
53
- * Load imbricate origin from persistence origin
54
- * This function will load the origin from the persistence origin
55
- * and initialize the origin with the payloads
56
- *
57
- * @param origin origin to persistence to load
58
- *
59
- * @returns a promise of the loaded origin
60
- * if the origin is not found, return null
61
- */
62
- const loadImbricateOriginFromPersistenceOrigin = (origin) => __awaiter(void 0, void 0, void 0, function* () {
63
- switch (origin.originLoadType) {
64
- case persistence_1.IMBRICATE_ORIGIN_LOAD_TYPE.NPM_PACKAGE: {
65
- const originPackage = yield Promise.resolve(`${origin.originLoadValue}`).then(s => __importStar(require(s)));
66
- if (typeof originPackage.default === "function") {
67
- const initialized = originPackage.default.call(null, origin.originPayloads);
68
- return initialized;
69
- }
70
- break;
71
- }
72
- case persistence_1.IMBRICATE_ORIGIN_LOAD_TYPE.FILE_SYSTEM: {
73
- const originPackage = yield Promise.resolve(`${origin.originLoadValue}`).then(s => __importStar(require(s)));
74
- if (typeof originPackage.default === "function") {
75
- const initialized = originPackage.default.call(null, origin.originPayloads);
76
- return initialized;
77
- }
78
- break;
79
- }
80
- }
81
- return null;
82
- });
83
- exports.loadImbricateOriginFromPersistenceOrigin = loadImbricateOriginFromPersistenceOrigin;
84
- /**
85
- * Load imbricate origins from persistence
86
- * This function will load all origins from the persistence
87
- * and initialize the origins with the payloads
88
- * If the origin is not found, it will be ignored
89
- *
90
- * @param persistence persistence to load origins
91
- *
92
- * @returns a promise of the loaded origins, if the origin is not found, return empty array
93
- */
94
- const loadImbricateOriginsFromPersistence = (persistence) => __awaiter(void 0, void 0, void 0, function* () {
95
- const origins = [];
96
- for (const origin of persistence.origins) {
97
- const originInstance = yield (0, exports.loadImbricateOriginFromPersistenceOrigin)(origin);
98
- if (originInstance) {
99
- origins.push(originInstance);
100
- }
101
- }
102
- return origins;
103
- });
104
- exports.loadImbricateOriginsFromPersistence = loadImbricateOriginsFromPersistence;