Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: update the response data type

Yunus M8d704c331c82
diff --git a/frontend/src/types/api/preferences/userOrgPreferences.ts b/frontend/src/types/api/preferences/userOrgPreferences.ts
index 959b6bb142..6faa75d5f1 100644
--- a/frontend/src/types/api/preferences/userOrgPreferences.ts
+++ b/frontend/src/types/api/preferences/userOrgPreferences.ts
@@ -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>;
}