ode-explorer 1.4.2 → 1.4.3

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/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer=1.0-b2school-SNAPSHOT 18/03/2024 18:14:14
1
+ ode-explorer=1.0-b2school-SNAPSHOT 29/04/2024 17:20:53
@@ -1,4 +1,4 @@
1
- import { AppParams } from "../utils/getAppParams";
1
+ import { AppParams } from '../config/getExplorerConfig';
2
2
  declare const Explorer: ({ config }: {
3
3
  config: AppParams;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,20 @@
1
1
  import { type App, type ResourceType, type IAction, type IFilter, type IOrder } from "edifice-ts-client";
2
2
  export interface AppParams {
3
+ /** Application code */
3
4
  app: App;
5
+ /** Array of ResourceType */
4
6
  types: ResourceType[];
7
+ /** Array of IFilter */
5
8
  filters: IFilter[];
9
+ /** Array of IOrder */
6
10
  orders: IOrder[];
11
+ /** Array of IAction */
7
12
  actions: IAction[];
13
+ /** Array of trashable IAction */
8
14
  trashActions: IAction[];
15
+ /** BPR application code */
9
16
  libraryAppFilter?: string;
17
+ /** Enable or disable Explorer Onboarding Modal */
18
+ enableOnboarding?: boolean;
10
19
  }
11
20
  export declare function getExplorerConfig(): AppParams;
package/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default as Explorer } from "./components/Explorer";
2
+ export * from "./config/getExplorerConfig";
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as l } from "./index2.js";
1
+ import { E as g, z as l } from "./index2.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "@edifice-ui/react";
@@ -9,5 +9,6 @@ import "i18next";
9
9
  import "zustand";
10
10
  import "@tanstack/react-query";
11
11
  export {
12
- l as Explorer
12
+ g as Explorer,
13
+ l as getExplorerConfig
13
14
  };