@nocobase/client 1.3.15-beta → 1.3.17-beta

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.
@@ -18,6 +18,7 @@ export declare class APIClient extends APIClientSDK {
18
18
  getHeaders(): {};
19
19
  service(uid: string): Result<any, any>;
20
20
  interceptors(): void;
21
+ toErrMessages(error: any): any;
21
22
  useNotificationMiddleware(): void;
22
23
  silent(): this;
23
24
  }
@@ -16,11 +16,11 @@ import { ComponentTypeAndString, RouterManager, RouterOptions } from './RouterMa
16
16
  import { WebSocketClient, WebSocketClientOptions } from './WebSocketClient';
17
17
  import { SchemaInitializer, SchemaInitializerManager } from './schema-initializer';
18
18
  import { SchemaSettings, SchemaSettingsManager } from './schema-settings';
19
- import { DataSourceManager, type DataSourceManagerOptions } from '../data-source/data-source/DataSourceManager';
20
19
  import { CollectionFieldInterfaceComponentOption } from '../data-source/collection-field-interface/CollectionFieldInterface';
20
+ import { DataSourceManager, type DataSourceManagerOptions } from '../data-source/data-source/DataSourceManager';
21
+ import type { CollectionFieldInterfaceFactory } from '../data-source';
21
22
  import type { Plugin } from './Plugin';
22
23
  import type { RequireJS } from './utils/requirejs';
23
- import type { CollectionFieldInterfaceFactory } from '../data-source';
24
24
  declare global {
25
25
  interface Window {
26
26
  define: RequireJS['define'];
@@ -62,7 +62,7 @@ export declare const useCustomizeRequestActionProps: () => {
62
62
  onClick(): Promise<void>;
63
63
  };
64
64
  export declare const useUpdateActionProps: () => {
65
- onClick(): Promise<void>;
65
+ onClick(e?: any, callBack?: any): Promise<void>;
66
66
  };
67
67
  export declare const useDestroyActionProps: () => {
68
68
  onClick(e?: any, callBack?: any): Promise<void>;
@@ -16,3 +16,7 @@ export interface CollectionDeletedPlaceholderProps {
16
16
  * @internal
17
17
  */
18
18
  export declare const CollectionDeletedPlaceholder: FC<CollectionDeletedPlaceholderProps>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const CollectionNotAllowViewPlaceholder: FC<any>;
@@ -82,4 +82,7 @@ export declare const AssociationOrCollectionProvider: (props: {
82
82
  export declare const DataBlockProvider: FC<Partial<AllDataBlockProps>>;
83
83
  export declare const useDataBlock: <T extends {}>() => DataBlockContextValue<T>;
84
84
  export declare const useDataBlockProps: <T extends {}>() => AllDataBlockProps & T;
85
+ export declare const useRerenderDataBlock: () => {
86
+ rerenderDataBlock: () => void;
87
+ };
85
88
  export {};