@imbricate/core 3.12.0 → 3.14.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.
Files changed (120) hide show
  1. package/author/export.d.ts +6 -0
  2. package/author/export.js +22 -0
  3. package/database/definition.d.ts +2 -2
  4. package/database/export.d.ts +16 -0
  5. package/database/export.js +32 -0
  6. package/database/outcome.d.ts +21 -10
  7. package/database/outcome.js +12 -1
  8. package/database-manager/base-class/full-feature.d.ts +17 -0
  9. package/database-manager/base-class/full-feature.js +19 -0
  10. package/database-manager/base-class/readonly.d.ts +16 -0
  11. package/database-manager/base-class/readonly.js +26 -0
  12. package/database-manager/database-manager.d.ts +52 -0
  13. package/{static/manager.js → database-manager/database-manager.js} +2 -2
  14. package/database-manager/export.d.ts +10 -0
  15. package/database-manager/export.js +26 -0
  16. package/database-manager/feature.d.ts +11 -0
  17. package/database-manager/feature.js +18 -0
  18. package/database-manager/outcome.d.ts +30 -0
  19. package/database-manager/outcome.js +20 -0
  20. package/document/definition.d.ts +2 -2
  21. package/document/export.d.ts +22 -0
  22. package/document/export.js +38 -0
  23. package/document/outcome.d.ts +10 -5
  24. package/document/outcome.js +6 -1
  25. package/error/database-manager/database-manager-error.d.ts +9 -0
  26. package/error/database-manager/database-manager-error.js +16 -0
  27. package/error/database-manager/feature-not-supported.d.ts +12 -0
  28. package/error/database-manager/feature-not-supported.js +19 -0
  29. package/error/export.d.ts +22 -0
  30. package/error/export.js +38 -0
  31. package/error/origin/feature-not-supported.d.ts +12 -0
  32. package/error/origin/feature-not-supported.js +20 -0
  33. package/error/origin/origin-error.d.ts +9 -0
  34. package/error/origin/origin-error.js +16 -0
  35. package/error/static/feature-not-supported.d.ts +12 -0
  36. package/error/static/feature-not-supported.js +19 -0
  37. package/error/static/static-error.d.ts +9 -0
  38. package/error/static/static-error.js +16 -0
  39. package/error/static-manager/feature-not-supported.d.ts +12 -0
  40. package/error/static-manager/feature-not-supported.js +19 -0
  41. package/error/static-manager/static-manager-error.d.ts +9 -0
  42. package/error/static-manager/static-manager-error.js +16 -0
  43. package/error/text/feature-not-supported.d.ts +12 -0
  44. package/error/text/feature-not-supported.js +19 -0
  45. package/error/text/text-error.d.ts +9 -0
  46. package/error/text/text-error.js +16 -0
  47. package/error/text-manager/feature-not-supported.d.ts +12 -0
  48. package/error/text-manager/feature-not-supported.js +19 -0
  49. package/error/text-manager/text-manager-error.d.ts +9 -0
  50. package/error/text-manager/text-manager-error.js +16 -0
  51. package/index.d.ts +11 -42
  52. package/index.js +11 -42
  53. package/loader/export.d.ts +8 -0
  54. package/loader/export.js +24 -0
  55. package/origin/base-class/essential.d.ts +15 -0
  56. package/origin/base-class/essential.js +27 -0
  57. package/origin/base-class/exclude-static.d.ts +13 -0
  58. package/origin/base-class/exclude-static.js +25 -0
  59. package/origin/base-class/full-feature.d.ts +21 -0
  60. package/origin/base-class/full-feature.js +20 -0
  61. package/origin/export.d.ts +12 -0
  62. package/origin/export.js +28 -0
  63. package/origin/feature.d.ts +12 -0
  64. package/origin/feature.js +19 -0
  65. package/origin/interface.d.ts +12 -5
  66. package/origin/outcome.d.ts +12 -0
  67. package/origin/outcome.js +11 -0
  68. package/origin/search.d.ts +0 -3
  69. package/package.json +1 -1
  70. package/static/base-class/author-only.d.ts +13 -0
  71. package/static/base-class/author-only.js +23 -0
  72. package/static/base-class/content-only.d.ts +12 -0
  73. package/static/base-class/content-only.js +23 -0
  74. package/static/base-class/full-feature.d.ts +15 -0
  75. package/static/base-class/full-feature.js +18 -0
  76. package/static/export.d.ts +12 -0
  77. package/static/export.js +28 -0
  78. package/static/feature.d.ts +10 -0
  79. package/static/feature.js +17 -0
  80. package/static/interface.d.ts +9 -2
  81. package/static/outcome.d.ts +11 -0
  82. package/static/outcome.js +11 -0
  83. package/static-manager/base-class/full-feature.d.ts +14 -0
  84. package/static-manager/base-class/full-feature.js +18 -0
  85. package/static-manager/base-class/readonly.d.ts +14 -0
  86. package/static-manager/base-class/readonly.js +23 -0
  87. package/static-manager/export.d.ts +10 -0
  88. package/static-manager/export.js +26 -0
  89. package/static-manager/feature.d.ts +10 -0
  90. package/static-manager/feature.js +17 -0
  91. package/static-manager/outcome.d.ts +18 -0
  92. package/static-manager/outcome.js +14 -0
  93. package/{static/manager.d.ts → static-manager/static-manager.d.ts} +8 -6
  94. package/{database/manager.js → static-manager/static-manager.js} +2 -2
  95. package/text/base-class/author-only.d.ts +13 -0
  96. package/text/base-class/author-only.js +23 -0
  97. package/text/base-class/content-only.d.ts +12 -0
  98. package/text/base-class/content-only.js +23 -0
  99. package/text/base-class/full-feature.d.ts +15 -0
  100. package/text/base-class/full-feature.js +18 -0
  101. package/text/export.d.ts +12 -0
  102. package/text/export.js +28 -0
  103. package/text/feature.d.ts +10 -0
  104. package/text/feature.js +17 -0
  105. package/text/interface.d.ts +9 -2
  106. package/text/outcome.d.ts +11 -0
  107. package/text/outcome.js +11 -0
  108. package/text-manager/base-class/full-feature.d.ts +14 -0
  109. package/text-manager/base-class/full-feature.js +18 -0
  110. package/text-manager/base-class/readonly.d.ts +14 -0
  111. package/text-manager/base-class/readonly.js +23 -0
  112. package/text-manager/export.d.ts +10 -0
  113. package/text-manager/export.js +26 -0
  114. package/text-manager/feature.d.ts +10 -0
  115. package/text-manager/feature.js +17 -0
  116. package/text-manager/outcome.d.ts +18 -0
  117. package/text-manager/outcome.js +14 -0
  118. package/{text/manager.d.ts → text-manager/text-manager.d.ts} +8 -6
  119. package/{text/manager.js → text-manager/text-manager.js} +2 -2
  120. package/database/manager.d.ts +0 -41
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Database Manager Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateDatabaseManagerError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class ImbricateDatabaseManagerError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, ImbricateDatabaseManagerError.prototype);
14
+ }
15
+ }
16
+ exports.ImbricateDatabaseManagerError = ImbricateDatabaseManagerError;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Feature Not Supported
5
+ */
6
+ import { IMBRICATE_DATABASE_MANAGER_FEATURE } from "../../database-manager/feature";
7
+ import { ImbricateDatabaseManagerError } from "./database-manager-error";
8
+ export declare class ImbricateDatabaseManagerFeatureNotSupportedError extends ImbricateDatabaseManagerError {
9
+ static withFeature(feature: IMBRICATE_DATABASE_MANAGER_FEATURE): ImbricateDatabaseManagerFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateDatabaseManagerFeatureNotSupportedError = void 0;
9
+ const database_manager_error_1 = require("./database-manager-error");
10
+ class ImbricateDatabaseManagerFeatureNotSupportedError extends database_manager_error_1.ImbricateDatabaseManagerError {
11
+ static withFeature(feature) {
12
+ return new ImbricateDatabaseManagerFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateDatabaseManagerFeatureNotSupportedError.TYPE, reason);
16
+ }
17
+ }
18
+ exports.ImbricateDatabaseManagerFeatureNotSupportedError = ImbricateDatabaseManagerFeatureNotSupportedError;
19
+ ImbricateDatabaseManagerFeatureNotSupportedError.TYPE = "IMBRICATE_DATABASE_MANAGER_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Export
5
+ */
6
+ export * from "./database-manager/database-manager-error";
7
+ export * from "./database-manager/feature-not-supported";
8
+ export * from "./database/database-error";
9
+ export * from "./database/feature-not-supported";
10
+ export * from "./document/document-error";
11
+ export * from "./document/feature-not-supported";
12
+ export * from "./imbricate-error";
13
+ export * from "./origin/feature-not-supported";
14
+ export * from "./origin/origin-error";
15
+ export * from "./static-manager/feature-not-supported";
16
+ export * from "./static-manager/static-manager-error";
17
+ export * from "./static/feature-not-supported";
18
+ export * from "./static/static-error";
19
+ export * from "./text-manager/feature-not-supported";
20
+ export * from "./text-manager/text-manager-error";
21
+ export * from "./text/feature-not-supported";
22
+ export * from "./text/text-error";
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Export
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ __exportStar(require("./database-manager/database-manager-error"), exports);
23
+ __exportStar(require("./database-manager/feature-not-supported"), exports);
24
+ __exportStar(require("./database/database-error"), exports);
25
+ __exportStar(require("./database/feature-not-supported"), exports);
26
+ __exportStar(require("./document/document-error"), exports);
27
+ __exportStar(require("./document/feature-not-supported"), exports);
28
+ __exportStar(require("./imbricate-error"), exports);
29
+ __exportStar(require("./origin/feature-not-supported"), exports);
30
+ __exportStar(require("./origin/origin-error"), exports);
31
+ __exportStar(require("./static-manager/feature-not-supported"), exports);
32
+ __exportStar(require("./static-manager/static-manager-error"), exports);
33
+ __exportStar(require("./static/feature-not-supported"), exports);
34
+ __exportStar(require("./static/static-error"), exports);
35
+ __exportStar(require("./text-manager/feature-not-supported"), exports);
36
+ __exportStar(require("./text-manager/text-manager-error"), exports);
37
+ __exportStar(require("./text/feature-not-supported"), exports);
38
+ __exportStar(require("./text/text-error"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error_Origin
4
+ * @description Feature Not Supported
5
+ */
6
+ import { IMBRICATE_ORIGIN_FEATURE } from "../../origin/feature";
7
+ import { OriginError } from "./origin-error";
8
+ export declare class ImbricateOriginFeatureNotSupportedError extends OriginError {
9
+ static withFeature(feature: IMBRICATE_ORIGIN_FEATURE): ImbricateOriginFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error_Origin
5
+ * @description Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateOriginFeatureNotSupportedError = void 0;
9
+ const origin_error_1 = require("./origin-error");
10
+ class ImbricateOriginFeatureNotSupportedError extends origin_error_1.OriginError {
11
+ static withFeature(feature) {
12
+ return new ImbricateOriginFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateOriginFeatureNotSupportedError.TYPE, reason);
16
+ Object.setPrototypeOf(this, ImbricateOriginFeatureNotSupportedError.prototype);
17
+ }
18
+ }
19
+ exports.ImbricateOriginFeatureNotSupportedError = ImbricateOriginFeatureNotSupportedError;
20
+ ImbricateOriginFeatureNotSupportedError.TYPE = "IMBRICATE_ORIGIN_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error_Origin
4
+ * @description Origin Error
5
+ */
6
+ import { ImbricateError } from "../imbricate-error";
7
+ export declare class OriginError extends ImbricateError {
8
+ protected constructor(message: string, type: string, reason?: any);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error_Origin
5
+ * @description Origin Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.OriginError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class OriginError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, OriginError.prototype);
14
+ }
15
+ }
16
+ exports.OriginError = OriginError;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Static Feature Not Supported
5
+ */
6
+ import { IMBRICATE_STATIC_FEATURE } from "../../static/feature";
7
+ import { ImbricateStaticError } from "./static-error";
8
+ export declare class ImbricateStaticFeatureNotSupportedError extends ImbricateStaticError {
9
+ static withFeature(feature: IMBRICATE_STATIC_FEATURE): ImbricateStaticFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Static Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateStaticFeatureNotSupportedError = void 0;
9
+ const static_error_1 = require("./static-error");
10
+ class ImbricateStaticFeatureNotSupportedError extends static_error_1.ImbricateStaticError {
11
+ static withFeature(feature) {
12
+ return new ImbricateStaticFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateStaticFeatureNotSupportedError.TYPE, reason);
16
+ }
17
+ }
18
+ exports.ImbricateStaticFeatureNotSupportedError = ImbricateStaticFeatureNotSupportedError;
19
+ ImbricateStaticFeatureNotSupportedError.TYPE = "IMBRICATE_STATIC_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Static Error
5
+ */
6
+ import { ImbricateError } from "../imbricate-error";
7
+ export declare class ImbricateStaticError extends ImbricateError {
8
+ protected constructor(message: string, type: string, reason?: any);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Static Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateStaticError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class ImbricateStaticError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, ImbricateStaticError.prototype);
14
+ }
15
+ }
16
+ exports.ImbricateStaticError = ImbricateStaticError;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Feature Not Supported
5
+ */
6
+ import { IMBRICATE_STATIC_MANAGER_FEATURE } from "../../static-manager/feature";
7
+ import { ImbricateStaticManagerError } from "./static-manager-error";
8
+ export declare class ImbricateStaticManagerFeatureNotSupportedError extends ImbricateStaticManagerError {
9
+ static withFeature(feature: IMBRICATE_STATIC_MANAGER_FEATURE): ImbricateStaticManagerFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateStaticManagerFeatureNotSupportedError = void 0;
9
+ const static_manager_error_1 = require("./static-manager-error");
10
+ class ImbricateStaticManagerFeatureNotSupportedError extends static_manager_error_1.ImbricateStaticManagerError {
11
+ static withFeature(feature) {
12
+ return new ImbricateStaticManagerFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateStaticManagerFeatureNotSupportedError.TYPE, reason);
16
+ }
17
+ }
18
+ exports.ImbricateStaticManagerFeatureNotSupportedError = ImbricateStaticManagerFeatureNotSupportedError;
19
+ ImbricateStaticManagerFeatureNotSupportedError.TYPE = "IMBRICATE_STATIC_MANAGER_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Static Manager Error
5
+ */
6
+ import { ImbricateError } from "../imbricate-error";
7
+ export declare class ImbricateStaticManagerError extends ImbricateError {
8
+ protected constructor(message: string, type: string, reason?: any);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Static Manager Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateStaticManagerError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class ImbricateStaticManagerError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, ImbricateStaticManagerError.prototype);
14
+ }
15
+ }
16
+ exports.ImbricateStaticManagerError = ImbricateStaticManagerError;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Text Feature Not Supported
5
+ */
6
+ import { IMBRICATE_TEXT_FEATURE } from "../../text/feature";
7
+ import { ImbricateTextError } from "./text-error";
8
+ export declare class ImbricateTextFeatureNotSupportedError extends ImbricateTextError {
9
+ static withFeature(feature: IMBRICATE_TEXT_FEATURE): ImbricateTextFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Text Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateTextFeatureNotSupportedError = void 0;
9
+ const text_error_1 = require("./text-error");
10
+ class ImbricateTextFeatureNotSupportedError extends text_error_1.ImbricateTextError {
11
+ static withFeature(feature) {
12
+ return new ImbricateTextFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateTextFeatureNotSupportedError.TYPE, reason);
16
+ }
17
+ }
18
+ exports.ImbricateTextFeatureNotSupportedError = ImbricateTextFeatureNotSupportedError;
19
+ ImbricateTextFeatureNotSupportedError.TYPE = "IMBRICATE_TEXT_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Text Error
5
+ */
6
+ import { ImbricateError } from "../imbricate-error";
7
+ export declare class ImbricateTextError extends ImbricateError {
8
+ protected constructor(message: string, type: string, reason?: any);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Text Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateTextError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class ImbricateTextError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, ImbricateTextError.prototype);
14
+ }
15
+ }
16
+ exports.ImbricateTextError = ImbricateTextError;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Feature Not Supported
5
+ */
6
+ import { IMBRICATE_TEXT_MANAGER_FEATURE } from "../../text-manager/feature";
7
+ import { ImbricateTextManagerError } from "./text-manager-error";
8
+ export declare class ImbricateTextManagerFeatureNotSupportedError extends ImbricateTextManagerError {
9
+ static withFeature(feature: IMBRICATE_TEXT_MANAGER_FEATURE): ImbricateTextManagerFeatureNotSupportedError;
10
+ static readonly TYPE: string;
11
+ protected constructor(message: string, reason?: any);
12
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Feature Not Supported
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateTextManagerFeatureNotSupportedError = void 0;
9
+ const text_manager_error_1 = require("./text-manager-error");
10
+ class ImbricateTextManagerFeatureNotSupportedError extends text_manager_error_1.ImbricateTextManagerError {
11
+ static withFeature(feature) {
12
+ return new ImbricateTextManagerFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
13
+ }
14
+ constructor(message, reason) {
15
+ super(message, ImbricateTextManagerFeatureNotSupportedError.TYPE, reason);
16
+ }
17
+ }
18
+ exports.ImbricateTextManagerFeatureNotSupportedError = ImbricateTextManagerFeatureNotSupportedError;
19
+ ImbricateTextManagerFeatureNotSupportedError.TYPE = "IMBRICATE_TEXT_MANAGER_FEATURE_NOT_SUPPORTED";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Error
4
+ * @description Text Manager Error
5
+ */
6
+ import { ImbricateError } from "../imbricate-error";
7
+ export declare class ImbricateTextManagerError extends ImbricateError {
8
+ protected constructor(message: string, type: string, reason?: any);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Error
5
+ * @description Text Manager Error
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateTextManagerError = void 0;
9
+ const imbricate_error_1 = require("../imbricate-error");
10
+ class ImbricateTextManagerError extends imbricate_error_1.ImbricateError {
11
+ constructor(message, type, reason) {
12
+ super(message, type, reason);
13
+ Object.setPrototypeOf(this, ImbricateTextManagerError.prototype);
14
+ }
15
+ }
16
+ exports.ImbricateTextManagerError = ImbricateTextManagerError;
package/index.d.ts CHANGED
@@ -2,45 +2,14 @@
2
2
  * @author WMXPY
3
3
  * @description Index
4
4
  */
5
- export * from "./author/definition";
6
- export * from "./database/base-class/essential";
7
- export * from "./database/base-class/essential-readonly";
8
- export * from "./database/base-class/exclude-annotation";
9
- export * from "./database/base-class/full-feature";
10
- export * from "./database/base-class/full-feature-readonly";
11
- export * from "./database/definition";
12
- export * from "./database/feature";
13
- export * from "./database/interface";
14
- export * from "./database/manager";
15
- export * from "./database/outcome";
16
- export * from "./database/schema";
17
- export * from "./database/validate";
18
- export * from "./document/base-class/essential";
19
- export * from "./document/base-class/essential-readonly";
20
- export * from "./document/base-class/exclude-annotation";
21
- export * from "./document/base-class/exclude-edit-records";
22
- export * from "./document/base-class/full-feature";
23
- export * from "./document/base-class/full-feature-readonly";
24
- export * from "./document/definition";
25
- export * from "./document/feature";
26
- export * from "./document/interface";
27
- export * from "./document/outcome";
28
- export * from "./document/property";
29
- export * from "./document/property/default-value";
30
- export * from "./document/property/definition";
31
- export * from "./document/property/primary";
32
- export * from "./document/property/triage";
33
- export * from "./document/property/triage-manager";
34
- export * from "./document/validate";
35
- export * from "./loader/definition";
36
- export * from "./loader/origin-loader";
37
- export * from "./loader/persistence";
38
- export * from "./origin/definition";
39
- export * from "./origin/interface";
40
- export * from "./origin/search";
41
- export * from "./static/definition";
42
- export * from "./static/interface";
43
- export * from "./static/manager";
44
- export * from "./text/definition";
45
- export * from "./text/interface";
46
- export * from "./text/manager";
5
+ export * from "./author/export";
6
+ export * from "./database-manager/export";
7
+ export * from "./database/export";
8
+ export * from "./document/export";
9
+ export * from "./error/export";
10
+ export * from "./loader/export";
11
+ export * from "./origin/export";
12
+ export * from "./static-manager/export";
13
+ export * from "./static/export";
14
+ export * from "./text-manager/export";
15
+ export * from "./text/export";
package/index.js CHANGED
@@ -18,45 +18,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- __exportStar(require("./author/definition"), exports);
22
- __exportStar(require("./database/base-class/essential"), exports);
23
- __exportStar(require("./database/base-class/essential-readonly"), exports);
24
- __exportStar(require("./database/base-class/exclude-annotation"), exports);
25
- __exportStar(require("./database/base-class/full-feature"), exports);
26
- __exportStar(require("./database/base-class/full-feature-readonly"), exports);
27
- __exportStar(require("./database/definition"), exports);
28
- __exportStar(require("./database/feature"), exports);
29
- __exportStar(require("./database/interface"), exports);
30
- __exportStar(require("./database/manager"), exports);
31
- __exportStar(require("./database/outcome"), exports);
32
- __exportStar(require("./database/schema"), exports);
33
- __exportStar(require("./database/validate"), exports);
34
- __exportStar(require("./document/base-class/essential"), exports);
35
- __exportStar(require("./document/base-class/essential-readonly"), exports);
36
- __exportStar(require("./document/base-class/exclude-annotation"), exports);
37
- __exportStar(require("./document/base-class/exclude-edit-records"), exports);
38
- __exportStar(require("./document/base-class/full-feature"), exports);
39
- __exportStar(require("./document/base-class/full-feature-readonly"), exports);
40
- __exportStar(require("./document/definition"), exports);
41
- __exportStar(require("./document/feature"), exports);
42
- __exportStar(require("./document/interface"), exports);
43
- __exportStar(require("./document/outcome"), exports);
44
- __exportStar(require("./document/property"), exports);
45
- __exportStar(require("./document/property/default-value"), exports);
46
- __exportStar(require("./document/property/definition"), exports);
47
- __exportStar(require("./document/property/primary"), exports);
48
- __exportStar(require("./document/property/triage"), exports);
49
- __exportStar(require("./document/property/triage-manager"), exports);
50
- __exportStar(require("./document/validate"), exports);
51
- __exportStar(require("./loader/definition"), exports);
52
- __exportStar(require("./loader/origin-loader"), exports);
53
- __exportStar(require("./loader/persistence"), exports);
54
- __exportStar(require("./origin/definition"), exports);
55
- __exportStar(require("./origin/interface"), exports);
56
- __exportStar(require("./origin/search"), exports);
57
- __exportStar(require("./static/definition"), exports);
58
- __exportStar(require("./static/interface"), exports);
59
- __exportStar(require("./static/manager"), exports);
60
- __exportStar(require("./text/definition"), exports);
61
- __exportStar(require("./text/interface"), exports);
62
- __exportStar(require("./text/manager"), exports);
21
+ __exportStar(require("./author/export"), exports);
22
+ __exportStar(require("./database-manager/export"), exports);
23
+ __exportStar(require("./database/export"), exports);
24
+ __exportStar(require("./document/export"), exports);
25
+ __exportStar(require("./error/export"), exports);
26
+ __exportStar(require("./loader/export"), exports);
27
+ __exportStar(require("./origin/export"), exports);
28
+ __exportStar(require("./static-manager/export"), exports);
29
+ __exportStar(require("./static/export"), exports);
30
+ __exportStar(require("./text-manager/export"), exports);
31
+ __exportStar(require("./text/export"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Loader
4
+ * @description Export
5
+ */
6
+ export * from "./definition";
7
+ export * from "./origin-loader";
8
+ export * from "./persistence";
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Loader
5
+ * @description Export
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ __exportStar(require("./definition"), exports);
23
+ __exportStar(require("./origin-loader"), exports);
24
+ __exportStar(require("./persistence"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Origin
4
+ * @description Essential
5
+ */
6
+ import { IImbricateStaticManager } from "../../static-manager/static-manager";
7
+ import { IMBRICATE_ORIGIN_FEATURE } from "../feature";
8
+ import { IImbricateOrigin } from "../interface";
9
+ import { ImbricateOriginSearchOutcome } from "../outcome";
10
+ import { ImbricateOriginFullFeatureBase } from "./full-feature";
11
+ export declare abstract class ImbricateOriginEssentialBase extends ImbricateOriginFullFeatureBase implements IImbricateOrigin {
12
+ readonly supportedFeatures: IMBRICATE_ORIGIN_FEATURE[];
13
+ getStaticManager(): IImbricateStaticManager;
14
+ search(_keyword: string): PromiseLike<ImbricateOriginSearchOutcome>;
15
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ /**
3
+ * @author WMXPY
4
+ * @namespace Origin
5
+ * @description Essential
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ImbricateOriginEssentialBase = void 0;
9
+ const feature_not_supported_1 = require("../../error/origin/feature-not-supported");
10
+ const feature_1 = require("../feature");
11
+ const full_feature_1 = require("./full-feature");
12
+ class ImbricateOriginEssentialBase extends full_feature_1.ImbricateOriginFullFeatureBase {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.supportedFeatures = [
16
+ feature_1.IMBRICATE_ORIGIN_FEATURE.DATABASE_MANAGER,
17
+ feature_1.IMBRICATE_ORIGIN_FEATURE.TEXT_MANAGER,
18
+ ];
19
+ }
20
+ getStaticManager() {
21
+ throw feature_not_supported_1.ImbricateOriginFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_ORIGIN_FEATURE.STATIC_MANAGER);
22
+ }
23
+ search(_keyword) {
24
+ throw feature_not_supported_1.ImbricateOriginFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_SEARCH);
25
+ }
26
+ }
27
+ exports.ImbricateOriginEssentialBase = ImbricateOriginEssentialBase;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @namespace Origin
4
+ * @description Exclude Static
5
+ */
6
+ import { IImbricateStaticManager } from "../../static-manager/static-manager";
7
+ import { IMBRICATE_ORIGIN_FEATURE } from "../feature";
8
+ import { IImbricateOrigin } from "../interface";
9
+ import { ImbricateOriginFullFeatureBase } from "./full-feature";
10
+ export declare abstract class ImbricateOriginExcludeStaticBase extends ImbricateOriginFullFeatureBase implements IImbricateOrigin {
11
+ readonly supportedFeatures: IMBRICATE_ORIGIN_FEATURE[];
12
+ getStaticManager(): IImbricateStaticManager;
13
+ }