File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/compass-preferences-model/src Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,6 @@ type PreferenceDefinition<K extends keyof AllPreferences> = {
215215 : false
216216 : boolean ;
217217
218- selectableValues ?: ReadonlyArray < { value : string ; label : string } > ;
219218 validator : z . Schema <
220219 AllPreferences [ K ] ,
221220 z . ZodTypeDef ,
@@ -1211,17 +1210,3 @@ export function getSettingDescription<
12111210 type,
12121211 } ;
12131212}
1214-
1215- export function getSettingSelectableValues <
1216- Name extends Exclude < keyof AllPreferences , keyof InternalUserPreferences >
1217- > (
1218- name : Name
1219- ) : Pick < PreferenceDefinition < Name > , 'selectableValues' > & { type : unknown } {
1220- const { selectableValues, type } = allPreferencesProps [
1221- name
1222- ] as PreferenceDefinition < Name > ;
1223- return {
1224- selectableValues,
1225- type,
1226- } ;
1227- }
You can’t perform that action at this time.
0 commit comments