better-supabase 0.25.0 → 0.28.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/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/{app-tables-xij_MI5H.d.ts → app-tables-62GqZIhd.d.ts} +1 -1
- package/dist/{authorization-BJV2i8xB.d.ts → authorization-BCG1v0iC.d.ts} +24 -3
- package/dist/{bind-vKDmdu_4.d.ts → bind-C54jD0r3.d.ts} +1 -1
- package/dist/{block-env-wVLz0KMV.d.ts → block-env-CM-LFfj4.d.ts} +3 -3
- package/dist/blocks/ai-chat/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +3 -3
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +1 -1
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +1 -1
- package/dist/blocks/bookings/index.d.ts +1 -1
- package/dist/blocks/calendar/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +4 -4
- package/dist/blocks/custom-fields/index.js +1 -1
- package/dist/blocks/drive/index.d.ts +1 -1
- package/dist/blocks/employees/index.js +1 -1
- package/dist/blocks/entitlements/index.d.ts +2 -2
- package/dist/blocks/forms/index.d.ts +1 -1
- package/dist/blocks/inbox/index.d.ts +4 -4
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +4 -4
- package/dist/blocks/mfa/index.d.ts +1 -1
- package/dist/blocks/notifications/index.d.ts +3 -3
- package/dist/blocks/onboarding/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/permissions/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +3 -3
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +1 -1
- package/dist/blocks/search/index.d.ts +2 -2
- package/dist/blocks/sessions/index.d.ts +1 -1
- package/dist/blocks/settings/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +1 -1
- package/dist/blocks/tags/index.d.ts +1 -1
- package/dist/blocks/tasks/index.d.ts +1 -1
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/undo/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +3 -3
- package/dist/blocks/workflows/index.d.ts +3 -3
- package/dist/cli/{add-C2pNvVpu.js → add-BKcE_g9D.js} +2 -2
- package/dist/cli/{add-BTVrOGJF.js → add-DUyg9qna.js} +40 -15
- package/dist/cli/add-pDOlqWUa.js +1 -0
- package/dist/cli/{backfill-BicVPugb.js → backfill-r9RELEEh.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-sScN-ik-.js → blocks-DTOFdrxL.js} +1 -1
- package/dist/cli/{blocks-BmYOH4T-.js → blocks-k1OG8XDs.js} +2 -2
- package/dist/cli/{cache-1TfBy2K4.js → cache-Czfw7Iow.js} +1 -1
- package/dist/cli/{codemod-ylE6wGLo.js → codemod-ClmbiLuL.js} +3 -3
- package/dist/cli/{command-BWEEXmtz.js → command-CVzTJSLp.js} +31 -0
- package/dist/cli/{completion-8EDK21xj.js → completion-CNCqE-Gb.js} +1 -1
- package/dist/cli/{completion-BfnKI4QZ.js → completion-Dpk6vh0p.js} +2 -2
- package/dist/cli/{completion-Bt7LMypX.js → completion-DxEXxFpz.js} +2 -2
- package/dist/cli/{config-CeaQMrvS.js → config-D2YUlzrl.js} +1 -1
- package/dist/cli/{config-WKDixoGK.js → config-EjNj3HfT.js} +1 -1
- package/dist/cli/{config-BVfeG3A5.js → config-KvV-sLZL.js} +290 -10
- package/dist/cli/{content-mapper-hUW2nb92.js → content-mapper-ez_mT0d4.js} +2 -2
- package/dist/cli/{db-DwjyUbAh.js → db-uYN6O5Eg.js} +38 -14
- package/dist/cli/{doctor-D3WKFBSv.js → doctor-BD9oo4MG.js} +31 -28
- package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
- package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
- package/dist/cli/env-Cy2lWBRC.js +1 -0
- package/dist/cli/{env-BCgVZkcb.js → env-DEAtgGoj.js} +2 -2
- package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
- package/dist/cli/{gen-CqsUdsB2.js → gen-8Ya8n2sA.js} +16 -16
- package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
- package/dist/cli/index.d.ts +1 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DryZ5Mp1.js → init-DgL3sDfQ.js} +118 -11
- package/dist/cli/{keys-CbaL0lnw.js → keys-CsanNk-2.js} +1 -1
- package/dist/cli/{live-Di45imoV.js → live-CMMEct_F.js} +2 -2
- package/dist/cli/{mcp-BklC-3eK.js → mcp-DEHtzAkq.js} +4 -4
- package/dist/cli/{metadata-7PsBF5Xw.js → metadata-BZh-cOzC.js} +3 -3
- package/dist/cli/migrate-sVs1QYTM.js +306 -0
- package/dist/cli/{migration-safety-Doy9qYO8.js → migration-safety-ClnYNMdq.js} +2 -2
- package/dist/cli/migrations-DWh38tO9.js +117 -0
- package/dist/cli/{module-migration-ZIn1NCMi.js → module-migration-CXfRJIV4.js} +2 -2
- package/dist/cli/{moved-DVwgE8lV.js → moved-Cnb4fp49.js} +1 -1
- package/dist/cli/{parse-B079x40m.js → parse-BWM6IGhF.js} +1 -1
- package/dist/cli/powersync-DURhWDVc.js +1 -0
- package/dist/cli/{powersync-BRGXOCJ0.js → powersync-Dnyr-Wy5.js} +4 -3
- package/dist/cli/{print-Dfqd4DB-.js → print-DJrSr56b.js} +2 -2
- package/dist/cli/{migrations-JtsPYv8g.js → providers-CpaISitn.js} +4 -116
- package/dist/cli/{remove-CQzSCYTu.js → remove-ChaieK3t.js} +6 -6
- package/dist/cli/{render-DWRz-uPQ.js → render-DUNJ4Pss.js} +8 -5
- package/dist/cli/{run-DPLedqTF.js → run-ChCQPYOh.js} +41 -39
- package/dist/cli/{run-j54rk2w-.js → run-Cl9COGuy.js} +10 -10
- package/dist/cli/{run-DmOTMa44.js → run-CxFDjL1Q.js} +4 -4
- package/dist/cli/seed-BJ7c-ktX.js +1 -0
- package/dist/cli/{seed-BMynpMPy.js → seed-BzVLTdRl.js} +3 -3
- package/dist/cli/{shared-CslNcs-R.js → shared-5uqc1GBj.js} +1 -1
- package/dist/cli/{skills-FXAVPLzp.js → skills-0gz_qjVb.js} +1 -1
- package/dist/cli/{snapshot-DdN5GlhH.js → snapshot-DdAP7LWO.js} +3 -3
- package/dist/cli/{source-COARbqch.js → source-2irbWSck.js} +1 -1
- package/dist/cli/{source-args-CDmmFmFG.js → source-args-DAcQt-Mh.js} +1 -1
- package/dist/cli/{spec-CgLNZc_C.js → spec-B7n4Rthp.js} +3 -3
- package/dist/cli/{spec-DIhBQlBF.js → spec-_MS0ym5r.js} +1 -1
- package/dist/cli/{sql-layout-8jrP5gIa.js → sql-layout-DYKkQw1k.js} +21 -7
- package/dist/cli/{stack-DgASZP0K.js → stack-CteM33gC.js} +3 -3
- package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
- package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
- package/dist/cli/{sync-SqyVHRSJ.js → sync-DnSOrQuA.js} +4 -3
- package/dist/cli/table-DeH8X0qz.js +89 -0
- package/dist/cli/{upgrade-CY-vj_qh.js → upgrade-CWdrC-K3.js} +5 -4
- package/dist/cli/{upgrade-D0aLhluU.js → upgrade-cMy5fKkg.js} +3 -3
- package/dist/cli/{version-Bhca9D6q.js → version-C5RAWmrD.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +4 -4
- package/dist/{config-CP-WaboC.js → config-CTeR7XHK.js} +3 -3
- package/dist/{config-C19McoGo.js → config-CvJHIy5q.js} +1 -1
- package/dist/{context-BJoHD20l.d.ts → context-BFEX0b7H.d.ts} +106 -3
- package/dist/{controller-CwGXms17.d.ts → controller-Cl6HmMBk.d.ts} +1 -1
- package/dist/create/index.d.ts +62 -3
- package/dist/create/index.js +67 -4
- package/dist/create/lite/index.d.ts +140 -3
- package/dist/create/lite/index.js +399 -47
- package/dist/{entitlements-CsZcfllV.d.ts → entitlements-Y-n4RGAd.d.ts} +1 -1
- package/dist/{field-errors-6BVg31Yp.d.ts → field-errors-Btn3czyz.d.ts} +4 -4
- package/dist/{index-Cagz4Z2k.d.ts → index-8wOL81rB.d.ts} +1 -1
- package/dist/{index-D01wHGSN.d.ts → index-C0_cweyT.d.ts} +6 -6
- package/dist/{index-CbUCGMqj.d.ts → index-CAY7rIQs.d.ts} +2 -2
- package/dist/{index-DOHx3JuB.d.ts → index-DPMVWm_Z.d.ts} +2 -2
- package/dist/{index-C0QuN9_P.d.ts → index-k-SyCzcQ.d.ts} +104 -119
- package/dist/{instances-qz2MCMyK.js → instances-C7qUTjhJ.js} +1 -1
- package/dist/mapper/bin.js +7 -7
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +3 -3
- package/dist/{operations-CPhOcuzl.d.ts → operations-DE7SOBw-.d.ts} +1 -1
- package/dist/{options-BOGo1qCA.js → options-B5E2MGIz.js} +3 -1
- package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
- package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
- package/dist/otel/index.js +4 -4
- package/dist/{ports-Bw7uxPd_.d.ts → ports-DP0bthUk.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BbSWLoXM.js → preset-DwuWNBip.js} +2 -2
- package/dist/{project-TN03XDsA.js → project-Bo1vZqVs.js} +5 -5
- package/dist/{push-token-vykw2JXT.d.ts → push-token-v3xCcVU7.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +1 -1
- package/dist/records/index.d.ts +3 -3
- package/dist/{resolved-names-Dsf28_Dr.js → resolved-names-iLBOUaib.js} +2 -2
- package/dist/server/index.d.ts +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +5 -5
- package/dist/{sql-Dg3W1ENk.js → sql-B7vBP9g0.js} +3577 -1246
- package/dist/ssr/index.d.ts +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-BRmKZ7aq.d.ts → tenant-CyLEXgot.d.ts} +1 -1
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +2 -2
- package/dist/{topic-CpsKVBot.d.ts → topic-B_DGdAEs.d.ts} +1 -1
- package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
- package/dist/{types-CjRwmCRP.d.ts → types-DF8JYEf5.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-BaMZX139.d.ts → watch-topic-1zIAtiNM.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +11 -1
- package/schemas/config-v1.json +42 -0
- package/dist/cli/add-Bf1fyCWm.js +0 -1
- package/dist/cli/env-xhwXk5Ri.js +0 -1
- package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
- package/dist/cli/powersync-Dq-txa0_.js +0 -1
- package/dist/cli/seed-CO3j_bly.js +0 -1
|
@@ -5,7 +5,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
5
5
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
7
7
|
import { B as PermissionFlags, H as can, U as permissionFlags, V as PermissionSet, W as permissionMatches } from "../../index-BfYDY6eh.js";
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
9
9
|
//#region src/blocks/permissions/permissions.d.ts
|
|
10
10
|
interface PermissionsOptions extends BlockOptions {
|
|
11
11
|
/** `withBlockHooks` hooks around the client's methods. */
|
|
@@ -9,7 +9,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
11
11
|
import { n as NotificationMessage, t as NotificationChannel } from "../../channel-JcMd5lNP.js";
|
|
12
|
-
import { t as ExpoNotificationsLike } from "../../push-token-
|
|
12
|
+
import { t as ExpoNotificationsLike } from "../../push-token-v3xCcVU7.js";
|
|
13
13
|
//#region src/blocks/push/push.d.ts
|
|
14
14
|
type PushPlatform = "ios" | "android" | "web";
|
|
15
15
|
type PushProvider = "expo" | "fcm" | "apns" | "webpush";
|
|
@@ -7,9 +7,9 @@ import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-
|
|
|
7
7
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
10
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
11
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
|
|
11
|
+
import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
13
13
|
//#region src/blocks/reactions/reactions.d.ts
|
|
14
14
|
interface ReactionsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
15
15
|
readonly transport: BlockTransport;
|
|
@@ -16,7 +16,7 @@ interface ExpandInput {
|
|
|
16
16
|
readonly dtstart: Temporal.ZonedDateTime;
|
|
17
17
|
/** An `RRULE` value, with or without the `RRULE:` prefix. */
|
|
18
18
|
readonly rrule?: string;
|
|
19
|
-
/**
|
|
19
|
+
/** The column shape used when `ruleFormat` is `columns`. */
|
|
20
20
|
readonly columns?: {
|
|
21
21
|
readonly frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
22
22
|
readonly interval?: number;
|
|
@@ -7,7 +7,7 @@ import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
8
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
9
9
|
import { p as ListQueryInput } from "../../list-query-XHoYDlRN.js";
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
10
|
+
import { n as Controller } from "../../controller-Cl6HmMBk.js";
|
|
11
11
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
12
12
|
//#region src/blocks/saved-views/saved-views.d.ts
|
|
13
13
|
export declare const SAVED_VIEW_KINDS: readonly ["table", "board", "calendar", "timeline", "gantt"];
|
|
@@ -6,8 +6,8 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
7
7
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
8
8
|
import { i as EventSink } from "../../cloud-event-DcJwder2.js";
|
|
9
|
-
import { i as KeyboardPort } from "../../ports-
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
9
|
+
import { i as KeyboardPort } from "../../ports-DP0bthUk.js";
|
|
10
|
+
import { n as Controller } from "../../controller-Cl6HmMBk.js";
|
|
11
11
|
//#region src/blocks/search/search.d.ts
|
|
12
12
|
interface SearchOptions extends Pick<BlockOptions, "transport" | "service" | "schema" | "mappers"> {
|
|
13
13
|
/** `withBlockHooks` hooks around the methods. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { r as Block } from "../../define-block-DibVN37N.js";
|
|
4
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
4
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
5
5
|
import { t as AuthReply } from "../../auth-reply-Dj124sbX.js";
|
|
6
6
|
//#region src/blocks/sessions/client.d.ts
|
|
7
7
|
/** An OAuth client as the Auth OAuth server describes it. */
|
|
@@ -5,7 +5,7 @@ import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
7
7
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
//#region src/blocks/settings/settings.d.ts
|
|
11
11
|
/**
|
|
@@ -2,7 +2,7 @@ import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
|
2
2
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
5
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
5
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
6
6
|
import { t as subjectKey } from "../../block-subjects-CphkQPxp.js";
|
|
7
7
|
import { c as Subjects, d as MY_WORK_KINDS, f as MyWorkKind, l as SubjectsOptions, n as MyWorkItem, o as ResolvedSubject, r as MyWorkOptions, s as SUBJECT_TITLES_LIMIT, t as MY_WORK_LIMIT, u as createSubjects } from "../../subjects-BpIEN1MS.js";
|
|
8
8
|
//#region src/blocks/subjects/manifest.d.ts
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
11
11
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
12
12
|
//#region src/blocks/tags/tags.d.ts
|
|
13
13
|
interface TagsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
@@ -248,7 +248,7 @@ export declare function createTasks<S extends StandardSchemaV1 | undefined = und
|
|
|
248
248
|
export declare function nextWorkItemOccurrence(rule: WorkItemRecurrence, after: Temporal.Instant): Temporal.Instant | undefined;
|
|
249
249
|
interface WorkItemRecurrenceSinkOptions {
|
|
250
250
|
/**
|
|
251
|
-
* The closed event's type without `typePrefix`, after `blocks.tasks.
|
|
251
|
+
* The closed event's type without `typePrefix`, after `blocks.tasks.names`
|
|
252
252
|
* (`task.closed`). Default `work_item.closed`.
|
|
253
253
|
*/
|
|
254
254
|
readonly type?: string;
|
|
@@ -2,7 +2,7 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
4
4
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { t as tasksSqlOptions } from "../../options-
|
|
5
|
+
import { t as tasksSqlOptions } from "../../options-COo7_3MX.js";
|
|
6
6
|
import { a as stripTypePrefix } from "../../cloud-event-XsM53POL.js";
|
|
7
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
8
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
2
2
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
3
|
-
import { n as Controller } from "../../controller-
|
|
3
|
+
import { n as Controller } from "../../controller-Cl6HmMBk.js";
|
|
4
4
|
import { a as UndoToken, c as undoToken, i as UndoOptions, n as Undo, o as createUndo, r as UndoCall, s as isUndoToken, t as UNDO_FUNCTIONS } from "../../undo-B1jwnVyN.js";
|
|
5
5
|
//#region src/blocks/undo/client.d.ts
|
|
6
6
|
interface UndoEntry {
|
|
@@ -3,7 +3,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
3
3
|
import { n as StripeSource, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
4
4
|
import { _ as reportUsageToStripe, a as Usage, c as UsageEntry, d as UsageMeterInfo, f as UsageOptions, g as createUsage, h as UsageStatus, i as ReportUsageResult, l as UsageHistoryEntry, m as UsageRecorded, n as RecordUsageOptions, o as UsageBatchRecorded, p as UsagePeriod, r as ReportUsageOptions, s as UsageBreakdownEntry, t as PurgeUsageOptions, u as UsageHistoryOptions } from "../../usage-Dp45V42p.js";
|
|
5
5
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
6
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
7
7
|
//#region src/blocks/usage/manifest.d.ts
|
|
8
8
|
/** The `usage` block's manifest (ADR 0029). */
|
|
9
9
|
export declare const usageBlock: BlockOf<"usage", typeof createUsage>;
|
|
@@ -5,9 +5,9 @@ import { Ct as Events, gt as WorkflowEventData } from "../../events-Cc9DDQWH.js"
|
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
7
7
|
import { g as Workflows, n as WorkflowRun } from "../../workflows-B0ZPAQu0.js";
|
|
8
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
9
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
|
|
9
|
+
import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
11
11
|
import { A as WorkflowVersionOwner, B as WorkflowGraphNode, C as WorkflowGrantPrincipal, D as WorkflowTrigger, E as WorkflowStepInfo, F as WorkflowFilterCondition, G as durationMs, H as WorkflowNodeKind, I as WorkflowFilterField, J as matchesFilter, K as evaluateCondition, L as WorkflowGraph, M as GraphScope, N as WorkflowCondition, O as WorkflowTriggerKind, P as WorkflowConditionOperator, R as WorkflowGraphDiff, S as WorkflowGrantAction, T as WorkflowNodeRunStatus, U as approved, V as WorkflowNodeCondition, W as diffGraphs, X as validateGraph, Y as topologicalOrder, _ as WorkflowCredential, a as CredentialInput, b as WorkflowDefinitionScope, c as GraphCompiler, d as RunInput, f as TestRunInput, g as WorkflowBuilderHooks, h as WorkflowAlert, i as BuilderStarter, j as WorkflowVersionStatus, k as WorkflowVersion, l as NodeRunRecord, m as VersionSaveOptions, n as BuilderOptions, o as DefinitionInput, p as TriggerInput, q as filterConditionOf, r as BuilderStartCall, s as GrantInput, t as AlertInput, u as PublishOptions, v as WorkflowDefinition, w as WorkflowNodeRun, x as WorkflowEditor, y as WorkflowDefinitionGrant, z as WorkflowGraphEdge } from "../../types-BdaBfYIw.js";
|
|
12
12
|
import { a as GraphSubject, c as graphRunFields, i as GraphStepCall, l as startNodeOf, n as GraphRunFields, o as approvalToken, r as GraphRuntime, s as executeGraph, t as GraphApprovalCall } from "../../executor-C-Ox9eKq.js";
|
|
13
13
|
//#region src/blocks/workflow-editor/workflow-editor.d.ts
|
|
@@ -3,9 +3,9 @@ import { Ct as Events, _t as WorkflowRunEventData } from "../../events-Cc9DDQWH.
|
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
5
5
|
import { _ as WorkflowsHooks, a as WorkflowRunStatus, c as WorkflowScheduleInput, d as WorkflowStartTicket, f as WorkflowStarter, g as Workflows, h as WorkflowTickResult, i as WorkflowRunRecord, l as WorkflowStartCall, m as WorkflowTickOptions, n as WorkflowRun, o as WorkflowRunsQuery, s as WorkflowSchedule, u as WorkflowStartRequest, v as WorkflowsOptions, y as createWorkflows } from "../../workflows-B0ZPAQu0.js";
|
|
6
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
7
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
|
|
7
|
+
import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
9
9
|
//#region src/blocks/workflows/client.d.ts
|
|
10
10
|
interface WorkflowRunsControllerOptions {
|
|
11
11
|
readonly client: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as providerLabel, i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-CpaISitn.js";
|
|
3
3
|
import { r as applyPlan } from "./files-CX71yBm8.js";
|
|
4
4
|
import { n as addBlocksToJson, s as keyText, t as addBlocksToConfig } from "./config-edit-CrWfk8s3.js";
|
|
5
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
5
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-DnSOrQuA.js";
|
|
6
6
|
import { basename, dirname } from "node:path";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
8
8
|
import { SQL_MODULES, resolveBlocks } from "better-supabase/sql";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as list, p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { a as list, p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { i as plain } from "./style-Bm2X5JrN.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-C5RAWmrD.js";
|
|
4
4
|
import { a as parseNames, n as CliError } from "./errors-BTe6A15O.js";
|
|
5
5
|
import { r as readIfExists, t as display } from "./io-DH1kcmmP.js";
|
|
6
|
-
import { t as loadSnapshot } from "./snapshot-
|
|
6
|
+
import { t as loadSnapshot } from "./snapshot-DdAP7LWO.js";
|
|
7
7
|
import { t as isRecord } from "./guards-CUlDNYZs.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
9
|
-
import {
|
|
10
|
-
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-BVfeG3A5.js";
|
|
8
|
+
import { a as toCatalog } from "./source-2irbWSck.js";
|
|
9
|
+
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-KvV-sLZL.js";
|
|
11
10
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-CX71yBm8.js";
|
|
12
|
-
import {
|
|
11
|
+
import { n as dataMigration } from "./migrations-DWh38tO9.js";
|
|
12
|
+
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-ClnYNMdq.js";
|
|
13
13
|
import { n as installCommand, t as detectProject } from "./detect-D9JaAX20.js";
|
|
14
14
|
import { d as setBlockInJson, f as setPathInConfig, h as setPresetInJson, m as setPresetInConfig, n as addBlocksToJson, p as setPathInJson, r as addBlocksToWiring, t as addBlocksToConfig, u as setBlockInConfig } from "./config-edit-CrWfk8s3.js";
|
|
15
|
-
import { t as syncModules } from "./sync-
|
|
16
|
-
import { t as addModules } from "./add-
|
|
17
|
-
import { n as ident } from "./live-
|
|
18
|
-
import { t as blockNames } from "./blocks-
|
|
19
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
15
|
+
import { t as syncModules } from "./sync-DnSOrQuA.js";
|
|
16
|
+
import { t as addModules } from "./add-BKcE_g9D.js";
|
|
17
|
+
import { n as ident } from "./live-CMMEct_F.js";
|
|
18
|
+
import { t as blockNames } from "./blocks-k1OG8XDs.js";
|
|
19
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-DAcQt-Mh.js";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { dirname, join, posix, resolve } from "node:path";
|
|
22
22
|
import { readFile } from "node:fs/promises";
|
|
@@ -432,9 +432,10 @@ function proposeAdoption(block, tables, options = {}) {
|
|
|
432
432
|
modules: blocks,
|
|
433
433
|
ownTables,
|
|
434
434
|
ownViews,
|
|
435
|
-
ownColumns
|
|
435
|
+
ownColumns,
|
|
436
|
+
...options.subjects === void 0 ? {} : { subjects: options.subjects }
|
|
436
437
|
});
|
|
437
|
-
errors.push(...adoptedColumnProblems(blocks, adopted.map((table) => ({ text: declaration(table) })), [...new Set(adopted.map((table) => table.schema))], ownTables));
|
|
438
|
+
errors.push(...adoptedColumnProblems(blocks, adopted.map((table) => ({ text: declaration(table) })), [...new Set(adopted.map((table) => table.schema))], ownTables, options.subjects));
|
|
438
439
|
} catch (error) {
|
|
439
440
|
errors.push(error instanceof Error ? error.message : String(error));
|
|
440
441
|
}
|
|
@@ -532,6 +533,7 @@ async function runAdopt(config, args, deps) {
|
|
|
532
533
|
const proposal = proposeAdoption(block, await deps.tables(), {
|
|
533
534
|
from: list(args.tables),
|
|
534
535
|
blocks: config.blocks,
|
|
536
|
+
subjects: config.subjects,
|
|
535
537
|
schemas: adoptSchemas(config)
|
|
536
538
|
});
|
|
537
539
|
const lines = [`Adopting ${block}:`, ...describeProposal(proposal)];
|
|
@@ -749,6 +751,7 @@ function adoptBlocks(config, file, text, blocks, tables) {
|
|
|
749
751
|
if ((config.blocks[block]?.mode ?? "managed") !== "managed") continue;
|
|
750
752
|
const proposal = proposeAdoption(block, tables, {
|
|
751
753
|
blocks: config.blocks,
|
|
754
|
+
subjects: config.subjects,
|
|
752
755
|
schemas
|
|
753
756
|
});
|
|
754
757
|
lines.push(`Adopting ${block}:`, ...describeProposal(proposal));
|
|
@@ -1014,6 +1017,11 @@ const ADD_ARGS = {
|
|
|
1014
1017
|
type: "string",
|
|
1015
1018
|
description: "With blocks: where the pgtap module goes. Defaults to database.sql.testsDir",
|
|
1016
1019
|
valueHint: "dir"
|
|
1020
|
+
},
|
|
1021
|
+
over: {
|
|
1022
|
+
type: "string",
|
|
1023
|
+
description: "Install one block over tables you already have, as table or schema.table. Shorthand for --adopt --tables",
|
|
1024
|
+
valueHint: "schema.table,..."
|
|
1017
1025
|
}
|
|
1018
1026
|
};
|
|
1019
1027
|
/**
|
|
@@ -1215,7 +1223,11 @@ function unexpected(args, flags, needs) {
|
|
|
1215
1223
|
const addCommand = defineCliCommand({
|
|
1216
1224
|
meta: commandMeta("add"),
|
|
1217
1225
|
args: ADD_COMMAND_ARGS,
|
|
1218
|
-
lists: [
|
|
1226
|
+
lists: [
|
|
1227
|
+
"integration",
|
|
1228
|
+
"tables",
|
|
1229
|
+
"over"
|
|
1230
|
+
],
|
|
1219
1231
|
completions: {
|
|
1220
1232
|
...CONVENTION_COMPLETIONS,
|
|
1221
1233
|
block: blockNames,
|
|
@@ -1238,6 +1250,19 @@ const addCommand = defineCliCommand({
|
|
|
1238
1250
|
});
|
|
1239
1251
|
}
|
|
1240
1252
|
unexpected(args, PRESET_ONLY, "--preset");
|
|
1253
|
+
if (args.over !== void 0) {
|
|
1254
|
+
if (args._.length !== 1) throw new CliError("usage", "--over works with one block, e.g. `better-supabase add teams --over public.teams`.", { flag: "--over" });
|
|
1255
|
+
if (args.adopt === true || args.tables !== void 0) throw new CliError("usage", "--over replaces --adopt and --tables: pass the tables to --over.", { flag: "--over" });
|
|
1256
|
+
return runAdopt(config, {
|
|
1257
|
+
...args,
|
|
1258
|
+
block: args._[0],
|
|
1259
|
+
tables: args.over
|
|
1260
|
+
}, {
|
|
1261
|
+
paint,
|
|
1262
|
+
tables: () => log.progress("Reading the schema", tables),
|
|
1263
|
+
...deps
|
|
1264
|
+
});
|
|
1265
|
+
}
|
|
1241
1266
|
if (args.adopt === true) {
|
|
1242
1267
|
if (args._.length === 0) {
|
|
1243
1268
|
unexpected(args, ["tables"], "--adopt and one block");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-DUyg9qna.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-BTe6A15O.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-CbuPvI2x.js";
|
|
4
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
4
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-KvV-sLZL.js";
|
|
5
5
|
import { t as connect } from "./db-CQCLx7cx.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
7
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
6
|
+
import { n as ident } from "./live-CMMEct_F.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DAcQt-Mh.js";
|
|
8
8
|
//#region src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
|
10
10
|
const ARGS = {
|
package/dist/cli/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-k1OG8XDs.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
3
3
|
import { t as SQL_ARGS } from "./args-UEwg0l-N.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-DJrSr56b.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-BwmIfFnh.js";
|
|
6
6
|
import { BLOCK_CATEGORIES } from "better-supabase/blocks";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-C5RAWmrD.js";
|
|
2
2
|
import { dirname, resolve } from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { i as plain } from "./style-Bm2X5JrN.js";
|
|
3
3
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
4
|
-
import { t as migrateCliCall } from "./moved-
|
|
4
|
+
import { t as migrateCliCall } from "./moved-Cnb4fp49.js";
|
|
5
5
|
import { t as isRecord$1 } from "./guards-CUlDNYZs.js";
|
|
6
6
|
import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-CX71yBm8.js";
|
|
7
|
-
import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-
|
|
7
|
+
import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-DYKkQw1k.js";
|
|
8
8
|
import { a as configObject, c as mask, f as setPathInConfig, g as skipSpace, h as setPresetInJson, i as closingIndex, l as properties, m as setPresetInConfig, o as indentAt, p as setPathInJson, t as addBlocksToConfig, v as codeRanges } from "./config-edit-CrWfk8s3.js";
|
|
9
9
|
import { i as legacyPrefixNames, n as LEGACY_PREFIXES, t as LEGACY_CLAIMS } from "./legacy-prefix-R7UChFFl.js";
|
|
10
10
|
import { a as REVIEW_0_15, c as renameSubpaths, r as PLUGIN_IMPORT_RENAMES, s as SUBPATH_RENAMES_0_15, t as BLOCK_EXPORT_RENAMES } from "./codemod-block-renames-BuSaTE_G.js";
|
|
@@ -417,6 +417,37 @@ const COMMANDS = [
|
|
|
417
417
|
}],
|
|
418
418
|
effects: [FILES]
|
|
419
419
|
},
|
|
420
|
+
{
|
|
421
|
+
name: "table",
|
|
422
|
+
description: "Turns a per-table feature on or off with its @bsb tag in the table comment, in the schema file that creates the table",
|
|
423
|
+
group: "setup",
|
|
424
|
+
docs: "/docs/cli/table",
|
|
425
|
+
examples: [{
|
|
426
|
+
command: "better-supabase table invoices enable realtime",
|
|
427
|
+
description: "Adds the realtime tag to the invoices table comment"
|
|
428
|
+
}, {
|
|
429
|
+
command: "better-supabase table public.invoices disable audit",
|
|
430
|
+
description: "Removes the audit tag and keeps the comment's text"
|
|
431
|
+
}],
|
|
432
|
+
effects: [FILES]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: "migrate",
|
|
436
|
+
description: "Moves a project to a newer model: schema-first turns appTables into table files you own",
|
|
437
|
+
group: "maintain",
|
|
438
|
+
docs: "/docs/cli/migrate",
|
|
439
|
+
effects: [FILES],
|
|
440
|
+
subcommands: [{
|
|
441
|
+
name: "schema-first",
|
|
442
|
+
description: "Writes the tables appTables renders as files under supabase/schemas, with the per-table features as @bsb tags",
|
|
443
|
+
docs: "/docs/cli/migrate",
|
|
444
|
+
examples: [{
|
|
445
|
+
command: "better-supabase migrate schema-first --dry-run",
|
|
446
|
+
description: "Shows the table files without writing them"
|
|
447
|
+
}],
|
|
448
|
+
effects: [FILES]
|
|
449
|
+
}]
|
|
450
|
+
},
|
|
420
451
|
{
|
|
421
452
|
name: "upgrade",
|
|
422
453
|
description: "Brings the blocks' SQL up to the config and this release: upgrade steps for blocks behind, then every block's files",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as complete, r as completionLines } from "./completion-
|
|
1
|
+
export { n as complete, r as completionLines } from "./completion-DxEXxFpz.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
3
|
-
import { a as isShell, i as completionScript, t as SHELLS } from "./completion-
|
|
3
|
+
import { a as isShell, i as completionScript, t as SHELLS } from "./completion-DxEXxFpz.js";
|
|
4
4
|
//#region src/cli/commands/completion.ts
|
|
5
5
|
const ARGS = { shell: {
|
|
6
6
|
type: "positional",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as COMPLETE_COMMAND, n as completionValues, o as listArgs, t as GLOBAL_ARGS } from "./command-
|
|
2
|
-
import { o as isVariadic, r as commandArgs } from "./parse-
|
|
1
|
+
import { l as COMPLETE_COMMAND, n as completionValues, o as listArgs, t as GLOBAL_ARGS } from "./command-CVzTJSLp.js";
|
|
2
|
+
import { o as isVariadic, r as commandArgs } from "./parse-BWM6IGhF.js";
|
|
3
3
|
//#region src/cli/core/completion.ts
|
|
4
4
|
const SHELLS = [
|
|
5
5
|
"bash",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-
|
|
1
|
+
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-KvV-sLZL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
|
|
2
2
|
import { n as redact, r as redactUrl } from "./redact-KGAk2Ul9.js";
|
|
3
3
|
import { t as display } from "./io-DH1kcmmP.js";
|
|
4
4
|
import { n as presetInfo } from "./preset-BwmIfFnh.js";
|