@dappworks/urpc
Advanced tools
Comparing version 0.0.49 to 0.0.51
@@ -33,12 +33,2 @@ // Generated by dts-bundle-generator v9.5.1 | ||
} | URPC_Action<T, R> | URPC_Function<T, R, any>; | ||
export type URPC_Action<T extends Object = {}, R extends any = any> = { | ||
type?: "action"; | ||
input?: T; | ||
func?: (args: { | ||
val: Item<R>; | ||
input: T; | ||
}) => any; | ||
uiConfig?: FormConfigItem; | ||
schema?: URPC_SchemaField<R>; | ||
}; | ||
export type URPC_ClassGet = () => { | ||
@@ -52,3 +42,3 @@ enums?: any[] | { | ||
export type URPC_Class<G extends URPC_ClassGet = URPC_ClassGet> = { | ||
class: string; | ||
class?: string; | ||
get: G; | ||
@@ -59,2 +49,13 @@ }; | ||
}; | ||
export type URPC_Action<T extends Object = {}, R extends any = any> = { | ||
type?: "action"; | ||
input?: T | (() => T); | ||
confirm?: boolean; | ||
func?: (args: { | ||
val: Item<R>; | ||
input: T; | ||
}) => any; | ||
uiConfig?: FormConfigItem; | ||
schema?: URPC_SchemaField<R>; | ||
}; | ||
export interface URPC_Function<T extends Object = {}, R extends any = any, V = any> { | ||
@@ -65,3 +66,4 @@ uid: string; | ||
path?: string; | ||
input: T; | ||
confirm?: boolean; | ||
input: T | T | (() => T); | ||
func: (args: { | ||
@@ -68,0 +70,0 @@ input: URPC_Input<T>; |
{ | ||
"name": "@dappworks/urpc", | ||
"version": "0.0.49", | ||
"version": "0.0.51", | ||
"module": "index.ts", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
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
51096
431