@sprucelabs/mercury-types 28.0.41 → 30.0.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.
- package/build/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.js +14 -0
- package/build/.spruce/schemas/schemas.types.d.ts +16 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/choice.schema.d.ts +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/{fullMessageChoices.schema.js → choice.schema.js} +1 -1
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.d.ts +1 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/link.schema.js +5 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.js +14 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +16 -0
- package/build/esm/schemas/v2020_12_25/eventContract.builder.d.ts +10 -0
- package/build/esm/schemas/v2020_12_25/eventContract.builder.js +10 -0
- package/build/schemas/v2020_12_25/eventContract.builder.d.ts +10 -0
- package/build/schemas/v2020_12_25/eventContract.builder.js +10 -0
- package/package.json +2 -2
- package/build/.spruce/schemas/spruce/v2020_07_22/fullMessageChoices.schema.d.ts +0 -1
|
@@ -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';
|
package/build/.spruce/schemas/spruce/v2020_07_22/{fullMessageChoices.schema.js → choice.schema.js}
RENAMED
|
@@ -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.
|
|
5
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return spruce_core_schemas_1.choiceSchema; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { linkSchema as default } from '@sprucelabs/spruce-core-schemas';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = void 0;
|
|
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.linkSchema; } });
|
|
@@ -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": "
|
|
6
|
+
"version": "30.0.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"build"
|
|
9
9
|
],
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@sprucelabs/error": "^5.0.459",
|
|
69
69
|
"@sprucelabs/schema": "^28.2.14",
|
|
70
|
-
"@sprucelabs/spruce-core-schemas": "^
|
|
70
|
+
"@sprucelabs/spruce-core-schemas": "^29.0.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@sprucelabs/esm-postbuild": "^1.0.477",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { fullMessageChoicesSchema as default } from '@sprucelabs/spruce-core-schemas';
|