utopia-ui 3.0.0-alpha.95 → 3.0.0-alpha.96

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
@@ -39,7 +39,7 @@ export declare class Item {
39
39
  id: string;
40
40
  name: string;
41
41
  text: string;
42
- position: Geometry;
42
+ position?: Geometry;
43
43
  date_created?: string;
44
44
  date_updated?: string | null;
45
45
  start?: string;
@@ -47,6 +47,7 @@ export declare class Item {
47
47
  api?: ItemsApi<any>;
48
48
  tags?: string[];
49
49
  layer?: LayerProps;
50
+ relations?: Relation[];
50
51
  [key: string]: any;
51
52
  constructor(id: string, name: string, text: string, position: Geometry, layer?: LayerProps, api?: ItemsApi<any>);
52
53
  }
@@ -102,8 +103,11 @@ export declare type Profile = {
102
103
  export declare type Permission = {
103
104
  id?: string;
104
105
  role: string;
105
- S: any;
106
106
  collection: string;
107
107
  action: PermissionAction;
108
108
  };
109
109
  export declare type PermissionAction = "create" | "read" | "update" | "delete";
110
+ export declare type Relation = {
111
+ related_items_id: string;
112
+ [key: string]: any;
113
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utopia-ui",
3
- "version": "3.0.0-alpha.95",
3
+ "version": "3.0.0-alpha.96",
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/",