@sprucelabs/mercury-core-events 15.0.124 → 15.0.125
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,13 +1,72 @@
|
|
|
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
|
'can-be-sprucebot'
|
|
10
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'
|
|
69
|
+
];
|
|
11
70
|
'hiring-and-promoting-contract': [
|
|
12
71
|
'can-hire-person',
|
|
13
72
|
'can-fire-person',
|
|
@@ -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,13 +1,72 @@
|
|
|
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
|
'can-be-sprucebot'
|
|
10
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'
|
|
69
|
+
];
|
|
11
70
|
'hiring-and-promoting-contract': [
|
|
12
71
|
'can-hire-person',
|
|
13
72
|
'can-fire-person',
|