@sprucelabs/mercury-core-events 20.3.1 → 20.3.3
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/events/events.contract.d.ts +1 -0
- package/build/.spruce/events/mercury/registerChatBots.v2020_12_25.contract.d.ts +1 -0
- package/build/.spruce/events/mercury/registerChatBots.v2020_12_25.contract.js +1 -0
- package/build/.spruce/permissions/permissions.types.d.ts +3 -3
- package/build/.spruce/settings.json +0 -4
- package/build/esm/.spruce/events/events.contract.d.ts +1 -0
- package/build/esm/.spruce/events/mercury/registerChatBots.v2020_12_25.contract.d.ts +1 -0
- package/build/esm/.spruce/events/mercury/registerChatBots.v2020_12_25.contract.js +1 -0
- package/build/esm/.spruce/permissions/permissions.types.d.ts +3 -3
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import "./../../permissions/permissions.types";
|
|
|
2
2
|
declare const registerChatBotsEventContract: {
|
|
3
3
|
eventSignatures: {
|
|
4
4
|
'register-chat-bots::v2020_12_25': {
|
|
5
|
+
isGlobal: true;
|
|
5
6
|
listenPermissions: {
|
|
6
7
|
contractId: "chat-bot-contract";
|
|
7
8
|
permissionIdsAny: "can-register-chat-bots"[];
|
|
@@ -10,6 +10,7 @@ const registerChatBotsResponsePayload_schema_1 = __importDefault(require("./../.
|
|
|
10
10
|
const registerChatBotsEventContract = (0, mercury_types_1.buildEventContract)({
|
|
11
11
|
eventSignatures: {
|
|
12
12
|
'register-chat-bots::v2020_12_25': {
|
|
13
|
+
isGlobal: true,
|
|
13
14
|
listenPermissions: {
|
|
14
15
|
contractId: 'chat-bot-contract',
|
|
15
16
|
permissionIdsAny: ['can-register-chat-bots'],
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import '@sprucelabs/mercury-types';
|
|
2
2
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
3
3
|
interface PermissionContractMap {
|
|
4
|
+
'chat-bot-contract': [
|
|
5
|
+
'can-register-chat-bots'
|
|
6
|
+
];
|
|
4
7
|
'events-contract': [
|
|
5
8
|
'can-register-global-events'
|
|
6
9
|
];
|
|
@@ -65,9 +68,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
65
68
|
'can-view-marketplace',
|
|
66
69
|
'can-check-if-skill-is-installed'
|
|
67
70
|
];
|
|
68
|
-
'chat-bot-contract': [
|
|
69
|
-
'can-register-chat-bots'
|
|
70
|
-
];
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
export interface PermissionContractMap {
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
],
|
|
14
14
|
"events": {
|
|
15
15
|
"lastSync": {
|
|
16
|
-
"contractDestinationDir": "#spruce/events",
|
|
17
|
-
"schemaTypesLookupDir": "#spruce/schemas",
|
|
18
|
-
"skillEventContractTypesFile": "@sprucelabs/mercury-types/build/types/mercury.types",
|
|
19
|
-
"eventBuilderFile": "@sprucelabs/mercury-types",
|
|
20
16
|
"shouldSyncOnlyCoreEvents": "true"
|
|
21
17
|
}
|
|
22
18
|
}
|
|
@@ -2,6 +2,7 @@ import "./../../permissions/permissions.types";
|
|
|
2
2
|
declare const registerChatBotsEventContract: {
|
|
3
3
|
eventSignatures: {
|
|
4
4
|
'register-chat-bots::v2020_12_25': {
|
|
5
|
+
isGlobal: true;
|
|
5
6
|
listenPermissions: {
|
|
6
7
|
contractId: "chat-bot-contract";
|
|
7
8
|
permissionIdsAny: "can-register-chat-bots"[];
|
|
@@ -5,6 +5,7 @@ import registerChatBotsResponsePayloadSchema from './../../schemas/mercury/v2020
|
|
|
5
5
|
const registerChatBotsEventContract = buildEventContract({
|
|
6
6
|
eventSignatures: {
|
|
7
7
|
'register-chat-bots::v2020_12_25': {
|
|
8
|
+
isGlobal: true,
|
|
8
9
|
listenPermissions: {
|
|
9
10
|
contractId: 'chat-bot-contract',
|
|
10
11
|
permissionIdsAny: ['can-register-chat-bots'],
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import '@sprucelabs/mercury-types';
|
|
2
2
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
3
3
|
interface PermissionContractMap {
|
|
4
|
+
'chat-bot-contract': [
|
|
5
|
+
'can-register-chat-bots'
|
|
6
|
+
];
|
|
4
7
|
'events-contract': [
|
|
5
8
|
'can-register-global-events'
|
|
6
9
|
];
|
|
@@ -65,9 +68,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
65
68
|
'can-view-marketplace',
|
|
66
69
|
'can-check-if-skill-is-installed'
|
|
67
70
|
];
|
|
68
|
-
'chat-bot-contract': [
|
|
69
|
-
'can-register-chat-bots'
|
|
70
|
-
];
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
export interface PermissionContractMap {
|