@nocobase/client 2.0.0-alpha.23 → 2.0.0-alpha.25

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.
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { Liquid } from 'liquidjs';
10
10
  export declare class LiquidEngine extends Liquid {
11
- constructor(options?: {});
11
+ constructor(options: any);
12
12
  /**
13
13
  * 将路径数组转为 Liquid 模板上下文对象
14
14
  * @param {string[]} paths - 如 ['ctx.user.name', 'ctx.order.total']
@@ -6,5 +6,4 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import React from 'react';
10
- export declare const Display: (props: any) => string | React.JSX.Element;
9
+ export declare const Display: (props: any) => any;
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { ComponentType } from 'react';
10
10
  import { SnippetEntry } from './runjsCompletions';
11
+ import { RunLog } from './hooks/useCodeRunner';
11
12
  /**
12
13
  * Shared types for CodeEditor components
13
14
  */
@@ -16,6 +17,7 @@ export interface EditorRef {
16
17
  read(): string;
17
18
  buttonGroupHeight?: number;
18
19
  snippetEntries: SnippetEntry[];
20
+ logs: RunLog[];
19
21
  }
20
22
  export type CodeEditorExtra = ComponentType<{
21
23
  name?: string;
@@ -7,6 +7,7 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import { ButtonProps } from 'antd';
10
+ import { AxiosRequestConfig } from 'axios';
10
11
  import { ActionModel } from '../base/ActionModel';
11
12
  import { AssignFormModel } from '../blocks/assign-form/AssignFormModel';
12
13
  export declare class UpdateRecordActionModel extends ActionModel<{
@@ -18,4 +19,9 @@ export declare class UpdateRecordActionModel extends ActionModel<{
18
19
  assignFormUid?: string;
19
20
  defaultProps: ButtonProps;
20
21
  getAclActionName(): string;
22
+ /**
23
+ * 简化设置保存请求配置的方式
24
+ * @param requestConfig
25
+ */
26
+ setSaveRequestConfig(requestConfig?: AxiosRequestConfig): void;
21
27
  }
@@ -9,7 +9,8 @@
9
9
  import React from 'react';
10
10
  import { FilterFormCustomItemModel } from '../FilterFormCustomItemModel';
11
11
  export declare class FilterFormCustomFieldModel extends FilterFormCustomItemModel {
12
- fieldModelInstance: any;
12
+ customFieldModelInstance: any;
13
+ customFieldProps: any;
13
14
  operator: string;
14
15
  private debouncedDoFilter;
15
16
  get defaultTargetUid(): string;