@nocobase/client 1.6.0-alpha.25 → 1.6.0-alpha.26

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.
@@ -21,6 +21,10 @@ import { DataSourceManager, type DataSourceManagerOptions } from '../data-source
21
21
  import type { CollectionFieldInterfaceFactory } from '../data-source';
22
22
  import type { Plugin } from './Plugin';
23
23
  import type { RequireJS } from './utils/requirejs';
24
+ type JsonLogic = {
25
+ addOperation: (name: string, fn?: any) => void;
26
+ rmOperation: (name: string) => void;
27
+ };
24
28
  declare global {
25
29
  interface Window {
26
30
  define: RequireJS['define'];
@@ -70,6 +74,7 @@ export declare class Application {
70
74
  dataSourceManager: DataSourceManager;
71
75
  name: string;
72
76
  globalVars: Record<string, any>;
77
+ jsonLogic: JsonLogic;
73
78
  loading: boolean;
74
79
  maintained: boolean;
75
80
  maintaining: boolean;
@@ -124,3 +129,4 @@ export declare class Application {
124
129
  addGlobalVar(key: string, value: any): void;
125
130
  getGlobalVar(key: any): any;
126
131
  }
132
+ export {};