@harbor-design/proform 1.2.8 → 1.2.9

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,8 +1,8 @@
1
- import { AnyObject, runtimeMeta } from "../types";
1
+ import { AnyObject, RuntimeMeta } from "../types";
2
2
  type Modifier = "native";
3
3
  type FunctionNative = (args: {
4
4
  rawArgs: any[];
5
- } & runtimeMeta) => any;
5
+ } & RuntimeMeta) => any;
6
6
  export declare function useModifiers(functionNative: FunctionNative, modifier: Modifier): FunctionNative;
7
7
  export declare function markNativeFunction(functionNative: FunctionNative): FunctionNative;
8
8
  export declare function markNativeObject(objectNative: AnyObject): AnyObject;
@@ -85,13 +85,13 @@ export interface ListSchema {
85
85
  show?: boolean;
86
86
  }
87
87
  export type Schema = ItemSchema | GroupSchema | ListSchema;
88
- export interface runtimeMeta {
88
+ export interface RuntimeMeta {
89
89
  model: AnyObject;
90
90
  reactiveModel: AnyObject;
91
91
  shared: AnyObject;
92
92
  share: (data: AnyObject) => any;
93
93
  }
94
- export type ProFormProxyRule<T> = T | ((runtimeMeta: runtimeMeta) => T) | ((runtimeMeta: runtimeMeta) => Promise<T>);
94
+ export type ProFormProxyRule<T> = T | ((runtimeMeta: RuntimeMeta) => T) | ((runtimeMeta: RuntimeMeta) => Promise<T>);
95
95
  export type ProFormProxy<T> = {
96
96
  [K in keyof T]: ProFormProxyRule<T[K]>;
97
97
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",