UNPKG

@authup/server-api

Version:

This is a standalone application.

10 lines 486 B
type BaseAttribute = { name: string; value: string; [key: string]: any; }; export declare function transformAttributesToRecord(data: BaseAttribute[]): Record<string, any>; export declare function transformAttributesToEntities<T extends BaseAttribute>(data: Record<string, any>, extra?: Partial<T>): T[]; export declare function appendAttributes<T extends Record<string, any>>(entity: Partial<T>, attributes: Partial<T>): T; export {}; //# sourceMappingURL=attribute.d.ts.map