utopia-ui 3.0.0-alpha.24 → 3.0.0-alpha.26
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/AppShell.d.ts +2 -1
- package/dist/Components/AppShell/SetAssetsApi.d.ts +5 -0
- package/dist/Components/AppShell/hooks/useAssets.d.ts +13 -0
- package/dist/Components/Gaming/hooks/useQuests.d.ts +13 -0
- package/dist/Components/Map/Subcomponents/Control.d.ts +4 -0
- package/dist/Components/Map/Subcomponents/QuestControl.d.ts +2 -0
- package/dist/Components/Profile/Settings.d.ts +1 -0
- package/dist/Components/Templates/DialogModal.d.ts +9 -0
- package/dist/index.js +268 -79
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +3 -1
package/dist/types.d.ts
CHANGED
@@ -55,6 +55,10 @@ export interface ItemsApi<T> {
|
|
55
55
|
deleteItem?(id: number | string): Promise<any>;
|
56
56
|
collectionName?: string;
|
57
57
|
}
|
58
|
+
export interface AssetsApi {
|
59
|
+
upload(file: Blob, title: string): any;
|
60
|
+
url: string;
|
61
|
+
}
|
58
62
|
export interface UserApi {
|
59
63
|
register(email: string, password: string, userName: string): Promise<void>;
|
60
64
|
login(email: string, password: string): Promise<any>;
|
@@ -75,6 +79,7 @@ export declare type UserItem = {
|
|
75
79
|
export declare type Permission = {
|
76
80
|
id?: string;
|
77
81
|
role: string;
|
82
|
+
S: any;
|
78
83
|
collection: string;
|
79
84
|
action: PermissionAction;
|
80
85
|
};
|
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.26",
|
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/",
|
@@ -44,8 +44,10 @@
|
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
46
|
"@heroicons/react": "^2.0.17",
|
47
|
+
"@types/offscreencanvas": "^2019.7.1",
|
47
48
|
"leaflet": "^1.9.4",
|
48
49
|
"prop-types": "^15.8.1",
|
50
|
+
"react-image-crop": "^10.1.8",
|
49
51
|
"react-leaflet": "^4.2.1",
|
50
52
|
"react-leaflet-cluster": "^2.1.0",
|
51
53
|
"react-router-dom": "^6.16.0",
|