quidproquo-core
Advanced tools
Comparing version 0.0.191 to 0.0.192
export * from './askKeyValueStoreUpdatePartialProperties'; | ||
export * from './utils'; | ||
export * from './askKeyValueStoreQueryAll'; | ||
export * from './askKeyValueStoreScanAll'; | ||
export * from './askKeyValueStoreQuerySingle'; |
@@ -19,1 +19,4 @@ "use strict"; | ||
__exportStar(require("./utils"), exports); | ||
__exportStar(require("./askKeyValueStoreQueryAll"), exports); | ||
__exportStar(require("./askKeyValueStoreScanAll"), exports); | ||
__exportStar(require("./askKeyValueStoreQuerySingle"), exports); |
@@ -18,1 +18,2 @@ export * from './Action'; | ||
export * from './QpqLogger'; | ||
export * from './EventMessage'; |
@@ -34,1 +34,2 @@ "use strict"; | ||
__exportStar(require("./QpqLogger"), exports); | ||
__exportStar(require("./EventMessage"), exports); |
@@ -88,3 +88,3 @@ import { ErrorTypeEnum } from './ErrorTypeEnum'; | ||
} | ||
export interface StoryResultMetadata { | ||
export type StoryResultMetadata = { | ||
correlation: string; | ||
@@ -98,5 +98,6 @@ fromCorrelation?: string; | ||
executionTimeMs: number; | ||
} | ||
userInfo?: string; | ||
}; | ||
export type StoryResultMetadataWithChildren = StoryResultMetadata & { | ||
children: StoryResultMetadataWithChildren[]; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getTotalExecutionTime = void 0; | ||
const types_1 = require("../../types"); | ||
const getTotalExecutionTime = (logs) => { | ||
@@ -8,3 +9,5 @@ let totalExecutionTimeMs = 0; | ||
// Add the node's execution time to the total | ||
totalExecutionTimeMs += node.executionTimeMs; | ||
if (node.runtimeType === types_1.QpqRuntimeType.EXECUTE_STORY) { | ||
totalExecutionTimeMs += node.executionTimeMs; | ||
} | ||
// Recursively process each child | ||
@@ -11,0 +14,0 @@ for (const child of node.children) { |
{ | ||
"name": "quidproquo-core", | ||
"version": "0.0.191", | ||
"version": "0.0.192", | ||
"description": "", | ||
@@ -28,3 +28,3 @@ "main": "./lib/commonjs/index.js", | ||
"devDependencies": { | ||
"quidproquo-tsconfig": "0.0.191", | ||
"quidproquo-tsconfig": "0.0.192", | ||
"typescript": "^4.9.3" | ||
@@ -31,0 +31,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
314802
510
6095