@dappworks/urpc
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -13,3 +13,3 @@ // Generated by dts-bundle-generator v9.5.1 | ||
export type FormConfigType<T> = { | ||
[F in keyof T]?: FormConfigItem; | ||
[F in keyof T]?: Item<FormConfigItem>; | ||
}; | ||
@@ -25,2 +25,3 @@ export type FormConfigItem = { | ||
} & UiSchema; | ||
export type Item<T> = T extends (infer U)[] ? U : T; | ||
export interface URPC_Function<T extends Object = {}, R = any> { | ||
@@ -45,3 +46,3 @@ uid: string; | ||
set?: R extends () => infer U ? (value: ReturnType<T>) => U : never; | ||
uiConfig?: () => FormConfigType<ReturnType<T>>; | ||
uiConfig?: () => FormConfigType<Item<ReturnType<T>>>; | ||
} | ||
@@ -48,0 +49,0 @@ export type URPC_Entity = URPC_Function<any, any> | URPC_Variable<any, any>; |
{ | ||
"name": "@dappworks/urpc", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"module": "index.ts", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44290
319