diff --git a/src/services/user-preferences/models/definitions/user-preference-definition.ts b/src/services/user-preferences/models/definitions/user-preference-definition.ts index db5a43b90..0393884d1 100644 --- a/src/services/user-preferences/models/definitions/user-preference-definition.ts +++ b/src/services/user-preferences/models/definitions/user-preference-definition.ts @@ -3,5 +3,5 @@ import { type UserPreferenceScopeType } from './user-preference-scope-type' export interface UserPreferenceDefinition { isOptedInByDefault: boolean allowedScope: UserPreferenceScopeType - defaultData: unknown + defaultData: Record } diff --git a/src/services/user-preferences/models/storage-models/user-preference.ts b/src/services/user-preferences/models/storage-models/user-preference.ts index d6e5a6b35..f8c230bcb 100644 --- a/src/services/user-preferences/models/storage-models/user-preference.ts +++ b/src/services/user-preferences/models/storage-models/user-preference.ts @@ -1,4 +1,4 @@ export interface UserPreference { optedIn: boolean - data?: unknown + data?: Record }