@sprucelabs/mercury-core-events 15.0.126 → 15.0.128
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,12 +1,71 @@
|
|
|
1
1
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
2
2
|
interface PermissionContractMap {
|
|
3
|
-
'
|
|
4
|
-
'can-
|
|
3
|
+
'can-crud-locations-contract': [
|
|
4
|
+
'can-create-location',
|
|
5
|
+
'can-update-location',
|
|
6
|
+
'can-delete-location',
|
|
7
|
+
'can-view-private-locations-at-own-org'
|
|
8
|
+
];
|
|
9
|
+
'can-crud-organization-profile-contract': [
|
|
10
|
+
'can-update-organization-profile',
|
|
11
|
+
'can-delete-organization',
|
|
12
|
+
'can-view-private-organizations'
|
|
13
|
+
];
|
|
14
|
+
'can-crud-roles-contract': [
|
|
15
|
+
'can-create-role',
|
|
16
|
+
'can-update-role',
|
|
17
|
+
'can-delete-role',
|
|
18
|
+
'can-view-private-roles-at-own-org',
|
|
19
|
+
'can-view-persons-roles'
|
|
5
20
|
];
|
|
6
21
|
'feed-contract': [
|
|
7
22
|
'can-see-other-persons-feed',
|
|
8
23
|
'can-subscribe-to-feed-updates'
|
|
9
24
|
];
|
|
25
|
+
'can-register-events-contract': [
|
|
26
|
+
'can-register-global-events'
|
|
27
|
+
];
|
|
28
|
+
'can-crus-people-contract': [
|
|
29
|
+
'can-create-person',
|
|
30
|
+
'can-list-people-permission-id',
|
|
31
|
+
'can-scramble-other-person',
|
|
32
|
+
'can-get-anonymous-person',
|
|
33
|
+
'can-get-person-private-fields',
|
|
34
|
+
'can-get-person-by-phone',
|
|
35
|
+
'can-listen-to-did-signup',
|
|
36
|
+
'can-listen-to-did-update'
|
|
37
|
+
];
|
|
38
|
+
'hiring-and-promoting': [
|
|
39
|
+
'can-hire-person',
|
|
40
|
+
'can-fire-person',
|
|
41
|
+
'hire-and-promote-when-not-installed'
|
|
42
|
+
];
|
|
43
|
+
'can-manage-skills': [
|
|
44
|
+
'can-install-skills',
|
|
45
|
+
'can-uninstall-skills',
|
|
46
|
+
'can-view-marketplace'
|
|
47
|
+
];
|
|
48
|
+
'emit-messaging': [
|
|
49
|
+
'can-emit-did-message-event',
|
|
50
|
+
'can-listen-to-did-message-event',
|
|
51
|
+
'can-message-others'
|
|
52
|
+
];
|
|
53
|
+
'permission-contracts-contract-id': [
|
|
54
|
+
'can-get-permission-contracts-for-org',
|
|
55
|
+
'can-list-permission-contracts-for-org'
|
|
56
|
+
];
|
|
57
|
+
'can-register-listener': [
|
|
58
|
+
'can-register-global-listeners'
|
|
59
|
+
];
|
|
60
|
+
'can-check-if-skill-is-installed-contract-id': [
|
|
61
|
+
'can-check-if-skill-is-installed'
|
|
62
|
+
];
|
|
63
|
+
'can-upsert-permission-contract-contract-id': [
|
|
64
|
+
'can-upsert-permission-contract-for-org'
|
|
65
|
+
];
|
|
66
|
+
'events-contract': [
|
|
67
|
+
'can-register-global-events'
|
|
68
|
+
];
|
|
10
69
|
'hiring-and-promoting-contract': [
|
|
11
70
|
'can-hire-person',
|
|
12
71
|
'can-fire-person',
|
|
@@ -21,12 +80,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
21
80
|
'can-delete-location',
|
|
22
81
|
'can-view-private-locations-at-own-org'
|
|
23
82
|
];
|
|
24
|
-
'messaging-contract': [
|
|
25
|
-
'can-emit-did-message-event',
|
|
26
|
-
'can-listen-to-did-message-event',
|
|
27
|
-
'can-message-others',
|
|
28
|
-
'can-message-as-sprucebot'
|
|
29
|
-
];
|
|
30
83
|
'organizations-contract': [
|
|
31
84
|
'can-update-organization-profile',
|
|
32
85
|
'can-delete-organization',
|
|
@@ -60,6 +113,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
60
113
|
'can-view-marketplace',
|
|
61
114
|
'can-check-if-skill-is-installed'
|
|
62
115
|
];
|
|
116
|
+
'messaging-contract': [
|
|
117
|
+
'can-emit-did-message-event',
|
|
118
|
+
'can-listen-to-did-message-event',
|
|
119
|
+
'can-message-others',
|
|
120
|
+
'can-message-as-sprucebot'
|
|
121
|
+
];
|
|
63
122
|
}
|
|
64
123
|
}
|
|
65
124
|
export interface PermissionContractMap {
|
|
@@ -1,12 +1,71 @@
|
|
|
1
1
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
2
2
|
interface PermissionContractMap {
|
|
3
|
-
'
|
|
4
|
-
'can-
|
|
3
|
+
'can-crud-locations-contract': [
|
|
4
|
+
'can-create-location',
|
|
5
|
+
'can-update-location',
|
|
6
|
+
'can-delete-location',
|
|
7
|
+
'can-view-private-locations-at-own-org'
|
|
8
|
+
];
|
|
9
|
+
'can-crud-organization-profile-contract': [
|
|
10
|
+
'can-update-organization-profile',
|
|
11
|
+
'can-delete-organization',
|
|
12
|
+
'can-view-private-organizations'
|
|
13
|
+
];
|
|
14
|
+
'can-crud-roles-contract': [
|
|
15
|
+
'can-create-role',
|
|
16
|
+
'can-update-role',
|
|
17
|
+
'can-delete-role',
|
|
18
|
+
'can-view-private-roles-at-own-org',
|
|
19
|
+
'can-view-persons-roles'
|
|
5
20
|
];
|
|
6
21
|
'feed-contract': [
|
|
7
22
|
'can-see-other-persons-feed',
|
|
8
23
|
'can-subscribe-to-feed-updates'
|
|
9
24
|
];
|
|
25
|
+
'can-register-events-contract': [
|
|
26
|
+
'can-register-global-events'
|
|
27
|
+
];
|
|
28
|
+
'can-crus-people-contract': [
|
|
29
|
+
'can-create-person',
|
|
30
|
+
'can-list-people-permission-id',
|
|
31
|
+
'can-scramble-other-person',
|
|
32
|
+
'can-get-anonymous-person',
|
|
33
|
+
'can-get-person-private-fields',
|
|
34
|
+
'can-get-person-by-phone',
|
|
35
|
+
'can-listen-to-did-signup',
|
|
36
|
+
'can-listen-to-did-update'
|
|
37
|
+
];
|
|
38
|
+
'hiring-and-promoting': [
|
|
39
|
+
'can-hire-person',
|
|
40
|
+
'can-fire-person',
|
|
41
|
+
'hire-and-promote-when-not-installed'
|
|
42
|
+
];
|
|
43
|
+
'can-manage-skills': [
|
|
44
|
+
'can-install-skills',
|
|
45
|
+
'can-uninstall-skills',
|
|
46
|
+
'can-view-marketplace'
|
|
47
|
+
];
|
|
48
|
+
'emit-messaging': [
|
|
49
|
+
'can-emit-did-message-event',
|
|
50
|
+
'can-listen-to-did-message-event',
|
|
51
|
+
'can-message-others'
|
|
52
|
+
];
|
|
53
|
+
'permission-contracts-contract-id': [
|
|
54
|
+
'can-get-permission-contracts-for-org',
|
|
55
|
+
'can-list-permission-contracts-for-org'
|
|
56
|
+
];
|
|
57
|
+
'can-register-listener': [
|
|
58
|
+
'can-register-global-listeners'
|
|
59
|
+
];
|
|
60
|
+
'can-check-if-skill-is-installed-contract-id': [
|
|
61
|
+
'can-check-if-skill-is-installed'
|
|
62
|
+
];
|
|
63
|
+
'can-upsert-permission-contract-contract-id': [
|
|
64
|
+
'can-upsert-permission-contract-for-org'
|
|
65
|
+
];
|
|
66
|
+
'events-contract': [
|
|
67
|
+
'can-register-global-events'
|
|
68
|
+
];
|
|
10
69
|
'hiring-and-promoting-contract': [
|
|
11
70
|
'can-hire-person',
|
|
12
71
|
'can-fire-person',
|
|
@@ -21,12 +80,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
21
80
|
'can-delete-location',
|
|
22
81
|
'can-view-private-locations-at-own-org'
|
|
23
82
|
];
|
|
24
|
-
'messaging-contract': [
|
|
25
|
-
'can-emit-did-message-event',
|
|
26
|
-
'can-listen-to-did-message-event',
|
|
27
|
-
'can-message-others',
|
|
28
|
-
'can-message-as-sprucebot'
|
|
29
|
-
];
|
|
30
83
|
'organizations-contract': [
|
|
31
84
|
'can-update-organization-profile',
|
|
32
85
|
'can-delete-organization',
|
|
@@ -60,6 +113,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
60
113
|
'can-view-marketplace',
|
|
61
114
|
'can-check-if-skill-is-installed'
|
|
62
115
|
];
|
|
116
|
+
'messaging-contract': [
|
|
117
|
+
'can-emit-did-message-event',
|
|
118
|
+
'can-listen-to-did-message-event',
|
|
119
|
+
'can-message-others',
|
|
120
|
+
'can-message-as-sprucebot'
|
|
121
|
+
];
|
|
63
122
|
}
|
|
64
123
|
}
|
|
65
124
|
export interface PermissionContractMap {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprucelabs/mercury-core-events",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.128",
|
|
4
4
|
"description": "Events Mercury provides out of the box.",
|
|
5
5
|
"skill": {
|
|
6
6
|
"namespace": "mercury-core-events",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"watch.tsc": "tsc -w"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@sprucelabs/esm-postbuild": "^2.0.
|
|
66
|
-
"@sprucelabs/jest-json-reporter": "^6.0.
|
|
67
|
-
"@sprucelabs/resolve-path-aliases": "^1.1.
|
|
65
|
+
"@sprucelabs/esm-postbuild": "^2.0.46",
|
|
66
|
+
"@sprucelabs/jest-json-reporter": "^6.0.532",
|
|
67
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.143",
|
|
68
68
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
69
|
-
"@sprucelabs/test": "^7.7.
|
|
70
|
-
"@types/node": "^18.11.
|
|
69
|
+
"@sprucelabs/test": "^7.7.397",
|
|
70
|
+
"@types/node": "^18.11.12",
|
|
71
71
|
"chokidar-cli": "^3.0.0",
|
|
72
72
|
"concurrently": "^7.6.0",
|
|
73
73
|
"eslint": "^8.29.0",
|
|
@@ -76,15 +76,15 @@
|
|
|
76
76
|
"jest-circus": "^29.3.1",
|
|
77
77
|
"prettier": "^2.8.1",
|
|
78
78
|
"ts-node": "^10.9.1",
|
|
79
|
-
"tsc-watch": "^
|
|
79
|
+
"tsc-watch": "^6.0.0",
|
|
80
80
|
"tsconfig-paths": "^4.1.1",
|
|
81
81
|
"typescript": "^4.9.4"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@sprucelabs/mercury-types": "^38.0.
|
|
85
|
-
"@sprucelabs/schema": "^28.5.
|
|
86
|
-
"@sprucelabs/spruce-core-schemas": "^35.1.
|
|
87
|
-
"@sprucelabs/spruce-event-utils": "^30.0.
|
|
84
|
+
"@sprucelabs/mercury-types": "^38.0.11",
|
|
85
|
+
"@sprucelabs/schema": "^28.5.80",
|
|
86
|
+
"@sprucelabs/spruce-core-schemas": "^35.1.81",
|
|
87
|
+
"@sprucelabs/spruce-event-utils": "^30.0.11"
|
|
88
88
|
},
|
|
89
89
|
"jest": {
|
|
90
90
|
"testRunner": "jest-circus/runner",
|