archetecture security fix
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export declare function presentAdminUser<T extends Record<string, any>>(admin: T): Omit<T, "passwordHash" | "totpSecret">;
|
||||
export declare function presentAdminSession<T extends Record<string, any>>(admin: T, token: string): {
|
||||
token: string;
|
||||
admin: Omit<T, "passwordHash" | "totpSecret">;
|
||||
};
|
||||
export declare function presentPaginated<T>(data: T[], total: number, page: number, pageSize: number, extra?: Record<string, unknown>): {
|
||||
data: T[];
|
||||
total: number;
|
||||
page: number;
|
||||
pageSize: number;
|
||||
totalPages: number;
|
||||
};
|
||||
//# sourceMappingURL=admin.presenter.d.ts.map
|
||||
Reference in New Issue
Block a user