@brydio/manifest 0.1.0-alpha.56 → 0.1.0-alpha.58

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brydio/manifest",
3
- "version": "0.1.0-alpha.56",
3
+ "version": "0.1.0-alpha.58",
4
4
  "description": "The shape of a Brydio app's manifest, its collections' schemas, and the checks that say what is wrong with one.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/nakel-ola/brydio-sdk",
11
11
  "directory": "packages/manifest"
12
12
  },
13
- "gitHead": "d281bd47509dcd5d7224983bba2647889991256e",
13
+ "gitHead": "d16fcb44975624fa97f0c53539ab0a8bc0de2017",
14
14
  "exports": {
15
15
  ".": {
16
16
  "types": "./src/index.d.ts",
package/src/grants.d.ts CHANGED
@@ -16,8 +16,10 @@
16
16
  * is a handler's `webhooks.send` (FO07); `timers` is a handler's
17
17
  * `timers.*`, running one of the app's own tools later (PJ01); `calendar`
18
18
  * is a handler's `calendar.*`, the caller's events on the event layer (CA02).
19
+ * `people` is a handler's native HR operations as the current caller; it does
20
+ * not broaden `directory` access or authorize private records by itself.
19
21
  */
20
- export declare const HOST_CAPABILITIES: readonly ["navigate", "message", "members", "projects", "files", "chats", "model", "secrets", "notify", "approvals", "chat", "directory", "webhooks", "timers", "calendar", "metrics", "sign", "finance"];
22
+ export declare const HOST_CAPABILITIES: readonly ["navigate", "message", "members", "projects", "files", "chats", "model", "secrets", "notify", "approvals", "chat", "directory", "webhooks", "timers", "calendar", "metrics", "sign", "finance", "people"];
21
23
  /** The older name for `HOST_CAPABILITIES`, kept for what already imports it. */
22
24
  export declare const KNOWN_HOST_GRANTS: readonly string[];
23
25
  /** True for a host grant Brydio knows how to honour: a named capability, or one connection. */
package/src/grants.js CHANGED
@@ -17,6 +17,8 @@ import { BUNDLE_MANIFEST } from "./bundle.js";
17
17
  * is a handler's `webhooks.send` (FO07); `timers` is a handler's
18
18
  * `timers.*`, running one of the app's own tools later (PJ01); `calendar`
19
19
  * is a handler's `calendar.*`, the caller's events on the event layer (CA02).
20
+ * `people` is a handler's native HR operations as the current caller; it does
21
+ * not broaden `directory` access or authorize private records by itself.
20
22
  */
21
23
  export const HOST_CAPABILITIES = [
22
24
  'navigate',
@@ -37,6 +39,7 @@ export const HOST_CAPABILITIES = [
37
39
  'metrics',
38
40
  'sign',
39
41
  'finance',
42
+ 'people',
40
43
  ];
41
44
  /** The older name for `HOST_CAPABILITIES`, kept for what already imports it. */
42
45
  export const KNOWN_HOST_GRANTS = HOST_CAPABILITIES;