@protobase/schema 0.67.5 → 0.67.7

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.
@@ -22,6 +22,8 @@ export type AccessContext = {
22
22
  organization?: {
23
23
  /** The organization's id. */
24
24
  id: string | number;
25
+ /** The caller's organization role there, read from the auth store for this request; absent for someone who is no member. */
26
+ role?: 'owner' | 'admin' | 'member';
25
27
  };
26
28
  /** Set by the resolver; scoped capabilities (`.own`) need `model.owner`. */
27
29
  model?: ResourceModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/schema",
3
- "version": "0.67.5",
3
+ "version": "0.67.7",
4
4
  "description": "Resource, field, view and access definitions for Protobase configs.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {