@voiceflow/base-types 2.42.1 → 2.44.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/build/common/node/utils/trace.d.ts +1 -0
- package/build/common/runtimeLogs/logs/steps/condition.d.ts +1 -1
- package/build/common/runtimeLogs/logs/steps/flow.d.ts +2 -4
- package/build/common/runtimeLogs/logs/steps/text.d.ts +3 -1
- package/build/common/runtimeLogs/utils/types.d.ts +5 -0
- package/build/esm/node/utils/trace.d.ts +1 -0
- package/build/esm/runtimeLogs/logs/steps/condition.d.ts +1 -1
- package/build/esm/runtimeLogs/logs/steps/flow.d.ts +2 -4
- package/build/esm/runtimeLogs/logs/steps/text.d.ts +3 -1
- package/build/esm/runtimeLogs/utils/types.d.ts +5 -0
- package/package.json +3 -3
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowReference, ValueChange } from '../../utils';
|
|
2
2
|
import { BaseStepLog } from '../base';
|
|
3
3
|
import { StepLogKind } from '../kinds';
|
|
4
|
-
export declare type FlowStepLog = BaseStepLog<StepLogKind.FLOW,
|
|
5
|
-
path: PathReference;
|
|
6
|
-
}>;
|
|
4
|
+
export declare type FlowStepLog = BaseStepLog<StepLogKind.FLOW, ValueChange<FlowReference>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Text as TextNode } from "../../../node";
|
|
1
2
|
import { BaseStepLog } from '../base';
|
|
2
3
|
import { StepLogKind } from '../kinds';
|
|
3
4
|
export declare type TextStepLog = BaseStepLog<StepLogKind.TEXT, {
|
|
4
|
-
|
|
5
|
+
plainContent: string;
|
|
6
|
+
richContent: TextNode.TextData;
|
|
5
7
|
}>;
|
|
@@ -5,6 +5,11 @@ export interface PathReference {
|
|
|
5
5
|
componentName: StepLogKind;
|
|
6
6
|
stepID: string;
|
|
7
7
|
}
|
|
8
|
+
/** A reference to a flow (frame) on the canvas. */
|
|
9
|
+
export interface FlowReference {
|
|
10
|
+
name: string | null;
|
|
11
|
+
programID: string;
|
|
12
|
+
}
|
|
8
13
|
/** A common interface for representing a before & after change of a value. */
|
|
9
14
|
export interface ValueChange<T> {
|
|
10
15
|
before: T;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowReference, ValueChange } from '../../utils';
|
|
2
2
|
import { BaseStepLog } from '../base';
|
|
3
3
|
import { StepLogKind } from '../kinds';
|
|
4
|
-
export declare type FlowStepLog = BaseStepLog<StepLogKind.FLOW,
|
|
5
|
-
path: PathReference;
|
|
6
|
-
}>;
|
|
4
|
+
export declare type FlowStepLog = BaseStepLog<StepLogKind.FLOW, ValueChange<FlowReference>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Text as TextNode } from "../../../node";
|
|
1
2
|
import { BaseStepLog } from '../base';
|
|
2
3
|
import { StepLogKind } from '../kinds';
|
|
3
4
|
export declare type TextStepLog = BaseStepLog<StepLogKind.TEXT, {
|
|
4
|
-
|
|
5
|
+
plainContent: string;
|
|
6
|
+
richContent: TextNode.TextData;
|
|
5
7
|
}>;
|
|
@@ -5,6 +5,11 @@ export interface PathReference {
|
|
|
5
5
|
componentName: StepLogKind;
|
|
6
6
|
stepID: string;
|
|
7
7
|
}
|
|
8
|
+
/** A reference to a flow (frame) on the canvas. */
|
|
9
|
+
export interface FlowReference {
|
|
10
|
+
name: string | null;
|
|
11
|
+
programID: string;
|
|
12
|
+
}
|
|
8
13
|
/** A common interface for representing a before & after change of a value. */
|
|
9
14
|
export interface ValueChange<T> {
|
|
10
15
|
before: T;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/base-types",
|
|
3
3
|
"description": "Voiceflow base project types",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.44.1",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@voiceflow/common": "^7.27.
|
|
10
|
+
"@voiceflow/common": "^7.27.1",
|
|
11
11
|
"slate": "0.73.0"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"test:smoke": "exit 0",
|
|
44
44
|
"test:unit": "exit 0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "70e0982f53503463181d06f2c1ed160b1aa8e0c8"
|
|
47
47
|
}
|