ソースを参照

docs(api): Add missing APIs to dialog allowlist (#5858)

TomatoCake 2 年 前
コミット
ff99a9bf74
1 ファイル変更3 行追加0 行削除
  1. 3 0
      tooling/api/src/dialog.ts

+ 3 - 0
tooling/api/src/dialog.ts

@@ -14,6 +14,9 @@
  *     "allowlist": {
  *       "dialog": {
  *         "all": true, // enable all dialog APIs
+ *         "ask": true, // enable dialog ask API
+ *         "confirm": true, // enable dialog confirm API
+ *         "message": true, // enable dialog message API
  *         "open": true, // enable file open API
  *         "save": true // enable file save API
  *       }