utopia-ui 3.0.2 → 3.0.4

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
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { ItemFormPopupProps } from "./Components/Map/Subcomponents/ItemFormPopup";
3
3
  export interface UtopiaMapProps {
4
4
  height?: string;
@@ -106,7 +106,7 @@ export interface UserApi {
106
106
  }
107
107
  export declare type UserItem = {
108
108
  id?: string;
109
- role?: string;
109
+ role?: any;
110
110
  email?: string;
111
111
  password?: string;
112
112
  profile?: Profile;
@@ -130,7 +130,7 @@ export declare type PermissionCondition = {
130
130
  };
131
131
  export declare type Permission = {
132
132
  id?: string;
133
- role: string;
133
+ policy: any;
134
134
  collection: string;
135
135
  action: PermissionAction;
136
136
  permissions?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utopia-ui",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
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/",
@@ -8,7 +8,8 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "scripts": {
10
10
  "build": "rollup -c",
11
- "start": "rollup -c -w"
11
+ "start": "rollup -c -w",
12
+ "test:lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx,.cjs,.mjs,.json,.yml,.yaml --max-warnings 0 ."
12
13
  },
13
14
  "files": [
14
15
  "dist"
@@ -26,8 +27,10 @@
26
27
  "autoprefixer": "^10.4.14",
27
28
  "daisyui": "^4.6.1",
28
29
  "eslint": "^8.24.0",
30
+ "eslint-plugin-json": "^3.1.0",
29
31
  "eslint-plugin-react": "^7.31.8",
30
32
  "eslint-plugin-react-hooks": "^4.6.0",
33
+ "eslint-plugin-yml": "^1.14.0",
31
34
  "postcss": "^8.4.21",
32
35
  "react": "^18.2.0",
33
36
  "react-dom": "^18.2.0",