@nocobase/plugin-workflow 2.2.0-alpha.6 → 2.2.0-alpha.8
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/client/{509.0504f44820a39d45.js → 509.8a85abc526e8cfe0.js} +1 -1
- package/dist/client/54.d81b710f7b4c1cd5.js +10 -0
- package/dist/client/635.ff6085589e23d39b.js +10 -0
- package/dist/client/{67.ea0c78153b4842ef.js → 67.c206df2fb7e32468.js} +1 -1
- package/dist/client/719.79871d3000b54948.js +10 -0
- package/dist/client/728.711fd4f1ed7d4e6a.js +10 -0
- package/dist/client/782.e058403fcb6b1750.js +10 -0
- package/dist/client/972.5df5193573fe04e5.js +10 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/142.a8c8df2a9abb43c5.js +10 -0
- package/dist/client-v2/276.7f746d899e221e2f.js +10 -0
- package/dist/client-v2/387.20ffad90130780e6.js +10 -0
- package/dist/client-v2/54.d3daf06e53092726.js +10 -0
- package/dist/client-v2/635.14a6f21cf4f16345.js +10 -0
- package/dist/client-v2/677.36a6fe395279deeb.js +10 -0
- package/dist/client-v2/728.4e8322ff8fce87b9.js +10 -0
- package/dist/client-v2/canvas/Instruction.d.ts +5 -5
- package/dist/client-v2/canvas/Node.d.ts +6 -4
- package/dist/client-v2/components/FilterDynamicComponent.d.ts +2 -1
- package/dist/client-v2/components/TestRunButton.d.ts +1 -1
- package/dist/client-v2/components/collection/AssignedFieldsEditor.d.ts +2 -1
- package/dist/client-v2/constants.d.ts +5 -0
- package/dist/client-v2/index.d.ts +3 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/client-v2/models/WorkflowTasksTopbarActionModel.d.ts +18 -0
- package/dist/client-v2/models/index.d.ts +1 -0
- package/dist/client-v2/pages/WorkflowTasksPage.d.ts +10 -0
- package/dist/client-v2/plugin.d.ts +52 -0
- package/dist/client-v2/taskCenter.d.ts +105 -0
- package/dist/client-v2/triggers/index.d.ts +3 -1
- package/dist/common/collections/workflows.d.ts +18 -0
- package/dist/common/collections/workflows.js +5 -0
- package/dist/externalVersion.js +13 -13
- package/dist/locale/de-DE.json +1 -0
- package/dist/locale/en-US.json +1 -0
- package/dist/locale/es-ES.json +1 -0
- package/dist/locale/fr-FR.json +1 -0
- package/dist/locale/hu-HU.json +1 -0
- package/dist/locale/id-ID.json +1 -0
- package/dist/locale/it-IT.json +1 -0
- package/dist/locale/ja-JP.json +1 -0
- package/dist/locale/ko-KR.json +1 -0
- package/dist/locale/nl-NL.json +1 -0
- package/dist/locale/pt-BR.json +1 -0
- package/dist/locale/ru-RU.json +1 -0
- package/dist/locale/tr-TR.json +1 -0
- package/dist/locale/uk-UA.json +1 -0
- package/dist/locale/vi-VN.json +1 -0
- package/dist/locale/zh-CN.json +1 -0
- package/dist/locale/zh-TW.json +1 -0
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/joi/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/server/Dispatcher.d.ts +3 -2
- package/dist/server/Dispatcher.js +39 -18
- package/dist/server/ExecutionTimeoutManager.js +2 -1
- package/dist/server/Plugin.d.ts +1 -1
- package/dist/server/actions/workflows.d.ts +1 -0
- package/dist/server/actions/workflows.js +11 -0
- package/dist/server/triggers/CollectionTrigger.js +3 -0
- package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +1 -1
- package/dist/server/triggers/index.d.ts +1 -1
- package/dist/server/types/Workflow.d.ts +1 -0
- package/dist/swagger/index.d.ts +1 -0
- package/dist/swagger/index.js +4 -2
- package/package.json +2 -2
- package/dist/client/54.d3d5d9f2f2115201.js +0 -10
- package/dist/client/635.42814cddec653cdd.js +0 -10
- package/dist/client/719.cd8ca7c9f00584be.js +0 -10
- package/dist/client/782.e0f0d84dd5cfac2a.js +0 -10
- package/dist/client/972.600a190e71978122.js +0 -10
- package/dist/client-v2/142.fe4f9b7869876ff1.js +0 -10
- package/dist/client-v2/276.8ca10542a0424df3.js +0 -10
- package/dist/client-v2/387.eae325172ba209e5.js +0 -10
- package/dist/client-v2/54.287764bc467d65da.js +0 -10
- package/dist/client-v2/635.d14f99a9520d336b.js +0 -10
- package/dist/client-v2/677.d3294a45cd038c72.js +0 -10
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { TopbarActionModel } from '@nocobase/client-v2';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare class WorkflowTasksTopbarActionModel extends TopbarActionModel {
|
|
12
|
+
sort: number;
|
|
13
|
+
actionId: string;
|
|
14
|
+
testId: string;
|
|
15
|
+
tooltip: string;
|
|
16
|
+
render(): React.JSX.Element;
|
|
17
|
+
}
|
|
18
|
+
export default WorkflowTasksTopbarActionModel;
|
|
@@ -10,3 +10,4 @@ export { NodeDetailsModel } from './NodeDetailsModel';
|
|
|
10
10
|
export { NodeDetailsGridModel } from './NodeDetailsGridModel';
|
|
11
11
|
export { NodeValueModel } from './NodeValueModel';
|
|
12
12
|
export { TaskCardCommonItemModel } from './TaskCardCommonItemModel';
|
|
13
|
+
export { WorkflowTasksTopbarActionModel } from './WorkflowTasksTopbarActionModel';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export default function WorkflowTasksPage(): React.JSX.Element;
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from '@nocobase/client-v2';
|
|
10
|
+
import type { ReactNode } from 'react';
|
|
11
|
+
import type { TaskTypeOptions } from './taskCenter';
|
|
10
12
|
import type { Instruction } from './canvas/Instruction';
|
|
11
13
|
import type { Trigger } from './triggers';
|
|
12
14
|
import './models/triggerWorkflows';
|
|
@@ -14,6 +16,43 @@ export type InstructionGroup = {
|
|
|
14
16
|
key: string;
|
|
15
17
|
label: string;
|
|
16
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* UI location where workflow notices are requested.
|
|
21
|
+
*
|
|
22
|
+
* This is a rendering context hint for non-blocking UI notices; it is not a validation surface and providers should
|
|
23
|
+
* not use it to block workflow execution or saving.
|
|
24
|
+
*/
|
|
25
|
+
export type WorkflowNoticeSurface = 'workflow-list-row' | 'trigger-node-card';
|
|
26
|
+
export type WorkflowNotice = {
|
|
27
|
+
/** Extra explanatory content. List rows render this as tooltip content; compact card surfaces may ignore it. */
|
|
28
|
+
description?: ReactNode;
|
|
29
|
+
/** Stable identity for React rendering and provider-level deduplication. */
|
|
30
|
+
key: string;
|
|
31
|
+
/** Short user-facing notice title. */
|
|
32
|
+
message: ReactNode;
|
|
33
|
+
/** Visual severity. Providers should keep notices informational and side-effect free. */
|
|
34
|
+
type?: 'error' | 'info' | 'success' | 'warning';
|
|
35
|
+
};
|
|
36
|
+
export type WorkflowNoticeProviderContext = {
|
|
37
|
+
nodes?: Array<Record<string, unknown>>;
|
|
38
|
+
/** The UI surface requesting notices so providers can return copy and density suitable for that location. */
|
|
39
|
+
surface: WorkflowNoticeSurface;
|
|
40
|
+
workflow?: Record<string, unknown> | null;
|
|
41
|
+
};
|
|
42
|
+
export type WorkflowNoticeResult = WorkflowNotice | WorkflowNotice[] | null | undefined;
|
|
43
|
+
export type WorkflowListNoticeProviderContext = {
|
|
44
|
+
api?: unknown;
|
|
45
|
+
surface: 'workflow-list-row';
|
|
46
|
+
workflows: Array<Record<string, unknown>>;
|
|
47
|
+
};
|
|
48
|
+
export type WorkflowListNoticeMap = Record<string, WorkflowNotice | WorkflowNotice[] | null | undefined>;
|
|
49
|
+
export type WorkflowNoticeProviderFunction = (context: WorkflowNoticeProviderContext) => WorkflowNoticeResult;
|
|
50
|
+
export type WorkflowNoticeProviderObject = {
|
|
51
|
+
getNotices?: (context: WorkflowNoticeProviderContext) => WorkflowNoticeResult;
|
|
52
|
+
loadWorkflowListNotices?: (context: WorkflowListNoticeProviderContext) => Promise<WorkflowListNoticeMap>;
|
|
53
|
+
shouldLoadWorkflowListNotices?: (context: WorkflowListNoticeProviderContext) => boolean;
|
|
54
|
+
};
|
|
55
|
+
export type WorkflowNoticeProvider = WorkflowNoticeProviderFunction | WorkflowNoticeProviderObject;
|
|
17
56
|
/**
|
|
18
57
|
* A workflow **system variable** (the `$system` scope). Registered by the
|
|
19
58
|
* workflow plugin itself — fixed, framework-independent values (current time,
|
|
@@ -33,12 +72,15 @@ export declare class PluginWorkflowClientV2 extends Plugin {
|
|
|
33
72
|
instructions: any;
|
|
34
73
|
instructionGroups: any;
|
|
35
74
|
systemVariables: any;
|
|
75
|
+
workflowNoticeProviders: any;
|
|
76
|
+
taskTypes: any;
|
|
36
77
|
/**
|
|
37
78
|
* Register a `$system` scope variable. Mirrors v1's `registerSystemVariable`
|
|
38
79
|
* but writes to *this* (v2) runtime's registry. The workflow plugin registers
|
|
39
80
|
* the builtin ones (time / instance id / snowflake id) on load.
|
|
40
81
|
*/
|
|
41
82
|
registerSystemVariable(option: SystemVariableOption): void;
|
|
83
|
+
registerTaskType(key: string, option: Omit<TaskTypeOptions, 'key'> | TaskTypeOptions): void;
|
|
42
84
|
isWorkflowSync(workflow: any): any;
|
|
43
85
|
/**
|
|
44
86
|
* Register a node type's v2 instruction. Mirrors v1's `registerInstruction`
|
|
@@ -55,6 +97,14 @@ export declare class PluginWorkflowClientV2 extends Plugin {
|
|
|
55
97
|
new (): Trigger;
|
|
56
98
|
}): void;
|
|
57
99
|
getTriggerOptions(type?: string): any;
|
|
100
|
+
/**
|
|
101
|
+
* Register a workflow notice provider. Providers should be pure readers of the supplied context; they are queried by
|
|
102
|
+
* UI surfaces such as workflow list rows and trigger node cards.
|
|
103
|
+
*/
|
|
104
|
+
registerWorkflowNoticeProvider(key: string, provider: WorkflowNoticeProvider): void;
|
|
105
|
+
/** Collect notices from registered providers for the current UI surface. */
|
|
106
|
+
getWorkflowNotices(context: WorkflowNoticeProviderContext): any[];
|
|
107
|
+
loadWorkflowListNotices(context: WorkflowListNoticeProviderContext): Promise<Record<string, WorkflowNotice[]>>;
|
|
58
108
|
load(): Promise<void>;
|
|
59
109
|
private registerBuiltinSystemVariables;
|
|
60
110
|
private registerBuiltinInstructions;
|
|
@@ -63,5 +113,7 @@ export declare class PluginWorkflowClientV2 extends Plugin {
|
|
|
63
113
|
private registerSettingsPage;
|
|
64
114
|
private registerCanvasRoute;
|
|
65
115
|
private registerExecutionRoute;
|
|
116
|
+
private registerTaskCenterRoutes;
|
|
66
117
|
}
|
|
67
118
|
export default PluginWorkflowClientV2;
|
|
119
|
+
export type { TaskTypeOptions } from './taskCenter';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
10
|
+
export declare const TASK_STATUS: {
|
|
11
|
+
readonly ALL: "all";
|
|
12
|
+
readonly PENDING: "pending";
|
|
13
|
+
readonly COMPLETED: "completed";
|
|
14
|
+
};
|
|
15
|
+
export declare const TASK_STATUS_VALUES: readonly ["pending", "completed", "all"];
|
|
16
|
+
export type WorkflowTaskStatus = (typeof TASK_STATUS_VALUES)[number];
|
|
17
|
+
export declare const WORKFLOW_TASKS_PAGE_SIZE = 20;
|
|
18
|
+
export type WorkflowTaskRecord = Record<string, unknown>;
|
|
19
|
+
export type WorkflowTaskRequestParams = Record<string, unknown>;
|
|
20
|
+
export type WorkflowTaskStats = Record<string, number | undefined> & {
|
|
21
|
+
pending?: number;
|
|
22
|
+
completed?: number;
|
|
23
|
+
all?: number;
|
|
24
|
+
};
|
|
25
|
+
export type WorkflowTaskCounts = Record<string, WorkflowTaskStats>;
|
|
26
|
+
export interface WorkflowTaskActionsProps {
|
|
27
|
+
onlyIcon?: boolean;
|
|
28
|
+
reload?: () => Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
export interface WorkflowTaskDetailModalProps {
|
|
31
|
+
children?: ReactNode;
|
|
32
|
+
mobile: boolean;
|
|
33
|
+
onClose: () => void;
|
|
34
|
+
record: WorkflowTaskRecord | null;
|
|
35
|
+
title: ReactNode;
|
|
36
|
+
type: TaskTypeOptions;
|
|
37
|
+
}
|
|
38
|
+
export interface WorkflowTaskRecordContextValue {
|
|
39
|
+
record: WorkflowTaskRecord;
|
|
40
|
+
openRecord?: (record: WorkflowTaskRecord) => void;
|
|
41
|
+
refresh?: () => Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
export declare const WorkflowTaskRecordContext: import("react").Context<WorkflowTaskRecordContextValue>;
|
|
44
|
+
export declare function useWorkflowTaskRecord(): WorkflowTaskRecordContextValue;
|
|
45
|
+
export interface WorkflowTaskResource {
|
|
46
|
+
[action: string]: ((params?: WorkflowTaskRequestParams) => Promise<unknown>) | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface WorkflowTaskApiClient {
|
|
49
|
+
resource: (name: string) => WorkflowTaskResource;
|
|
50
|
+
}
|
|
51
|
+
export interface WorkflowTaskRegistry {
|
|
52
|
+
get: (key: string) => TaskTypeOptions | undefined;
|
|
53
|
+
getKeys: () => Iterable<string>;
|
|
54
|
+
getEntities?: () => Iterable<[string, TaskTypeOptions]>;
|
|
55
|
+
}
|
|
56
|
+
export interface WorkflowTaskPlugin {
|
|
57
|
+
taskTypes: WorkflowTaskRegistry;
|
|
58
|
+
}
|
|
59
|
+
export interface WorkflowTaskFlowContext {
|
|
60
|
+
api: WorkflowTaskApiClient;
|
|
61
|
+
app?: {
|
|
62
|
+
eventBus?: EventTarget;
|
|
63
|
+
pm?: {
|
|
64
|
+
get: (name: string) => WorkflowTaskPlugin | undefined;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
router?: {
|
|
68
|
+
navigate: (path: string, options?: {
|
|
69
|
+
replace?: boolean;
|
|
70
|
+
}) => void;
|
|
71
|
+
};
|
|
72
|
+
t?: (key: string, options?: Record<string, unknown>) => string;
|
|
73
|
+
}
|
|
74
|
+
export interface TaskTypeOptions {
|
|
75
|
+
key: string;
|
|
76
|
+
title: string;
|
|
77
|
+
collection: string;
|
|
78
|
+
action?: string;
|
|
79
|
+
useActionParams?: (status: WorkflowTaskStatus) => WorkflowTaskRequestParams | undefined;
|
|
80
|
+
Actions?: ComponentType<WorkflowTaskActionsProps>;
|
|
81
|
+
DetailModal?: ComponentType<WorkflowTaskDetailModalProps>;
|
|
82
|
+
Item: ComponentType;
|
|
83
|
+
Detail: ComponentType;
|
|
84
|
+
getPopupRecord?: (apiClient: WorkflowTaskApiClient, context: {
|
|
85
|
+
params: WorkflowTaskRequestParams;
|
|
86
|
+
}) => Promise<unknown>;
|
|
87
|
+
alwaysShow?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export interface WorkflowTaskListPayload {
|
|
90
|
+
data: WorkflowTaskRecord[];
|
|
91
|
+
meta: Record<string, unknown>;
|
|
92
|
+
}
|
|
93
|
+
export declare function normalizeWorkflowTaskStatus(status?: string): WorkflowTaskStatus;
|
|
94
|
+
export declare function normalizeWorkflowTaskRecordsResponse(response: unknown): WorkflowTaskListPayload;
|
|
95
|
+
export declare function normalizeWorkflowTaskRecordResponse(response: unknown): WorkflowTaskRecord | null;
|
|
96
|
+
export declare function normalizeWorkflowTaskCountsResponse(response: unknown): WorkflowTaskCounts;
|
|
97
|
+
export declare function getWorkflowTaskRegistry(ctx?: WorkflowTaskFlowContext): WorkflowTaskRegistry | undefined;
|
|
98
|
+
export declare function getWorkflowTaskTypeKeys(taskTypes?: WorkflowTaskRegistry): string[];
|
|
99
|
+
export declare function getWorkflowTaskRecordKey(record: WorkflowTaskRecord): unknown;
|
|
100
|
+
export declare function getAvailableWorkflowTaskTypeKeys(taskTypes: WorkflowTaskRegistry | undefined, counts: WorkflowTaskCounts): string[];
|
|
101
|
+
export declare function useWorkflowTaskCounts(ctx: WorkflowTaskFlowContext | undefined, taskTypes: WorkflowTaskRegistry | undefined): {
|
|
102
|
+
counts: WorkflowTaskCounts;
|
|
103
|
+
total: number;
|
|
104
|
+
reload: () => Promise<void>;
|
|
105
|
+
};
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* time, making v1 fall through to the inherited loaders.
|
|
14
14
|
*/
|
|
15
15
|
import type { ComponentType } from 'react';
|
|
16
|
-
import type { ISchema, JSXComponent } from '@formily/react';
|
|
17
16
|
import type { SubModelItem } from '@nocobase/flow-engine';
|
|
18
17
|
import type { UseVariableOptions, VariableOption } from '../canvas/collectionFieldOptions';
|
|
19
18
|
export type LoaderOf<P = {}> = () => Promise<{
|
|
20
19
|
default: ComponentType<P>;
|
|
21
20
|
}>;
|
|
21
|
+
type ISchema = import('@formily/react').ISchema;
|
|
22
|
+
type JSXComponent = import('@formily/react').JSXComponent;
|
|
22
23
|
export type TriggerTempAssociationSource = {
|
|
23
24
|
collection: string;
|
|
24
25
|
nodeId: string | number;
|
|
@@ -59,3 +60,4 @@ export type LegacyTriggerFieldsetRenderMode = 'legacy-fieldset' | 'modern-loader
|
|
|
59
60
|
export declare function resolveLegacyTriggerPresetRenderMode(trigger?: Pick<Trigger, 'presetFieldset' | 'PresetFieldsetLoader'> | null): LegacyTriggerFieldsetRenderMode;
|
|
60
61
|
export declare function resolveLegacyTriggerConfigRenderMode(trigger?: Pick<Trigger, 'fieldset' | 'FieldsetLoader'> | null): LegacyTriggerFieldsetRenderMode;
|
|
61
62
|
export declare function resolveLegacyTriggerExecuteRenderMode(trigger?: Pick<Trigger, 'triggerFieldset' | 'TriggerFieldsetLoader'> | null): LegacyTriggerFieldsetRenderMode;
|
|
63
|
+
export {};
|
|
@@ -188,6 +188,24 @@ declare const _default: {
|
|
|
188
188
|
constraints?: undefined;
|
|
189
189
|
through?: undefined;
|
|
190
190
|
otherKey?: undefined;
|
|
191
|
+
} | {
|
|
192
|
+
type: string;
|
|
193
|
+
name: string;
|
|
194
|
+
defaultValue: {
|
|
195
|
+
timeout?: undefined;
|
|
196
|
+
};
|
|
197
|
+
primaryKey?: undefined;
|
|
198
|
+
allowNull?: undefined;
|
|
199
|
+
interface?: undefined;
|
|
200
|
+
uiSchema?: undefined;
|
|
201
|
+
required?: undefined;
|
|
202
|
+
target?: undefined;
|
|
203
|
+
onDelete?: undefined;
|
|
204
|
+
foreignKey?: undefined;
|
|
205
|
+
sourceKey?: undefined;
|
|
206
|
+
constraints?: undefined;
|
|
207
|
+
through?: undefined;
|
|
208
|
+
otherKey?: undefined;
|
|
191
209
|
} | {
|
|
192
210
|
type: string;
|
|
193
211
|
name: string;
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,33 +11,33 @@ module.exports = {
|
|
|
11
11
|
"react": "18.2.0",
|
|
12
12
|
"@formily/core": "2.3.7",
|
|
13
13
|
"@formily/react": "2.3.7",
|
|
14
|
-
"@nocobase/client": "2.2.0-alpha.
|
|
15
|
-
"@nocobase/utils": "2.2.0-alpha.
|
|
14
|
+
"@nocobase/client": "2.2.0-alpha.8",
|
|
15
|
+
"@nocobase/utils": "2.2.0-alpha.8",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
|
-
"@nocobase/flow-engine": "2.2.0-alpha.
|
|
18
|
+
"@nocobase/flow-engine": "2.2.0-alpha.8",
|
|
19
19
|
"ahooks": "3.7.8",
|
|
20
20
|
"react-router-dom": "6.30.1",
|
|
21
21
|
"react-i18next": "11.18.6",
|
|
22
22
|
"lodash": "4.18.1",
|
|
23
23
|
"@dnd-kit/core": "6.1.0",
|
|
24
24
|
"@formily/shared": "2.3.7",
|
|
25
|
-
"@nocobase/plugin-mobile": "2.2.0-alpha.
|
|
26
|
-
"@nocobase/client-v2": "2.2.0-alpha.
|
|
25
|
+
"@nocobase/plugin-mobile": "2.2.0-alpha.8",
|
|
26
|
+
"@nocobase/client-v2": "2.2.0-alpha.8",
|
|
27
27
|
"sequelize": "6.35.2",
|
|
28
|
-
"@nocobase/server": "2.2.0-alpha.
|
|
29
|
-
"@nocobase/database": "2.2.0-alpha.
|
|
30
|
-
"@nocobase/data-source-manager": "2.2.0-alpha.
|
|
31
|
-
"@nocobase/logger": "2.2.0-alpha.
|
|
32
|
-
"@nocobase/evaluators": "2.2.0-alpha.
|
|
28
|
+
"@nocobase/server": "2.2.0-alpha.8",
|
|
29
|
+
"@nocobase/database": "2.2.0-alpha.8",
|
|
30
|
+
"@nocobase/data-source-manager": "2.2.0-alpha.8",
|
|
31
|
+
"@nocobase/logger": "2.2.0-alpha.8",
|
|
32
|
+
"@nocobase/evaluators": "2.2.0-alpha.8",
|
|
33
33
|
"@formily/antd-v5": "1.2.3",
|
|
34
34
|
"@formily/reactive": "2.3.7",
|
|
35
35
|
"@emotion/css": "11.13.0",
|
|
36
36
|
"@formily/json-schema": "2.3.7",
|
|
37
37
|
"antd-style": "3.7.1",
|
|
38
38
|
"dayjs": "1.11.13",
|
|
39
|
-
"@nocobase/actions": "2.2.0-alpha.
|
|
40
|
-
"@nocobase/plugin-workflow-test": "2.2.0-alpha.
|
|
41
|
-
"@nocobase/test": "2.2.0-alpha.
|
|
39
|
+
"@nocobase/actions": "2.2.0-alpha.8",
|
|
40
|
+
"@nocobase/plugin-workflow-test": "2.2.0-alpha.8",
|
|
41
|
+
"@nocobase/test": "2.2.0-alpha.8",
|
|
42
42
|
"@dnd-kit/sortable": "7.0.2"
|
|
43
43
|
};
|
package/dist/locale/de-DE.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Wird im Hintergrund als Aufgabe in der Warteschlange ausgeführt.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow ausgeführt, der Ergebnisstatus ist <1>{{statusText}}</1><2>Ausführung anzeigen</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Der Workflow wurde nicht ausgelöst, weil die aktuelle Anfrage die Auslöseanforderungen nicht erfüllt.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow-Aufgaben",
|
package/dist/locale/en-US.json
CHANGED
|
@@ -282,6 +282,7 @@
|
|
|
282
282
|
"Workflow title": "Workflow title",
|
|
283
283
|
"Workflow canvas editor is being migrated to the new UI.": "Workflow canvas editor is being migrated to the new UI.",
|
|
284
284
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
285
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Workflow was not triggered because the current request did not meet the trigger requirements.",
|
|
285
286
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
286
287
|
"Workflow tasks": "Workflow tasks",
|
|
287
288
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/es-ES.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Flujo de trabajo",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "El flujo de trabajo no se activó porque la solicitud actual no cumplió los requisitos del desencadenador.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/fr-FR.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Le workflow n’a pas été déclenché, car la requête actuelle ne répond pas aux exigences du déclencheur.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/hu-HU.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "A háttérben sorba állított feladatként kerül végrehajtásra.",
|
|
256
256
|
"Workflow": "Munkafolyamat",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Munkafolyamat végrehajtva, az eredmény állapota: <1>{{statusText}}</1><2>Végrehajtás megtekintése</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "A munkafolyamat nem indult el, mert az aktuális kérés nem felelt meg az indítási feltételeknek.",
|
|
258
259
|
"Workflow is not exists": "Workflow is not exists",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Munkafolyamat teendők",
|
package/dist/locale/id-ID.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Akan dieksekusi di latar belakang sebagai tugas antrean.",
|
|
256
256
|
"Workflow": "Alur kerja",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Alur kerja dieksekusi, status hasilnya adalah <1>{{statusText}}</1><2>Lihat eksekusi</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Alur kerja tidak dipicu karena permintaan saat ini tidak memenuhi persyaratan pemicu.",
|
|
258
259
|
"Workflow is not exists": "Workflow is not exists",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Tugas alur kerja",
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Verrà eseguito in background come attività in coda.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow eseguito, lo stato del risultato è <1>{{statusText}}</1><2>Visualizza l'esecuzione</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Il workflow non è stato attivato perché la richiesta corrente non soddisfa i requisiti del trigger.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Da fare",
|
package/dist/locale/ja-JP.json
CHANGED
|
@@ -257,6 +257,7 @@
|
|
|
257
257
|
"Will be executed in the background as a queued task.": "キュータスクとしてバックグラウンドで実行されます。",
|
|
258
258
|
"Workflow": "ワークフロー",
|
|
259
259
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "ワークフローが実行されました。結果ステータス: <1>{{statusText}}</1><2>実行詳細を表示</2>",
|
|
260
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "現在のリクエストがトリガー要件を満たしていないため、ワークフローはトリガーされませんでした。",
|
|
260
261
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
261
262
|
"Workflow tasks": "Workflow tasks",
|
|
262
263
|
"Workflow todos": "ワークフロー対応事項",
|
package/dist/locale/ko-KR.json
CHANGED
|
@@ -273,6 +273,7 @@
|
|
|
273
273
|
"Will be executed in the background as a queued task.": "백그라운드에서 대기 작업으로 실행됩니다.",
|
|
274
274
|
"Workflow": "워크플로우",
|
|
275
275
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "워크플로우가 실행되었습니다. 결과 상태는 <1>{{statusText}}</1><2>실행 보기</2>",
|
|
276
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "현재 요청이 트리거 요구 사항을 충족하지 않아 워크플로우가 트리거되지 않았습니다.",
|
|
276
277
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
277
278
|
"Workflow tasks": "Workflow tasks",
|
|
278
279
|
"Workflow todos": "워크플로우 할 일",
|
package/dist/locale/nl-NL.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "De workflow is niet geactiveerd omdat de huidige aanvraag niet aan de triggervereisten voldoet.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/pt-BR.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Fluxo de trabalho",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "O workflow não foi acionado porque a solicitação atual não atende aos requisitos do gatilho.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/ru-RU.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Будет выполнен в фоновом режиме как задача в очереди.",
|
|
256
256
|
"Workflow": "Рабочий процесс",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Рабочий процесс выполнен, статус результата: <1>{{statusText}}</1><2>Посмотреть выполнение</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Рабочий процесс не был запущен, так как текущий запрос не соответствует требованиям триггера.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Задачи рабочего процесса",
|
package/dist/locale/tr-TR.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "İş Akışı",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Geçerli istek tetikleme gereksinimlerini karşılamadığı için iş akışı tetiklenmedi.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/uk-UA.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Робочий процес не було запущено, оскільки поточний запит не відповідає вимогам тригера.",
|
|
258
259
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/vi-VN.json
CHANGED
|
@@ -255,6 +255,7 @@
|
|
|
255
255
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
256
256
|
"Workflow": "Workflow",
|
|
257
257
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
258
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "Quy trình làm việc không được kích hoạt vì yêu cầu hiện tại không đáp ứng các điều kiện kích hoạt.",
|
|
258
259
|
"Workflow is not exists": "Workflow is not exists",
|
|
259
260
|
"Workflow tasks": "Workflow tasks",
|
|
260
261
|
"Workflow todos": "Workflow todos",
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"Workflow title": "工作流名称",
|
|
291
291
|
"Workflow canvas editor is being migrated to the new UI.": "工作流画布编辑器正在迁移到新版界面。",
|
|
292
292
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "工作流已执行,结果状态为 <1>{{statusText}}</1><2>查看执行详情</2>",
|
|
293
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "当前请求未满足触发要求,工作流未触发。",
|
|
293
294
|
"Workflow of execution is not existed": "执行计划对应的工作流不存在",
|
|
294
295
|
"Workflow tasks": "流程待办",
|
|
295
296
|
"Workflow todos": "流程待办",
|
package/dist/locale/zh-TW.json
CHANGED
|
@@ -258,6 +258,7 @@
|
|
|
258
258
|
"Workflow": "Workflow",
|
|
259
259
|
"Workflow title": "工作流名稱",
|
|
260
260
|
"Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
|
|
261
|
+
"Workflow was not triggered because the current request did not meet the trigger requirements.": "目前請求未滿足觸發要求,工作流未觸發。",
|
|
261
262
|
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
262
263
|
"Workflow tasks": "Workflow tasks",
|
|
263
264
|
"Workflow todos": "Workflow todos",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-07-
|
|
1
|
+
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-07-12T22:53:42.833Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-07-
|
|
1
|
+
{"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-07-12T22:53:42.560Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-07-
|
|
1
|
+
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-07-12T22:53:41.826Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-07-
|
|
1
|
+
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-07-12T22:53:41.660Z"}
|
|
@@ -26,7 +26,7 @@ export type EventOptions = {
|
|
|
26
26
|
force?: boolean;
|
|
27
27
|
stack?: Array<number | string>;
|
|
28
28
|
parentExecutionId?: number | string;
|
|
29
|
-
onTriggerFail?:
|
|
29
|
+
onTriggerFail?: (workflow: WorkflowModel, context: object, options: EventOptions, error?: unknown) => void | Promise<void>;
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
} & Transactionable;
|
|
32
32
|
export default class Dispatcher {
|
|
@@ -42,7 +42,7 @@ export default class Dispatcher {
|
|
|
42
42
|
readonly onQueueExecution: QueueEventOptions['process'];
|
|
43
43
|
setReady(ready: boolean): void;
|
|
44
44
|
getEventsCount(): number;
|
|
45
|
-
trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null>;
|
|
45
|
+
trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null | void>;
|
|
46
46
|
private saveEvent;
|
|
47
47
|
resume(job: JobModel): Promise<void>;
|
|
48
48
|
start(execution: ExecutionModel): Promise<void>;
|
|
@@ -51,6 +51,7 @@ export default class Dispatcher {
|
|
|
51
51
|
run(pending: Pending): Promise<void>;
|
|
52
52
|
private triggerSync;
|
|
53
53
|
private validateEvent;
|
|
54
|
+
private handleTriggerFail;
|
|
54
55
|
private createExecution;
|
|
55
56
|
private prepare;
|
|
56
57
|
private acquireExecution;
|