spt-ui-lib 2.2.0 → 2.2.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.
- package/dist/lib/server-api.d.ts +21 -11
- package/dist/lib/shared/date.util.d.ts +1 -0
- package/dist/main.js +1080 -1045
- package/dist/main.umd.cjs +11 -11
- package/package.json +1 -1
- package/dist/lib/shared/view/trigger-summary.view.d.ts +0 -7
package/dist/lib/server-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface PagedModel<T> {
|
|
2
2
|
content: T[];
|
|
3
|
-
page
|
|
3
|
+
page?: PageMetadata;
|
|
4
4
|
}
|
|
5
5
|
export interface SchedulerEntity {
|
|
6
6
|
id: string;
|
|
@@ -11,6 +11,16 @@ export interface SchedulerEntity {
|
|
|
11
11
|
usedHeap: number;
|
|
12
12
|
lastPing: string;
|
|
13
13
|
}
|
|
14
|
+
export interface HistoryTrigger {
|
|
15
|
+
id: number;
|
|
16
|
+
instanceId: number;
|
|
17
|
+
key: TriggerKey;
|
|
18
|
+
createdTime: string;
|
|
19
|
+
start?: string;
|
|
20
|
+
executionCount: number;
|
|
21
|
+
status: TriggerStatus;
|
|
22
|
+
message?: string;
|
|
23
|
+
}
|
|
14
24
|
export interface TaskStatusHistoryOverview {
|
|
15
25
|
taskName: string;
|
|
16
26
|
status: TriggerStatus;
|
|
@@ -26,21 +36,21 @@ export interface Trigger {
|
|
|
26
36
|
id: number;
|
|
27
37
|
instanceId: number;
|
|
28
38
|
key: TriggerKey;
|
|
29
|
-
tag
|
|
30
|
-
correlationId
|
|
31
|
-
runningOn
|
|
39
|
+
tag?: string;
|
|
40
|
+
correlationId?: string;
|
|
41
|
+
runningOn?: string;
|
|
32
42
|
createdTime: string;
|
|
33
43
|
runAt: string;
|
|
34
|
-
lastPing
|
|
35
|
-
start
|
|
36
|
-
end
|
|
44
|
+
lastPing?: string;
|
|
45
|
+
start?: string;
|
|
46
|
+
end?: string;
|
|
37
47
|
executionCount: number;
|
|
38
48
|
priority: number;
|
|
39
49
|
status: TriggerStatus;
|
|
40
|
-
runningDurationInMs
|
|
41
|
-
state
|
|
42
|
-
exceptionName
|
|
43
|
-
lastException
|
|
50
|
+
runningDurationInMs?: number;
|
|
51
|
+
state?: any;
|
|
52
|
+
exceptionName?: string;
|
|
53
|
+
lastException?: string;
|
|
44
54
|
}
|
|
45
55
|
export interface TriggerGroup {
|
|
46
56
|
count: number;
|
|
@@ -2,3 +2,4 @@ export declare function formatShortDateTime(inputDate?: string | Date): string;
|
|
|
2
2
|
export declare function formatDateTime(inputDate?: string | Date): string;
|
|
3
3
|
export declare function formatMs(ms?: number): string;
|
|
4
4
|
export declare function runningSince(value?: string): string;
|
|
5
|
+
export declare function durationInSeconds(start?: string | Date, end?: string | Date): number | undefined;
|