@imbricate/core 3.18.0 → 3.19.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/common/action.d.ts +17 -2
- package/common/action.js +10 -1
- package/database/base-class/full-feature-with-action.d.ts +2 -2
- package/database/base-class/full-feature.d.ts +2 -2
- package/database/base-class/full-feature.js +1 -1
- package/database/interface.d.ts +7 -3
- package/database/outcome.d.ts +1 -0
- package/database-manager/outcome.d.ts +1 -0
- package/document/base-class/full-feature-with-action.d.ts +2 -2
- package/document/base-class/full-feature.d.ts +2 -2
- package/document/base-class/full-feature.js +1 -1
- package/document/interface.d.ts +7 -3
- package/origin/base-class/full-feature-with-action.d.ts +2 -2
- package/origin/base-class/full-feature.d.ts +2 -2
- package/origin/base-class/full-feature.js +1 -1
- package/origin/interface.d.ts +7 -3
- package/package.json +1 -1
package/common/action.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export type ImbricateOriginActionParameterType = {
|
|
|
14
14
|
};
|
|
15
15
|
export type ImbricateOriginActionParameter = {
|
|
16
16
|
readonly parameterKey: string;
|
|
17
|
-
readonly
|
|
17
|
+
readonly parameterName: Record<IETF_LOCALE, string>;
|
|
18
|
+
readonly parameterDescription: Record<IETF_LOCALE, string>;
|
|
18
19
|
readonly parameterType: ImbricateOriginActionParameterType;
|
|
19
20
|
};
|
|
20
21
|
export declare enum IMBRICATE_ORIGIN_ACTION_APPEARANCE {
|
|
@@ -26,7 +27,8 @@ export declare enum IMBRICATE_ORIGIN_ACTION_APPEARANCE {
|
|
|
26
27
|
}
|
|
27
28
|
export type ImbricateOriginAction = {
|
|
28
29
|
readonly actionIdentifier: string;
|
|
29
|
-
readonly
|
|
30
|
+
readonly actionName: Record<IETF_LOCALE, string>;
|
|
31
|
+
readonly actionDescription: Record<IETF_LOCALE, string>;
|
|
30
32
|
readonly parameters: ImbricateOriginActionParameter[];
|
|
31
33
|
readonly appearance?: IMBRICATE_ORIGIN_ACTION_APPEARANCE;
|
|
32
34
|
readonly disabled?: boolean;
|
|
@@ -44,3 +46,16 @@ export type ImbricateOriginActionOutcome = {
|
|
|
44
46
|
readonly outputs: ImbricateOriginActionResultOutput[];
|
|
45
47
|
readonly references: ImbricateOriginActionResultReference[];
|
|
46
48
|
} | CommonOutcomeSymbol | CommonActionOutcomeSymbol;
|
|
49
|
+
export declare const S_Common_QueryOriginActions_Stale: unique symbol;
|
|
50
|
+
export declare const S_Common_QueryOriginActions_Unknown: unique symbol;
|
|
51
|
+
export type ImbricateCommonQueryOriginActionsOutcomeSymbol = typeof S_Common_QueryOriginActions_Stale | typeof S_Common_QueryOriginActions_Unknown;
|
|
52
|
+
export declare const ImbricateCommonQueryOriginActionsOutcomeSymbolList: ImbricateCommonQueryOriginActionsOutcomeSymbol[];
|
|
53
|
+
export declare const rebuildImbricateCommonQueryOriginActionsSymbol: (symbolDescription: string) => CommonOutcomeSymbol | ImbricateCommonQueryOriginActionsOutcomeSymbol;
|
|
54
|
+
export type ImbricateCommonQueryOriginActionsOutcome = {
|
|
55
|
+
readonly actions: ImbricateOriginAction[];
|
|
56
|
+
readonly count: number;
|
|
57
|
+
} | CommonOutcomeSymbol | ImbricateCommonQueryOriginActionsOutcomeSymbol;
|
|
58
|
+
export type ImbricateCommonQueryOriginActionsQuery = {
|
|
59
|
+
readonly limit?: number;
|
|
60
|
+
readonly skip?: number;
|
|
61
|
+
};
|
package/common/action.js
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* @description Action
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.IMBRICATE_ORIGIN_ACTION_APPEARANCE = exports.IMBRICATE_ORIGIN_ACTION_PARAMETER_TYPE = void 0;
|
|
8
|
+
exports.rebuildImbricateCommonQueryOriginActionsSymbol = exports.ImbricateCommonQueryOriginActionsOutcomeSymbolList = exports.S_Common_QueryOriginActions_Unknown = exports.S_Common_QueryOriginActions_Stale = exports.IMBRICATE_ORIGIN_ACTION_APPEARANCE = exports.IMBRICATE_ORIGIN_ACTION_PARAMETER_TYPE = void 0;
|
|
9
|
+
const rebuild_symbol_1 = require("../util/rebuild-symbol");
|
|
9
10
|
var IMBRICATE_ORIGIN_ACTION_PARAMETER_TYPE;
|
|
10
11
|
(function (IMBRICATE_ORIGIN_ACTION_PARAMETER_TYPE) {
|
|
11
12
|
IMBRICATE_ORIGIN_ACTION_PARAMETER_TYPE["STRING"] = "STRING";
|
|
@@ -18,3 +19,11 @@ var IMBRICATE_ORIGIN_ACTION_APPEARANCE;
|
|
|
18
19
|
IMBRICATE_ORIGIN_ACTION_APPEARANCE["WARNING"] = "WARNING";
|
|
19
20
|
IMBRICATE_ORIGIN_ACTION_APPEARANCE["DANGER"] = "DANGER";
|
|
20
21
|
})(IMBRICATE_ORIGIN_ACTION_APPEARANCE || (exports.IMBRICATE_ORIGIN_ACTION_APPEARANCE = IMBRICATE_ORIGIN_ACTION_APPEARANCE = {}));
|
|
22
|
+
// Query Origin Actions
|
|
23
|
+
exports.S_Common_QueryOriginActions_Stale = Symbol("Common_QueryOriginActions_Stale");
|
|
24
|
+
exports.S_Common_QueryOriginActions_Unknown = Symbol("Common_QueryOriginActions_Unknown");
|
|
25
|
+
exports.ImbricateCommonQueryOriginActionsOutcomeSymbolList = [
|
|
26
|
+
exports.S_Common_QueryOriginActions_Stale,
|
|
27
|
+
exports.S_Common_QueryOriginActions_Unknown,
|
|
28
|
+
];
|
|
29
|
+
exports.rebuildImbricateCommonQueryOriginActionsSymbol = (0, rebuild_symbol_1.createRebuildImbricateSymbolFunction)(exports.ImbricateCommonQueryOriginActionsOutcomeSymbolList, exports.S_Common_QueryOriginActions_Unknown);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Database_BaseClass
|
|
4
4
|
* @description Full Feature With Action
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { DocumentProperties } from "../../document/property";
|
|
8
8
|
import { DatabaseAnnotationValue, DatabaseAnnotations, DatabaseEditRecord, ImbricateDatabaseAuditOptions, ImbricateDocumentQuery } from "../definition";
|
|
9
9
|
import { IMBRICATE_DATABASE_FEATURE } from "../feature";
|
|
@@ -27,6 +27,6 @@ export declare abstract class ImbricateDatabaseFullFeatureWithActionBase impleme
|
|
|
27
27
|
abstract deleteAnnotation(namespace: string, identifier: string, auditOptions?: ImbricateDatabaseAuditOptions): PromiseLike<ImbricateDatabaseDeleteAnnotationOutcome>;
|
|
28
28
|
abstract addEditRecords(records: DatabaseEditRecord[]): PromiseLike<ImbricateDatabaseAddEditRecordsOutcome>;
|
|
29
29
|
abstract getEditRecords(): PromiseLike<ImbricateDatabaseGetEditRecordsOutcome>;
|
|
30
|
-
abstract
|
|
30
|
+
abstract queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
31
31
|
abstract executeOriginAction(input: ImbricateOriginActionInput): PromiseLike<ImbricateOriginActionOutcome>;
|
|
32
32
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Database_BaseClass
|
|
4
4
|
* @description Full Feature
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { DocumentProperties } from "../../document/property";
|
|
8
8
|
import { DatabaseAnnotationValue, DatabaseAnnotations, DatabaseEditRecord, ImbricateDatabaseAuditOptions, ImbricateDocumentQuery } from "../definition";
|
|
9
9
|
import { IMBRICATE_DATABASE_FEATURE } from "../feature";
|
|
@@ -28,6 +28,6 @@ export declare abstract class ImbricateDatabaseFullFeatureBase extends Imbricate
|
|
|
28
28
|
abstract deleteAnnotation(namespace: string, identifier: string, auditOptions?: ImbricateDatabaseAuditOptions): PromiseLike<ImbricateDatabaseDeleteAnnotationOutcome>;
|
|
29
29
|
abstract addEditRecords(records: DatabaseEditRecord[]): PromiseLike<ImbricateDatabaseAddEditRecordsOutcome>;
|
|
30
30
|
abstract getEditRecords(): PromiseLike<ImbricateDatabaseGetEditRecordsOutcome>;
|
|
31
|
-
|
|
31
|
+
queryOriginActions(_query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
32
32
|
executeOriginAction(_input: ImbricateOriginActionInput): PromiseLike<ImbricateOriginActionOutcome>;
|
|
33
33
|
}
|
|
@@ -23,7 +23,7 @@ class ImbricateDatabaseFullFeatureBase extends full_feature_with_action_1.Imbric
|
|
|
23
23
|
feature_1.IMBRICATE_DATABASE_FEATURE.DATABASE_GET_EDIT_RECORD,
|
|
24
24
|
];
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
queryOriginActions(_query) {
|
|
27
27
|
throw feature_not_supported_1.ImbricateDatabaseFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DATABASE_FEATURE.DATABASE_GET_ORIGIN_ACTIONS);
|
|
28
28
|
}
|
|
29
29
|
executeOriginAction(_input) {
|
package/database/interface.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Database
|
|
4
4
|
* @description Interface
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../common/action";
|
|
7
7
|
import { DocumentProperties } from "../document/property";
|
|
8
8
|
import { DatabaseAnnotationValue, DatabaseAnnotations, DatabaseEditRecord, ImbricateDatabaseAuditOptions, ImbricateDocumentQuery } from "./definition";
|
|
9
9
|
import { IMBRICATE_DATABASE_FEATURE } from "./feature";
|
|
@@ -160,11 +160,15 @@ export interface IImbricateDatabase {
|
|
|
160
160
|
*/
|
|
161
161
|
getEditRecords(): PromiseLike<ImbricateDatabaseGetEditRecordsOutcome>;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* Query the database actions
|
|
164
|
+
*
|
|
165
|
+
* @param query the query of the database actions
|
|
164
166
|
*
|
|
165
167
|
* @returns the database actions
|
|
168
|
+
* Symbol: S_Common_QueryOriginActions_Stale - if the database actions are stale
|
|
169
|
+
* Symbol: S_Common_QueryOriginActions_Unknown - if the database actions are unknown
|
|
166
170
|
*/
|
|
167
|
-
|
|
171
|
+
queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
168
172
|
/**
|
|
169
173
|
* Execute the database action
|
|
170
174
|
*
|
package/database/outcome.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const ImbricateDatabaseQueryDocumentsOutcomeSymbolList: Imbricate
|
|
|
40
40
|
export declare const rebuildImbricateDatabaseQueryDocumentsSymbol: (symbolDescription: string) => CommonOutcomeSymbol | ImbricateDatabaseQueryDocumentsOutcomeSymbol;
|
|
41
41
|
export type ImbricateDatabaseQueryDocumentsOutcome = {
|
|
42
42
|
readonly documents: IImbricateDocument[];
|
|
43
|
+
readonly count: number;
|
|
43
44
|
} | CommonOutcomeSymbol | ImbricateDatabaseQueryDocumentsOutcomeSymbol;
|
|
44
45
|
export declare const S_Database_CountDocuments_Stale: unique symbol;
|
|
45
46
|
export declare const S_Database_CountDocuments_Unknown: unique symbol;
|
|
@@ -12,6 +12,7 @@ export declare const ImbricateDatabaseManagerQueryDatabasesOutcomeSymbolList: Im
|
|
|
12
12
|
export declare const rebuildImbricateDatabaseManagerQueryDatabasesSymbol: (symbolDescription: string) => CommonOutcomeSymbol | ImbricateDatabaseManagerQueryDatabasesOutcomeSymbol;
|
|
13
13
|
export type ImbricateDatabaseManagerQueryDatabasesOutcome = {
|
|
14
14
|
readonly databases: IImbricateDatabase[];
|
|
15
|
+
readonly count: number;
|
|
15
16
|
} | CommonOutcomeSymbol | ImbricateDatabaseManagerQueryDatabasesOutcomeSymbol;
|
|
16
17
|
export declare const S_DatabaseManager_GetDatabase_NotFound: unique symbol;
|
|
17
18
|
export declare const S_DatabaseManager_GetDatabase_Unknown: unique symbol;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Document
|
|
4
4
|
* @description Full Feature
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { DocumentAnnotationValue, DocumentAnnotations, DocumentEditRecord, ImbricateDocumentAuditOptions } from "../definition";
|
|
8
8
|
import { IMBRICATE_DOCUMENT_FEATURE } from "../feature";
|
|
9
9
|
import { IImbricateDocument } from "../interface";
|
|
@@ -21,6 +21,6 @@ export declare abstract class ImbricateDocumentFullFeatureWithActionBase impleme
|
|
|
21
21
|
abstract deleteAnnotation(namespace: string, identifier: string, auditOptions?: ImbricateDocumentAuditOptions): Promise<ImbricateDocumentDeleteAnnotationOutcome>;
|
|
22
22
|
abstract addEditRecords(records: DocumentEditRecord[]): Promise<ImbricateDocumentAddEditRecordsOutcome>;
|
|
23
23
|
abstract getEditRecords(): Promise<ImbricateDocumentGetEditRecordsOutcome>;
|
|
24
|
-
abstract
|
|
24
|
+
abstract queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
25
25
|
abstract executeOriginAction(input: ImbricateOriginActionInput): Promise<ImbricateOriginActionOutcome>;
|
|
26
26
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Document
|
|
4
4
|
* @description Full Feature
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { DocumentAnnotationValue, DocumentAnnotations, DocumentEditRecord, ImbricateDocumentAuditOptions } from "../definition";
|
|
8
8
|
import { IMBRICATE_DOCUMENT_FEATURE } from "../feature";
|
|
9
9
|
import { IImbricateDocument } from "../interface";
|
|
@@ -22,6 +22,6 @@ export declare abstract class ImbricateDocumentFullFeatureBase extends Imbricate
|
|
|
22
22
|
abstract deleteAnnotation(namespace: string, identifier: string, auditOptions?: ImbricateDocumentAuditOptions): Promise<ImbricateDocumentDeleteAnnotationOutcome>;
|
|
23
23
|
abstract addEditRecords(records: DocumentEditRecord[]): Promise<ImbricateDocumentAddEditRecordsOutcome>;
|
|
24
24
|
abstract getEditRecords(): Promise<ImbricateDocumentGetEditRecordsOutcome>;
|
|
25
|
-
|
|
25
|
+
queryOriginActions(_query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
26
26
|
executeOriginAction(_input: ImbricateOriginActionInput): Promise<ImbricateOriginActionOutcome>;
|
|
27
27
|
}
|
|
@@ -20,7 +20,7 @@ class ImbricateDocumentFullFeatureBase extends full_feature_with_action_1.Imbric
|
|
|
20
20
|
feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_GET_EDIT_RECORD,
|
|
21
21
|
];
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
queryOriginActions(_query) {
|
|
24
24
|
throw feature_not_supported_1.ImbricateDocumentFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_DOCUMENT_FEATURE.DOCUMENT_GET_ORIGIN_ACTIONS);
|
|
25
25
|
}
|
|
26
26
|
executeOriginAction(_input) {
|
package/document/interface.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Document
|
|
4
4
|
* @description Interface
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../common/action";
|
|
7
7
|
import { DocumentAnnotationValue, DocumentAnnotations, DocumentEditRecord, ImbricateDocumentAuditOptions } from "./definition";
|
|
8
8
|
import { IMBRICATE_DOCUMENT_FEATURE } from "./feature";
|
|
9
9
|
import { ImbricateDocumentAddEditRecordsOutcome, ImbricateDocumentDeleteAnnotationOutcome, ImbricateDocumentGetEditRecordsOutcome, ImbricateDocumentPutAnnotationOutcome, ImbricateDocumentPutPropertyOutcome } from "./outcome";
|
|
@@ -108,11 +108,15 @@ export interface IImbricateDocument {
|
|
|
108
108
|
*/
|
|
109
109
|
getEditRecords(): PromiseLike<ImbricateDocumentGetEditRecordsOutcome>;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Query the document actions
|
|
112
|
+
*
|
|
113
|
+
* @param query the query of the document actions
|
|
112
114
|
*
|
|
113
115
|
* @returns the document actions
|
|
116
|
+
* Symbol: S_Common_QueryOriginActions_Stale - if the document actions are stale
|
|
117
|
+
* Symbol: S_Common_QueryOriginActions_Unknown - if the document actions are unknown
|
|
114
118
|
*/
|
|
115
|
-
|
|
119
|
+
queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
116
120
|
/**
|
|
117
121
|
* Execute the document action
|
|
118
122
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Origin
|
|
4
4
|
* @description Full Feature
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { IImbricateDatabaseManager } from "../../database-manager/database-manager";
|
|
8
8
|
import { IImbricateStaticManager } from "../../static-manager/static-manager";
|
|
9
9
|
import { IImbricateTextManager } from "../../text-manager/text-manager";
|
|
@@ -19,6 +19,6 @@ export declare abstract class ImbricateOriginFullFeatureWithActionBase implement
|
|
|
19
19
|
abstract getTextManager(): IImbricateTextManager;
|
|
20
20
|
abstract getStaticManager(): IImbricateStaticManager;
|
|
21
21
|
abstract search(keyword: string): PromiseLike<ImbricateOriginSearchOutcome>;
|
|
22
|
-
abstract
|
|
22
|
+
abstract queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
23
23
|
abstract executeOriginAction(input: ImbricateOriginActionInput): PromiseLike<ImbricateOriginActionOutcome>;
|
|
24
24
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Origin
|
|
4
4
|
* @description Full Feature
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../../common/action";
|
|
7
7
|
import { IMBRICATE_ORIGIN_FEATURE } from "../feature";
|
|
8
8
|
import { IImbricateOrigin } from "../interface";
|
|
9
9
|
import { ImbricateOriginSearchOutcome } from "../outcome";
|
|
@@ -11,6 +11,6 @@ import { ImbricateOriginFullFeatureWithActionBase } from "./full-feature-with-ac
|
|
|
11
11
|
export declare abstract class ImbricateOriginFullFeatureBase extends ImbricateOriginFullFeatureWithActionBase implements IImbricateOrigin {
|
|
12
12
|
readonly supportedFeatures: IMBRICATE_ORIGIN_FEATURE[];
|
|
13
13
|
abstract search(keyword: string): PromiseLike<ImbricateOriginSearchOutcome>;
|
|
14
|
-
|
|
14
|
+
queryOriginActions(_query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
15
15
|
executeOriginAction(_input: ImbricateOriginActionInput): PromiseLike<ImbricateOriginActionOutcome>;
|
|
16
16
|
}
|
|
@@ -19,7 +19,7 @@ class ImbricateOriginFullFeatureBase extends full_feature_with_action_1.Imbricat
|
|
|
19
19
|
feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_SEARCH,
|
|
20
20
|
];
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
queryOriginActions(_query) {
|
|
23
23
|
throw feature_not_supported_1.ImbricateOriginFeatureNotSupportedError.withFeature(feature_1.IMBRICATE_ORIGIN_FEATURE.ORIGIN_GET_ORIGIN_ACTIONS);
|
|
24
24
|
}
|
|
25
25
|
executeOriginAction(_input) {
|
package/origin/interface.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @namespace Origin
|
|
4
4
|
* @description Interface
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { ImbricateCommonQueryOriginActionsOutcome, ImbricateCommonQueryOriginActionsQuery, ImbricateOriginActionInput, ImbricateOriginActionOutcome } from "../common/action";
|
|
7
7
|
import { IImbricateDatabaseManager } from "../database-manager/database-manager";
|
|
8
8
|
import { IImbricateStaticManager } from "../static-manager/static-manager";
|
|
9
9
|
import { IImbricateTextManager } from "../text-manager/text-manager";
|
|
@@ -63,11 +63,15 @@ export interface IImbricateOrigin {
|
|
|
63
63
|
*/
|
|
64
64
|
search(keyword: string): PromiseLike<ImbricateOriginSearchOutcome>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Query the origin actions
|
|
67
|
+
*
|
|
68
|
+
* @param query the query of the origin actions
|
|
67
69
|
*
|
|
68
70
|
* @returns the origin actions
|
|
71
|
+
* Symbol: S_Common_QueryOriginActions_Stale - if the origin actions are stale
|
|
72
|
+
* Symbol: S_Common_QueryOriginActions_Unknown - if the origin actions are unknown
|
|
69
73
|
*/
|
|
70
|
-
|
|
74
|
+
queryOriginActions(query: ImbricateCommonQueryOriginActionsQuery): PromiseLike<ImbricateCommonQueryOriginActionsOutcome>;
|
|
71
75
|
/**
|
|
72
76
|
* Execute the origin action
|
|
73
77
|
*
|