quidproquo-core 0.0.241 → 0.0.243
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/commonjs/actions/file/FileActionType.d.ts +2 -0
- package/lib/commonjs/actions/file/FileActionType.js +2 -0
- package/lib/commonjs/actions/file/FileReadObjectJsonActionRequester.d.ts +5 -0
- package/lib/commonjs/actions/file/FileReadObjectJsonActionRequester.js +16 -0
- package/lib/commonjs/actions/file/FileReadObjectJsonActionTypes.d.ts +12 -0
- package/lib/commonjs/actions/file/FileReadObjectJsonActionTypes.js +2 -0
- package/lib/commonjs/actions/file/FileWriteObjectJsonActionRequester.d.ts +3 -0
- package/lib/commonjs/actions/file/FileWriteObjectJsonActionRequester.js +16 -0
- package/lib/commonjs/actions/file/FileWriteObjectJsonActionTypes.d.ts +14 -0
- package/lib/commonjs/actions/file/FileWriteObjectJsonActionTypes.js +2 -0
- package/lib/commonjs/actions/file/index.d.ts +4 -0
- package/lib/commonjs/actions/file/index.js +4 -0
- package/lib/commonjs/actions/log/LogActionType.d.ts +3 -1
- package/lib/commonjs/actions/log/LogActionType.js +2 -0
- package/lib/commonjs/actions/log/LogDisableEventHistoryActionRequester.d.ts +2 -0
- package/lib/commonjs/actions/log/LogDisableEventHistoryActionRequester.js +14 -0
- package/lib/commonjs/actions/log/LogDisableEventHistoryActionTypes.d.ts +12 -0
- package/lib/commonjs/actions/log/LogDisableEventHistoryActionTypes.js +2 -0
- package/lib/commonjs/actions/log/LogTemplateLiteralActionRequester.d.ts +4 -0
- package/lib/commonjs/actions/log/LogTemplateLiteralActionRequester.js +14 -0
- package/lib/commonjs/actions/log/LogTemplateLiteralActionTypes.d.ts +12 -0
- package/lib/commonjs/actions/log/LogTemplateLiteralActionTypes.js +2 -0
- package/lib/commonjs/actions/log/index.d.ts +4 -0
- package/lib/commonjs/actions/log/index.js +4 -0
- package/lib/commonjs/config/QPQConfig.d.ts +2 -1
- package/lib/commonjs/config/QPQConfig.js +1 -0
- package/lib/commonjs/config/settings/index.d.ts +1 -0
- package/lib/commonjs/config/settings/index.js +1 -0
- package/lib/commonjs/config/settings/notifyError.d.ts +13 -0
- package/lib/commonjs/config/settings/notifyError.js +16 -0
- package/lib/commonjs/logic/actionValidators/index.d.ts +1 -0
- package/lib/commonjs/logic/actionValidators/index.js +17 -0
- package/lib/commonjs/logic/actionValidators/isBatchAction.d.ts +3 -0
- package/lib/commonjs/logic/actionValidators/isBatchAction.js +8 -0
- package/lib/commonjs/logic/decomposedString/decomposedStringToString.d.ts +2 -0
- package/lib/commonjs/logic/decomposedString/decomposedStringToString.js +7 -0
- package/lib/commonjs/logic/decomposedString/index.d.ts +1 -0
- package/lib/commonjs/logic/decomposedString/index.js +17 -0
- package/lib/commonjs/logic/index.d.ts +4 -0
- package/lib/commonjs/logic/index.js +4 -0
- package/lib/commonjs/logic/logHistory/filterLogHistoryByActionTypes.d.ts +2 -0
- package/lib/commonjs/logic/logHistory/filterLogHistoryByActionTypes.js +31 -0
- package/lib/commonjs/logic/logHistory/index.d.ts +1 -0
- package/lib/commonjs/logic/logHistory/index.js +17 -0
- package/lib/commonjs/logic/lookup/getAllEnumValues.d.ts +1 -0
- package/lib/commonjs/logic/lookup/getAllEnumValues.js +7 -0
- package/lib/commonjs/logic/lookup/getLookupValues.d.ts +1 -0
- package/lib/commonjs/logic/lookup/getLookupValues.js +9 -0
- package/lib/commonjs/logic/lookup/index.d.ts +4 -0
- package/lib/commonjs/logic/lookup/index.js +20 -0
- package/lib/commonjs/logic/lookup/resolveLookupText.d.ts +1 -0
- package/lib/commonjs/logic/lookup/resolveLookupText.js +7 -0
- package/lib/commonjs/logic/lookup/resolveLookupValues.d.ts +2 -0
- package/lib/commonjs/logic/lookup/resolveLookupValues.js +13 -0
- package/lib/commonjs/qpqCoreUtils.d.ts +2 -1
- package/lib/commonjs/qpqCoreUtils.js +6 -2
- package/lib/commonjs/qpqExecuteLog.js +1 -0
- package/lib/commonjs/stories/askProcessEvent.js +5 -10
- package/lib/commonjs/stories/dateTime/addTime/addDayMonthYearToTDateIso.d.ts +1 -0
- package/lib/commonjs/stories/dateTime/addTime/addDayMonthYearToTDateIso.js +15 -0
- package/lib/commonjs/stories/dateTime/addTime/addDaysToTDateIso.d.ts +1 -0
- package/lib/commonjs/stories/dateTime/addTime/addDaysToTDateIso.js +14 -0
- package/lib/commonjs/stories/dateTime/addTime/addMillisecondsToTDateIso.d.ts +1 -0
- package/lib/commonjs/stories/dateTime/addTime/addMillisecondsToTDateIso.js +12 -0
- package/lib/commonjs/stories/dateTime/addTime/addMonthsToTDateIso.d.ts +1 -0
- package/lib/commonjs/stories/dateTime/addTime/addMonthsToTDateIso.js +14 -0
- package/lib/commonjs/stories/dateTime/addTime/addYearsToTDateIso.d.ts +1 -0
- package/lib/commonjs/stories/dateTime/addTime/addYearsToTDateIso.js +14 -0
- package/lib/commonjs/stories/dateTime/addTime/index.d.ts +5 -0
- package/lib/commonjs/stories/dateTime/addTime/index.js +21 -0
- package/lib/commonjs/stories/dateTime/askGetEpochStartTime.d.ts +3 -0
- package/lib/commonjs/stories/dateTime/askGetEpochStartTime.js +7 -0
- package/lib/commonjs/stories/dateTime/index.d.ts +2 -0
- package/lib/commonjs/stories/dateTime/index.js +2 -0
- package/lib/commonjs/types/DecomposedString.d.ts +2 -0
- package/lib/commonjs/types/DecomposedString.js +2 -0
- package/lib/commonjs/types/LogLevelEnum.d.ts +4 -0
- package/lib/commonjs/types/LogLevelEnum.js +4 -1
- package/lib/commonjs/types/Lookup.d.ts +1 -0
- package/lib/commonjs/types/Lookup.js +2 -0
- package/lib/commonjs/types/NotifyErrorQueueEvent.d.ts +28 -0
- package/lib/commonjs/types/NotifyErrorQueueEvent.js +10 -0
- package/lib/commonjs/types/QpqLogger.d.ts +1 -0
- package/lib/commonjs/types/QueueEvent.d.ts +9 -0
- package/lib/commonjs/types/QueueEvent.js +2 -0
- package/lib/commonjs/types/index.d.ts +4 -0
- package/lib/commonjs/types/index.js +4 -0
- package/lib/esm/actions/file/FileActionType.d.ts +2 -0
- package/lib/esm/actions/file/FileActionType.js +2 -0
- package/lib/esm/actions/file/FileReadObjectJsonActionRequester.d.ts +5 -0
- package/lib/esm/actions/file/FileReadObjectJsonActionRequester.js +12 -0
- package/lib/esm/actions/file/FileReadObjectJsonActionTypes.d.ts +12 -0
- package/lib/esm/actions/file/FileReadObjectJsonActionTypes.js +1 -0
- package/lib/esm/actions/file/FileWriteObjectJsonActionRequester.d.ts +3 -0
- package/lib/esm/actions/file/FileWriteObjectJsonActionRequester.js +12 -0
- package/lib/esm/actions/file/FileWriteObjectJsonActionTypes.d.ts +14 -0
- package/lib/esm/actions/file/FileWriteObjectJsonActionTypes.js +1 -0
- package/lib/esm/actions/file/index.d.ts +4 -0
- package/lib/esm/actions/file/index.js +4 -0
- package/lib/esm/actions/log/LogActionType.d.ts +3 -1
- package/lib/esm/actions/log/LogActionType.js +2 -0
- package/lib/esm/actions/log/LogDisableEventHistoryActionRequester.d.ts +2 -0
- package/lib/esm/actions/log/LogDisableEventHistoryActionRequester.js +10 -0
- package/lib/esm/actions/log/LogDisableEventHistoryActionTypes.d.ts +12 -0
- package/lib/esm/actions/log/LogDisableEventHistoryActionTypes.js +1 -0
- package/lib/esm/actions/log/LogTemplateLiteralActionRequester.d.ts +4 -0
- package/lib/esm/actions/log/LogTemplateLiteralActionRequester.js +10 -0
- package/lib/esm/actions/log/LogTemplateLiteralActionTypes.d.ts +12 -0
- package/lib/esm/actions/log/LogTemplateLiteralActionTypes.js +1 -0
- package/lib/esm/actions/log/index.d.ts +4 -0
- package/lib/esm/actions/log/index.js +4 -0
- package/lib/esm/config/QPQConfig.d.ts +2 -1
- package/lib/esm/config/QPQConfig.js +1 -0
- package/lib/esm/config/settings/index.d.ts +1 -0
- package/lib/esm/config/settings/index.js +1 -0
- package/lib/esm/config/settings/notifyError.d.ts +13 -0
- package/lib/esm/config/settings/notifyError.js +9 -0
- package/lib/esm/logic/actionValidators/index.d.ts +1 -0
- package/lib/esm/logic/actionValidators/index.js +1 -0
- package/lib/esm/logic/actionValidators/isBatchAction.d.ts +3 -0
- package/lib/esm/logic/actionValidators/isBatchAction.js +4 -0
- package/lib/esm/logic/decomposedString/decomposedStringToString.d.ts +2 -0
- package/lib/esm/logic/decomposedString/decomposedStringToString.js +3 -0
- package/lib/esm/logic/decomposedString/index.d.ts +1 -0
- package/lib/esm/logic/decomposedString/index.js +1 -0
- package/lib/esm/logic/index.d.ts +4 -0
- package/lib/esm/logic/index.js +4 -0
- package/lib/esm/logic/logHistory/filterLogHistoryByActionTypes.d.ts +2 -0
- package/lib/esm/logic/logHistory/filterLogHistoryByActionTypes.js +27 -0
- package/lib/esm/logic/logHistory/index.d.ts +1 -0
- package/lib/esm/logic/logHistory/index.js +1 -0
- package/lib/esm/logic/lookup/getAllEnumValues.d.ts +1 -0
- package/lib/esm/logic/lookup/getAllEnumValues.js +3 -0
- package/lib/esm/logic/lookup/getLookupValues.d.ts +1 -0
- package/lib/esm/logic/lookup/getLookupValues.js +5 -0
- package/lib/esm/logic/lookup/index.d.ts +4 -0
- package/lib/esm/logic/lookup/index.js +4 -0
- package/lib/esm/logic/lookup/resolveLookupText.d.ts +1 -0
- package/lib/esm/logic/lookup/resolveLookupText.js +3 -0
- package/lib/esm/logic/lookup/resolveLookupValues.d.ts +2 -0
- package/lib/esm/logic/lookup/resolveLookupValues.js +9 -0
- package/lib/esm/qpqCoreUtils.d.ts +2 -1
- package/lib/esm/qpqCoreUtils.js +3 -0
- package/lib/esm/qpqExecuteLog.js +1 -0
- package/lib/esm/stories/askProcessEvent.js +0 -5
- package/lib/esm/stories/dateTime/addTime/addDayMonthYearToTDateIso.d.ts +1 -0
- package/lib/esm/stories/dateTime/addTime/addDayMonthYearToTDateIso.js +11 -0
- package/lib/esm/stories/dateTime/addTime/addDaysToTDateIso.d.ts +1 -0
- package/lib/esm/stories/dateTime/addTime/addDaysToTDateIso.js +10 -0
- package/lib/esm/stories/dateTime/addTime/addMillisecondsToTDateIso.d.ts +1 -0
- package/lib/esm/stories/dateTime/addTime/addMillisecondsToTDateIso.js +8 -0
- package/lib/esm/stories/dateTime/addTime/addMonthsToTDateIso.d.ts +1 -0
- package/lib/esm/stories/dateTime/addTime/addMonthsToTDateIso.js +10 -0
- package/lib/esm/stories/dateTime/addTime/addYearsToTDateIso.d.ts +1 -0
- package/lib/esm/stories/dateTime/addTime/addYearsToTDateIso.js +10 -0
- package/lib/esm/stories/dateTime/addTime/index.d.ts +5 -0
- package/lib/esm/stories/dateTime/addTime/index.js +5 -0
- package/lib/esm/stories/dateTime/askGetEpochStartTime.d.ts +3 -0
- package/lib/esm/stories/dateTime/askGetEpochStartTime.js +3 -0
- package/lib/esm/stories/dateTime/index.d.ts +2 -0
- package/lib/esm/stories/dateTime/index.js +2 -0
- package/lib/esm/types/DecomposedString.d.ts +2 -0
- package/lib/esm/types/DecomposedString.js +1 -0
- package/lib/esm/types/LogLevelEnum.d.ts +4 -0
- package/lib/esm/types/LogLevelEnum.js +3 -0
- package/lib/esm/types/Lookup.d.ts +1 -0
- package/lib/esm/types/Lookup.js +1 -0
- package/lib/esm/types/NotifyErrorQueueEvent.d.ts +28 -0
- package/lib/esm/types/NotifyErrorQueueEvent.js +7 -0
- package/lib/esm/types/QpqLogger.d.ts +1 -0
- package/lib/esm/types/QueueEvent.d.ts +9 -0
- package/lib/esm/types/QueueEvent.js +1 -0
- package/lib/esm/types/index.d.ts +4 -0
- package/lib/esm/types/index.js +4 -0
- package/package.json +2 -2
|
@@ -2,6 +2,8 @@ import { StorageDriveTier } from '../../config';
|
|
|
2
2
|
export declare enum FileActionType {
|
|
3
3
|
ReadTextContents = "@quidproquo-core/File/ReadTextContents",
|
|
4
4
|
WriteTextContents = "@quidproquo-core/File/WriteTextContents",
|
|
5
|
+
WriteObjectJson = "@quidproquo-core/File/WriteObjectJson",
|
|
6
|
+
ReadObjectJson = "@quidproquo-core/File/ReadObjectJson",
|
|
5
7
|
ListDirectory = "@quidproquo-core/File/ListDirectory",
|
|
6
8
|
Exists = "@quidproquo-core/File/Exists",
|
|
7
9
|
Delete = "@quidproquo-core/File/Delete",
|
|
@@ -5,6 +5,8 @@ var FileActionType;
|
|
|
5
5
|
(function (FileActionType) {
|
|
6
6
|
FileActionType["ReadTextContents"] = "@quidproquo-core/File/ReadTextContents";
|
|
7
7
|
FileActionType["WriteTextContents"] = "@quidproquo-core/File/WriteTextContents";
|
|
8
|
+
FileActionType["WriteObjectJson"] = "@quidproquo-core/File/WriteObjectJson";
|
|
9
|
+
FileActionType["ReadObjectJson"] = "@quidproquo-core/File/ReadObjectJson";
|
|
8
10
|
FileActionType["ListDirectory"] = "@quidproquo-core/File/ListDirectory";
|
|
9
11
|
FileActionType["Exists"] = "@quidproquo-core/File/Exists";
|
|
10
12
|
FileActionType["Delete"] = "@quidproquo-core/File/Delete";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FileReadObjectJsonActionRequester } from './FileReadObjectJsonActionTypes';
|
|
2
|
+
export declare const FileReadObjectJsonErrorTypeEnum: {
|
|
3
|
+
InvalidStorageClass: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function askFileReadObjectJson<T extends object>(drive: string, filepath: string): FileReadObjectJsonActionRequester<T>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.askFileReadObjectJson = exports.FileReadObjectJsonErrorTypeEnum = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const FileActionType_1 = require("./FileActionType");
|
|
6
|
+
exports.FileReadObjectJsonErrorTypeEnum = (0, types_1.createErrorEnumForAction)(FileActionType_1.FileActionType.ReadObjectJson, ['InvalidStorageClass']);
|
|
7
|
+
function* askFileReadObjectJson(drive, filepath) {
|
|
8
|
+
return yield {
|
|
9
|
+
type: FileActionType_1.FileActionType.ReadObjectJson,
|
|
10
|
+
payload: {
|
|
11
|
+
drive,
|
|
12
|
+
filepath,
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
exports.askFileReadObjectJson = askFileReadObjectJson;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Action, ActionProcessor, ActionRequester } from '../../types/Action';
|
|
2
|
+
import { FileActionType } from './FileActionType';
|
|
3
|
+
export interface FileReadObjectJsonActionPayload {
|
|
4
|
+
drive: string;
|
|
5
|
+
filepath: string;
|
|
6
|
+
}
|
|
7
|
+
export interface FileReadObjectJsonAction extends Action<FileReadObjectJsonActionPayload> {
|
|
8
|
+
type: FileActionType.ReadObjectJson;
|
|
9
|
+
payload: FileReadObjectJsonActionPayload;
|
|
10
|
+
}
|
|
11
|
+
export type FileReadObjectJsonActionProcessor<T extends object> = ActionProcessor<FileReadObjectJsonAction, T>;
|
|
12
|
+
export type FileReadObjectJsonActionRequester<T extends object> = ActionRequester<FileReadObjectJsonAction, T>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { StorageDriveAdvancedWriteOptions } from './FileActionType';
|
|
2
|
+
import { FileWriteObjectJsonActionRequester } from './FileWriteObjectJsonActionTypes';
|
|
3
|
+
export declare function askFileWriteObjectJson<T extends object>(drive: string, filepath: string, data: T, storageDriveAdvancedWriteOptions?: StorageDriveAdvancedWriteOptions): FileWriteObjectJsonActionRequester<T>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.askFileWriteObjectJson = void 0;
|
|
4
|
+
const FileActionType_1 = require("./FileActionType");
|
|
5
|
+
function* askFileWriteObjectJson(drive, filepath, data, storageDriveAdvancedWriteOptions) {
|
|
6
|
+
return yield {
|
|
7
|
+
type: FileActionType_1.FileActionType.WriteObjectJson,
|
|
8
|
+
payload: {
|
|
9
|
+
drive,
|
|
10
|
+
filepath,
|
|
11
|
+
data,
|
|
12
|
+
storageDriveAdvancedWriteOptions,
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
exports.askFileWriteObjectJson = askFileWriteObjectJson;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, ActionProcessor, ActionRequester } from '../../types/Action';
|
|
2
|
+
import { FileActionType, StorageDriveAdvancedWriteOptions } from './FileActionType';
|
|
3
|
+
export interface FileWriteObjectJsonActionPayload<T extends object> {
|
|
4
|
+
drive: string;
|
|
5
|
+
filepath: string;
|
|
6
|
+
data: T;
|
|
7
|
+
storageDriveAdvancedWriteOptions?: StorageDriveAdvancedWriteOptions;
|
|
8
|
+
}
|
|
9
|
+
export interface FileWriteObjectJsonAction<T extends object> extends Action<FileWriteObjectJsonActionPayload<T>> {
|
|
10
|
+
type: FileActionType.WriteObjectJson;
|
|
11
|
+
payload: FileWriteObjectJsonActionPayload<T>;
|
|
12
|
+
}
|
|
13
|
+
export type FileWriteObjectJsonActionProcessor<T extends object> = ActionProcessor<FileWriteObjectJsonAction<T>, void>;
|
|
14
|
+
export type FileWriteObjectJsonActionRequester<T extends object> = ActionRequester<FileWriteObjectJsonAction<T>, void>;
|
|
@@ -11,9 +11,13 @@ export * from './FileListDirectoryActionRequester';
|
|
|
11
11
|
export * from './FileListDirectoryActionTypes';
|
|
12
12
|
export * from './FileReadBinaryContentsActionRequester';
|
|
13
13
|
export * from './FileReadBinaryContentsActionTypes';
|
|
14
|
+
export * from './FileReadObjectJsonActionRequester';
|
|
15
|
+
export * from './FileReadObjectJsonActionTypes';
|
|
14
16
|
export * from './FileReadTextContentsActionRequester';
|
|
15
17
|
export * from './FileReadTextContentsActionTypes';
|
|
16
18
|
export * from './FileWriteBinaryContentsActionRequester';
|
|
17
19
|
export * from './FileWriteBinaryContentsActionTypes';
|
|
20
|
+
export * from './FileWriteObjectJsonActionRequester';
|
|
21
|
+
export * from './FileWriteObjectJsonActionTypes';
|
|
18
22
|
export * from './FileWriteTextContentsActionRequester';
|
|
19
23
|
export * from './FileWriteTextContentsActionTypes';
|
|
@@ -27,9 +27,13 @@ __exportStar(require("./FileListDirectoryActionRequester"), exports);
|
|
|
27
27
|
__exportStar(require("./FileListDirectoryActionTypes"), exports);
|
|
28
28
|
__exportStar(require("./FileReadBinaryContentsActionRequester"), exports);
|
|
29
29
|
__exportStar(require("./FileReadBinaryContentsActionTypes"), exports);
|
|
30
|
+
__exportStar(require("./FileReadObjectJsonActionRequester"), exports);
|
|
31
|
+
__exportStar(require("./FileReadObjectJsonActionTypes"), exports);
|
|
30
32
|
__exportStar(require("./FileReadTextContentsActionRequester"), exports);
|
|
31
33
|
__exportStar(require("./FileReadTextContentsActionTypes"), exports);
|
|
32
34
|
__exportStar(require("./FileWriteBinaryContentsActionRequester"), exports);
|
|
33
35
|
__exportStar(require("./FileWriteBinaryContentsActionTypes"), exports);
|
|
36
|
+
__exportStar(require("./FileWriteObjectJsonActionRequester"), exports);
|
|
37
|
+
__exportStar(require("./FileWriteObjectJsonActionTypes"), exports);
|
|
34
38
|
__exportStar(require("./FileWriteTextContentsActionRequester"), exports);
|
|
35
39
|
__exportStar(require("./FileWriteTextContentsActionTypes"), exports);
|
|
@@ -4,4 +4,6 @@ exports.LogActionType = void 0;
|
|
|
4
4
|
var LogActionType;
|
|
5
5
|
(function (LogActionType) {
|
|
6
6
|
LogActionType["Create"] = "@quidproquo-core/Log/Create";
|
|
7
|
+
LogActionType["DisableEventHistory"] = "@quidproquo-core/Log/DisableEventHistory";
|
|
8
|
+
LogActionType["TemplateLiteral"] = "@quidproquo-core/Log/TemplateLiteral";
|
|
7
9
|
})(LogActionType = exports.LogActionType || (exports.LogActionType = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.askLogDisableEventHistory = void 0;
|
|
4
|
+
const LogActionType_1 = require("./LogActionType");
|
|
5
|
+
function* askLogDisableEventHistory(enable, reason) {
|
|
6
|
+
return yield {
|
|
7
|
+
type: LogActionType_1.LogActionType.DisableEventHistory,
|
|
8
|
+
payload: {
|
|
9
|
+
enable,
|
|
10
|
+
reason,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
exports.askLogDisableEventHistory = askLogDisableEventHistory;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Action, ActionProcessor, ActionRequester } from '../../types/Action';
|
|
2
|
+
import { LogActionType } from './LogActionType';
|
|
3
|
+
export interface LogDisableEventHistoryActionPayload {
|
|
4
|
+
enable: boolean;
|
|
5
|
+
reason: string;
|
|
6
|
+
}
|
|
7
|
+
export interface LogDisableEventHistoryAction extends Action<LogDisableEventHistoryActionPayload> {
|
|
8
|
+
type: LogActionType.DisableEventHistory;
|
|
9
|
+
payload: LogDisableEventHistoryActionPayload;
|
|
10
|
+
}
|
|
11
|
+
export type LogDisableEventHistoryActionProcessor = ActionProcessor<LogDisableEventHistoryAction, void>;
|
|
12
|
+
export type LogDisableEventHistoryActionRequester = ActionRequester<LogDisableEventHistoryAction, void>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DecomposedStringPrimitive } from '../../types';
|
|
2
|
+
import { LogTemplateLiteralActionRequester } from './LogTemplateLiteralActionTypes';
|
|
3
|
+
export declare function askLogTemplateLiteral(strings: TemplateStringsArray, ...variables: DecomposedStringPrimitive[]): LogTemplateLiteralActionRequester;
|
|
4
|
+
export declare const askLog: typeof askLogTemplateLiteral;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.askLog = exports.askLogTemplateLiteral = void 0;
|
|
4
|
+
const LogActionType_1 = require("./LogActionType");
|
|
5
|
+
function* askLogTemplateLiteral(strings, ...variables) {
|
|
6
|
+
return yield {
|
|
7
|
+
type: LogActionType_1.LogActionType.TemplateLiteral,
|
|
8
|
+
payload: {
|
|
9
|
+
messageParts: [[...strings], variables],
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
exports.askLogTemplateLiteral = askLogTemplateLiteral;
|
|
14
|
+
exports.askLog = askLogTemplateLiteral;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DecomposedString } from '../../types';
|
|
2
|
+
import { Action, ActionProcessor, ActionRequester } from '../../types/Action';
|
|
3
|
+
import { LogActionType } from './LogActionType';
|
|
4
|
+
export interface LogTemplateLiteralActionPayload {
|
|
5
|
+
messageParts: DecomposedString;
|
|
6
|
+
}
|
|
7
|
+
export interface LogTemplateLiteralAction extends Action<LogTemplateLiteralActionPayload> {
|
|
8
|
+
type: LogActionType.TemplateLiteral;
|
|
9
|
+
payload: LogTemplateLiteralActionPayload;
|
|
10
|
+
}
|
|
11
|
+
export type LogTemplateLiteralActionProcessor = ActionProcessor<LogTemplateLiteralAction, void>;
|
|
12
|
+
export type LogTemplateLiteralActionRequester = ActionRequester<LogTemplateLiteralAction, void>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export * from './LogActionType';
|
|
2
2
|
export * from './LogCreateActionRequester';
|
|
3
3
|
export * from './LogCreateActionTypes';
|
|
4
|
+
export * from './LogDisableEventHistoryActionRequester';
|
|
5
|
+
export * from './LogDisableEventHistoryActionTypes';
|
|
6
|
+
export * from './LogTemplateLiteralActionRequester';
|
|
7
|
+
export * from './LogTemplateLiteralActionTypes';
|
|
@@ -17,3 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./LogActionType"), exports);
|
|
18
18
|
__exportStar(require("./LogCreateActionRequester"), exports);
|
|
19
19
|
__exportStar(require("./LogCreateActionTypes"), exports);
|
|
20
|
+
__exportStar(require("./LogDisableEventHistoryActionRequester"), exports);
|
|
21
|
+
__exportStar(require("./LogDisableEventHistoryActionTypes"), exports);
|
|
22
|
+
__exportStar(require("./LogTemplateLiteralActionRequester"), exports);
|
|
23
|
+
__exportStar(require("./LogTemplateLiteralActionTypes"), exports);
|
|
@@ -18,7 +18,8 @@ export declare enum QPQCoreConfigSettingType {
|
|
|
18
18
|
deployEvent = "@quidproquo-core/config/DeployEvent",
|
|
19
19
|
claudeAi = "@quidproquo-core/config/ClaudeAi",
|
|
20
20
|
graphDatabase = "@quidproquo-core/config/GraphDatabase",
|
|
21
|
-
virtualNetwork = "@quidproquo-core/config/VirtualNetwork"
|
|
21
|
+
virtualNetwork = "@quidproquo-core/config/VirtualNetwork",
|
|
22
|
+
notifyError = "@quidproquo-core/config/notifyError"
|
|
22
23
|
}
|
|
23
24
|
export interface QPQConfigSetting {
|
|
24
25
|
configSettingType: string;
|
|
@@ -22,4 +22,5 @@ var QPQCoreConfigSettingType;
|
|
|
22
22
|
QPQCoreConfigSettingType["claudeAi"] = "@quidproquo-core/config/ClaudeAi";
|
|
23
23
|
QPQCoreConfigSettingType["graphDatabase"] = "@quidproquo-core/config/GraphDatabase";
|
|
24
24
|
QPQCoreConfigSettingType["virtualNetwork"] = "@quidproquo-core/config/VirtualNetwork";
|
|
25
|
+
QPQCoreConfigSettingType["notifyError"] = "@quidproquo-core/config/notifyError";
|
|
25
26
|
})(QPQCoreConfigSettingType = exports.QPQCoreConfigSettingType || (exports.QPQCoreConfigSettingType = {}));
|
|
@@ -29,6 +29,7 @@ __exportStar(require("./global"), exports);
|
|
|
29
29
|
__exportStar(require("./graphDatabase"), exports);
|
|
30
30
|
__exportStar(require("./keyValueStore"), exports);
|
|
31
31
|
__exportStar(require("./moduleName"), exports);
|
|
32
|
+
__exportStar(require("./notifyError"), exports);
|
|
32
33
|
__exportStar(require("./parameter"), exports);
|
|
33
34
|
__exportStar(require("./queue"), exports);
|
|
34
35
|
__exportStar(require("./schedule"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QPQConfigAdvancedSettings, QPQConfigSetting } from '../QPQConfig';
|
|
2
|
+
export interface QPQConfigAdvancedNotifyErrorSettings extends QPQConfigAdvancedSettings {
|
|
3
|
+
onAlarm: {
|
|
4
|
+
publishToEventBus?: string[];
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface NotifyErrorQPQConfigSetting extends QPQConfigSetting {
|
|
8
|
+
name: string;
|
|
9
|
+
onAlarm: {
|
|
10
|
+
publishToEventBus?: string[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare const defineNotifyError: (name: string, options?: QPQConfigAdvancedNotifyErrorSettings) => NotifyErrorQPQConfigSetting;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineNotifyError = void 0;
|
|
4
|
+
const QPQConfig_1 = require("../QPQConfig");
|
|
5
|
+
const defineNotifyError = (name, options) => {
|
|
6
|
+
var _a;
|
|
7
|
+
return ({
|
|
8
|
+
configSettingType: QPQConfig_1.QPQCoreConfigSettingType.notifyError,
|
|
9
|
+
uniqueKey: name,
|
|
10
|
+
name,
|
|
11
|
+
onAlarm: {
|
|
12
|
+
publishToEventBus: (_a = options === null || options === void 0 ? void 0 : options.onAlarm) === null || _a === void 0 ? void 0 : _a.publishToEventBus,
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
exports.defineNotifyError = defineNotifyError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './isBatchAction';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./isBatchAction"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isBatchAction = void 0;
|
|
4
|
+
const actions_1 = require("../../actions");
|
|
5
|
+
function isBatchAction(action) {
|
|
6
|
+
return action.type === actions_1.SystemActionType.Batch;
|
|
7
|
+
}
|
|
8
|
+
exports.isBatchAction = isBatchAction;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.decomposedStringToString = void 0;
|
|
4
|
+
function decomposedStringToString([strings, values], valueResolver = (v) => String(v)) {
|
|
5
|
+
return values.reduce((str, value, index) => `${str}${valueResolver(value)}${strings[index + 1]}`, strings[0]);
|
|
6
|
+
}
|
|
7
|
+
exports.decomposedStringToString = decomposedStringToString;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './decomposedStringToString';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./decomposedStringToString"), exports);
|
|
@@ -14,4 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actionValidators"), exports);
|
|
17
18
|
__exportStar(require("./context"), exports);
|
|
19
|
+
__exportStar(require("./decomposedString"), exports);
|
|
20
|
+
__exportStar(require("./logHistory"), exports);
|
|
21
|
+
__exportStar(require("./lookup"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filterLogHistoryByActionTypes = void 0;
|
|
4
|
+
const actionValidators_1 = require("../actionValidators");
|
|
5
|
+
function filterLogHistoryByActionTypes(history, actionTypes) {
|
|
6
|
+
const result = [];
|
|
7
|
+
function processHistory(histories) {
|
|
8
|
+
for (const entry of histories) {
|
|
9
|
+
const { act, startedAt, finishedAt, res } = entry;
|
|
10
|
+
if ((0, actionValidators_1.isBatchAction)(act)) {
|
|
11
|
+
// Create new ActionHistory entries for each nested action
|
|
12
|
+
const nestedHistories = act.payload.actions.map((nestedAction) => {
|
|
13
|
+
const newHistory = {
|
|
14
|
+
act: nestedAction,
|
|
15
|
+
res,
|
|
16
|
+
startedAt,
|
|
17
|
+
finishedAt,
|
|
18
|
+
};
|
|
19
|
+
return newHistory;
|
|
20
|
+
});
|
|
21
|
+
processHistory(nestedHistories);
|
|
22
|
+
}
|
|
23
|
+
else if (actionTypes.length == 0 || actionTypes.includes(act.type)) {
|
|
24
|
+
result.push(entry);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
processHistory(history);
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
exports.filterLogHistoryByActionTypes = filterLogHistoryByActionTypes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filterLogHistoryByActionTypes';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./filterLogHistoryByActionTypes"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAllEnumValues<T extends Record<string, any>>(enumObj: T): T[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getLookupValues<T extends Record<string, any>>(enumObj: T): Array<keyof T | 'All'>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLookupValues = void 0;
|
|
4
|
+
function getLookupValues(enumObj) {
|
|
5
|
+
// Filter out numeric keys by checking if Number(key) is NaN.
|
|
6
|
+
const namedKeys = Object.keys(enumObj).filter((key) => isNaN(Number(key)));
|
|
7
|
+
return ['All', ...namedKeys];
|
|
8
|
+
}
|
|
9
|
+
exports.getLookupValues = getLookupValues;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./getAllEnumValues"), exports);
|
|
18
|
+
__exportStar(require("./getLookupValues"), exports);
|
|
19
|
+
__exportStar(require("./resolveLookupText"), exports);
|
|
20
|
+
__exportStar(require("./resolveLookupValues"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveLookupText<T extends Record<string, string | number>>(value: T[keyof T], enumObj: T): keyof T | string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveLookupText = void 0;
|
|
4
|
+
function resolveLookupText(value, enumObj) {
|
|
5
|
+
return Object.keys(enumObj).find((key) => enumObj[key] === value) || '';
|
|
6
|
+
}
|
|
7
|
+
exports.resolveLookupText = resolveLookupText;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveLookupValues = void 0;
|
|
4
|
+
const getLookupValues_1 = require("./getLookupValues");
|
|
5
|
+
function resolveLookupValues(lookups, enumObj) {
|
|
6
|
+
const allValidKeys = (0, getLookupValues_1.getLookupValues)(enumObj).filter((l) => l !== 'All');
|
|
7
|
+
// Use all, or just the ones taht are in there...
|
|
8
|
+
const keys = lookups.includes('All') ? allValidKeys : lookups;
|
|
9
|
+
// Only use keys that are in the enum
|
|
10
|
+
const validKeys = allValidKeys.filter((key) => keys.includes(key));
|
|
11
|
+
return validKeys.map((k) => enumObj[k]);
|
|
12
|
+
}
|
|
13
|
+
exports.resolveLookupValues = resolveLookupValues;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationQPQConfigSetting, ClaudeAIQPQConfigSetting, DeployEventsQPQConfigSetting, EmailTemplates, EventBusQPQConfigSetting, GraphDatabaseQPQConfigSetting, KeyValueStoreQPQConfigSetting, ParameterQPQConfigSetting, QPQConfig, QPQConfigSetting, QpqQueueProcessors, QueueQPQConfigSetting, ScheduleQPQConfigSetting, SecretQPQConfigSetting, StorageDriveQPQConfigSetting, UserDirectoryQPQConfigSetting, VirtualNetworkQPQConfigSetting } from './config';
|
|
1
|
+
import { ApplicationQPQConfigSetting, ClaudeAIQPQConfigSetting, DeployEventsQPQConfigSetting, EmailTemplates, EventBusQPQConfigSetting, GraphDatabaseQPQConfigSetting, KeyValueStoreQPQConfigSetting, NotifyErrorQPQConfigSetting, ParameterQPQConfigSetting, QPQConfig, QPQConfigSetting, QpqQueueProcessors, QueueQPQConfigSetting, ScheduleQPQConfigSetting, SecretQPQConfigSetting, StorageDriveQPQConfigSetting, UserDirectoryQPQConfigSetting, VirtualNetworkQPQConfigSetting } from './config';
|
|
2
2
|
import { ConfigUrl, CrossModuleOwner, CrossServiceResourceName, CustomFullyQualifiedResource, FullyQualifiedResource, QpqFunctionRuntime, ResourceName } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Flattens a QPQConfig array into a single array of QPQConfigSetting objects.
|
|
@@ -44,6 +44,7 @@ export declare const getApplicationModuleEnvironment: (qpqConfig: QPQConfig) =>
|
|
|
44
44
|
export declare const getStorageDrives: (configs: QPQConfig) => StorageDriveQPQConfigSetting[];
|
|
45
45
|
export declare const getStorageDriveByName: (storageDriveName: string, configs: QPQConfig) => StorageDriveQPQConfigSetting | undefined;
|
|
46
46
|
export declare const getQueues: (configs: QPQConfig) => QueueQPQConfigSetting[];
|
|
47
|
+
export declare const getNotifyErrorConfigs: (configs: QPQConfig) => NotifyErrorQPQConfigSetting[];
|
|
47
48
|
export declare const getQueueByName: (configs: QPQConfig, name: string) => QueueQPQConfigSetting | undefined;
|
|
48
49
|
export declare const getStorageDriveNames: (configs: QPQConfig) => string[];
|
|
49
50
|
export declare const getAllEventBusConfigs: (qpqConfig: QPQConfig) => EventBusQPQConfigSetting[];
|
|
@@ -11,8 +11,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
return t;
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.getFullUrlFromConfigUrl = exports.isSameResource = exports.getKeyValueStoreFullyQualifiedResourceName = exports.getFullyQualifiedResourceName = exports.convertCustomFullyQualifiedResourceToGeneric = exports.convertCrossModuleOwnerToGenericResourceNameOverride = exports.getQueueQueueProcessors = exports.getApiBuildPathFullPath = exports.getStorageDriveUploadFullPath = exports.getUniqueKeyForSetting = exports.getOwnedParameterConfigs = void 0;
|
|
14
|
+
exports.getAllParameterConfigs = exports.getUserDirectoryByName = exports.getOwnedUserDirectories = exports.getUserDirectories = exports.getGlobalConfigValue = exports.getOwnedSecrets = exports.getAllSecretConfigs = exports.getSecretByName = exports.getSrcFilenameFromQpqFunctionRuntime = exports.getStoryNameFromQpqFunctionRuntime = exports.getFullSrcPathFromQpqFunctionRuntime = exports.getSrcPathFromQpqFunctionRuntimeWithoutLeadingSlash = exports.getSrcPathFromQpqFunctionRuntime = exports.getApiBuildPath = exports.getAllSrcEntries = exports.getUserDirectorySrcEntries = exports.getQueueSrcEntries = exports.getScheduleEvents = exports.getUserDirectoryEmailTemplates = exports.getActionProcessorSources = exports.getKeyValueStoreByName = exports.resolveCrossServiceResourceName = exports.getOwnedStorageDrives = exports.getOwnedGraphDatabases = exports.getOwnedKeyValueStores = exports.getVirualNetworkConfigs = exports.getDeployEventConfigs = exports.getAllGraphDatabaseConfigs = exports.getAllKeyValueStores = exports.getOwnedItems = exports.getEventBusConfigByName = exports.getOwnedEventBusConfigs = exports.getAllClaudeAiConfigs = exports.getAllEventBusConfigs = exports.getStorageDriveNames = exports.getQueueByName = exports.getNotifyErrorConfigs = exports.getQueues = exports.getStorageDriveByName = exports.getStorageDrives = exports.getApplicationModuleEnvironment = exports.getConfigRoot = exports.getApplicationModuleFeature = exports.getApplicationName = exports.getApplicationConfigRoot = exports.getApplicationModuleName = exports.getApplicationConfigSetting = exports.getConfigSetting = exports.getConfigSettings = exports.flattenQpqConfig = void 0;
|
|
15
|
+
exports.getFullUrlFromConfigUrl = exports.isSameResource = exports.getKeyValueStoreFullyQualifiedResourceName = exports.getFullyQualifiedResourceName = exports.convertCustomFullyQualifiedResourceToGeneric = exports.convertCrossModuleOwnerToGenericResourceNameOverride = exports.getQueueQueueProcessors = exports.getApiBuildPathFullPath = exports.getStorageDriveUploadFullPath = exports.getUniqueKeyForSetting = exports.getOwnedParameterConfigs = exports.getParameterConfig = void 0;
|
|
16
16
|
const config_1 = require("./config");
|
|
17
17
|
const utils_1 = require("./utils");
|
|
18
18
|
/**
|
|
@@ -141,6 +141,10 @@ const getQueues = (configs) => {
|
|
|
141
141
|
return (0, exports.getConfigSettings)(configs, config_1.QPQCoreConfigSettingType.queue);
|
|
142
142
|
};
|
|
143
143
|
exports.getQueues = getQueues;
|
|
144
|
+
const getNotifyErrorConfigs = (configs) => {
|
|
145
|
+
return (0, exports.getConfigSettings)(configs, config_1.QPQCoreConfigSettingType.notifyError);
|
|
146
|
+
};
|
|
147
|
+
exports.getNotifyErrorConfigs = getNotifyErrorConfigs;
|
|
144
148
|
const getQueueByName = (configs, name) => {
|
|
145
149
|
return (0, exports.getQueues)(configs).find((q) => q.name === name);
|
|
146
150
|
};
|
|
@@ -35,6 +35,7 @@ const qpqExecuteLog = (storyResult, runtime, overrides = {}) => __awaiter(void 0
|
|
|
35
35
|
depth: storyResult.session.depth,
|
|
36
36
|
context: storyResult.session.context,
|
|
37
37
|
}, () => __awaiter(void 0, void 0, void 0, function* () { return storyActionProcessor; }), () => new Date().toISOString(), {
|
|
38
|
+
enableLogs: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
38
39
|
log: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
39
40
|
waitToFinishWriting: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
40
41
|
moveToPermanentStorage: () => __awaiter(void 0, void 0, void 0, function* () { }),
|