@sprucelabs/mercury-core-events 15.0.122 → 15.0.123
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.
|
@@ -18,14 +18,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
18
18
|
'can-view-private-roles-at-own-org',
|
|
19
19
|
'can-view-persons-roles'
|
|
20
20
|
];
|
|
21
|
-
'feed-contract': [
|
|
22
|
-
'can-see-other-persons-feed',
|
|
23
|
-
'can-subscribe-to-feed-updates',
|
|
24
|
-
'can-be-sprucebot'
|
|
25
|
-
];
|
|
26
|
-
'can-register-events-contract': [
|
|
27
|
-
'can-register-global-events'
|
|
28
|
-
];
|
|
29
21
|
'can-crus-people-contract': [
|
|
30
22
|
'can-create-person',
|
|
31
23
|
'can-list-people-permission-id',
|
|
@@ -36,6 +28,11 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
36
28
|
'can-listen-to-did-signup',
|
|
37
29
|
'can-listen-to-did-update'
|
|
38
30
|
];
|
|
31
|
+
'feed-contract': [
|
|
32
|
+
'can-see-other-persons-feed',
|
|
33
|
+
'can-subscribe-to-feed-updates',
|
|
34
|
+
'can-be-sprucebot'
|
|
35
|
+
];
|
|
39
36
|
'hiring-and-promoting': [
|
|
40
37
|
'can-hire-person',
|
|
41
38
|
'can-fire-person',
|
|
@@ -55,8 +52,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
55
52
|
'can-get-permission-contracts-for-org',
|
|
56
53
|
'can-list-permission-contracts-for-org'
|
|
57
54
|
];
|
|
58
|
-
'can-register-
|
|
59
|
-
'can-register-global-
|
|
55
|
+
'can-register-events-contract': [
|
|
56
|
+
'can-register-global-events'
|
|
60
57
|
];
|
|
61
58
|
'can-check-if-skill-is-installed-contract-id': [
|
|
62
59
|
'can-check-if-skill-is-installed'
|
|
@@ -64,6 +61,67 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
64
61
|
'can-upsert-permission-contract-contract-id': [
|
|
65
62
|
'can-upsert-permission-contract-for-org'
|
|
66
63
|
];
|
|
64
|
+
'can-register-listener': [
|
|
65
|
+
'can-register-global-listeners'
|
|
66
|
+
];
|
|
67
|
+
'locations-contract': [
|
|
68
|
+
'can-create-location',
|
|
69
|
+
'can-update-location',
|
|
70
|
+
'can-delete-location',
|
|
71
|
+
'can-view-private-locations-at-own-org'
|
|
72
|
+
];
|
|
73
|
+
'organizations-contract': [
|
|
74
|
+
'can-update-organization-profile',
|
|
75
|
+
'can-delete-organization',
|
|
76
|
+
'can-view-private-organizations'
|
|
77
|
+
];
|
|
78
|
+
'roles-contract': [
|
|
79
|
+
'can-create-role',
|
|
80
|
+
'can-update-role',
|
|
81
|
+
'can-delete-role',
|
|
82
|
+
'can-view-private-roles-at-own-org',
|
|
83
|
+
'can-view-persons-roles'
|
|
84
|
+
];
|
|
85
|
+
'people-contract': [
|
|
86
|
+
'can-create-person',
|
|
87
|
+
'can-list-people-permission-id',
|
|
88
|
+
'can-scramble-other-person',
|
|
89
|
+
'can-get-anonymous-person',
|
|
90
|
+
'can-get-person-private-fields',
|
|
91
|
+
'can-get-person-by-phone',
|
|
92
|
+
'can-listen-to-did-signup',
|
|
93
|
+
'can-listen-to-did-update'
|
|
94
|
+
];
|
|
95
|
+
'events-contract': [
|
|
96
|
+
'can-register-global-events'
|
|
97
|
+
];
|
|
98
|
+
'hiring-and-promoting-contract': [
|
|
99
|
+
'can-hire-person',
|
|
100
|
+
'can-fire-person',
|
|
101
|
+
'hire-and-promote-when-not-installed'
|
|
102
|
+
];
|
|
103
|
+
'listeners-contract': [
|
|
104
|
+
'can-register-global-listeners'
|
|
105
|
+
];
|
|
106
|
+
'skills-contract': [
|
|
107
|
+
'can-install-skills',
|
|
108
|
+
'can-uninstall-skills',
|
|
109
|
+
'can-view-marketplace',
|
|
110
|
+
'can-check-if-skill-is-installed'
|
|
111
|
+
];
|
|
112
|
+
'messaging-contract': [
|
|
113
|
+
'can-emit-did-message-event',
|
|
114
|
+
'can-listen-to-did-message-event',
|
|
115
|
+
'can-message-others'
|
|
116
|
+
];
|
|
117
|
+
'permission-contracts': [
|
|
118
|
+
'can-get-permission-contracts-for-org',
|
|
119
|
+
'can-list-permission-contracts-for-org',
|
|
120
|
+
'can-upsert-permission-contract-for-org'
|
|
121
|
+
];
|
|
122
|
+
'permissions-contract': [
|
|
123
|
+
'can-upsert-permission-contract-for-org'
|
|
124
|
+
];
|
|
67
125
|
}
|
|
68
126
|
}
|
|
69
127
|
export interface PermissionContractMap {
|
|
@@ -18,14 +18,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
18
18
|
'can-view-private-roles-at-own-org',
|
|
19
19
|
'can-view-persons-roles'
|
|
20
20
|
];
|
|
21
|
-
'feed-contract': [
|
|
22
|
-
'can-see-other-persons-feed',
|
|
23
|
-
'can-subscribe-to-feed-updates',
|
|
24
|
-
'can-be-sprucebot'
|
|
25
|
-
];
|
|
26
|
-
'can-register-events-contract': [
|
|
27
|
-
'can-register-global-events'
|
|
28
|
-
];
|
|
29
21
|
'can-crus-people-contract': [
|
|
30
22
|
'can-create-person',
|
|
31
23
|
'can-list-people-permission-id',
|
|
@@ -36,6 +28,11 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
36
28
|
'can-listen-to-did-signup',
|
|
37
29
|
'can-listen-to-did-update'
|
|
38
30
|
];
|
|
31
|
+
'feed-contract': [
|
|
32
|
+
'can-see-other-persons-feed',
|
|
33
|
+
'can-subscribe-to-feed-updates',
|
|
34
|
+
'can-be-sprucebot'
|
|
35
|
+
];
|
|
39
36
|
'hiring-and-promoting': [
|
|
40
37
|
'can-hire-person',
|
|
41
38
|
'can-fire-person',
|
|
@@ -55,8 +52,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
55
52
|
'can-get-permission-contracts-for-org',
|
|
56
53
|
'can-list-permission-contracts-for-org'
|
|
57
54
|
];
|
|
58
|
-
'can-register-
|
|
59
|
-
'can-register-global-
|
|
55
|
+
'can-register-events-contract': [
|
|
56
|
+
'can-register-global-events'
|
|
60
57
|
];
|
|
61
58
|
'can-check-if-skill-is-installed-contract-id': [
|
|
62
59
|
'can-check-if-skill-is-installed'
|
|
@@ -64,6 +61,67 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
64
61
|
'can-upsert-permission-contract-contract-id': [
|
|
65
62
|
'can-upsert-permission-contract-for-org'
|
|
66
63
|
];
|
|
64
|
+
'can-register-listener': [
|
|
65
|
+
'can-register-global-listeners'
|
|
66
|
+
];
|
|
67
|
+
'locations-contract': [
|
|
68
|
+
'can-create-location',
|
|
69
|
+
'can-update-location',
|
|
70
|
+
'can-delete-location',
|
|
71
|
+
'can-view-private-locations-at-own-org'
|
|
72
|
+
];
|
|
73
|
+
'organizations-contract': [
|
|
74
|
+
'can-update-organization-profile',
|
|
75
|
+
'can-delete-organization',
|
|
76
|
+
'can-view-private-organizations'
|
|
77
|
+
];
|
|
78
|
+
'roles-contract': [
|
|
79
|
+
'can-create-role',
|
|
80
|
+
'can-update-role',
|
|
81
|
+
'can-delete-role',
|
|
82
|
+
'can-view-private-roles-at-own-org',
|
|
83
|
+
'can-view-persons-roles'
|
|
84
|
+
];
|
|
85
|
+
'people-contract': [
|
|
86
|
+
'can-create-person',
|
|
87
|
+
'can-list-people-permission-id',
|
|
88
|
+
'can-scramble-other-person',
|
|
89
|
+
'can-get-anonymous-person',
|
|
90
|
+
'can-get-person-private-fields',
|
|
91
|
+
'can-get-person-by-phone',
|
|
92
|
+
'can-listen-to-did-signup',
|
|
93
|
+
'can-listen-to-did-update'
|
|
94
|
+
];
|
|
95
|
+
'events-contract': [
|
|
96
|
+
'can-register-global-events'
|
|
97
|
+
];
|
|
98
|
+
'hiring-and-promoting-contract': [
|
|
99
|
+
'can-hire-person',
|
|
100
|
+
'can-fire-person',
|
|
101
|
+
'hire-and-promote-when-not-installed'
|
|
102
|
+
];
|
|
103
|
+
'listeners-contract': [
|
|
104
|
+
'can-register-global-listeners'
|
|
105
|
+
];
|
|
106
|
+
'skills-contract': [
|
|
107
|
+
'can-install-skills',
|
|
108
|
+
'can-uninstall-skills',
|
|
109
|
+
'can-view-marketplace',
|
|
110
|
+
'can-check-if-skill-is-installed'
|
|
111
|
+
];
|
|
112
|
+
'messaging-contract': [
|
|
113
|
+
'can-emit-did-message-event',
|
|
114
|
+
'can-listen-to-did-message-event',
|
|
115
|
+
'can-message-others'
|
|
116
|
+
];
|
|
117
|
+
'permission-contracts': [
|
|
118
|
+
'can-get-permission-contracts-for-org',
|
|
119
|
+
'can-list-permission-contracts-for-org',
|
|
120
|
+
'can-upsert-permission-contract-for-org'
|
|
121
|
+
];
|
|
122
|
+
'permissions-contract': [
|
|
123
|
+
'can-upsert-permission-contract-for-org'
|
|
124
|
+
];
|
|
67
125
|
}
|
|
68
126
|
}
|
|
69
127
|
export interface PermissionContractMap {
|