@fluxo-dev/shell 0.0.32 → 0.0.34

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/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "peerDependencies": {
5
- "@fluxo-dev/shell-hub": "0.0.32",
6
- "@fluxo-dev/shell-korebi": "0.0.32",
7
- "@fluxo-dev/shell-mfe": "0.0.32",
8
- "@fluxo-dev/shell-printing": "0.0.32",
9
- "@fluxo-dev/shell-reporting": "0.0.32",
10
- "@fluxo-dev/shell-workflow": "0.0.32"
5
+ "@fluxo-dev/shell-hub": "0.0.34",
6
+ "@fluxo-dev/shell-korebi": "0.0.34",
7
+ "@fluxo-dev/shell-mfe": "0.0.34",
8
+ "@fluxo-dev/shell-printing": "0.0.34",
9
+ "@fluxo-dev/shell-reporting": "0.0.34",
10
+ "@fluxo-dev/shell-workflow": "0.0.34"
11
11
  },
12
12
  "module": "./index.esm.js",
13
13
  "type": "module",
14
- "main": "./index.esm.js"
14
+ "main": "./index.esm.js",
15
+ "types": "./index.esm.d.ts"
15
16
  }
package/src/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { FluxoShell, FluxoShellProps, ShellFrontend, ShellUI, ShellUINavigation } from './lib/app';
1
+ export { FluxoShell, type FluxoShellProps, ShellFrontend, ShellUI, ShellUINavigation } from './lib/app';
2
2
  export { FrontendSwitch } from './lib/components/frontend-switch';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppMenuItem } from "@fluxo-dev/api-client-base";
3
2
  interface NavBarItemProps {
4
3
  icon: JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface CreateDirectoryFormProps {
2
+ domainId: string;
3
+ parentId: string;
4
+ onDirCreated: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function CreateDirectoryForm(props: CreateDirectoryFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface DeleteDirectoryFormProps {
2
+ dirId: string;
3
+ dirDisplayName: string;
4
+ domainId: string;
5
+ onCancel: () => void;
6
+ onDeleted: (dirId: string) => void;
7
+ }
8
+ export declare function DeleteDirectoryForm(props: DeleteDirectoryFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface DeleteFileFormProps {
2
+ fileId: string;
3
+ fileDisplayName: string;
4
+ domainId: string;
5
+ onCancel: () => void;
6
+ onDeleted: (dirId: string) => void;
7
+ }
8
+ export declare function DeleteFileForm(props: DeleteFileFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ export interface FsItemProps {
2
+ domainId: string;
3
+ type: 'directory' | 'file';
4
+ displayName: string;
5
+ uuid: string;
6
+ onClick: (dir: {
7
+ uuid: string;
8
+ displayName: string;
9
+ type: 'directory' | 'file';
10
+ }) => void;
11
+ onDoubleClick: (dir: {
12
+ uuid: string;
13
+ displayName: string;
14
+ type: 'directory' | 'file';
15
+ }) => void;
16
+ isActive: boolean;
17
+ onDirectoryRenamed: (uuid: string, newName: string) => void;
18
+ onDirectoryDeleted: (uuid: string) => void;
19
+ onFileDeleted: (uuid: string) => void;
20
+ }
21
+ export declare function FsItem(props: FsItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface RenameDirectoryFormProps {
2
+ domainId: string;
3
+ onDirRenamed: (newName: string) => void;
4
+ onCancel: () => void;
5
+ initialValue: string;
6
+ directoryId: string;
7
+ }
8
+ export declare function RenameDirectoryForm(props: RenameDirectoryFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface RavifyInstanceDetailV1Props {
2
+ domainId: string;
3
+ }
4
+ export declare function RavifyInstanceDetailV1(props: RavifyInstanceDetailV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export interface RavifyInstanceFileManagerV1Props {
2
+ domainId: string;
3
+ onFileSelected?: (uuid: string, displayName: string) => void;
4
+ }
5
+ export declare function RavifyInstanceFileManagerV1(props: RavifyInstanceFileManagerV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface RavifyInstanceJobCreateV1Props {
2
+ domainId: string;
3
+ scopeId: string;
4
+ onJobCreated: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function RavifyInstanceJobCreateV1(props: RavifyInstanceJobCreateV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { RavifyJobV1 } from "@fluxo-dev/api-client-base";
2
+ export interface RavifyInstanceJobDetailV1Props {
3
+ domainId: string;
4
+ scopeId: string;
5
+ job: RavifyJobV1;
6
+ onJobUpdated: () => void;
7
+ }
8
+ export declare function RavifyInstanceJobDetailV1(props: RavifyInstanceJobDetailV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { RavifyScopeV1 } from "@fluxo-dev/api-client-base";
2
+ export interface RavifyInstanceJobsV1Props {
3
+ domainId: string;
4
+ scopes: RavifyScopeV1[];
5
+ }
6
+ export declare function RavifyInstanceJobsV1(props: RavifyInstanceJobsV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { RavifyScopeV1 } from "@fluxo-dev/api-client-base";
2
+ export interface RavifyInstanceScopeCreateOrUpdateProps {
3
+ domainId: string;
4
+ scope?: RavifyScopeV1;
5
+ onCreatedOrUpdated: () => void;
6
+ onCancel: () => void;
7
+ }
8
+ export declare function RavifyInstanceScopeCreateOrUpdate(props: RavifyInstanceScopeCreateOrUpdateProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { RavifyScopeV1 } from "@fluxo-dev/api-client-base";
2
+ export interface RavifyInstanceScopesV1Props {
3
+ domainId: string;
4
+ onScopesUpdated: (scopes: RavifyScopeV1[]) => void;
5
+ }
6
+ export declare function RavifyInstanceScopesV1(props: RavifyInstanceScopesV1Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { RavifyInstance } from "@fluxo-dev/api-client-base";
2
+ export interface RavifyCreateUpdateInstanceProps {
3
+ instance?: RavifyInstance;
4
+ onCreatedOrUpdated: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function RavifyCreateUpdateInstance(props: RavifyCreateUpdateInstanceProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function RavifyInstances(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare class IconFactory {
3
2
  static icons: {
4
3
  value: string;