@jumoo/processing 18.2.0 → 19.0.0-beta01
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/api/index.d.ts +2 -2
- package/dist/api/index.js +2 -2
- package/dist/api/sdk.gen.d.ts +4 -1
- package/dist/api/sdk.gen.js +19 -0
- package/dist/api/types.gen.d.ts +332 -1
- package/dist/api/types.gen.js +18 -0
- package/dist/lang/files/en.d.ts +26 -0
- package/dist/lang/files/en.js +26 -0
- package/dist/pipeline/components/background.element.js +1 -0
- package/dist/pipeline/components/pipeline-list.element.js +1 -0
- package/dist/pipeline/components/pipeline-table.element.js +23 -23
- package/dist/pipeline/index.d.ts +1 -0
- package/dist/pipeline/index.js +1 -0
- package/dist/pipeline/modal/errors/error-modal.element.js +3 -1
- package/dist/pipeline/pipeline-conflict.d.ts +31 -0
- package/dist/pipeline/pipeline-conflict.js +42 -0
- package/dist/pipeline/pipeline.context.d.ts +6 -1
- package/dist/pipeline/pipeline.context.js +94 -11
- package/dist/pipeline/pipeline.element.d.ts +11 -0
- package/dist/pipeline/pipeline.element.js +131 -1
- package/dist/pipeline/pipeline.repository.d.ts +41 -0
- package/dist/pipeline/pipeline.repository.js +22 -0
- package/dist/pipeline/pipeline.source.d.ts +24 -1
- package/dist/pipeline/pipeline.source.js +24 -5
- package/dist/signalr/signalr.context.d.ts +9 -0
- package/dist/signalr/signalr.context.js +7 -4
- package/package.json +59 -52
- package/dist/hey-api.d.ts +0 -11
- package/dist/hey-api.js +0 -14
package/dist/api/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { deleteProcessingDeleteQueueByKey, getProcessingGetPipelineById, getProcessingGetProcessors, getProcessingGetResultsById, getProcessingListPipelinesByStatus, getProcessingListPipelinesByStrategyByStrategyByStatus, getProcessingListQueue, getProcessingPeekItem, type Options, postProcessingClearPipelineById, postProcessingCreatePipeline, postProcessingProcessPipelineById, postProcessingProcessQueueByKey, postProcessingReattachPipelineById, postProcessingUpdatePipelineById } from './sdk.gen';
|
|
2
|
-
export { type ClientOptions, type DeleteProcessingDeleteQueueByKeyData, type DeleteProcessingDeleteQueueByKeyError, type DeleteProcessingDeleteQueueByKeyErrors, type DeleteProcessingDeleteQueueByKeyResponses, type GetProcessingGetPipelineByIdData, type GetProcessingGetPipelineByIdError, type GetProcessingGetPipelineByIdErrors, type GetProcessingGetPipelineByIdResponse, type GetProcessingGetPipelineByIdResponses, type GetProcessingGetProcessorsData, type GetProcessingGetProcessorsError, type GetProcessingGetProcessorsErrors, type GetProcessingGetProcessorsResponse, type GetProcessingGetProcessorsResponses, type GetProcessingGetResultsByIdData, type GetProcessingGetResultsByIdError, type GetProcessingGetResultsByIdErrors, type GetProcessingGetResultsByIdResponse, type GetProcessingGetResultsByIdResponses, type GetProcessingListPipelinesByStatusData, type GetProcessingListPipelinesByStatusError, type GetProcessingListPipelinesByStatusErrors, type GetProcessingListPipelinesByStatusResponse, type GetProcessingListPipelinesByStatusResponses, type GetProcessingListPipelinesByStrategyByStrategyByStatusData, type GetProcessingListPipelinesByStrategyByStrategyByStatusError, type GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, type GetProcessingListPipelinesByStrategyByStrategyByStatusResponse, type GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, type GetProcessingListQueueData, type GetProcessingListQueueError, type GetProcessingListQueueErrors, type GetProcessingListQueueResponse, type GetProcessingListQueueResponses, type GetProcessingPeekItemData, type GetProcessingPeekItemError, type GetProcessingPeekItemErrors, type GetProcessingPeekItemResponse, type GetProcessingPeekItemResponses, type PagedModelQueuedItemModel, type Pipeline, type PipelineBackgroundState, type PipelineCreateRequest, type PipelineState, PipelineStatus, type PostProcessingClearPipelineByIdData, type PostProcessingClearPipelineByIdError, type PostProcessingClearPipelineByIdErrors, type PostProcessingClearPipelineByIdResponses, type PostProcessingCreatePipelineData, type PostProcessingCreatePipelineError, type PostProcessingCreatePipelineErrors, type PostProcessingCreatePipelineResponse, type PostProcessingCreatePipelineResponses, type PostProcessingProcessPipelineByIdData, type PostProcessingProcessPipelineByIdError, type PostProcessingProcessPipelineByIdErrors, type PostProcessingProcessPipelineByIdResponse, type PostProcessingProcessPipelineByIdResponses, type PostProcessingProcessQueueByKeyData, type PostProcessingProcessQueueByKeyError, type PostProcessingProcessQueueByKeyErrors, type PostProcessingProcessQueueByKeyResponse, type PostProcessingProcessQueueByKeyResponses, type PostProcessingReattachPipelineByIdData, type PostProcessingReattachPipelineByIdError, type PostProcessingReattachPipelineByIdErrors, type PostProcessingReattachPipelineByIdResponse, type PostProcessingReattachPipelineByIdResponses, type PostProcessingUpdatePipelineByIdData, type PostProcessingUpdatePipelineByIdError, type PostProcessingUpdatePipelineByIdErrors, type PostProcessingUpdatePipelineByIdResponse, type PostProcessingUpdatePipelineByIdResponses, type ProblemDetails, type ProcessingErrorDetails, type ProcessingOptions, type ProcessingOptionsResults, type ProcessingRequest, type ProcessingRequestAction, type ProcessingResults, type ProgressInformation, type QueuedItem, type StepInfo, StepStatus } from './types.gen';
|
|
1
|
+
export { deleteProcessingDeleteQueueByKey, getProcessingGetPipelineById, getProcessingGetProcessors, getProcessingGetResultsById, getProcessingListPipelinesByStatus, getProcessingListPipelinesByStrategyByStrategyByStatus, getProcessingListQueue, getProcessingPeekItem, getProcessingPipelineStatusById, type Options, postProcessingCancelPipelineById, postProcessingClearPipelineById, postProcessingCreatePipeline, postProcessingProcessPipelineById, postProcessingProcessQueueByKey, postProcessingReattachPipelineById, postProcessingStartPipeline, postProcessingUpdatePipelineById } from './sdk.gen';
|
|
2
|
+
export { type ClientOptions, type DeleteProcessingDeleteQueueByKeyData, type DeleteProcessingDeleteQueueByKeyError, type DeleteProcessingDeleteQueueByKeyErrors, type DeleteProcessingDeleteQueueByKeyResponses, type GetProcessingGetPipelineByIdData, type GetProcessingGetPipelineByIdError, type GetProcessingGetPipelineByIdErrors, type GetProcessingGetPipelineByIdResponse, type GetProcessingGetPipelineByIdResponses, type GetProcessingGetProcessorsData, type GetProcessingGetProcessorsError, type GetProcessingGetProcessorsErrors, type GetProcessingGetProcessorsResponse, type GetProcessingGetProcessorsResponses, type GetProcessingGetResultsByIdData, type GetProcessingGetResultsByIdError, type GetProcessingGetResultsByIdErrors, type GetProcessingGetResultsByIdResponse, type GetProcessingGetResultsByIdResponses, type GetProcessingListPipelinesByStatusData, type GetProcessingListPipelinesByStatusError, type GetProcessingListPipelinesByStatusErrors, type GetProcessingListPipelinesByStatusResponse, type GetProcessingListPipelinesByStatusResponses, type GetProcessingListPipelinesByStrategyByStrategyByStatusData, type GetProcessingListPipelinesByStrategyByStrategyByStatusError, type GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, type GetProcessingListPipelinesByStrategyByStrategyByStatusResponse, type GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, type GetProcessingListQueueData, type GetProcessingListQueueError, type GetProcessingListQueueErrors, type GetProcessingListQueueResponse, type GetProcessingListQueueResponses, type GetProcessingPeekItemData, type GetProcessingPeekItemError, type GetProcessingPeekItemErrors, type GetProcessingPeekItemResponse, type GetProcessingPeekItemResponses, type GetProcessingPipelineStatusByIdData, type GetProcessingPipelineStatusByIdError, type GetProcessingPipelineStatusByIdErrors, type GetProcessingPipelineStatusByIdResponse, type GetProcessingPipelineStatusByIdResponses, type PagedModelQueuedItemModel, type Pipeline, type PipelineBackgroundState, type PipelineConflictProblemDetails, type PipelineCreateRequest, type PipelineRunError, type PipelineRunProgress, type PipelineRunRejected, PipelineRunRejectedReason, type PipelineRunRequest, type PipelineRunStarted, PipelineRunState, type PipelineRunStatus, type PipelineRunSummary, type PipelineState, PipelineStatus, type PostProcessingCancelPipelineByIdData, type PostProcessingCancelPipelineByIdError, type PostProcessingCancelPipelineByIdErrors, type PostProcessingCancelPipelineByIdResponses, type PostProcessingClearPipelineByIdData, type PostProcessingClearPipelineByIdError, type PostProcessingClearPipelineByIdErrors, type PostProcessingClearPipelineByIdResponses, type PostProcessingCreatePipelineData, type PostProcessingCreatePipelineError, type PostProcessingCreatePipelineErrors, type PostProcessingCreatePipelineResponse, type PostProcessingCreatePipelineResponses, type PostProcessingProcessPipelineByIdData, type PostProcessingProcessPipelineByIdError, type PostProcessingProcessPipelineByIdErrors, type PostProcessingProcessPipelineByIdResponse, type PostProcessingProcessPipelineByIdResponses, type PostProcessingProcessQueueByKeyData, type PostProcessingProcessQueueByKeyError, type PostProcessingProcessQueueByKeyErrors, type PostProcessingProcessQueueByKeyResponse, type PostProcessingProcessQueueByKeyResponses, type PostProcessingReattachPipelineByIdData, type PostProcessingReattachPipelineByIdError, type PostProcessingReattachPipelineByIdErrors, type PostProcessingReattachPipelineByIdResponse, type PostProcessingReattachPipelineByIdResponses, type PostProcessingStartPipelineData, type PostProcessingStartPipelineError, type PostProcessingStartPipelineErrors, type PostProcessingStartPipelineResponse, type PostProcessingStartPipelineResponses, type PostProcessingUpdatePipelineByIdData, type PostProcessingUpdatePipelineByIdError, type PostProcessingUpdatePipelineByIdErrors, type PostProcessingUpdatePipelineByIdResponse, type PostProcessingUpdatePipelineByIdResponses, type ProblemDetails, type ProcessingErrorDetails, type ProcessingOptions, type ProcessingOptionsResults, type ProcessingRequest, type ProcessingRequestAction, type ProcessingResults, type ProgressInformation, type QueuedItem, type SamplePipeline, type SamplePipelineOptions, type SamplePipelineState, type StepInfo, StepStatus } from './types.gen';
|
package/dist/api/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { deleteProcessingDeleteQueueByKey, getProcessingGetPipelineById, getProcessingGetProcessors, getProcessingGetResultsById, getProcessingListPipelinesByStatus, getProcessingListPipelinesByStrategyByStrategyByStatus, getProcessingListQueue, getProcessingPeekItem, postProcessingClearPipelineById, postProcessingCreatePipeline, postProcessingProcessPipelineById, postProcessingProcessQueueByKey, postProcessingReattachPipelineById, postProcessingUpdatePipelineById } from './sdk.gen';
|
|
3
|
-
export { PipelineStatus, StepStatus } from './types.gen';
|
|
2
|
+
export { deleteProcessingDeleteQueueByKey, getProcessingGetPipelineById, getProcessingGetProcessors, getProcessingGetResultsById, getProcessingListPipelinesByStatus, getProcessingListPipelinesByStrategyByStrategyByStatus, getProcessingListQueue, getProcessingPeekItem, getProcessingPipelineStatusById, postProcessingCancelPipelineById, postProcessingClearPipelineById, postProcessingCreatePipeline, postProcessingProcessPipelineById, postProcessingProcessQueueByKey, postProcessingReattachPipelineById, postProcessingStartPipeline, postProcessingUpdatePipelineById } from './sdk.gen';
|
|
3
|
+
export { PipelineRunRejectedReason, PipelineRunState, PipelineStatus, StepStatus } from './types.gen';
|
package/dist/api/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import type { DeleteProcessingDeleteQueueByKeyData, DeleteProcessingDeleteQueueByKeyErrors, DeleteProcessingDeleteQueueByKeyResponses, GetProcessingGetPipelineByIdData, GetProcessingGetPipelineByIdErrors, GetProcessingGetPipelineByIdResponses, GetProcessingGetProcessorsData, GetProcessingGetProcessorsErrors, GetProcessingGetProcessorsResponses, GetProcessingGetResultsByIdData, GetProcessingGetResultsByIdErrors, GetProcessingGetResultsByIdResponses, GetProcessingListPipelinesByStatusData, GetProcessingListPipelinesByStatusErrors, GetProcessingListPipelinesByStatusResponses, GetProcessingListPipelinesByStrategyByStrategyByStatusData, GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, GetProcessingListQueueData, GetProcessingListQueueErrors, GetProcessingListQueueResponses, GetProcessingPeekItemData, GetProcessingPeekItemErrors, GetProcessingPeekItemResponses, PostProcessingClearPipelineByIdData, PostProcessingClearPipelineByIdErrors, PostProcessingClearPipelineByIdResponses, PostProcessingCreatePipelineData, PostProcessingCreatePipelineErrors, PostProcessingCreatePipelineResponses, PostProcessingProcessPipelineByIdData, PostProcessingProcessPipelineByIdErrors, PostProcessingProcessPipelineByIdResponses, PostProcessingProcessQueueByKeyData, PostProcessingProcessQueueByKeyErrors, PostProcessingProcessQueueByKeyResponses, PostProcessingReattachPipelineByIdData, PostProcessingReattachPipelineByIdErrors, PostProcessingReattachPipelineByIdResponses, PostProcessingUpdatePipelineByIdData, PostProcessingUpdatePipelineByIdErrors, PostProcessingUpdatePipelineByIdResponses } from './types.gen';
|
|
2
|
+
import type { DeleteProcessingDeleteQueueByKeyData, DeleteProcessingDeleteQueueByKeyErrors, DeleteProcessingDeleteQueueByKeyResponses, GetProcessingGetPipelineByIdData, GetProcessingGetPipelineByIdErrors, GetProcessingGetPipelineByIdResponses, GetProcessingGetProcessorsData, GetProcessingGetProcessorsErrors, GetProcessingGetProcessorsResponses, GetProcessingGetResultsByIdData, GetProcessingGetResultsByIdErrors, GetProcessingGetResultsByIdResponses, GetProcessingListPipelinesByStatusData, GetProcessingListPipelinesByStatusErrors, GetProcessingListPipelinesByStatusResponses, GetProcessingListPipelinesByStrategyByStrategyByStatusData, GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, GetProcessingListQueueData, GetProcessingListQueueErrors, GetProcessingListQueueResponses, GetProcessingPeekItemData, GetProcessingPeekItemErrors, GetProcessingPeekItemResponses, GetProcessingPipelineStatusByIdData, GetProcessingPipelineStatusByIdErrors, GetProcessingPipelineStatusByIdResponses, PostProcessingCancelPipelineByIdData, PostProcessingCancelPipelineByIdErrors, PostProcessingCancelPipelineByIdResponses, PostProcessingClearPipelineByIdData, PostProcessingClearPipelineByIdErrors, PostProcessingClearPipelineByIdResponses, PostProcessingCreatePipelineData, PostProcessingCreatePipelineErrors, PostProcessingCreatePipelineResponses, PostProcessingProcessPipelineByIdData, PostProcessingProcessPipelineByIdErrors, PostProcessingProcessPipelineByIdResponses, PostProcessingProcessQueueByKeyData, PostProcessingProcessQueueByKeyErrors, PostProcessingProcessQueueByKeyResponses, PostProcessingReattachPipelineByIdData, PostProcessingReattachPipelineByIdErrors, PostProcessingReattachPipelineByIdResponses, PostProcessingStartPipelineData, PostProcessingStartPipelineErrors, PostProcessingStartPipelineResponses, PostProcessingUpdatePipelineByIdData, PostProcessingUpdatePipelineByIdErrors, PostProcessingUpdatePipelineByIdResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -13,6 +13,7 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
13
13
|
*/
|
|
14
14
|
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
|
+
export declare const postProcessingCancelPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingCancelPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingCancelPipelineByIdResponses, PostProcessingCancelPipelineByIdErrors, ThrowOnError>;
|
|
16
17
|
export declare const postProcessingClearPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingClearPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingClearPipelineByIdResponses, PostProcessingClearPipelineByIdErrors, ThrowOnError>;
|
|
17
18
|
export declare const postProcessingCreatePipeline: <ThrowOnError extends boolean = false>(options: Options<PostProcessingCreatePipelineData, ThrowOnError>) => RequestResult<PostProcessingCreatePipelineResponses, PostProcessingCreatePipelineErrors, ThrowOnError>;
|
|
18
19
|
export declare const getProcessingGetPipelineById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingGetPipelineByIdData, ThrowOnError>) => RequestResult<GetProcessingGetPipelineByIdResponses, GetProcessingGetPipelineByIdErrors, ThrowOnError>;
|
|
@@ -20,8 +21,10 @@ export declare const getProcessingGetProcessors: <ThrowOnError extends boolean =
|
|
|
20
21
|
export declare const getProcessingGetResultsById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingGetResultsByIdData, ThrowOnError>) => RequestResult<GetProcessingGetResultsByIdResponses, GetProcessingGetResultsByIdErrors, ThrowOnError>;
|
|
21
22
|
export declare const getProcessingListPipelinesByStatus: <ThrowOnError extends boolean = false>(options: Options<GetProcessingListPipelinesByStatusData, ThrowOnError>) => RequestResult<GetProcessingListPipelinesByStatusResponses, GetProcessingListPipelinesByStatusErrors, ThrowOnError>;
|
|
22
23
|
export declare const getProcessingListPipelinesByStrategyByStrategyByStatus: <ThrowOnError extends boolean = false>(options: Options<GetProcessingListPipelinesByStrategyByStrategyByStatusData, ThrowOnError>) => RequestResult<GetProcessingListPipelinesByStrategyByStrategyByStatusResponses, GetProcessingListPipelinesByStrategyByStrategyByStatusErrors, ThrowOnError>;
|
|
24
|
+
export declare const getProcessingPipelineStatusById: <ThrowOnError extends boolean = false>(options: Options<GetProcessingPipelineStatusByIdData, ThrowOnError>) => RequestResult<GetProcessingPipelineStatusByIdResponses, GetProcessingPipelineStatusByIdErrors, ThrowOnError>;
|
|
23
25
|
export declare const postProcessingProcessPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingProcessPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingProcessPipelineByIdResponses, PostProcessingProcessPipelineByIdErrors, ThrowOnError>;
|
|
24
26
|
export declare const postProcessingReattachPipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingReattachPipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingReattachPipelineByIdResponses, PostProcessingReattachPipelineByIdErrors, ThrowOnError>;
|
|
27
|
+
export declare const postProcessingStartPipeline: <ThrowOnError extends boolean = false>(options: Options<PostProcessingStartPipelineData, ThrowOnError>) => RequestResult<PostProcessingStartPipelineResponses, PostProcessingStartPipelineErrors, ThrowOnError>;
|
|
25
28
|
export declare const postProcessingUpdatePipelineById: <ThrowOnError extends boolean = false>(options: Options<PostProcessingUpdatePipelineByIdData, ThrowOnError>) => RequestResult<PostProcessingUpdatePipelineByIdResponses, PostProcessingUpdatePipelineByIdErrors, ThrowOnError>;
|
|
26
29
|
export declare const deleteProcessingDeleteQueueByKey: <ThrowOnError extends boolean = false>(options: Options<DeleteProcessingDeleteQueueByKeyData, ThrowOnError>) => RequestResult<DeleteProcessingDeleteQueueByKeyResponses, DeleteProcessingDeleteQueueByKeyErrors, ThrowOnError>;
|
|
27
30
|
export declare const getProcessingListQueue: <ThrowOnError extends boolean = false>(options?: Options<GetProcessingListQueueData, ThrowOnError>) => RequestResult<GetProcessingListQueueResponses, GetProcessingListQueueErrors, ThrowOnError>;
|
package/dist/api/sdk.gen.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { client } from './client.gen';
|
|
3
|
+
export const postProcessingCancelPipelineById = (options) => (options.client ?? client).post({
|
|
4
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
5
|
+
url: '/umbraco/jumoo/api/v1/processing/CancelPipeline/{id}',
|
|
6
|
+
...options
|
|
7
|
+
});
|
|
3
8
|
export const postProcessingClearPipelineById = (options) => (options.client ?? client).post({
|
|
4
9
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
5
10
|
url: '/umbraco/jumoo/api/v1/processing/ClearPipeline/{id}',
|
|
@@ -39,6 +44,11 @@ export const getProcessingListPipelinesByStrategyByStrategyByStatus = (options)
|
|
|
39
44
|
url: '/umbraco/jumoo/api/v1/processing/ListPipelinesByStrategy/{strategy}/{status}',
|
|
40
45
|
...options
|
|
41
46
|
});
|
|
47
|
+
export const getProcessingPipelineStatusById = (options) => (options.client ?? client).get({
|
|
48
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
49
|
+
url: '/umbraco/jumoo/api/v1/processing/PipelineStatus/{id}',
|
|
50
|
+
...options
|
|
51
|
+
});
|
|
42
52
|
export const postProcessingProcessPipelineById = (options) => (options.client ?? client).post({
|
|
43
53
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
44
54
|
url: '/umbraco/jumoo/api/v1/processing/ProcessPipeline/{id}',
|
|
@@ -49,6 +59,15 @@ export const postProcessingReattachPipelineById = (options) => (options.client ?
|
|
|
49
59
|
url: '/umbraco/jumoo/api/v1/processing/ReattachPipeline/{id}',
|
|
50
60
|
...options
|
|
51
61
|
});
|
|
62
|
+
export const postProcessingStartPipeline = (options) => (options.client ?? client).post({
|
|
63
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
64
|
+
url: '/umbraco/jumoo/api/v1/processing/StartPipeline',
|
|
65
|
+
...options,
|
|
66
|
+
headers: {
|
|
67
|
+
'Content-Type': 'application/json',
|
|
68
|
+
...options.headers
|
|
69
|
+
}
|
|
70
|
+
});
|
|
52
71
|
export const postProcessingUpdatePipelineById = (options) => (options.client ?? client).post({
|
|
53
72
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
54
73
|
url: '/umbraco/jumoo/api/v1/processing/UpdatePipeline/{id}',
|
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -20,12 +20,85 @@ export type PipelineBackgroundState = {
|
|
|
20
20
|
failedElement?: null | string;
|
|
21
21
|
clientId?: null | string;
|
|
22
22
|
};
|
|
23
|
+
export type PipelineConflictProblemDetails = {
|
|
24
|
+
type?: null | string;
|
|
25
|
+
title?: null | string;
|
|
26
|
+
status?: null | number;
|
|
27
|
+
detail?: null | string;
|
|
28
|
+
instance?: null | string;
|
|
29
|
+
runningPipelineId: string;
|
|
30
|
+
concurrencyKey: string;
|
|
31
|
+
};
|
|
23
32
|
export type PipelineCreateRequest = {
|
|
24
33
|
alias: string;
|
|
25
34
|
strategy: string;
|
|
26
35
|
options?: null | ProcessingOptions;
|
|
27
36
|
clientId?: null | string;
|
|
28
37
|
};
|
|
38
|
+
export type PipelineRunError = {
|
|
39
|
+
message: string;
|
|
40
|
+
action?: null | string;
|
|
41
|
+
step?: null | string;
|
|
42
|
+
};
|
|
43
|
+
export type PipelineRunProgress = {
|
|
44
|
+
percentage: number;
|
|
45
|
+
action?: null | string;
|
|
46
|
+
step?: null | string;
|
|
47
|
+
page: number;
|
|
48
|
+
};
|
|
49
|
+
export type PipelineRunRejected = {
|
|
50
|
+
reason: PipelineRunRejectedReason;
|
|
51
|
+
message: string;
|
|
52
|
+
runningPipelineId?: null | string;
|
|
53
|
+
concurrencyKey?: null | string;
|
|
54
|
+
};
|
|
55
|
+
export declare enum PipelineRunRejectedReason {
|
|
56
|
+
NOT_FOUND = "NotFound",
|
|
57
|
+
ALREADY_RUNNING = "AlreadyRunning",
|
|
58
|
+
INVALID = "Invalid",
|
|
59
|
+
NOT_WAITING = "NotWaiting"
|
|
60
|
+
}
|
|
61
|
+
export type PipelineRunRequest = {
|
|
62
|
+
processor: string;
|
|
63
|
+
strategy: string;
|
|
64
|
+
options?: null | ProcessingOptions;
|
|
65
|
+
startAtUtc?: null | string;
|
|
66
|
+
clientId?: null | string;
|
|
67
|
+
};
|
|
68
|
+
export type PipelineRunStarted = {
|
|
69
|
+
pipelineId: string;
|
|
70
|
+
status: PipelineRunState;
|
|
71
|
+
statusUrl: string;
|
|
72
|
+
};
|
|
73
|
+
export declare enum PipelineRunState {
|
|
74
|
+
QUEUED = "Queued",
|
|
75
|
+
RUNNING = "Running",
|
|
76
|
+
SCHEDULED = "Scheduled",
|
|
77
|
+
WAITING = "Waiting",
|
|
78
|
+
COMPLETED = "Completed",
|
|
79
|
+
FAILED = "Failed",
|
|
80
|
+
CANCELLED = "Cancelled"
|
|
81
|
+
}
|
|
82
|
+
export type PipelineRunStatus = {
|
|
83
|
+
pipelineId: string;
|
|
84
|
+
processor: string;
|
|
85
|
+
strategy: string;
|
|
86
|
+
status: PipelineRunState;
|
|
87
|
+
complete: boolean;
|
|
88
|
+
succeeded: boolean;
|
|
89
|
+
cancelRequested: boolean;
|
|
90
|
+
progress: PipelineRunProgress;
|
|
91
|
+
startedBy?: null | string;
|
|
92
|
+
startedByName?: null | string;
|
|
93
|
+
created?: null | string;
|
|
94
|
+
modified?: null | string;
|
|
95
|
+
scheduledFor?: null | string;
|
|
96
|
+
error?: null | PipelineRunError;
|
|
97
|
+
summary?: null | PipelineRunSummary;
|
|
98
|
+
};
|
|
99
|
+
export type PipelineRunSummary = {
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
};
|
|
29
102
|
export type PipelineState = {
|
|
30
103
|
childPipeline?: null | string;
|
|
31
104
|
elementName?: null | string;
|
|
@@ -35,6 +108,11 @@ export type PipelineState = {
|
|
|
35
108
|
schedule?: null | string;
|
|
36
109
|
backgroundState?: PipelineBackgroundState;
|
|
37
110
|
isChildPipeline: boolean;
|
|
111
|
+
cancelRequested: boolean;
|
|
112
|
+
concurrencyKey?: null | string;
|
|
113
|
+
userKey?: null | string;
|
|
114
|
+
created?: null | string;
|
|
115
|
+
modified?: null | string;
|
|
38
116
|
};
|
|
39
117
|
export declare enum PipelineStatus {
|
|
40
118
|
NOT_STARTED = "NotStarted",
|
|
@@ -43,7 +121,8 @@ export declare enum PipelineStatus {
|
|
|
43
121
|
WAITING = "Waiting",
|
|
44
122
|
SCHEDULED = "Scheduled",
|
|
45
123
|
COMPLETED = "Completed",
|
|
46
|
-
FAILED = "Failed"
|
|
124
|
+
FAILED = "Failed",
|
|
125
|
+
CANCELLED = "Cancelled"
|
|
47
126
|
}
|
|
48
127
|
export type ProblemDetails = {
|
|
49
128
|
type?: null | string;
|
|
@@ -123,6 +202,143 @@ export type QueuedItem = {
|
|
|
123
202
|
note?: null | string;
|
|
124
203
|
claimedBy?: null | string;
|
|
125
204
|
claimedUntil?: null | string;
|
|
205
|
+
ownerNode?: null | string;
|
|
206
|
+
ownerHeartbeat?: null | string;
|
|
207
|
+
};
|
|
208
|
+
export type SamplePipeline = {
|
|
209
|
+
sampleCounter: number;
|
|
210
|
+
requires: Array<string>;
|
|
211
|
+
id: string;
|
|
212
|
+
alias: string;
|
|
213
|
+
strategy: string;
|
|
214
|
+
state: {
|
|
215
|
+
childPipeline?: null | string;
|
|
216
|
+
elementName?: null | string;
|
|
217
|
+
status: 'NotStarted' | 'Running' | 'Background' | 'Waiting' | 'Scheduled' | 'Completed' | 'Failed' | 'Cancelled';
|
|
218
|
+
progress: {
|
|
219
|
+
isLastAction: boolean;
|
|
220
|
+
steps: Array<{
|
|
221
|
+
icon: string;
|
|
222
|
+
name: string;
|
|
223
|
+
status: 'None' | 'Running' | 'Complete' | 'Error';
|
|
224
|
+
}>;
|
|
225
|
+
progress: number;
|
|
226
|
+
};
|
|
227
|
+
currentRequest?: {
|
|
228
|
+
id: string;
|
|
229
|
+
clientId?: null | string;
|
|
230
|
+
isBackgroundRequest: boolean;
|
|
231
|
+
strategy: string;
|
|
232
|
+
action?: {
|
|
233
|
+
alias: string;
|
|
234
|
+
stepAlias?: null | string;
|
|
235
|
+
page: number;
|
|
236
|
+
pageSize: number;
|
|
237
|
+
subStep?: null | string;
|
|
238
|
+
element?: null | string;
|
|
239
|
+
waitOnAction: boolean;
|
|
240
|
+
};
|
|
241
|
+
user?: null | string;
|
|
242
|
+
title?: null | string;
|
|
243
|
+
source?: null | string;
|
|
244
|
+
options: {
|
|
245
|
+
[key: string]: unknown;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
schedule?: null | string;
|
|
249
|
+
backgroundState?: {
|
|
250
|
+
isBackgroundRequest: boolean;
|
|
251
|
+
backgroundElement?: null | string;
|
|
252
|
+
completedElement?: null | string;
|
|
253
|
+
failedElement?: null | string;
|
|
254
|
+
clientId?: null | string;
|
|
255
|
+
};
|
|
256
|
+
isChildPipeline: boolean;
|
|
257
|
+
cancelRequested: boolean;
|
|
258
|
+
concurrencyKey?: null | string;
|
|
259
|
+
userKey?: null | string;
|
|
260
|
+
created?: null | string;
|
|
261
|
+
modified?: null | string;
|
|
262
|
+
};
|
|
263
|
+
options: {
|
|
264
|
+
extensions: {
|
|
265
|
+
[key: string]: unknown;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
results?: {
|
|
269
|
+
results: {
|
|
270
|
+
[key: string]: unknown;
|
|
271
|
+
};
|
|
272
|
+
error?: {
|
|
273
|
+
source: string;
|
|
274
|
+
strategy: string;
|
|
275
|
+
message: string;
|
|
276
|
+
action: string;
|
|
277
|
+
step?: null | string;
|
|
278
|
+
page: number;
|
|
279
|
+
subStep?: null | string;
|
|
280
|
+
key: string;
|
|
281
|
+
className?: null | string;
|
|
282
|
+
methodName?: null | string;
|
|
283
|
+
stackTrace?: null | string;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
export type SamplePipelineOptions = {
|
|
288
|
+
sampleOptionCounter: number;
|
|
289
|
+
something?: null | string;
|
|
290
|
+
};
|
|
291
|
+
export type SamplePipelineState = {
|
|
292
|
+
results: {
|
|
293
|
+
[key: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
status: 'NotStarted' | 'Running' | 'Background' | 'Waiting' | 'Scheduled' | 'Completed' | 'Failed' | 'Cancelled';
|
|
296
|
+
childPipeline?: null | string;
|
|
297
|
+
elementName?: null | string;
|
|
298
|
+
currentRequest?: {
|
|
299
|
+
id: string;
|
|
300
|
+
clientId?: null | string;
|
|
301
|
+
isBackgroundRequest: boolean;
|
|
302
|
+
strategy: string;
|
|
303
|
+
action?: {
|
|
304
|
+
alias: string;
|
|
305
|
+
stepAlias?: null | string;
|
|
306
|
+
page: number;
|
|
307
|
+
pageSize: number;
|
|
308
|
+
subStep?: null | string;
|
|
309
|
+
element?: null | string;
|
|
310
|
+
waitOnAction: boolean;
|
|
311
|
+
};
|
|
312
|
+
user?: null | string;
|
|
313
|
+
title?: null | string;
|
|
314
|
+
source?: null | string;
|
|
315
|
+
options: {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
progress: {
|
|
320
|
+
isLastAction: boolean;
|
|
321
|
+
steps: Array<{
|
|
322
|
+
icon: string;
|
|
323
|
+
name: string;
|
|
324
|
+
status: 'None' | 'Running' | 'Complete' | 'Error';
|
|
325
|
+
}>;
|
|
326
|
+
progress: number;
|
|
327
|
+
};
|
|
328
|
+
schedule?: null | string;
|
|
329
|
+
backgroundState?: {
|
|
330
|
+
isBackgroundRequest: boolean;
|
|
331
|
+
backgroundElement?: null | string;
|
|
332
|
+
completedElement?: null | string;
|
|
333
|
+
failedElement?: null | string;
|
|
334
|
+
clientId?: null | string;
|
|
335
|
+
};
|
|
336
|
+
isChildPipeline: boolean;
|
|
337
|
+
cancelRequested: boolean;
|
|
338
|
+
concurrencyKey?: null | string;
|
|
339
|
+
userKey?: null | string;
|
|
340
|
+
created?: null | string;
|
|
341
|
+
modified?: null | string;
|
|
126
342
|
};
|
|
127
343
|
export type StepInfo = {
|
|
128
344
|
icon: string;
|
|
@@ -135,6 +351,43 @@ export declare enum StepStatus {
|
|
|
135
351
|
COMPLETE = "Complete",
|
|
136
352
|
ERROR = "Error"
|
|
137
353
|
}
|
|
354
|
+
export type PostProcessingCancelPipelineByIdData = {
|
|
355
|
+
body?: never;
|
|
356
|
+
path: {
|
|
357
|
+
id: string;
|
|
358
|
+
};
|
|
359
|
+
query?: never;
|
|
360
|
+
url: '/umbraco/jumoo/api/v1/processing/CancelPipeline/{id}';
|
|
361
|
+
};
|
|
362
|
+
export type PostProcessingCancelPipelineByIdErrors = {
|
|
363
|
+
/**
|
|
364
|
+
* Bad Request
|
|
365
|
+
*/
|
|
366
|
+
400: ProblemDetails;
|
|
367
|
+
/**
|
|
368
|
+
* The resource is protected and requires an authentication token
|
|
369
|
+
*/
|
|
370
|
+
401: unknown;
|
|
371
|
+
/**
|
|
372
|
+
* Forbidden
|
|
373
|
+
*/
|
|
374
|
+
403: ProblemDetails;
|
|
375
|
+
/**
|
|
376
|
+
* Not Found
|
|
377
|
+
*/
|
|
378
|
+
404: unknown;
|
|
379
|
+
/**
|
|
380
|
+
* Conflict
|
|
381
|
+
*/
|
|
382
|
+
409: ProblemDetails;
|
|
383
|
+
};
|
|
384
|
+
export type PostProcessingCancelPipelineByIdError = PostProcessingCancelPipelineByIdErrors[keyof PostProcessingCancelPipelineByIdErrors];
|
|
385
|
+
export type PostProcessingCancelPipelineByIdResponses = {
|
|
386
|
+
/**
|
|
387
|
+
* Accepted
|
|
388
|
+
*/
|
|
389
|
+
202: unknown;
|
|
390
|
+
};
|
|
138
391
|
export type PostProcessingClearPipelineByIdData = {
|
|
139
392
|
body?: never;
|
|
140
393
|
path: {
|
|
@@ -179,6 +432,10 @@ export type PostProcessingCreatePipelineErrors = {
|
|
|
179
432
|
* Not Found
|
|
180
433
|
*/
|
|
181
434
|
404: unknown;
|
|
435
|
+
/**
|
|
436
|
+
* Conflict
|
|
437
|
+
*/
|
|
438
|
+
409: PipelineConflictProblemDetails;
|
|
182
439
|
};
|
|
183
440
|
export type PostProcessingCreatePipelineError = PostProcessingCreatePipelineErrors[keyof PostProcessingCreatePipelineErrors];
|
|
184
441
|
export type PostProcessingCreatePipelineResponses = {
|
|
@@ -329,6 +586,40 @@ export type GetProcessingListPipelinesByStrategyByStrategyByStatusResponses = {
|
|
|
329
586
|
200: Array<Pipeline>;
|
|
330
587
|
};
|
|
331
588
|
export type GetProcessingListPipelinesByStrategyByStrategyByStatusResponse = GetProcessingListPipelinesByStrategyByStrategyByStatusResponses[keyof GetProcessingListPipelinesByStrategyByStrategyByStatusResponses];
|
|
589
|
+
export type GetProcessingPipelineStatusByIdData = {
|
|
590
|
+
body?: never;
|
|
591
|
+
path: {
|
|
592
|
+
id: string;
|
|
593
|
+
};
|
|
594
|
+
query?: never;
|
|
595
|
+
url: '/umbraco/jumoo/api/v1/processing/PipelineStatus/{id}';
|
|
596
|
+
};
|
|
597
|
+
export type GetProcessingPipelineStatusByIdErrors = {
|
|
598
|
+
/**
|
|
599
|
+
* Bad Request
|
|
600
|
+
*/
|
|
601
|
+
400: ProblemDetails;
|
|
602
|
+
/**
|
|
603
|
+
* The resource is protected and requires an authentication token
|
|
604
|
+
*/
|
|
605
|
+
401: unknown;
|
|
606
|
+
/**
|
|
607
|
+
* Forbidden
|
|
608
|
+
*/
|
|
609
|
+
403: ProblemDetails;
|
|
610
|
+
/**
|
|
611
|
+
* Not Found
|
|
612
|
+
*/
|
|
613
|
+
404: unknown;
|
|
614
|
+
};
|
|
615
|
+
export type GetProcessingPipelineStatusByIdError = GetProcessingPipelineStatusByIdErrors[keyof GetProcessingPipelineStatusByIdErrors];
|
|
616
|
+
export type GetProcessingPipelineStatusByIdResponses = {
|
|
617
|
+
/**
|
|
618
|
+
* OK
|
|
619
|
+
*/
|
|
620
|
+
200: PipelineRunStatus;
|
|
621
|
+
};
|
|
622
|
+
export type GetProcessingPipelineStatusByIdResponse = GetProcessingPipelineStatusByIdResponses[keyof GetProcessingPipelineStatusByIdResponses];
|
|
332
623
|
export type PostProcessingProcessPipelineByIdData = {
|
|
333
624
|
body?: never;
|
|
334
625
|
path: {
|
|
@@ -348,6 +639,10 @@ export type PostProcessingProcessPipelineByIdErrors = {
|
|
|
348
639
|
* The resource is protected and requires an authentication token
|
|
349
640
|
*/
|
|
350
641
|
401: unknown;
|
|
642
|
+
/**
|
|
643
|
+
* Conflict
|
|
644
|
+
*/
|
|
645
|
+
409: PipelineConflictProblemDetails;
|
|
351
646
|
};
|
|
352
647
|
export type PostProcessingProcessPipelineByIdError = PostProcessingProcessPipelineByIdErrors[keyof PostProcessingProcessPipelineByIdErrors];
|
|
353
648
|
export type PostProcessingProcessPipelineByIdResponses = {
|
|
@@ -389,6 +684,38 @@ export type PostProcessingReattachPipelineByIdResponses = {
|
|
|
389
684
|
200: Pipeline;
|
|
390
685
|
};
|
|
391
686
|
export type PostProcessingReattachPipelineByIdResponse = PostProcessingReattachPipelineByIdResponses[keyof PostProcessingReattachPipelineByIdResponses];
|
|
687
|
+
export type PostProcessingStartPipelineData = {
|
|
688
|
+
body: PipelineRunRequest;
|
|
689
|
+
path?: never;
|
|
690
|
+
query?: never;
|
|
691
|
+
url: '/umbraco/jumoo/api/v1/processing/StartPipeline';
|
|
692
|
+
};
|
|
693
|
+
export type PostProcessingStartPipelineErrors = {
|
|
694
|
+
/**
|
|
695
|
+
* Bad Request
|
|
696
|
+
*/
|
|
697
|
+
400: ProblemDetails;
|
|
698
|
+
/**
|
|
699
|
+
* The resource is protected and requires an authentication token
|
|
700
|
+
*/
|
|
701
|
+
401: unknown;
|
|
702
|
+
/**
|
|
703
|
+
* Not Found
|
|
704
|
+
*/
|
|
705
|
+
404: PipelineRunRejected;
|
|
706
|
+
/**
|
|
707
|
+
* Conflict
|
|
708
|
+
*/
|
|
709
|
+
409: PipelineRunRejected;
|
|
710
|
+
};
|
|
711
|
+
export type PostProcessingStartPipelineError = PostProcessingStartPipelineErrors[keyof PostProcessingStartPipelineErrors];
|
|
712
|
+
export type PostProcessingStartPipelineResponses = {
|
|
713
|
+
/**
|
|
714
|
+
* Accepted
|
|
715
|
+
*/
|
|
716
|
+
202: PipelineRunStarted;
|
|
717
|
+
};
|
|
718
|
+
export type PostProcessingStartPipelineResponse = PostProcessingStartPipelineResponses[keyof PostProcessingStartPipelineResponses];
|
|
392
719
|
export type PostProcessingUpdatePipelineByIdData = {
|
|
393
720
|
body: ProcessingOptions;
|
|
394
721
|
path: {
|
|
@@ -406,6 +733,10 @@ export type PostProcessingUpdatePipelineByIdErrors = {
|
|
|
406
733
|
* The resource is protected and requires an authentication token
|
|
407
734
|
*/
|
|
408
735
|
401: unknown;
|
|
736
|
+
/**
|
|
737
|
+
* Conflict
|
|
738
|
+
*/
|
|
739
|
+
409: PipelineConflictProblemDetails;
|
|
409
740
|
};
|
|
410
741
|
export type PostProcessingUpdatePipelineByIdError = PostProcessingUpdatePipelineByIdErrors[keyof PostProcessingUpdatePipelineByIdErrors];
|
|
411
742
|
export type PostProcessingUpdatePipelineByIdResponses = {
|
package/dist/api/types.gen.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export var PipelineRunRejectedReason;
|
|
3
|
+
(function (PipelineRunRejectedReason) {
|
|
4
|
+
PipelineRunRejectedReason["NOT_FOUND"] = "NotFound";
|
|
5
|
+
PipelineRunRejectedReason["ALREADY_RUNNING"] = "AlreadyRunning";
|
|
6
|
+
PipelineRunRejectedReason["INVALID"] = "Invalid";
|
|
7
|
+
PipelineRunRejectedReason["NOT_WAITING"] = "NotWaiting";
|
|
8
|
+
})(PipelineRunRejectedReason || (PipelineRunRejectedReason = {}));
|
|
9
|
+
export var PipelineRunState;
|
|
10
|
+
(function (PipelineRunState) {
|
|
11
|
+
PipelineRunState["QUEUED"] = "Queued";
|
|
12
|
+
PipelineRunState["RUNNING"] = "Running";
|
|
13
|
+
PipelineRunState["SCHEDULED"] = "Scheduled";
|
|
14
|
+
PipelineRunState["WAITING"] = "Waiting";
|
|
15
|
+
PipelineRunState["COMPLETED"] = "Completed";
|
|
16
|
+
PipelineRunState["FAILED"] = "Failed";
|
|
17
|
+
PipelineRunState["CANCELLED"] = "Cancelled";
|
|
18
|
+
})(PipelineRunState || (PipelineRunState = {}));
|
|
2
19
|
export var PipelineStatus;
|
|
3
20
|
(function (PipelineStatus) {
|
|
4
21
|
PipelineStatus["NOT_STARTED"] = "NotStarted";
|
|
@@ -8,6 +25,7 @@ export var PipelineStatus;
|
|
|
8
25
|
PipelineStatus["SCHEDULED"] = "Scheduled";
|
|
9
26
|
PipelineStatus["COMPLETED"] = "Completed";
|
|
10
27
|
PipelineStatus["FAILED"] = "Failed";
|
|
28
|
+
PipelineStatus["CANCELLED"] = "Cancelled";
|
|
11
29
|
})(PipelineStatus || (PipelineStatus = {}));
|
|
12
30
|
export var StepStatus;
|
|
13
31
|
(function (StepStatus) {
|
package/dist/lang/files/en.d.ts
CHANGED
|
@@ -13,6 +13,32 @@ declare const _default: {
|
|
|
13
13
|
method: string;
|
|
14
14
|
stack: string;
|
|
15
15
|
};
|
|
16
|
+
jumooProcConflict: {
|
|
17
|
+
headline: string;
|
|
18
|
+
message: string;
|
|
19
|
+
headlineRunning: string;
|
|
20
|
+
messageRunning: string;
|
|
21
|
+
headlineQueued: string;
|
|
22
|
+
messageQueued: string;
|
|
23
|
+
headlineWaiting: string;
|
|
24
|
+
messageWaiting: string;
|
|
25
|
+
headlineScheduled: string;
|
|
26
|
+
messageScheduled: string;
|
|
27
|
+
status: string;
|
|
28
|
+
startedBy: string;
|
|
29
|
+
queued: string;
|
|
30
|
+
lastActivity: string;
|
|
31
|
+
waitingSince: string;
|
|
32
|
+
scheduledFor: string;
|
|
33
|
+
progress: string;
|
|
34
|
+
stateQueued: string;
|
|
35
|
+
stateRunning: string;
|
|
36
|
+
stateScheduled: string;
|
|
37
|
+
stateWaiting: string;
|
|
38
|
+
stateCompleted: string;
|
|
39
|
+
stateFailed: string;
|
|
40
|
+
stateCancelled: string;
|
|
41
|
+
};
|
|
16
42
|
jumooProcBackground: {
|
|
17
43
|
completed: string;
|
|
18
44
|
error: string;
|
package/dist/lang/files/en.js
CHANGED
|
@@ -13,6 +13,32 @@ export default {
|
|
|
13
13
|
method: 'Method',
|
|
14
14
|
stack: 'Stack',
|
|
15
15
|
},
|
|
16
|
+
jumooProcConflict: {
|
|
17
|
+
headline: 'Already in progress',
|
|
18
|
+
message: 'Another process is already in progress for this target. Wait for it to finish, or cancel it, then try again.',
|
|
19
|
+
headlineRunning: 'Already running',
|
|
20
|
+
messageRunning: 'Another process is already running for this target. Wait for it to finish, or cancel it, then try again.',
|
|
21
|
+
headlineQueued: 'Already queued',
|
|
22
|
+
messageQueued: 'Another process for this target is queued and will start shortly. Wait for it to finish, or cancel it, then try again.',
|
|
23
|
+
headlineWaiting: 'Waiting to continue',
|
|
24
|
+
messageWaiting: 'Another process for this target is paused and waiting to continue. Finish or cancel it, then try again.',
|
|
25
|
+
headlineScheduled: 'Already scheduled',
|
|
26
|
+
messageScheduled: 'Another process for this target is scheduled. Cancel it, or wait for it to run, then try again.',
|
|
27
|
+
status: 'Status',
|
|
28
|
+
startedBy: 'Started by',
|
|
29
|
+
queued: 'Queued',
|
|
30
|
+
lastActivity: 'Last activity',
|
|
31
|
+
waitingSince: 'Waiting since',
|
|
32
|
+
scheduledFor: 'Scheduled for',
|
|
33
|
+
progress: 'Progress',
|
|
34
|
+
stateQueued: 'Queued',
|
|
35
|
+
stateRunning: 'Running',
|
|
36
|
+
stateScheduled: 'Scheduled',
|
|
37
|
+
stateWaiting: 'Waiting',
|
|
38
|
+
stateCompleted: 'Completed',
|
|
39
|
+
stateFailed: 'Failed',
|
|
40
|
+
stateCancelled: 'Cancelled',
|
|
41
|
+
},
|
|
16
42
|
jumooProcBackground: {
|
|
17
43
|
completed: 'This process has completed in the background',
|
|
18
44
|
error: 'This process has errored in the background',
|
|
@@ -13,6 +13,7 @@ let JumooPipelineBackgroundElement = class JumooPipelineBackgroundElement extend
|
|
|
13
13
|
case PipelineStatus.COMPLETED:
|
|
14
14
|
return this.renderComplete();
|
|
15
15
|
case PipelineStatus.FAILED:
|
|
16
|
+
case PipelineStatus.CANCELLED:
|
|
16
17
|
return this.renderError();
|
|
17
18
|
default:
|
|
18
19
|
return html `${this.renderBackgroundBanner()} ${this.renderProgress()}`;
|
|
@@ -35,6 +35,7 @@ let JumooProcessingPipelineList = class JumooProcessingPipelineList extends UmbL
|
|
|
35
35
|
PipelineStatus.RUNNING,
|
|
36
36
|
PipelineStatus.COMPLETED,
|
|
37
37
|
PipelineStatus.FAILED,
|
|
38
|
+
PipelineStatus.CANCELLED,
|
|
38
39
|
];
|
|
39
40
|
this._modalPath = '';
|
|
40
41
|
this.status = PipelineStatus.WAITING;
|