feat: update the response data type

This commit is contained in:
Yunus M 2024-10-24 13:32:08 +05:30
parent f8e47496fa
commit 8d704c331c

View File

@ -1,39 +1,39 @@
export interface GetOrgPreferenceResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}
export interface GetUserPreferenceResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}
export interface GetAllOrgPreferencesResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}
export interface GetAllUserPreferencesResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}
export interface UpdateOrgPreferenceProps {
key: string;
value: string;
value: unknown;
}
export interface UpdateUserPreferenceProps {
key: string;
value: string;
value: unknown;
}
export interface UpdateOrgPreferenceResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}
export interface UpdateUserPreferenceResponseProps {
status: string;
data: string;
data: Record<string, unknown>;
}