@sprucelabs/mercury-core-events 22.2.0 → 22.2.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.
- package/build/.spruce/permissions/permissions.types.d.ts +3 -6
- package/build/.spruce/schemas/mercury/v2020_12_25/createLocationEmitPayload.schema.js +2 -2
- package/build/.spruce/schemas/mercury/v2020_12_25/updateLocationEmitPayload.schema.js +2 -2
- package/build/.spruce/schemas/schemas.types.d.ts +6 -6
- package/build/.spruce/settings.json +0 -4
- package/build/esm/.spruce/permissions/permissions.types.d.ts +3 -6
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/createLocationEmitPayload.schema.js +2 -2
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/updateLocationEmitPayload.schema.js +2 -2
- package/build/esm/.spruce/schemas/schemas.types.d.ts +6 -6
- package/package.json +3 -3
|
@@ -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
|
+
'chatbot-contract': [
|
|
5
|
+
'can-register-chatbots'
|
|
6
|
+
];
|
|
4
7
|
'events-contract': [
|
|
5
8
|
'can-register-global-events'
|
|
6
9
|
];
|
|
@@ -67,12 +70,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
67
70
|
'can-view-marketplace',
|
|
68
71
|
'can-check-if-skill-is-installed'
|
|
69
72
|
];
|
|
70
|
-
'chat-bot-contract': [
|
|
71
|
-
'can-register-chat-bots'
|
|
72
|
-
];
|
|
73
|
-
'chatbot-contract': [
|
|
74
|
-
'can-register-chatbots'
|
|
75
|
-
];
|
|
76
73
|
}
|
|
77
74
|
}
|
|
78
75
|
export interface PermissionContractMap {
|
|
@@ -14,9 +14,9 @@ const createLocationEmitPayloadSchema = {
|
|
|
14
14
|
isRequired: true,
|
|
15
15
|
options: undefined
|
|
16
16
|
},
|
|
17
|
-
/**
|
|
17
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
18
18
|
'num': {
|
|
19
|
-
label: '
|
|
19
|
+
label: 'Location number',
|
|
20
20
|
type: 'text',
|
|
21
21
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5',
|
|
22
22
|
options: undefined
|
|
@@ -13,9 +13,9 @@ const updateLocationEmitPayloadSchema = {
|
|
|
13
13
|
type: 'text',
|
|
14
14
|
options: undefined
|
|
15
15
|
},
|
|
16
|
-
/**
|
|
16
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
17
17
|
'num': {
|
|
18
|
-
label: '
|
|
18
|
+
label: 'Location number',
|
|
19
19
|
type: 'text',
|
|
20
20
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5',
|
|
21
21
|
options: undefined
|
|
@@ -1517,7 +1517,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1517
1517
|
interface CreateLocationEmitPayload {
|
|
1518
1518
|
/** Name. */
|
|
1519
1519
|
'name': string;
|
|
1520
|
-
/**
|
|
1520
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1521
1521
|
'num'?: string | undefined | null;
|
|
1522
1522
|
/** Public. Is this location viewable by guests? */
|
|
1523
1523
|
'isPublic'?: boolean | undefined | null;
|
|
@@ -1543,9 +1543,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1543
1543
|
isRequired: true;
|
|
1544
1544
|
options: undefined;
|
|
1545
1545
|
};
|
|
1546
|
-
/**
|
|
1546
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1547
1547
|
'num': {
|
|
1548
|
-
label: '
|
|
1548
|
+
label: 'Location number';
|
|
1549
1549
|
type: 'text';
|
|
1550
1550
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1551
1551
|
options: undefined;
|
|
@@ -10496,7 +10496,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10496
10496
|
interface UpdateLocationEmitPayload {
|
|
10497
10497
|
/** Name. */
|
|
10498
10498
|
'name'?: string | undefined | null;
|
|
10499
|
-
/**
|
|
10499
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
10500
10500
|
'num'?: string | undefined | null;
|
|
10501
10501
|
/** Slug. */
|
|
10502
10502
|
'slug'?: string | undefined | null;
|
|
@@ -10524,9 +10524,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10524
10524
|
type: 'text';
|
|
10525
10525
|
options: undefined;
|
|
10526
10526
|
};
|
|
10527
|
-
/**
|
|
10527
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
10528
10528
|
'num': {
|
|
10529
|
-
label: '
|
|
10529
|
+
label: 'Location number';
|
|
10530
10530
|
type: 'text';
|
|
10531
10531
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
10532
10532
|
options: undefined;
|
|
@@ -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
|
}
|
|
@@ -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
|
+
'chatbot-contract': [
|
|
5
|
+
'can-register-chatbots'
|
|
6
|
+
];
|
|
4
7
|
'events-contract': [
|
|
5
8
|
'can-register-global-events'
|
|
6
9
|
];
|
|
@@ -67,12 +70,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
67
70
|
'can-view-marketplace',
|
|
68
71
|
'can-check-if-skill-is-installed'
|
|
69
72
|
];
|
|
70
|
-
'chat-bot-contract': [
|
|
71
|
-
'can-register-chat-bots'
|
|
72
|
-
];
|
|
73
|
-
'chatbot-contract': [
|
|
74
|
-
'can-register-chatbots'
|
|
75
|
-
];
|
|
76
73
|
}
|
|
77
74
|
}
|
|
78
75
|
export interface PermissionContractMap {
|
|
@@ -12,9 +12,9 @@ const createLocationEmitPayloadSchema = {
|
|
|
12
12
|
isRequired: true,
|
|
13
13
|
options: undefined
|
|
14
14
|
},
|
|
15
|
-
/**
|
|
15
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
16
16
|
'num': {
|
|
17
|
-
label: '
|
|
17
|
+
label: 'Location number',
|
|
18
18
|
type: 'text',
|
|
19
19
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5',
|
|
20
20
|
options: undefined
|
|
@@ -11,9 +11,9 @@ const updateLocationEmitPayloadSchema = {
|
|
|
11
11
|
type: 'text',
|
|
12
12
|
options: undefined
|
|
13
13
|
},
|
|
14
|
-
/**
|
|
14
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
15
15
|
'num': {
|
|
16
|
-
label: '
|
|
16
|
+
label: 'Location number',
|
|
17
17
|
type: 'text',
|
|
18
18
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5',
|
|
19
19
|
options: undefined
|
|
@@ -1517,7 +1517,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1517
1517
|
interface CreateLocationEmitPayload {
|
|
1518
1518
|
/** Name. */
|
|
1519
1519
|
'name': string;
|
|
1520
|
-
/**
|
|
1520
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1521
1521
|
'num'?: string | undefined | null;
|
|
1522
1522
|
/** Public. Is this location viewable by guests? */
|
|
1523
1523
|
'isPublic'?: boolean | undefined | null;
|
|
@@ -1543,9 +1543,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1543
1543
|
isRequired: true;
|
|
1544
1544
|
options: undefined;
|
|
1545
1545
|
};
|
|
1546
|
-
/**
|
|
1546
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1547
1547
|
'num': {
|
|
1548
|
-
label: '
|
|
1548
|
+
label: 'Location number';
|
|
1549
1549
|
type: 'text';
|
|
1550
1550
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1551
1551
|
options: undefined;
|
|
@@ -10496,7 +10496,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10496
10496
|
interface UpdateLocationEmitPayload {
|
|
10497
10497
|
/** Name. */
|
|
10498
10498
|
'name'?: string | undefined | null;
|
|
10499
|
-
/**
|
|
10499
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
10500
10500
|
'num'?: string | undefined | null;
|
|
10501
10501
|
/** Slug. */
|
|
10502
10502
|
'slug'?: string | undefined | null;
|
|
@@ -10524,9 +10524,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10524
10524
|
type: 'text';
|
|
10525
10525
|
options: undefined;
|
|
10526
10526
|
};
|
|
10527
|
-
/**
|
|
10527
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
10528
10528
|
'num': {
|
|
10529
|
-
label: '
|
|
10529
|
+
label: 'Location number';
|
|
10530
10530
|
type: 'text';
|
|
10531
10531
|
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
10532
10532
|
options: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprucelabs/mercury-core-events",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.2",
|
|
4
4
|
"description": "Events Mercury provides out of the box.",
|
|
5
5
|
"skill": {
|
|
6
6
|
"namespace": "mercury-core-events",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"watch.tsc": "tsc -w"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@sprucelabs/esm-postbuild": "^5.0.
|
|
65
|
+
"@sprucelabs/esm-postbuild": "^5.0.156",
|
|
66
66
|
"@sprucelabs/jest-json-reporter": "^7.0.169",
|
|
67
67
|
"@sprucelabs/resolve-path-aliases": "^1.1.283",
|
|
68
68
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"typescript": "^5.3.3"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@sprucelabs/mercury-types": "^46.0.
|
|
84
|
+
"@sprucelabs/mercury-types": "^46.0.233",
|
|
85
85
|
"@sprucelabs/schema": "^29.4.6",
|
|
86
86
|
"@sprucelabs/spruce-core-schemas": "^39.0.232",
|
|
87
87
|
"@sprucelabs/spruce-event-utils": "^38.0.274"
|