Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function createSearchInWorkspacePreferences(preferences: PreferenceService): SearchInWorkspacePreferences {
return createPreferenceProxy(preferences, searchInWorkspacePreferencesSchema);
}
export function createOutputPreferences(preferences: PreferenceService): OutputPreferences {
return createPreferenceProxy(preferences, OutputConfigSchema);
}
export function createEditorPreferences(preferences: PreferenceService): EditorPreferences {
return createPreferenceProxy(preferences, editorPreferenceSchema);
}
export function createWorkspacePreferences(preferences: PreferenceService): WorkspacePreferences {
return createPreferenceProxy(preferences, workspacePreferenceSchema);
}
export function createNotificationPreferences(preferences: PreferenceService): NotificationPreferences {
return createPreferenceProxy(preferences, NotificationConfigSchema);
}
export function createFileSystemPreferences(preferences: PreferenceService): FileSystemPreferences {
return createPreferenceProxy(preferences, filesystemPreferenceSchema);
}
export function createFileSystemPreferences(preferences: PreferenceService): FileSystemPreferences {
return createPreferenceProxy(preferences, filesystemPreferenceSchema);
}