attlaz-client 1.37.8 → 1.37.10
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.
|
@@ -11,7 +11,7 @@ export declare class FlowRun extends MetaDataAware {
|
|
|
11
11
|
triggerId: string;
|
|
12
12
|
priority: FlowRunPriority;
|
|
13
13
|
deployId: string;
|
|
14
|
-
logStreamId: LogStreamId
|
|
14
|
+
logStreamId: LogStreamId;
|
|
15
15
|
logLevelCount: Map<LogLevel, number>;
|
|
16
16
|
logsPurged: boolean;
|
|
17
17
|
static parse(rawFlowRun: ApiRecord): FlowRun;
|
|
@@ -24,7 +24,7 @@ export class FlowRun extends MetaDataAware {
|
|
|
24
24
|
flowRun.priority = FlowRunPriority.fromString(rawFlowRun.priority);
|
|
25
25
|
flowRun.triggerId = rawFlowRun.trigger;
|
|
26
26
|
flowRun.deployId = rawFlowRun.deploy;
|
|
27
|
-
flowRun.logStreamId =
|
|
27
|
+
flowRun.logStreamId = new LogStreamId(rawFlowRun.log_stream);
|
|
28
28
|
flowRun.logLevelCount = rawFlowRun.log_level_count;
|
|
29
29
|
flowRun.logsPurged = Utils.isTrue(rawFlowRun.logs_purged);
|
|
30
30
|
return flowRun;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FlowRunStatus } from './FlowRunStatus.js';
|
|
2
1
|
import { Flow } from './Flow.js';
|
|
2
|
+
import { FlowRunStatus } from './FlowRunStatus.js';
|
|
3
3
|
export declare class FlowSummary extends Flow {
|
|
4
|
+
projectEnvironment: string;
|
|
4
5
|
status: FlowRunStatus;
|
|
5
6
|
latestRun: Date | null;
|
|
6
7
|
averageRunDuration: number | null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Utils } from '../../Utils.js';
|
|
2
|
-
import { FlowRunStatus } from './FlowRunStatus.js';
|
|
3
2
|
import { Flow } from './Flow.js';
|
|
3
|
+
import { FlowRunStatus } from './FlowRunStatus.js';
|
|
4
4
|
export class FlowSummary extends Flow {
|
|
5
|
+
projectEnvironment;
|
|
5
6
|
status = FlowRunStatus.Unknown;
|
|
6
7
|
latestRun = null;
|
|
7
8
|
averageRunDuration = null;
|
|
@@ -9,6 +10,7 @@ export class FlowSummary extends Flow {
|
|
|
9
10
|
runCount = 0;
|
|
10
11
|
static parse(rawFlowSummary) {
|
|
11
12
|
const flowSummary = Flow.parse(rawFlowSummary);
|
|
13
|
+
flowSummary.projectEnvironment = rawFlowSummary.project_environment;
|
|
12
14
|
flowSummary.status = FlowRunStatus.fromString(rawFlowSummary.status);
|
|
13
15
|
flowSummary.latestRun = rawFlowSummary.latest_run === null ? null : Utils.parseRawDate(rawFlowSummary.latest_run);
|
|
14
16
|
flowSummary.averageRunDuration = rawFlowSummary.average_run_duration;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.37.
|
|
1
|
+
export declare const VERSION = "1.37.9";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.37.
|
|
1
|
+
export const VERSION = "1.37.9";
|