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 { export interface GetOrgPreferenceResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }
export interface GetUserPreferenceResponseProps { export interface GetUserPreferenceResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }
export interface GetAllOrgPreferencesResponseProps { export interface GetAllOrgPreferencesResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }
export interface GetAllUserPreferencesResponseProps { export interface GetAllUserPreferencesResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }
export interface UpdateOrgPreferenceProps { export interface UpdateOrgPreferenceProps {
key: string; key: string;
value: string; value: unknown;
} }
export interface UpdateUserPreferenceProps { export interface UpdateUserPreferenceProps {
key: string; key: string;
value: string; value: unknown;
} }
export interface UpdateOrgPreferenceResponseProps { export interface UpdateOrgPreferenceResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }
export interface UpdateUserPreferenceResponseProps { export interface UpdateUserPreferenceResponseProps {
status: string; status: string;
data: string; data: Record<string, unknown>;
} }