/** * Shared remote-config shape for SDK consumers. * Portal: lib/remote-config.ts ยท Mini: apps/miniprogram/.../remoteConfig.defaults.ts */ export type ModuleToggle = { enabled: boolean; title: string; tabLabel?: string; note?: string; }; export type NomadroRemoteConfig = { version: number; updatedAt: string; modules: Record; flags: Record; copy: Record; }; export const CONFIG_ENDPOINTS = { public: "/api/config", admin: "/api/admin/config", apiV1: "/v1/config", } as const;