Display user's active/inactive status from the backend in the profile details.
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import { pb } from "@/lib/pocketbase";
|
import { pb } from "@/lib/pocketbase";
|
||||||
|
|
||||||
export interface User {
|
export interface User {
|
||||||
@@ -13,6 +12,7 @@ export interface User {
|
|||||||
avatar?: string;
|
avatar?: string;
|
||||||
role?: string;
|
role?: string;
|
||||||
isActive?: boolean;
|
isActive?: boolean;
|
||||||
|
status?: string; // Added this field to support the backend status
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateUserData {
|
export interface CreateUserData {
|
||||||
|
|||||||
Reference in New Issue
Block a user