소스 검색

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
  *       }