@sprucelabs/mercury-core-events 20.4.1 → 20.4.3

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.
@@ -7,10 +7,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
7
7
  'events-contract': [
8
8
  'can-register-global-events'
9
9
  ];
10
- 'feed-contract': [
11
- 'can-see-other-persons-feed',
12
- 'can-subscribe-to-feed-updates'
13
- ];
14
10
  'hiring-and-promoting-contract': [
15
11
  'can-hire-person',
16
12
  'can-fire-person',
@@ -34,7 +30,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
34
30
  'organizations-contract': [
35
31
  'can-update-organization-profile',
36
32
  'can-delete-organization',
37
- 'can-view-private-organizations'
33
+ 'can-view-private-organizations',
34
+ 'can-list-orgs-for-other-people'
38
35
  ];
39
36
  'people-contract': [
40
37
  'can-create-person',
@@ -68,6 +65,10 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
68
65
  'can-view-marketplace',
69
66
  'can-check-if-skill-is-installed'
70
67
  ];
68
+ 'feed-contract': [
69
+ 'can-see-other-persons-feed',
70
+ 'can-subscribe-to-feed-updates'
71
+ ];
71
72
  }
72
73
  }
73
74
  export interface PermissionContractMap {
@@ -14,6 +14,11 @@ const listOrgsEmitTargetSchema = {
14
14
  minArrayLength: 0,
15
15
  options: undefined
16
16
  },
17
+ /** . */
18
+ 'personId': {
19
+ type: 'id',
20
+ options: undefined
21
+ },
17
22
  }
18
23
  };
19
24
  schema_1.SchemaRegistry.getInstance().trackSchema(listOrgsEmitTargetSchema);
@@ -6137,6 +6137,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6137
6137
  namespace SpruceSchemas.Mercury.v2020_12_25 {
6138
6138
  interface ListOrgsEmitTarget {
6139
6139
  'organizationIds'?: string[] | undefined | null;
6140
+ 'personId'?: string | undefined | null;
6140
6141
  }
6141
6142
  interface ListOrgsEmitTargetSchema extends SpruceSchema.Schema {
6142
6143
  id: 'listOrgsEmitTarget';
@@ -6151,6 +6152,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6151
6152
  minArrayLength: 0;
6152
6153
  options: undefined;
6153
6154
  };
6155
+ /** . */
6156
+ 'personId': {
6157
+ type: 'id';
6158
+ options: undefined;
6159
+ };
6154
6160
  };
6155
6161
  }
6156
6162
  interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
@@ -7,10 +7,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
7
7
  'events-contract': [
8
8
  'can-register-global-events'
9
9
  ];
10
- 'feed-contract': [
11
- 'can-see-other-persons-feed',
12
- 'can-subscribe-to-feed-updates'
13
- ];
14
10
  'hiring-and-promoting-contract': [
15
11
  'can-hire-person',
16
12
  'can-fire-person',
@@ -34,7 +30,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
34
30
  'organizations-contract': [
35
31
  'can-update-organization-profile',
36
32
  'can-delete-organization',
37
- 'can-view-private-organizations'
33
+ 'can-view-private-organizations',
34
+ 'can-list-orgs-for-other-people'
38
35
  ];
39
36
  'people-contract': [
40
37
  'can-create-person',
@@ -68,6 +65,10 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
68
65
  'can-view-marketplace',
69
66
  'can-check-if-skill-is-installed'
70
67
  ];
68
+ 'feed-contract': [
69
+ 'can-see-other-persons-feed',
70
+ 'can-subscribe-to-feed-updates'
71
+ ];
71
72
  }
72
73
  }
73
74
  export interface PermissionContractMap {
@@ -12,6 +12,11 @@ const listOrgsEmitTargetSchema = {
12
12
  minArrayLength: 0,
13
13
  options: undefined
14
14
  },
15
+ /** . */
16
+ 'personId': {
17
+ type: 'id',
18
+ options: undefined
19
+ },
15
20
  }
16
21
  };
17
22
  SchemaRegistry.getInstance().trackSchema(listOrgsEmitTargetSchema);
@@ -6137,6 +6137,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6137
6137
  namespace SpruceSchemas.Mercury.v2020_12_25 {
6138
6138
  interface ListOrgsEmitTarget {
6139
6139
  'organizationIds'?: string[] | undefined | null;
6140
+ 'personId'?: string | undefined | null;
6140
6141
  }
6141
6142
  interface ListOrgsEmitTargetSchema extends SpruceSchema.Schema {
6142
6143
  id: 'listOrgsEmitTarget';
@@ -6151,6 +6152,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6151
6152
  minArrayLength: 0;
6152
6153
  options: undefined;
6153
6154
  };
6155
+ /** . */
6156
+ 'personId': {
6157
+ type: 'id';
6158
+ options: undefined;
6159
+ };
6154
6160
  };
6155
6161
  }
6156
6162
  interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "20.4.1",
3
+ "version": "20.4.3",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",