@voiceflow/base-types 2.107.1 → 2.107.2

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.
@@ -1,14 +1,6 @@
1
- export declare const FunctionVariableType: {
2
- readonly ANY: "any";
3
- readonly ARRAY: "array";
4
- readonly STRING: "string";
5
- readonly OBJECT: "object";
6
- readonly NUMBER: "number";
7
- readonly BOOLEAN: "boolean";
8
- };
9
- export declare type FunctionVariableType = typeof FunctionVariableType[keyof typeof FunctionVariableType];
1
+ import { VariableDatatype } from '../cms/variables';
10
2
  export interface FunctionCompiledVariableDeclaration {
11
- type: FunctionVariableType;
3
+ type: VariableDatatype;
12
4
  }
13
5
  export interface FunctionCompiledDefinition {
14
6
  codeId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"functionDefinition.d.ts","sourceRoot":"","sources":["../../../src/models/functionDefinition.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AAEX,oBAAY,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAElG,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAChE,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
1
+ {"version":3,"file":"functionDefinition.d.ts","sourceRoot":"","sources":["../../../src/models/functionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAChE,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
@@ -1,11 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FunctionVariableType = void 0;
4
- exports.FunctionVariableType = {
5
- ANY: 'any',
6
- ARRAY: 'array',
7
- STRING: 'string',
8
- OBJECT: 'object',
9
- NUMBER: 'number',
10
- BOOLEAN: 'boolean',
11
- };
@@ -1,14 +1,6 @@
1
- export declare const FunctionVariableType: {
2
- readonly ANY: "any";
3
- readonly ARRAY: "array";
4
- readonly STRING: "string";
5
- readonly OBJECT: "object";
6
- readonly NUMBER: "number";
7
- readonly BOOLEAN: "boolean";
8
- };
9
- export declare type FunctionVariableType = typeof FunctionVariableType[keyof typeof FunctionVariableType];
1
+ import { VariableDatatype } from '../cms/variables.js';
10
2
  export interface FunctionCompiledVariableDeclaration {
11
- type: FunctionVariableType;
3
+ type: VariableDatatype;
12
4
  }
13
5
  export interface FunctionCompiledDefinition {
14
6
  codeId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"functionDefinition.d.ts","sourceRoot":"","sources":["../../../src/models/functionDefinition.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AAEX,oBAAY,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAElG,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAChE,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
1
+ {"version":3,"file":"functionDefinition.d.ts","sourceRoot":"","sources":["../../../src/models/functionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAChE,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
@@ -1,8 +1 @@
1
- export const FunctionVariableType = {
2
- ANY: 'any',
3
- ARRAY: 'array',
4
- STRING: 'string',
5
- OBJECT: 'object',
6
- NUMBER: 'number',
7
- BOOLEAN: 'boolean',
8
- };
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voiceflow/base-types",
3
3
  "description": "Voiceflow base project types",
4
- "version": "2.107.1",
4
+ "version": "2.107.2",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
@@ -52,5 +52,5 @@
52
52
  "volta": {
53
53
  "extends": "../../package.json"
54
54
  },
55
- "gitHead": "65b38331180996377df526450708e32b61ae53a3"
55
+ "gitHead": "58accb57be42a107b0275d6f8b1909e0f41b0156"
56
56
  }