From 2e80c681168802c920c321c055afcfeb2bea37ac Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Tue, 15 Dec 2020 10:03:06 -0800 Subject: [PATCH] add file-system-access api from old ks repo (#2151) --- kumascript/macros/GroupData.json | 18 ++++++++++++++++++ kumascript/macros/SpecData.json | 5 +++++ 2 files changed, 23 insertions(+) diff --git a/kumascript/macros/GroupData.json b/kumascript/macros/GroupData.json index f1010c234b03..423083c54570 100644 --- a/kumascript/macros/GroupData.json +++ b/kumascript/macros/GroupData.json @@ -452,6 +452,24 @@ "properties": [], "events": [] }, + "File System Access API": { + "overview": ["File System Access API"], + "guides": [], + "interfaces": [ + "FileSystemHandle", + "FileSystemFileHandle", + "FileSystemDirectoryHandle", + "FileSystemWritableFileStream" + ], + "methods": [ + "window.showOpenFilePicker()", + "window.showSaveFilePicker()", + "window.showDirectoryPicker()", + "DataTransferItem.getAsFileSystemHandle()" + ], + "properties": [], + "events": [] + }, "File System API": { "overview": ["File and Directory Entries API"], "guides": [ diff --git a/kumascript/macros/SpecData.json b/kumascript/macros/SpecData.json index 41afdf72f773..3b9907892b64 100644 --- a/kumascript/macros/SpecData.json +++ b/kumascript/macros/SpecData.json @@ -819,6 +819,11 @@ "url": "https://w3c.github.io/FileAPI/", "status": "WD" }, + "File System Access API": { + "name": "File System Access API", + "url": "https://wicg.github.io/file-system-access/", + "status": "WD" + }, "File System API": { "name": "File and Directory Entries API", "url": "https://wicg.github.io/entries-api/",