UNPKG

n8n-nodes-wax

Version:

n8n Community Node Package for the WAX Blockchain

16 lines (15 loc) 430 B
import SerializationState from '../Serialization/State'; export interface ISchema { serialize(data: any): Uint8Array; deserialize(state: SerializationState): Uint8Array; } export declare type SchemaObject = { name: string; type: string; parent?: number; }; export declare type MappingAttribute = { name: string; value: ISchema; }; export declare function ObjectSchema(schema: SchemaObject[]): ISchema;