@voiceflow/base-types 2.28.1 → 2.30.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.
@@ -16,4 +16,5 @@ export interface Model<Data extends AnyRecord = AnyRecord> {
16
16
  data?: Data;
17
17
  scopes: string[];
18
18
  permissions: string[];
19
+ secondaryKeyID?: string | null;
19
20
  }
@@ -12,9 +12,10 @@ export interface BasePort {
12
12
  type: string | PortType;
13
13
  target: Nullable<string>;
14
14
  }
15
- export interface BaseStepPorts<Builtin extends Partial<Record<PortType, BasePort>>, Dynamic extends BasePort[] = BasePort[]> {
15
+ export interface BaseStepPorts<Builtin extends Partial<Record<PortType, BasePort>>, Dynamic extends BasePort[] = BasePort[], ByKey extends Record<string, BasePort> = Record<string, BasePort>> {
16
16
  builtIn: Builtin;
17
17
  dynamic: Dynamic;
18
+ byKey: ByKey;
18
19
  }
19
20
  export interface AnyBaseStepPorts extends BaseStepPorts<Record<string, BasePort>, BasePort[]> {
20
21
  }
@@ -1,3 +1,3 @@
1
1
  export * from './logs';
2
2
  export * from './runtime';
3
- export { Iso8601Timestamp, PathReference } from './utils';
3
+ export { getValueForLogLevel, Iso8601Timestamp, PathReference } from './utils';
@@ -10,5 +10,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.getValueForLogLevel = void 0;
13
14
  __exportStar(require("./logs"), exports);
14
15
  __exportStar(require("./runtime"), exports);
16
+ var utils_1 = require("./utils");
17
+ Object.defineProperty(exports, "getValueForLogLevel", { enumerable: true, get: function () { return utils_1.getValueForLogLevel; } });
@@ -16,4 +16,5 @@ export interface Model<Data extends AnyRecord = AnyRecord> {
16
16
  data?: Data;
17
17
  scopes: string[];
18
18
  permissions: string[];
19
+ secondaryKeyID?: string | null;
19
20
  }
@@ -12,9 +12,10 @@ export interface BasePort {
12
12
  type: string | PortType;
13
13
  target: Nullable<string>;
14
14
  }
15
- export interface BaseStepPorts<Builtin extends Partial<Record<PortType, BasePort>>, Dynamic extends BasePort[] = BasePort[]> {
15
+ export interface BaseStepPorts<Builtin extends Partial<Record<PortType, BasePort>>, Dynamic extends BasePort[] = BasePort[], ByKey extends Record<string, BasePort> = Record<string, BasePort>> {
16
16
  builtIn: Builtin;
17
17
  dynamic: Dynamic;
18
+ byKey: ByKey;
18
19
  }
19
20
  export interface AnyBaseStepPorts extends BaseStepPorts<Record<string, BasePort>, BasePort[]> {
20
21
  }
@@ -1,3 +1,3 @@
1
1
  export * from './logs';
2
2
  export * from './runtime';
3
- export { Iso8601Timestamp, PathReference } from './utils';
3
+ export { getValueForLogLevel, Iso8601Timestamp, PathReference } from './utils';
@@ -1,2 +1,3 @@
1
1
  export * from './logs';
2
2
  export * from './runtime';
3
+ export { getValueForLogLevel } from './utils';
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.28.1",
4
+ "version": "2.30.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.26.1",
10
+ "@voiceflow/common": "^7.27.0",
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": "ccf301421e7006ce0527da562de9b9b4dc50234d"
46
+ "gitHead": "7c85d226c5ac626a4514c2366573ab760f328618"
47
47
  }