passport-bridge 0.48.2 → 0.49.0
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/cliHookAfter.js +10 -1
- package/dist/cliHookDecide.d.ts +9 -3
- package/dist/cliHookDecide.js +182 -28
- package/dist/cliHookSessionState.d.ts +4 -1
- package/dist/cliHookSessionState.js +1 -1
- package/dist/connectorKit/callEffects.generated.d.ts +36 -0
- package/dist/connectorKit/callEffects.generated.js +73 -0
- package/dist/connectorKit/cli.generated.js +5 -2
- package/dist/connectorKit/engine.generated.d.ts +1 -1
- package/dist/connectorKit/engine.generated.js +32 -13
- package/dist/connectorKit/githubIds.generated.d.ts +1 -1
- package/dist/connectorKit/githubIds.generated.js +3 -2
- package/dist/connectorKit/manifest.generated.d.ts +34 -14
- package/dist/connectorKit/manifests/cloudflare.generated.d.ts +2 -0
- package/dist/connectorKit/manifests/cloudflare.generated.js +186 -0
- package/dist/connectorKit/manifests/cloudflareApi.generated.d.ts +4 -0
- package/dist/connectorKit/manifests/cloudflareApi.generated.js +207 -0
- package/dist/connectorKit/manifests/cloudflareCatalog.generated.d.ts +18 -0
- package/dist/connectorKit/manifests/cloudflareCatalog.generated.js +83 -0
- package/dist/connectorKit/manifests/cloudflareCli.generated.d.ts +2 -0
- package/dist/connectorKit/manifests/cloudflareCli.generated.js +441 -0
- package/dist/connectorKit/manifests/githubCapture.generated.js +19 -1
- package/dist/connectorKit/manifests/githubReads.generated.js +0 -3
- package/dist/connectorKit/manifests/kubernetes.generated.d.ts +76 -0
- package/dist/connectorKit/manifests/kubernetes.generated.js +210 -0
- package/dist/connectorKit/manifests/kubernetesArgs.generated.d.ts +21 -0
- package/dist/connectorKit/manifests/kubernetesArgs.generated.js +82 -0
- package/dist/connectorKit/manifests/kubernetesCli.generated.d.ts +30 -0
- package/dist/connectorKit/manifests/kubernetesCli.generated.js +530 -0
- package/dist/connectorKit/manifests/kubernetesEffects.generated.d.ts +15 -0
- package/dist/connectorKit/manifests/kubernetesEffects.generated.js +111 -0
- package/dist/connectorKit/manifests/kubernetesObjects.generated.d.ts +24 -0
- package/dist/connectorKit/manifests/kubernetesObjects.generated.js +154 -0
- package/dist/connectorKit/manifests/railwayHooks.generated.js +11 -5
- package/dist/connectorKit/manifests/sentry.generated.d.ts +6 -0
- package/dist/connectorKit/manifests/sentry.generated.js +27 -0
- package/dist/connectorKit/manifests/sentryApi.generated.d.ts +6 -0
- package/dist/connectorKit/manifests/sentryApi.generated.js +282 -0
- package/dist/connectorKit/manifests/sentryCapture.generated.d.ts +2 -0
- package/dist/connectorKit/manifests/sentryCapture.generated.js +165 -0
- package/dist/connectorKit/manifests/sentryCatalog.generated.d.ts +5 -0
- package/dist/connectorKit/manifests/sentryCatalog.generated.js +70 -0
- package/dist/connectorKit/manifests/sentryCli.generated.d.ts +2 -0
- package/dist/connectorKit/manifests/sentryCli.generated.js +230 -0
- package/dist/connectorKit/manifests/sentryIssues.generated.d.ts +20 -0
- package/dist/connectorKit/manifests/sentryIssues.generated.js +204 -0
- package/dist/connectorKit/manifests/supabase.generated.js +3 -2
- package/dist/connectorKit/manifests/supabaseApi.generated.js +52 -52
- package/dist/connectorKit/manifests/supabaseCapture.generated.js +22 -21
- package/dist/connectorKit/manifests/supabaseCatalog.generated.d.ts +2 -2
- package/dist/connectorKit/manifests/supabaseCatalog.generated.js +8 -7
- package/dist/connectorKit/manifests/supabaseCli.generated.js +32 -32
- package/dist/connectorKit/manifests/supabaseProbes.generated.js +29 -29
- package/dist/connectorKit/manifests/terraform.generated.d.ts +5 -0
- package/dist/connectorKit/manifests/terraform.generated.js +214 -0
- package/dist/connectorKit/manifests/terraformLink.generated.d.ts +30 -0
- package/dist/connectorKit/manifests/terraformLink.generated.js +73 -0
- package/dist/connectorKit/manifests/terraformPlan.generated.d.ts +48 -0
- package/dist/connectorKit/manifests/terraformPlan.generated.js +192 -0
- package/dist/connectorKit/params.generated.js +2 -0
- package/dist/connectorKit/shell.generated.d.ts +5 -1
- package/dist/connectorKit/shell.generated.js +121 -20
- package/dist/connectorKit/sources/cloudflare/api-operations.generated.d.ts +37 -0
- package/dist/connectorKit/sources/cloudflare/api-operations.generated.js +2 -0
- package/dist/connectorKit/sources/cloudflare/cli-flags.generated.d.ts +617 -0
- package/dist/connectorKit/sources/cloudflare/cli-flags.generated.js +2 -0
- package/dist/connectorKit/sources/cloudflare/mcp-tools.generated.d.ts +16 -0
- package/dist/connectorKit/sources/cloudflare/mcp-tools.generated.js +2 -0
- package/dist/connectorKit/sources/sentry/api-operations.generated.d.ts +121 -0
- package/dist/connectorKit/sources/sentry/api-operations.generated.js +2 -0
- package/dist/connectorKit/sources/sentry/cli-commands.generated.d.ts +530 -0
- package/dist/connectorKit/sources/sentry/cli-commands.generated.js +2 -0
- package/dist/connectorKit/sources/sentry/mcp-tools.generated.d.ts +32 -0
- package/dist/connectorKit/sources/sentry/mcp-tools.generated.js +2 -0
- package/dist/connectorKit/template.generated.d.ts +8 -4
- package/dist/connectorKit/template.generated.js +19 -6
- package/dist/controlPlane.generated.d.ts +11 -2
- package/dist/controlPlaneActions.generated.d.ts +52 -12
- package/dist/controlPlaneActions.generated.js +40 -11
- package/dist/controlPlaneCloudflare.d.ts +70 -0
- package/dist/controlPlaneCloudflare.js +188 -0
- package/dist/controlPlaneKubernetes.d.ts +72 -0
- package/dist/controlPlaneKubernetes.js +260 -0
- package/dist/controlPlaneModel.generated.d.ts +6 -0
- package/dist/controlPlaneNpm.generated.d.ts +83 -0
- package/dist/controlPlaneNpm.generated.js +307 -0
- package/dist/controlPlaneNpmCommands.generated.d.ts +35 -0
- package/dist/controlPlaneNpmCommands.generated.js +567 -0
- package/dist/controlPlaneNpmGuard.d.ts +44 -0
- package/dist/controlPlaneNpmGuard.js +210 -0
- package/dist/controlPlaneOffline.d.ts +1 -1
- package/dist/controlPlaneRailway.generated.js +2 -2
- package/dist/controlPlaneRailwayCli.generated.js +13 -2
- package/dist/controlPlaneRailwayModel.generated.d.ts +5 -0
- package/dist/controlPlaneRailwayModel.generated.js +15 -1
- package/dist/controlPlaneSentry.d.ts +68 -0
- package/dist/controlPlaneSentry.js +205 -0
- package/dist/controlPlaneTerraform.d.ts +86 -0
- package/dist/controlPlaneTerraform.js +273 -0
- package/dist/controlPlaneUnnamed.generated.d.ts +41 -2
- package/dist/controlPlaneUnnamed.generated.js +148 -2
- package/dist/cpCli.d.ts +1 -1
- package/dist/cpCli.js +1 -1
- package/dist/pluginPin.d.ts +1 -1
- package/dist/pluginPin.js +1 -1
- package/dist/terraformPlans.d.ts +45 -0
- package/dist/terraformPlans.js +96 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -69,7 +69,7 @@ export const SUPABASE_CAPTURE = {
|
|
|
69
69
|
rules: [
|
|
70
70
|
{
|
|
71
71
|
match: "create_project",
|
|
72
|
-
action: "supabase.
|
|
72
|
+
action: "supabase.project.change",
|
|
73
73
|
on: "organization",
|
|
74
74
|
summary: "Create project {name}"
|
|
75
75
|
},
|
|
@@ -87,13 +87,13 @@ export const SUPABASE_CAPTURE = {
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
match: "create_branch",
|
|
90
|
-
action: "supabase.
|
|
90
|
+
action: "supabase.project.change",
|
|
91
91
|
on: "project",
|
|
92
92
|
summary: "Create branch {branchName}"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
match: "delete_branch",
|
|
96
|
-
action: "supabase.
|
|
96
|
+
action: "supabase.project.change",
|
|
97
97
|
on: "branch",
|
|
98
98
|
summary: "Delete branch {branch}"
|
|
99
99
|
},
|
|
@@ -105,7 +105,7 @@ export const SUPABASE_CAPTURE = {
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
match: "reset_branch",
|
|
108
|
-
action: "supabase.
|
|
108
|
+
action: "supabase.project.change",
|
|
109
109
|
on: "branch",
|
|
110
110
|
summary: "Reset branch {branch}"
|
|
111
111
|
},
|
|
@@ -156,20 +156,20 @@ export const SUPABASE_CAPTURE = {
|
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
match: "delete_notebook",
|
|
159
|
-
action: "supabase.
|
|
159
|
+
action: "supabase.project.change",
|
|
160
160
|
on: "project",
|
|
161
161
|
summary: "Delete a notebook in project {ref}"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
match: "create_edge_function_secret",
|
|
165
|
-
action: "supabase.
|
|
165
|
+
action: "supabase.project.change",
|
|
166
166
|
on: "functions",
|
|
167
167
|
summary: "Set secret {name}",
|
|
168
168
|
target: { type: "secret", key: "{name}" }
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
match: "update_storage_config",
|
|
172
|
-
action: "supabase.
|
|
172
|
+
action: "supabase.project.change",
|
|
173
173
|
on: "storage",
|
|
174
174
|
summary: "Change storage settings on project {ref}"
|
|
175
175
|
}
|
|
@@ -287,27 +287,28 @@ export const SUPABASE_CAPTURE = {
|
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
sql: {
|
|
290
|
-
drop_database: "supabase.
|
|
291
|
-
drop_schema: "supabase.
|
|
290
|
+
drop_database: "supabase.project.change",
|
|
291
|
+
drop_schema: "supabase.project.change",
|
|
292
292
|
drop_table: "supabase.table.drop",
|
|
293
293
|
// Round 3 review: a table emptied keeps its own words ("Empty a table"), kind Delete.
|
|
294
|
-
truncate: "supabase.
|
|
295
|
-
delete_all: "supabase.
|
|
296
|
-
rls_off: "supabase.
|
|
294
|
+
truncate: "supabase.project.change",
|
|
295
|
+
delete_all: "supabase.project.change",
|
|
296
|
+
rls_off: "supabase.project.change",
|
|
297
297
|
grant: "supabase.database.grant",
|
|
298
298
|
ddl: "supabase.database.write",
|
|
299
299
|
write: "supabase.database.write",
|
|
300
300
|
export: "supabase.unclassified",
|
|
301
301
|
opaque: "supabase.unclassified",
|
|
302
|
-
drop_object: "supabase.
|
|
303
|
-
code: "supabase.
|
|
304
|
-
policy: "supabase.
|
|
302
|
+
drop_object: "supabase.project.change",
|
|
303
|
+
code: "supabase.project.change",
|
|
304
|
+
policy: "supabase.project.change",
|
|
305
305
|
// Round 3 review: SQL is one more way to the governed settings, and to the platform's own schemas.
|
|
306
306
|
bucket_public: "supabase.storage.public",
|
|
307
307
|
auth_provider: "supabase.auth.sso",
|
|
308
|
-
protected: "supabase.
|
|
308
|
+
protected: "supabase.project.change"
|
|
309
309
|
},
|
|
310
|
-
unclassified: "supabase.unclassified"
|
|
310
|
+
unclassified: "supabase.unclassified",
|
|
311
|
+
other: "supabase.project.change"
|
|
311
312
|
};
|
|
312
313
|
export const SUPABASE_LOGS = [
|
|
313
314
|
{
|
|
@@ -356,7 +357,7 @@ export const SUPABASE_LOGS = [
|
|
|
356
357
|
plans: ALL_PLANS,
|
|
357
358
|
setup: "Early access: Supabase adds the organization; Passport then registers its endpoint.",
|
|
358
359
|
vocabulary: {
|
|
359
|
-
"v1.project.created": { action: "supabase.
|
|
360
|
+
"v1.project.created": { action: "supabase.project.change", on: "organization", summary: "Create a project" },
|
|
360
361
|
"v1.project.removed": { action: "supabase.project.delete", on: "project", summary: "Delete project {ref}" },
|
|
361
362
|
"v1.project.paused": { action: "supabase.project.delete", on: "project", summary: "Pause project {ref}" },
|
|
362
363
|
"v1.project.restored": { action: "supabase.project.change", on: "project", summary: "Restore project {ref}" },
|
|
@@ -367,7 +368,7 @@ export const SUPABASE_LOGS = [
|
|
|
367
368
|
summary: "Transfer project {ref}"
|
|
368
369
|
},
|
|
369
370
|
"v1.project.branch.created": {
|
|
370
|
-
action: "supabase.
|
|
371
|
+
action: "supabase.project.change",
|
|
371
372
|
on: "project",
|
|
372
373
|
summary: "Create a branch of {ref}"
|
|
373
374
|
},
|
|
@@ -377,7 +378,7 @@ export const SUPABASE_LOGS = [
|
|
|
377
378
|
summary: "Change branch {branch}"
|
|
378
379
|
},
|
|
379
380
|
"v1.project.branch.removed": {
|
|
380
|
-
action: "supabase.
|
|
381
|
+
action: "supabase.project.change",
|
|
381
382
|
on: "branch",
|
|
382
383
|
summary: "Delete branch {branch}"
|
|
383
384
|
},
|
|
@@ -412,7 +413,7 @@ export const SUPABASE_LOGS = [
|
|
|
412
413
|
summary: "Change a member's role in {org}"
|
|
413
414
|
},
|
|
414
415
|
"v1.organization.billing.plan.upgraded": {
|
|
415
|
-
action: "supabase.
|
|
416
|
+
action: "supabase.project.change",
|
|
416
417
|
on: "organization",
|
|
417
418
|
summary: "Upgrade the plan of {org}"
|
|
418
419
|
}
|
|
@@ -3,9 +3,9 @@ import type { ManifestAction, NodeSpec } from "../manifest.generated.js";
|
|
|
3
3
|
export declare const SUPABASE_ACTIONS: readonly ManifestAction[];
|
|
4
4
|
export declare const SUPABASE_TYPES: readonly ResourceTypeDef[];
|
|
5
5
|
export declare const SUPABASE_NODES: Readonly<Record<string, NodeSpec>>;
|
|
6
|
-
/** A deploy that turns off the JWT check: the function answers anyone (
|
|
6
|
+
/** A deploy that turns off the JWT check: the function answers anyone (a Delete of access, call by call). */
|
|
7
7
|
export declare const AFFECTS_FN_JWT_OFF: {
|
|
8
|
-
readonly action: "supabase.
|
|
8
|
+
readonly action: "supabase.project.change";
|
|
9
9
|
readonly on: "function";
|
|
10
10
|
readonly summary: "Turn off the JWT check on function {slug}";
|
|
11
11
|
};
|
|
@@ -13,16 +13,17 @@ export const SUPABASE_ACTIONS = [
|
|
|
13
13
|
// Supabase publishes no API for invitations; the org members feed reports them (Auth's own invite
|
|
14
14
|
// endpoint is on the project's URL, outside the Management API sources).
|
|
15
15
|
a("supabase.auth.invite", "create", "organization", "Invite users", "Mail"),
|
|
16
|
-
|
|
16
|
+
// Kind change since 2026-11-20 (`SUPABASE_KIND_FIXES`): a removal is a Delete call by call.
|
|
17
|
+
a("supabase.auth.sso", "change", "auth", "Change sign-in providers", "Fingerprint"),
|
|
17
18
|
a("supabase.storage.public", "change", "bucket", "Make a bucket public", "Globe"),
|
|
18
19
|
a("supabase.function.deploy", "change", "function", "Deploy a function", "Rocket"),
|
|
19
20
|
a("supabase.database.grant", "change", "database", "Grant database privileges", "KeyRound"),
|
|
20
21
|
a("supabase.project.delete", "delete", "project", "Pause or delete the project", "Trash2"),
|
|
21
|
-
// Every other write
|
|
22
|
-
//
|
|
22
|
+
// Every other write the manifest names. What each does comes call by call from its summary
|
|
23
|
+
// (`supabaseEffects.ts`, 2026-11-20): a branch deleted is a Delete and Destructive, a secret set Changes access.
|
|
23
24
|
a("supabase.project.change", "change", "project", "Other change", "Settings"),
|
|
24
|
-
// Anything the manifest doesn't name
|
|
25
|
-
//
|
|
25
|
+
// Anything the manifest doesn't name (and SQL it can't read, reads of keys): its own kind, Unclassified
|
|
26
|
+
// (2026-11-17), allowed by default and decided only by a rule on that kind or this action.
|
|
26
27
|
a("supabase.unclassified", "unclassified", "project", "Unclassified action", "CircleHelp")
|
|
27
28
|
];
|
|
28
29
|
const node = (type, label, service) => ({
|
|
@@ -62,9 +63,9 @@ export const SUPABASE_NODES = {
|
|
|
62
63
|
storage: { key: "{ref}", name: "Storage", parent: underProject },
|
|
63
64
|
bucket: { key: "{ref}/{bucket}", name: "{bucket}", parent: { type: "storage" } }
|
|
64
65
|
};
|
|
65
|
-
/** A deploy that turns off the JWT check: the function answers anyone (
|
|
66
|
+
/** A deploy that turns off the JWT check: the function answers anyone (a Delete of access, call by call). */
|
|
66
67
|
export const AFFECTS_FN_JWT_OFF = {
|
|
67
|
-
action: "supabase.
|
|
68
|
+
action: "supabase.project.change",
|
|
68
69
|
on: "function",
|
|
69
70
|
summary: "Turn off the JWT check on function {slug}"
|
|
70
71
|
};
|
|
@@ -43,13 +43,13 @@ export const SUPABASE_CLI = {
|
|
|
43
43
|
// Backups
|
|
44
44
|
{
|
|
45
45
|
match: "backups restore",
|
|
46
|
-
action: "supabase.
|
|
46
|
+
action: "supabase.project.change",
|
|
47
47
|
on: "database",
|
|
48
48
|
summary: "Restore project {ref} to a point in time"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
match: "bootstrap",
|
|
52
|
-
action: "supabase.
|
|
52
|
+
action: "supabase.project.change",
|
|
53
53
|
on: "organization",
|
|
54
54
|
summary: "Create a project from a starter template"
|
|
55
55
|
},
|
|
@@ -57,14 +57,14 @@ export const SUPABASE_CLI = {
|
|
|
57
57
|
{
|
|
58
58
|
match: "branches create",
|
|
59
59
|
args: ["branchName"],
|
|
60
|
-
action: "supabase.
|
|
60
|
+
action: "supabase.project.change",
|
|
61
61
|
on: "project",
|
|
62
62
|
summary: "Create branch {branchName}"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
match: "branches delete",
|
|
66
66
|
args: ["branchRef"],
|
|
67
|
-
action: "supabase.
|
|
67
|
+
action: "supabase.project.change",
|
|
68
68
|
on: "branch",
|
|
69
69
|
summary: "Delete branch {branchName|branch}"
|
|
70
70
|
},
|
|
@@ -92,7 +92,7 @@ export const SUPABASE_CLI = {
|
|
|
92
92
|
// Config
|
|
93
93
|
{
|
|
94
94
|
match: "config push",
|
|
95
|
-
action: "supabase.
|
|
95
|
+
action: "supabase.project.change",
|
|
96
96
|
on: "project",
|
|
97
97
|
summary: "Push local config to project {ref}",
|
|
98
98
|
also: [
|
|
@@ -102,7 +102,7 @@ export const SUPABASE_CLI = {
|
|
|
102
102
|
summary: "Push auth settings to project {ref}"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
action: "supabase.
|
|
105
|
+
action: "supabase.project.change",
|
|
106
106
|
on: "storage",
|
|
107
107
|
summary: "Push storage settings to project {ref}"
|
|
108
108
|
}
|
|
@@ -180,33 +180,33 @@ export const SUPABASE_CLI = {
|
|
|
180
180
|
match: "db reset",
|
|
181
181
|
when: { branchName: true },
|
|
182
182
|
localByDefault: true,
|
|
183
|
-
action: "supabase.
|
|
183
|
+
action: "supabase.project.change",
|
|
184
184
|
on: "branch",
|
|
185
185
|
summary: "Reset branch {branchName}"
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
match: "db reset",
|
|
189
189
|
localByDefault: true,
|
|
190
|
-
action: "supabase.
|
|
190
|
+
action: "supabase.project.change",
|
|
191
191
|
on: "database",
|
|
192
192
|
summary: "Reset the database of project {ref}"
|
|
193
193
|
},
|
|
194
194
|
// Domains
|
|
195
195
|
{
|
|
196
196
|
match: "domains activate",
|
|
197
|
-
action: "supabase.
|
|
197
|
+
action: "supabase.project.change",
|
|
198
198
|
on: "project",
|
|
199
199
|
summary: "Activate the custom domain of project {ref}"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
match: "domains create",
|
|
203
|
-
action: "supabase.
|
|
203
|
+
action: "supabase.project.change",
|
|
204
204
|
on: "project",
|
|
205
205
|
summary: "Set a custom domain for project {ref}"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
match: "domains delete",
|
|
209
|
-
action: "supabase.
|
|
209
|
+
action: "supabase.project.change",
|
|
210
210
|
on: "project",
|
|
211
211
|
summary: "Delete the custom domain of project {ref}"
|
|
212
212
|
},
|
|
@@ -225,7 +225,7 @@ export const SUPABASE_CLI = {
|
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
match: "encryption update-root-key",
|
|
228
|
-
action: "supabase.
|
|
228
|
+
action: "supabase.project.change",
|
|
229
229
|
on: "project",
|
|
230
230
|
summary: "Replace the root encryption key of project {ref}"
|
|
231
231
|
},
|
|
@@ -233,7 +233,7 @@ export const SUPABASE_CLI = {
|
|
|
233
233
|
{
|
|
234
234
|
match: "functions delete",
|
|
235
235
|
args: ["slug"],
|
|
236
|
-
action: "supabase.
|
|
236
|
+
action: "supabase.project.change",
|
|
237
237
|
on: "function",
|
|
238
238
|
summary: "Delete function {slug}"
|
|
239
239
|
},
|
|
@@ -250,7 +250,7 @@ export const SUPABASE_CLI = {
|
|
|
250
250
|
{ when: { "no-verify-jwt": true }, ...AFFECTS_FN_JWT_OFF },
|
|
251
251
|
{
|
|
252
252
|
when: { prune: true },
|
|
253
|
-
action: "supabase.
|
|
253
|
+
action: "supabase.project.change",
|
|
254
254
|
on: "functions",
|
|
255
255
|
summary: "Delete functions missing locally from project {ref}"
|
|
256
256
|
}
|
|
@@ -264,13 +264,13 @@ export const SUPABASE_CLI = {
|
|
|
264
264
|
also: [
|
|
265
265
|
{
|
|
266
266
|
when: { "no-verify-jwt": true },
|
|
267
|
-
action: "supabase.
|
|
267
|
+
action: "supabase.project.change",
|
|
268
268
|
on: "functions",
|
|
269
269
|
summary: "Turn off the JWT check on functions in project {ref}"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
when: { prune: true },
|
|
273
|
-
action: "supabase.
|
|
273
|
+
action: "supabase.project.change",
|
|
274
274
|
on: "functions",
|
|
275
275
|
summary: "Delete functions missing locally from project {ref}"
|
|
276
276
|
}
|
|
@@ -280,7 +280,7 @@ export const SUPABASE_CLI = {
|
|
|
280
280
|
{
|
|
281
281
|
match: "migration down",
|
|
282
282
|
localByDefault: true,
|
|
283
|
-
action: "supabase.
|
|
283
|
+
action: "supabase.project.change",
|
|
284
284
|
on: "database",
|
|
285
285
|
summary: "Roll back migrations on project {ref}"
|
|
286
286
|
},
|
|
@@ -308,13 +308,13 @@ export const SUPABASE_CLI = {
|
|
|
308
308
|
// Network
|
|
309
309
|
{
|
|
310
310
|
match: "network-bans remove",
|
|
311
|
-
action: "supabase.
|
|
311
|
+
action: "supabase.project.change",
|
|
312
312
|
on: "database",
|
|
313
313
|
summary: "Remove network bans on project {ref}"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
match: "network-restrictions update",
|
|
317
|
-
action: "supabase.
|
|
317
|
+
action: "supabase.project.change",
|
|
318
318
|
on: "database",
|
|
319
319
|
summary: "Change network restrictions on project {ref}"
|
|
320
320
|
},
|
|
@@ -327,20 +327,20 @@ export const SUPABASE_CLI = {
|
|
|
327
327
|
{
|
|
328
328
|
match: "orgs create",
|
|
329
329
|
args: ["name"],
|
|
330
|
-
action: "supabase.
|
|
330
|
+
action: "supabase.project.change",
|
|
331
331
|
on: "project",
|
|
332
332
|
summary: "Create organization {name}"
|
|
333
333
|
},
|
|
334
334
|
// Postgres config
|
|
335
335
|
{
|
|
336
336
|
match: "postgres-config delete",
|
|
337
|
-
action: "supabase.
|
|
337
|
+
action: "supabase.project.change",
|
|
338
338
|
on: "project",
|
|
339
339
|
summary: "Reset Postgres settings on project {ref}"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
match: "postgres-config update",
|
|
343
|
-
action: "supabase.
|
|
343
|
+
action: "supabase.project.change",
|
|
344
344
|
on: "project",
|
|
345
345
|
summary: "Change Postgres settings on project {ref}"
|
|
346
346
|
},
|
|
@@ -354,7 +354,7 @@ export const SUPABASE_CLI = {
|
|
|
354
354
|
{
|
|
355
355
|
match: "projects create",
|
|
356
356
|
args: ["name"],
|
|
357
|
-
action: "supabase.
|
|
357
|
+
action: "supabase.project.change",
|
|
358
358
|
on: "organization",
|
|
359
359
|
summary: "Create project {name}"
|
|
360
360
|
},
|
|
@@ -370,7 +370,7 @@ export const SUPABASE_CLI = {
|
|
|
370
370
|
match: "secrets set",
|
|
371
371
|
args: ["...secret"],
|
|
372
372
|
each: "secret",
|
|
373
|
-
action: "supabase.
|
|
373
|
+
action: "supabase.project.change",
|
|
374
374
|
on: "functions",
|
|
375
375
|
summary: "Set secret {secret}",
|
|
376
376
|
target: { type: "secret", key: "{secret}" }
|
|
@@ -378,7 +378,7 @@ export const SUPABASE_CLI = {
|
|
|
378
378
|
{
|
|
379
379
|
match: "secrets unset",
|
|
380
380
|
when: { all: true },
|
|
381
|
-
action: "supabase.
|
|
381
|
+
action: "supabase.project.change",
|
|
382
382
|
on: "functions",
|
|
383
383
|
summary: "Delete all function secrets on project {ref}"
|
|
384
384
|
},
|
|
@@ -386,7 +386,7 @@ export const SUPABASE_CLI = {
|
|
|
386
386
|
match: "secrets unset",
|
|
387
387
|
args: ["...secret"],
|
|
388
388
|
each: "secret",
|
|
389
|
-
action: "supabase.
|
|
389
|
+
action: "supabase.project.change",
|
|
390
390
|
on: "functions",
|
|
391
391
|
summary: "Delete secret {secret}",
|
|
392
392
|
target: { type: "secret", key: "{secret}" }
|
|
@@ -430,7 +430,7 @@ export const SUPABASE_CLI = {
|
|
|
430
430
|
{
|
|
431
431
|
when: { srcBucket: true },
|
|
432
432
|
from: { bucket: "srcBucket", path: "srcPath" },
|
|
433
|
-
action: "supabase.
|
|
433
|
+
action: "supabase.project.change",
|
|
434
434
|
on: "bucket",
|
|
435
435
|
summary: "Move objects out of bucket {srcBucket}",
|
|
436
436
|
target: { type: "object", key: "{srcPath}" }
|
|
@@ -443,7 +443,7 @@ export const SUPABASE_CLI = {
|
|
|
443
443
|
// Round 3: every path is its own delete, in whichever bucket it names.
|
|
444
444
|
args: ["...path"],
|
|
445
445
|
each: "path",
|
|
446
|
-
action: "supabase.
|
|
446
|
+
action: "supabase.project.change",
|
|
447
447
|
on: "bucket",
|
|
448
448
|
summary: "Delete objects in bucket {bucket}",
|
|
449
449
|
target: { type: "object", key: "{path}" }
|
|
@@ -452,13 +452,13 @@ export const SUPABASE_CLI = {
|
|
|
452
452
|
{
|
|
453
453
|
match: "ssl-enforcement update",
|
|
454
454
|
when: { "disable-db-ssl-enforcement": true },
|
|
455
|
-
action: "supabase.
|
|
455
|
+
action: "supabase.project.change",
|
|
456
456
|
on: "database",
|
|
457
457
|
summary: "Turn off SSL enforcement on project {ref}"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
460
|
match: "ssl-enforcement update",
|
|
461
|
-
action: "supabase.
|
|
461
|
+
action: "supabase.project.change",
|
|
462
462
|
on: "project",
|
|
463
463
|
summary: "Turn on SSL enforcement on project {ref}"
|
|
464
464
|
},
|
|
@@ -486,13 +486,13 @@ export const SUPABASE_CLI = {
|
|
|
486
486
|
// Vanity subdomains
|
|
487
487
|
{
|
|
488
488
|
match: "vanity-subdomains activate",
|
|
489
|
-
action: "supabase.
|
|
489
|
+
action: "supabase.project.change",
|
|
490
490
|
on: "project",
|
|
491
491
|
summary: "Activate a vanity subdomain for project {ref}"
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
494
|
match: "vanity-subdomains delete",
|
|
495
|
-
action: "supabase.
|
|
495
|
+
action: "supabase.project.change",
|
|
496
496
|
on: "project",
|
|
497
497
|
summary: "Delete the vanity subdomain of project {ref}"
|
|
498
498
|
}
|