UNPKG

@xmobitea/gn-typescript-client

Version:

GearN Typescript Client SDK by XmobiTea (Pro)

23 lines (22 loc) 471 B
export type Constructor<T> = { new (...args: any[]): T; }; export type AbstractConstructor<T> = Function & { prototype: T; }; export declare enum FieldDataType { Boolean = 0, Number = 1, String = 2, Array = 3, Object = 4 } export interface GNObjectFieldMetadata { name: string; fieldType: FieldDataType; cls: new (...args: any[]) => any; } export interface GNObjectMetadata { id: string; fields: GNObjectFieldMetadata[]; }