@vnejs/contracts.core.scenario 0.1.3 → 0.1.5
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/const.d.ts +18 -0
- package/dist/const.js +11 -0
- package/dist/events.d.ts +0 -4
- package/dist/events.js +0 -4
- package/package.json +1 -1
- package/src/const.ts +13 -0
- package/src/events.ts +0 -4
package/dist/const.d.ts
CHANGED
|
@@ -5,11 +5,20 @@ export declare const LINE_KEYWORDS: {
|
|
|
5
5
|
readonly ASYNC: "async";
|
|
6
6
|
readonly EXTEND: "extend";
|
|
7
7
|
readonly AUTONEXT: "autonext";
|
|
8
|
+
readonly DANGEROUS: "dangerous";
|
|
8
9
|
};
|
|
9
10
|
export declare const LINE_PREFIXES: {
|
|
10
11
|
readonly MODULE: "$";
|
|
11
12
|
readonly BLOCK: "%";
|
|
12
13
|
};
|
|
14
|
+
export declare const EXEC_ACTIONS: {
|
|
15
|
+
readonly ANCHOR: "anchor";
|
|
16
|
+
readonly GOTO: "goto";
|
|
17
|
+
};
|
|
18
|
+
export declare const LOGS_ACTIONS: {
|
|
19
|
+
readonly GOTO: "goto";
|
|
20
|
+
readonly GOTO_MISSING: "goto_missing";
|
|
21
|
+
};
|
|
13
22
|
export declare const CONSTANTS: {
|
|
14
23
|
readonly OTHER_MODULE: "other";
|
|
15
24
|
readonly LINE_KEYWORDS: {
|
|
@@ -18,10 +27,19 @@ export declare const CONSTANTS: {
|
|
|
18
27
|
readonly ASYNC: "async";
|
|
19
28
|
readonly EXTEND: "extend";
|
|
20
29
|
readonly AUTONEXT: "autonext";
|
|
30
|
+
readonly DANGEROUS: "dangerous";
|
|
21
31
|
};
|
|
22
32
|
readonly LINE_PREFIXES: {
|
|
23
33
|
readonly MODULE: "$";
|
|
24
34
|
readonly BLOCK: "%";
|
|
25
35
|
};
|
|
36
|
+
readonly EXEC_ACTIONS: {
|
|
37
|
+
readonly ANCHOR: "anchor";
|
|
38
|
+
readonly GOTO: "goto";
|
|
39
|
+
};
|
|
40
|
+
readonly LOGS_ACTIONS: {
|
|
41
|
+
readonly GOTO: "goto";
|
|
42
|
+
readonly GOTO_MISSING: "goto_missing";
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
export type Constants = typeof CONSTANTS;
|
package/dist/const.js
CHANGED
|
@@ -5,13 +5,24 @@ export const LINE_KEYWORDS = {
|
|
|
5
5
|
ASYNC: "async",
|
|
6
6
|
EXTEND: "extend",
|
|
7
7
|
AUTONEXT: "autonext",
|
|
8
|
+
DANGEROUS: "dangerous",
|
|
8
9
|
};
|
|
9
10
|
export const LINE_PREFIXES = {
|
|
10
11
|
MODULE: "$",
|
|
11
12
|
BLOCK: "%",
|
|
12
13
|
};
|
|
14
|
+
export const EXEC_ACTIONS = {
|
|
15
|
+
ANCHOR: "anchor",
|
|
16
|
+
GOTO: "goto",
|
|
17
|
+
};
|
|
18
|
+
export const LOGS_ACTIONS = {
|
|
19
|
+
GOTO: "goto",
|
|
20
|
+
GOTO_MISSING: "goto_missing",
|
|
21
|
+
};
|
|
13
22
|
export const CONSTANTS = {
|
|
14
23
|
OTHER_MODULE,
|
|
15
24
|
LINE_KEYWORDS,
|
|
16
25
|
LINE_PREFIXES,
|
|
26
|
+
EXEC_ACTIONS,
|
|
27
|
+
LOGS_ACTIONS,
|
|
17
28
|
};
|
package/dist/events.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
export declare const SUBSCRIBE_EVENTS: {
|
|
2
2
|
readonly EXEC: "vne:scenario:exec";
|
|
3
|
-
readonly EXEC_REG: "vne:scenario:exec_reg";
|
|
4
3
|
readonly EXEC_DELAY: "vne:scenario:exec_delay";
|
|
5
|
-
readonly EXEC_AWAIT: "vne:scenario:exec_await";
|
|
6
4
|
readonly NEXT: "vne:scenario:next";
|
|
7
5
|
readonly LABEL_GET: "vne:scenario:label_get";
|
|
8
6
|
readonly LINE_LOAD: "vne:scenario:line_load";
|
|
9
7
|
readonly LINE_GET: "vne:scenario:line_get";
|
|
10
|
-
readonly LINE_REG: "vne:scenario:line_reg";
|
|
11
8
|
readonly LINE_LOAD_REG: "vne:scenario:line_load_reg";
|
|
12
9
|
readonly LINE_EXEC_REG: "vne:scenario:line_exec_reg";
|
|
13
|
-
readonly LINE_NEXT_REG: "vne:scenario:line_next_reg";
|
|
14
10
|
readonly LINES_GET: "vne:scenario:lines_get";
|
|
15
11
|
};
|
|
16
12
|
export type SubscribeEvents = typeof SUBSCRIBE_EVENTS;
|
package/dist/events.js
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
export const SUBSCRIBE_EVENTS = {
|
|
2
2
|
EXEC: "vne:scenario:exec",
|
|
3
|
-
EXEC_REG: "vne:scenario:exec_reg",
|
|
4
3
|
EXEC_DELAY: "vne:scenario:exec_delay",
|
|
5
|
-
EXEC_AWAIT: "vne:scenario:exec_await",
|
|
6
4
|
NEXT: "vne:scenario:next",
|
|
7
5
|
LABEL_GET: "vne:scenario:label_get",
|
|
8
6
|
LINE_LOAD: "vne:scenario:line_load",
|
|
9
7
|
LINE_GET: "vne:scenario:line_get",
|
|
10
|
-
LINE_REG: "vne:scenario:line_reg",
|
|
11
8
|
LINE_LOAD_REG: "vne:scenario:line_load_reg",
|
|
12
9
|
LINE_EXEC_REG: "vne:scenario:line_exec_reg",
|
|
13
|
-
LINE_NEXT_REG: "vne:scenario:line_next_reg",
|
|
14
10
|
LINES_GET: "vne:scenario:lines_get",
|
|
15
11
|
};
|
package/package.json
CHANGED
package/src/const.ts
CHANGED
|
@@ -6,6 +6,7 @@ export const LINE_KEYWORDS = {
|
|
|
6
6
|
ASYNC: "async",
|
|
7
7
|
EXTEND: "extend",
|
|
8
8
|
AUTONEXT: "autonext",
|
|
9
|
+
DANGEROUS: "dangerous",
|
|
9
10
|
} as const;
|
|
10
11
|
|
|
11
12
|
export const LINE_PREFIXES = {
|
|
@@ -13,10 +14,22 @@ export const LINE_PREFIXES = {
|
|
|
13
14
|
BLOCK: "%",
|
|
14
15
|
} as const;
|
|
15
16
|
|
|
17
|
+
export const EXEC_ACTIONS = {
|
|
18
|
+
ANCHOR: "anchor",
|
|
19
|
+
GOTO: "goto",
|
|
20
|
+
} as const;
|
|
21
|
+
|
|
22
|
+
export const LOGS_ACTIONS = {
|
|
23
|
+
GOTO: "goto",
|
|
24
|
+
GOTO_MISSING: "goto_missing",
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
16
27
|
export const CONSTANTS = {
|
|
17
28
|
OTHER_MODULE,
|
|
18
29
|
LINE_KEYWORDS,
|
|
19
30
|
LINE_PREFIXES,
|
|
31
|
+
EXEC_ACTIONS,
|
|
32
|
+
LOGS_ACTIONS,
|
|
20
33
|
} as const;
|
|
21
34
|
|
|
22
35
|
export type Constants = typeof CONSTANTS;
|
package/src/events.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
export const SUBSCRIBE_EVENTS = {
|
|
2
2
|
EXEC: "vne:scenario:exec",
|
|
3
|
-
EXEC_REG: "vne:scenario:exec_reg",
|
|
4
3
|
EXEC_DELAY: "vne:scenario:exec_delay",
|
|
5
|
-
EXEC_AWAIT: "vne:scenario:exec_await",
|
|
6
4
|
NEXT: "vne:scenario:next",
|
|
7
5
|
LABEL_GET: "vne:scenario:label_get",
|
|
8
6
|
LINE_LOAD: "vne:scenario:line_load",
|
|
9
7
|
LINE_GET: "vne:scenario:line_get",
|
|
10
|
-
LINE_REG: "vne:scenario:line_reg",
|
|
11
8
|
LINE_LOAD_REG: "vne:scenario:line_load_reg",
|
|
12
9
|
LINE_EXEC_REG: "vne:scenario:line_exec_reg",
|
|
13
|
-
LINE_NEXT_REG: "vne:scenario:line_next_reg",
|
|
14
10
|
LINES_GET: "vne:scenario:lines_get",
|
|
15
11
|
} as const;
|
|
16
12
|
|