@voiceflow/base-types 2.38.0 → 2.39.0

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,8 +1,10 @@
1
1
  import { AnyRecord } from '@voiceflow/common';
2
2
  import { Member } from './member';
3
3
  import { Prototype } from './prototype';
4
+ import { Themes } from './theme';
4
5
  export * from './member';
5
6
  export * from './prototype';
7
+ export * from './theme';
6
8
  export declare enum LinkType {
7
9
  CURVED = "CURVED",
8
10
  STRAIGHT = "STRAIGHT"
@@ -30,6 +32,7 @@ export interface Model<PlatformData extends AnyRecord, MemberPlatformData extend
30
32
  linkType?: LinkType;
31
33
  prototype?: Prototype;
32
34
  reportTags?: Record<string, ReportTag>;
35
+ customThemes: Themes;
33
36
  members: Member<MemberPlatformData>[];
34
37
  platformData: PlatformData;
35
38
  }
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.Privacy = exports.LinkType = void 0;
14
14
  __exportStar(require("./member"), exports);
15
15
  __exportStar(require("./prototype"), exports);
16
+ __exportStar(require("./theme"), exports);
16
17
  var LinkType;
17
18
  (function (LinkType) {
18
19
  LinkType["CURVED"] = "CURVED";
@@ -0,0 +1,10 @@
1
+ declare type Shades = {
2
+ [key in '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900']: string;
3
+ };
4
+ export interface Theme {
5
+ palette: Shades;
6
+ standardColor: string;
7
+ name?: string;
8
+ }
9
+ export declare type Themes = Array<Theme>;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,10 @@
1
1
  import { AnyRecord } from '@voiceflow/common';
2
2
  import { Member } from './member';
3
3
  import { Prototype } from './prototype';
4
+ import { Themes } from './theme';
4
5
  export * from './member';
5
6
  export * from './prototype';
7
+ export * from './theme';
6
8
  export declare enum LinkType {
7
9
  CURVED = "CURVED",
8
10
  STRAIGHT = "STRAIGHT"
@@ -30,6 +32,7 @@ export interface Model<PlatformData extends AnyRecord, MemberPlatformData extend
30
32
  linkType?: LinkType;
31
33
  prototype?: Prototype;
32
34
  reportTags?: Record<string, ReportTag>;
35
+ customThemes: Themes;
33
36
  members: Member<MemberPlatformData>[];
34
37
  platformData: PlatformData;
35
38
  }
@@ -1,5 +1,6 @@
1
1
  export * from './member';
2
2
  export * from './prototype';
3
+ export * from './theme';
3
4
  export var LinkType;
4
5
  (function (LinkType) {
5
6
  LinkType["CURVED"] = "CURVED";
@@ -0,0 +1,10 @@
1
+ declare type Shades = {
2
+ [key in '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900']: string;
3
+ };
4
+ export interface Theme {
5
+ palette: Shades;
6
+ standardColor: string;
7
+ name?: string;
8
+ }
9
+ export declare type Themes = Array<Theme>;
10
+ export {};
@@ -0,0 +1 @@
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.38.0",
4
+ "version": "2.39.0",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
@@ -43,5 +43,5 @@
43
43
  "test:smoke": "exit 0",
44
44
  "test:unit": "exit 0"
45
45
  },
46
- "gitHead": "9caeeb30bbbc893e49197e30387524f47ff042ca"
46
+ "gitHead": "ae6a8f153e3a8522c98d1d591ebd8c2eb7803f0f"
47
47
  }