import type { AppSettingsSchema } from "./app-settings-schema.js"; import type { ScopedSettingsSchema } from "./settings-schema.js"; import type { TypeOfSettingNode } from "./utils/typeof-setting-node.js"; /** * @internal * Internal user settings type. Not exposed to developers. */ export type UserSettings = AppSettingsSchema extends { user: ScopedSettingsSchema; } ? { [K in keyof { [Key in keyof AppSettingsSchema["user"]]: TypeOfSettingNode; } as string extends K ? never : K]: { [Key in keyof AppSettingsSchema["user"]]: TypeOfSettingNode; }[K] | null; } : Record; export type WorkspaceSettings = AppSettingsSchema extends { workspace: ScopedSettingsSchema; } ? { [K in keyof { [Key in keyof AppSettingsSchema["workspace"]]: TypeOfSettingNode; } as string extends K ? never : K]: { [Key in keyof AppSettingsSchema["workspace"]]: TypeOfSettingNode; }[K] | null; } : Record; /** * @internal * Internal app settings interface that includes both user and workspace settings. * Used internally by the SDK. * * Do not use this type directly. Use the AppSettings instead. * * @deprecated Use AppSettings instead. */ export interface InternalAppSettings { user: UserSettings; workspace: WorkspaceSettings; } export interface AppSettings { workspace: WorkspaceSettings; } //# sourceMappingURL=app-settings.d.ts.map