Skip to content

Commit c2025de

Browse files
moving prefs up nit from prev ticket
1 parent 2a80745 commit c2025de

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/compass-preferences-model/src/preferences-schema.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,15 @@ export type NonUserPreferences = {
115115
password?: string;
116116
};
117117

118+
export type AtlasProjectPreferences = {
119+
enableGenAIFeaturesAtlasProject: boolean;
120+
enableGenAISampleDocumentPassingOnAtlasProject: boolean;
121+
};
122+
123+
export type AtlasOrgPreferences = {
124+
enableGenAIFeaturesAtlasOrg: boolean;
125+
};
126+
118127
export type AllPreferences = UserPreferences &
119128
CliOnlyPreferences &
120129
NonUserPreferences &
@@ -213,15 +222,6 @@ export type StoredPreferencesValidator = ReturnType<
213222

214223
export type StoredPreferences = z.output<StoredPreferencesValidator>;
215224

216-
export type AtlasProjectPreferences = {
217-
enableGenAIFeaturesAtlasProject: boolean;
218-
enableGenAISampleDocumentPassingOnAtlasProject: boolean;
219-
};
220-
221-
export type AtlasOrgPreferences = {
222-
enableGenAIFeaturesAtlasOrg: boolean;
223-
};
224-
225225
// Preference definitions
226226
const featureFlagsProps: Required<{
227227
[K in keyof FeatureFlags]: PreferenceDefinition<K>;

0 commit comments

Comments
 (0)