app-v3-scripts-editor 1.20.0 → 1.21.3
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 +13830 -13741
- package/dist/app-v3-scripts-editor.umd.js +117 -117
- 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 +18 -14
- 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>;
|
|
@@ -26,9 +26,9 @@ export declare enum MONTHLY_DAY_TYPES {
|
|
|
26
26
|
CUSTOM = "CUSTOM"
|
|
27
27
|
}
|
|
28
28
|
export declare enum INTERVAL_UNITS {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
MINUTE = "MINUTE",
|
|
30
|
+
HOUR = "HOUR",
|
|
31
|
+
DAY = "DAY"
|
|
32
32
|
}
|
|
33
33
|
export declare const ScheduleTypeLabel: {
|
|
34
34
|
DAILY: string;
|
|
@@ -65,22 +65,26 @@ export declare const MonthlyDayTypesLabel: {
|
|
|
65
65
|
};
|
|
66
66
|
export declare const MonthlyDayTypesList: MONTHLY_DAY_TYPES[];
|
|
67
67
|
export declare const IntervalUnitsLabel: {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
MINUTE: string;
|
|
69
|
+
HOUR: string;
|
|
70
|
+
DAY: string;
|
|
71
71
|
};
|
|
72
72
|
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
|
+
validity_type: SCHEDULE_VALIDITY_TYPE;
|
|
86
|
+
validity_end_date?: string | dayjs.Dayjs;
|
|
87
|
+
};
|
|
84
88
|
output: {
|
|
85
89
|
object: string;
|
|
86
90
|
slug: string;
|