utopia-ui 3.0.0-alpha.97 → 3.0.0-alpha.99

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/dist/types.d.ts CHANGED
@@ -100,11 +100,19 @@ export declare type Profile = {
100
100
  text: string;
101
101
  geoposition?: Geometry;
102
102
  };
103
+ export declare type PermissionCondition = {
104
+ user_created?: {
105
+ _eq: string;
106
+ };
107
+ };
103
108
  export declare type Permission = {
104
109
  id?: string;
105
110
  role: string;
106
111
  collection: string;
107
112
  action: PermissionAction;
113
+ permissions?: {
114
+ _and: PermissionCondition[];
115
+ };
108
116
  };
109
117
  export declare type PermissionAction = "create" | "read" | "update" | "delete";
110
118
  export declare type Relation = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utopia-ui",
3
- "version": "3.0.0-alpha.97",
3
+ "version": "3.0.0-alpha.99",
4
4
  "description": "Reuseable React Components to build mapping apps for real life communities and networks",
5
5
  "repository": "https://github.com/utopia-os/utopia-ui",
6
6
  "homepage:": "https://utopia-os.org/",