utopia-ui 3.0.0-alpha.147 → 3.0.0-alpha.149
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/Components/AppShell/SideBar.d.ts +0 -1
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +0 -1
- package/dist/Components/Map/Layer.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -0
- package/dist/Components/Map/hooks/usePermissions.d.ts +2 -2
- package/dist/Components/Map/index.d.ts +1 -0
- package/dist/Components/Profile/PlusButton.d.ts +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +31 -16
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
@@ -35,6 +35,7 @@ export interface LayerProps {
|
|
35
35
|
onlyOnePerOwner?: boolean;
|
36
36
|
customEditLink?: string;
|
37
37
|
customEditParameter?: string;
|
38
|
+
public_edit_items?: boolean;
|
38
39
|
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
39
40
|
itemFormPopup?: ItemFormPopupProps | null;
|
40
41
|
clusterRef?: any;
|
@@ -58,6 +59,7 @@ export declare class Item {
|
|
58
59
|
relations?: Relation[];
|
59
60
|
parent?: string;
|
60
61
|
subname?: string;
|
62
|
+
public_edit?: boolean;
|
61
63
|
[key: string]: any;
|
62
64
|
constructor(id: string, name: string, text: string, position: Geometry, layer?: LayerProps, api?: ItemsApi<any>);
|
63
65
|
}
|
@@ -114,6 +116,9 @@ export declare type PermissionCondition = {
|
|
114
116
|
user_created?: {
|
115
117
|
_eq: string;
|
116
118
|
};
|
119
|
+
public_edit?: {
|
120
|
+
_eq: boolean;
|
121
|
+
};
|
117
122
|
};
|
118
123
|
export declare type Permission = {
|
119
124
|
id?: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.149",
|
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/",
|