@tinycloud/cli 0.7.0-beta.16 → 0.7.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -37855,8 +37855,6 @@ var SQLAction = {
|
|
|
37855
37855
|
READ: "tinycloud.sql/read",
|
|
37856
37856
|
WRITE: "tinycloud.sql/write",
|
|
37857
37857
|
SCHEMA: "tinycloud.sql/schema",
|
|
37858
|
-
/** @deprecated Use SQLAction.SCHEMA. */
|
|
37859
|
-
DDL: "tinycloud.sql/schema",
|
|
37860
37858
|
ADMIN: "tinycloud.sql/admin",
|
|
37861
37859
|
SELECT: "tinycloud.sql/select",
|
|
37862
37860
|
INSERT: "tinycloud.sql/insert",
|
|
@@ -43534,7 +43532,7 @@ async function confirmPermissionRequest(permissions) {
|
|
|
43534
43532
|
function isDangerousPermission(permission) {
|
|
43535
43533
|
if (permission.path === "" || permission.path === "/") return true;
|
|
43536
43534
|
return permission.actions.some(
|
|
43537
|
-
(action) => action.includes("*") || action.endsWith("/write") || action.endsWith("/admin") || action.endsWith("/schema") || action.endsWith("/
|
|
43535
|
+
(action) => action.includes("*") || action.endsWith("/write") || action.endsWith("/admin") || action.endsWith("/schema") || action.endsWith("/del")
|
|
43538
43536
|
);
|
|
43539
43537
|
}
|
|
43540
43538
|
function parseExpiryOption(raw) {
|