@nocobase/plugin-graph-collection-manager 0.19.0-alpha.9 → 0.20.0-alpha.1

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.
@@ -1,18 +1,5 @@
1
1
  import React from 'react';
2
- export declare const useValuesFromRecord: (options: any, data: any) => {
3
- state: {};
4
- setState: import("ahooks/lib/useSetState").SetState<{}>;
5
- loading: boolean;
6
- data?: unknown;
7
- error?: Error;
8
- params: any;
9
- cancel: () => void;
10
- refresh: () => void;
11
- refreshAsync: () => Promise<unknown>;
12
- run: (...params: any) => void;
13
- runAsync: (...params: any) => Promise<unknown>;
14
- mutate: (data?: unknown) => void;
15
- };
2
+ export declare const useValuesFromRecord: (options: any, data: any) => import("@nocobase/client").UseRequestResult<unknown>;
16
3
  export declare const SourceCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
17
4
  export declare const useCancelAction: () => {
18
5
  run(): Promise<void>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const AddCollectionAction: ({ item: record }: {
2
+ export declare const AddCollectionAction: ({ item: recordData }: {
3
3
  item: any;
4
4
  }) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
- export declare const EditFieldAction: ({ item: record }: {
2
+ export declare const EditFieldAction: ({ item: record, parentItem: ParentRecord }: {
3
3
  item: any;
4
+ parentItem: any;
4
5
  }) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
- export declare const OverrideFieldAction: ({ item: record }: {
2
+ export declare const OverrideFieldAction: ({ item: record, parentItem: parentRecord }: {
3
3
  item: any;
4
+ parentItem: any;
4
5
  }) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
- export declare const ViewFieldAction: ({ item: record }: {
2
+ export declare const ViewFieldAction: ({ item: record, parentItem: parentRecord }: {
3
3
  item: any;
4
+ parentItem: any;
4
5
  }) => React.JSX.Element;