interface Schemas {
    byFrom?: {
        [type: string]: string[];
    };
    byTo?: {
        [type: string]: string[];
    };
    byType?: {
        [type: string]: {
            from: string;
            get?: ((deep, id) => Promise<any>);
            to: string;
        };
    };
}

Properties

Properties

byFrom?: {
    [type: string]: string[];
}

Type declaration

  • [type: string]: string[]
byTo?: {
    [type: string]: string[];
}

Type declaration

  • [type: string]: string[]
byType?: {
    [type: string]: {
        from: string;
        get?: ((deep, id) => Promise<any>);
        to: string;
    };
}

Type declaration

  • [type: string]: {
        from: string;
        get?: ((deep, id) => Promise<any>);
        to: string;
    }
    • from: string
    • Optional get?: ((deep, id) => Promise<any>)
        • (deep, id): Promise<any>
        • Parameters

          • deep: any
          • id: any

          Returns Promise<any>

    • to: string