@dappworks/urpc
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -39,3 +39,3 @@ // Generated by dts-bundle-generator v9.5.1 | ||
} | ||
export interface URPC_Variable<T extends () => any = () => any, G extends () => any | undefined = () => any> { | ||
export interface URPC_Variable<T extends () => any = () => any> { | ||
uid: string; | ||
@@ -47,11 +47,9 @@ type?: "var"; | ||
schema?: (val: ReturnType<T>) => { | ||
[F in keyof Item<ReturnType<T>>]?: { | ||
[F in keyof Item<ReturnType<T>> | string]?: { | ||
type?: string; | ||
uiConfig?: FormConfigItem; | ||
} | { | ||
type: "action"; | ||
call(val: Item<ReturnType<G>>): any; | ||
call?: (val: Item<ReturnType<T>>) => any; | ||
}; | ||
}; | ||
_schema?: ReturnType<Required<URPC_Variable<T, G>>["schema"]>; | ||
_schema?: ReturnType<Required<URPC_Variable<T>>["schema"]>; | ||
actions?: ActionType<Item<ReturnType<T>>>; | ||
@@ -70,3 +68,3 @@ patch?: { | ||
} | ||
export type URPC_Entity = URPC_Function<any, any> | URPC_Variable<any, any>; | ||
export type URPC_Entity = URPC_Function<any, any> | URPC_Variable<any>; | ||
export type URPC_Schema = { | ||
@@ -141,3 +139,3 @@ [key: string]: URPC_Entity | URPC_Schema; | ||
var: { | ||
set<R_1 extends keyof T, V extends T[R_1] extends URPC_Variable<infer Z_2 extends () => any, any> ? Z_2 : never>(params: { | ||
set<R_1 extends keyof T, V extends T[R_1] extends URPC_Variable<infer Z_2 extends () => any> ? Z_2 : never>(params: { | ||
name: R_1; | ||
@@ -144,0 +142,0 @@ value: ReturnType<V>; |
{ | ||
"name": "@dappworks/urpc", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"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
47093
383