chromium/third_party/blink/renderer/modules/file_system_access/file_picker_options.idl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

enum WellKnownDirectory {
  "desktop",
  "documents",
  "downloads",
  "music",
  "pictures",
  "videos",
};

// https://wicg.github.io/file-system-access/#dictdef-filepickeroptions
dictionary FilePickerOptions {
  sequence<FilePickerAcceptType> types;
  boolean excludeAcceptAllOption = false;
  DOMString id;
  (WellKnownDirectory or FileSystemHandle) startIn;
};