@sprucelabs/mercury-types 27.0.253 → 27.1.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/eventSignature.schema.js +6 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.d.ts +3 -0
- package/build/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.js +20 -0
- package/build/.spruce/schemas/schemas.types.d.ts +30 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/eventSignature.schema.js +6 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/feedOptions.schema.js +18 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +30 -0
- package/build/esm/schemas/v2020_12_25/eventContract.builder.d.ts +14 -0
- package/build/esm/schemas/v2020_12_25/eventContract.builder.js +14 -0
- package/build/schemas/v2020_12_25/eventContract.builder.d.ts +14 -0
- package/build/schemas/v2020_12_25/eventContract.builder.js +14 -0
- package/package.json +9 -9
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
+
const feedOptions_schema_1 = __importDefault(require("./feedOptions.schema"));
|
|
7
8
|
const permissionReference_schema_1 = __importDefault(require("./permissionReference.schema"));
|
|
8
9
|
const permissionContract_schema_1 = __importDefault(require("./permissionContract.schema"));
|
|
9
10
|
const eventSignatureSchema = {
|
|
@@ -30,6 +31,11 @@ const eventSignatureSchema = {
|
|
|
30
31
|
options: { valueType: `SpruceSchema.Schema`, }
|
|
31
32
|
},
|
|
32
33
|
/** . */
|
|
34
|
+
'feed': {
|
|
35
|
+
type: 'schema',
|
|
36
|
+
options: { schema: feedOptions_schema_1.default, }
|
|
37
|
+
},
|
|
38
|
+
/** . */
|
|
33
39
|
'listenPermissions': {
|
|
34
40
|
type: 'schema',
|
|
35
41
|
options: { schema: permissionReference_schema_1.default, }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schema_1 = require("@sprucelabs/schema");
|
|
4
|
+
const feedOptionsSchema = {
|
|
5
|
+
id: 'feedOptions',
|
|
6
|
+
version: 'v2020_12_25',
|
|
7
|
+
namespace: 'Mercury',
|
|
8
|
+
name: '',
|
|
9
|
+
moduleToImportFromWhenRemote: '@sprucelabs/mercury-types',
|
|
10
|
+
fields: {
|
|
11
|
+
/** . 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. */
|
|
12
|
+
'template': {
|
|
13
|
+
type: 'text',
|
|
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
|
+
options: undefined
|
|
16
|
+
},
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
schema_1.SchemaRegistry.getInstance().trackSchema(feedOptionsSchema);
|
|
20
|
+
exports.default = feedOptionsSchema;
|
|
@@ -361,11 +361,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
361
361
|
}
|
|
362
362
|
type PermissionReferenceEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.PermissionReferenceSchema>;
|
|
363
363
|
}
|
|
364
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
365
|
+
interface FeedOptions {
|
|
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
|
+
'template'?: string | undefined | null;
|
|
368
|
+
}
|
|
369
|
+
interface FeedOptionsSchema extends SpruceSchema.Schema {
|
|
370
|
+
id: 'feedOptions';
|
|
371
|
+
version: 'v2020_12_25';
|
|
372
|
+
namespace: 'Mercury';
|
|
373
|
+
name: '';
|
|
374
|
+
moduleToImportFromWhenRemote: '@sprucelabs/mercury-types';
|
|
375
|
+
fields: {
|
|
376
|
+
/** . 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. */
|
|
377
|
+
'template': {
|
|
378
|
+
type: 'text';
|
|
379
|
+
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
|
+
options: undefined;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
type FeedOptionsEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema>;
|
|
385
|
+
}
|
|
364
386
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
365
387
|
interface EventSignature {
|
|
366
388
|
'isGlobal'?: boolean | undefined | null;
|
|
367
389
|
'responsePayloadSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
368
390
|
'emitPayloadSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
391
|
+
'feed'?: SpruceSchemas.Mercury.v2020_12_25.FeedOptions | undefined | null;
|
|
369
392
|
'listenPermissions'?: SpruceSchemas.Mercury.v2020_12_25.PermissionReference | undefined | null;
|
|
370
393
|
'emitPermissions'?: SpruceSchemas.Mercury.v2020_12_25.PermissionReference | undefined | null;
|
|
371
394
|
'listenPermissionContract'?: SpruceSchemas.Mercury.v2020_12_25.PermissionContract | undefined | null;
|
|
@@ -399,6 +422,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
399
422
|
};
|
|
400
423
|
};
|
|
401
424
|
/** . */
|
|
425
|
+
'feed': {
|
|
426
|
+
type: 'schema';
|
|
427
|
+
options: {
|
|
428
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
/** . */
|
|
402
432
|
'listenPermissions': {
|
|
403
433
|
type: 'schema';
|
|
404
434
|
options: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
import feedOptionsSchema_v2020_12_25 from './feedOptions.schema.js';
|
|
2
3
|
import permissionReferenceSchema_v2020_12_25 from './permissionReference.schema.js';
|
|
3
4
|
import permissionContractSchema_v2020_12_25 from './permissionContract.schema.js';
|
|
4
5
|
const eventSignatureSchema = {
|
|
@@ -25,6 +26,11 @@ const eventSignatureSchema = {
|
|
|
25
26
|
options: { valueType: `SpruceSchema.Schema`, }
|
|
26
27
|
},
|
|
27
28
|
/** . */
|
|
29
|
+
'feed': {
|
|
30
|
+
type: 'schema',
|
|
31
|
+
options: { schema: feedOptionsSchema_v2020_12_25, }
|
|
32
|
+
},
|
|
33
|
+
/** . */
|
|
28
34
|
'listenPermissions': {
|
|
29
35
|
type: 'schema',
|
|
30
36
|
options: { schema: permissionReferenceSchema_v2020_12_25, }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const feedOptionsSchema = {
|
|
3
|
+
id: 'feedOptions',
|
|
4
|
+
version: 'v2020_12_25',
|
|
5
|
+
namespace: 'Mercury',
|
|
6
|
+
name: '',
|
|
7
|
+
moduleToImportFromWhenRemote: '@sprucelabs/mercury-types',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . 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. */
|
|
10
|
+
'template': {
|
|
11
|
+
type: 'text',
|
|
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
|
+
options: undefined
|
|
14
|
+
},
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
SchemaRegistry.getInstance().trackSchema(feedOptionsSchema);
|
|
18
|
+
export default feedOptionsSchema;
|
|
@@ -361,11 +361,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
361
361
|
}
|
|
362
362
|
type PermissionReferenceEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.PermissionReferenceSchema>;
|
|
363
363
|
}
|
|
364
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
365
|
+
interface FeedOptions {
|
|
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
|
+
'template'?: string | undefined | null;
|
|
368
|
+
}
|
|
369
|
+
interface FeedOptionsSchema extends SpruceSchema.Schema {
|
|
370
|
+
id: 'feedOptions';
|
|
371
|
+
version: 'v2020_12_25';
|
|
372
|
+
namespace: 'Mercury';
|
|
373
|
+
name: '';
|
|
374
|
+
moduleToImportFromWhenRemote: '@sprucelabs/mercury-types';
|
|
375
|
+
fields: {
|
|
376
|
+
/** . 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. */
|
|
377
|
+
'template': {
|
|
378
|
+
type: 'text';
|
|
379
|
+
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
|
+
options: undefined;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
type FeedOptionsEntity = SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema>;
|
|
385
|
+
}
|
|
364
386
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
365
387
|
interface EventSignature {
|
|
366
388
|
'isGlobal'?: boolean | undefined | null;
|
|
367
389
|
'responsePayloadSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
368
390
|
'emitPayloadSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
391
|
+
'feed'?: SpruceSchemas.Mercury.v2020_12_25.FeedOptions | undefined | null;
|
|
369
392
|
'listenPermissions'?: SpruceSchemas.Mercury.v2020_12_25.PermissionReference | undefined | null;
|
|
370
393
|
'emitPermissions'?: SpruceSchemas.Mercury.v2020_12_25.PermissionReference | undefined | null;
|
|
371
394
|
'listenPermissionContract'?: SpruceSchemas.Mercury.v2020_12_25.PermissionContract | undefined | null;
|
|
@@ -399,6 +422,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
399
422
|
};
|
|
400
423
|
};
|
|
401
424
|
/** . */
|
|
425
|
+
'feed': {
|
|
426
|
+
type: 'schema';
|
|
427
|
+
options: {
|
|
428
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FeedOptionsSchema;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
/** . */
|
|
402
432
|
'listenPermissions': {
|
|
403
433
|
type: 'schema';
|
|
404
434
|
options: {
|
|
@@ -40,6 +40,20 @@ declare const _default: {
|
|
|
40
40
|
valueType: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
+
feed: {
|
|
44
|
+
type: "schema";
|
|
45
|
+
options: {
|
|
46
|
+
schema: {
|
|
47
|
+
id: string;
|
|
48
|
+
fields: {
|
|
49
|
+
template: {
|
|
50
|
+
type: "text";
|
|
51
|
+
hint: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
43
57
|
listenPermissions: {
|
|
44
58
|
type: "schema";
|
|
45
59
|
options: {
|
|
@@ -51,6 +51,20 @@ export default buildSchema({
|
|
|
51
51
|
type: 'raw',
|
|
52
52
|
options: { valueType: 'SpruceSchema.Schema' },
|
|
53
53
|
},
|
|
54
|
+
feed: {
|
|
55
|
+
type: 'schema',
|
|
56
|
+
options: {
|
|
57
|
+
schema: buildSchema({
|
|
58
|
+
id: 'feedOptions',
|
|
59
|
+
fields: {
|
|
60
|
+
template: {
|
|
61
|
+
type: 'text',
|
|
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
|
+
},
|
|
64
|
+
},
|
|
65
|
+
}),
|
|
66
|
+
},
|
|
67
|
+
},
|
|
54
68
|
listenPermissions: {
|
|
55
69
|
type: 'schema',
|
|
56
70
|
options: {
|
|
@@ -40,6 +40,20 @@ declare const _default: {
|
|
|
40
40
|
valueType: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
+
feed: {
|
|
44
|
+
type: "schema";
|
|
45
|
+
options: {
|
|
46
|
+
schema: {
|
|
47
|
+
id: string;
|
|
48
|
+
fields: {
|
|
49
|
+
template: {
|
|
50
|
+
type: "text";
|
|
51
|
+
hint: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
43
57
|
listenPermissions: {
|
|
44
58
|
type: "schema";
|
|
45
59
|
options: {
|
|
@@ -56,6 +56,20 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
56
56
|
type: 'raw',
|
|
57
57
|
options: { valueType: 'SpruceSchema.Schema' },
|
|
58
58
|
},
|
|
59
|
+
feed: {
|
|
60
|
+
type: 'schema',
|
|
61
|
+
options: {
|
|
62
|
+
schema: (0, schema_1.buildSchema)({
|
|
63
|
+
id: 'feedOptions',
|
|
64
|
+
fields: {
|
|
65
|
+
template: {
|
|
66
|
+
type: 'text',
|
|
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
|
+
},
|
|
69
|
+
},
|
|
70
|
+
}),
|
|
71
|
+
},
|
|
72
|
+
},
|
|
59
73
|
listenPermissions: {
|
|
60
74
|
type: 'schema',
|
|
61
75
|
options: {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "27.0
|
|
6
|
+
"version": "27.1.0",
|
|
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.
|
|
69
|
-
"@sprucelabs/schema": "^27.1.
|
|
70
|
-
"@sprucelabs/spruce-core-schemas": "^25.0.
|
|
68
|
+
"@sprucelabs/error": "^5.0.450",
|
|
69
|
+
"@sprucelabs/schema": "^27.1.69",
|
|
70
|
+
"@sprucelabs/spruce-core-schemas": "^25.0.110"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@sprucelabs/esm-postbuild": "^1.0.
|
|
74
|
-
"@sprucelabs/jest-json-reporter": "^6.0.
|
|
75
|
-
"@sprucelabs/resolve-path-aliases": "^1.1.
|
|
73
|
+
"@sprucelabs/esm-postbuild": "^1.0.460",
|
|
74
|
+
"@sprucelabs/jest-json-reporter": "^6.0.373",
|
|
75
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.37",
|
|
76
76
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
77
|
-
"@sprucelabs/test": "^7.7.
|
|
78
|
-
"@sprucelabs/test-utils": "^3.0.
|
|
77
|
+
"@sprucelabs/test": "^7.7.311",
|
|
78
|
+
"@sprucelabs/test-utils": "^3.0.538",
|
|
79
79
|
"@types/node": "^17.0.31",
|
|
80
80
|
"chokidar-cli": "^3.0.0",
|
|
81
81
|
"concurrently": "^7.1.0",
|