@sprucelabs/mercury-types 29.0.1 → 30.0.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.
@@ -14,6 +14,20 @@ const feedOptionsSchema = {
14
14
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.',
15
15
  options: undefined
16
16
  },
17
+ /** . */
18
+ 'pathsToLinks': {
19
+ type: 'text',
20
+ isArray: true,
21
+ minArrayLength: 0,
22
+ options: undefined
23
+ },
24
+ /** . */
25
+ 'pathsToChoices': {
26
+ type: 'text',
27
+ isArray: true,
28
+ minArrayLength: 0,
29
+ options: undefined
30
+ },
17
31
  }
18
32
  };
19
33
  schema_1.SchemaRegistry.getInstance().trackSchema(feedOptionsSchema);
@@ -365,6 +365,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
365
365
  interface FeedOptions {
366
366
  /** . A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details. */
367
367
  'template'?: string | undefined | null;
368
+ 'pathsToLinks'?: string[] | undefined | null;
369
+ 'pathsToChoices'?: string[] | undefined | null;
368
370
  }
369
371
  interface FeedOptionsSchema extends SpruceSchema.Schema {
370
372
  id: 'feedOptions';
@@ -379,6 +381,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
379
381
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.';
380
382
  options: undefined;
381
383
  };
384
+ /** . */
385
+ 'pathsToLinks': {
386
+ type: 'text';
387
+ isArray: true;
388
+ minArrayLength: 0;
389
+ options: undefined;
390
+ };
391
+ /** . */
392
+ 'pathsToChoices': {
393
+ type: 'text';
394
+ isArray: true;
395
+ minArrayLength: 0;
396
+ options: undefined;
397
+ };
382
398
  };
383
399
  }
384
400
  type FeedOptionsEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema>;
@@ -0,0 +1 @@
1
+ export { choiceSchema as default } from '@sprucelabs/spruce-core-schemas';
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = void 0;
4
4
  var spruce_core_schemas_1 = require("@sprucelabs/spruce-core-schemas");
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.choicesSchema; } });
5
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.choiceSchema; } });
@@ -12,6 +12,20 @@ const feedOptionsSchema = {
12
12
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.',
13
13
  options: undefined
14
14
  },
15
+ /** . */
16
+ 'pathsToLinks': {
17
+ type: 'text',
18
+ isArray: true,
19
+ minArrayLength: 0,
20
+ options: undefined
21
+ },
22
+ /** . */
23
+ 'pathsToChoices': {
24
+ type: 'text',
25
+ isArray: true,
26
+ minArrayLength: 0,
27
+ options: undefined
28
+ },
15
29
  }
16
30
  };
17
31
  SchemaRegistry.getInstance().trackSchema(feedOptionsSchema);
@@ -365,6 +365,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
365
365
  interface FeedOptions {
366
366
  /** . A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details. */
367
367
  'template'?: string | undefined | null;
368
+ 'pathsToLinks'?: string[] | undefined | null;
369
+ 'pathsToChoices'?: string[] | undefined | null;
368
370
  }
369
371
  interface FeedOptionsSchema extends SpruceSchema.Schema {
370
372
  id: 'feedOptions';
@@ -379,6 +381,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
379
381
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.';
380
382
  options: undefined;
381
383
  };
384
+ /** . */
385
+ 'pathsToLinks': {
386
+ type: 'text';
387
+ isArray: true;
388
+ minArrayLength: 0;
389
+ options: undefined;
390
+ };
391
+ /** . */
392
+ 'pathsToChoices': {
393
+ type: 'text';
394
+ isArray: true;
395
+ minArrayLength: 0;
396
+ options: undefined;
397
+ };
382
398
  };
383
399
  }
384
400
  type FeedOptionsEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema>;
@@ -50,6 +50,16 @@ declare const _default: {
50
50
  type: "text";
51
51
  hint: string;
52
52
  };
53
+ pathsToLinks: {
54
+ type: "text";
55
+ isArray: true;
56
+ minArrayLength: number;
57
+ };
58
+ pathsToChoices: {
59
+ type: "text";
60
+ isArray: true;
61
+ minArrayLength: number;
62
+ };
53
63
  };
54
64
  };
55
65
  };
@@ -61,6 +61,16 @@ export default buildSchema({
61
61
  type: 'text',
62
62
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.',
63
63
  },
64
+ pathsToLinks: {
65
+ type: 'text',
66
+ isArray: true,
67
+ minArrayLength: 0,
68
+ },
69
+ pathsToChoices: {
70
+ type: 'text',
71
+ isArray: true,
72
+ minArrayLength: 0,
73
+ },
64
74
  },
65
75
  }),
66
76
  },
@@ -50,6 +50,16 @@ declare const _default: {
50
50
  type: "text";
51
51
  hint: string;
52
52
  };
53
+ pathsToLinks: {
54
+ type: "text";
55
+ isArray: true;
56
+ minArrayLength: number;
57
+ };
58
+ pathsToChoices: {
59
+ type: "text";
60
+ isArray: true;
61
+ minArrayLength: number;
62
+ };
53
63
  };
54
64
  };
55
65
  };
@@ -66,6 +66,16 @@ exports.default = (0, schema_1.buildSchema)({
66
66
  type: 'text',
67
67
  hint: 'A handlebarsjs template used to render the chat bubbles in the feed. You will have both the entire target and payload available to you in the template. See http://developer.spruce.bot for more details.',
68
68
  },
69
+ pathsToLinks: {
70
+ type: 'text',
71
+ isArray: true,
72
+ minArrayLength: 0,
73
+ },
74
+ pathsToChoices: {
75
+ type: 'text',
76
+ isArray: true,
77
+ minArrayLength: 0,
78
+ },
69
79
  },
70
80
  }),
71
81
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "29.0.1",
6
+ "version": "30.0.2",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -65,17 +65,17 @@
65
65
  "watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev"
66
66
  },
67
67
  "dependencies": {
68
- "@sprucelabs/error": "^5.0.459",
69
- "@sprucelabs/schema": "^28.2.14",
70
- "@sprucelabs/spruce-core-schemas": "^28.0.2"
68
+ "@sprucelabs/error": "^5.0.460",
69
+ "@sprucelabs/schema": "^28.2.16",
70
+ "@sprucelabs/spruce-core-schemas": "^29.0.3"
71
71
  },
72
72
  "devDependencies": {
73
- "@sprucelabs/esm-postbuild": "^1.0.477",
74
- "@sprucelabs/jest-json-reporter": "^6.0.387",
75
- "@sprucelabs/resolve-path-aliases": "^1.1.49",
73
+ "@sprucelabs/esm-postbuild": "^1.0.478",
74
+ "@sprucelabs/jest-json-reporter": "^6.0.388",
75
+ "@sprucelabs/resolve-path-aliases": "^1.1.50",
76
76
  "@sprucelabs/semantic-release": "^4.0.8",
77
- "@sprucelabs/test": "^7.7.317",
78
- "@sprucelabs/test-utils": "^3.0.555",
77
+ "@sprucelabs/test": "^7.7.318",
78
+ "@sprucelabs/test-utils": "^3.0.556",
79
79
  "@types/node": "^17.0.35",
80
80
  "chokidar-cli": "^3.0.0",
81
81
  "concurrently": "^7.2.1",
@@ -88,7 +88,7 @@
88
88
  "ts-node": "^10.8.0",
89
89
  "tsc-watch": "^5.0.3",
90
90
  "tsconfig-paths": "^4.0.0",
91
- "typescript": "^4.6.4"
91
+ "typescript": "^4.7.2"
92
92
  },
93
93
  "jest": {
94
94
  "maxWorkers": 4,
@@ -1 +0,0 @@
1
- export { choicesSchema as default } from '@sprucelabs/spruce-core-schemas';