ode-explorer 1.4.1 → 1.4.2-develop-b2school.202403201820
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/index.html +1 -0
- package/dist/index.js +43 -31
- package/dist/version.txt +1 -1
- package/lib/components/Explorer.d.ts +1 -1
- package/lib/config/getExplorerConfig.d.ts +9 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -2
- package/lib/index2.js +559 -537
- package/lib/store/index.d.ts +4 -2
- package/package.json +10 -10
- package/lib/utils/getAppParams.d.ts +0 -10
package/lib/store/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ interface State {
|
|
|
18
18
|
minLength: number;
|
|
19
19
|
};
|
|
20
20
|
status: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
type Action = {
|
|
21
23
|
updaters: {
|
|
22
24
|
setConfig: (config: AppParams) => void;
|
|
23
25
|
setSearchConfig: (config: {
|
|
@@ -46,8 +48,8 @@ interface State {
|
|
|
46
48
|
gotoPreviousFolder: () => void;
|
|
47
49
|
goToTrash: () => void;
|
|
48
50
|
};
|
|
49
|
-
}
|
|
50
|
-
export declare const useStoreContext: import("zustand").UseBoundStore<import("zustand").StoreApi<State>>;
|
|
51
|
+
};
|
|
52
|
+
export declare const useStoreContext: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Action>>;
|
|
51
53
|
export declare const useSearchParams: () => ISearchParameters & IActionParameters;
|
|
52
54
|
export declare const useSelectedNodesIds: () => string[];
|
|
53
55
|
export declare const useTreeData: () => TreeNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-explorer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2-develop-b2school.202403201820",
|
|
4
4
|
"description": "Edifice Explorer",
|
|
5
5
|
"homepage": "https://github.com/edificeio/explorer#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"license": "AGPL-3.0",
|
|
14
14
|
"author": "Edifice",
|
|
15
15
|
"type": "module",
|
|
16
|
-
"files": [
|
|
17
|
-
"dist",
|
|
18
|
-
"lib",
|
|
19
|
-
"*.d.ts"
|
|
20
|
-
],
|
|
21
16
|
"exports": {
|
|
22
17
|
"./lib": {
|
|
23
18
|
"import": "./lib/index.js",
|
|
24
19
|
"types": "./lib/index.d.ts"
|
|
25
20
|
}
|
|
26
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"lib",
|
|
25
|
+
"*.d.ts"
|
|
26
|
+
],
|
|
27
27
|
"husky": {
|
|
28
28
|
"hooks": {
|
|
29
29
|
"pre-commit": "lint-staged"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@edifice-ui/icons": "
|
|
40
|
-
"@edifice-ui/react": "
|
|
39
|
+
"@edifice-ui/icons": "develop-b2school",
|
|
40
|
+
"@edifice-ui/react": "develop-b2school",
|
|
41
41
|
"@react-spring/web": "9.7.3",
|
|
42
42
|
"@tanstack/react-query": "5.8.4",
|
|
43
43
|
"clsx": "2.1.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@vitejs/plugin-react-swc": "3.5.0",
|
|
66
66
|
"concurrently": "8.2.2",
|
|
67
67
|
"csstype": "3.1.3",
|
|
68
|
-
"edifice-bootstrap": "
|
|
69
|
-
"edifice-ts-client": "
|
|
68
|
+
"edifice-bootstrap": "develop-b2school",
|
|
69
|
+
"edifice-ts-client": "develop-b2school",
|
|
70
70
|
"eslint": "8.56.0",
|
|
71
71
|
"eslint-config-prettier": "9.1.0",
|
|
72
72
|
"eslint-plugin-import": "2.29.1",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type App, type ResourceType, type IAction, type IFilter, type IOrder } from "edifice-ts-client";
|
|
2
|
-
export interface AppParams {
|
|
3
|
-
app: App;
|
|
4
|
-
types: ResourceType[];
|
|
5
|
-
filters: IFilter[];
|
|
6
|
-
orders: IOrder[];
|
|
7
|
-
actions: IAction[];
|
|
8
|
-
trashActions: IAction[];
|
|
9
|
-
libraryAppFilter?: string;
|
|
10
|
-
}
|