@nocobase/client-v2 2.1.37 → 2.1.38

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.
@@ -24,6 +24,12 @@ type DefaultCollectionBlockModelStructure = {
24
24
  type CustomFormBlockModelClassesEnum = {};
25
25
  export declare class FormBlockModel<T extends DefaultCollectionBlockModelStructure = DefaultCollectionBlockModelStructure> extends CollectionBlockModel<T> {
26
26
  formValueRuntime?: FormValueRuntime;
27
+ serialize(): {
28
+ variableContractType: {
29
+ type: string;
30
+ use: string;
31
+ };
32
+ };
27
33
  private userModifiedTopLevelFields;
28
34
  get form(): FormInstance<any>;
29
35
  _defaultCustomModelClasses: {
@@ -18,6 +18,12 @@ export type DefaultFormGridStructure = {
18
18
  };
19
19
  };
20
20
  export declare class FormGridModel<T extends DefaultFormGridStructure = DefaultFormGridStructure> extends GridModel<T> {
21
+ serialize(): {
22
+ variableContractType: {
23
+ type: string;
24
+ use: string;
25
+ };
26
+ };
21
27
  itemFallback: React.JSX.Element;
22
28
  itemSettingsMenuLevel: number;
23
29
  itemFlowSettings: {
@@ -16,6 +16,7 @@ type ObservableBinding = {
16
16
  };
17
17
  export type RuleEngineOptions = {
18
18
  getBlockModelUid: () => string;
19
+ getAssignRulesModelUid: () => string | undefined;
19
20
  getActionName: () => string | undefined;
20
21
  getBlockContext: () => any;
21
22
  getEngine: () => any;