/** * Dashboard settings types. v1 covers only monitored groups (FEAT-006), * persisted as a generic CMS setting of type `setting.dashboard.monitored_groups`. * * All field names use camelCase to match the backend API response. */ /** Generic setting response envelope (`GET/PUT /api/v1/settings/{typeName}`). */ export interface ISettingResponse> { typeName: string; displayName?: string; data: T; /** `false` when the CT exists but no record has been written yet. */ exists: boolean; } /** Monitored-groups setting data. */ export interface IMonitoredGroupsData { groups: string[]; } /** Convenience alias for the monitored-groups setting envelope. */ export type IMonitoredGroupsResponse = ISettingResponse; /** Payload for PUT /api/v1/settings/{typeName} (key/value pairs). */ export interface IMonitoredGroupsPayload { groups: string[]; } /** * Public-markets setting data (api-inventory §5.7.5) — anonymous UI defaults. */ export interface IPublicMarketsData { /** MT5 server id for anonymous symbol / chart / WS requests (e.g. `'live'`). */ defaultServer: string; /** * Curated symbol names for the anonymous markets strip. Order is * significant (display order = array order). */ commonSymbols: string[]; } /** Convenience alias for the public-markets setting envelope. */ export type IPublicMarketsResponse = ISettingResponse; //# sourceMappingURL=settings.type.d.ts.map