@sprucelabs/mercury-core-events 20.3.12 → 20.3.13

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,9 +1,6 @@
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
- ];
7
4
  'events-contract': [
8
5
  'can-register-global-events'
9
6
  ];
@@ -68,6 +65,9 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
68
65
  'can-view-marketplace',
69
66
  'can-check-if-skill-is-installed'
70
67
  ];
68
+ 'chat-bot-contract': [
69
+ 'can-register-chat-bots'
70
+ ];
71
71
  }
72
72
  }
73
73
  export interface PermissionContractMap {
@@ -11,6 +11,12 @@ const chatbotSchema = {
11
11
  namespace: 'Mercury',
12
12
  name: '',
13
13
  fields: {
14
+ /** . */
15
+ 'title': {
16
+ type: 'text',
17
+ isRequired: true,
18
+ options: undefined
19
+ },
14
20
  /** . */
15
21
  'yourJobIfYouChooseToAcceptItIs': {
16
22
  type: 'text',
@@ -931,6 +931,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
931
931
  }
932
932
  namespace SpruceSchemas.Mercury.v2020_12_25 {
933
933
  interface Chatbot {
934
+ 'title': string;
934
935
  'yourJobIfYouChooseToAcceptItIs': string;
935
936
  'weAreDoneWhen': string;
936
937
  'pleaseKeepInMindThat'?: string[] | undefined | null;
@@ -943,6 +944,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
943
944
  namespace: 'Mercury';
944
945
  name: '';
945
946
  fields: {
947
+ /** . */
948
+ 'title': {
949
+ type: 'text';
950
+ isRequired: true;
951
+ options: undefined;
952
+ };
946
953
  /** . */
947
954
  'yourJobIfYouChooseToAcceptItIs': {
948
955
  type: 'text';
@@ -13,6 +13,10 @@
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",
16
20
  "shouldSyncOnlyCoreEvents": "true"
17
21
  }
18
22
  }
@@ -1,9 +1,6 @@
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
- ];
7
4
  'events-contract': [
8
5
  'can-register-global-events'
9
6
  ];
@@ -68,6 +65,9 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
68
65
  'can-view-marketplace',
69
66
  'can-check-if-skill-is-installed'
70
67
  ];
68
+ 'chat-bot-contract': [
69
+ 'can-register-chat-bots'
70
+ ];
71
71
  }
72
72
  }
73
73
  export interface PermissionContractMap {
@@ -6,6 +6,12 @@ const chatbotSchema = {
6
6
  namespace: 'Mercury',
7
7
  name: '',
8
8
  fields: {
9
+ /** . */
10
+ 'title': {
11
+ type: 'text',
12
+ isRequired: true,
13
+ options: undefined
14
+ },
9
15
  /** . */
10
16
  'yourJobIfYouChooseToAcceptItIs': {
11
17
  type: 'text',
@@ -931,6 +931,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
931
931
  }
932
932
  namespace SpruceSchemas.Mercury.v2020_12_25 {
933
933
  interface Chatbot {
934
+ 'title': string;
934
935
  'yourJobIfYouChooseToAcceptItIs': string;
935
936
  'weAreDoneWhen': string;
936
937
  'pleaseKeepInMindThat'?: string[] | undefined | null;
@@ -943,6 +944,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
943
944
  namespace: 'Mercury';
944
945
  name: '';
945
946
  fields: {
947
+ /** . */
948
+ 'title': {
949
+ type: 'text';
950
+ isRequired: true;
951
+ options: undefined;
952
+ };
946
953
  /** . */
947
954
  'yourJobIfYouChooseToAcceptItIs': {
948
955
  type: 'text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "20.3.12",
3
+ "version": "20.3.13",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",