@sprucelabs/mercury-core-events 15.0.126 → 15.0.127
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,11 +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
|
-
'can-subscribe-to-feed-updates'
|
|
23
|
+
'can-subscribe-to-feed-updates',
|
|
24
|
+
'can-be-sprucebot'
|
|
25
|
+
];
|
|
26
|
+
'can-register-events-contract': [
|
|
27
|
+
'can-register-global-events'
|
|
28
|
+
];
|
|
29
|
+
'can-crus-people-contract': [
|
|
30
|
+
'can-create-person',
|
|
31
|
+
'can-list-people-permission-id',
|
|
32
|
+
'can-scramble-other-person',
|
|
33
|
+
'can-get-anonymous-person',
|
|
34
|
+
'can-get-person-private-fields',
|
|
35
|
+
'can-get-person-by-phone',
|
|
36
|
+
'can-listen-to-did-signup',
|
|
37
|
+
'can-listen-to-did-update'
|
|
38
|
+
];
|
|
39
|
+
'hiring-and-promoting': [
|
|
40
|
+
'can-hire-person',
|
|
41
|
+
'can-fire-person',
|
|
42
|
+
'hire-and-promote-when-not-installed'
|
|
43
|
+
];
|
|
44
|
+
'can-manage-skills': [
|
|
45
|
+
'can-install-skills',
|
|
46
|
+
'can-uninstall-skills',
|
|
47
|
+
'can-view-marketplace'
|
|
48
|
+
];
|
|
49
|
+
'emit-messaging': [
|
|
50
|
+
'can-emit-did-message-event',
|
|
51
|
+
'can-listen-to-did-message-event',
|
|
52
|
+
'can-message-others'
|
|
53
|
+
];
|
|
54
|
+
'permission-contracts-contract-id': [
|
|
55
|
+
'can-get-permission-contracts-for-org',
|
|
56
|
+
'can-list-permission-contracts-for-org'
|
|
57
|
+
];
|
|
58
|
+
'can-register-listener': [
|
|
59
|
+
'can-register-global-listeners'
|
|
60
|
+
];
|
|
61
|
+
'can-check-if-skill-is-installed-contract-id': [
|
|
62
|
+
'can-check-if-skill-is-installed'
|
|
63
|
+
];
|
|
64
|
+
'can-upsert-permission-contract-contract-id': [
|
|
65
|
+
'can-upsert-permission-contract-for-org'
|
|
66
|
+
];
|
|
67
|
+
'events-contract': [
|
|
68
|
+
'can-register-global-events'
|
|
9
69
|
];
|
|
10
70
|
'hiring-and-promoting-contract': [
|
|
11
71
|
'can-hire-person',
|
|
@@ -24,8 +84,7 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
24
84
|
'messaging-contract': [
|
|
25
85
|
'can-emit-did-message-event',
|
|
26
86
|
'can-listen-to-did-message-event',
|
|
27
|
-
'can-message-others'
|
|
28
|
-
'can-message-as-sprucebot'
|
|
87
|
+
'can-message-others'
|
|
29
88
|
];
|
|
30
89
|
'organizations-contract': [
|
|
31
90
|
'can-update-organization-profile',
|
|
@@ -1,11 +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
|
-
'can-subscribe-to-feed-updates'
|
|
23
|
+
'can-subscribe-to-feed-updates',
|
|
24
|
+
'can-be-sprucebot'
|
|
25
|
+
];
|
|
26
|
+
'can-register-events-contract': [
|
|
27
|
+
'can-register-global-events'
|
|
28
|
+
];
|
|
29
|
+
'can-crus-people-contract': [
|
|
30
|
+
'can-create-person',
|
|
31
|
+
'can-list-people-permission-id',
|
|
32
|
+
'can-scramble-other-person',
|
|
33
|
+
'can-get-anonymous-person',
|
|
34
|
+
'can-get-person-private-fields',
|
|
35
|
+
'can-get-person-by-phone',
|
|
36
|
+
'can-listen-to-did-signup',
|
|
37
|
+
'can-listen-to-did-update'
|
|
38
|
+
];
|
|
39
|
+
'hiring-and-promoting': [
|
|
40
|
+
'can-hire-person',
|
|
41
|
+
'can-fire-person',
|
|
42
|
+
'hire-and-promote-when-not-installed'
|
|
43
|
+
];
|
|
44
|
+
'can-manage-skills': [
|
|
45
|
+
'can-install-skills',
|
|
46
|
+
'can-uninstall-skills',
|
|
47
|
+
'can-view-marketplace'
|
|
48
|
+
];
|
|
49
|
+
'emit-messaging': [
|
|
50
|
+
'can-emit-did-message-event',
|
|
51
|
+
'can-listen-to-did-message-event',
|
|
52
|
+
'can-message-others'
|
|
53
|
+
];
|
|
54
|
+
'permission-contracts-contract-id': [
|
|
55
|
+
'can-get-permission-contracts-for-org',
|
|
56
|
+
'can-list-permission-contracts-for-org'
|
|
57
|
+
];
|
|
58
|
+
'can-register-listener': [
|
|
59
|
+
'can-register-global-listeners'
|
|
60
|
+
];
|
|
61
|
+
'can-check-if-skill-is-installed-contract-id': [
|
|
62
|
+
'can-check-if-skill-is-installed'
|
|
63
|
+
];
|
|
64
|
+
'can-upsert-permission-contract-contract-id': [
|
|
65
|
+
'can-upsert-permission-contract-for-org'
|
|
66
|
+
];
|
|
67
|
+
'events-contract': [
|
|
68
|
+
'can-register-global-events'
|
|
9
69
|
];
|
|
10
70
|
'hiring-and-promoting-contract': [
|
|
11
71
|
'can-hire-person',
|
|
@@ -24,8 +84,7 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
24
84
|
'messaging-contract': [
|
|
25
85
|
'can-emit-did-message-event',
|
|
26
86
|
'can-listen-to-did-message-event',
|
|
27
|
-
'can-message-others'
|
|
28
|
-
'can-message-as-sprucebot'
|
|
87
|
+
'can-message-others'
|
|
29
88
|
];
|
|
30
89
|
'organizations-contract': [
|
|
31
90
|
'can-update-organization-profile',
|