Skip to content

Commit

Permalink
feat: update the response data type
Browse files Browse the repository at this point in the history
  • Loading branch information
YounixM committed Oct 24, 2024
1 parent f8e4749 commit 8d704c3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions frontend/src/types/api/preferences/userOrgPreferences.ts
Original file line number Diff line number Diff line change
@@ -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>;
}

0 comments on commit 8d704c3

Please sign in to comment.