Open source personal finance application
feat(data): add Supabase and PowerSync client data layer and backend config
Ilya Komicheva49ca8f1eced
diff --git a/app/.env.example b/app/.env.exampleindex 2ba9cf18..52d35d36 100644--- a/app/.env.example+++ b/app/.env.example@@ -1,3 +1,5 @@-CONVEX_DEPLOYMENT=-VITE_CONVEX_URL=-VITE_CONVEX_SITE_URL=+# Supabase project URL and publishable (anon) key.+VITE_SUPABASE_URL=+VITE_SUPABASE_ANON_KEY=+# PowerSync service URL.+VITE_POWERSYNC_URL=diff --git a/app/nuxt.config.ts b/app/nuxt.config.tsindex 515f22b7..39e38f57 100644--- a/app/nuxt.config.ts+++ b/app/nuxt.config.ts@@ -166,7 +166,10 @@ export default defineNuxtConfig({registerType: 'autoUpdate',workbox: {globIgnores: ['**/200*', '**/404*'],- globPatterns: ['**/*.{js,json,css,html,png,svg,ico,woff2}'],+ globPatterns: ['**/*.{js,json,css,html,png,svg,ico,woff2,wasm}'],+ // wa-sqlite WASM (~2.5 MB) must be precached or the offline-first start+ // breaks in prod; the default 2 MiB cap would silently drop it.+ maximumFileSizeToCacheInBytes: 3 * 1024 * 1024,navigateFallback: '/',runtimeCaching: [{@@ -202,8 +205,9 @@ export default defineNuxtConfig({runtimeConfig: {public: {- convexSiteUrl: process.env.VITE_CONVEX_SITE_URL,- convexUrl: process.env.VITE_CONVEX_URL,+ powersyncUrl: process.env.VITE_POWERSYNC_URL,+ supabaseAnonKey: process.env.VITE_SUPABASE_ANON_KEY,+ supabaseUrl: process.env.VITE_SUPABASE_URL,},},@@ -228,20 +232,22 @@ export default defineNuxtConfig({},},optimizeDeps: {+ // @powersync/web ships web workers + WASM that must not be pre-bundled.+ exclude: ['@powersync/web'],include: ['localforage',- '@convex-dev/better-auth/client/plugins',- 'better-auth/vue',+ '@supabase/supabase-js','date-fns',- 'convex/browser','zod/v4','es-toolkit',- 'convex/server','@internationalized/date','date-fns/locale','reka-ui','reka-ui/namespaced',],},+ worker: {+ format: 'es',+ },},})diff --git a/app/package.json b/app/package.jsonindex 41bfe683..3639d978 100644--- a/app/package.json+++ b/app/package.json@@ -9,14 +9,13 @@"homepage": "https://ilko.me","repository": "ilkome/finapp","keywords": [- "vue, nuxt, convex, tailwind, pwa, echarts, swiper"+ "vue, nuxt, supabase, powersync, tailwind, pwa, echarts, swiper"],"engines": {"node": ">=v24.12.0"},"scripts": {"build": "nuxt build",- "dev:convex": "npx convex dev","dev": "nuxt dev -p 3050 --public","dev:prod": "nuxt dev -p 3050 --public --dotenv .env.prod","generate": "nuxt generate",@@ -25,6 +24,7 @@"test": "vitest","test:coverage": "vitest run --coverage","test:e2e": "playwright test --project=demo",+ "test:e2e:db:seed": "node scripts/seed-e2e-user.mjs","test:e2e:headed": "playwright test --project=demo --headed","test:e2e:ui": "playwright test --ui","test:e2e:report": "playwright show-report",@@ -33,14 +33,13 @@"test:e2e:real": "playwright test --project=real"},"dependencies": {- "@convex-dev/better-auth": "^0.12.2","@formkit/drag-and-drop": "^0.5.3","@iconify-json/mdi": "^1.2.3","@internationalized/date": "^3.12.0",+ "@journeyapps/wa-sqlite": "^1.7.0","@pinia/nuxt": "^0.11.3",- "better-auth": "^1.5.6",- "convex": "^1.34.0",- "convex-helpers": "^0.1.114",+ "@powersync/web": "^1.38.2",+ "@supabase/supabase-js": "^2.106.2","echarts": "^6.0.0","fuse.js": "^7.1.0","localforage": "^1.10.0",@@ -54,7 +53,6 @@"vue-echarts": "^8.0.1"},"devDependencies": {- "@edge-runtime/vm": "^5.0.0","@iconify-json/lucide": "^1.2.98","@nuxt/eslint": "^1.15.2","@nuxt/ui": "^4.6.0",@@ -67,7 +65,6 @@"@vueuse/core": "^14.2.1","@vueuse/nuxt": "^14.2.1","clsx": "^2.1.1",- "convex-test": "^0.0.44","date-fns": "^4.1.0","defu": "^6.1.4","dotenv": "^17.3.1",diff --git a/app/powersync/config/service.yaml b/app/powersync/config/service.yamlnew file mode 100644index 00000000..94e505d1--- /dev/null+++ b/app/powersync/config/service.yaml@@ -0,0 +1,46 @@+# yaml-language-server: $schema=https://unpkg.com/@powersync/service-schema@latest/json-schema/powersync-config.json+#+# PowerSync service config for local Finapp dev.+# Connects to the local Supabase Postgres (logical replication) and validates+# Supabase-issued JWTs via Supabase's JWKS endpoint.+#+# LOCAL-DEV ONLY: the passwords and api token below are committed for a localhost stack.+# For any non-local deployment, replace them with secrets/env vars - do NOT reuse these.++telemetry:+ disable_telemetry_sharing: true++# Source database: the local Supabase Postgres.+# `db` resolves on the external supabase network; powersync_role has REPLICATION + BYPASSRLS.+replication:+ connections:+ - type: postgresql+ uri: postgresql://powersync_role:powersync_password@db:5432/postgres+ sslmode: disable++# Bucket storage: a dedicated Postgres container (see docker-compose). PowerSync+# auto-migrates its own schema here.+storage:+ type: postgresql+ uri: postgresql://postgres:powersync_storage@pg-storage:5432/powersync_storage+ sslmode: disable++# API/sync server port.+port: 8080++sync_config:+ path: sync-config.yaml++# Client auth: trust Supabase-issued user JWTs (ES256, fetched from the JWKS endpoint).+# `kong` is Supabase's gateway container on the shared network.+client_auth:+ supabase: true+ jwks_uri: http://kong:8000/auth/v1/.well-known/jwks.json+ # Required to accept JWKS from a local/http URL.+ allow_local_jwks: true+ audience: ["authenticated"]++# Local admin API token (diagnostics endpoints). Not used by app clients.+api:+ tokens:+ - finapp_local_admin_tokendiff --git a/app/powersync/config/sync-config.yaml b/app/powersync/config/sync-config.yamlnew file mode 100644index 00000000..a541f216--- /dev/null+++ b/app/powersync/config/sync-config.yaml@@ -0,0 +1,25 @@+# yaml-language-server: $schema=https://unpkg.com/@powersync/service-sync-rules@latest/schema/sync_rules.json+#+# Sync rules (edition 3 / Sync Streams). Restart the PowerSync service to apply changes.+#+# `auth.user_id()` is the Supabase user id (uuid as text) from the validated JWT.+# Columns are camelCase to match the Postgres schema, so they are double-quoted.++config:+ edition: 3++streams:+ # Per-user data: each client only receives its own rows.+ user_data:+ auto_subscribe: true+ queries:+ - SELECT * FROM categories WHERE "userId" = auth.user_id()+ - SELECT * FROM wallets WHERE "userId" = auth.user_id()+ - SELECT * FROM trns WHERE "userId" = auth.user_id()+ - SELECT * FROM user_settings WHERE "userId" = auth.user_id()++ # Global exchange rates: shared across all users.+ rates:+ auto_subscribe: true+ queries:+ - SELECT * FROM ratesdiff --git a/app/powersync/docker-compose.yaml b/app/powersync/docker-compose.yamlnew file mode 100644index 00000000..0d85610b--- /dev/null+++ b/app/powersync/docker-compose.yaml@@ -0,0 +1,65 @@+# Self-hosted PowerSync service for local Finapp dev.+#+# Prerequisites: `supabase start` must be running (provides the `supabase_network_app`+# network plus the `db` and `kong` aliases) and `supabase/powersync_setup.sql` applied.+#+# Start: docker compose -f powersync/docker-compose.yaml up -d+# Logs: docker compose -f powersync/docker-compose.yaml logs -f powersync+#+# LOCAL-DEV ONLY: the storage password below is for a localhost container. Use a secret in production.++services:+ powersync:+ image: journeyapps/powersync-service:latest+ container_name: finapp_powersync+ restart: unless-stopped+ command: ["start", "-r", "unified"]+ depends_on:+ pg-storage:+ condition: service_healthy+ volumes:+ - ./config:/config+ environment:+ POWERSYNC_CONFIG_PATH: /config/service.yaml+ NODE_OPTIONS: --max-old-space-size=1000+ ports:+ - "8080:8080"+ networks:+ - default+ - supabase_network_app+ healthcheck:+ test:+ [+ "CMD",+ "node",+ "-e",+ "fetch('http://localhost:8080/probes/liveness').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))",+ ]+ interval: 5s+ timeout: 2s+ retries: 15++ # Dedicated Postgres for PowerSync bucket storage (kept separate from app data).+ pg-storage:+ image: postgres:18+ container_name: finapp_powersync_storage+ restart: always+ environment:+ POSTGRES_USER: postgres+ POSTGRES_DB: powersync_storage+ POSTGRES_PASSWORD: powersync_storage+ volumes:+ - ps_storage_data:/var/lib/postgresql+ healthcheck:+ test: ["CMD-SHELL", "pg_isready -U postgres -d powersync_storage"]+ interval: 5s+ timeout: 5s+ retries: 5++volumes:+ ps_storage_data:++# Supabase's network, created by `supabase start` (project id = app).+networks:+ supabase_network_app:+ external: truediff --git a/app/scripts/seed-e2e-user.mjs b/app/scripts/seed-e2e-user.mjsnew file mode 100644index 00000000..47b8a84c--- /dev/null+++ b/app/scripts/seed-e2e-user.mjs@@ -0,0 +1,158 @@+#!/usr/bin/env node+// Seed a fixed, reproducible e2e test account into the local Supabase stack.+//+// Why: the `real` Playwright project (`*-real.spec.ts`) needs a real signed-in+// session in `tests/e2e/.auth/user.json` AND some baseline data to act on.+// Regenerating the session (via `pnpm test:e2e:auth`) requires an account to log+// into; the category-children specs additionally need existing categories to+// pick as children. This script provisions both deterministically so any machine+// gets the same e2e account.+//+// It reads the local `service_role` key + API URL from `supabase status -o json`+// at run time (never hardcoded). The user is created via the GoTrue admin API+// (raw-SQL seeding of `auth.users` is avoided - it depends on GoTrue's bcrypt+// internals). Categories are upserted via PostgREST with the service_role key+// (bypasses RLS), then sync down to the client through PowerSync.+//+// Idempotent: re-running treats an existing user as success and re-upserts the+// categories with fixed ids, resetting them to root (parentId null) so a prior+// test run that reparented them does not leave the account in a dirty state.+//+// Credentials are LOCAL-DEV ONLY (the stack runs on localhost). Override with+// E2E_USER_EMAIL / E2E_USER_PASSWORD if you prefer different ones.+//+// Usage: pnpm test:e2e:db:seed (alias for `node scripts/seed-e2e-user.mjs`)+// Note: if pnpm's install gate blocks, run directly: `node scripts/seed-e2e-user.mjs`++import { execFileSync } from 'node:child_process'+import process from 'node:process'++const EMAIL = process.env.E2E_USER_EMAIL ?? '[email protected]'+const PASSWORD = process.env.E2E_USER_PASSWORD ?? 'e2e-finapp-test-pw'++// Baseline root categories the `*-real.spec.ts` specs pick as child candidates.+// Fixed ids -> idempotent upsert; parentId null -> root (the client maps null<->0).+const CATEGORY_COUNT = 12++function readSupabaseStatus() {+ let raw+ try {+ raw = execFileSync('supabase', ['status', '-o', 'json'], {+ encoding: 'utf8',+ stdio: ['ignore', 'pipe', 'pipe'],+ })+ }+ catch (err) {+ throw new Error(+ `Failed to run \`supabase status -o json\`. Is the local stack up `+ + `(\`supabase start\`)?\n${err.stderr || err.message}`,+ )+ }++ let status+ try {+ status = JSON.parse(raw)+ }+ catch {+ throw new Error(`Could not parse \`supabase status -o json\` output:\n${raw}`)+ }++ const apiUrl = status.API_URL+ const serviceRoleKey = status.SERVICE_ROLE_KEY+ if (!apiUrl || !serviceRoleKey)+ throw new Error('supabase status is missing API_URL or SERVICE_ROLE_KEY - is the stack fully started?')++ return { apiUrl, serviceRoleKey }+}++function adminHeaders(serviceRoleKey) {+ return {+ 'apikey': serviceRoleKey,+ 'Authorization': `Bearer ${serviceRoleKey}`,+ 'Content-Type': 'application/json',+ }+}++// Create the user (or treat "already exists" as success) and return its uid.+async function ensureUser(apiUrl, serviceRoleKey) {+ const res = await fetch(`${apiUrl}/auth/v1/admin/users`, {+ body: JSON.stringify({ email: EMAIL, email_confirm: true, password: PASSWORD }),+ headers: adminHeaders(serviceRoleKey),+ method: 'POST',+ })+ const body = await res.json().catch(() => ({}))++ if (res.ok) {+ console.log(`Seeded e2e user: ${EMAIL} (id ${body.id})`)+ return body.id+ }++ // Idempotency: GoTrue returns 422 when the user already exists.+ const code = body.error_code || body.code || ''+ const msg = body.msg || body.message || ''+ if (res.status === 422 && /already.*registered|already.*exists|email_exists/i.test(`${code} ${msg}`)) {+ console.log(`e2e user already exists: ${EMAIL} (ok)`)+ return resolveUid(apiUrl, serviceRoleKey)+ }++ throw new Error(`Admin create failed (${res.status}): ${JSON.stringify(body)}`)+}++// Look up the existing user's uid by email via the GoTrue admin list endpoint.+async function resolveUid(apiUrl, serviceRoleKey) {+ const res = await fetch(`${apiUrl}/auth/v1/admin/users?per_page=200`, {+ headers: adminHeaders(serviceRoleKey),+ })+ const body = await res.json().catch(() => ({}))+ const users = body.users ?? []+ const found = users.find(u => u.email === EMAIL)+ if (!found)+ throw new Error(`Could not resolve uid for ${EMAIL} from admin user list`)+ return found.id+}++// Upsert baseline root categories for the user (PostgREST, service_role bypasses RLS).+async function seedCategories(apiUrl, serviceRoleKey, uid) {+ const now = Date.now()+ const rows = Array.from({ length: CATEGORY_COUNT }, (_, i) => {+ const n = String(i + 1).padStart(2, '0')+ return {+ color: '#4caf50',+ icon: 'mdi:tag',+ id: `e2e-cat-${n}`,+ name: `E2E Category ${n}`,+ parentId: null,+ showInLastUsed: false,+ showInQuickSelector: false,+ updatedAt: now,+ userId: uid,+ }+ })++ const res = await fetch(`${apiUrl}/rest/v1/categories`, {+ body: JSON.stringify(rows),+ headers: {+ ...adminHeaders(serviceRoleKey),+ // Upsert on the primary key so re-runs reset state instead of erroring.+ Prefer: 'resolution=merge-duplicates,return=minimal',+ },+ method: 'POST',+ })++ if (!res.ok) {+ const text = await res.text().catch(() => '')+ throw new Error(`Category seed failed (${res.status}): ${text}`)+ }+ console.log(`Seeded ${CATEGORY_COUNT} baseline categories for ${EMAIL}`)+}++async function seed() {+ const { apiUrl, serviceRoleKey } = readSupabaseStatus()+ const uid = await ensureUser(apiUrl, serviceRoleKey)+ await seedCategories(apiUrl, serviceRoleKey, uid)+}++seed().catch((err) => {+ console.error(err.message || err)+ process.exitCode = 1+})diff --git a/app/services/powersync/AppSchema.ts b/app/services/powersync/AppSchema.tsnew file mode 100644index 00000000..0a45c77c--- /dev/null+++ b/app/services/powersync/AppSchema.ts@@ -0,0 +1,78 @@+import { column, Schema, Table } from '@powersync/web'++// Client-side SQLite schema, mirroring the Supabase Postgres tables. PowerSync adds the+// implicit `id` text PK. Booleans are stored as 0/1 and timestamps as ms-epoch ints;+// camelCase columns match Postgres (cast at the hydration boundary, see transforms.ts).++const categories = new Table(+ {+ color: column.text,+ icon: column.text,+ name: column.text,+ parentId: column.text, // null = root (mapped to 0 in the client item shape)+ showInLastUsed: column.integer,+ showInQuickSelector: column.integer,+ updatedAt: column.integer,+ userId: column.text,+ },+ { indexes: { user: ['userId'] } },+)++const wallets = new Table(+ {+ color: column.text,+ creditLimit: column.real,+ currency: column.text,+ desc: column.text,+ isArchived: column.integer,+ isExcludeInTotal: column.integer,+ isWithdrawal: column.integer,+ name: column.text,+ order: column.integer,+ type: column.text,+ updatedAt: column.integer,+ userId: column.text,+ },+ { indexes: { user: ['userId'] } },+)++const trns = new Table(+ {+ amount: column.real,+ categoryId: column.text,+ date: column.integer,+ desc: column.text,+ expenseAmount: column.real,+ expenseWalletId: column.text,+ incomeAmount: column.real,+ incomeWalletId: column.text,+ type: column.integer,+ updatedAt: column.integer,+ userId: column.text,+ walletId: column.text,+ },+ { indexes: { user: ['userId'], userDate: ['userId', 'date'] } },+)++const user_settings = new Table({+ baseCurrency: column.text,+ locale: column.text,+ userId: column.text,+})++const rates = new Table({+ date: column.text,+ rates: column.text, // JSON-encoded Record<currency, number>+ source: column.text,+ updatedAt: column.integer,+})++export const AppSchema = new Schema({+ categories,+ rates,+ trns,+ user_settings,+ wallets,+})++export type AppDatabase = (typeof AppSchema)['types']diff --git a/app/services/powersync/connector.ts b/app/services/powersync/connector.tsnew file mode 100644index 00000000..77333fd6--- /dev/null+++ b/app/services/powersync/connector.ts@@ -0,0 +1,105 @@+import type {+ AbstractPowerSyncDatabase,+ CrudEntry,+ PowerSyncBackendConnector,+ PowerSyncCredentials,+} from '@powersync/web'+import type { SupabaseClient } from '@supabase/supabase-js'++import { UpdateType } from '@powersync/web'++import { createLogger } from '~/utils/logger'++const logger = createLogger('powersync-connector')++// Postgres error codes that retrying can't fix - the op is discarded, not requeued forever.+const FATAL_RESPONSE_CODES = [+ /^22...$/, // data exception (e.g. type mismatch)+ /^23...$/, // integrity constraint violation+ /^42501$/, // insufficient privilege (RLS violation)+]++type UploadErrorHandler = (error: Error, divergedOps: CrudEntry[]) => void++// Surfaces fatal (discarded) upload errors to the app; set once from the PowerSync+// plugin so the connector stays free of UI/i18n coupling. The handler reconciles the+// discarded ops (revert rejected inserts / offer a reload for rejected updates+deletes).+let _onFatalUploadError: UploadErrorHandler | null = null++export function setUploadErrorHandler(handler: UploadErrorHandler | null): void {+ _onFatalUploadError = handler+}++/**+ * Bridges PowerSync's local write queue to Supabase:+ * - `fetchCredentials` provides the PowerSync endpoint + the current Supabase JWT.+ * - `uploadData` drains queued CRUD operations and applies them via supabase-js.+ */+export class SupabaseConnector implements PowerSyncBackendConnector {+ constructor(+ private readonly client: SupabaseClient,+ private readonly powerSyncUrl: string,+ ) {}++ async fetchCredentials(): Promise<PowerSyncCredentials | null> {+ const { data, error } = await this.client.auth.getSession()+ if (error || !data.session)+ return null++ return {+ endpoint: this.powerSyncUrl,+ token: data.session.access_token,+ }+ }++ async uploadData(database: AbstractPowerSyncDatabase): Promise<void> {+ const transaction = await database.getNextCrudTransaction()+ if (!transaction)+ return++ // Op currently being applied: a fatal failure discards it plus every op after it.+ let failedIndex = -1+ try {+ for (const [i, op] of transaction.crud.entries()) {+ failedIndex = i+ const table = this.client.from(op.table)+ let result+ switch (op.op) {+ case UpdateType.PUT: {+ const record = { ...op.opData, id: op.id }+ result = await table.upsert(record)+ break+ }+ case UpdateType.PATCH:+ result = await table.update(op.opData!).eq('id', op.id)+ break+ case UpdateType.DELETE:+ result = await table.delete().eq('id', op.id)+ break+ }++ if (result?.error) {+ result.error.message = `Supabase upload failed: ${result.error.message}`+ throw result.error+ }+ }++ await transaction.complete()+ }+ catch (ex: any) {+ if (typeof ex.code === 'string' && FATAL_RESPONSE_CODES.some(re => re.test(ex.code))) {+ // Unrecoverable - discard the transaction so the queue isn't blocked. Ops before+ // failedIndex already committed server-side; the failing op and those after it+ // never reached the server, so only those diverge and need reconciling.+ const divergedOps = transaction.crud.slice(failedIndex)+ logger.error('discarding fatal upload error', divergedOps, ex)+ _onFatalUploadError?.(ex, divergedOps)+ await transaction.complete()+ }+ else {+ // Retryable (network/temporary): rethrow so PowerSync retries after a delay.+ throw ex+ }+ }+ }+}diff --git a/app/services/powersync/db.ts b/app/services/powersync/db.tsnew file mode 100644index 00000000..d3e7f27a--- /dev/null+++ b/app/services/powersync/db.ts@@ -0,0 +1,180 @@+import type { SupabaseClient } from '@supabase/supabase-js'++import { PowerSyncDatabase, WASQLiteOpenFactory, WASQLiteVFS } from '@powersync/web'++import { createLogger } from '~/utils/logger'++import { AppSchema } from './AppSchema'+import { SupabaseConnector } from './connector'++const logger = createLogger('powersync')++let _db: PowerSyncDatabase | null = null+let _connected = false+// Serializes connect/wipe so the plugin watcher and the data-load path can't race into a double wipe.+let _connectQueue: Promise<void> = Promise.resolve()++const DB_OWNER_KEY = 'finapp.psDbOwnerUid'++/**+ * The uid that owns the data currently in local SQLite. Persisted so a failed+ * sign-out clear (or a different user signing in) is detected on the next connect+ * and stale rows are wiped before they can leak across users.+ */+export function getLocalDbOwner(): string | null {+ try {+ return globalThis.localStorage?.getItem(DB_OWNER_KEY) ?? null+ }+ catch {+ return null+ }+}++function setLocalDbOwner(uid: string): void {+ try {+ globalThis.localStorage?.setItem(DB_OWNER_KEY, uid)+ }+ catch {}+}++function clearLocalDbOwner(): void {+ try {+ globalThis.localStorage?.removeItem(DB_OWNER_KEY)+ }+ catch {}+}++/** Singleton PowerSync database (local SQLite, WASM + IndexedDB VFS: multi-tab, no COOP/COEP). */+export function usePowerSyncDb(): PowerSyncDatabase {+ if (!_db) {+ _db = new PowerSyncDatabase({+ database: new WASQLiteOpenFactory({+ dbFilename: 'finapp.db',+ vfs: WASQLiteVFS.IDBBatchAtomicVFS,+ }),+ schema: AppSchema,+ })+ }+ return _db+}++/** Disconnect and wipe local SQLite, resetting connection + owner state. */+async function wipeLocalDb(): Promise<void> {+ const db = usePowerSyncDb()+ await db.disconnectAndClear()+ _connected = false+ clearLocalDbOwner()+ logger.log('local db wiped')+}++async function doConnect(client: SupabaseClient, powerSyncUrl: string, userId: string): Promise<void> {+ const db = usePowerSyncDb()+ // Cross-user guard: wipe another user's rows before connecting. Fail closed -+ // if the wipe throws we do NOT connect, so the new user can't read stale data.+ const owner = getLocalDbOwner()+ if (owner && owner !== userId)+ await wipeLocalDb()++ if (_connected)+ return++ try {+ await db.connect(new SupabaseConnector(client, powerSyncUrl))+ _connected = true+ setLocalDbOwner(userId)+ logger.log('connected')+ }+ catch (e) {+ _connected = false+ logger.error('connect failed', e)+ throw e+ }+}++/** Connect to PowerSync for `userId`. Idempotent, serialized, wipes local SQLite if it belongs to another user. */+export function connectPowerSync(client: SupabaseClient, powerSyncUrl: string, userId: string): Promise<void> {+ const run = _connectQueue.catch(() => {}).then(() => doConnect(client, powerSyncUrl, userId))+ _connectQueue = run.catch(() => {})+ return run+}++/**+ * Force a full re-sync: wipe local SQLite then reconnect so server data is re-pulled.+ * DESTRUCTIVE (discards not-yet-uploaded offline writes) - must be user-initiated.+ * Goes through the shared queue and wipes even for the same owner.+ */+export function forceResync(client: SupabaseClient, powerSyncUrl: string, userId: string): Promise<void> {+ const run = _connectQueue.catch(() => {}).then(async () => {+ await wipeLocalDb()+ await doConnect(client, powerSyncUrl, userId)+ })+ _connectQueue = run.catch(() => {})+ return run+}++/**+ * Disconnect and wipe local data (sign-out). Returns whether the wipe succeeded;+ * on failure the owner marker is kept so the next foreign sign-in wipes first.+ */+export async function disconnectPowerSync(): Promise<boolean> {+ if (!_db) {+ clearLocalDbOwner()+ return true+ }+ _connected = false+ try {+ await _db.disconnectAndClear()+ clearLocalDbOwner()+ logger.log('disconnected and cleared')+ return true+ }+ catch (e) {+ logger.error('disconnect failed', e)+ return false+ }+}++/** Resolve once the first sync from the server completes, or after `timeoutMs`. */+export async function waitForFirstSync(timeoutMs = 10000): Promise<void> {+ const db = usePowerSyncDb()+ if (db.currentStatus?.hasSynced)+ return+ const controller = new AbortController()+ const timer = setTimeout(() => controller.abort(), timeoutMs)+ try {+ await db.waitForFirstSync({ signal: controller.signal })+ }+ catch {+ // timeout or not connected - the watch fills data later+ }+ finally {+ clearTimeout(timer)+ }+}++/**+ * Subscribe to a query. `onRows` fires immediately with current local rows and again+ * on every change (local write or incoming sync). Returns an AbortController to stop.+ */+export function watchTable<TRow = Record<string, unknown>>(+ sql: string,+ params: unknown[],+ onRows: (rows: TRow[]) => void,+ throttleMs?: number,+): AbortController {+ const db = usePowerSyncDb()+ const controller = new AbortController()+ db.watch(+ sql,+ params,+ {+ onError: (e: Error) => logger.error(`watch error: ${sql}`, e),+ onResult: (result: { rows?: { _array: unknown[] } }) => {+ onRows((result.rows?._array ?? []) as TRow[])+ },+ },+ // PowerSync coalesces table-change events within `throttleMs` (default 30ms) into one re-query.+ { signal: controller.signal, ...(throttleMs != null ? { throttleMs } : {}) },+ )+ return controller+}diff --git a/app/services/powersync/mutations.ts b/app/services/powersync/mutations.tsnew file mode 100644index 00000000..33ff9851--- /dev/null+++ b/app/services/powersync/mutations.ts@@ -0,0 +1,61 @@+import type { LockContext } from '@powersync/web'++import { usePowerSyncDb } from './db'++// PowerSync client tables are SQLite views with INSTEAD OF triggers: they take plain+// INSERT/UPDATE/DELETE but not `INSERT ... ON CONFLICT`, so upsert = existence check + INSERT/UPDATE.++// Every mutation targets one of these trusted literals (callers never pass user input). The+// guard hardens the string-interpolated SQL below; column names come from transforms.ts (fixed+// keys) and row values are always parameterized.+const WRITABLE_TABLES = new Set(['categories', 'trns', 'user_settings', 'wallets'])++function assertTable(table: string): void {+ if (!WRITABLE_TABLES.has(table))+ throw new Error(`Refusing to mutate unknown table: ${table}`)+}++async function upsertWith(+ ctx: { execute: LockContext['execute'], getOptional: LockContext['getOptional'] },+ table: string,+ id: string,+ row: Record<string, unknown>,+): Promise<void> {+ assertTable(table)+ const cols = Object.keys(row)+ const exists = await ctx.getOptional<{ id: string }>(`SELECT id FROM ${table} WHERE id = ?`, [id])++ if (exists) {+ const sets = cols.map(c => `"${c}" = ?`).join(', ')+ await ctx.execute(`UPDATE ${table} SET ${sets} WHERE id = ?`, [...cols.map(c => row[c]), id])+ }+ else {+ const quoted = cols.map(c => `"${c}"`).join(', ')+ const placeholders = cols.map(() => '?').join(', ')+ await ctx.execute(`INSERT INTO ${table} (id, ${quoted}) VALUES (?, ${placeholders})`, [id, ...cols.map(c => row[c])])+ }+}++/**+ * Insert or update a row by id. PowerSync queues the change and syncs it to Supabase.+ * `row` holds SQLite-ready column values (transforms.ts); the caller owns the id.+ */+export async function upsertRow(table: string, id: string, row: Record<string, unknown>): Promise<void> {+ // Existence check + INSERT/UPDATE in one transaction (atomic, single lock).+ await usePowerSyncDb().writeTransaction(async (tx) => {+ await upsertWith(tx, table, id, row)+ })+}++export async function deleteRow(table: string, id: string): Promise<void> {+ assertTable(table)+ await usePowerSyncDb().execute(`DELETE FROM ${table} WHERE id = ?`, [id])+}++/** Upsert several rows in a single write transaction (e.g. wallet reordering). */+export async function upsertRows(table: string, rows: { id: string, row: Record<string, unknown> }[]): Promise<void> {+ await usePowerSyncDb().writeTransaction(async (tx) => {+ for (const { id, row } of rows)+ await upsertWith(tx, table, id, row)+ })+}diff --git a/app/services/powersync/transforms.ts b/app/services/powersync/transforms.tsnew file mode 100644index 00000000..051de8e5--- /dev/null+++ b/app/services/powersync/transforms.ts@@ -0,0 +1,148 @@+import type { CategoryId, CategoryItem } from '~/components/categories/types'+import type { Rates } from '~/components/currencies/types'+import type { TrnItem } from '~/components/trns/types'+import type { WalletItem, WalletType } from '~/components/wallets/types'++import { TrnType } from '~/components/trns/types'++// Raw SQLite row: every synced table includes an `id` text primary key.+export type Row = Record<string, any> & { id: string }++// null updatedAt -> 0 (epoch), never Date.now(): stable across reads so reconcile change-detection works.+const ts = (v: unknown): number => (v == null ? 0 : Number(v))++// --- read: SQLite row -> Pinia item shape -------------------------------------++export function rowToTrn(row: Row): TrnItem {+ const type = Number(row.type) as TrnType+ const base = {+ date: Number(row.date),+ updatedAt: ts(row.updatedAt),+ ...(row.desc ? { desc: row.desc as string } : {}),+ }++ if (type === TrnType.Transfer) {+ return {+ ...base,+ categoryId: 'transfer',+ expenseAmount: Number(row.expenseAmount),+ expenseWalletId: row.expenseWalletId,+ incomeAmount: Number(row.incomeAmount),+ incomeWalletId: row.incomeWalletId,+ type,+ } as TrnItem+ }++ return {+ ...base,+ amount: Number(row.amount),+ categoryId: row.categoryId,+ type,+ walletId: row.walletId,+ } as TrnItem+}++export function rowToWallet(row: Row): WalletItem {+ const base = {+ color: row.color,+ currency: row.currency,+ desc: (row.desc ?? '') as string,+ isArchived: !!row.isArchived,+ isExcludeInTotal: !!row.isExcludeInTotal,+ isWithdrawal: !!row.isWithdrawal,+ name: row.name,+ order: Number(row.order ?? 0),+ updatedAt: ts(row.updatedAt),+ }++ if (row.type === 'credit')+ return { ...base, creditLimit: Number(row.creditLimit ?? 0), type: 'credit' }++ return { ...base, type: row.type as Exclude<WalletType, 'credit'> }+}++export function rowToCategory(row: Row): CategoryItem {+ return {+ color: row.color,+ icon: row.icon,+ name: row.name,+ parentId: (row.parentId ?? 0) as CategoryId | 0, // null -> 0 (root sentinel)+ showInLastUsed: !!row.showInLastUsed,+ showInQuickSelector: !!row.showInQuickSelector,+ ...(row.updatedAt != null ? { updatedAt: Number(row.updatedAt) } : {}),+ }+}++export function rowToRates(row: Row): Rates | null {+ if (!row?.rates)+ return null+ try {+ return JSON.parse(row.rates as string) as Rates+ }+ catch {+ return null+ }+}++// --- write: Pinia item shape -> SQLite row ------------------------------------+// Booleans -> 0/1, root parentId sentinel (0) -> null, userId stamped for RLS on upload.++export function trnToRow(item: TrnItem, userId: string): Record<string, unknown> {+ const base = {+ amount: null as number | null,+ categoryId: item.categoryId ?? null,+ date: item.date,+ desc: item.desc ?? null,+ expenseAmount: null as number | null,+ expenseWalletId: null as string | null,+ incomeAmount: null as number | null,+ incomeWalletId: null as string | null,+ type: item.type,+ updatedAt: item.updatedAt ?? Date.now(),+ userId,+ walletId: null as string | null,+ }++ if (item.type === TrnType.Transfer) {+ return {+ ...base,+ categoryId: 'transfer',+ expenseAmount: item.expenseAmount,+ expenseWalletId: item.expenseWalletId,+ incomeAmount: item.incomeAmount,+ incomeWalletId: item.incomeWalletId,+ }+ }++ return { ...base, amount: item.amount, walletId: item.walletId }+}++export function walletToRow(item: WalletItem, userId: string): Record<string, unknown> {+ return {+ color: item.color,+ creditLimit: item.type === 'credit' ? (item.creditLimit ?? 0) : null,+ currency: item.currency,+ desc: item.desc || null,+ isArchived: item.isArchived ? 1 : 0,+ isExcludeInTotal: item.isExcludeInTotal ? 1 : 0,+ isWithdrawal: item.isWithdrawal ? 1 : 0,+ name: item.name,+ order: Math.round(item.order ?? 0), // integer column - round, don't silently truncate+ type: item.type,+ updatedAt: item.updatedAt ?? Date.now(),+ userId,+ }+}++export function categoryToRow(item: CategoryItem, userId: string): Record<string, unknown> {+ return {+ color: item.color,+ icon: item.icon,+ name: item.name,+ parentId: item.parentId ? String(item.parentId) : null, // 0/'' root sentinel -> null+ showInLastUsed: item.showInLastUsed ? 1 : 0,+ showInQuickSelector: item.showInQuickSelector ? 1 : 0,+ updatedAt: item.updatedAt ?? Date.now(),+ userId,+ }+}diff --git a/app/services/powersync/uploadReconcile.ts b/app/services/powersync/uploadReconcile.tsnew file mode 100644index 00000000..89b10f65--- /dev/null+++ b/app/services/powersync/uploadReconcile.ts@@ -0,0 +1,32 @@+import type { CrudEntry } from '@powersync/web'++import { UpdateType } from '@powersync/web'++export type DivergencePlan = {+ /** True when any non-PUT op diverged; only a full re-sync can restore those. */+ needsReload: boolean+ /** Local rows to delete - rejected inserts (PUT) the server never accepted. */+ toRevert: { id: string, table: string }[]+}++/**+ * Classify the ops discarded from a fatally-rejected upload into a reconciliation+ * plan (pure, see uploadReconcile.test.ts):+ * - All PUTs (rejected inserts) -> delete each local row (ids are client-generated, so+ * the server has nothing; a 23505 conflict just means a different server row).+ * - Any PATCH/DELETE -> server still holds the prior version and PowerSync can't re-pull+ * per row, so a full re-sync is required (toRevert stays empty; the paths are exclusive).+ */+export function planDivergence(divergedOps: CrudEntry[]): DivergencePlan {+ if (!divergedOps.length)+ return { needsReload: false, toRevert: [] }++ const allPut = divergedOps.every(op => op.op === UpdateType.PUT)+ if (!allPut)+ return { needsReload: true, toRevert: [] }++ return {+ needsReload: false,+ toRevert: divergedOps.map(op => ({ id: op.id, table: op.table })),+ }+}diff --git a/app/supabase/.gitignore b/app/supabase/.gitignorenew file mode 100644index 00000000..ad9264f0--- /dev/null+++ b/app/supabase/.gitignore@@ -0,0 +1,8 @@+# Supabase+.branches+.temp++# dotenvx+.env.keys+.env.local+.env.*.localdiff --git a/app/supabase/config.toml b/app/supabase/config.tomlnew file mode 100644index 00000000..6a14357e--- /dev/null+++ b/app/supabase/config.toml@@ -0,0 +1,408 @@+# For detailed configuration reference documentation, visit:+# https://supabase.com/docs/guides/local-development/cli/config+# A string used to distinguish different Supabase projects on the same host. Defaults to the+# working directory name when running `supabase init`.+project_id = "app"++[api]+enabled = true+# Port to use for the API URL.+port = 54321+# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API+# endpoints. `public` and `graphql_public` schemas are included by default.+schemas = ["public", "graphql_public"]+# Extra schemas to add to the search_path of every request.+extra_search_path = ["public", "extensions"]+# The maximum number of rows returns from a view, table, or stored procedure. Limits payload size+# for accidental or malicious requests.+max_rows = 1000++[api.tls]+# Enable HTTPS endpoints locally using a self-signed certificate.+enabled = false+# Paths to self-signed certificate pair.+# cert_path = "../certs/my-cert.pem"+# key_path = "../certs/my-key.pem"++[db]+# Port to use for the local database URL.+port = 54322+# Port used by db diff command to initialize the shadow database.+shadow_port = 54320+# Maximum amount of time to wait for health check when starting the local database.+health_timeout = "2m"+# The database major version to use. This has to be the same as your remote database's. Run `SHOW+# server_version;` on the remote database to check.+major_version = 17++[db.pooler]+enabled = false+# Port to use for the local connection pooler.+port = 54329+# Specifies when a server connection can be reused by other clients.+# Configure one of the supported pooler modes: `transaction`, `session`.+pool_mode = "transaction"+# How many server connections to allow per user/database pair.+default_pool_size = 20+# Maximum number of client connections allowed.+max_client_conn = 100++# [db.vault]+# secret_key = "env(SECRET_VALUE)"++[db.migrations]+# If disabled, migrations will be skipped during a db push or reset.+enabled = true+# Specifies an ordered list of schema files that describe your database.+# Supports glob patterns relative to supabase directory: "./schemas/*.sql"+schema_paths = []++[db.seed]+# If enabled, seeds the database after migrations during a db reset.+enabled = true+# Specifies an ordered list of seed files to load during db reset.+# Supports glob patterns relative to supabase directory: "./seeds/*.sql"+sql_paths = ["./seed.sql"]++[db.network_restrictions]+# Enable management of network restrictions.+enabled = false+# List of IPv4 CIDR blocks allowed to connect to the database.+# Defaults to allow all IPv4 connections. Set empty array to block all IPs.+allowed_cidrs = ["0.0.0.0/0"]+# List of IPv6 CIDR blocks allowed to connect to the database.+# Defaults to allow all IPv6 connections. Set empty array to block all IPs.+allowed_cidrs_v6 = ["::/0"]++# Uncomment to reject non-secure connections to the database.+# [db.ssl_enforcement]+# enabled = true++[realtime]+enabled = true+# Bind realtime via either IPv4 or IPv6. (default: IPv4)+# ip_version = "IPv6"+# The maximum length in bytes of HTTP request headers. (default: 4096)+# max_header_length = 4096++[studio]+enabled = true+# Port to use for Supabase Studio.+port = 54323+# External URL of the API server that frontend connects to.+api_url = "http://127.0.0.1"+# OpenAI API Key to use for Supabase AI in the Supabase Studio.+openai_api_key = "env(OPENAI_API_KEY)"++# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they+# are monitored, and you can view the emails that would have been sent from the web interface.+[inbucket]+enabled = true+# Port to use for the email testing server web interface.+port = 54324+# Uncomment to expose additional ports for testing user applications that send emails.+# smtp_port = 54325+# pop3_port = 54326+# admin_email = "[email protected]"+# sender_name = "Admin"++[storage]+enabled = true+# The maximum file size allowed (e.g. "5MB", "500KB").+file_size_limit = "50MiB"++# Uncomment to configure local storage buckets+# [storage.buckets.images]+# public = false+# file_size_limit = "50MiB"+# allowed_mime_types = ["image/png", "image/jpeg"]+# objects_path = "./images"++# Allow connections via S3 compatible clients+[storage.s3_protocol]+enabled = true++# Image transformation API is available to Supabase Pro plan.+# [storage.image_transformation]+# enabled = true++# Store analytical data in S3 for running ETL jobs over Iceberg Catalog+# This feature is only available on the hosted platform.+[storage.analytics]+enabled = false+max_namespaces = 5+max_tables = 10+max_catalogs = 2++# Analytics Buckets is available to Supabase Pro plan.+# [storage.analytics.buckets.my-warehouse]++# Store vector embeddings in S3 for large and durable datasets+# This feature is only available on the hosted platform.+[storage.vector]+enabled = false+max_buckets = 10+max_indexes = 5++# Vector Buckets is available to Supabase Pro plan.+# [storage.vector.buckets.documents-openai]++[auth]+enabled = true+# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used+# in emails.+site_url = "http://127.0.0.1:3000"+# The public URL that Auth serves on. Defaults to the API external URL with `/auth/v1` appended.+# external_url = ""+# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.+additional_redirect_urls = ["https://127.0.0.1:3000"]+# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).+jwt_expiry = 3600+# JWT issuer URL. If not set, defaults to auth.external_url.+# jwt_issuer = ""+# Path to JWT signing key. DO NOT commit your signing keys file to git.+# signing_keys_path = "./signing_keys.json"+# If disabled, the refresh token will never expire.+enable_refresh_token_rotation = true+# Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.+# Requires enable_refresh_token_rotation = true.+refresh_token_reuse_interval = 10+# Allow/disallow new user signups to your project.+enable_signup = true+# Allow/disallow anonymous sign-ins to your project.+enable_anonymous_sign_ins = false+# Allow/disallow testing manual linking of accounts+enable_manual_linking = false+# Passwords shorter than this value will be rejected as weak. Minimum 6, recommended 8 or more.+minimum_password_length = 6+# Passwords that do not meet the following requirements will be rejected as weak. Supported values+# are: `letters_digits`, `lower_upper_letters_digits`, `lower_upper_letters_digits_symbols`+password_requirements = ""++# Configure passkey sign-ins.+# [auth.passkey]+# enabled = false++# Configure WebAuthn relying party settings (required when passkey is enabled).+# [auth.webauthn]+# rp_display_name = "Supabase"+# rp_id = "localhost"+# rp_origins = ["http://127.0.0.1:3000"]++[auth.rate_limit]+# Number of emails that can be sent per hour. Requires auth.email.smtp to be enabled.+email_sent = 2+# Number of SMS messages that can be sent per hour. Requires auth.sms to be enabled.+sms_sent = 30+# Number of anonymous sign-ins that can be made per hour per IP address. Requires enable_anonymous_sign_ins = true.+anonymous_users = 30+# Number of sessions that can be refreshed in a 5 minute interval per IP address.+token_refresh = 150+# Number of sign up and sign-in requests that can be made in a 5 minute interval per IP address (excludes anonymous users).+sign_in_sign_ups = 30+# Number of OTP / Magic link verifications that can be made in a 5 minute interval per IP address.+token_verifications = 30+# Number of Web3 logins that can be made in a 5 minute interval per IP address.+web3 = 30++# Configure one of the supported captcha providers: `hcaptcha`, `turnstile`.+# [auth.captcha]+# enabled = true+# provider = "hcaptcha"+# secret = ""++[auth.email]+# Allow/disallow new user signups via email to your project.+enable_signup = true+# If enabled, a user will be required to confirm any email change on both the old, and new email+# addresses. If disabled, only the new email is required to confirm.+double_confirm_changes = true+# If enabled, users need to confirm their email address before signing in.+enable_confirmations = false+# If enabled, users will need to reauthenticate or have logged in recently to change their password.+secure_password_change = false+# Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email.+max_frequency = "1s"+# Number of characters used in the email OTP.+otp_length = 6+# Number of seconds before the email OTP expires (defaults to 1 hour).+otp_expiry = 3600++# Use a production-ready SMTP server+# [auth.email.smtp]+# enabled = true+# host = "smtp.sendgrid.net"+# port = 587+# user = "apikey"+# pass = "env(SENDGRID_API_KEY)"+# admin_email = "[email protected]"+# sender_name = "Admin"++# Uncomment to customize email template+# [auth.email.template.invite]+# subject = "You have been invited"+# content_path = "./supabase/templates/invite.html"++# Uncomment to customize notification email template+# [auth.email.notification.password_changed]+# enabled = true+# subject = "Your password has been changed"+# content_path = "./templates/password_changed_notification.html"++[auth.sms]+# Allow/disallow new user signups via SMS to your project.+enable_signup = false+# If enabled, users need to confirm their phone number before signing in.+enable_confirmations = false+# Template for sending OTP to users+template = "Your code is {{ .Code }}"+# Controls the minimum amount of time that must pass before sending another sms otp.+max_frequency = "5s"++# Use pre-defined map of phone number to OTP for testing.+# [auth.sms.test_otp]+# 4152127777 = "123456"++# Configure logged in session timeouts.+# [auth.sessions]+# Force log out after the specified duration.+# timebox = "24h"+# Force log out if the user has been inactive longer than the specified duration.+# inactivity_timeout = "8h"++# This hook runs before a new user is created and allows developers to reject the request based on the incoming user object.+# [auth.hook.before_user_created]+# enabled = true+# uri = "pg-functions://postgres/auth/before-user-created-hook"++# This hook runs before a token is issued and allows you to add additional claims based on the authentication method used.+# [auth.hook.custom_access_token]+# enabled = true+# uri = "pg-functions://<database>/<schema>/<hook_name>"++# Configure one of the supported SMS providers: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, `vonage`.+[auth.sms.twilio]+enabled = false+account_sid = ""+message_service_sid = ""+# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:+auth_token = "env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN)"++# Multi-factor-authentication is available to Supabase Pro plan.+[auth.mfa]+# Control how many MFA factors can be enrolled at once per user.+max_enrolled_factors = 10++# Control MFA via App Authenticator (TOTP)+[auth.mfa.totp]+enroll_enabled = false+verify_enabled = false++# Configure MFA via Phone Messaging+[auth.mfa.phone]+enroll_enabled = false+verify_enabled = false+otp_length = 6+template = "Your code is {{ .Code }}"+max_frequency = "5s"++# Configure MFA via WebAuthn+# [auth.mfa.web_authn]+# enroll_enabled = true+# verify_enabled = true++# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,+# `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin_oidc`, `notion`, `twitch`,+# `twitter`, `x`, `slack`, `spotify`, `workos`, `zoom`.+[auth.external.apple]+enabled = false+client_id = ""+# DO NOT commit your OAuth provider secret to git. Use environment variable substitution instead:+secret = "env(SUPABASE_AUTH_EXTERNAL_APPLE_SECRET)"+# Overrides the default auth callback URL derived from auth.external_url.+redirect_uri = ""+# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,+# or any other third-party OIDC providers.+url = ""+# If enabled, the nonce check will be skipped. Required for local sign in with Google auth.+skip_nonce_check = false+# If enabled, it will allow the user to successfully authenticate when the provider does not return an email address.+email_optional = false++# Allow Solana wallet holders to sign in to your project via the Sign in with Solana (SIWS, EIP-4361) standard.+# You can configure "web3" rate limit in the [auth.rate_limit] section and set up [auth.captcha] if self-hosting.+[auth.web3.solana]+enabled = false++# Use Firebase Auth as a third-party provider alongside Supabase Auth.+[auth.third_party.firebase]+enabled = false+# project_id = "my-firebase-project"++# Use Auth0 as a third-party provider alongside Supabase Auth.+[auth.third_party.auth0]+enabled = false+# tenant = "my-auth0-tenant"+# tenant_region = "us"++# Use AWS Cognito (Amplify) as a third-party provider alongside Supabase Auth.+[auth.third_party.aws_cognito]+enabled = false+# user_pool_id = "my-user-pool-id"+# user_pool_region = "us-east-1"++# Use Clerk as a third-party provider alongside Supabase Auth.+[auth.third_party.clerk]+enabled = false+# Obtain from https://clerk.com/setup/supabase+# domain = "example.clerk.accounts.dev"++# OAuth server configuration+[auth.oauth_server]+# Enable OAuth server functionality+enabled = false+# Path for OAuth consent flow UI+authorization_url_path = "/oauth/consent"+# Allow dynamic client registration+allow_dynamic_registration = false++[edge_runtime]+enabled = true+# Supported request policies: `oneshot`, `per_worker`.+# `per_worker` (default) — enables hot reload during local development.+# `oneshot` — fallback mode if hot reload causes issues (e.g. in large repos or with symlinks).+policy = "per_worker"+# Port to attach the Chrome inspector for debugging edge functions.+inspector_port = 8083+# The Deno major version to use.+deno_version = 2++# [edge_runtime.secrets]+# secret_key = "env(SECRET_VALUE)"++[analytics]+enabled = false+port = 54327+# Configure one of the supported backends: `postgres`, `bigquery`.+backend = "postgres"++# Experimental features may be deprecated any time+[experimental]+# Configures Postgres storage engine to use OrioleDB (S3)+orioledb_version = ""+# Configures S3 bucket URL, eg. <bucket_name>.s3-<region>.amazonaws.com+s3_host = "env(S3_HOST)"+# Configures S3 bucket region, eg. us-east-1+s3_region = "env(S3_REGION)"+# Configures AWS_ACCESS_KEY_ID for S3 bucket+s3_access_key = "env(S3_ACCESS_KEY)"+# Configures AWS_SECRET_ACCESS_KEY for S3 bucket+s3_secret_key = "env(S3_SECRET_KEY)"++# [experimental.pgdelta]+# When enabled, pg-delta becomes the active engine for supported schema flows.+# enabled = false+# Directory under `supabase/` where declarative files are written.+# declarative_schema_path = "./database"+# JSON string passed through to pg-delta SQL formatting.+# format_options = "{\"keywordCase\":\"upper\",\"indent\":2,\"maxWidth\":80,\"commaStyle\":\"trailing\"}"diff --git a/app/supabase/migrations/20260531231644_init_finapp_schema.sql b/app/supabase/migrations/20260531231644_init_finapp_schema.sqlnew file mode 100644index 00000000..265df916--- /dev/null+++ b/app/supabase/migrations/20260531231644_init_finapp_schema.sql@@ -0,0 +1,146 @@+-- Finapp schema for Supabase + PowerSync.+--+-- Design notes:+-- * All id columns are `text` (client-generates UUID strings). No FK constraints:+-- PowerSync upload order is not guaranteed, so referential integrity is enforced+-- in app logic, not the DB.+-- * Columns are camelCase (quoted) so the synced row shape matches the existing+-- client/Pinia item shapes 1:1 (no mapping layer needed).+-- * `categoryId` is plain text (not a FK): it also holds the synthetic literals+-- 'transfer' and 'adjustment', which are not real category rows.+-- * RLS is scoped to the owning user. The PowerSync replication role has BYPASSRLS,+-- so per-user partitioning on the read path is handled by sync rules; RLS guards+-- the write path (supabase-js as the authenticated user).++-- ---------------------------------------------------------------------------+-- categories+-- ---------------------------------------------------------------------------+create table public.categories (+ id text primary key default gen_random_uuid()::text,+ "userId" text not null,+ name text not null,+ color text not null,+ icon text not null,+ "parentId" text, -- null = root category+ "showInLastUsed" boolean not null default false,+ "showInQuickSelector" boolean not null default false,+ "updatedAt" bigint+);+create index categories_user_idx on public.categories ("userId");++-- ---------------------------------------------------------------------------+-- wallets+-- ---------------------------------------------------------------------------+create table public.wallets (+ id text primary key default gen_random_uuid()::text,+ "userId" text not null,+ name text not null,+ color text not null,+ currency text not null,+ type text not null, -- cash | credit | cashless | deposit | crypto | debt+ "order" integer not null default 0,+ "creditLimit" double precision,+ "desc" text,+ "isArchived" boolean not null default false,+ "isExcludeInTotal" boolean not null default false,+ "isWithdrawal" boolean not null default false,+ "updatedAt" bigint+);+create index wallets_user_idx on public.wallets ("userId");++-- ---------------------------------------------------------------------------+-- trns (transactions)+-- ---------------------------------------------------------------------------+create table public.trns (+ id text primary key default gen_random_uuid()::text,+ "userId" text not null,+ type smallint not null, -- 0 expense | 1 income | 2 transfer+ date bigint not null, -- ms epoch+ "updatedAt" bigint not null,+ "categoryId" text, -- category id | 'transfer' | 'adjustment'+ "desc" text,+ -- expense / income+ amount double precision,+ "walletId" text,+ -- transfer+ "expenseAmount" double precision,+ "expenseWalletId" text,+ "incomeAmount" double precision,+ "incomeWalletId" text+);+create index trns_user_idx on public.trns ("userId");+create index trns_user_date_idx on public.trns ("userId", date);++-- ---------------------------------------------------------------------------+-- user_settings (one row per user)+-- PowerSync requires an `id` PK on every synced table. Here id == the user uid.+-- ---------------------------------------------------------------------------+create table public.user_settings (+ id text primary key, -- equals the user's auth uid+ "userId" text not null, -- equals id; kept for RLS + sync-rule uniformity+ "baseCurrency" text not null default 'USD',+ locale text -- 'en' | 'ru' | null+);++-- ---------------------------------------------------------------------------+-- rates (global, shared across all users)+-- ---------------------------------------------------------------------------+create table public.rates (+ id text primary key default gen_random_uuid()::text,+ date text not null,+ rates jsonb not null,+ source text,+ "updatedAt" bigint not null+);+create unique index rates_date_source_idx on public.rates (date, coalesce(source, ''));++-- ===========================================================================+-- Row Level Security+-- ===========================================================================+alter table public.categories enable row level security;+alter table public.wallets enable row level security;+alter table public.trns enable row level security;+alter table public.user_settings enable row level security;+alter table public.rates enable row level security;++-- Per-user tables: owner can do everything to their own rows.+create policy "categories_owner" on public.categories for all to authenticated+ using ((select auth.uid())::text = "userId")+ with check ((select auth.uid())::text = "userId");++create policy "wallets_owner" on public.wallets for all to authenticated+ using ((select auth.uid())::text = "userId")+ with check ((select auth.uid())::text = "userId");++create policy "trns_owner" on public.trns for all to authenticated+ using ((select auth.uid())::text = "userId")+ with check ((select auth.uid())::text = "userId");++create policy "user_settings_owner" on public.user_settings for all to authenticated+ using ((select auth.uid())::text = "userId")+ with check ((select auth.uid())::text = "userId");++-- rates: global read for any authenticated user; no client writes (populated server-side).+create policy "rates_read" on public.rates for select to authenticated+ using (true);++-- ===========================================================================+-- Auto-provision user_settings on signup+-- ===========================================================================+create or replace function public.handle_new_user()+returns trigger+language plpgsql+security definer+set search_path = ''+as $$+begin+ insert into public.user_settings (id, "userId", "baseCurrency")+ values (new.id::text, new.id::text, 'USD')+ on conflict (id) do nothing;+ return new;+end;+$$;++create trigger on_auth_user_created+ after insert on auth.users+ for each row execute function public.handle_new_user();diff --git a/app/supabase/migrations/20260601004500_lockdown_data_api.sql b/app/supabase/migrations/20260601004500_lockdown_data_api.sqlnew file mode 100644index 00000000..3a82807b--- /dev/null+++ b/app/supabase/migrations/20260601004500_lockdown_data_api.sql@@ -0,0 +1,47 @@+-- Lock down the Supabase Data API (PostgREST + pg_graphql) surface.+--+-- This app does NOT read through the Data API: reads happen via PowerSync+-- (the `powersync_role` over logical replication, which bypasses RLS). The+-- supabase-js client only (a) authenticates and (b) writes via the PowerSync+-- upload connector as the `authenticated` role (guarded by RLS).+--+-- So:+-- * `anon` needs no access to any data table -> revoke everything (clears lint 0026).+-- * `rates` is read-only via PowerSync; the Data API never touches it -> revoke from+-- authenticated too (clears 0026/0027 for rates).+-- * `authenticated` needs full CRUD on the user-owned tables for the upload path.+-- Note: Postgres requires SELECT for `UPDATE/DELETE ... WHERE id = ?` (the WHERE+-- reads the column), and the connector targets rows by id - so SELECT cannot be+-- revoked without breaking writes. These 4 tables therefore remain visible in the+-- GraphQL schema to signed-in users (advisor lint 0027), which is acceptable here:+-- RLS (`*_owner` policies on auth.uid()) blocks reading any other user's rows, so+-- 0027 only reflects schema *discoverability*, not data access. Fully removing it+-- would require routing writes through a SECURITY DEFINER RPC instead of direct+-- table access.++revoke all on public.categories from anon;+revoke all on public.wallets from anon;+revoke all on public.trns from anon;+revoke all on public.user_settings from anon;+revoke all on public.rates from anon, authenticated;++-- The PowerSync upload path writes these as the signed-in user (RLS enforces ownership).+grant select, insert, update, delete on public.categories to authenticated;+grant select, insert, update, delete on public.wallets to authenticated;+grant select, insert, update, delete on public.trns to authenticated;+grant select, insert, update, delete on public.user_settings to authenticated;++-- handle_new_user() is a SECURITY DEFINER *trigger* function. Triggers fire with+-- the definer's rights regardless of role EXECUTE grants, so revoking EXECUTE keeps+-- the signup trigger working while removing the /rest/v1/rpc/handle_new_user endpoint+-- (clears lints 0028/0029).+revoke execute on function public.handle_new_user() from public, anon, authenticated;++-- Disable GraphQL. This app never uses the GraphQL API (reads go through PowerSync,+-- writes through PostgREST/REST). The 0027 lint fires only when pg_graphql is+-- installed AND a role can SELECT the table - and SELECT can't be revoked from+-- `authenticated` because `UPDATE/DELETE ... WHERE id = ?` (the upload path) needs it.+-- Removing the unused GraphQL extension clears 0027 without touching grants or writes.+-- (On hosted Supabase you can't drop a managed extension - disable the GraphQL Data+-- API in project settings instead.)+drop extension if exists pg_graphql cascade;diff --git a/app/supabase/powersync_setup.sql b/app/supabase/powersync_setup.sqlnew file mode 100644index 00000000..18f4e046--- /dev/null+++ b/app/supabase/powersync_setup.sql@@ -0,0 +1,32 @@+-- PowerSync replication setup for the local Supabase Postgres.+--+-- Run after `supabase start` (and after the schema migration has applied):+-- docker exec -i supabase_db_app psql -U postgres -d postgres < supabase/powersync_setup.sql+--+-- The PowerSync service connects with this role to stream logical replication.+-- It has BYPASSRLS so it can read every user's rows; per-user partitioning is+-- enforced by PowerSync sync rules, not RLS.+--+-- LOCAL-DEV ONLY: the password below is for a localhost stack. Use a real secret in production.++-- Replication role used by the PowerSync service.+do $$+begin+ if not exists (select 1 from pg_roles where rolname = 'powersync_role') then+ create role powersync_role with replication bypassrls login password 'powersync_password';+ end if;+end+$$;++grant usage on schema public to powersync_role;+grant select on all tables in schema public to powersync_role;+alter default privileges in schema public grant select on tables to powersync_role;++-- Publication consumed by PowerSync. Scoped to the finapp tables only.+drop publication if exists powersync;+create publication powersync for table+ public.categories,+ public.wallets,+ public.trns,+ public.user_settings,+ public.rates;diff --git a/package.json b/package.jsonindex 22693a11..c2206937 100644--- a/package.json+++ b/package.json@@ -3,7 +3,7 @@"type": "module","version": "7.12.3","private": true,- "packageManager": "[email protected]",+ "packageManager": "[email protected]","description": "Finapp helps you easily track and manage personal finances","author": "Ilya Komichev @ilkome","license": "MIT",@@ -17,7 +17,6 @@"dev": "pnpm --filter @finapp/app dev","dev:all": "pnpm --parallel --filter @finapp/app --filter @finapp/docs dev","dev:app": "pnpm --filter @finapp/app dev",- "dev:convex": "pnpm --filter @finapp/app dev:convex","dev:docs": "pnpm --filter @finapp/docs dev","dev:prod": "pnpm --filter @finapp/app dev:prod","docs:build": "pnpm --filter @finapp/docs build",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 6236f5c2..da652e8a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -52,9 +52,6 @@ importers:app:dependencies:- '@convex-dev/better-auth':- specifier: ^0.12.2- version: 0.12.2(@standard-schema/[email protected])([email protected](@opentelemetry/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])'@formkit/drag-and-drop':specifier: ^0.5.3version: 0.5.3@@ -64,18 +61,18 @@ importers:'@internationalized/date':specifier: ^3.12.0version: 3.12.1+ '@journeyapps/wa-sqlite':+ specifier: ^1.7.0+ version: 1.7.0'@pinia/nuxt':specifier: ^0.11.3version: 0.11.3([email protected])([email protected]([email protected])([email protected]([email protected])))- better-auth:- specifier: ^1.5.6- version: 1.6.9(@opentelemetry/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))- convex:- specifier: ^1.34.0- version: 1.37.0([email protected])- convex-helpers:- specifier: ^0.1.114- version: 0.1.115(@standard-schema/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])+ '@powersync/web':+ specifier: ^1.38.2+ version: 1.38.2(@journeyapps/[email protected])(@powersync/[email protected])+ '@supabase/supabase-js':+ specifier: ^2.106.2+ version: 2.106.2echarts:specifier: ^6.0.0version: 6.0.0@@ -110,18 +107,15 @@ importers:specifier: ^8.0.1devDependencies:- '@edge-runtime/vm':- specifier: ^5.0.0- version: 5.0.0'@iconify-json/lucide':specifier: ^1.2.98version: 1.2.105'@nuxt/eslint':specifier: ^1.15.2- version: 1.15.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.15.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@nuxt/ui':specifier: ^4.6.0- version: 4.7.1(@internationalized/[email protected])(@internationalized/[email protected])(@nuxt/[email protected]([email protected])([email protected]))(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))(@tiptap/[email protected]([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])+ version: 4.7.1(@internationalized/[email protected])(@internationalized/[email protected])(@nuxt/[email protected]([email protected])([email protected]))(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))(@tiptap/[email protected]([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])'@nuxtjs/i18n':specifier: ^10.2.4version: 10.3.0(@emnapi/[email protected])(@emnapi/[email protected])(@vue/[email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))@@ -145,13 +139,10 @@ importers:version: 14.3.0([email protected]([email protected]))'@vueuse/nuxt':specifier: ^14.2.1- version: 14.3.0([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))+ version: 14.3.0([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))clsx:specifier: ^2.1.1version: 2.1.1- convex-test:- specifier: ^0.0.44- version: 0.0.44([email protected]([email protected]))date-fns:specifier: ^4.1.0version: 4.1.0@@ -169,7 +160,7 @@ importers:version: 20.9.0nuxt:specifier: ^4.4.6- version: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ version: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])tailwind-merge:specifier: ^3.5.0version: 3.5.0@@ -892,85 +883,6 @@ packages:resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==}engines: {node: '>=18'}- '@better-auth/[email protected]':- resolution: {integrity: sha512-ADFk5pwmLybmc+LvYvXJ6M1x2oY/EyYLkwLuH0x28FUq12DfjL0wnE7g+WRDf3yozDO+qIxTpFGXDGwLKbfz0w==}- peerDependencies:- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21- '@cloudflare/workers-types': '>=4'- '@opentelemetry/api': ^1.9.0- better-call: 1.3.5- jose: ^6.1.0- kysely: ^0.28.5- nanostores: ^1.0.1- peerDependenciesMeta:- '@cloudflare/workers-types':- optional: true- '@opentelemetry/api':- optional: true-- '@better-auth/[email protected]':- resolution: {integrity: sha512-Lcco5hOGrMgc4XKAkvB6x72eQm4wCcya8IevMg4wBHY9W9GVg8pu23rpRX6VsVQSO4Ux13S7lFwUWtF7/r9aKw==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0- drizzle-orm: ^0.45.2- peerDependenciesMeta:- drizzle-orm:- optional: true-- '@better-auth/[email protected]':- resolution: {integrity: sha512-gyjuuxJtZ4o9G9z9q4kqn24X2kvMSp7F+KHogYxF03SnXY/2WleAcuj57iC4wP3e9mGDbjPOrnM5K6Kr3Ktdpw==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0- kysely: ^0.28.14- peerDependenciesMeta:- kysely:- optional: true-- '@better-auth/[email protected]':- resolution: {integrity: sha512-XmIG4tUnOXZ+KEcWjHUjOI9Z5donD09dC2t/AQTXifAUIqx7cySg86w0KTM09ArzAxRx1fCqO36Wkt5nULnrkQ==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0-- '@better-auth/[email protected]':- resolution: {integrity: sha512-h+AiRJ/TsBSi+ZDjySASBpbJ/9QCXBre34PSKgCz7QmTHrFM9Cg2EM4AM7LjR5lPXipEE+2rWPBc9wfnUBjhcw==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0- mongodb: ^6.0.0 || ^7.0.0- peerDependenciesMeta:- mongodb:- optional: true-- '@better-auth/[email protected]':- resolution: {integrity: sha512-XHks01ntK20orqK/jICq8wmEbJ/zT6dct49Fk8zTQKN9QNGDc+Ix5+7z/Kvui0DXGFf790GfvRozquzaLtXa8Q==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0- '@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0- prisma: ^5.0.0 || ^6.0.0 || ^7.0.0- peerDependenciesMeta:- '@prisma/client':- optional: true- prisma:- optional: true-- '@better-auth/[email protected]':- resolution: {integrity: sha512-0u5zkhSCAQFoN3DHvUkLHOF6MBbVTDAa6mU8mhPwiysdz1x21vMzhzfaAKN/ZGWaQ09v91/F+2qu42G/bhUV4A==}- peerDependencies:- '@better-auth/core': ^1.6.9- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21-- '@better-auth/[email protected]':- resolution: {integrity: sha512-RpMtLUIQAEWMgdPLNVbIF5ON2mm+CH0U3rCdUCU1VyeAUui4m38DyK7/aXMLZov2YDjG684pS1D0MBllrmgjQA==}-- '@better-fetch/[email protected]':- resolution: {integrity: sha512-/ImESw0sskqlVR94jB+5+Pxjf+xBwDZF/N5+y2/q4EqD7IARUTSpPfIo8uf39SYpCxyOCtbyYpUrZ3F/k0zT4A==}-'@bomb.sh/[email protected]':resolution: {integrity: sha512-Y90ub44TAvbdO9P8mcD/XPyQjFhiR5xmd4Fk7JErmWmEWEUimNnjWiBrVZ16Tj3GA1rLZ+uvCN2V/pzLawv31g==}hasBin: true@@ -1013,13 +925,6 @@ packages:'@colordx/[email protected]':resolution: {integrity: sha512-kIxYSfA5T8HXjav55UaaH/o/cKivF6jCCGIb8eqtcsfI46wsvlSiT8jMDyrl779qLec3c2c2oHBZo4oAhvbjrQ==}- '@convex-dev/[email protected]':- resolution: {integrity: sha512-6L8LkXCB5rp9XmQplRj2EVNeD6mkG0b5PPQpm9fooEJ/L3ThGN4jRE4oMfWeBs+9E20eBciWVP0HJooemSgS0w==}- peerDependencies:- better-auth: '>=1.6.9 <1.7.0'- convex: ^1.25.0- react: ^18.3.1 || ^19.0.0-'@dprint/[email protected]':resolution: {integrity: sha512-cdZUrm0iv/FnnY3CKE2dEcVhNEzrC551aE2h2mTFwQCRBrqyARLDnb7D+3PlXTUVp3s34ftlnGOVCmhLT9DeKA==}@@ -1086,12 +991,6 @@ packages:cpu: [ppc64]os: [aix]- '@esbuild/[email protected]':- resolution: {integrity: sha512-KuZrd2hRjz01y5JK9mEBSD3Vj3mbCvemhT466rSuJYeE/hjuBrHfjjcjMdTm/sz7au+++sdbJZJmuBwQLuw68A==}- engines: {node: '>=18'}- cpu: [ppc64]- os: [aix]-'@esbuild/[email protected]':resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==}engines: {node: '>=18'}@@ -1110,12 +1009,6 @@ packages:cpu: [arm64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-CC3vt4+1xZrs97/PKDkl0yN7w8edvU2vZvAFGD16n9F0Cvniy5qvzRXjfO1l94efczkkQE6g1x0i73Qf5uthOQ==}- engines: {node: '>=18'}- cpu: [arm64]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}engines: {node: '>=18'}@@ -1134,12 +1027,6 @@ packages:cpu: [arm]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-j67aezrPNYWJEOHUNLPj9maeJte7uSMM6gMoxfPC9hOg8N02JuQi/T7ewumf4tNvJadFkvLZMlAq73b9uwdMyQ==}- engines: {node: '>=18'}- cpu: [arm]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}engines: {node: '>=18'}@@ -1158,12 +1045,6 @@ packages:cpu: [x64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-wurMkF1nmQajBO1+0CJmcN17U4BP6GqNSROP8t0X/Jiw2ltYGLHpEksp9MpoBqkrFR3kv2/te6Sha26k3+yZ9Q==}- engines: {node: '>=18'}- cpu: [x64]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}engines: {node: '>=18'}@@ -1182,12 +1063,6 @@ packages:cpu: [arm64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-uJOQKYCcHhg07DL7i8MzjvS2LaP7W7Pn/7uA0B5S1EnqAirJtbyw4yC5jQ5qcFjHK9l6o/MX9QisBg12kNkdHg==}- engines: {node: '>=18'}- cpu: [arm64]- os: [darwin]-'@esbuild/[email protected]':resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}engines: {node: '>=18'}@@ -1206,12 +1081,6 @@ packages:cpu: [x64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-8mG6arH3yB/4ZXiEnXof5MK72dE6zM9cDvUcPtxhUZsDjESl9JipZYW60C3JGreKCEP+p8P/72r69m4AZGJd5g==}- engines: {node: '>=18'}- cpu: [x64]- os: [darwin]-'@esbuild/[email protected]':resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}engines: {node: '>=18'}@@ -1230,12 +1099,6 @@ packages:cpu: [arm64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-9FHtyO988CwNMMOE3YIeci+UV+x5Zy8fI2qHNpsEtSF83YPBmE8UWmfYAQg6Ux7Gsmd4FejZqnEUZCMGaNQHQw==}- engines: {node: '>=18'}- cpu: [arm64]- os: [freebsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}engines: {node: '>=18'}@@ -1254,12 +1117,6 @@ packages:cpu: [x64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-zCMeMXI4HS/tXvJz8vWGexpZj2YVtRAihHLk1imZj4efx1BQzN76YFeKqlDr3bUWI26wHwLWPd3rwh6pe4EV7g==}- engines: {node: '>=18'}- cpu: [x64]- os: [freebsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}engines: {node: '>=18'}@@ -1278,12 +1135,6 @@ packages:cpu: [arm64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-AS18v0V+vZiLJyi/4LphvBE+OIX682Pu7ZYNsdUHyUKSoRwdnOsMf6FDekwoAFKej14WAkOef3zAORJgAtXnlQ==}- engines: {node: '>=18'}- cpu: [arm64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}engines: {node: '>=18'}@@ -1302,12 +1153,6 @@ packages:cpu: [arm]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-t76XLQDpxgmq2cNXKTVEB7O7YMb42atj2Re2Haf45HkaUpjM2J0UuJZDuaGbPbamzZ7bawyGFUkodL+zcE+jvQ==}- engines: {node: '>=18'}- cpu: [arm]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}engines: {node: '>=18'}@@ -1326,12 +1171,6 @@ packages:cpu: [ia32]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Mz1jxqm/kfgKkc/KLHC5qIujMvnnarD9ra1cEcrs7qshTUSksPihGrWHVG5+osAIQ68577Zpww7SGapmzSt4Nw==}- engines: {node: '>=18'}- cpu: [ia32]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}engines: {node: '>=18'}@@ -1350,12 +1189,6 @@ packages:cpu: [loong64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-QbEREjdJeIreIAbdG2hLU1yXm1uu+LTdzoq1KCo4G4pFOLlvIspBm36QrQOar9LFduavoWX2msNFAAAY9j4BDg==}- engines: {node: '>=18'}- cpu: [loong64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}engines: {node: '>=18'}@@ -1374,12 +1207,6 @@ packages:cpu: [mips64el]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-sJz3zRNe4tO2wxvDpH/HYJilb6+2YJxo/ZNbVdtFiKDufzWq4JmKAiHy9iGoLjAV7r/W32VgaHGkk35cUXlNOg==}- engines: {node: '>=18'}- cpu: [mips64el]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}engines: {node: '>=18'}@@ -1398,12 +1225,6 @@ packages:cpu: [ppc64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-z9N10FBD0DCS2dmSABDBb5TLAyF1/ydVb+N4pi88T45efQ/w4ohr/F/QYCkxDPnkhkp6AIpIcQKQ8F0ANoA2JA==}- engines: {node: '>=18'}- cpu: [ppc64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}engines: {node: '>=18'}@@ -1422,12 +1243,6 @@ packages:cpu: [riscv64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-pQdyAIZ0BWIC5GyvVFn5awDiO14TkT/19FTmFcPdDec94KJ1uZcmFs21Fo8auMXzD4Tt+diXu1LW1gHus9fhFQ==}- engines: {node: '>=18'}- cpu: [riscv64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}engines: {node: '>=18'}@@ -1446,12 +1261,6 @@ packages:cpu: [s390x]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-hPlRWR4eIDDEci953RI1BLZitgi5uqcsjKMxwYfmi4LcwyWo2IcRP+lThVnKjNtk90pLS8nKdroXYOqW+QQH+w==}- engines: {node: '>=18'}- cpu: [s390x]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}engines: {node: '>=18'}@@ -1470,12 +1279,6 @@ packages:cpu: [x64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-1hBWx4OUJE2cab++aVZ7pObD6s+DK4mPGpemtnAORBvb5l/g5xFGk0vc0PjSkrDs0XaXj9yyob3d14XqvnQ4gw==}- engines: {node: '>=18'}- cpu: [x64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}engines: {node: '>=18'}@@ -1494,12 +1297,6 @@ packages:cpu: [arm64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-6m0sfQfxfQfy1qRuecMkJlf1cIzTOgyaeXaiVaaki8/v+WB+U4hc6ik15ZW6TAllRlg/WuQXxWj1jx6C+dfy3w==}- engines: {node: '>=18'}- cpu: [arm64]- os: [netbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}engines: {node: '>=18'}@@ -1518,12 +1315,6 @@ packages:cpu: [x64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-xbbOdfn06FtcJ9d0ShxxvSn2iUsGd/lgPIO2V3VZIPDbEaIj1/3nBBe1AwuEZKXVXkMmpr6LUAgMkLD/4D2PPA==}- engines: {node: '>=18'}- cpu: [x64]- os: [netbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}engines: {node: '>=18'}@@ -1542,12 +1333,6 @@ packages:cpu: [arm64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-fWgqR8uNbCQ/GGv0yhzttj6sU/9Z5/Sv/VGU3F5OuXK6J6SlriONKrQ7tNlwBrJZXRYk5jUhuWvF7GYzGguBZQ==}- engines: {node: '>=18'}- cpu: [arm64]- os: [openbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}engines: {node: '>=18'}@@ -1566,12 +1351,6 @@ packages:cpu: [x64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-aCwlRdSNMNxkGGqQajMUza6uXzR/U0dIl1QmLjPtRbLOx3Gy3otfFu/VjATy4yQzo9yFDGTxYDo1FfAD9oRD2A==}- engines: {node: '>=18'}- cpu: [x64]- os: [openbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}engines: {node: '>=18'}@@ -1590,12 +1369,6 @@ packages:cpu: [arm64]os: [openharmony]- '@esbuild/[email protected]':- resolution: {integrity: sha512-nyvsBccxNAsNYz2jVFYwEGuRRomqZ149A39SHWk4hV0jWxKM0hjBPm3AmdxcbHiFLbBSwG6SbpIcUbXjgyECfA==}- engines: {node: '>=18'}- cpu: [arm64]- os: [openharmony]-'@esbuild/[email protected]':resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}engines: {node: '>=18'}@@ -1614,12 +1387,6 @@ packages:cpu: [x64]os: [sunos]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Q1KY1iJafM+UX6CFEL+F4HRTgygmEW568YMqDA5UV97AuZSm21b7SXIrRJDwXWPzr8MGr75fUZPV67FdtMHlHA==}- engines: {node: '>=18'}- cpu: [x64]- os: [sunos]-'@esbuild/[email protected]':resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}engines: {node: '>=18'}@@ -1638,12 +1405,6 @@ packages:cpu: [arm64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-W1eyGNi6d+8kOmZIwi/EDjrL9nxQIQ0MiGqe/AWc6+IaHloxHSGoeRgDRKHFISThLmsewZ5nHFvGFWdBYlgKPg==}- engines: {node: '>=18'}- cpu: [arm64]- os: [win32]-'@esbuild/[email protected]':resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}engines: {node: '>=18'}@@ -1662,12 +1423,6 @@ packages:cpu: [ia32]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-30z1aKL9h22kQhilnYkORFYt+3wp7yZsHWus+wSKAJR8JtdfI76LJ4SBdMsCopTR3z/ORqVu5L1vtnHZWVj4cQ==}- engines: {node: '>=18'}- cpu: [ia32]- os: [win32]-'@esbuild/[email protected]':resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}engines: {node: '>=18'}@@ -1686,12 +1441,6 @@ packages:cpu: [x64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-aIitBcjQeyOhMTImhLZmtxfdOcuNRpwlPNmlFKPcHQYPhEssw75Cl1TSXJXpMkzaua9FUetx/4OQKq7eJul5Cg==}- engines: {node: '>=18'}- cpu: [x64]- os: [win32]-'@esbuild/[email protected]':resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}engines: {node: '>=18'}@@ -2104,6 +1853,9 @@ packages:resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}engines: {node: '>=18.0.0'}+ '@journeyapps/[email protected]':+ resolution: {integrity: sha512-xQZ670aKDo4FWxIFpLqY0AGDpURr09aYIO08UkLdWvFw8C018nCiqY0ILJudGRhRdXORhv7K2xD2OXZ2QxU39w==}+'@jridgewell/[email protected]':resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}@@ -2158,14 +1910,6 @@ packages:'@emnapi/core': ^1.7.1'@emnapi/runtime': ^1.7.1- '@noble/[email protected]':- resolution: {integrity: sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA==}- engines: {node: '>= 20.19.0'}-- '@noble/[email protected]':- resolution: {integrity: sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==}- engines: {node: '>= 20.19.0'}-'@nodelib/[email protected]':resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}engines: {node: '>= 8'}@@ -2416,10 +2160,6 @@ packages:resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}engines: {node: '>=8.0.0'}- '@opentelemetry/[email protected]':- resolution: {integrity: sha512-cifvXDhcqMwwTlTK04GBNeIe7yyo28Mfby85QXFe1Yk8nmi36Ab/5UQwptOx84SsoGNRg+EVSjwzfSZMy6pmlw==}- engines: {node: '>=14'}-'@ota-meshi/[email protected]':resolution: {integrity: sha512-XRO0zi2NIUKq2lUk3T1ecFSld1fMWRKE6naRFGkgkdeosx7IslyUKNv5Dcb5PJTja9tHJoFu0v/7yEpAkrkrTg==}engines: {node: ^20.19.0 || ^22.13.0 || >=24}@@ -3452,6 +3192,16 @@ packages:'@poppinss/[email protected]':resolution: {integrity: sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==}+ '@powersync/[email protected]':+ resolution: {integrity: sha512-y+GtaLL4imFIWOatErIAEozNZPcIkAcA24c2Mso124ZFStOEeP8LJTSMDxPhyK14mzSnBk2dSjrOAjNz7m2B8g==}++ '@powersync/[email protected]':+ resolution: {integrity: sha512-lAHpqTnywK/wy120HSS2O8IRSYYXDAVJV8opGGOcBQZwbCB1h8vHk4vJDyJ012iWq6onUJHnQOD95KHzGRR+pw==}+ hasBin: true+ peerDependencies:+ '@journeyapps/wa-sqlite': ^1.5.0+ '@powersync/common': ^1.53.2+'@rolldown/[email protected]':resolution: {integrity: sha512-s70pVGhw4zqGeFnXWvAzJDlvxhlRollagdCCKRgOsgUOH3N1l0LIxf83AtGzmb5SiVM4Hjl5HyarMRfdfj3DaQ==}engines: {node: ^20.19.0 || >=22.12.0}@@ -3894,6 +3644,33 @@ packages:peerDependencies:eslint: ^9.0.0 || ^10.0.0+ '@supabase/[email protected]':+ resolution: {integrity: sha512-VcAjUErkHkhC5Jaf+g/G1qbkQrFh8edaCdHa7pxJmHUjkWKjT7UnYCtPA89XV0N0GIYRkEqJZw5V62CtOxTmBQ==}+ engines: {node: '>=20.0.0'}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-oRnr0QrL8H+zTO1YyQ1QjiHZU/957jvubbxSJTUm2XLAgzoGGV9Tahfyd+uvLsBLRVmXLtpU3oyCjdQIvkGMOA==}+ engines: {node: '>=20.0.0'}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-YSAGnmDAfuleFCVt3CeurQZAhxRfXWeZIIkwp7NhYzQ1UwW6ePSnzsFAiUm/mbCkfoCf70QQHKW/K6RKh52a4A==}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-tDOzyPgp9pIRMR2x6C9+uDSJrnXSzxLtt3d7nC+Lrsy3jnJDHYfdQC/xcRyhJE/TOBJ0heSqRKR3UmejDjZxsw==}+ engines: {node: '>=20.0.0'}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-LdRGT7DNhyZkPjubUv5bSdAZ0jSEX8wTHvx7htj7+K59TOZRvz4TuQK7tL2RWxyIZVeFMRluL04SzWS61rKnUA==}+ engines: {node: '>=20.0.0'}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-xgKCSYuev1YarV+iVqr+zlfgSyremnJtn8T0NCT8L4XmMv1CLtESc0Q6kNp8+mKWdX/8ND0nzm7OMKx08kwNAw==}+ engines: {node: '>=20.0.0'}++ '@supabase/[email protected]':+ resolution: {integrity: sha512-2/RZ/1fmJx/MRSEDG2Xk8+J4JVk5clM9V0uSI6kUTrcS32KA89DtqI5RUOC9r6mzY3WBC9qexLjssIHjbLyVJA==}+ engines: {node: '>=20.0.0'}+'@surma/[email protected]':resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}@@ -5067,76 +4844,6 @@ packages:engines: {node: '>=6.0.0'}hasBin: true- resolution: {integrity: sha512-EBFURtglyiEZxbx4NJBoqUD8J65dX24yC+6I9AUbIXNgUkt76mshzGbHkxZ3n/lB7Dwq3kBC+hHt0hUQsnL7HA==}- peerDependencies:- '@lynx-js/react': '*'- '@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0- '@sveltejs/kit': ^2.0.0- '@tanstack/react-start': ^1.0.0- '@tanstack/solid-start': ^1.0.0- better-sqlite3: ^12.0.0- drizzle-kit: '>=0.31.4'- drizzle-orm: ^0.45.2- mongodb: ^6.0.0 || ^7.0.0- mysql2: ^3.0.0- next: ^14.0.0 || ^15.0.0 || ^16.0.0- pg: ^8.0.0- prisma: ^5.0.0 || ^6.0.0 || ^7.0.0- react: ^18.0.0 || ^19.0.0- react-dom: ^18.0.0 || ^19.0.0- solid-js: ^1.0.0- svelte: ^4.0.0 || ^5.0.0- vitest: ^2.0.0 || ^3.0.0 || ^4.0.0- vue: ^3.0.0- peerDependenciesMeta:- '@lynx-js/react':- optional: true- '@prisma/client':- optional: true- '@sveltejs/kit':- optional: true- '@tanstack/react-start':- optional: true- '@tanstack/solid-start':- optional: true- better-sqlite3:- optional: true- drizzle-kit:- optional: true- drizzle-orm:- optional: true- mongodb:- optional: true- mysql2:- optional: true- next:- optional: true- pg:- optional: true- prisma:- optional: true- react:- optional: true- react-dom:- optional: true- solid-js:- optional: true- svelte:- optional: true- vitest:- optional: true- vue:- optional: true-- resolution: {integrity: sha512-kOFJkBP7utAQLEYrobZm3vkTH8mXq5GNgvjc5/XEST1ilVHaxXUXfeDeFlqoETMtyqS4+3/h4ONX2i++ebZrvA==}- peerDependencies:- zod: ^4.0.0- peerDependenciesMeta:- zod:- optional: true-resolution: {integrity: sha512-wqUv4Gm3toFpHDQmaKD4QhZm3g1DjUBI0yzS4UBl6lElUmXFYdTQmmEDpAFa5o8FiFiymURypEnfVHzILKaxqQ==}engines: {node: 20.x || 22.x || 23.x || 24.x || 25.x}@@ -5326,6 +5033,9 @@ packages:resolution: {integrity: sha512-Z3UPUKasUVDFCDYAjP2fmlVRf1jFHJv1izAmPjiOa0OCIw1W7iC8PZ2GsoDa8uZv+mKyWopxxStT9q05+27h7w==}+ resolution: {integrity: sha512-OxGdvBmJuNKSCMO4NTl1L47VRp6xn2wG4F/2hYzB6tiCb709otOxtEYCSvK80PtjODfXXZu8ds+Nw5kVCjqd2g==}+resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}@@ -5333,6 +5043,10 @@ packages:resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}engines: {node: '>=16'}+ resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}@@ -5379,52 +5093,6 @@ packages:resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}- resolution: {integrity: sha512-f9gyJO+hzNBfSNV9moW7HaLY6bWFpOQR6EAXtD9yPbuPX8xGm0H1dtce1GjdVHhZgUam/svmutpbZssJ1z3t1A==}- hasBin: true- peerDependencies:- '@standard-schema/spec': ^1.0.0- convex: ^1.32.0- hono: '>=4.12.18'- react: ^17.0.2 || ^18.0.0 || ^19.0.0- typescript: ^5.5 || ^6.0.0- zod: ^3.25.0 || ^4.0.0- peerDependenciesMeta:- '@standard-schema/spec':- optional: true- hono:- optional: true- react:- optional: true- typescript:- optional: true- zod:- optional: true-- resolution: {integrity: sha512-2tv5XRx1n9z4kKwIiUU1UZgC0UDgUGpqAL2D2Hq45cHJ6HBTemfP2wKPMOcfag6ATFfmyqK3Xau0fKiJCtrdxQ==}- peerDependencies:- convex: ^1.32.0-- resolution: {integrity: sha512-xGSx5edIsXCEex3OU2U2N0oyB/cOa9qGwKiImF9yOWqjqZgOkx39idtpdlwNBTBSt4S30oAvs4yeXY5xxPIX3A==}- engines: {node: '>=18.0.0', npm: '>=7.0.0'}- hasBin: true- peerDependencies:- '@auth0/auth0-react': ^2.0.1- '@clerk/clerk-react': ^4.12.8 || ^5.0.0- '@clerk/react': ^6.4.3- react: ^18.0.0 || ^19.0.0-0 || ^19.0.0- peerDependenciesMeta:- '@auth0/auth0-react':- optional: true- '@clerk/clerk-react':- optional: true- '@clerk/react':- optional: true- react:- optional: true-resolution: {integrity: sha512-lXVyvUvrNXblMqzIRrxHb57UUVmqsSWlxqt3XIjCkUP0wDAf6uicO6KMbEgYrMNtEvWgWHwe42CKxPu9MYAnWw==}@@ -5856,11 +5524,6 @@ packages:engines: {node: '>=18'}hasBin: true- resolution: {integrity: sha512-jd0f4NHbD6cALCyGElNpGAOtWxSq46l9X/sWB0Nzd5er4Kz2YTm+Vl0qKFT9KUJvD8+fiO8AvoHhFvEatfVixA==}- engines: {node: '>=18'}- hasBin: true-resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==}engines: {node: '>=18'}@@ -6169,6 +5832,9 @@ packages:resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}engines: {node: '>= 0.6'}+ resolution: {integrity: sha512-KGft0ldl31BZVV//jj+IAIGCxkvvUkkON+ScH6zfoX+l+omX6001ggyRSpI0Io2Hlro0ThXotswCtfzS8UkIiQ==}+resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}engines: {node: '>=6'}@@ -6649,6 +6315,10 @@ packages:resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}engines: {node: '>=16.17.0'}+ resolution: {integrity: sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==}+ engines: {node: '>=20.0.0'}+resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}engines: {node: '>=0.10.0'}@@ -6964,6 +6634,9 @@ packages:resolution: {integrity: sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==}+ resolution: {integrity: sha512-yTgMCPXVjhmg28CuUH8CKjU+cIKL/G+zTu4Fn4lQxs8mRFH/03QTNvEFngcxfg/gRDiQAOoyCKmMTOm9ayOzXA==}+resolution: {integrity: sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==}@@ -7045,10 +6718,6 @@ packages:resolution: {integrity: sha512-4LqMNoONzR43B1W0ek0fhXMsDNW/zxa1NdFAVMY+k28pgZLovR4G3PB5MrpTxCy1QaZCqNoiaKPr5w5qZHfSNw==}- resolution: {integrity: sha512-nbD8lB9EB3wNdMhOCdx5Li8DxnLbvKByylRLcJ1h+4SkrowVeECAyZlyiKMThF7xFdRz0jSQ2MoJr+wXux2y0Q==}- engines: {node: '>=20.0.0'}-resolution: {integrity: sha512-4VVDnbOpLXy/s8rdRCSXb+zfMeFR0WlJWpET1iA9CQdlZDfwyLjUuGQzXU4VeOoey6AicSAluWan7Etga6Kcmg==}@@ -7504,10 +7173,6 @@ packages:engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}hasBin: true- resolution: {integrity: sha512-XPUa/jz+P1oJvN9VBxw4L9MtdFfaH3DAryqPssqhb2kXjmb9npz0dly6rCsgFWOPr4Yg9mTfM3MDZgZZ+7A3lA==}- engines: {node: ^20.0.0 || >=22.0.0}-resolution: {integrity: sha512-Kv2JYYiCzt16Kt5QwAc9BFG89xfPNBx+oQL4GQXD9nLqPkZBiNaqaCWtwnbk/q7UVsTYevvM1b0UF8zmEI4pCg==}@@ -8449,9 +8114,6 @@ packages:resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==}- resolution: {integrity: sha512-zL4cEPkLHxwmlDRPyvJZjojpG5M5HXrDiABNKof+dq7kkuyQttP6NrF2uJB0DKIU09K8cTq+sQDlbo2r7mdR5Q==}-resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}engines: {node: '>=0.10.0'}@@ -8514,9 +8176,6 @@ packages:resolution: {integrity: sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==}- resolution: {integrity: sha512-iFE4hLDuloSWcD7mjdCDhx2bKcIsYbtOTpfH5MHHLSKMOUyjqQXTeZVa289uuwEGEKFoE/BAPbhaU4B774nceg==}-resolution: {integrity: sha512-ePa+XGk00/3HuCqrEnK3LxJW7I0SdNg6EFzKUJG73hMAdDcOUC/i/aSz7LSDwLrGr33kal/rqOGydzwl6U7zBA==}@@ -8567,11 +8226,6 @@ packages:resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}hasBin: true- resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}- engines: {node: '>=10'}- hasBin: true-resolution: {integrity: sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==}engines: {node: '>=10'}@@ -8601,9 +8255,6 @@ packages:resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==}engines: {node: '>= 18'}- resolution: {integrity: sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==}-resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}engines: {node: '>= 0.4'}@@ -9811,18 +9462,6 @@ packages:resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}- resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==}- engines: {node: '>=10.0.0'}- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: '>=5.0.2'- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true-resolution: {integrity: sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==}engines: {node: '>=10.0.0'}@@ -10794,59 +10433,6 @@ snapshots:'@bcoe/[email protected]': {}- '@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])':- dependencies:- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21- '@opentelemetry/semantic-conventions': 1.40.0- '@standard-schema/spec': 1.1.0- better-call: 1.3.5([email protected])- jose: 6.2.3- kysely: 0.28.17- nanostores: 1.3.0- zod: 4.4.3- optionalDependencies:- '@opentelemetry/api': 1.9.0-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])([email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0- optionalDependencies:- kysely: 0.28.17-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0-- '@better-auth/[email protected](@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])':- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21-- '@better-auth/[email protected]':- dependencies:- '@noble/hashes': 2.2.0-- '@better-fetch/[email protected]': {}-optionalDependencies:cac: 6.7.14@@ -10884,24 +10470,6 @@ snapshots:'@colordx/[email protected]': {}- '@convex-dev/[email protected](@standard-schema/[email protected])([email protected](@opentelemetry/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])':- dependencies:- '@better-fetch/fetch': 1.1.21- better-auth: 1.6.9(@opentelemetry/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))- common-tags: 1.8.2- convex: 1.37.0([email protected])- convex-helpers: 0.1.115(@standard-schema/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])- jose: 6.2.3- react: 19.2.5- remeda: 2.34.0- semver: 7.7.4- type-fest: 5.6.0- zod: 4.4.3- transitivePeerDependencies:- - '@standard-schema/spec'- - hono- - typescript-'@dprint/[email protected]': {}'@dprint/[email protected]': {}@@ -10928,11 +10496,13 @@ snapshots:optionalDependencies:eslint: 10.3.0([email protected])- '@edge-runtime/[email protected]': {}+ '@edge-runtime/[email protected]':+ optional: true'@edge-runtime/[email protected]':dependencies:'@edge-runtime/primitives': 6.0.0+ optional: true'@emnapi/[email protected]':dependencies:@@ -10971,9 +10541,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -10983,9 +10550,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -10995,9 +10559,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11007,9 +10568,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11019,9 +10577,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11031,9 +10586,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11043,9 +10595,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11055,9 +10604,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11067,9 +10613,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11079,9 +10622,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11091,9 +10631,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11103,9 +10640,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11115,9 +10649,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11127,9 +10658,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11139,9 +10667,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11151,9 +10676,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11163,9 +10685,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11175,9 +10694,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11187,9 +10703,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11199,9 +10712,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11211,9 +10721,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11223,9 +10730,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11235,9 +10739,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11247,9 +10748,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11259,9 +10757,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11271,9 +10766,6 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true@@ -11725,6 +11217,8 @@ snapshots:dependencies:minipass: 7.1.3+ '@journeyapps/[email protected]': {}+'@jridgewell/[email protected]':dependencies:'@jridgewell/sourcemap-codec': 1.5.5@@ -11812,10 +11306,6 @@ snapshots:'@tybys/wasm-util': 0.10.2optional: true- '@noble/[email protected]': {}-- '@noble/[email protected]': {}-'@nodelib/[email protected]':dependencies:'@nodelib/fs.stat': 2.0.5@@ -12044,39 +11534,6 @@ snapshots:- utf-8-validate- vue- '@nuxt/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])':- dependencies:- '@antfu/install-pkg': 1.1.0- '@clack/prompts': 1.3.0- '@eslint/js': 9.39.4- '@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))- '@typescript-eslint/eslint-plugin': 8.59.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])- eslint: 10.4.0([email protected])- eslint-config-flat-gitignore: 2.3.0([email protected]([email protected]))- eslint-flat-config-utils: 3.2.0- eslint-merge-processors: 2.0.0([email protected]([email protected]))- eslint-plugin-import-lite: 0.5.2([email protected]([email protected]))- eslint-plugin-import-x: 4.16.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))- eslint-plugin-jsdoc: 62.9.0([email protected]([email protected]))- eslint-plugin-regexp: 3.1.0([email protected]([email protected]))- eslint-plugin-unicorn: 63.0.0([email protected]([email protected]))- eslint-plugin-vue: 10.9.0(@stylistic/[email protected]([email protected]([email protected])))(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]([email protected]([email protected])))- globals: 17.6.0- local-pkg: 1.1.2- pathe: 2.0.3- vue-eslint-parser: 10.4.0([email protected]([email protected]))- optionalDependencies:- eslint-plugin-format: 2.0.1([email protected]([email protected]))- transitivePeerDependencies:- - '@typescript-eslint/utils'- - '@vue/compiler-sfc'- - eslint-import-resolver-node- - supports-color- - typescript-'@nuxt/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])':dependencies:'@antfu/install-pkg': 1.1.0@@ -12110,6 +11567,39 @@ snapshots:- supports-color- typescript+ '@nuxt/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])':+ dependencies:+ '@antfu/install-pkg': 1.1.0+ '@clack/prompts': 1.3.0+ '@eslint/js': 9.39.4+ '@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))+ '@typescript-eslint/eslint-plugin': 8.59.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ eslint: 10.4.0([email protected])+ eslint-config-flat-gitignore: 2.3.0([email protected]([email protected]))+ eslint-flat-config-utils: 3.2.0+ eslint-merge-processors: 2.0.0([email protected]([email protected]))+ eslint-plugin-import-lite: 0.5.2([email protected]([email protected]))+ eslint-plugin-import-x: 4.16.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))+ eslint-plugin-jsdoc: 62.9.0([email protected]([email protected]))+ eslint-plugin-regexp: 3.1.0([email protected]([email protected]))+ eslint-plugin-unicorn: 63.0.0([email protected]([email protected]))+ eslint-plugin-vue: 10.9.0(@stylistic/[email protected]([email protected]([email protected])))(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]([email protected]([email protected])))+ globals: 17.6.0+ local-pkg: 1.1.2+ pathe: 2.0.3+ vue-eslint-parser: 10.4.0([email protected]([email protected]))+ optionalDependencies:+ eslint-plugin-format: 2.0.1([email protected]([email protected]))+ transitivePeerDependencies:+ - '@typescript-eslint/utils'+ - '@vue/compiler-sfc'+ - eslint-import-resolver-node+ - supports-color+ - typescript+dependencies:'@typescript-eslint/types': 8.59.1@@ -12128,11 +11618,11 @@ snapshots:- supports-color- typescript- '@nuxt/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@nuxt/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@eslint/config-inspector': 1.5.0([email protected]([email protected]))'@nuxt/devtools-kit': 3.2.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))- '@nuxt/eslint-config': 1.15.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])+ '@nuxt/eslint-config': 1.15.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])'@nuxt/kit': 4.4.4([email protected])chokidar: 5.0.0@@ -12442,7 +11932,7 @@ snapshots:transitivePeerDependencies:- magicast- '@nuxt/[email protected](@babel/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])':+ '@nuxt/[email protected](@babel/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])':dependencies:'@nuxt/devalue': 2.0.2'@nuxt/kit': 4.4.6([email protected])@@ -12460,7 +11950,7 @@ snapshots:klona: 2.0.6mocked-exports: 0.1.1- nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])nypm: 0.6.6ohash: 2.0.11pathe: 2.0.3@@ -12607,7 +12097,7 @@ snapshots:rc9: 3.0.1std-env: 4.1.0- '@nuxt/[email protected](@internationalized/[email protected])(@internationalized/[email protected])(@nuxt/[email protected]([email protected])([email protected]))(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))(@tiptap/[email protected]([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])':+ '@nuxt/[email protected](@internationalized/[email protected])(@internationalized/[email protected])(@nuxt/[email protected]([email protected])([email protected]))(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))(@tiptap/[email protected]([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected])':dependencies:'@floating-ui/dom': 1.7.6'@iconify/vue': 5.0.0([email protected]([email protected]))@@ -12677,7 +12167,7 @@ snapshots:'@internationalized/date': 3.12.1'@internationalized/number': 3.6.6'@nuxt/content': 3.13.0([email protected])([email protected])- vue-router: 5.0.7(@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected]))+ vue-router: 5.0.7(@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected]))zod: 4.4.3transitivePeerDependencies:- '@azure/app-configuration'@@ -12835,7 +12325,7 @@ snapshots:- vue- yjs- '@nuxt/[email protected](740892673408b0c7a3ac663dd1ebd591)':+ '@nuxt/[email protected](@babel/[email protected](@babel/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])':dependencies:'@nuxt/kit': 4.4.6([email protected])'@rollup/plugin-replace': 6.0.3([email protected])@@ -12853,7 +12343,7 @@ snapshots:magic-string: 0.30.21mlly: 1.8.2mocked-exports: 0.1.1- nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])nypm: 0.6.6pathe: 2.0.3pkg-types: 2.3.1@@ -12896,7 +12386,7 @@ snapshots:- vue-tsc- yaml- '@nuxt/[email protected](@babel/[email protected](@babel/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])':+ '@nuxt/[email protected](a0e562ca293d24738329f09afb64f647)':dependencies:'@nuxt/kit': 4.4.6([email protected])'@rollup/plugin-replace': 6.0.3([email protected])@@ -12914,7 +12404,7 @@ snapshots:magic-string: 0.30.21mlly: 1.8.2mocked-exports: 0.1.1- nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])nypm: 0.6.6pathe: 2.0.3pkg-types: 2.3.1@@ -13112,7 +12602,7 @@ snapshots:'@shikijs/transformers': 4.0.2'@types/hast': 3.0.4'@types/mdast': 4.0.4- '@vue/compiler-core': 3.5.33+ '@vue/compiler-core': 3.5.34consola: 3.4.2debug: 4.4.3defu: 6.1.7@@ -13175,8 +12665,6 @@ snapshots:'@opentelemetry/[email protected]': {}- '@opentelemetry/[email protected]': {}-'@ota-meshi/[email protected]': {}'@oxc-minify/[email protected]':@@ -13732,6 +13220,18 @@ snapshots:'@poppinss/[email protected]': {}+ '@powersync/[email protected]':+ dependencies:+ event-iterator: 2.0.0+ js-logger: 1.6.1++ dependencies:+ '@journeyapps/wa-sqlite': 1.7.0+ '@powersync/common': 1.53.2+ comlink: 4.4.2+ commander: 12.1.0+'@rolldown/[email protected]':optional: true@@ -14078,6 +13578,38 @@ snapshots:estraverse: 5.3.0picomatch: 4.0.4+ '@supabase/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@supabase/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@supabase/[email protected]': {}++ '@supabase/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@supabase/[email protected]':+ dependencies:+ '@supabase/phoenix': 0.4.2+ tslib: 2.8.1++ '@supabase/[email protected]':+ dependencies:+ iceberg-js: 0.8.1+ tslib: 2.8.1++ '@supabase/[email protected]':+ dependencies:+ '@supabase/auth-js': 2.106.2+ '@supabase/functions-js': 2.106.2+ '@supabase/postgrest-js': 2.106.2+ '@supabase/realtime-js': 2.106.2+ '@supabase/storage-js': 2.106.2+'@surma/[email protected]':dependencies:ejs: 3.1.10@@ -14561,10 +14093,10 @@ snapshots:transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@eslint-community/regexpp': 4.12.2'@typescript-eslint/scope-manager': 8.59.1@@ -15185,13 +14717,13 @@ snapshots:'@vueuse/[email protected]': {}- '@vueuse/[email protected]([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))':+ '@vueuse/[email protected]([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))':dependencies:'@nuxt/kit': 4.4.4([email protected])'@vueuse/core': 14.3.0([email protected]([email protected]))'@vueuse/metadata': 14.3.0local-pkg: 1.1.2- nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])+ nuxt: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])vue: 3.5.33([email protected])transitivePeerDependencies:- magicast@@ -15446,43 +14978,6 @@ snapshots:- [email protected](@opentelemetry/[email protected])([email protected])([email protected])([email protected])([email protected]([email protected])):- dependencies:- '@better-auth/core': 1.6.9(@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])- '@better-auth/drizzle-adapter': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])- '@better-auth/kysely-adapter': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])([email protected])- '@better-auth/memory-adapter': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])- '@better-auth/mongo-adapter': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])- '@better-auth/prisma-adapter': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])- '@better-auth/telemetry': 1.6.9(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21- '@noble/ciphers': 2.2.0- '@noble/hashes': 2.2.0- better-call: 1.3.5([email protected])- defu: 6.1.7- jose: 6.2.3- kysely: 0.28.17- nanostores: 1.3.0- zod: 4.4.3- optionalDependencies:- better-sqlite3: 12.9.0- react: 19.2.5- vitest: 4.1.5(@edge-runtime/[email protected])(@opentelemetry/[email protected])(@types/[email protected])(@vitest/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))- vue: 3.5.33([email protected])- transitivePeerDependencies:- - '@cloudflare/workers-types'- - '@opentelemetry/api'-- dependencies:- '@better-auth/utils': 0.4.0- '@better-fetch/fetch': 1.1.21- rou3: 0.7.12- set-cookie-parser: 3.1.0- optionalDependencies:- zod: 4.4.3-dependencies:bindings: 1.5.0@@ -15698,10 +15193,14 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -15734,31 +15233,6 @@ snapshots:- [email protected](@standard-schema/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected]):- dependencies:- convex: 1.37.0([email protected])- optionalDependencies:- '@standard-schema/spec': 1.1.0- hono: 4.12.19- react: 19.2.5- typescript: 6.0.3- zod: 4.4.3-- dependencies:- convex: 1.37.0([email protected])-- dependencies:- esbuild: 0.27.0- prettier: 3.8.3- ws: 8.18.0- optionalDependencies:- react: 19.2.5- transitivePeerDependencies:- - bufferutil- - utf-8-validate-@@ -16349,35 +15823,6 @@ snapshots:'@esbuild/win32-ia32': 0.25.12'@esbuild/win32-x64': 0.25.12- optionalDependencies:- '@esbuild/aix-ppc64': 0.27.0- '@esbuild/android-arm': 0.27.0- '@esbuild/android-arm64': 0.27.0- '@esbuild/android-x64': 0.27.0- '@esbuild/darwin-arm64': 0.27.0- '@esbuild/darwin-x64': 0.27.0- '@esbuild/freebsd-arm64': 0.27.0- '@esbuild/freebsd-x64': 0.27.0- '@esbuild/linux-arm': 0.27.0- '@esbuild/linux-arm64': 0.27.0- '@esbuild/linux-ia32': 0.27.0- '@esbuild/linux-loong64': 0.27.0- '@esbuild/linux-mips64el': 0.27.0- '@esbuild/linux-ppc64': 0.27.0- '@esbuild/linux-riscv64': 0.27.0- '@esbuild/linux-s390x': 0.27.0- '@esbuild/linux-x64': 0.27.0- '@esbuild/netbsd-arm64': 0.27.0- '@esbuild/netbsd-x64': 0.27.0- '@esbuild/openbsd-arm64': 0.27.0- '@esbuild/openbsd-x64': 0.27.0- '@esbuild/openharmony-arm64': 0.27.0- '@esbuild/sunos-x64': 0.27.0- '@esbuild/win32-arm64': 0.27.0- '@esbuild/win32-ia32': 0.27.0- '@esbuild/win32-x64': 0.27.0-optionalDependencies:'@esbuild/aix-ppc64': 0.27.7@@ -16587,7 +16032,7 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])):+ [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])):dependencies:'@package-json/types': 0.0.12'@typescript-eslint/types': 8.59.1@@ -16601,7 +16046,7 @@ snapshots:stable-hash-x: 0.2.0unrs-resolver: 1.11.1optionalDependencies:transitivePeerDependencies:- supports-color@@ -16798,7 +16243,7 @@ snapshots:'@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))- [email protected](@stylistic/[email protected]([email protected]([email protected])))(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]([email protected]([email protected]))):+ [email protected](@stylistic/[email protected]([email protected]([email protected])))(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]([email protected]([email protected]))):dependencies:'@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))eslint: 10.4.0([email protected])@@ -16806,11 +16251,11 @@ snapshots:nth-check: 2.1.1postcss-selector-parser: 7.1.1semver: 7.8.0- vue-eslint-parser: 10.4.0([email protected]([email protected]))+ vue-eslint-parser: 10.4.0([email protected]([email protected]))xml-name-validator: 4.0.0optionalDependencies:- '@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))+ '@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))dependencies:@@ -16823,16 +16268,16 @@ snapshots:natural-compare: 1.4.0yaml-eslint-parser: 2.0.0- dependencies:- '@vue/compiler-sfc': 3.5.33- eslint: 10.4.0([email protected])-dependencies:'@vue/compiler-sfc': 3.5.34eslint: 10.3.0([email protected])+ dependencies:+ '@vue/compiler-sfc': 3.5.34+ eslint: 10.4.0([email protected])+dependencies:'@types/esrecurse': 4.3.1@@ -16968,6 +16413,8 @@ snapshots:+ [email protected]: {}+@@ -17631,6 +17078,8 @@ snapshots:+ [email protected]: {}+dependencies:safer-buffer: 2.1.2@@ -17965,6 +17414,8 @@ snapshots:+ [email protected]: {}+@@ -18031,8 +17482,6 @@ snapshots:- [email protected]: {}-dependencies:picocolors: 1.1.1@@ -18674,8 +18123,6 @@ snapshots:- [email protected]: {}-@@ -18795,7 +18242,7 @@ snapshots:dependencies:- semver: 7.8.0+ semver: 7.8.1@@ -18937,16 +18384,16 @@ snapshots:- vue- zod- [email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]):dependencies:'@dxup/nuxt': 0.4.1([email protected])([email protected])'@nuxt/devtools': 3.2.4([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))'@nuxt/kit': 4.4.6([email protected])- '@nuxt/nitro-server': 4.4.6(@babel/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])+ '@nuxt/nitro-server': 4.4.6(@babel/[email protected](@babel/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]([email protected])([email protected]([email protected])))([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])'@nuxt/schema': 4.4.6'@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))- '@nuxt/vite-builder': 4.4.6(740892673408b0c7a3ac663dd1ebd591)+ '@nuxt/vite-builder': 4.4.6(a0e562ca293d24738329f09afb64f647)'@unhead/vue': 2.1.15([email protected]([email protected]))'@vue/shared': 3.5.34chokidar: 5.0.0@@ -18993,7 +18440,7 @@ snapshots:unrouting: 0.1.7untyped: 2.0.0vue: 3.5.34([email protected])- vue-router: 5.0.7(@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected]))+ vue-router: 5.0.7(@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected]))optionalDependencies:'@parcel/watcher': 2.5.6'@types/node': 25.6.0@@ -19990,7 +19437,8 @@ snapshots:minimist: 1.2.8strip-json-comments: 2.0.1- [email protected]: {}+ optional: truedependencies:@@ -20236,8 +19684,6 @@ snapshots:mdast-util-to-markdown: 2.1.2unified: 11.0.5- [email protected]: {}-@@ -20327,8 +19773,6 @@ snapshots:- [email protected]: {}-@@ -20384,8 +19828,6 @@ snapshots:- [email protected]: {}-@@ -20423,8 +19865,6 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected]: {}-dependencies:define-data-property: 1.1.4@@ -21701,7 +21141,7 @@ snapshots:'@vue/compiler-sfc': 3.5.33- [email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):+ [email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):dependencies:'@babel/generator': 8.0.0-rc.5'@vue-macros/common': 3.1.2([email protected]([email protected]))@@ -21722,11 +21162,11 @@ snapshots:vue: 3.5.33([email protected])yaml: 2.9.0optionalDependencies:- '@vue/compiler-sfc': 3.5.33+ '@vue/compiler-sfc': 3.5.34optional: true- [email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):+ [email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):dependencies:'@babel/generator': 8.0.0-rc.5'@vue-macros/common': 3.1.2([email protected]([email protected]))@@ -21747,7 +21187,7 @@ snapshots:vue: 3.5.34([email protected])yaml: 2.9.0optionalDependencies:- '@vue/compiler-sfc': 3.5.33+ '@vue/compiler-sfc': 3.5.34[email protected](@vue/[email protected])([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):@@ -22014,8 +21454,6 @@ snapshots:- [email protected]: {}-diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 1fdfd9a7..99d2e31f 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -1,6 +1,14 @@packages:- app- docs+allowBuilds:+ '@journeyapps/wa-sqlite': set this to true or false+ '@parcel/watcher': set this to true or false+ better-sqlite3: set this to true or false+ esbuild: set this to true or false+ sharp: set this to true or false+ unrs-resolver: set this to true or false+ vue-demi: set this to true or falseoverrides:fast-uri@<=3.1.0: '>=3.1.1'fast-uri@<=3.1.1: '>=3.1.2'