app-v3-scripts-editor 1.19.1 → 1.21.1
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/app-v3-scripts-editor.es.js +28797 -28478
- package/dist/app-v3-scripts-editor.umd.js +161 -161
- package/dist/src/lib/components/Blocks/Delay/setting/Output.d.ts +7 -0
- package/dist/src/lib/components/Blocks/Delay/types.d.ts +17 -13
- package/dist/src/lib/components/Blocks/Schedule/types.d.ts +12 -8
- package/dist/src/lib/components/Shared/NodeActionButton/index.d.ts +6 -0
- package/dist/src/lib/components/Shared/NodeStatus/index.d.ts +6 -0
- package/dist/src/lib/constants/common.d.ts +5 -0
- package/dist/src/lib/styles/colors.d.ts +2 -0
- package/dist/src/lib/utils/common.d.ts +1 -1
- package/dist/src/services/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -11,26 +11,30 @@ export declare const DelayActionTypeDescription: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const DelayActionTypeList: DELAY_ACTION_TYPE[];
|
|
13
13
|
export declare enum UNIT_DELAY {
|
|
14
|
-
SECONDS = "
|
|
15
|
-
MINUTES = "
|
|
16
|
-
HOURS = "
|
|
17
|
-
DAYS = "
|
|
14
|
+
SECONDS = "SECONDS",
|
|
15
|
+
MINUTES = "MINUTES",
|
|
16
|
+
HOURS = "HOURS",
|
|
17
|
+
DAYS = "DAYS"
|
|
18
18
|
}
|
|
19
19
|
export declare const UnitDelayLabel: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
SECONDS: string;
|
|
21
|
+
MINUTES: string;
|
|
22
|
+
HOURS: string;
|
|
23
|
+
DAYS: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const UnitDelayList: UNIT_DELAY[];
|
|
26
26
|
export interface DelayActionNodeData extends Record<string, unknown> {
|
|
27
27
|
title: string;
|
|
28
28
|
type: DELAY_ACTION_TYPE;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
config: {
|
|
30
|
+
wait_time: {
|
|
31
|
+
value?: number;
|
|
32
|
+
unit?: UNIT_DELAY;
|
|
33
|
+
};
|
|
34
|
+
time_restriction?: {
|
|
35
|
+
is_enabled?: boolean;
|
|
36
|
+
apply_on_days?: number[];
|
|
37
|
+
};
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
40
|
export type BlockDelayActionProps = BlockTypeProps<DelayActionNodeData>;
|
|
@@ -73,14 +73,18 @@ export declare const IntervalUnitsList: INTERVAL_UNITS[];
|
|
|
73
73
|
export interface ScheduleNodeData extends Record<string, unknown> {
|
|
74
74
|
title: string;
|
|
75
75
|
type: SCHEDULE_ACTION_TYPE;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
config: {
|
|
77
|
+
trigger_time?: string | dayjs.Dayjs;
|
|
78
|
+
days_of_week?: DAYS_OF_WEEK[];
|
|
79
|
+
month_day_type: MONTHLY_DAY_TYPES;
|
|
80
|
+
specific_day?: number;
|
|
81
|
+
interval_value?: number;
|
|
82
|
+
interval_unit?: INTERVAL_UNITS;
|
|
83
|
+
};
|
|
84
|
+
validity: {
|
|
85
|
+
type: SCHEDULE_VALIDITY_TYPE;
|
|
86
|
+
end_date?: string | dayjs.Dayjs;
|
|
87
|
+
};
|
|
84
88
|
output: {
|
|
85
89
|
object: string;
|
|
86
90
|
slug: string;
|
|
@@ -41,7 +41,7 @@ export declare const formatFilterGroupsToForm: (object?: string, chartFilterGrou
|
|
|
41
41
|
groups: IFilterGroup[];
|
|
42
42
|
};
|
|
43
43
|
export declare function slugifyUnderscore(str: string): string;
|
|
44
|
-
export declare function buildOutPutTreeNodes(outputs
|
|
44
|
+
export declare function buildOutPutTreeNodes(outputs?: IOutput["outputs"]): (TreeDataNode & {
|
|
45
45
|
meta?: {
|
|
46
46
|
iconType?: DATA_TYPE_PROPERTY;
|
|
47
47
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
2
|
import { AI_MODEL } from '../lib/constants/ai-model';
|
|
3
3
|
import { DATA_TYPE_PROPERTY, DATA_TYPE_PROPERTY_V2 } from '../lib/constants/common';
|
|
4
|
+
import { NODE_STATUS } from './../lib/constants/common';
|
|
4
5
|
export interface INodeBaseType {
|
|
5
6
|
output?: IOutput["outputs"];
|
|
6
7
|
variables?: {
|
|
@@ -9,6 +10,7 @@ export interface INodeBaseType {
|
|
|
9
10
|
}[];
|
|
10
11
|
input_data?: Record<string, any>;
|
|
11
12
|
output_data?: Record<string, any>;
|
|
13
|
+
status?: NODE_STATUS;
|
|
12
14
|
}
|
|
13
15
|
export interface IPaginationInputs {
|
|
14
16
|
pagination?: {
|