feat(ADM-018): completed feature
This commit is contained in:
@@ -15,3 +15,26 @@ export interface ProfilePatch {
|
||||
displayName?: string | null;
|
||||
phone?: string | null;
|
||||
}
|
||||
|
||||
/** Joined identity_users + users_profiles row for admin customer listing. */
|
||||
export interface CustomerSummary {
|
||||
userId: string;
|
||||
email: string;
|
||||
role: string;
|
||||
displayName: string | null;
|
||||
phone: string | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
/** Paginated customer list result. */
|
||||
export interface CustomerListResult {
|
||||
items: CustomerSummary[];
|
||||
total: number;
|
||||
}
|
||||
|
||||
/** Filters for customer listing. */
|
||||
export interface CustomerListOptions {
|
||||
q?: string;
|
||||
offset: number;
|
||||
limit: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user