diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..c7da66c0 --- /dev/null +++ b/.env.example @@ -0,0 +1,14 @@ +BETTER_AUTH_URL=http://localhost:8787 +DATABASE_URL= +BETTER_AUTH_SECRET= +MIGRATION_DATABASE_URL= +OPENROUTER_API_KEY= +CLIPGUARD_TOKEN= +LEDGERFLOW_TOKEN= +APISYNC_TOKEN= +OMNIDESK_TOKEN= +WEBHOOK_HOME_ID= +TICKET_WEBHOOK_URL= +TICKET_WEBHOOK_SECRET= + +CUSTOM_ORIGIN= diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..b83945a0 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,18 @@ +name: Verify SiLL +on: [push, pull_request] +permissions: + contents: read +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: npm + - run: npm ci + - run: npm run build + - run: npm test + - run: npx wrangler deploy --dry-run --outdir /tmp/sill-worker + diff --git a/.github/workflows/sync-branches.yml b/.github/workflows/sync-branches.yml deleted file mode 100644 index 027bf6ba..00000000 --- a/.github/workflows/sync-branches.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Sync main ↔ master - -on: - push: - branches: - - main - - master - -jobs: - sync: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Sync branches - run: | - if [ "${{ github.ref_name }}" = "main" ]; then - TARGET="master" - else - TARGET="main" - fi - - git push origin HEAD:refs/heads/$TARGET diff --git a/.gitignore b/.gitignore index e054c279..abf1fbe3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ node_modules dist +.dev.vars* +.env* +!.env.example .wrangler -.clawnify -.DS_Store -*.log -.dev.vars +.openai/local* diff --git a/.openai/hosting.json b/.openai/hosting.json new file mode 100644 index 00000000..a5d27d65 --- /dev/null +++ b/.openai/hosting.json @@ -0,0 +1,6 @@ +{ + "project_id": "appgprj_6afef5730d0881918b0ad2cfa458d37c", + "capabilities": [ + "mcp" + ] +} diff --git a/README.md b/README.md index 4b2361dd..dd745b46 100644 --- a/README.md +++ b/README.md @@ -1,146 +1,81 @@ - - - OpenProperty — the monthly rent ledger, with a payment recorded against an overdue charge - - -# OpenProperty - -Property management for landlords and small property managers: properties and -units, tenants and leases, a monthly rent ledger matched from your bank -statement, late-rent reminders, and maintenance work orders with your vendors. - -An open-source app template provided by [Clawnify.com](https://clawnify.com). - -**Know who has paid this month.** Every active lease gets one charge per month, -generated with one click and never twice. Payments are recorded against the -charge, and its status follows from the money: open, partial, paid or overdue. -Who still owes rent is one filter away. - -[![Deploy with Clawnify](https://app.clawnify.com/deploy-button.svg)](https://app.clawnify.com/deploy?repo=clawnify/OpenProperty) - -## See it in action - -Conceptual UI illustrations of the app's main capabilities, with fictional -example data. Open an image to see the details. - -| Rent ledger | Payments | -| --- | --- | -| [![October's rent charges, with Generate charges pressed and nothing charged twice](previews/ledger.png)](previews/ledger.png) | [![A partial payment recorded against an overdue charge](previews/payment.png)](previews/payment.png) | -| **Maintenance** | **Dashboard** | -| [![An urgent work order with a vendor being picked](previews/maintenance.png)](previews/maintenance.png) | [![Occupancy, rent owed, open work orders and lease expirations](previews/dashboard.png)](previews/dashboard.png) | - -## What it does - -- **Dashboard.** Occupancy, active leases, rent collected and outstanding this - month, overdue totals, open and urgent work orders, and the leases ending - soon. -- **Properties and units.** Each property shows its type, address, occupancy - and its open work orders. A unit tracks bedrooms, bathrooms, size, market rent - and status: vacant, occupied, turnover or unavailable. -- **Tenants.** A searchable list showing each tenant's current unit, and a - detail page with contact details, employer, income, emergency contact and - lease history. -- **Leases.** Term, monthly rent, deposit, due day, late fee and status - (upcoming, active, ended, cancelled). A lease can have more than one tenant. -- **Rent ledger.** Step through months, generate the month's charges, record - payments by amount, method, date and reference, and see what was charged, - collected, outstanding and overdue. Generating again adds only the leases that - were missing. -- **Bank matching.** Import a statement from your bank: a CSV from any bank - (the columns, date order and decimal mark are recognised, and you confirm them - before anything is saved) or a CAMT.053 file from a European bank. Each payment - in is matched to the rent it pays by who sent it, not by its reference, which - tenants' banking apps fill with anything. Confirm a payer once and their next - payment of exactly what they owe is recorded on import. A partial payment, a - new payer or two leases owing the same amount wait for you with a suggestion - and the reason for it. Two months in one transfer pay the oldest month first, - or the month the reference names. A line already imported from an overlapping - statement is skipped, and every match can be undone. -- **Late-rent reminders.** On the day a reminder falls due, it is listed with - the email already written: the balance, the due date, the days late and the - lease's late fee. By default that is a late notice the day after the grace - period and a final notice at 14 days, and both the timing and the wording are - yours to change. Open it in your own email, send it, mark it sent. If you come - back after three weeks you get one final notice, not every step you missed. - Once the rent is matched, nothing more is offered, and a tenant whose payment - may be waiting in bank matching is flagged before you write to them. -- **Maintenance.** Work orders with priority and status, linked to a property, - unit, tenant and vendor, with a scheduled date and a cost. - Each has a reference such as `WO-42` for phone calls and follow-ups. Search by - reference, title, description, property, unit, tenant or vendor; choose **All** - to include completed and cancelled jobs. References identify records within - your install and do not grant public access. -- **Vendors and policy.** A vendor directory by trade, plus the defaults new - leases start from: rent due day, late fee, grace days and currency. - -A first run seeds three sample properties, five units and three vendors, so the -app is usable before you add anything. Deleted sample data does not come back on -a redeploy. - -## What it deliberately doesn't do - -- **Take payments.** There is no card or bank processing. The ledger records - money that arrived some other way. -- **Screen applicants.** Applications are records you keep. There is no credit - or background check. -- **Send messages for you.** Reminders are drafted here and sent from your own - email. The app sends nothing to tenants, by email, SMS or otherwise. -- **Publish anything.** No listing syndication, and no public tenant or owner - portal. - -Each of these can be built on top once you have your own copy. - -## Running it locally - -```bash -pnpm install -pnpm dev # UI on :5173, API on :8787, schema applied to a local database -pnpm typecheck -pnpm test -pnpm build +# SiLL · Super Intel LandLord + +SiLL is a resident and property-manager portal for real households. It runs as a Cloudflare Worker with Better Auth, Drizzle and Neon PostgreSQL. The public site includes Docs, Blog, About us, Contact, and a resident assistant. The application code is MIT licensed. The original MIT notice is in LICENSE. + +## Run the portal + +Use Node 24 and npm. Create a new Neon database. Run migrations with an owner connection, then use a separate unprivileged login for the application. Database URLs and provider tokens belong in secret bindings. + +```sh +npm ci +MIGRATION_DATABASE_URL="$OWNER_POSTGRES_URL" npm run db:migrate +psql "$OWNER_POSTGRES_URL" ``` -## Stack +In psql, create the runtime login once and enter its password at the prompt. The password does not appear in your shell history. -React 19, Vite and TypeScript on the client, with Tailwind CSS v4 and shadcn/ui. -A Hono API on the server, and a SQLite database. The same code runs locally and -in production. +```sql +CREATE ROLE sill_runtime LOGIN NOSUPERUSER NOBYPASSRLS NOCREATEDB NOCREATEROLE; +\password sill_runtime +\i db/runtime-grants.sql +``` -## Data +Copy .env.example to .dev.vars for local Workers development. Set DATABASE_URL to the Neon connection with the sill_runtime login, BETTER_AUTH_URL to the actual browser origin (http://localhost:8787 locally), and BETTER_AUTH_SECRET to a random value of at least 32 bytes. Start with `npm run dev`. Run `npm run build && npm test` for the upstream regression suite and the end-to-end household access checks. The latter run the real Worker, Better Auth, Drizzle and SQL against an ephemeral PGlite PostgreSQL instance over a local Neon HTTP test adapter. -One SQLite database per install. The schema is `src/server/schema.sql`. The app -writes the defaults and sample data on first run. +For Cloudflare, use `npx wrangler secret put DATABASE_URL`, `npx wrangler secret put BETTER_AUTH_SECRET`, and `npx wrangler secret put BETTER_AUTH_URL`. Use `npm run deploy` in the target account. Configure the Workers custom domain in Cloudflare and set CUSTOM_ORIGIN to its exact HTTPS origin (for example https://sill.ing) to support sign-in on both the platform URL and your custom domain. Its DNS and certificate must be active before inviting residents. The checked-in Wrangler configuration schedules outbound event retries every five minutes. The managed-hosting build also exposes stateless MCP discovery at /mcp. -| Table | Holds | -|---|---| -| `properties` | buildings, with type, address and a colour tag | -| `units` | rentable spaces inside a property, with rent and status | -| `tenants` | people, with contact, employment and emergency details | -| `leases` | a unit, its primary tenant, term, rent, deposit and late fee | -| `lease_tenants` | the other tenants on a lease | -| `rent_charges` | one charge per lease per month, with what has been paid | -| `payments` | money recorded against a charge | -| `vendors` | contractors by trade | -| `work_orders` | maintenance jobs, with priority, status, vendor and cost | -| `applications` | applicants and where they are in the decision | -| `settings` | rent policy defaults and currency | +## Onboard a property and its residents -## Project layout +1. Create an account in Resident portal. Choose **Create a portfolio**, then **Add a household**. A portfolio belongs to the manager who created it. Use a distinct household per tenancy, such as “Oak House · Unit 2 · Spring 2027.” +2. Under **Manage**, enter lease dates, monthly rent, and the property's provider-hosted HTTPS checkout link. Add a charge under **Record a ledger entry** when it becomes due. The monthly rent field describes the lease. It does not post charges automatically. +3. Generate a resident invitation using the intended email address and share the private link directly. The recipient signs in with that address and accepts the invitation. A code expires in seven days, is stored as a hash, and can be claimed once. +4. Residents see only their joined households. They can open checkout, see recorded charges and payments, create a repair request, and follow its history. Store money as integer USD cents. The property team verifies the provider receipt and records the payment. Visiting or returning from checkout never marks a bill paid. +5. Managers can preview CSV or CAMT.053 statements locally in their browser, review a row, and record a confirmed payment. Verify the date, payer, currency and amount before saving. The upstream bank matching and reminder libraries and their regression suites remain in src/shared and tests. +6. Remove a departing resident under **Manage → Residents** and revoke the household's integration key if its operator changes. Create a new household for the next tenancy. Public Contact submissions are stored in contact_messages for the site operator to review in Neon. Property managers do not see this site-wide inbox. +## Ticket handling + +Urgency is low, normal, high or urgent. Status is open, assigned, in_progress, completed or cancelled. Staff can adjust urgency, change status and write a resident-visible update. Ticket creation and changes append to the event history in the same database transaction. SiLL does not dispatch emergency responders. + +Under **Manage → Integrations**, generate a household key and keep it server-side. Rotation invalidates the previous key immediately. Each key can read event metadata and manage tickets for exactly one household. A request cannot select another household by supplying a home ID. + +```sh +curl "$BASE_URL/api/webhooks/tickets?after=0" -H "Authorization: Bearer $HOUSEHOLD_KEY" +curl "$BASE_URL/api/webhooks/tickets" -H "Authorization: Bearer $HOUSEHOLD_KEY" \ + -H 'Content-Type: application/json' -d '{ + "subject":"Kitchen faucet", "details":"A steady drip from the spout.", + "category":"Plumbing", "urgency":"normal", + "requestKey":"59dad7bd-cf73-4141-9926-24fd405b4c5f" +}' ``` -src/ - server/ - index.ts API routes for every entity, first-run data - db.ts database adapter (query / get / run) - schema.sql tables and indexes - client/ - app.tsx shell and routing - components/ dashboard, properties, tenants, leases, rent, - maintenance, settings, and shadcn/ui primitives - hooks/ router and app state - lib/utils.ts colours, dates, money and period helpers + +Create a new UUID for each distinct submission. Reuse it when retrying that submission. The authenticated update body is `{"action":"update","id":"TICKET_UUID","status":"in_progress","urgency":"high","note":"Assigned to maintenance."}`. The GET feed returns up to 100 events in ascending order. Pass the last returned ID as the next after cursor. Responses to integrations omit resident names, subject lines, descriptions and staff notes. Browser sessions use the resident API to access the full record. + +For optional **outbound POST delivery**, set WEBHOOK_HOME_ID, TICKET_WEBHOOK_URL and TICKET_WEBHOOK_SECRET for the chosen household. The receiver gets a JSON envelope with version and events. Verify the HMAC-SHA256 of `timestamp + "." + rawBody` using the shared secret against the hex value in X-SiLL-Signature after the v1= prefix. Reject stale X-SiLL-Timestamp values and deduplicate by event ID. Delivery is at least once. SiLL advances the stored cursor only after a successful HTTP response. In a managed host without a cron trigger, poll the authenticated GET feed or enable the Worker cron in your own Cloudflare account. Scope additional households through their own authenticated feeds. + +## MCP and the assistant + +POST JSON-RPC to /api/mcp or /mcp. initialize, ping and tools/list support discovery. tools/call requires a household bearer key. Available operations are tickets_list, tickets_create, tickets_update and tickets_events. + +```json +{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tickets_events","arguments":{"after":0}}} ``` -## Licence +SiLL keeps original ticket text inside the household record. Before any provider receives a chat question or routing request, the application reduces it to an allowlisted intent, category and/or urgency. This prevents a name, address, phone number or account detail embedded in free text from leaving the portal through these paths. ClipGuard then checks the limited summary. Provider output never sets rent balances or changes a real ticket automatically. + +| Provider | Endpoint | Use | +| --- | --- | --- | +| ClipGuard | https://clipguard.worksai.org/api/mcp | scrub_clipboard checks the limited outbound summary. | +| APISync Studio | https://apisync.worksai.org/api/mcp | diff_openapi checks the ticket intake example against its static contract. | +| LedgerFlow | https://ledgerflow.worksai.org/api/mcp | normalize_csv runs a synthetic diagnostic. Live household finances stay in Neon. | +| OmniDesk | https://omnidesk.worksai.org/api/mcp | triage_ticket provides an advisory priority when managers choose Check support routing. A person reviews the suggestion. | +| OpenRouter | https://openrouter.ai/api/v1/chat/completions | openrouter/free turns approved portal guidance into a brief reply. | + +Supply OPENROUTER_API_KEY to enable model replies. Where required, set separate CLIPGUARD_TOKEN, APISYNC_TOKEN, LEDGERFLOW_TOKEN or OMNIDESK_TOKEN bindings. The built-in resident guide answers when a key is absent, no eligible free model is available, redaction cannot be checked, or a provider times out. Only the external provider can determine its current availability. + +## Data model + +Better Auth session identity controls portfolio and household membership. Each portal API request rechecks membership. Machine access resolves a hashed, revocable key to one home. Tickets, ledger entries and ticket history also have forced PostgreSQL row-level security. Drizzle applies the household setting transaction-locally on every scoped read or write. Use a non-owner login without BYPASSRLS. Keep the migration connection separate from the public Worker. + +The illustrated property on the home page is an original generated image. The two granite wordmarks are the supplied SiLL brand assets. Font licenses ship with the Worker at /licenses/dm-sans.txt and /licenses/instrument-serif.txt. -MIT. See [LICENSE](LICENSE). diff --git a/agent.md b/agent.md deleted file mode 100644 index 023f7c67..00000000 --- a/agent.md +++ /dev/null @@ -1,90 +0,0 @@ -# OpenProperty: agent guide - -OpenProperty is property management for landlords and small property managers: -properties and units, tenants and leases, a rent ledger, bank matching, -late-rent reminders, maintenance and vendors. Every endpoint is under `/api` -on this app's own origin and takes and returns JSON. - -## The one rule - -**You prepare; a person records money and talks to tenants.** Import a -statement, read the matches, redraft a reminder in the tenant's language: yes. -Confirm a match, mark a reminder sent, or write to a tenant only when the person -asked you to, because a match records money in the ledger and a reminder is the -landlord speaking. - -## Rent - -- `GET /api/rent-charges?period=YYYY-MM`: the month's charges with tenant, unit - and `amount_paid`. `status` is `open`, `partial`, `paid`, `overdue` or `waived`. -- `POST /api/rent-charges/generate { period }`: one charge per active lease for - the month (idempotent). -- `POST /api/payments { charge_id, amount, paid_at, method, reference, notes }`: - a payment recorded by hand. `method` is `cash`, `check`, `ach`, `credit` or - `other`. - -## Bank matching - -Money in from a bank statement, matched to the rent it pays. The payer is the -key: a person confirms once that an IBAN or a sender name pays a lease, and from -then on that payer paying exactly what the lease owes is recorded on import. -Everything else waits in review with a suggestion. - -- `POST /api/bank/imports { filename, format, lines }`: `format` is `csv`, - `camt053` or `api`; up to 500 `lines` a call, each - `{ booked_on: "YYYY-MM-DD", amount, currency, payer_name, payer_account, reference, bank_ref }`. - Only money in (`amount > 0`) is kept, and a line already imported from an - overlapping statement is skipped (by `bank_ref` when the bank gives one). - Answers `summary { imported, duplicates, auto_matched, to_review }`. -- `GET /api/bank/transactions?status=review|matched|ignored&limit=&offset=` - (at most 90 a page): each line in review carries `proposal`: - - `kind`: `auto` or `suggested` (one lease, see `lease` and `allocations`), - or `none` (see `candidates`). - - `evidence`: why, strongest first: `known_account`, `known_name`, - `tenant_name`, `tenant_last_name`, `reference_unit`, `amount_exact`, - `amount_only`. - - `unapplied`: money beyond what the lease owes. It is never guessed onto - another charge. -- `GET /api/bank/leases`: every lease a payment can go to, with its open - charges and what it owes. -- `POST /api/bank/transactions/:id/match { lease_id, allocations?, remember?, by? }`: - records the payment. Without `allocations` the money pays the oldest open - charge first, the month named in the reference first. `remember` (default - true) makes this payer match the lease on the next import. Send - `by: "agent"` when you record it. -- `POST /api/bank/transactions/:id/unmatch { forget_payer? }`: takes the - payments back out. -- `POST /api/bank/transactions/:id/ignore { note }` for money that is not rent - (a refund, a deposit, a transfer between own accounts), and `/restore`. -- `POST /api/bank/rematch`: matches again everything in review, for payments - that arrived before their month's charge was generated. -- `GET /api/bank/payers?lease_id=` and `DELETE /api/bank/payers/:id`: the - remembered payers. - -## Late-rent reminders - -The app works out which reminder is due for each unpaid charge and drafts it. -The schedule is in settings (`reminder_steps`): by default a late notice the day -after the grace period and a final notice 14 days after the due date, with an -optional reminder before the due date. Only the furthest step reached is -offered, and nothing is offered once the rent is paid. - -- `GET /api/reminders`: `due[]`, each with `tenant` (name, email, phone), - `balance`, `days_late`, `step { key, label }`, `draft { to, subject, body }` - and `pending_payment`: a payment waiting in bank matching that may be this - tenant's. When it is set, say so before anyone sends anything. -- `POST /api/reminders { charge_id, step, status, channel, sent_by, recipient, subject, body }`: - marks a step `sent` or `skipped`, with the text that went out. `channel` is - `email`, `sms`, `letter`, `phone` or `other`; `sent_by` is `person` or - `agent`. A step is marked once (a second mark answers 409). -- `DELETE /api/reminders/:id`: undoes a mark, so the step is offered again. - -To redraft a reminder (in the tenant's language, say), start from `draft`, keep -every figure and date as given, and hand the text to the person. Formal legal -notices are not drafted here: they depend on the country and belong to the -person and their lawyer. - -## Counts - -`GET /api/rent/attention` answers `{ bank_review, reminders_due }`, what waits -for a person today. diff --git a/clawnify.json b/clawnify.json deleted file mode 100644 index c3df2a8f..00000000 --- a/clawnify.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$schema": "https://app.clawnify.com/schema/v1/clawnify.json", - "version": 1, - "name": "Property", - "description": "Open-source property management software — a self-hosted, cloud-based alternative to TenantCloud, AppFolio, Buildium, and Propertyware. Rental property management for landlords, small property managers, and apartment / multi-family back-office teams: properties and units, tenants and leases, rent collection and ledger, work orders and maintenance, and a vendor directory.", - "icon": "icon.svg", - "tags": [ - "property-management", - "property-management-software", - "rental-property-management", - "rental-management-software", - "landlord-software", - "real-estate", - "leases", - "rent-collection", - "maintenance", - "apartment-management", - "tenantcloud-alternative", - "appfolio-alternative", - "buildium-alternative", - "propertyware-alternative" - ], - "app": { - "framework": "react+hono", - "database": true, - "storage": false - }, - "deploy": { - "title": "Deploy your property management software", - "subtitle": "Like TenantCloud or AppFolio — set up in minutes", - "prompts": [ - { - "key": "company_name", - "label": "Company / portfolio name", - "placeholder": "e.g. Oakwood Properties", - "required": true - }, - { - "key": "portfolio_size", - "label": "How many units do you manage?", - "placeholder": "e.g. 12" - }, - { - "key": "property_types", - "label": "What kinds of properties?", - "type": "textarea", - "placeholder": "e.g. single-family rentals, a 4-unit duplex, two condos..." - }, - { - "key": "details", - "label": "Anything else?", - "type": "textarea", - "placeholder": "Rent due day, late-fee policy, regular vendors, brand colors, special features..." - } - ] - }, - "template": { - "displayName": "Property", - "category": "Operations", - "image": "https://raw.githubusercontent.com/clawnify/OpenProperty/master/readme-banner.png", - "enabled": true - } -} diff --git a/components.json b/components.json deleted file mode 100644 index cf81730f..00000000 --- a/components.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$schema": "https://ui.shadcn.com/schema.json", - "style": "default", - "rsc": false, - "tsx": true, - "tailwind": { - "config": "", - "css": "src/client/styles.css", - "baseColor": "neutral", - "cssVariables": true, - "prefix": "" - }, - "aliases": { - "components": "@/components", - "utils": "@/lib/utils", - "ui": "@/components/ui", - "lib": "@/lib", - "hooks": "@/hooks" - }, - "iconLibrary": "lucide" -} diff --git a/db/001_init.sql b/db/001_init.sql new file mode 100644 index 00000000..cb8bce99 --- /dev/null +++ b/db/001_init.sql @@ -0,0 +1,35 @@ +CREATE TABLE "user" (id text PRIMARY KEY, name text NOT NULL, email text NOT NULL UNIQUE, email_verified boolean NOT NULL DEFAULT false, image text, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now()); +CREATE TABLE session (id text PRIMARY KEY, token text UNIQUE NOT NULL, expires_at timestamptz NOT NULL, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now(), ip_address text, user_agent text, user_id text NOT NULL REFERENCES "user" ON DELETE CASCADE); +CREATE INDEX session_user_idx ON session(user_id); +CREATE TABLE account (id text PRIMARY KEY, account_id text NOT NULL, provider_id text NOT NULL, user_id text NOT NULL REFERENCES "user" ON DELETE CASCADE, access_token text, refresh_token text, id_token text, access_token_expires_at timestamptz, refresh_token_expires_at timestamptz, scope text, password text, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now(), UNIQUE(provider_id,account_id)); +CREATE TABLE verification (id text PRIMARY KEY, identifier text NOT NULL, value text NOT NULL, expires_at timestamptz NOT NULL, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now()); +CREATE INDEX verification_identifier ON verification(identifier); +CREATE TABLE portfolios (id uuid PRIMARY KEY DEFAULT gen_random_uuid(), name text NOT NULL, manager_id text NOT NULL REFERENCES "user"(id)); +CREATE TABLE homes (id uuid PRIMARY KEY DEFAULT gen_random_uuid(), portfolio_id uuid NOT NULL REFERENCES portfolios, label text NOT NULL, checkout_url text, lease_start date, lease_end date, monthly_cents integer CHECK(monthly_cents >= 0), UNIQUE(portfolio_id,label)); +CREATE TABLE memberships (home_id uuid NOT NULL REFERENCES homes, user_id text NOT NULL REFERENCES "user", PRIMARY KEY(home_id,user_id)); +CREATE INDEX memberships_user ON memberships(user_id); +CREATE TABLE invitations (digest text PRIMARY KEY, home_id uuid NOT NULL REFERENCES homes, email text NOT NULL, expires_at timestamptz NOT NULL DEFAULT now()+interval '7 days'); +CREATE TABLE integration_keys (digest text PRIMARY KEY, home_id uuid UNIQUE NOT NULL REFERENCES homes); +CREATE TABLE tickets (id uuid PRIMARY KEY DEFAULT gen_random_uuid(), home_id uuid NOT NULL REFERENCES homes, subject text NOT NULL, details text NOT NULL, category text NOT NULL CHECK(category IN ('Plumbing','Heating and cooling','Electrical','Appliance','Access','Payment','Other')), urgency text NOT NULL CHECK(urgency IN ('low','normal','high','urgent')), status text NOT NULL DEFAULT 'open' CHECK(status IN ('open','assigned','in_progress','completed','cancelled')), request_key uuid NOT NULL, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now(), UNIQUE(home_id,request_key), UNIQUE(home_id,id)); +CREATE TABLE ticket_events (id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY, home_id uuid NOT NULL, ticket_id uuid NOT NULL, status text NOT NULL, urgency text NOT NULL, category text NOT NULL, note text NOT NULL DEFAULT '', created_at timestamptz NOT NULL DEFAULT now(), FOREIGN KEY(home_id,ticket_id) REFERENCES tickets(home_id,id)); +CREATE INDEX events_home_cursor ON ticket_events(home_id,id); +CREATE TABLE ledger (id uuid PRIMARY KEY DEFAULT gen_random_uuid(), home_id uuid NOT NULL REFERENCES homes, kind text NOT NULL CHECK(kind IN ('charge','payment')), amount_cents integer NOT NULL CHECK(amount_cents>0), label text NOT NULL, booked_on date NOT NULL, request_key uuid NOT NULL, UNIQUE(home_id,request_key)); +CREATE INDEX ledger_home ON ledger(home_id,booked_on); +CREATE TABLE contact_messages(id uuid PRIMARY KEY DEFAULT gen_random_uuid(),email text NOT NULL,message text NOT NULL,created_at timestamptz NOT NULL DEFAULT now()); +CREATE TABLE request_limits (bucket text PRIMARY KEY, hits integer NOT NULL, expires_at timestamptz NOT NULL); +CREATE FUNCTION record_ticket_change() RETURNS trigger LANGUAGE plpgsql AS $$ +BEGIN + INSERT INTO ticket_events(home_id,ticket_id,status,urgency,category,note) VALUES(NEW.home_id,NEW.id,NEW.status,NEW.urgency,NEW.category,COALESCE(current_setting('sill.note',true),'')); + RETURN NEW; +END $$; +CREATE TRIGGER record_ticket AFTER INSERT OR UPDATE OF urgency,status ON tickets FOR EACH ROW EXECUTE FUNCTION record_ticket_change(); +DO $$ +DECLARE tab text; +BEGIN + FOREACH tab IN ARRAY ARRAY['tickets','ticket_events','ledger'] LOOP + EXECUTE format('ALTER TABLE %I ENABLE ROW LEVEL SECURITY',tab); + EXECUTE format('ALTER TABLE %I FORCE ROW LEVEL SECURITY',tab); + EXECUTE format('CREATE POLICY home_scope ON %I USING(home_id = nullif(current_setting(''sill.home'',true),'''')::uuid) WITH CHECK(home_id = nullif(current_setting(''sill.home'',true),'''')::uuid)',tab); + END LOOP; +END $$; + diff --git a/db/002_delivery.sql b/db/002_delivery.sql new file mode 100644 index 00000000..a06dd88f --- /dev/null +++ b/db/002_delivery.sql @@ -0,0 +1,2 @@ +CREATE TABLE webhook_delivery (home_id uuid PRIMARY KEY REFERENCES homes, last_id bigint NOT NULL DEFAULT 0, lease_until timestamptz, claim uuid); + diff --git a/db/runtime-grants.sql b/db/runtime-grants.sql new file mode 100644 index 00000000..81f2c52d --- /dev/null +++ b/db/runtime-grants.sql @@ -0,0 +1,4 @@ +GRANT USAGE ON SCHEMA public TO sill_runtime; +GRANT SELECT, INSERT, UPDATE, DELETE ON "user", session, account, verification, portfolios, homes, memberships, invitations, integration_keys, tickets, ticket_events, ledger, contact_messages, request_limits TO sill_runtime; +GRANT SELECT, INSERT, UPDATE ON webhook_delivery TO sill_runtime; +GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO sill_runtime; diff --git a/demo/seed.sql b/demo/seed.sql deleted file mode 100644 index 9455b865..00000000 --- a/demo/seed.sql +++ /dev/null @@ -1,109 +0,0 @@ --- Sample portfolio for the public demo workspace (app.clawnify.com/demo/workspaces/property). --- Applied after schema.sql when a visitor's demo starts or is reset. Dates are --- relative to that moment, so "this month" on the dashboard always has rent in it. -INSERT INTO properties (id, name, type, address, city, state, zip, year_built, color) VALUES - (1, 'Oakwood Estate', 'single_family', '210 Oakwood Ln', 'Austin', 'TX', '78704', 1998, 'emerald'), - (2, 'Honeybee Hideaway', 'single_family', '88 Bramble Ct', 'Austin', 'TX', '78704', 2006, 'amber'), - (3, '308 Mission Apartments', 'multi_family', '308 Mission St', 'Austin', 'TX', '78702', 1985, 'sky'), - (4, 'Riverside Lofts', 'multi_family', '1201 Riverside Dr', 'Austin', 'TX', '78741', 2014, 'violet'); -INSERT INTO units (id, property_id, name, bedrooms, bathrooms, sqft, market_rent, status) VALUES - (1, 1, 'Main house', 3, 2, 1450, 2300, 'occupied'), - (2, 2, 'Main house', 2, 1, 980, 1700, 'occupied'), - (3, 3, 'Unit 1', 1, 1, 620, 1450, 'occupied'), - (4, 3, 'Unit 2', 1, 1, 620, 1450, 'vacant'), - (5, 3, 'Unit 3', 2, 1, 850, 1850, 'occupied'), - (6, 3, 'Unit 4', 1, 1, 640, 1500, 'occupied'), - (7, 4, '101', 1, 1, 710, 1650, 'occupied'), - (8, 4, '102', 1, 1, 710, 1650, 'occupied'), - (9, 4, '201', 2, 2, 980, 1950, 'occupied'), - (10, 4, '202', 2, 2, 980, 1950, 'occupied'); -INSERT INTO tenants (id, first_name, last_name, email, phone, employer, monthly_income, emergency_contact) VALUES - (1, 'Maya', 'Patel', 'maya.patel@example.com', '512-555-0111', 'Dell Technologies', 9400, 'Raj Patel, 512-555-0170'), - (2, 'Luis', 'Ortega', 'luis.ortega@example.com', '512-555-0112', 'Austin ISD', 5600, 'Ana Ortega, 512-555-0171'), - (3, 'Grace', 'Kim', 'grace.kim@example.com', '512-555-0113', 'Seton Medical Center', 5200, 'David Kim, 512-555-0172'), - (4, 'Owen', 'Brooks', 'owen.brooks@example.com', '512-555-0114', 'Self-employed', 6800, 'Lena Brooks, 512-555-0173'), - (5, 'Priya', 'Shah', 'priya.shah@example.com', '512-555-0115', 'Oracle', 7300, 'Nikhil Shah, 512-555-0174'), - (6, 'Marcus', 'Reed', 'marcus.reed@example.com', '512-555-0116', 'City of Austin', 5100, 'Tanya Reed, 512-555-0175'), - (7, 'Sofia', 'Rossi', 'sofia.rossi@example.com', '512-555-0117', 'UT Austin', 5400, 'Marco Rossi, 512-555-0176'), - (8, 'Ethan', 'Walsh', 'ethan.walsh@example.com', '512-555-0118', 'Tesla', 8200, 'Kara Walsh, 512-555-0177'), - (9, 'Hannah', 'Lee', 'hannah.lee@example.com', '512-555-0119', 'Whole Foods Market', 6900, 'Jin Lee, 512-555-0178'), - (10, 'Noah', 'Fischer', 'noah.fischer@example.com', '512-555-0120', 'Indeed', 6100, 'Eva Fischer, 512-555-0179'); -INSERT INTO leases (id, unit_id, primary_tenant_id, start_date, end_date, monthly_rent, deposit, rent_due_day, late_fee, status) VALUES - (1, 1, 1, date('now', 'start of month', '-8 months'), date('now', 'start of month', '+4 months', '-1 day'), 2300, 2300, 1, 50, 'active'), - (2, 2, 2, date('now', 'start of month', '-14 months'), date('now', 'start of month', '+10 months', '-1 day'), 1700, 1700, 1, 50, 'active'), - (3, 3, 3, date('now', '+22 days', '-12 months'), date('now', '+21 days'), 1450, 1450, 1, 50, 'active'), - (4, 5, 4, date('now', 'start of month', '-5 months'), date('now', 'start of month', '+7 months', '-1 day'), 1850, 1850, 1, 50, 'active'), - (5, 6, 5, date('now', '+50 days', '-12 months'), date('now', '+49 days'), 1500, 1500, 1, 50, 'active'), - (6, 7, 6, date('now', 'start of month', '-3 months'), date('now', 'start of month', '+9 months', '-1 day'), 1650, 1650, 1, 50, 'active'), - (7, 8, 7, date('now', 'start of month', '-10 months'), date('now', 'start of month', '+2 months', '-1 day'), 1650, 1650, 1, 50, 'active'), - (8, 9, 8, date('now', 'start of month', '-2 months'), date('now', 'start of month', '+10 months', '-1 day'), 1950, 1950, 1, 50, 'active'), - (9, 10, 9, date('now', 'start of month', '-7 months'), date('now', 'start of month', '+5 months', '-1 day'), 1950, 1950, 1, 50, 'active'), - (10, 4, 10, date('now', 'start of month', '-13 months'), date('now', 'start of month', '-1 day'), 1400, 1400, 1, 50, 'ended'); --- Last month: every charge paid. This month: most paid, one partial, two still owed. -INSERT INTO rent_charges (id, lease_id, period, due_date, amount, amount_paid, status) VALUES - (1, 1, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 2300, 2300, 'paid'), - (2, 2, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1700, 1700, 'paid'), - (3, 3, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1450, 1450, 'paid'), - (4, 4, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1850, 1850, 'paid'), - (5, 5, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1500, 1500, 'paid'), - (6, 6, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1650, 1650, 'paid'), - (7, 7, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1650, 1650, 'paid'), - (8, 8, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1950, 1950, 'paid'), - (9, 9, strftime('%Y-%m', 'now', 'start of month', '-1 month'), date('now', 'start of month', '-1 month'), 1950, 1950, 'paid'), - (10, 1, strftime('%Y-%m', 'now'), date('now', 'start of month'), 2300, 2300, 'paid'), - (11, 2, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1700, 1700, 'paid'), - (12, 3, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1450, 1450, 'paid'), - (13, 4, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1850, 900, 'partial'), - (14, 5, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1500, 1500, 'paid'), - (15, 6, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1650, 0, 'open'), - (16, 7, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1650, 1650, 'paid'), - (17, 8, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1950, 1950, 'paid'), - (18, 9, strftime('%Y-%m', 'now'), date('now', 'start of month'), 1950, 0, 'open'); --- Unpaid charges past their due date read as overdue, as the app marks them. -UPDATE rent_charges SET status = 'overdue' WHERE status IN ('open', 'partial') AND amount_paid < amount AND due_date < date('now'); -INSERT INTO payments (charge_id, paid_at, amount, method, reference) VALUES - (1, date('now', 'start of month', '-1 month', '+1 day'), 2300, 'ach', 'ACH-40211'), - (2, date('now', 'start of month', '-1 month'), 1700, 'ach', 'ACH-40198'), - (3, date('now', 'start of month', '-1 month', '+2 days'), 1450, 'check', 'Check 1184'), - (4, date('now', 'start of month', '-1 month', '+3 days'), 1850, 'ach', 'ACH-40276'), - (5, date('now', 'start of month', '-1 month'), 1500, 'credit', 'CARD-7731'), - (6, date('now', 'start of month', '-1 month', '+1 day'), 1650, 'ach', 'ACH-40233'), - (7, date('now', 'start of month', '-1 month', '+4 days'), 1650, 'check', 'Check 2207'), - (8, date('now', 'start of month', '-1 month'), 1950, 'ach', 'ACH-40187'), - (9, date('now', 'start of month', '-1 month', '+2 days'), 1950, 'ach', 'ACH-40251'), - (10, date('now', 'start of month'), 2300, 'ach', 'ACH-41022'), - (11, date('now', 'start of month'), 1700, 'ach', 'ACH-41008'), - (12, date('now', 'start of month', '+1 day'), 1450, 'check', 'Check 1191'), - (13, date('now', 'start of month', '+2 days'), 900, 'ach', 'ACH-41090'), - (14, date('now', 'start of month'), 1500, 'credit', 'CARD-7802'), - (16, date('now', 'start of month', '+3 days'), 1650, 'check', 'Check 2215'), - (17, date('now', 'start of month'), 1950, 'ach', 'ACH-41015'); -INSERT INTO vendors (id, name, category, phone, email, color) VALUES - (1, 'Emerald Pool Service', 'general', '512-555-0144', 'office@emeraldpool.example.com', 'emerald'), - (2, 'Hill Country Plumbing', 'plumber', '512-555-0188', 'dispatch@hcplumbing.example.com', 'sky'), - (3, 'Bright Spark Electric', 'electrician', '512-555-0102', 'jobs@brightspark.example.com', 'amber'), - (4, 'Lone Star HVAC', 'hvac', '512-555-0161', 'service@lonestarhvac.example.com', 'rose'), - (5, 'Fresh Start Cleaning', 'cleaning', '512-555-0133', 'book@freshstart.example.com', 'teal'); -INSERT INTO work_orders (property_id, unit_id, tenant_id, vendor_id, title, description, priority, status, scheduled_at, completed_at, cost, created_at) VALUES - (3, 5, 4, 2, 'Water heater leaking', 'Tenant reports water pooling under the heater closet. Shut-off valve closed.', 'urgent', 'in_progress', date('now'), NULL, NULL, datetime('now', '-1 day')), - (4, 9, 8, 4, 'AC not cooling', 'Unit holds 82F with the thermostat at 72F.', 'high', 'assigned', date('now', '+1 day'), NULL, NULL, datetime('now', '-2 days')), - (1, 1, 1, NULL, 'Garage door opener stuck', 'Opens halfway, then reverses.', 'normal', 'open', NULL, NULL, NULL, datetime('now', '-3 days')), - (1, 1, NULL, 1, 'Monthly pool service', NULL, 'low', 'assigned', date('now', '+6 days'), NULL, NULL, datetime('now', '-5 days')), - (3, 4, NULL, 5, 'Turnover clean, Unit 2', 'Deep clean before the next showing.', 'normal', 'completed', date('now', '-9 days'), date('now', '-9 days'), 240, datetime('now', '-12 days')), - (2, 2, 2, 3, 'Kitchen outlet not working', 'GFCI tripped repeatedly. Replaced outlet.', 'high', 'completed', date('now', '-16 days'), date('now', '-15 days'), 185, datetime('now', '-18 days')); -INSERT INTO applications (unit_id, first_name, last_name, email, phone, monthly_income, employer, desired_move_in, status) VALUES - (4, 'Chloe', 'Bennett', 'chloe.bennett@example.com', '512-555-0151', 5300, 'Charles Schwab', date('now', 'start of month', '+1 month'), 'screening'), - (4, 'Daniel', 'Moore', 'daniel.moore@example.com', '512-555-0152', 4700, 'H-E-B', date('now', '+14 days'), 'new'); --- A bank statement imported this month. Maya's rent was matched on import: her --- name was confirmed for her lease before. Three payments wait for a person: --- Owen's balance (his name, the exact amount), Hannah's transfer (her surname, --- the exact amount) and a refund that is not rent. Payment 10 is Maya's. -INSERT INTO bank_imports (id, filename, format, credits, duplicates, auto_matched) VALUES - (1, 'checking-statement.csv', 'csv', 4, 0, 1); -INSERT INTO bank_transactions (id, import_id, booked_on, amount, currency, payer_name, payer_account, reference, bank_ref, fingerprint, status, lease_id, matched_by) VALUES - (1, 1, date('now', 'start of month'), 2300, 'USD', 'MAYA PATEL', NULL, 'ACH RENT MAYA PATEL', NULL, 'demo:1', 'matched', 1, 'auto'), - (2, 1, date('now', '-1 day'), 950, 'USD', 'OWEN BROOKS', NULL, 'Rest of rent, Unit 3', NULL, 'demo:2', 'review', NULL, NULL), - (3, 1, date('now', '-1 day'), 1950, 'USD', 'H LEE', NULL, 'Online transfer', NULL, 'demo:3', 'review', NULL, NULL), - (4, 1, date('now', '-1 day'), 40, 'USD', 'CITY OF AUSTIN UTILITIES', NULL, 'Deposit refund', NULL, 'demo:4', 'review', NULL, NULL); -INSERT INTO bank_matches (transaction_id, payment_id) VALUES (1, 10); -INSERT INTO bank_payers (lease_id, payer_account, payer_name) VALUES (1, NULL, 'maya patel'); diff --git a/icon.svg b/icon.svg deleted file mode 100644 index 813e221d..00000000 --- a/icon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/index.html b/index.html deleted file mode 100644 index 13ba4f95..00000000 --- a/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - OpenProperty — open-source property management software - - - - - - - -
- - - diff --git a/manifest.json b/manifest.json deleted file mode 100644 index e95f994d..00000000 --- a/manifest.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "OpenProperty", - "description": "Open-source property management software — a self-hosted, cloud-based alternative to TenantCloud, AppFolio, Buildium, and Propertyware for landlords and small property managers. Rental property management with properties and units, tenants and leases, rent collection and ledger, work orders and maintenance, and a vendor directory.", - "framework": "react+hono", - "files": [ - "src/server/index.ts", - "src/server/db.ts", - "src/server/schema.sql", - "src/client/main.tsx", - "src/client/app.tsx", - "src/client/api.ts", - "src/client/types.ts", - "src/client/context.tsx", - "src/client/styles.css", - "src/client/lib/utils.ts", - "src/client/hooks/use-router.ts", - "src/client/hooks/use-app-state.ts", - "src/client/components/sidebar.tsx", - "src/client/components/error-banner.tsx", - "src/client/components/dashboard/dashboard-page.tsx", - "src/client/components/properties/properties-list.tsx", - "src/client/components/properties/property-page.tsx", - "src/client/components/properties/property-dialog.tsx", - "src/client/components/properties/unit-dialog.tsx", - "src/client/components/tenants/tenants-list.tsx", - "src/client/components/tenants/tenant-page.tsx", - "src/client/components/tenants/tenant-dialog.tsx", - "src/client/components/leases/leases-page.tsx", - "src/client/components/leases/lease-dialog.tsx", - "src/client/components/rent/rent-page.tsx", - "src/client/components/rent/payment-dialog.tsx", - "src/client/components/maintenance/maintenance-page.tsx", - "src/client/components/maintenance/work-order-dialog.tsx", - "src/client/components/settings/settings-page.tsx", - "src/client/components/ui/badge.tsx", - "src/client/components/ui/button.tsx", - "src/client/components/ui/card.tsx", - "src/client/components/ui/dialog.tsx", - "src/client/components/ui/dropdown-menu.tsx", - "src/client/components/ui/input.tsx", - "src/client/components/ui/label.tsx", - "src/client/components/ui/scroll-area.tsx", - "src/client/components/ui/select.tsx", - "src/client/components/ui/separator.tsx", - "src/client/components/ui/tabs.tsx", - "src/client/components/ui/table.tsx", - "src/client/components/ui/textarea.tsx", - "src/client/components/ui/tooltip.tsx", - "package.json", - "vite.config.ts", - "tsconfig.json", - "index.html", - "components.json" - ] -} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..4af0a9b1 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3252 @@ +{ + "name": "sill-resident-portal", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "sill-resident-portal", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@better-auth/drizzle-adapter": "1.7.26", + "@neondatabase/serverless": "^1.0.2", + "better-auth": "1.7.26", + "drizzle-orm": "^0.45.1" + }, + "devDependencies": { + "@electric-sql/pglite": "^0.5.17", + "@fontsource/dm-sans": "^5.3.0", + "@fontsource/instrument-serif": "^5.3.0", + "esbuild": "^0.27.0", + "pg": "^8.23.1", + "typescript": "^5.9.3", + "wrangler": "^4.0.0" + } + }, + "node_modules/@better-auth/core": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/core/-/core-1.7.26.tgz", + "integrity": "sha512-k9tECegh1/MZmAQ9tD+4fjF2zYCzMcy0Xhu3nASp8bj48NrK1E0yV2BAeWnprMVRqh62ka07xc0MZuqmvlXNDQ==", + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.1.0", + "zod": "^4.5.4" + }, + "peerDependencies": { + "@better-auth/utils": "^0.4.2 || ^0.5.0", + "@better-fetch/fetch": "1.3.3", + "@opentelemetry/api": "^1.9.0", + "better-call": "~1.4.5", + "jose": "^6.1.0", + "kysely": "^0.28.5 || ^0.29.0", + "nanostores": "^1.0.1" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + } + } + }, + "node_modules/@better-auth/drizzle-adapter": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/drizzle-adapter/-/drizzle-adapter-1.7.26.tgz", + "integrity": "sha512-3OOQPZkAFVo63jbjkQTVjM7SyNbKxmM5sb9BKflaJOT+ld6mxM6yItm5NMKNd1xn/wA4X/+kAmT/KjFL0mRW/Q==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.0", + "drizzle-orm": "^0.45.2 || >=1.0.0-rc.1 <2.0.0" + }, + "peerDependenciesMeta": { + "drizzle-orm": { + "optional": true + } + } + }, + "node_modules/@better-auth/kysely-adapter": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/kysely-adapter/-/kysely-adapter-1.7.26.tgz", + "integrity": "sha512-8kImf5aRi5cFC3fYO7fqszSAUC5vU8ya7yHxuCovTJNz7ow4pItRshU319aEPBdgABRFU53kI0v+SE5NI8UJtQ==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.0", + "kysely": "^0.28.17 || ^0.29.0" + }, + "peerDependenciesMeta": { + "kysely": { + "optional": true + } + } + }, + "node_modules/@better-auth/memory-adapter": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/memory-adapter/-/memory-adapter-1.7.26.tgz", + "integrity": "sha512-ttV2Q06uoJBJzp9J8zYwYwMY60jvlhziumyqUZ1gJKltvsOasbGfoGPYThypyydTVu8iApP9O4xI9jYXJ08syg==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.0" + } + }, + "node_modules/@better-auth/mongo-adapter": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/mongo-adapter/-/mongo-adapter-1.7.26.tgz", + "integrity": "sha512-mGVJ0UIL1hjrp5aCuv4hFinZhpB7vvpu1c/fSa40Ktk4GugXcXguVwHI4hiDqGCttslTz0LOa5gqT+BfzgdJWw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.0", + "mongodb": "^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "mongodb": { + "optional": true + } + } + }, + "node_modules/@better-auth/prisma-adapter": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/prisma-adapter/-/prisma-adapter-1.7.26.tgz", + "integrity": "sha512-rXc6dI6HBhD4uXh1gMJU0ScQjojt3wIS4+DziIm/j8ujoTBEG96hFVN0vFVIq/D7SnimXIsPu5rqJ7GYSDbDtw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.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 + } + } + }, + "node_modules/@better-auth/telemetry": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@better-auth/telemetry/-/telemetry-1.7.26.tgz", + "integrity": "sha512-XSxQWg+guJ4X9KrcsdJCUPcXk/GaKxPNSXrhuDRhoWhk3ommioRB2Y6/to6ROy1fGP8JtXqRN4ZPiyKZnfy4Sw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.7.26", + "@better-auth/utils": "^0.4.2 || ^0.5.0", + "@better-fetch/fetch": "1.3.3" + } + }, + "node_modules/@better-auth/utils": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.5.1.tgz", + "integrity": "sha512-WETqw5vQ52uQ/xwWR4E8rTgT6fDEr/wnS+otDNkBCa/69281FCF32OKDdQUcahMCnjsvqXBNiEvAQHFB0EVRRg==", + "license": "MIT", + "dependencies": { + "@noble/hashes": "^2.0.1" + } + }, + "node_modules/@better-fetch/fetch": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.3.3.tgz", + "integrity": "sha512-U6SlDt/GUWtK2JAxS/NhdoYTEim+EL1G5byz2TUj83KjLZBUpYzb5SmX0aXaCnbGkAjFKnV/o/0+cyXMbEcqqg==", + "license": "MIT" + }, + "node_modules/@cloudflare/kv-asset-handler": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.1.tgz", + "integrity": "sha512-48OysfSW3MkQY1XjkhkpPkgrEkOvgfoyHzA2eyX5wpzFpijC02uWigv3hkNdJdT3C7ybW/U17yYHXeR68pLeww==", + "dev": true, + "license": "MIT OR Apache-2.0", + "engines": { + "node": ">=22.0.0" + } + }, + "node_modules/@cloudflare/unenv-preset": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.2.tgz", + "integrity": "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==", + "dev": true, + "license": "MIT OR Apache-2.0", + "peerDependencies": { + "unenv": "2.0.0-rc.24", + "workerd": ">1.20260305.0 <2.0.0-0" + }, + "peerDependenciesMeta": { + "workerd": { + "optional": true + } + } + }, + "node_modules/@cloudflare/workerd-darwin-64": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261118.1.tgz", + "integrity": "sha512-s6dcEtjG4hq+MV3pzbSLwp5sllgtt7DPp3O/a++KAp99kpVSvqqYYCpMLdiwO1L9wpXvzkj011cHxRxQCrna7A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@cloudflare/workerd-darwin-arm64": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20261118.1.tgz", + "integrity": "sha512-b9WiBt52ISrDPM5C8TdRDOp3XTC8Usv9ldc7TU7s2iyG1kR5eJdv6bfgAEejbSMUD13ArWaJ9Zzvpbb7FzxX+w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@cloudflare/workerd-linux-64": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20261118.1.tgz", + "integrity": "sha512-0x0M94AvmtOw3iEDzosOTypjn1XTuaVo+FJWJSeF2mvWbCeyAElm9KeK0/64fBrNfyqQEkhuOdp7iJEz60dqCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@cloudflare/workerd-linux-arm64": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20261118.1.tgz", + "integrity": "sha512-cIFLJrXOfNtjtmfU2lp8bMbBevVvzLcvtXEaI7fzJy+HWBg1TOPgbxnu7feRvQ7kIhkOV/fpIV0HkNCaXy0mvA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@cloudflare/workerd-windows-64": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20261118.1.tgz", + "integrity": "sha512-1/kTw8r7S3itoDa5C0tORnfIXR49FfT6tqHQqn8AXuHqVnWL4heHP2BfXw0lHh2ouZL2WJM4Ko1gZ60azRokJg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@cloudflare/workers-utils": { + "version": "0.55.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-utils/-/workers-utils-0.55.0.tgz", + "integrity": "sha512-D51hkju35j8pKamLQkD4+L0H830SmX2pwtdnIVX6KX4s+Yz3NlfAh1iWXYmMF770FhLDfYiC6j6ln7zLE8VVcQ==", + "dev": true, + "license": "MIT OR Apache-2.0", + "dependencies": { + "@cspotcode/source-map-support": "0.8.1", + "chalk": "5.3.0", + "dotenv": "16.3.1", + "undici": "7.30.1" + }, + "peerDependencies": { + "vitest": "^4.1.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "vitest": { + "optional": true + } + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@electric-sql/pglite": { + "version": "0.5.17", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite/-/pglite-0.5.17.tgz", + "integrity": "sha512-8SvKjiUjaU+0O0dbxjOfN+jXz14TEqDWbwDkYOW1aQ11y/ph2JvFVI27ABBo5nfw+ZfSqy4hKCNlbnbB1TDE+g==", + "devOptional": true, + "license": "Apache-2.0" + }, + "node_modules/@emnapi/runtime": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", + "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", + "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz", + "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", + "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz", + "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", + "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", + "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", + "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", + "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", + "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", + "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", + "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", + "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", + "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", + "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", + "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", + "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", + "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", + "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", + "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", + "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", + "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", + "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", + "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", + "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", + "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", + "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@fontsource/dm-sans": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@fontsource/dm-sans/-/dm-sans-5.3.0.tgz", + "integrity": "sha512-lYJtMXXO28q1z+yz+z8XKd0s4hXaa9QdkETzkyD760sidCv5heI86weYA0sx0Nc4pAMAQTUuyf4gO44cYKKS9g==", + "dev": true, + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/instrument-serif": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@fontsource/instrument-serif/-/instrument-serif-5.3.0.tgz", + "integrity": "sha512-mDiaIg0u67sYV59fie92Wz4sM8UiVlbL7fLxnFPCKkX15DMASEnQTREbaP5S5/3DCcsoAOcQ0sV9E4AeY4QqYQ==", + "dev": true, + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@img/colour": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", + "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@img/sharp-darwin-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz", + "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-darwin-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz", + "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-freebsd-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz", + "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz", + "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz", + "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz", + "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-ppc64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz", + "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-riscv64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz", + "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-s390x": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz", + "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz", + "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz", + "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz", + "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-linux-arm": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz", + "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz", + "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-ppc64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz", + "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-ppc64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-riscv64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz", + "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-riscv64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-s390x": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz", + "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-s390x": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz", + "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-linuxmusl-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz", + "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-linuxmusl-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz", + "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz", + "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==", + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.11.3" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-webcontainers-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz", + "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz", + "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-ia32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz", + "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz", + "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@neondatabase/serverless": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.2.1.tgz", + "integrity": "sha512-PI2JjuyEFE7oZDTkV/s6WP4KEceCwnjQHClfunhysuIATtvcVTBLdA4UgHTnJo7C0mkK+OZ6U7SV1NDnYa0HgA==", + "license": "MIT", + "engines": { + "node": ">=19.0.0" + } + }, + "node_modules/@noble/ciphers": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.4.0.tgz", + "integrity": "sha512-AnjFn0Jv92laAkvMrghlFZq4qQCIN/4DxFV/eooqtC2YTjB7kBeLMS2T9KJX4Dn+ZVXLOwK0lSgqDtx9gvxtiw==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.4.0.tgz", + "integrity": "sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@poppinss/colors": { + "version": "4.1.6", + "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz", + "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^4.1.5" + } + }, + "node_modules/@poppinss/dumper": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz", + "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@poppinss/colors": "^4.1.5", + "@sindresorhus/is": "^7.0.2", + "supports-color": "^10.0.0" + } + }, + "node_modules/@poppinss/exception": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz", + "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sindresorhus/is": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz", + "integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/@speed-highlight/core": { + "version": "1.2.24", + "resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.24.tgz", + "integrity": "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "18.19.130", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.130.tgz", + "integrity": "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/node-fetch": { + "version": "2.6.13", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.13.tgz", + "integrity": "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "form-data": "^4.0.4" + } + }, + "node_modules/@types/yargs": { + "version": "17.0.24", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.24.tgz", + "integrity": "sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/agentkeepalive": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz", + "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/better-auth": { + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.7.26.tgz", + "integrity": "sha512-8TLA60CxEnhcmGceHIFlheonqrFFcVJ1Yfr3gOJEet3xyMfN6qAVN0N1GRcpe0g9KNzqhe1EM2smbk9DCylaAA==", + "license": "MIT", + "dependencies": { + "@better-auth/core": "1.7.26", + "@better-auth/drizzle-adapter": "1.7.26", + "@better-auth/kysely-adapter": "1.7.26", + "@better-auth/memory-adapter": "1.7.26", + "@better-auth/mongo-adapter": "1.7.26", + "@better-auth/prisma-adapter": "1.7.26", + "@better-auth/telemetry": "1.7.26", + "@better-auth/utils": "0.5.1", + "@better-fetch/fetch": "1.3.3", + "@noble/ciphers": "^2.2.0", + "@noble/hashes": "^2.2.0", + "better-call": "1.4.6", + "defu": "^6.1.4", + "jose": "^6.2.3", + "kysely": "^0.28.17 || ^0.29.0", + "nanostores": "^1.3.0", + "zod": "^4.5.4" + }, + "peerDependencies": { + "@lynx-js/react": "*", + "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0", + "@sveltejs/kit": "^2.0.0 || ^3.0.0", + "@tanstack/react-start": "^1.0.0", + "@tanstack/solid-start": "^1.0.0", + "drizzle-kit": ">=0.31.4 || >=1.0.0-beta.1", + "drizzle-orm": "^0.45.2 || >=1.0.0-rc.1 <2.0.0", + "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 || ^5.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 + }, + "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 + } + } + }, + "node_modules/better-call": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.4.6.tgz", + "integrity": "sha512-tJ3lkMFeQProwiuZiQApwgVmYmBfXM4sAP7HxMsnAFtl4NWZhamG+RGoMNgHwGYkmcB+3eWyo3vgt4sWUUSdQA==", + "license": "MIT", + "dependencies": { + "@better-auth/utils": "^0.5.0", + "@better-fetch/fetch": "^1.3.1", + "rou3": "^0.9.1", + "set-cookie-parser": "^3.1.2" + }, + "peerDependencies": { + "zod": "^4.0.0" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cloudflare": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cloudflare/-/cloudflare-5.2.0.tgz", + "integrity": "sha512-dVzqDpPFYR9ApEC9e+JJshFJZXcw4HzM8W+3DHzO5oy9+8rLC53G7x6fEf9A7/gSuSCxuvndzui5qJKftfIM9A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cookie": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz", + "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/defu": { + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", + "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", + "license": "MIT" + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/devtools-protocol": { + "version": "0.0.1182435", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1182435.tgz", + "integrity": "sha512-EmlkWb62wSbQNE1gRZZsi4KZYRaF5Skpp183LhRU7+sadKR06O1dHCjZmFSEG6Kv7P6S/UYLxcY3NlYwqKM99w==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/dotenv": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, + "node_modules/drizzle-orm": { + "version": "0.45.4", + "resolved": "https://registry.npmjs.org/drizzle-orm/-/drizzle-orm-0.45.4.tgz", + "integrity": "sha512-NiM1YZpJ2UxyeE67DpDDZ+Tsw4YLX3trSlkNT7Tm9eKoUNb1LvaAaQzXgYQsWs+AQ9TUmmwMmBOCXuqqxUWKKQ==", + "license": "Apache-2.0", + "peerDependencies": { + "@aws-sdk/client-rds-data": ">=3", + "@cloudflare/workers-types": ">=4", + "@electric-sql/pglite": ">=0.2.0", + "@libsql/client": ">=0.10.0", + "@libsql/client-wasm": ">=0.10.0", + "@neondatabase/serverless": ">=0.10.0", + "@netlify/db": ">=0.4.0", + "@op-engineering/op-sqlite": ">=2", + "@opentelemetry/api": "^1.4.1", + "@planetscale/database": ">=1.13", + "@prisma/client": "*", + "@tidbcloud/serverless": "*", + "@types/better-sqlite3": "*", + "@types/pg": "*", + "@types/sql.js": "*", + "@upstash/redis": ">=1.34.7", + "@vercel/postgres": ">=0.8.0", + "@xata.io/client": "*", + "better-sqlite3": ">=7", + "bun-types": "*", + "expo-sqlite": ">=14.0.0", + "gel": ">=2", + "knex": "*", + "kysely": "*", + "mysql2": ">=2", + "pg": ">=8", + "postgres": ">=3", + "sql.js": ">=1", + "sqlite3": ">=5" + }, + "peerDependenciesMeta": { + "@aws-sdk/client-rds-data": { + "optional": true + }, + "@cloudflare/workers-types": { + "optional": true + }, + "@electric-sql/pglite": { + "optional": true + }, + "@libsql/client": { + "optional": true + }, + "@libsql/client-wasm": { + "optional": true + }, + "@neondatabase/serverless": { + "optional": true + }, + "@netlify/db": { + "optional": true + }, + "@op-engineering/op-sqlite": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + }, + "@planetscale/database": { + "optional": true + }, + "@prisma/client": { + "optional": true + }, + "@tidbcloud/serverless": { + "optional": true + }, + "@types/better-sqlite3": { + "optional": true + }, + "@types/pg": { + "optional": true + }, + "@types/sql.js": { + "optional": true + }, + "@upstash/redis": { + "optional": true + }, + "@vercel/postgres": { + "optional": true + }, + "@xata.io/client": { + "optional": true + }, + "better-sqlite3": { + "optional": true + }, + "bun-types": { + "optional": true + }, + "expo-sqlite": { + "optional": true + }, + "gel": { + "optional": true + }, + "knex": { + "optional": true + }, + "kysely": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "pg": { + "optional": true + }, + "postgres": { + "optional": true + }, + "prisma": { + "optional": true + }, + "sql.js": { + "optional": true + }, + "sqlite3": { + "optional": true + } + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/error-stack-parser-es": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz", + "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz", + "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.27.7", + "@esbuild/android-arm": "0.27.7", + "@esbuild/android-arm64": "0.27.7", + "@esbuild/android-x64": "0.27.7", + "@esbuild/darwin-arm64": "0.27.7", + "@esbuild/darwin-x64": "0.27.7", + "@esbuild/freebsd-arm64": "0.27.7", + "@esbuild/freebsd-x64": "0.27.7", + "@esbuild/linux-arm": "0.27.7", + "@esbuild/linux-arm64": "0.27.7", + "@esbuild/linux-ia32": "0.27.7", + "@esbuild/linux-loong64": "0.27.7", + "@esbuild/linux-mips64el": "0.27.7", + "@esbuild/linux-ppc64": "0.27.7", + "@esbuild/linux-riscv64": "0.27.7", + "@esbuild/linux-s390x": "0.27.7", + "@esbuild/linux-x64": "0.27.7", + "@esbuild/netbsd-arm64": "0.27.7", + "@esbuild/netbsd-x64": "0.27.7", + "@esbuild/openbsd-arm64": "0.27.7", + "@esbuild/openbsd-x64": "0.27.7", + "@esbuild/openharmony-arm64": "0.27.7", + "@esbuild/sunos-x64": "0.27.7", + "@esbuild/win32-arm64": "0.27.7", + "@esbuild/win32-ia32": "0.27.7", + "@esbuild/win32-x64": "0.27.7" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/form-data": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/form-data-encoder": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.2.tgz", + "integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==", + "dev": true, + "license": "MIT" + }, + "node_modules/formdata-node": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz", + "integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "node-domexception": "1.0.0", + "web-streams-polyfill": "4.0.0-beta.3" + }, + "engines": { + "node": ">= 12.20" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/jose": { + "version": "6.2.18", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.18.tgz", + "integrity": "sha512-doV4thUwgkrycJH4yLeqwTGIIZphHl+pk7CPReuMIhYhncmgzdko85MaCG4YQFTxqMFr1/oEH32tZuKKovcDEg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/kleur": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", + "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/kysely": { + "version": "0.29.9", + "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.29.9.tgz", + "integrity": "sha512-K48ErswC3MlIcBqR0pYIIEl+n9rIgwxgzaM1FxKHMXn7egxr1NHj7bCeF98mXl9A3/QoL5I7mo5S/mLXgeDgGA==", + "license": "MIT", + "engines": { + "node": ">=22.0.0" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/miniflare": { + "version": "5.20261118.0-beta", + "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-5.20261118.0-beta.tgz", + "integrity": "sha512-H3qaRzg9UrF2Aupw3k0Wl95GXL7V8PT7pWyOA4eM7/5RUFoftgu5NMgB3HBKBqo5TDQUhsywsEJQJzL/Hkmhew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "0.8.1", + "sharp": "0.35.5", + "undici": "7.30.1", + "workerd": "1.20261118.1", + "ws": "8.21.0", + "youch": "4.1.0-beta.10" + }, + "engines": { + "node": ">=22.12.0" + }, + "peerDependencies": { + "kerberos": "^2.0.0" + }, + "peerDependenciesMeta": { + "kerberos": { + "optional": true + } + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanostores": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/nanostores/-/nanostores-1.5.5.tgz", + "integrity": "sha512-FixtE239Gl6Gz0ZGCK0WzvNwObNCIwVT+L7zQcf1QgcA6AzBxblzqe9OT88qiucNkhsjSOqiogSaF5jVbJiqSA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "engines": { + "node": "^20.0.0 || >=22.0.0" + } + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "deprecated": "Use your platform's native DOMException instead", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/path-to-regexp": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/pg": { + "version": "8.23.1", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.23.1.tgz", + "integrity": "sha512-aL96AHANtWjPLDOLqnhx+ngp9+UK7ETEU8VJrDCGvsSSi/mGLcWYsS6Herg7lmaBJe4uwrfqsa7gTEFaSizDoQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "pg-connection-string": "^2.14.1", + "pg-pool": "^3.14.0", + "pg-protocol": "^1.16.1", + "pg-types": "2.2.0", + "pgpass": "1.0.5" + }, + "engines": { + "node": ">= 16.0.0" + }, + "optionalDependencies": { + "pg-cloudflare": "^1.4.1" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "node_modules/pg-cloudflare": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.4.1.tgz", + "integrity": "sha512-6PQbsFWZcp9EmJEwy5cGQ2La+AMWpP46lgbb8X+U/XsHIUweYDNCpeuKck5RxL2MdVFi7krbbEi5nX4Zh7JhrQ==", + "license": "MIT", + "optional": true + }, + "node_modules/pg-connection-string": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.14.1.tgz", + "integrity": "sha512-qR3kGNPBLpCNtz0evbKA0Y/MRFXwSSdT+pTJvYp/bXTcReZbvX1kzF0IyTc1QnxqF7AZbOeBhNL8R5mYQZV/MA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/pg-int8": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz", + "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/pg-pool": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.14.0.tgz", + "integrity": "sha512-gKtPkFdQPU3DksooVLi9LsjZxrsBUZIpa+7aVx+LV5pNh0KzP4Zleud2po+ConrxbuXGBJ6Hfer6hdgpIBpBaw==", + "devOptional": true, + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "node_modules/pg-protocol": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.16.1.tgz", + "integrity": "sha512-p9VOFMiHB/ZbJATetbg+99PxssTVSQRnyuPSQ67mN1+1KBOjZaZ83ZQzltnxPhJwSsC3nwVjJ10DVJlerbFzLg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/pg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz", + "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pgpass": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz", + "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, + "node_modules/postgres-array": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz", + "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/postgres-bytea": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz", + "integrity": "sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-date": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz", + "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-interval": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz", + "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rou3": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/rou3/-/rou3-0.9.2.tgz", + "integrity": "sha512-3SOzvaAg8rkHrXtRjpCvCvbyO5to9oOO27Z/XqHEYXfMRVSw/qMIVdmaOk9W2lcRLtR6dlqTjo9hDeJk70QBYQ==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/set-cookie-parser": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.2.3.tgz", + "integrity": "sha512-bDO7NdAkLprNt3BNl3LAh0oVnOS5+WspzxOxiboo7vRIyTqj2pvFmNWYEFynSGQgpJ+7yG/9nc/aSG20UDBUpg==", + "license": "MIT" + }, + "node_modules/sharp": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", + "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@img/colour": "^1.1.0", + "detect-libc": "^2.1.2", + "semver": "^7.8.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-darwin-arm64": "0.35.5", + "@img/sharp-darwin-x64": "0.35.5", + "@img/sharp-freebsd-wasm32": "0.35.5", + "@img/sharp-libvips-darwin-arm64": "1.3.4", + "@img/sharp-libvips-darwin-x64": "1.3.4", + "@img/sharp-libvips-linux-arm": "1.3.4", + "@img/sharp-libvips-linux-arm64": "1.3.4", + "@img/sharp-libvips-linux-ppc64": "1.3.4", + "@img/sharp-libvips-linux-riscv64": "1.3.4", + "@img/sharp-libvips-linux-s390x": "1.3.4", + "@img/sharp-libvips-linux-x64": "1.3.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", + "@img/sharp-libvips-linuxmusl-x64": "1.3.4", + "@img/sharp-linux-arm": "0.35.5", + "@img/sharp-linux-arm64": "0.35.5", + "@img/sharp-linux-ppc64": "0.35.5", + "@img/sharp-linux-riscv64": "0.35.5", + "@img/sharp-linux-s390x": "0.35.5", + "@img/sharp-linux-x64": "0.35.5", + "@img/sharp-linuxmusl-arm64": "0.35.5", + "@img/sharp-linuxmusl-x64": "0.35.5", + "@img/sharp-webcontainers-wasm32": "0.35.5", + "@img/sharp-win32-arm64": "0.35.5", + "@img/sharp-win32-ia32": "0.35.5", + "@img/sharp-win32-x64": "0.35.5" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">= 10.x" + } + }, + "node_modules/supports-color": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", + "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici": { + "version": "7.30.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.1.tgz", + "integrity": "sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.1" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true, + "license": "MIT" + }, + "node_modules/unenv": { + "version": "2.0.0-rc.24", + "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz", + "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "pathe": "^2.0.3" + } + }, + "node_modules/web-streams-polyfill": { + "version": "4.0.0-beta.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", + "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/workerd": { + "version": "1.20261118.1", + "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20261118.1.tgz", + "integrity": "sha512-aRucH/K7s3XjqvMmRcm6Jaz1WvBUgWjwaYjhNUuXtG8Gbmt91zRti2VGrQLgnM055n/qkuEVmYu9xByNZ2/Qzw==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "bin": { + "workerd": "bin/workerd" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "@cloudflare/workerd-darwin-64": "1.20261118.1", + "@cloudflare/workerd-darwin-arm64": "1.20261118.1", + "@cloudflare/workerd-linux-64": "1.20261118.1", + "@cloudflare/workerd-linux-arm64": "1.20261118.1", + "@cloudflare/workerd-windows-64": "1.20261118.1" + } + }, + "node_modules/wrangler": { + "version": "4.165.0", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.165.0.tgz", + "integrity": "sha512-c4CX82CieBfWTQPOnrsbQI/h0pYYj+heF32LKC/+EIyUh1rASVoDGKW6i3aogi/aKPloSLZLOTVAQ+UH36mqyA==", + "dev": true, + "license": "MIT OR Apache-2.0", + "dependencies": { + "@cloudflare/kv-asset-handler": "0.5.1", + "@cloudflare/unenv-preset": "2.16.2", + "@cloudflare/workers-utils": "0.55.0", + "@cspotcode/source-map-support": "0.8.1", + "@types/yargs": "17.0.24", + "cloudflare": "5.2.0", + "devtools-protocol": "0.0.1182435", + "esbuild": "0.28.2", + "miniflare": "5.20261118.0-beta", + "path-to-regexp": "6.3.0", + "undici": "7.30.1", + "unenv": "2.0.0-rc.24", + "workerd": "1.20261118.1" + }, + "bin": { + "cf-wrangler": "bin/cf-wrangler.js", + "wrangler": "bin/wrangler.js", + "wrangler2": "bin/wrangler.js" + }, + "engines": { + "node": ">=22.12.0" + }, + "optionalDependencies": { + "fsevents": "2.3.3" + }, + "peerDependencies": { + "@cloudflare/workers-types": "^5.20261118.1" + }, + "peerDependenciesMeta": { + "@cloudflare/workers-types": { + "optional": true + } + } + }, + "node_modules/wrangler/node_modules/@esbuild/aix-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/android-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/android-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/android-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/freebsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-loong64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-mips64el": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-riscv64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-s390x": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/linux-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/netbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/openbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/sunos-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/win32-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/win32-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/@esbuild/win32-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/wrangler/node_modules/esbuild": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.2", + "@esbuild/android-arm": "0.28.2", + "@esbuild/android-arm64": "0.28.2", + "@esbuild/android-x64": "0.28.2", + "@esbuild/darwin-arm64": "0.28.2", + "@esbuild/darwin-x64": "0.28.2", + "@esbuild/freebsd-arm64": "0.28.2", + "@esbuild/freebsd-x64": "0.28.2", + "@esbuild/linux-arm": "0.28.2", + "@esbuild/linux-arm64": "0.28.2", + "@esbuild/linux-ia32": "0.28.2", + "@esbuild/linux-loong64": "0.28.2", + "@esbuild/linux-mips64el": "0.28.2", + "@esbuild/linux-ppc64": "0.28.2", + "@esbuild/linux-riscv64": "0.28.2", + "@esbuild/linux-s390x": "0.28.2", + "@esbuild/linux-x64": "0.28.2", + "@esbuild/netbsd-arm64": "0.28.2", + "@esbuild/netbsd-x64": "0.28.2", + "@esbuild/openbsd-arm64": "0.28.2", + "@esbuild/openbsd-x64": "0.28.2", + "@esbuild/openharmony-arm64": "0.28.2", + "@esbuild/sunos-x64": "0.28.2", + "@esbuild/win32-arm64": "0.28.2", + "@esbuild/win32-ia32": "0.28.2", + "@esbuild/win32-x64": "0.28.2" + } + }, + "node_modules/ws": { + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", + "dev": true, + "license": "MIT", + "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 + } + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/youch": { + "version": "4.1.0-beta.10", + "resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz", + "integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@poppinss/colors": "^4.1.5", + "@poppinss/dumper": "^0.6.4", + "@speed-highlight/core": "^1.2.7", + "cookie": "^1.0.2", + "youch-core": "^0.3.3" + } + }, + "node_modules/youch-core": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz", + "integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@poppinss/exception": "^1.2.2", + "error-stack-parser-es": "^1.0.5" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/package.json b/package.json index c4d9031b..a8014151 100644 --- a/package.json +++ b/package.json @@ -1,55 +1,29 @@ { - "name": "@clawnify/open-property", + "name": "sill-resident-portal", "version": "1.0.0", "private": true, "type": "module", + "license": "MIT", "scripts": { - "dev": "pnpm db:migrate && concurrently -n ui,api -c cyan,green \"vite\" \"wrangler dev --port 8787\"", - "db:migrate": "wrangler d1 execute open-property-db --local --file=src/server/schema.sql", - "build": "vite build", - "typecheck": "tsc --noEmit", + "build": "node scripts/build.mjs", + "dev": "node scripts/dev.mjs", + "deploy": "npm run build && wrangler deploy", + "db:migrate": "node scripts/migrate.mjs", "test": "node --test tests/*.test.mjs" }, "dependencies": { - "@clawnify/app": "^0.4.8", - "@clawnify/db": "^0.4.3", - "@phosphor-icons/react": "^2.1.10", - "@radix-ui/react-alert-dialog": "^1.1.23", - "@radix-ui/react-dialog": "^1.1.15", - "@radix-ui/react-dropdown-menu": "^2.1.16", - "@radix-ui/react-label": "^2.1.8", - "@radix-ui/react-popover": "^1.1.15", - "@radix-ui/react-scroll-area": "^1.2.10", - "@radix-ui/react-select": "^2.2.6", - "@radix-ui/react-separator": "^1.1.8", - "@radix-ui/react-slot": "^1.2.4", - "@radix-ui/react-tabs": "^1.1.13", - "@radix-ui/react-tooltip": "^1.2.8", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.0", - "hono": "^4.6.0", - "lucide-react": "^0.575.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", - "tailwind-merge": "^2.2.0", - "zod": "^3.24.0" + "@better-auth/drizzle-adapter": "1.7.26", + "@neondatabase/serverless": "^1.0.2", + "better-auth": "1.7.26", + "drizzle-orm": "^0.45.1" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20250101.0", - "@tailwindcss/vite": "^4.0.0", - "@types/react": "^19.0.0", - "@types/react-dom": "^19.0.0", - "@vitejs/plugin-react": "^4.3.0", - "concurrently": "^9.0.0", - "tailwindcss": "^4.0.0", - "typescript": "^5.7.0", - "vite": "^6.0.0", + "@electric-sql/pglite": "^0.5.17", + "@fontsource/dm-sans": "^5.3.0", + "@fontsource/instrument-serif": "^5.3.0", + "esbuild": "^0.27.0", + "pg": "^8.23.1", + "typescript": "^5.9.3", "wrangler": "^4.0.0" - }, - "pnpm": { - "onlyBuiltDependencies": [ - "esbuild", - "workerd" - ] } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml deleted file mode 100644 index f3126971..00000000 --- a/pnpm-lock.yaml +++ /dev/null @@ -1,4152 +0,0 @@ -lockfileVersion: '9.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -importers: - - .: - dependencies: - '@clawnify/app': - specifier: ^0.4.8 - version: 0.4.8(@cloudflare/workers-types@4.20260426.1)(@hono/zod-openapi@0.19.10(hono@4.12.15)(zod@3.25.76))(@phosphor-icons/react@2.1.10(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(hono@4.12.15)(react@19.2.5) - '@clawnify/db': - specifier: ^0.4.3 - version: 0.4.3(@cloudflare/workers-types@4.20260426.1) - '@phosphor-icons/react': - specifier: ^2.1.10 - version: 2.1.10(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-alert-dialog': - specifier: ^1.1.23 - version: 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-dialog': - specifier: ^1.1.15 - version: 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-dropdown-menu': - specifier: ^2.1.16 - version: 2.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-label': - specifier: ^2.1.8 - version: 2.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-popover': - specifier: ^1.1.15 - version: 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-scroll-area': - specifier: ^1.2.10 - version: 1.2.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-select': - specifier: ^2.2.6 - version: 2.2.6(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-separator': - specifier: ^1.1.8 - version: 1.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': - specifier: ^1.2.4 - version: 1.2.4(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-tabs': - specifier: ^1.1.13 - version: 1.1.13(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-tooltip': - specifier: ^1.2.8 - version: 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - class-variance-authority: - specifier: ^0.7.0 - version: 0.7.1 - clsx: - specifier: ^2.1.0 - version: 2.1.1 - hono: - specifier: ^4.6.0 - version: 4.12.15 - lucide-react: - specifier: ^0.575.0 - version: 0.575.0(react@19.2.5) - react: - specifier: ^19.0.0 - version: 19.2.5 - react-dom: - specifier: ^19.0.0 - version: 19.2.5(react@19.2.5) - tailwind-merge: - specifier: ^2.2.0 - version: 2.6.1 - zod: - specifier: ^3.24.0 - version: 3.25.76 - devDependencies: - '@cloudflare/workers-types': - specifier: ^4.20250101.0 - version: 4.20260426.1 - '@tailwindcss/vite': - specifier: ^4.0.0 - version: 4.2.4(vite@6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0)) - '@types/react': - specifier: ^19.0.0 - version: 19.2.14 - '@types/react-dom': - specifier: ^19.0.0 - version: 19.2.3(@types/react@19.2.14) - '@vitejs/plugin-react': - specifier: ^4.3.0 - version: 4.7.0(supports-color@10.2.2)(vite@6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0)) - concurrently: - specifier: ^9.0.0 - version: 9.2.1 - tailwindcss: - specifier: ^4.0.0 - version: 4.2.4 - typescript: - specifier: ^5.7.0 - version: 5.9.3 - vite: - specifier: ^6.0.0 - version: 6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0) - wrangler: - specifier: ^4.0.0 - version: 4.86.0(@cloudflare/workers-types@4.20260426.1) - -packages: - - '@asteasolutions/zod-to-openapi@7.3.4': - resolution: {integrity: sha512-/2rThQ5zPi9OzVwes6U7lK1+Yvug0iXu25olp7S0XsYmOqnyMfxH7gdSQjn/+DSOHRg7wnotwGJSyL+fBKdnEA==} - peerDependencies: - zod: ^3.20.2 - - '@babel/code-frame@7.29.0': - resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==} - engines: {node: '>=6.9.0'} - - '@babel/compat-data@7.29.0': - resolution: {integrity: sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==} - engines: {node: '>=6.9.0'} - - '@babel/core@7.29.0': - resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==} - engines: {node: '>=6.9.0'} - - '@babel/generator@7.29.1': - resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-compilation-targets@7.28.6': - resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-globals@7.28.0': - resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-imports@7.28.6': - resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-transforms@7.28.6': - resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - - '@babel/helper-plugin-utils@7.28.6': - resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} - engines: {node: '>=6.9.0'} - - '@babel/helper-string-parser@7.27.1': - resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-identifier@7.28.5': - resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-option@7.27.1': - resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} - engines: {node: '>=6.9.0'} - - '@babel/helpers@7.29.2': - resolution: {integrity: sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==} - engines: {node: '>=6.9.0'} - - '@babel/parser@7.29.2': - resolution: {integrity: sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==} - engines: {node: '>=6.0.0'} - hasBin: true - - '@babel/plugin-transform-react-jsx-self@7.27.1': - resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-transform-react-jsx-source@7.27.1': - resolution: {integrity: sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/template@7.28.6': - resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} - engines: {node: '>=6.9.0'} - - '@babel/traverse@7.29.0': - resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==} - engines: {node: '>=6.9.0'} - - '@babel/types@7.29.0': - resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} - engines: {node: '>=6.9.0'} - - '@clawnify/app@0.4.8': - resolution: {integrity: sha512-kDeP5J67x6BkTcdFPKgmr3bHuTKyhny2XXkrnyhlHXb4+nVNSYDgNWyeam/Pwkx6wnryvZ3nkv/VAlCDL0bZiA==} - peerDependencies: - '@hono/zod-openapi': '>=0.18 <1' - '@phosphor-icons/react': '>=2' - hono: '*' - react: '>=18' - peerDependenciesMeta: - '@phosphor-icons/react': - optional: true - react: - optional: true - - '@clawnify/db@0.4.3': - resolution: {integrity: sha512-7CqhOilLT3xjyKwO1+B4hfo/Cy2jpkLfpmgXaiQUpKLmvyPYtqOf+3w+QQyGo0QWy5QzjN60HCX0COjk055ldg==} - - '@clawnify/routes@0.3.0': - resolution: {integrity: sha512-ALKVoN1ui9KXSSoybSKumEiJ7fTAe793y2HwCPGEkvXlgV29yAGXad8qVOeGYzrKe6KACJ8twFA4uheQrJSmqA==} - peerDependencies: - '@hono/zod-openapi': '>=0.18 <1' - hono: '*' - - '@cloudflare/kv-asset-handler@0.4.2': - resolution: {integrity: sha512-SIOD2DxrRRwQ+jgzlXCqoEFiKOFqaPjhnNTGKXSRLvp1HiOvapLaFG2kEr9dYQTYe8rKrd9uvDUzmAITeNyaHQ==} - engines: {node: '>=18.0.0'} - - '@cloudflare/unenv-preset@2.16.1': - resolution: {integrity: sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==} - peerDependencies: - unenv: 2.0.0-rc.24 - workerd: '>1.20260305.0 <2.0.0-0' - peerDependenciesMeta: - workerd: - optional: true - - '@cloudflare/workerd-darwin-64@1.20260426.1': - resolution: {integrity: sha512-Ch7DqsmYzSQRTY87pZpsGsFVz9VVBnLPnCBOHxKt1HH25a7oMu1w1PbPWqVmE0VerCLsj/TScX7Ob3v6E14TZw==} - engines: {node: '>=16'} - cpu: [x64] - os: [darwin] - - '@cloudflare/workerd-darwin-arm64@1.20260426.1': - resolution: {integrity: sha512-0m0U8vaPRH25SpKjbSyRql6gmPe4rCsETRV2WW0qBnuMdKNr5Vh5/Uez80xVrfiCCRMTULGeg63Nqg2vg6CDOA==} - engines: {node: '>=16'} - cpu: [arm64] - os: [darwin] - - '@cloudflare/workerd-linux-64@1.20260426.1': - resolution: {integrity: sha512-C8LlC8uSYzg49y51n++75esxZmMp+Uz1OKHHA/4lkv6rjOTbcHQJuEwSLppjybVIXpv7A8MBhbu9iyCTvyv1mw==} - engines: {node: '>=16'} - cpu: [x64] - os: [linux] - - '@cloudflare/workerd-linux-arm64@1.20260426.1': - resolution: {integrity: sha512-ESVp/OIFMAqjQsa8BOP2BQQz5Vpfv6ncN6lNnIuNeOgsISQBdYk+LA60bwQHMud9tvmnSYtONp1zkZ8OQz+x6w==} - engines: {node: '>=16'} - cpu: [arm64] - os: [linux] - - '@cloudflare/workerd-windows-64@1.20260426.1': - resolution: {integrity: sha512-d3Xj/IjINRgNVwH+eKhpUn4xkkcEewbWXbOvBlapiirKWh5zl9m0Epi3qOqmjyRYK6MICqIGXg4qZBEt0lxudw==} - engines: {node: '>=16'} - cpu: [x64] - os: [win32] - - '@cloudflare/workers-types@4.20260426.1': - resolution: {integrity: sha512-cBYeQaWwv/jFV8ualmwp6wIxmAf0rDe2DPPQwPbslKmPHqgv861YpAvm45r05K40QboZgxNQVIPgNkmtHqZeJQ==} - - '@cspotcode/source-map-support@0.8.1': - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - - '@emnapi/runtime@1.10.0': - resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==} - - '@esbuild/aix-ppc64@0.25.12': - resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - - '@esbuild/aix-ppc64@0.27.3': - resolution: {integrity: sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - - '@esbuild/android-arm64@0.25.12': - resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - - '@esbuild/android-arm64@0.27.3': - resolution: {integrity: sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - - '@esbuild/android-arm@0.25.12': - resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - - '@esbuild/android-arm@0.27.3': - resolution: {integrity: sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - - '@esbuild/android-x64@0.25.12': - resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - - '@esbuild/android-x64@0.27.3': - resolution: {integrity: sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - - '@esbuild/darwin-arm64@0.25.12': - resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - - '@esbuild/darwin-arm64@0.27.3': - resolution: {integrity: sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - - '@esbuild/darwin-x64@0.25.12': - resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - - '@esbuild/darwin-x64@0.27.3': - resolution: {integrity: sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - - '@esbuild/freebsd-arm64@0.25.12': - resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - - '@esbuild/freebsd-arm64@0.27.3': - resolution: {integrity: sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - - '@esbuild/freebsd-x64@0.25.12': - resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - - '@esbuild/freebsd-x64@0.27.3': - resolution: {integrity: sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - - '@esbuild/linux-arm64@0.25.12': - resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - - '@esbuild/linux-arm64@0.27.3': - resolution: {integrity: sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - - '@esbuild/linux-arm@0.25.12': - resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - - '@esbuild/linux-arm@0.27.3': - resolution: {integrity: sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - - '@esbuild/linux-ia32@0.25.12': - resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - - '@esbuild/linux-ia32@0.27.3': - resolution: {integrity: sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - - '@esbuild/linux-loong64@0.25.12': - resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - - '@esbuild/linux-loong64@0.27.3': - resolution: {integrity: sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - - '@esbuild/linux-mips64el@0.25.12': - resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - - '@esbuild/linux-mips64el@0.27.3': - resolution: {integrity: sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - - '@esbuild/linux-ppc64@0.25.12': - resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - - '@esbuild/linux-ppc64@0.27.3': - resolution: {integrity: sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - - '@esbuild/linux-riscv64@0.25.12': - resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - - '@esbuild/linux-riscv64@0.27.3': - resolution: {integrity: sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - - '@esbuild/linux-s390x@0.25.12': - resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - - '@esbuild/linux-s390x@0.27.3': - resolution: {integrity: sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - - '@esbuild/linux-x64@0.25.12': - resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - - '@esbuild/linux-x64@0.27.3': - resolution: {integrity: sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - - '@esbuild/netbsd-arm64@0.25.12': - resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - - '@esbuild/netbsd-arm64@0.27.3': - resolution: {integrity: sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - - '@esbuild/netbsd-x64@0.25.12': - resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - - '@esbuild/netbsd-x64@0.27.3': - resolution: {integrity: sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - - '@esbuild/openbsd-arm64@0.25.12': - resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - - '@esbuild/openbsd-arm64@0.27.3': - resolution: {integrity: sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - - '@esbuild/openbsd-x64@0.25.12': - resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - - '@esbuild/openbsd-x64@0.27.3': - resolution: {integrity: sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - - '@esbuild/openharmony-arm64@0.25.12': - resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openharmony] - - '@esbuild/openharmony-arm64@0.27.3': - resolution: {integrity: sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openharmony] - - '@esbuild/sunos-x64@0.25.12': - resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - - '@esbuild/sunos-x64@0.27.3': - resolution: {integrity: sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - - '@esbuild/win32-arm64@0.25.12': - resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - - '@esbuild/win32-arm64@0.27.3': - resolution: {integrity: sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - - '@esbuild/win32-ia32@0.25.12': - resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - - '@esbuild/win32-ia32@0.27.3': - resolution: {integrity: sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - - '@esbuild/win32-x64@0.25.12': - resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - - '@esbuild/win32-x64@0.27.3': - resolution: {integrity: sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - - '@floating-ui/core@1.7.5': - resolution: {integrity: sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==} - - '@floating-ui/dom@1.7.6': - resolution: {integrity: sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==} - - '@floating-ui/react-dom@2.1.8': - resolution: {integrity: sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==} - peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' - - '@floating-ui/utils@0.2.11': - resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==} - - '@hono/zod-openapi@0.19.10': - resolution: {integrity: sha512-dpoS6DenvoJyvxtQ7Kd633FRZ/Qf74+4+o9s+zZI8pEqnbjdF/DtxIib08WDpCaWabMEJOL5TXpMgNEZvb7hpA==} - engines: {node: '>=16.0.0'} - peerDependencies: - hono: '>=4.3.6' - zod: '>=3.0.0' - - '@hono/zod-validator@0.7.6': - resolution: {integrity: sha512-Io1B6d011Gj1KknV4rXYz4le5+5EubcWEU/speUjuw9XMMIaP3n78yXLhjd2A3PXaXaUwEAluOiAyLqhBEJgsw==} - peerDependencies: - hono: '>=3.9.0' - zod: ^3.25.0 || ^4.0.0 - - '@img/colour@1.1.0': - resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} - engines: {node: '>=18'} - - '@img/sharp-darwin-arm64@0.34.5': - resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [darwin] - - '@img/sharp-darwin-x64@0.34.5': - resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [darwin] - - '@img/sharp-libvips-darwin-arm64@1.2.4': - resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==} - cpu: [arm64] - os: [darwin] - - '@img/sharp-libvips-darwin-x64@1.2.4': - resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==} - cpu: [x64] - os: [darwin] - - '@img/sharp-libvips-linux-arm64@1.2.4': - resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linux-arm@1.2.4': - resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==} - cpu: [arm] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linux-ppc64@1.2.4': - resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==} - cpu: [ppc64] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linux-riscv64@1.2.4': - resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==} - cpu: [riscv64] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linux-s390x@1.2.4': - resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==} - cpu: [s390x] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linux-x64@1.2.4': - resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@img/sharp-libvips-linuxmusl-arm64@1.2.4': - resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@img/sharp-libvips-linuxmusl-x64@1.2.4': - resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==} - cpu: [x64] - os: [linux] - libc: [musl] - - '@img/sharp-linux-arm64@0.34.5': - resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@img/sharp-linux-arm@0.34.5': - resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm] - os: [linux] - libc: [glibc] - - '@img/sharp-linux-ppc64@0.34.5': - resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [ppc64] - os: [linux] - libc: [glibc] - - '@img/sharp-linux-riscv64@0.34.5': - resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [riscv64] - os: [linux] - libc: [glibc] - - '@img/sharp-linux-s390x@0.34.5': - resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [s390x] - os: [linux] - libc: [glibc] - - '@img/sharp-linux-x64@0.34.5': - resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@img/sharp-linuxmusl-arm64@0.34.5': - resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@img/sharp-linuxmusl-x64@0.34.5': - resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [linux] - libc: [musl] - - '@img/sharp-wasm32@0.34.5': - resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [wasm32] - - '@img/sharp-win32-arm64@0.34.5': - resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [win32] - - '@img/sharp-win32-ia32@0.34.5': - resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [ia32] - os: [win32] - - '@img/sharp-win32-x64@0.34.5': - resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [win32] - - '@jridgewell/gen-mapping@0.3.13': - resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} - - '@jridgewell/remapping@2.3.5': - resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} - - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - - '@jridgewell/sourcemap-codec@1.5.5': - resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} - - '@jridgewell/trace-mapping@0.3.31': - resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - - '@jridgewell/trace-mapping@0.3.9': - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - - '@phosphor-icons/react@2.1.10': - resolution: {integrity: sha512-vt8Tvq8GLjheAZZYa+YG/pW7HDbov8El/MANW8pOAz4eGxrwhnbfrQZq0Cp4q8zBEu8NIhHdnr+r8thnfRSNYA==} - engines: {node: '>=10'} - peerDependencies: - react: '>= 16.8' - react-dom: '>= 16.8' - - '@poppinss/colors@4.1.6': - resolution: {integrity: sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==} - - '@poppinss/dumper@0.6.5': - resolution: {integrity: sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==} - - '@poppinss/exception@1.2.3': - resolution: {integrity: sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==} - - '@radix-ui/number@1.1.1': - resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==} - - '@radix-ui/primitive@1.1.3': - resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==} - - '@radix-ui/primitive@1.1.7': - resolution: {integrity: sha512-rqWnm76nYT8HoNNqEjpgJ7Pw/DrBj5iBTrmEPo6HTX5+VJyBNOqTdv4g89G63HuR5g0AaENoAcH7Is5fF2kZ8Q==} - - '@radix-ui/react-alert-dialog@1.1.23': - resolution: {integrity: sha512-VAYOiQRqj3GPpYJE0I9J+X8Ip05cyVlNdKOFeiGS2Ou1HHGfpl0BxOyZm6nmVDyU+W+NF3/XLzmjHmVGydhwgA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-arrow@1.1.7': - resolution: {integrity: sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-collection@1.1.7': - resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-compose-refs@1.1.2': - resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-compose-refs@1.1.5': - resolution: {integrity: sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-context@1.1.2': - resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-context@1.2.2': - resolution: {integrity: sha512-RHCUGwKHDr0hDGg4X7ma4JG4/+12qxw8rkh5QKdDldlCvtja6nUx1Ef/8HVrJze81lEsgLQlqjzjGNHantgnQA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-dialog@1.1.15': - resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-dialog@1.1.23': - resolution: {integrity: sha512-Ksw4WeROkO4rC9k/onilX/Ao2Cr1ku1unMNH+XSCcP4jSXYu7HDsg9n4ojMjVb22XpYjAQ9qfrFlVbru1vXDUA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-direction@1.1.1': - resolution: {integrity: sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-dismissable-layer@1.1.11': - resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-dismissable-layer@1.1.19': - resolution: {integrity: sha512-8g4pfOL9HoKKLWGiypT+dphVqjFfmcXO5GBnhsG6zI+lxAx/8feQpr+1LSN8Re3hiZ+XkLNS4O9ztK11/LzQ6w==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-dropdown-menu@2.1.16': - resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-focus-guards@1.1.3': - resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-focus-guards@1.1.6': - resolution: {integrity: sha512-RNOJjfZMTyBM6xYmV3IVGXkPjIhcBAuv48POevAXwrGJhkWZ9p1rFoIS1JFooPuT193AZmRsCPhpoVJxx6OPoQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-focus-scope@1.1.16': - resolution: {integrity: sha512-wmRZ2WWLvmt6KHy2rNPOdPUjwq5xOHY02+m+udwJTn0aNIox/rkskAvJTyTLGhPK6KgrUjlJUJpgmx/+wFiFIQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-focus-scope@1.1.7': - resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-id@1.1.1': - resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-id@1.1.4': - resolution: {integrity: sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-label@2.1.8': - resolution: {integrity: sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-menu@2.1.16': - resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-popover@1.1.15': - resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-popper@1.2.8': - resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-portal@1.1.17': - resolution: {integrity: sha512-vKQLcWypUnwZVvfV7UkGahH2g6ySe8M8R+zYBwPrv5byZ9QAW6cQVvNKo7GgmD+p8aYb6D9JBuvy8/WhOno2wQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-portal@1.1.9': - resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-presence@1.1.10': - resolution: {integrity: sha512-3wyzCQ6+ubRA+D4uv9m95JYLXxmOHp05qjrkjeA7uKHHtjpPggQzc6DAb0URl7j67oR0K2foO4ip27TiX037Bw==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-presence@1.1.5': - resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-primitive@2.1.10': - resolution: {integrity: sha512-MucOnzh6hR5mid6VpkbglRAMYMjKLqRnGBbjXkzjK52fuQDd1qbkx78a5P40mkcnVXJdEVxm26E9OPAiUq7nBg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-primitive@2.1.3': - resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-primitive@2.1.4': - resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-roving-focus@1.1.11': - resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-scroll-area@1.2.10': - resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-select@2.2.6': - resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-separator@1.1.8': - resolution: {integrity: sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-slot@1.2.3': - resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-slot@1.2.4': - resolution: {integrity: sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-slot@1.3.3': - resolution: {integrity: sha512-qx7oqnYbxnK9kYI9m317qmFmEgo6ywqWvbTogdj7cL9p3/yx4M48p7Rnw5z3H890cL/ow/EeWJsuTykeZVXP5Q==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-tabs@1.1.13': - resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-tooltip@1.2.8': - resolution: {integrity: sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/react-use-callback-ref@1.1.1': - resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-callback-ref@1.1.4': - resolution: {integrity: sha512-R6OUY2e2fA6Yn6s+VSx5KBV6Nx8LQEhu+cz7LCej18rQ1HLyg9PSC9jP/ZNx0o6FAIK9c0F1kHylzSxKsdlkrQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-controllable-state@1.2.2': - resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-controllable-state@1.2.6': - resolution: {integrity: sha512-uEQJGT97ZA/TgP/Hydw47lHu+/vQj6z/0jA+WeTbK1o9Rx45GImjpD0tc3W5ad3D6XTSR6e1yEO0FvGq6WQfVQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-effect-event@0.0.2': - resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-effect-event@0.0.5': - resolution: {integrity: sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-escape-keydown@1.1.1': - resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-layout-effect@1.1.1': - resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-layout-effect@1.1.4': - resolution: {integrity: sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-previous@1.1.1': - resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-rect@1.1.1': - resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-use-size@1.1.1': - resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==} - peerDependencies: - '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - '@radix-ui/react-visually-hidden@1.2.3': - resolution: {integrity: sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - - '@radix-ui/rect@1.1.1': - resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==} - - '@rolldown/pluginutils@1.0.0-beta.27': - resolution: {integrity: sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==} - - '@rollup/rollup-android-arm-eabi@4.60.2': - resolution: {integrity: sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==} - cpu: [arm] - os: [android] - - '@rollup/rollup-android-arm64@4.60.2': - resolution: {integrity: sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==} - cpu: [arm64] - os: [android] - - '@rollup/rollup-darwin-arm64@4.60.2': - resolution: {integrity: sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==} - cpu: [arm64] - os: [darwin] - - '@rollup/rollup-darwin-x64@4.60.2': - resolution: {integrity: sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==} - cpu: [x64] - os: [darwin] - - '@rollup/rollup-freebsd-arm64@4.60.2': - resolution: {integrity: sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==} - cpu: [arm64] - os: [freebsd] - - '@rollup/rollup-freebsd-x64@4.60.2': - resolution: {integrity: sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==} - cpu: [x64] - os: [freebsd] - - '@rollup/rollup-linux-arm-gnueabihf@4.60.2': - resolution: {integrity: sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==} - cpu: [arm] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-arm-musleabihf@4.60.2': - resolution: {integrity: sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==} - cpu: [arm] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-arm64-gnu@4.60.2': - resolution: {integrity: sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-arm64-musl@4.60.2': - resolution: {integrity: sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-loong64-gnu@4.60.2': - resolution: {integrity: sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==} - cpu: [loong64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-loong64-musl@4.60.2': - resolution: {integrity: sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==} - cpu: [loong64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-ppc64-gnu@4.60.2': - resolution: {integrity: sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==} - cpu: [ppc64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-ppc64-musl@4.60.2': - resolution: {integrity: sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==} - cpu: [ppc64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-riscv64-gnu@4.60.2': - resolution: {integrity: sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==} - cpu: [riscv64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-riscv64-musl@4.60.2': - resolution: {integrity: sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==} - cpu: [riscv64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-s390x-gnu@4.60.2': - resolution: {integrity: sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==} - cpu: [s390x] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-x64-gnu@4.60.2': - resolution: {integrity: sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-x64-musl@4.60.2': - resolution: {integrity: sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==} - cpu: [x64] - os: [linux] - libc: [musl] - - '@rollup/rollup-openbsd-x64@4.60.2': - resolution: {integrity: sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==} - cpu: [x64] - os: [openbsd] - - '@rollup/rollup-openharmony-arm64@4.60.2': - resolution: {integrity: sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==} - cpu: [arm64] - os: [openharmony] - - '@rollup/rollup-win32-arm64-msvc@4.60.2': - resolution: {integrity: sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==} - cpu: [arm64] - os: [win32] - - '@rollup/rollup-win32-ia32-msvc@4.60.2': - resolution: {integrity: sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==} - cpu: [ia32] - os: [win32] - - '@rollup/rollup-win32-x64-gnu@4.60.2': - resolution: {integrity: sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==} - cpu: [x64] - os: [win32] - - '@rollup/rollup-win32-x64-msvc@4.60.2': - resolution: {integrity: sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==} - cpu: [x64] - os: [win32] - - '@sindresorhus/is@7.2.0': - resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==} - engines: {node: '>=18'} - - '@speed-highlight/core@1.2.15': - resolution: {integrity: sha512-BMq1K3DsElxDWawkX6eLg9+CKJrTVGCBAWVuHXVUV2u0s2711qiChLSId6ikYPfxhdYocLNt3wWwSvDiTvFabw==} - - '@tailwindcss/node@4.2.4': - resolution: {integrity: sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==} - - '@tailwindcss/oxide-android-arm64@4.2.4': - resolution: {integrity: sha512-e7MOr1SAn9U8KlZzPi1ZXGZHeC5anY36qjNwmZv9pOJ8E4Q6jmD1vyEHkQFmNOIN7twGPEMXRHmitN4zCMN03g==} - engines: {node: '>= 20'} - cpu: [arm64] - os: [android] - - '@tailwindcss/oxide-darwin-arm64@4.2.4': - resolution: {integrity: sha512-tSC/Kbqpz/5/o/C2sG7QvOxAKqyd10bq+ypZNf+9Fi2TvbVbv1zNpcEptcsU7DPROaSbVgUXmrzKhurFvo5eDg==} - engines: {node: '>= 20'} - cpu: [arm64] - os: [darwin] - - '@tailwindcss/oxide-darwin-x64@4.2.4': - resolution: {integrity: sha512-yPyUXn3yO/ufR6+Kzv0t4fCg2qNr90jxXc5QqBpjlPNd0NqyDXcmQb/6weunH/MEDXW5dhyEi+agTDiqa3WsGg==} - engines: {node: '>= 20'} - cpu: [x64] - os: [darwin] - - '@tailwindcss/oxide-freebsd-x64@4.2.4': - resolution: {integrity: sha512-BoMIB4vMQtZsXdGLVc2z+P9DbETkiopogfWZKbWwM8b/1Vinbs4YcUwo+kM/KeLkX3Ygrf4/PsRndKaYhS8Eiw==} - engines: {node: '>= 20'} - cpu: [x64] - os: [freebsd] - - '@tailwindcss/oxide-linux-arm-gnueabihf@4.2.4': - resolution: {integrity: sha512-7pIHBLTHYRAlS7V22JNuTh33yLH4VElwKtB3bwchK/UaKUPpQ0lPQiOWcbm4V3WP2I6fNIJ23vABIvoy2izdwA==} - engines: {node: '>= 20'} - cpu: [arm] - os: [linux] - - '@tailwindcss/oxide-linux-arm64-gnu@4.2.4': - resolution: {integrity: sha512-+E4wxJ0ZGOzSH325reXTWB48l42i93kQqMvDyz5gqfRzRZ7faNhnmvlV4EPGJU3QJM/3Ab5jhJ5pCRUsKn6OQw==} - engines: {node: '>= 20'} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@tailwindcss/oxide-linux-arm64-musl@4.2.4': - resolution: {integrity: sha512-bBADEGAbo4ASnppIziaQJelekCxdMaxisrk+fB7Thit72IBnALp9K6ffA2G4ruj90G9XRS2VQ6q2bCKbfFV82g==} - engines: {node: '>= 20'} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@tailwindcss/oxide-linux-x64-gnu@4.2.4': - resolution: {integrity: sha512-7Mx25E4WTfnht0TVRTyC00j3i0M+EeFe7wguMDTlX4mRxafznw0CA8WJkFjWYH5BlgELd1kSjuU2JiPnNZbJDA==} - engines: {node: '>= 20'} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@tailwindcss/oxide-linux-x64-musl@4.2.4': - resolution: {integrity: sha512-2wwJRF7nyhOR0hhHoChc04xngV3iS+akccHTGtz965FwF0up4b2lOdo6kI1EbDaEXKgvcrFBYcYQQ/rrnWFVfA==} - engines: {node: '>= 20'} - cpu: [x64] - os: [linux] - libc: [musl] - - '@tailwindcss/oxide-wasm32-wasi@4.2.4': - resolution: {integrity: sha512-FQsqApeor8Fo6gUEklzmaa9994orJZZDBAlQpK2Mq+DslRKFJeD6AjHpBQ0kZFQohVr8o85PPh8eOy86VlSCmw==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - bundledDependencies: - - '@napi-rs/wasm-runtime' - - '@emnapi/core' - - '@emnapi/runtime' - - '@tybys/wasm-util' - - '@emnapi/wasi-threads' - - tslib - - '@tailwindcss/oxide-win32-arm64-msvc@4.2.4': - resolution: {integrity: sha512-L9BXqxC4ToVgwMFqj3pmZRqyHEztulpUJzCxUtLjobMCzTPsGt1Fa9enKbOpY2iIyVtaHNeNvAK8ERP/64sqGQ==} - engines: {node: '>= 20'} - cpu: [arm64] - os: [win32] - - '@tailwindcss/oxide-win32-x64-msvc@4.2.4': - resolution: {integrity: sha512-ESlKG0EpVJQwRjXDDa9rLvhEAh0mhP1sF7sap9dNZT0yyl9SAG6T7gdP09EH0vIv0UNTlo6jPWyujD6559fZvw==} - engines: {node: '>= 20'} - cpu: [x64] - os: [win32] - - '@tailwindcss/oxide@4.2.4': - resolution: {integrity: sha512-9El/iI069DKDSXwTvB9J4BwdO5JhRrOweGaK25taBAvBXyXqJAX+Jqdvs8r8gKpsI/1m0LeJLyQYTf/WLrBT1Q==} - engines: {node: '>= 20'} - - '@tailwindcss/vite@4.2.4': - resolution: {integrity: sha512-pCvohwOCspk3ZFn6eJzrrX3g4n2JY73H6MmYC87XfGPyTty4YsCjYTMArRZm/zOI8dIt3+EcrLHAFPe5A4bgtw==} - peerDependencies: - vite: ^5.2.0 || ^6 || ^7 || ^8 - - '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - - '@types/babel__generator@7.27.0': - resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==} - - '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - - '@types/babel__traverse@7.28.0': - resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==} - - '@types/estree@1.0.8': - resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} - - '@types/react-dom@19.2.3': - resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==} - peerDependencies: - '@types/react': ^19.2.0 - - '@types/react@19.2.14': - resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==} - - '@vitejs/plugin-react@4.7.0': - resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 - - ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - - ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - - aria-hidden@1.2.6: - resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==} - engines: {node: '>=10'} - - baseline-browser-mapping@2.10.24: - resolution: {integrity: sha512-I2NkZOOrj2XuguvWCK6OVh9GavsNjZjK908Rq3mIBK25+GD8vPX5w2WdxVqnQ7xx3SrZJiCiZFu+/Oz50oSYSA==} - engines: {node: '>=6.0.0'} - hasBin: true - - blake3-wasm@2.1.5: - resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==} - - browserslist@4.28.2: - resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - - caniuse-lite@1.0.30001791: - resolution: {integrity: sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==} - - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - - class-variance-authority@0.7.1: - resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==} - - cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} - - clsx@2.1.1: - resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} - engines: {node: '>=6'} - - color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - - color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - - concurrently@9.2.1: - resolution: {integrity: sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==} - engines: {node: '>=18'} - hasBin: true - - convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - - cookie@1.1.1: - resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==} - engines: {node: '>=18'} - - csstype@3.2.3: - resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} - - debug@4.4.3: - resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - - detect-libc@2.1.2: - resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} - engines: {node: '>=8'} - - detect-node-es@1.1.0: - resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==} - - drizzle-orm@0.45.2: - resolution: {integrity: sha512-kY0BSaTNYWnoDMVoyY8uxmyHjpJW1geOmBMdSSicKo9CIIWkSxMIj2rkeSR51b8KAPB7m+qysjuHme5nKP+E5Q==} - peerDependencies: - '@aws-sdk/client-rds-data': '>=3' - '@cloudflare/workers-types': '>=4' - '@electric-sql/pglite': '>=0.2.0' - '@libsql/client': '>=0.10.0' - '@libsql/client-wasm': '>=0.10.0' - '@neondatabase/serverless': '>=0.10.0' - '@op-engineering/op-sqlite': '>=2' - '@opentelemetry/api': ^1.4.1 - '@planetscale/database': '>=1.13' - '@prisma/client': '*' - '@tidbcloud/serverless': '*' - '@types/better-sqlite3': '*' - '@types/pg': '*' - '@types/sql.js': '*' - '@upstash/redis': '>=1.34.7' - '@vercel/postgres': '>=0.8.0' - '@xata.io/client': '*' - better-sqlite3: '>=7' - bun-types: '*' - expo-sqlite: '>=14.0.0' - gel: '>=2' - knex: '*' - kysely: '*' - mysql2: '>=2' - pg: '>=8' - postgres: '>=3' - prisma: '*' - sql.js: '>=1' - sqlite3: '>=5' - peerDependenciesMeta: - '@aws-sdk/client-rds-data': - optional: true - '@cloudflare/workers-types': - optional: true - '@electric-sql/pglite': - optional: true - '@libsql/client': - optional: true - '@libsql/client-wasm': - optional: true - '@neondatabase/serverless': - optional: true - '@op-engineering/op-sqlite': - optional: true - '@opentelemetry/api': - optional: true - '@planetscale/database': - optional: true - '@prisma/client': - optional: true - '@tidbcloud/serverless': - optional: true - '@types/better-sqlite3': - optional: true - '@types/pg': - optional: true - '@types/sql.js': - optional: true - '@upstash/redis': - optional: true - '@vercel/postgres': - optional: true - '@xata.io/client': - optional: true - better-sqlite3: - optional: true - bun-types: - optional: true - expo-sqlite: - optional: true - gel: - optional: true - knex: - optional: true - kysely: - optional: true - mysql2: - optional: true - pg: - optional: true - postgres: - optional: true - prisma: - optional: true - sql.js: - optional: true - sqlite3: - optional: true - - electron-to-chromium@1.5.344: - resolution: {integrity: sha512-4MxfbmNDm+KPh066EZy+eUnkcDPcZ35wNmOWzFuh/ijvHsve6kbLTLURy88uCNK5FbpN+yk2nQY6BYh1GEt+wg==} - - emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - - enhanced-resolve@5.21.0: - resolution: {integrity: sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==} - engines: {node: '>=10.13.0'} - - error-stack-parser-es@1.0.5: - resolution: {integrity: sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==} - - esbuild@0.25.12: - resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==} - engines: {node: '>=18'} - hasBin: true - - esbuild@0.27.3: - resolution: {integrity: sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==} - engines: {node: '>=18'} - hasBin: true - - escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} - - fdir@6.5.0: - resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} - engines: {node: '>=12.0.0'} - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true - - fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - - gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - - get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - - get-nonce@1.0.1: - resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} - engines: {node: '>=6'} - - graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - - has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - - hono@4.12.15: - resolution: {integrity: sha512-qM0jDhFEaCBb4TxoW7f53Qrpv9RBiayUHo0S52JudprkhvpjIrGoU1mnnr29Fvd1U335ZFPZQY1wlkqgfGXyLg==} - engines: {node: '>=16.9.0'} - - is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - - jiti@2.6.1: - resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} - hasBin: true - - js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - - jsesc@3.1.0: - resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} - engines: {node: '>=6'} - hasBin: true - - json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - - kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - - lightningcss-android-arm64@1.32.0: - resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} - engines: {node: '>= 12.0.0'} - cpu: [arm64] - os: [android] - - lightningcss-darwin-arm64@1.32.0: - resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} - engines: {node: '>= 12.0.0'} - cpu: [arm64] - os: [darwin] - - lightningcss-darwin-x64@1.32.0: - resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} - engines: {node: '>= 12.0.0'} - cpu: [x64] - os: [darwin] - - lightningcss-freebsd-x64@1.32.0: - resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} - engines: {node: '>= 12.0.0'} - cpu: [x64] - os: [freebsd] - - lightningcss-linux-arm-gnueabihf@1.32.0: - resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} - engines: {node: '>= 12.0.0'} - cpu: [arm] - os: [linux] - - lightningcss-linux-arm64-gnu@1.32.0: - resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} - engines: {node: '>= 12.0.0'} - cpu: [arm64] - os: [linux] - libc: [glibc] - - lightningcss-linux-arm64-musl@1.32.0: - resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} - engines: {node: '>= 12.0.0'} - cpu: [arm64] - os: [linux] - libc: [musl] - - lightningcss-linux-x64-gnu@1.32.0: - resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} - engines: {node: '>= 12.0.0'} - cpu: [x64] - os: [linux] - libc: [glibc] - - lightningcss-linux-x64-musl@1.32.0: - resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} - engines: {node: '>= 12.0.0'} - cpu: [x64] - os: [linux] - libc: [musl] - - lightningcss-win32-arm64-msvc@1.32.0: - resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} - engines: {node: '>= 12.0.0'} - cpu: [arm64] - os: [win32] - - lightningcss-win32-x64-msvc@1.32.0: - resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} - engines: {node: '>= 12.0.0'} - cpu: [x64] - os: [win32] - - lightningcss@1.32.0: - resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} - engines: {node: '>= 12.0.0'} - - lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - - lucide-react@0.575.0: - resolution: {integrity: sha512-VuXgKZrk0uiDlWjGGXmKV6MSk9Yy4l10qgVvzGn2AWBx1Ylt0iBexKOAoA6I7JO3m+M9oeovJd3yYENfkUbOeg==} - peerDependencies: - react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 - - magic-string@0.30.21: - resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} - - miniflare@4.20260426.0: - resolution: {integrity: sha512-KM+v76d04qT+NsPfVKVQEgnnuLNE3uzCCl2QKMTJ5OXor5JbBm1vpkQwQ+l7o5ELCrZ74RnyKhJKLiJyUA39Tw==} - engines: {node: '>=18.0.0'} - hasBin: true - - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - - nanoid@3.3.11: - resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - - node-releases@2.0.38: - resolution: {integrity: sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==} - - openapi3-ts@4.6.1: - resolution: {integrity: sha512-XW9MOldkhoICNeXVzzmXzmOW5G73ppOEGmh7fLCqHjgfdEYCGGN+00MlVCeUZgovjjfC56j9tvtDt1zGabNjjA==} - - path-to-regexp@6.3.0: - resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} - - pathe@2.0.3: - resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} - - picocolors@1.1.1: - resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - - picomatch@4.0.4: - resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} - engines: {node: '>=12'} - - postcss@8.5.12: - resolution: {integrity: sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==} - engines: {node: ^10 || ^12 || >=14} - - react-dom@19.2.5: - resolution: {integrity: sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==} - peerDependencies: - react: ^19.2.5 - - react-refresh@0.17.0: - resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==} - engines: {node: '>=0.10.0'} - - react-remove-scroll-bar@2.3.8: - resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==} - engines: {node: '>=10'} - peerDependencies: - '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - '@types/react': - optional: true - - react-remove-scroll@2.7.2: - resolution: {integrity: sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==} - engines: {node: '>=10'} - peerDependencies: - '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - react-style-singleton@2.2.3: - resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==} - engines: {node: '>=10'} - peerDependencies: - '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - react@19.2.5: - resolution: {integrity: sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==} - engines: {node: '>=0.10.0'} - - require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} - - rollup@4.60.2: - resolution: {integrity: sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - - rxjs@7.8.2: - resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==} - - scheduler@0.27.0: - resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==} - - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - - semver@7.7.4: - resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} - engines: {node: '>=10'} - hasBin: true - - sharp@0.34.5: - resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - - shell-quote@1.8.3: - resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==} - engines: {node: '>= 0.4'} - - source-map-js@1.2.1: - resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} - engines: {node: '>=0.10.0'} - - string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - - strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - - supports-color@10.2.2: - resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==} - engines: {node: '>=18'} - - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - - supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - - tailwind-merge@2.6.1: - resolution: {integrity: sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==} - - tailwindcss@4.2.4: - resolution: {integrity: sha512-HhKppgO81FQof5m6TEnuBWCZGgfRAWbaeOaGT00KOy/Pf/j6oUihdvBpA7ltCeAvZpFhW3j0PTclkxsd4IXYDA==} - - tapable@2.3.3: - resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} - engines: {node: '>=6'} - - tinyglobby@0.2.16: - resolution: {integrity: sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==} - engines: {node: '>=12.0.0'} - - tree-kill@1.2.2: - resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} - hasBin: true - - tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} - hasBin: true - - undici@7.24.8: - resolution: {integrity: sha512-6KQ/+QxK49Z/p3HO6E5ZCZWNnCasyZLa5ExaVYyvPxUwKtbCPMKELJOqh7EqOle0t9cH/7d2TaaTRRa6Nhs4YQ==} - engines: {node: '>=20.18.1'} - - unenv@2.0.0-rc.24: - resolution: {integrity: sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==} - - update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - - use-callback-ref@1.3.3: - resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} - engines: {node: '>=10'} - peerDependencies: - '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - use-sidecar@1.1.3: - resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==} - engines: {node: '>=10'} - peerDependencies: - '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - - vite@6.4.2: - resolution: {integrity: sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: '>=1.21.0' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - '@types/node': - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - - workerd@1.20260426.1: - resolution: {integrity: sha512-ELvGgN8c9oo+E6EPyecxk1TEf6/eAK4TxxQTW5mQ87C7jbjCzhMbg0P2ije49UBHV0dkBYPJcJvcklUltipl2A==} - engines: {node: '>=16'} - hasBin: true - - wrangler@4.86.0: - resolution: {integrity: sha512-9aa/gbF/HiUeeUEwyQpW5LDPBEzyt7iaE6xHwm0vk2Ly8A6J+jh03pzchqVnCCWR832mNyA28MD8oAYt0Kfvlw==} - engines: {node: '>=20.3.0'} - hasBin: true - peerDependencies: - '@cloudflare/workers-types': ^4.20260426.1 - peerDependenciesMeta: - '@cloudflare/workers-types': - optional: true - - wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - - ws@8.18.0: - 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 - - y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} - - yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - - yaml@2.9.0: - resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} - engines: {node: '>= 14.6'} - hasBin: true - - yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} - - yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} - - youch-core@0.3.3: - resolution: {integrity: sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==} - - youch@4.1.0-beta.10: - resolution: {integrity: sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==} - - zod@3.25.76: - resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} - -snapshots: - - '@asteasolutions/zod-to-openapi@7.3.4(zod@3.25.76)': - dependencies: - openapi3-ts: 4.6.1 - zod: 3.25.76 - - '@babel/code-frame@7.29.0': - dependencies: - '@babel/helper-validator-identifier': 7.28.5 - js-tokens: 4.0.0 - picocolors: 1.1.1 - - '@babel/compat-data@7.29.0': {} - - '@babel/core@7.29.0(supports-color@10.2.2)': - dependencies: - '@babel/code-frame': 7.29.0 - '@babel/generator': 7.29.1 - '@babel/helper-compilation-targets': 7.28.6 - '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0(supports-color@10.2.2))(supports-color@10.2.2) - '@babel/helpers': 7.29.2 - '@babel/parser': 7.29.2 - '@babel/template': 7.28.6 - '@babel/traverse': 7.29.0(supports-color@10.2.2) - '@babel/types': 7.29.0 - '@jridgewell/remapping': 2.3.5 - convert-source-map: 2.0.0 - debug: 4.4.3(supports-color@10.2.2) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - '@babel/generator@7.29.1': - dependencies: - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - '@jridgewell/gen-mapping': 0.3.13 - '@jridgewell/trace-mapping': 0.3.31 - jsesc: 3.1.0 - - '@babel/helper-compilation-targets@7.28.6': - dependencies: - '@babel/compat-data': 7.29.0 - '@babel/helper-validator-option': 7.27.1 - browserslist: 4.28.2 - lru-cache: 5.1.1 - semver: 6.3.1 - - '@babel/helper-globals@7.28.0': {} - - '@babel/helper-module-imports@7.28.6(supports-color@10.2.2)': - dependencies: - '@babel/traverse': 7.29.0(supports-color@10.2.2) - '@babel/types': 7.29.0 - transitivePeerDependencies: - - supports-color - - '@babel/helper-module-transforms@7.28.6(@babel/core@7.29.0(supports-color@10.2.2))(supports-color@10.2.2)': - dependencies: - '@babel/core': 7.29.0(supports-color@10.2.2) - '@babel/helper-module-imports': 7.28.6(supports-color@10.2.2) - '@babel/helper-validator-identifier': 7.28.5 - '@babel/traverse': 7.29.0(supports-color@10.2.2) - transitivePeerDependencies: - - supports-color - - '@babel/helper-plugin-utils@7.28.6': {} - - '@babel/helper-string-parser@7.27.1': {} - - '@babel/helper-validator-identifier@7.28.5': {} - - '@babel/helper-validator-option@7.27.1': {} - - '@babel/helpers@7.29.2': - dependencies: - '@babel/template': 7.28.6 - '@babel/types': 7.29.0 - - '@babel/parser@7.29.2': - dependencies: - '@babel/types': 7.29.0 - - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.29.0(supports-color@10.2.2))': - dependencies: - '@babel/core': 7.29.0(supports-color@10.2.2) - '@babel/helper-plugin-utils': 7.28.6 - - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.29.0(supports-color@10.2.2))': - dependencies: - '@babel/core': 7.29.0(supports-color@10.2.2) - '@babel/helper-plugin-utils': 7.28.6 - - '@babel/template@7.28.6': - dependencies: - '@babel/code-frame': 7.29.0 - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - - '@babel/traverse@7.29.0(supports-color@10.2.2)': - dependencies: - '@babel/code-frame': 7.29.0 - '@babel/generator': 7.29.1 - '@babel/helper-globals': 7.28.0 - '@babel/parser': 7.29.2 - '@babel/template': 7.28.6 - '@babel/types': 7.29.0 - debug: 4.4.3(supports-color@10.2.2) - transitivePeerDependencies: - - supports-color - - '@babel/types@7.29.0': - dependencies: - '@babel/helper-string-parser': 7.27.1 - '@babel/helper-validator-identifier': 7.28.5 - - '@clawnify/app@0.4.8(@cloudflare/workers-types@4.20260426.1)(@hono/zod-openapi@0.19.10(hono@4.12.15)(zod@3.25.76))(@phosphor-icons/react@2.1.10(react-dom@19.2.5(react@19.2.5))(react@19.2.5))(hono@4.12.15)(react@19.2.5)': - dependencies: - '@clawnify/db': 0.4.3(@cloudflare/workers-types@4.20260426.1) - '@clawnify/routes': 0.3.0(@hono/zod-openapi@0.19.10(hono@4.12.15)(zod@3.25.76))(hono@4.12.15) - '@hono/zod-openapi': 0.19.10(hono@4.12.15)(zod@3.25.76) - hono: 4.12.15 - optionalDependencies: - '@phosphor-icons/react': 2.1.10(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - transitivePeerDependencies: - - '@aws-sdk/client-rds-data' - - '@cloudflare/workers-types' - - '@electric-sql/pglite' - - '@libsql/client' - - '@libsql/client-wasm' - - '@neondatabase/serverless' - - '@op-engineering/op-sqlite' - - '@opentelemetry/api' - - '@planetscale/database' - - '@prisma/client' - - '@tidbcloud/serverless' - - '@types/better-sqlite3' - - '@types/pg' - - '@types/sql.js' - - '@upstash/redis' - - '@vercel/postgres' - - '@xata.io/client' - - better-sqlite3 - - bun-types - - expo-sqlite - - gel - - knex - - kysely - - mysql2 - - pg - - postgres - - prisma - - sql.js - - sqlite3 - - '@clawnify/db@0.4.3(@cloudflare/workers-types@4.20260426.1)': - dependencies: - drizzle-orm: 0.45.2(@cloudflare/workers-types@4.20260426.1) - transitivePeerDependencies: - - '@aws-sdk/client-rds-data' - - '@cloudflare/workers-types' - - '@electric-sql/pglite' - - '@libsql/client' - - '@libsql/client-wasm' - - '@neondatabase/serverless' - - '@op-engineering/op-sqlite' - - '@opentelemetry/api' - - '@planetscale/database' - - '@prisma/client' - - '@tidbcloud/serverless' - - '@types/better-sqlite3' - - '@types/pg' - - '@types/sql.js' - - '@upstash/redis' - - '@vercel/postgres' - - '@xata.io/client' - - better-sqlite3 - - bun-types - - expo-sqlite - - gel - - knex - - kysely - - mysql2 - - pg - - postgres - - prisma - - sql.js - - sqlite3 - - '@clawnify/routes@0.3.0(@hono/zod-openapi@0.19.10(hono@4.12.15)(zod@3.25.76))(hono@4.12.15)': - dependencies: - '@hono/zod-openapi': 0.19.10(hono@4.12.15)(zod@3.25.76) - hono: 4.12.15 - - '@cloudflare/kv-asset-handler@0.4.2': {} - - '@cloudflare/unenv-preset@2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260426.1)': - dependencies: - unenv: 2.0.0-rc.24 - optionalDependencies: - workerd: 1.20260426.1 - - '@cloudflare/workerd-darwin-64@1.20260426.1': - optional: true - - '@cloudflare/workerd-darwin-arm64@1.20260426.1': - optional: true - - '@cloudflare/workerd-linux-64@1.20260426.1': - optional: true - - '@cloudflare/workerd-linux-arm64@1.20260426.1': - optional: true - - '@cloudflare/workerd-windows-64@1.20260426.1': - optional: true - - '@cloudflare/workers-types@4.20260426.1': {} - - '@cspotcode/source-map-support@0.8.1': - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - - '@emnapi/runtime@1.10.0': - dependencies: - tslib: 2.8.1 - optional: true - - '@esbuild/aix-ppc64@0.25.12': - optional: true - - '@esbuild/aix-ppc64@0.27.3': - optional: true - - '@esbuild/android-arm64@0.25.12': - optional: true - - '@esbuild/android-arm64@0.27.3': - optional: true - - '@esbuild/android-arm@0.25.12': - optional: true - - '@esbuild/android-arm@0.27.3': - optional: true - - '@esbuild/android-x64@0.25.12': - optional: true - - '@esbuild/android-x64@0.27.3': - optional: true - - '@esbuild/darwin-arm64@0.25.12': - optional: true - - '@esbuild/darwin-arm64@0.27.3': - optional: true - - '@esbuild/darwin-x64@0.25.12': - optional: true - - '@esbuild/darwin-x64@0.27.3': - optional: true - - '@esbuild/freebsd-arm64@0.25.12': - optional: true - - '@esbuild/freebsd-arm64@0.27.3': - optional: true - - '@esbuild/freebsd-x64@0.25.12': - optional: true - - '@esbuild/freebsd-x64@0.27.3': - optional: true - - '@esbuild/linux-arm64@0.25.12': - optional: true - - '@esbuild/linux-arm64@0.27.3': - optional: true - - '@esbuild/linux-arm@0.25.12': - optional: true - - '@esbuild/linux-arm@0.27.3': - optional: true - - '@esbuild/linux-ia32@0.25.12': - optional: true - - '@esbuild/linux-ia32@0.27.3': - optional: true - - '@esbuild/linux-loong64@0.25.12': - optional: true - - '@esbuild/linux-loong64@0.27.3': - optional: true - - '@esbuild/linux-mips64el@0.25.12': - optional: true - - '@esbuild/linux-mips64el@0.27.3': - optional: true - - '@esbuild/linux-ppc64@0.25.12': - optional: true - - '@esbuild/linux-ppc64@0.27.3': - optional: true - - '@esbuild/linux-riscv64@0.25.12': - optional: true - - '@esbuild/linux-riscv64@0.27.3': - optional: true - - '@esbuild/linux-s390x@0.25.12': - optional: true - - '@esbuild/linux-s390x@0.27.3': - optional: true - - '@esbuild/linux-x64@0.25.12': - optional: true - - '@esbuild/linux-x64@0.27.3': - optional: true - - '@esbuild/netbsd-arm64@0.25.12': - optional: true - - '@esbuild/netbsd-arm64@0.27.3': - optional: true - - '@esbuild/netbsd-x64@0.25.12': - optional: true - - '@esbuild/netbsd-x64@0.27.3': - optional: true - - '@esbuild/openbsd-arm64@0.25.12': - optional: true - - '@esbuild/openbsd-arm64@0.27.3': - optional: true - - '@esbuild/openbsd-x64@0.25.12': - optional: true - - '@esbuild/openbsd-x64@0.27.3': - optional: true - - '@esbuild/openharmony-arm64@0.25.12': - optional: true - - '@esbuild/openharmony-arm64@0.27.3': - optional: true - - '@esbuild/sunos-x64@0.25.12': - optional: true - - '@esbuild/sunos-x64@0.27.3': - optional: true - - '@esbuild/win32-arm64@0.25.12': - optional: true - - '@esbuild/win32-arm64@0.27.3': - optional: true - - '@esbuild/win32-ia32@0.25.12': - optional: true - - '@esbuild/win32-ia32@0.27.3': - optional: true - - '@esbuild/win32-x64@0.25.12': - optional: true - - '@esbuild/win32-x64@0.27.3': - optional: true - - '@floating-ui/core@1.7.5': - dependencies: - '@floating-ui/utils': 0.2.11 - - '@floating-ui/dom@1.7.6': - dependencies: - '@floating-ui/core': 1.7.5 - '@floating-ui/utils': 0.2.11 - - '@floating-ui/react-dom@2.1.8(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@floating-ui/dom': 1.7.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - - '@floating-ui/utils@0.2.11': {} - - '@hono/zod-openapi@0.19.10(hono@4.12.15)(zod@3.25.76)': - dependencies: - '@asteasolutions/zod-to-openapi': 7.3.4(zod@3.25.76) - '@hono/zod-validator': 0.7.6(hono@4.12.15)(zod@3.25.76) - hono: 4.12.15 - openapi3-ts: 4.6.1 - zod: 3.25.76 - - '@hono/zod-validator@0.7.6(hono@4.12.15)(zod@3.25.76)': - dependencies: - hono: 4.12.15 - zod: 3.25.76 - - '@img/colour@1.1.0': {} - - '@img/sharp-darwin-arm64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-darwin-arm64': 1.2.4 - optional: true - - '@img/sharp-darwin-x64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-darwin-x64': 1.2.4 - optional: true - - '@img/sharp-libvips-darwin-arm64@1.2.4': - optional: true - - '@img/sharp-libvips-darwin-x64@1.2.4': - optional: true - - '@img/sharp-libvips-linux-arm64@1.2.4': - optional: true - - '@img/sharp-libvips-linux-arm@1.2.4': - optional: true - - '@img/sharp-libvips-linux-ppc64@1.2.4': - optional: true - - '@img/sharp-libvips-linux-riscv64@1.2.4': - optional: true - - '@img/sharp-libvips-linux-s390x@1.2.4': - optional: true - - '@img/sharp-libvips-linux-x64@1.2.4': - optional: true - - '@img/sharp-libvips-linuxmusl-arm64@1.2.4': - optional: true - - '@img/sharp-libvips-linuxmusl-x64@1.2.4': - optional: true - - '@img/sharp-linux-arm64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-arm64': 1.2.4 - optional: true - - '@img/sharp-linux-arm@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-arm': 1.2.4 - optional: true - - '@img/sharp-linux-ppc64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-ppc64': 1.2.4 - optional: true - - '@img/sharp-linux-riscv64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-riscv64': 1.2.4 - optional: true - - '@img/sharp-linux-s390x@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-s390x': 1.2.4 - optional: true - - '@img/sharp-linux-x64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linux-x64': 1.2.4 - optional: true - - '@img/sharp-linuxmusl-arm64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linuxmusl-arm64': 1.2.4 - optional: true - - '@img/sharp-linuxmusl-x64@0.34.5': - optionalDependencies: - '@img/sharp-libvips-linuxmusl-x64': 1.2.4 - optional: true - - '@img/sharp-wasm32@0.34.5': - dependencies: - '@emnapi/runtime': 1.10.0 - optional: true - - '@img/sharp-win32-arm64@0.34.5': - optional: true - - '@img/sharp-win32-ia32@0.34.5': - optional: true - - '@img/sharp-win32-x64@0.34.5': - optional: true - - '@jridgewell/gen-mapping@0.3.13': - dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 - '@jridgewell/trace-mapping': 0.3.31 - - '@jridgewell/remapping@2.3.5': - dependencies: - '@jridgewell/gen-mapping': 0.3.13 - '@jridgewell/trace-mapping': 0.3.31 - - '@jridgewell/resolve-uri@3.1.2': {} - - '@jridgewell/sourcemap-codec@1.5.5': {} - - '@jridgewell/trace-mapping@0.3.31': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.5 - - '@jridgewell/trace-mapping@0.3.9': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.5 - - '@phosphor-icons/react@2.1.10(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - - '@poppinss/colors@4.1.6': - dependencies: - kleur: 4.1.5 - - '@poppinss/dumper@0.6.5': - dependencies: - '@poppinss/colors': 4.1.6 - '@sindresorhus/is': 7.2.0 - supports-color: 10.2.2 - - '@poppinss/exception@1.2.3': {} - - '@radix-ui/number@1.1.1': {} - - '@radix-ui/primitive@1.1.3': {} - - '@radix-ui/primitive@1.1.7': {} - - '@radix-ui/react-alert-dialog@1.1.23(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dialog': 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-arrow@1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-collection@1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-compose-refs@1.1.2(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-compose-refs@1.1.5(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-context@1.1.2(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-context@1.2.2(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-dialog@1.1.15(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - aria-hidden: 1.2.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - react-remove-scroll: 2.7.2(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-dialog@1.1.23(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.19(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-focus-guards': 1.1.6(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-focus-scope': 1.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.4(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-portal': 1.1.17(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - aria-hidden: 1.2.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - react-remove-scroll: 2.7.2(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-direction@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-dismissable-layer@1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-escape-keydown': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-dismissable-layer@1.1.19(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-dropdown-menu@2.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-menu': 2.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-focus-guards@1.1.3(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-focus-guards@1.1.6(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-focus-scope@1.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-focus-scope@1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-id@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-id@1.1.4(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-label@2.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.4(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-menu@2.1.16(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - aria-hidden: 1.2.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - react-remove-scroll: 2.7.2(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-popover@1.1.15(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - aria-hidden: 1.2.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - react-remove-scroll: 2.7.2(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-popper@1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@floating-ui/react-dom': 2.1.8(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-arrow': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-rect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-size': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/rect': 1.1.1 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-portal@1.1.17(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-portal@1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-presence@1.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-presence@1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-primitive@2.1.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-primitive@2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-primitive@2.1.4(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-slot': 1.2.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-roving-focus@1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-scroll-area@1.2.10(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/number': 1.1.1 - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-select@2.2.6(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/number': 1.1.1 - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-collection': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-focus-guards': 1.1.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-focus-scope': 1.1.7(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-previous': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - aria-hidden: 1.2.6 - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - react-remove-scroll: 2.7.2(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-separator@1.1.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.4(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-slot@1.2.3(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-slot@1.2.4(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-slot@1.3.3(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-tabs@1.1.13(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-direction': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-tooltip@1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.3 - '@radix-ui/react-compose-refs': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-context': 1.1.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-dismissable-layer': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-id': 1.1.1(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-popper': 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-portal': 1.1.9(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-presence': 1.1.5(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - '@radix-ui/react-slot': 1.2.3(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-controllable-state': 1.2.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-visually-hidden': 1.2.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/react-use-callback-ref@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-callback-ref@1.1.4(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-controllable-state@1.2.2(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-effect-event': 0.0.2(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-controllable-state@1.2.6(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.2.14)(react@19.2.5) - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-effect-event@0.0.2(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-effect-event@0.0.5(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-escape-keydown@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-callback-ref': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-layout-effect@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-layout-effect@1.1.4(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-previous@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-rect@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/rect': 1.1.1 - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-use-size@1.1.1(@types/react@19.2.14)(react@19.2.5)': - dependencies: - '@radix-ui/react-use-layout-effect': 1.1.1(@types/react@19.2.14)(react@19.2.5) - react: 19.2.5 - optionalDependencies: - '@types/react': 19.2.14 - - '@radix-ui/react-visually-hidden@1.2.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)': - dependencies: - '@radix-ui/react-primitive': 2.1.3(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react@19.2.5) - react: 19.2.5 - react-dom: 19.2.5(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - '@types/react-dom': 19.2.3(@types/react@19.2.14) - - '@radix-ui/rect@1.1.1': {} - - '@rolldown/pluginutils@1.0.0-beta.27': {} - - '@rollup/rollup-android-arm-eabi@4.60.2': - optional: true - - '@rollup/rollup-android-arm64@4.60.2': - optional: true - - '@rollup/rollup-darwin-arm64@4.60.2': - optional: true - - '@rollup/rollup-darwin-x64@4.60.2': - optional: true - - '@rollup/rollup-freebsd-arm64@4.60.2': - optional: true - - '@rollup/rollup-freebsd-x64@4.60.2': - optional: true - - '@rollup/rollup-linux-arm-gnueabihf@4.60.2': - optional: true - - '@rollup/rollup-linux-arm-musleabihf@4.60.2': - optional: true - - '@rollup/rollup-linux-arm64-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-arm64-musl@4.60.2': - optional: true - - '@rollup/rollup-linux-loong64-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-loong64-musl@4.60.2': - optional: true - - '@rollup/rollup-linux-ppc64-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-ppc64-musl@4.60.2': - optional: true - - '@rollup/rollup-linux-riscv64-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-riscv64-musl@4.60.2': - optional: true - - '@rollup/rollup-linux-s390x-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-x64-gnu@4.60.2': - optional: true - - '@rollup/rollup-linux-x64-musl@4.60.2': - optional: true - - '@rollup/rollup-openbsd-x64@4.60.2': - optional: true - - '@rollup/rollup-openharmony-arm64@4.60.2': - optional: true - - '@rollup/rollup-win32-arm64-msvc@4.60.2': - optional: true - - '@rollup/rollup-win32-ia32-msvc@4.60.2': - optional: true - - '@rollup/rollup-win32-x64-gnu@4.60.2': - optional: true - - '@rollup/rollup-win32-x64-msvc@4.60.2': - optional: true - - '@sindresorhus/is@7.2.0': {} - - '@speed-highlight/core@1.2.15': {} - - '@tailwindcss/node@4.2.4': - dependencies: - '@jridgewell/remapping': 2.3.5 - enhanced-resolve: 5.21.0 - jiti: 2.6.1 - lightningcss: 1.32.0 - magic-string: 0.30.21 - source-map-js: 1.2.1 - tailwindcss: 4.2.4 - - '@tailwindcss/oxide-android-arm64@4.2.4': - optional: true - - '@tailwindcss/oxide-darwin-arm64@4.2.4': - optional: true - - '@tailwindcss/oxide-darwin-x64@4.2.4': - optional: true - - '@tailwindcss/oxide-freebsd-x64@4.2.4': - optional: true - - '@tailwindcss/oxide-linux-arm-gnueabihf@4.2.4': - optional: true - - '@tailwindcss/oxide-linux-arm64-gnu@4.2.4': - optional: true - - '@tailwindcss/oxide-linux-arm64-musl@4.2.4': - optional: true - - '@tailwindcss/oxide-linux-x64-gnu@4.2.4': - optional: true - - '@tailwindcss/oxide-linux-x64-musl@4.2.4': - optional: true - - '@tailwindcss/oxide-wasm32-wasi@4.2.4': - optional: true - - '@tailwindcss/oxide-win32-arm64-msvc@4.2.4': - optional: true - - '@tailwindcss/oxide-win32-x64-msvc@4.2.4': - optional: true - - '@tailwindcss/oxide@4.2.4': - optionalDependencies: - '@tailwindcss/oxide-android-arm64': 4.2.4 - '@tailwindcss/oxide-darwin-arm64': 4.2.4 - '@tailwindcss/oxide-darwin-x64': 4.2.4 - '@tailwindcss/oxide-freebsd-x64': 4.2.4 - '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.4 - '@tailwindcss/oxide-linux-arm64-gnu': 4.2.4 - '@tailwindcss/oxide-linux-arm64-musl': 4.2.4 - '@tailwindcss/oxide-linux-x64-gnu': 4.2.4 - '@tailwindcss/oxide-linux-x64-musl': 4.2.4 - '@tailwindcss/oxide-wasm32-wasi': 4.2.4 - '@tailwindcss/oxide-win32-arm64-msvc': 4.2.4 - '@tailwindcss/oxide-win32-x64-msvc': 4.2.4 - - '@tailwindcss/vite@4.2.4(vite@6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0))': - dependencies: - '@tailwindcss/node': 4.2.4 - '@tailwindcss/oxide': 4.2.4 - tailwindcss: 4.2.4 - vite: 6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0) - - '@types/babel__core@7.20.5': - dependencies: - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - '@types/babel__generator': 7.27.0 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.28.0 - - '@types/babel__generator@7.27.0': - dependencies: - '@babel/types': 7.29.0 - - '@types/babel__template@7.4.4': - dependencies: - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - - '@types/babel__traverse@7.28.0': - dependencies: - '@babel/types': 7.29.0 - - '@types/estree@1.0.8': {} - - '@types/react-dom@19.2.3(@types/react@19.2.14)': - dependencies: - '@types/react': 19.2.14 - - '@types/react@19.2.14': - dependencies: - csstype: 3.2.3 - - '@vitejs/plugin-react@4.7.0(supports-color@10.2.2)(vite@6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0))': - dependencies: - '@babel/core': 7.29.0(supports-color@10.2.2) - '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0(supports-color@10.2.2)) - '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.29.0(supports-color@10.2.2)) - '@rolldown/pluginutils': 1.0.0-beta.27 - '@types/babel__core': 7.20.5 - react-refresh: 0.17.0 - vite: 6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0) - transitivePeerDependencies: - - supports-color - - ansi-regex@5.0.1: {} - - ansi-styles@4.3.0: - dependencies: - color-convert: 2.0.1 - - aria-hidden@1.2.6: - dependencies: - tslib: 2.8.1 - - baseline-browser-mapping@2.10.24: {} - - blake3-wasm@2.1.5: {} - - browserslist@4.28.2: - dependencies: - baseline-browser-mapping: 2.10.24 - caniuse-lite: 1.0.30001791 - electron-to-chromium: 1.5.344 - node-releases: 2.0.38 - update-browserslist-db: 1.2.3(browserslist@4.28.2) - - caniuse-lite@1.0.30001791: {} - - chalk@4.1.2: - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - - class-variance-authority@0.7.1: - dependencies: - clsx: 2.1.1 - - cliui@8.0.1: - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - - clsx@2.1.1: {} - - color-convert@2.0.1: - dependencies: - color-name: 1.1.4 - - color-name@1.1.4: {} - - concurrently@9.2.1: - dependencies: - chalk: 4.1.2 - rxjs: 7.8.2 - shell-quote: 1.8.3 - supports-color: 8.1.1 - tree-kill: 1.2.2 - yargs: 17.7.2 - - convert-source-map@2.0.0: {} - - cookie@1.1.1: {} - - csstype@3.2.3: {} - - debug@4.4.3(supports-color@10.2.2): - dependencies: - ms: 2.1.3 - optionalDependencies: - supports-color: 10.2.2 - - detect-libc@2.1.2: {} - - detect-node-es@1.1.0: {} - - drizzle-orm@0.45.2(@cloudflare/workers-types@4.20260426.1): - optionalDependencies: - '@cloudflare/workers-types': 4.20260426.1 - - electron-to-chromium@1.5.344: {} - - emoji-regex@8.0.0: {} - - enhanced-resolve@5.21.0: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.3.3 - - error-stack-parser-es@1.0.5: {} - - esbuild@0.25.12: - optionalDependencies: - '@esbuild/aix-ppc64': 0.25.12 - '@esbuild/android-arm': 0.25.12 - '@esbuild/android-arm64': 0.25.12 - '@esbuild/android-x64': 0.25.12 - '@esbuild/darwin-arm64': 0.25.12 - '@esbuild/darwin-x64': 0.25.12 - '@esbuild/freebsd-arm64': 0.25.12 - '@esbuild/freebsd-x64': 0.25.12 - '@esbuild/linux-arm': 0.25.12 - '@esbuild/linux-arm64': 0.25.12 - '@esbuild/linux-ia32': 0.25.12 - '@esbuild/linux-loong64': 0.25.12 - '@esbuild/linux-mips64el': 0.25.12 - '@esbuild/linux-ppc64': 0.25.12 - '@esbuild/linux-riscv64': 0.25.12 - '@esbuild/linux-s390x': 0.25.12 - '@esbuild/linux-x64': 0.25.12 - '@esbuild/netbsd-arm64': 0.25.12 - '@esbuild/netbsd-x64': 0.25.12 - '@esbuild/openbsd-arm64': 0.25.12 - '@esbuild/openbsd-x64': 0.25.12 - '@esbuild/openharmony-arm64': 0.25.12 - '@esbuild/sunos-x64': 0.25.12 - '@esbuild/win32-arm64': 0.25.12 - '@esbuild/win32-ia32': 0.25.12 - '@esbuild/win32-x64': 0.25.12 - - esbuild@0.27.3: - optionalDependencies: - '@esbuild/aix-ppc64': 0.27.3 - '@esbuild/android-arm': 0.27.3 - '@esbuild/android-arm64': 0.27.3 - '@esbuild/android-x64': 0.27.3 - '@esbuild/darwin-arm64': 0.27.3 - '@esbuild/darwin-x64': 0.27.3 - '@esbuild/freebsd-arm64': 0.27.3 - '@esbuild/freebsd-x64': 0.27.3 - '@esbuild/linux-arm': 0.27.3 - '@esbuild/linux-arm64': 0.27.3 - '@esbuild/linux-ia32': 0.27.3 - '@esbuild/linux-loong64': 0.27.3 - '@esbuild/linux-mips64el': 0.27.3 - '@esbuild/linux-ppc64': 0.27.3 - '@esbuild/linux-riscv64': 0.27.3 - '@esbuild/linux-s390x': 0.27.3 - '@esbuild/linux-x64': 0.27.3 - '@esbuild/netbsd-arm64': 0.27.3 - '@esbuild/netbsd-x64': 0.27.3 - '@esbuild/openbsd-arm64': 0.27.3 - '@esbuild/openbsd-x64': 0.27.3 - '@esbuild/openharmony-arm64': 0.27.3 - '@esbuild/sunos-x64': 0.27.3 - '@esbuild/win32-arm64': 0.27.3 - '@esbuild/win32-ia32': 0.27.3 - '@esbuild/win32-x64': 0.27.3 - - escalade@3.2.0: {} - - fdir@6.5.0(picomatch@4.0.4): - optionalDependencies: - picomatch: 4.0.4 - - fsevents@2.3.3: - optional: true - - gensync@1.0.0-beta.2: {} - - get-caller-file@2.0.5: {} - - get-nonce@1.0.1: {} - - graceful-fs@4.2.11: {} - - has-flag@4.0.0: {} - - hono@4.12.15: {} - - is-fullwidth-code-point@3.0.0: {} - - jiti@2.6.1: {} - - js-tokens@4.0.0: {} - - jsesc@3.1.0: {} - - json5@2.2.3: {} - - kleur@4.1.5: {} - - lightningcss-android-arm64@1.32.0: - optional: true - - lightningcss-darwin-arm64@1.32.0: - optional: true - - lightningcss-darwin-x64@1.32.0: - optional: true - - lightningcss-freebsd-x64@1.32.0: - optional: true - - lightningcss-linux-arm-gnueabihf@1.32.0: - optional: true - - lightningcss-linux-arm64-gnu@1.32.0: - optional: true - - lightningcss-linux-arm64-musl@1.32.0: - optional: true - - lightningcss-linux-x64-gnu@1.32.0: - optional: true - - lightningcss-linux-x64-musl@1.32.0: - optional: true - - lightningcss-win32-arm64-msvc@1.32.0: - optional: true - - lightningcss-win32-x64-msvc@1.32.0: - optional: true - - lightningcss@1.32.0: - dependencies: - detect-libc: 2.1.2 - optionalDependencies: - lightningcss-android-arm64: 1.32.0 - lightningcss-darwin-arm64: 1.32.0 - lightningcss-darwin-x64: 1.32.0 - lightningcss-freebsd-x64: 1.32.0 - lightningcss-linux-arm-gnueabihf: 1.32.0 - lightningcss-linux-arm64-gnu: 1.32.0 - lightningcss-linux-arm64-musl: 1.32.0 - lightningcss-linux-x64-gnu: 1.32.0 - lightningcss-linux-x64-musl: 1.32.0 - lightningcss-win32-arm64-msvc: 1.32.0 - lightningcss-win32-x64-msvc: 1.32.0 - - lru-cache@5.1.1: - dependencies: - yallist: 3.1.1 - - lucide-react@0.575.0(react@19.2.5): - dependencies: - react: 19.2.5 - - magic-string@0.30.21: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 - - miniflare@4.20260426.0: - dependencies: - '@cspotcode/source-map-support': 0.8.1 - sharp: 0.34.5 - undici: 7.24.8 - workerd: 1.20260426.1 - ws: 8.18.0 - youch: 4.1.0-beta.10 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - ms@2.1.3: {} - - nanoid@3.3.11: {} - - node-releases@2.0.38: {} - - openapi3-ts@4.6.1: - dependencies: - yaml: 2.9.0 - - path-to-regexp@6.3.0: {} - - pathe@2.0.3: {} - - picocolors@1.1.1: {} - - picomatch@4.0.4: {} - - postcss@8.5.12: - dependencies: - nanoid: 3.3.11 - picocolors: 1.1.1 - source-map-js: 1.2.1 - - react-dom@19.2.5(react@19.2.5): - dependencies: - react: 19.2.5 - scheduler: 0.27.0 - - react-refresh@0.17.0: {} - - react-remove-scroll-bar@2.3.8(@types/react@19.2.14)(react@19.2.5): - dependencies: - react: 19.2.5 - react-style-singleton: 2.2.3(@types/react@19.2.14)(react@19.2.5) - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.2.14 - - react-remove-scroll@2.7.2(@types/react@19.2.14)(react@19.2.5): - dependencies: - react: 19.2.5 - react-remove-scroll-bar: 2.3.8(@types/react@19.2.14)(react@19.2.5) - react-style-singleton: 2.2.3(@types/react@19.2.14)(react@19.2.5) - tslib: 2.8.1 - use-callback-ref: 1.3.3(@types/react@19.2.14)(react@19.2.5) - use-sidecar: 1.1.3(@types/react@19.2.14)(react@19.2.5) - optionalDependencies: - '@types/react': 19.2.14 - - react-style-singleton@2.2.3(@types/react@19.2.14)(react@19.2.5): - dependencies: - get-nonce: 1.0.1 - react: 19.2.5 - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.2.14 - - react@19.2.5: {} - - require-directory@2.1.1: {} - - rollup@4.60.2: - dependencies: - '@types/estree': 1.0.8 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.60.2 - '@rollup/rollup-android-arm64': 4.60.2 - '@rollup/rollup-darwin-arm64': 4.60.2 - '@rollup/rollup-darwin-x64': 4.60.2 - '@rollup/rollup-freebsd-arm64': 4.60.2 - '@rollup/rollup-freebsd-x64': 4.60.2 - '@rollup/rollup-linux-arm-gnueabihf': 4.60.2 - '@rollup/rollup-linux-arm-musleabihf': 4.60.2 - '@rollup/rollup-linux-arm64-gnu': 4.60.2 - '@rollup/rollup-linux-arm64-musl': 4.60.2 - '@rollup/rollup-linux-loong64-gnu': 4.60.2 - '@rollup/rollup-linux-loong64-musl': 4.60.2 - '@rollup/rollup-linux-ppc64-gnu': 4.60.2 - '@rollup/rollup-linux-ppc64-musl': 4.60.2 - '@rollup/rollup-linux-riscv64-gnu': 4.60.2 - '@rollup/rollup-linux-riscv64-musl': 4.60.2 - '@rollup/rollup-linux-s390x-gnu': 4.60.2 - '@rollup/rollup-linux-x64-gnu': 4.60.2 - '@rollup/rollup-linux-x64-musl': 4.60.2 - '@rollup/rollup-openbsd-x64': 4.60.2 - '@rollup/rollup-openharmony-arm64': 4.60.2 - '@rollup/rollup-win32-arm64-msvc': 4.60.2 - '@rollup/rollup-win32-ia32-msvc': 4.60.2 - '@rollup/rollup-win32-x64-gnu': 4.60.2 - '@rollup/rollup-win32-x64-msvc': 4.60.2 - fsevents: 2.3.3 - - rxjs@7.8.2: - dependencies: - tslib: 2.8.1 - - scheduler@0.27.0: {} - - semver@6.3.1: {} - - semver@7.7.4: {} - - sharp@0.34.5: - dependencies: - '@img/colour': 1.1.0 - detect-libc: 2.1.2 - semver: 7.7.4 - optionalDependencies: - '@img/sharp-darwin-arm64': 0.34.5 - '@img/sharp-darwin-x64': 0.34.5 - '@img/sharp-libvips-darwin-arm64': 1.2.4 - '@img/sharp-libvips-darwin-x64': 1.2.4 - '@img/sharp-libvips-linux-arm': 1.2.4 - '@img/sharp-libvips-linux-arm64': 1.2.4 - '@img/sharp-libvips-linux-ppc64': 1.2.4 - '@img/sharp-libvips-linux-riscv64': 1.2.4 - '@img/sharp-libvips-linux-s390x': 1.2.4 - '@img/sharp-libvips-linux-x64': 1.2.4 - '@img/sharp-libvips-linuxmusl-arm64': 1.2.4 - '@img/sharp-libvips-linuxmusl-x64': 1.2.4 - '@img/sharp-linux-arm': 0.34.5 - '@img/sharp-linux-arm64': 0.34.5 - '@img/sharp-linux-ppc64': 0.34.5 - '@img/sharp-linux-riscv64': 0.34.5 - '@img/sharp-linux-s390x': 0.34.5 - '@img/sharp-linux-x64': 0.34.5 - '@img/sharp-linuxmusl-arm64': 0.34.5 - '@img/sharp-linuxmusl-x64': 0.34.5 - '@img/sharp-wasm32': 0.34.5 - '@img/sharp-win32-arm64': 0.34.5 - '@img/sharp-win32-ia32': 0.34.5 - '@img/sharp-win32-x64': 0.34.5 - - shell-quote@1.8.3: {} - - source-map-js@1.2.1: {} - - string-width@4.2.3: - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - - strip-ansi@6.0.1: - dependencies: - ansi-regex: 5.0.1 - - supports-color@10.2.2: {} - - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 - - supports-color@8.1.1: - dependencies: - has-flag: 4.0.0 - - tailwind-merge@2.6.1: {} - - tailwindcss@4.2.4: {} - - tapable@2.3.3: {} - - tinyglobby@0.2.16: - dependencies: - fdir: 6.5.0(picomatch@4.0.4) - picomatch: 4.0.4 - - tree-kill@1.2.2: {} - - tslib@2.8.1: {} - - typescript@5.9.3: {} - - undici@7.24.8: {} - - unenv@2.0.0-rc.24: - dependencies: - pathe: 2.0.3 - - update-browserslist-db@1.2.3(browserslist@4.28.2): - dependencies: - browserslist: 4.28.2 - escalade: 3.2.0 - picocolors: 1.1.1 - - use-callback-ref@1.3.3(@types/react@19.2.14)(react@19.2.5): - dependencies: - react: 19.2.5 - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.2.14 - - use-sidecar@1.1.3(@types/react@19.2.14)(react@19.2.5): - dependencies: - detect-node-es: 1.1.0 - react: 19.2.5 - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.2.14 - - vite@6.4.2(jiti@2.6.1)(lightningcss@1.32.0)(yaml@2.9.0): - dependencies: - esbuild: 0.25.12 - fdir: 6.5.0(picomatch@4.0.4) - picomatch: 4.0.4 - postcss: 8.5.12 - rollup: 4.60.2 - tinyglobby: 0.2.16 - optionalDependencies: - fsevents: 2.3.3 - jiti: 2.6.1 - lightningcss: 1.32.0 - yaml: 2.9.0 - - workerd@1.20260426.1: - optionalDependencies: - '@cloudflare/workerd-darwin-64': 1.20260426.1 - '@cloudflare/workerd-darwin-arm64': 1.20260426.1 - '@cloudflare/workerd-linux-64': 1.20260426.1 - '@cloudflare/workerd-linux-arm64': 1.20260426.1 - '@cloudflare/workerd-windows-64': 1.20260426.1 - - wrangler@4.86.0(@cloudflare/workers-types@4.20260426.1): - dependencies: - '@cloudflare/kv-asset-handler': 0.4.2 - '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260426.1) - blake3-wasm: 2.1.5 - esbuild: 0.27.3 - miniflare: 4.20260426.0 - path-to-regexp: 6.3.0 - unenv: 2.0.0-rc.24 - workerd: 1.20260426.1 - optionalDependencies: - '@cloudflare/workers-types': 4.20260426.1 - fsevents: 2.3.3 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - wrap-ansi@7.0.0: - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - - ws@8.18.0: {} - - y18n@5.0.8: {} - - yallist@3.1.1: {} - - yaml@2.9.0: {} - - yargs-parser@21.1.1: {} - - yargs@17.7.2: - dependencies: - cliui: 8.0.1 - escalade: 3.2.0 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - - youch-core@0.3.3: - dependencies: - '@poppinss/exception': 1.2.3 - error-stack-parser-es: 1.0.5 - - youch@4.1.0-beta.10: - dependencies: - '@poppinss/colors': 4.1.6 - '@poppinss/dumper': 0.6.5 - '@speed-highlight/core': 1.2.15 - cookie: 1.1.1 - youch-core: 0.3.3 - - zod@3.25.76: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml deleted file mode 100644 index 3429ebf1..00000000 --- a/pnpm-workspace.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# pnpm 11 reads build permissions from here, not from package.json's `pnpm` -# field, which it ignores. -allowBuilds: - esbuild: true - workerd: true - # wrangler → miniflare pulls sharp for local image resizing. It never runs - # inside a Worker, so skip the native build rather than pay for it on every - # install (and on every deploy build). - sharp: false -minimumReleaseAgeExclude: - - '@clawnify/app@0.2.1 || 0.4.8' diff --git a/previews/dashboard.png b/previews/dashboard.png deleted file mode 100644 index 51548c07..00000000 Binary files a/previews/dashboard.png and /dev/null differ diff --git a/previews/ledger.png b/previews/ledger.png deleted file mode 100644 index ae86bfd2..00000000 Binary files a/previews/ledger.png and /dev/null differ diff --git a/previews/maintenance.png b/previews/maintenance.png deleted file mode 100644 index f19cf8fe..00000000 Binary files a/previews/maintenance.png and /dev/null differ diff --git a/previews/payment.png b/previews/payment.png deleted file mode 100644 index 36e61ad5..00000000 Binary files a/previews/payment.png and /dev/null differ diff --git a/previews/website-gallery.json b/previews/website-gallery.json deleted file mode 100644 index 22f99533..00000000 --- a/previews/website-gallery.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "src": "previews/ledger.png", - "alt": "Conceptual rent ledger for October 2026 with four leases, two paid and two overdue, and the Generate charges button being pressed. Behind it, the notice that every active lease already has a charge for the month, so nothing is charged twice.", - "caption": "One charge per lease, every month.", - "width": 1600, - "height": 1000 - }, - { - "src": "previews/payment.png", - "alt": "Conceptual Record payment dialog for Owen Carter's October rent, showing $900 paid so far and $800 remaining, with $800 being typed into the amount field and Check chosen as the method. Behind it, the ledger row for the same charge, overdue with an $800 balance.", - "caption": "Partial payments add up against the charge.", - "width": 1600, - "height": 1000 - }, - { - "src": "previews/maintenance.png", - "alt": "Conceptual work order for an urgent water leak at 308 Mission Apartments, Unit 3, with the vendor list open and Hill Country Plumbing being picked. Behind it, the open work orders: a repaint before move-in and a bedroom outlet in progress.", - "caption": "Every repair has a vendor and a date.", - "width": 1600, - "height": 1000 - }, - { - "src": "previews/dashboard.png", - "alt": "Conceptual dashboard tiles for October 2026: 80% occupancy with 4 of 5 units let, $2,650 outstanding rent with $4,650 collected, and 3 open work orders, 1 urgent. Behind them, the upcoming lease expirations, with Owen Carter's lease ending on Nov 30, 2026, in 33 days.", - "caption": "The month on one screen.", - "width": 1600, - "height": 1000 - } -] diff --git a/public/assets/courtyard.webp b/public/assets/courtyard.webp new file mode 100644 index 00000000..3a2b2c88 Binary files /dev/null and b/public/assets/courtyard.webp differ diff --git a/public/assets/sill.png b/public/assets/sill.png new file mode 100644 index 00000000..1b9bd693 Binary files /dev/null and b/public/assets/sill.png differ diff --git a/public/assets/wordmark.png b/public/assets/wordmark.png new file mode 100644 index 00000000..db5d43e7 Binary files /dev/null and b/public/assets/wordmark.png differ diff --git a/public/style.css b/public/style.css new file mode 100644 index 00000000..1302b322 --- /dev/null +++ b/public/style.css @@ -0,0 +1,6 @@ +@font-face{font-family:DM;src:url(/assets/dm.woff2)}@font-face{font-family:DM;src:url(/assets/dm-bold.woff2);font-weight:600 800}@font-face{font-family:Instrument;src:url(/assets/serif.woff2)}@font-face{font-family:Instrument;src:url(/assets/italic.woff2);font-style:italic} +:root{--ink:#242d2c;--muted:#5d6662;--paper:#faf9f5;--panel:#f0f0e8;--line:#d7dad0;--olive:#657347;--dark:#273331;--serif:Instrument,Georgia,serif;--sans:DM,Arial,sans-serif;font:16px/1.55 var(--sans);color:var(--ink);background:var(--paper)} +*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #818e44;outline-offset:3px}.shell{width:min(1312px,92%);margin:auto}header{border-bottom:1px solid var(--line);background:var(--paper)}.header-row,.footer-row,.brand,.head-actions,.actions,.btn,.eyebrow,.text-link,.card-link,.section-title,.chat-head,.chat-toggle{display:flex;align-items:center}.header-row{height:83px;justify-content:space-between;gap:24px}.brand{gap:14px}.brandmark{position:relative;display:inline-block;width:72px;height:36px;overflow:hidden}.brandmark img{position:absolute;width:72px;height:72px;top:-18px}.brandtext{font-size:11px;line-height:1.18;letter-spacing:.035em;font-weight:700;border-left:1px solid #c6cbbf;padding-left:12px}.head-actions,.actions{gap:12px}nav{display:flex;gap:29px;margin-left:24px}nav a{font-size:14px;color:var(--muted);position:relative;padding:11px 0}nav a[aria-current]{color:var(--ink);font-weight:700}nav a[aria-current]:after{content:'';width:4px;height:4px;background:var(--olive);border-radius:50%;position:absolute;bottom:3px;left:50%}.btn{display:inline-flex;justify-content:center;gap:11px;font-size:14px;font-weight:650;line-height:1.2;border-radius:7px;border:1px solid transparent;padding:14px 20px;min-height:43px}.dark,.chat-toggle{background:var(--dark);color:white}.dark:hover,.chat-toggle:hover{background:#40524b}.light{background:transparent;border-color:#c4c8b9}.light:hover{background:#e7eadf}.bare{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;padding:6px}.mobile-menu{display:none}.hero{display:grid;grid-template-columns:46% 54%;border-radius:18px;overflow:hidden;margin-top:28px;background:#eeefe5;min-height:410px}.hero-copy{padding:clamp(33px,4vw,66px);align-self:center}.eyebrow{font-size:10px;line-height:1.3;letter-spacing:.17em;font-weight:700;color:#5c6a48;text-transform:uppercase;gap:10px}.rule{width:23px;height:2px;background:#81905e;display:inline-block}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(66px,6.8vw,105px);line-height:.94}.hero h1{margin:22px 0 20px}.hero em{font-weight:400;color:#52624c}.hero p{font-size:clamp(15px,1.2vw,18px);line-height:1.58;color:#505953;max-width:395px}.hero .actions{margin-top:27px;flex-wrap:wrap}.hero-photo{min-height:100%;position:relative}.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:49% 52%}.service-section{padding:44px 0 53px}.section-title{justify-content:space-between;gap:14px;margin-bottom:21px}.section-title h2{font-size:clamp(39px,3.5vw,55px);line-height:1.1;margin-top:9px}.text-link,.card-link{display:inline-flex;gap:9px;font-size:13px;font-weight:700}.text-link:hover,.card-link:hover{text-decoration:underline}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.service-card,.panel,.entry,.doc-layout aside{background:#fffefa;border:1px solid var(--line);border-radius:12px}.service-card{display:flex;flex-direction:column;align-items:flex-start;padding:25px;transition:background .15s,border-color .15s}.service-card:hover{border-color:#a8b19d;background:#f7f8ef}.iconbox{display:grid;place-items:center;background:#e9eddf;border-radius:10px;color:#536243;width:45px;height:45px;margin-bottom:20px}.service-card h3{font-size:21px;font-weight:600;letter-spacing:-.035em;margin-bottom:7px}.service-card p,.readable p,.hint,.subtle,.entry small,.page-intro p{color:var(--muted)}.service-card p{font-size:14px;max-width:350px;line-height:1.6}.card-link{margin-top:auto;padding-top:22px;color:#45553d}.page-intro{padding:60px 0 36px;max-width:880px}.page-intro h1{font-size:clamp(55px,6vw,80px);margin:16px 0}.page-intro p{max-width:650px;font-size:18px}.doc-layout,.aboutsplit,.contact-layout,.auth-layout,.portal-grid{display:grid;gap:30px;margin-bottom:54px}.doc-layout{grid-template-columns:minmax(190px,1fr) 3fr}.doc-layout aside{display:flex;flex-direction:column;align-self:start;padding:18px;gap:12px}.doc-layout aside a:hover{text-decoration:underline}.readable h2,.form h2,.portal h2,.panel h2{font-size:33px;line-height:1.18;margin:0 0 15px}.readable h2:not(:first-child){margin-top:30px}.readable p{margin:8px 0 17px}.readable details{padding:15px 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:600}details div{color:var(--muted);margin-top:10px}.articles{padding-bottom:65px}.articles h3{margin:17px 0 8px}.article{max-width:720px;padding-bottom:60px}.aboutsplit,.contact-layout{grid-template-columns:1fr 1fr}.aboutphoto{width:100%;height:100%;object-fit:cover;max-height:500px;border-radius:16px}.about-logo{height:100px;width:100px;object-fit:contain}.panel{padding:clamp(20px,2.6vw,36px)}.form{display:grid;gap:14px;align-content:start}.form label{display:grid;gap:5px;font-size:13px;font-weight:650}.form input,.form textarea,.form select,.house-select,#chat-form input,.field{width:100%;border:1px solid #bec5ba;border-radius:6px;background:#fff;padding:10px 12px;min-height:43px}.form textarea{resize:vertical}.form .btn{justify-self:start}.hint,.subtle,output{font-size:13px}output{display:block;overflow-wrap:anywhere}output:not(:empty){padding:8px 0;color:#394e3c}output.error,.error{color:#9a342d}.chat-toggle{position:fixed;z-index:6;right:24px;bottom:22px;border:1px solid #5d6b62;border-radius:28px;gap:9px;padding:13px 18px;box-shadow:0 5px 18px #28362f25;font-size:14px;font-weight:650}.chat-panel{position:fixed;z-index:8;bottom:82px;right:24px;width:min(354px,calc(100% - 32px));border-radius:14px;background:var(--paper);border:1px solid var(--line);box-shadow:0 14px 40px #17271c2e;overflow:hidden}.chat-head{justify-content:space-between;padding:13px 17px;color:white;background:var(--dark)}.chat-head .bare{color:white}.chat-log{padding:15px;height:190px;overflow:auto}.chat-log p{padding:9px 11px;margin-bottom:8px;background:#e9eddf;border-radius:8px;font-size:14px}.chat-log .question{text-align:right;background:#e4e8e6;margin-left:20px}.chips{padding:0 12px 10px;display:flex;gap:5px;flex-wrap:wrap}.chips button,.tab{background:transparent;border:1px solid var(--line);padding:6px 9px;border-radius:7px;font-size:12px}.chips button:hover,.tab:hover{background:#e8eddf}#chat-form{display:flex;gap:6px;padding:10px;border-top:1px solid var(--line)}#chat-form .btn{padding:10px 13px}footer{border-top:1px solid var(--line)}.footer-row{gap:25px;min-height:90px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:16px 0 42px}.footer-row span:nth-child(2){margin-right:auto}.skip{position:absolute;left:-9999px;top:0}.skip:focus{left:12px;background:white;padding:10px;z-index:20}.portal{padding:42px 0 50px;min-height:65vh}.portal h1{font-size:58px;line-height:1.05;margin:9px 0 16px}.portal-grid,.auth-layout{grid-template-columns:1fr 1fr}.auth-layout{align-items:start;max-width:950px;margin:28px auto}.auth-copy{padding:32px 10px}.auth-copy h1{margin:18px 0}.auth-copy p{color:var(--muted);max-width:360px}.tabbar,.inline,.row-between{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tabbar{padding:15px 0;margin-bottom:16px;border-bottom:1px solid var(--line)}.tab{font-size:14px}.tab.active{background:var(--dark);color:white}.row-between{justify-content:space-between}.house-select{width:auto;max-width:100%}.portal .panel{margin-bottom:16px}.entries{display:grid;gap:10px}.entry{padding:16px}.entry strong,.entry small{display:block}.entry summary{display:flex;justify-content:space-between;gap:12px;align-items:center}.pill{font-size:11px;text-transform:uppercase;letter-spacing:.05em;background:#e7ebdf;border-radius:30px;padding:4px 8px;color:#3a4c3d}.pill.urgent,.pill.high{background:#f5e1d1;color:#7b421e}.amount{font:48px/1.1 var(--serif);margin:9px 0}.portal label+label{margin-top:1px}.panel+.panel{margin-top:15px}.notice{padding:14px 16px;background:#e8edde;border-radius:8px;margin:12px 0}.wrap{overflow-wrap:anywhere}.empty{padding:20px 0;color:var(--muted)}.timeline{border-left:2px solid var(--line);padding:0 0 0 16px;list-style:none}.timeline li{margin:10px 0}.table{border-collapse:collapse;width:100%;font-size:14px}.table th,.table td{padding:10px 5px;text-align:left;border-bottom:1px solid var(--line)}.table td:last-child{text-align:right}.portal section{scroll-margin-top:14px} +@media(max-width:900px){.shell{width:93%}.header-row{gap:12px}nav{gap:17px;margin-left:0}.hero{grid-template-columns:1fr 1fr}.hero-copy{padding:32px}.hero h1{font-size:76px}.cards{gap:12px}.service-card{padding:20px}.brandtext{display:none}} +@media(max-width:690px){.shell{width:calc(100% - 32px)}.header-row{height:66px}.brandmark{width:60px}.brandmark img{width:60px;height:60px;top:-12px}.mobile-menu{display:inline-flex}nav{display:none;position:absolute;top:66px;left:0;right:0;background:var(--paper);z-index:7;padding:12px 20px;border-bottom:1px solid var(--line);box-shadow:0 10px 12px #27332112}nav.open{display:flex;flex-wrap:wrap}nav a{padding:8px}.head-actions .btn{min-height:35px;padding:8px 12px;font-size:12px}.hero{display:flex;flex-direction:column;margin-top:16px;border-radius:12px}.hero-copy{padding:29px 24px}.hero h1{font-size:73px;margin:16px 0}.hero p{font-size:15px}.hero .actions{margin-top:19px;gap:8px}.hero .btn{font-size:12px;padding:12px}.hero-photo{height:225px;min-height:auto}.service-section{padding:29px 0 35px}.section-title{align-items:end}.section-title h2{font-size:38px}.section-title .text-link{font-size:12px}.cards,.doc-layout,.aboutsplit,.contact-layout,.auth-layout,.portal-grid{grid-template-columns:1fr}.page-intro{padding:36px 0 24px}.service-card{padding:19px}.iconbox{margin-bottom:12px}.card-link{padding-top:13px}.chat-toggle{right:14px;bottom:14px}.chat-panel{right:16px;bottom:70px}.footer-row{gap:14px;padding-bottom:70px}.footer-row .brandtext{display:none}.portal{padding-top:20px}.portal h1{font-size:46px}.auth-copy{padding:0}.auth-layout{gap:15px}.doc-layout aside{flex-direction:row;flex-wrap:wrap}.table{font-size:12px}} + diff --git a/readme-banner-dark.png b/readme-banner-dark.png deleted file mode 100644 index 91a9fe12..00000000 Binary files a/readme-banner-dark.png and /dev/null differ diff --git a/readme-banner.png b/readme-banner.png deleted file mode 100644 index d3250473..00000000 Binary files a/readme-banner.png and /dev/null differ diff --git a/scripts/build.mjs b/scripts/build.mjs new file mode 100644 index 00000000..e7572cb3 --- /dev/null +++ b/scripts/build.mjs @@ -0,0 +1,23 @@ +import {build} from 'esbuild'; +import {readFile,writeFile,mkdir,copyFile} from 'node:fs/promises'; +import path from 'node:path'; +await mkdir('dist/server',{recursive:true});await mkdir('dist/.openai',{recursive:true}); +await copyFile('.openai/hosting.json','dist/.openai/hosting.json'); +const client=await build({entryPoints:['src/client.js'],bundle:true,format:'esm',minify:true,write:false,target:'es2022'}); +const assets={'/app.js':['text/javascript; charset=utf-8',Buffer.from(client.outputFiles[0].contents).toString('base64')]}; +const files={ + '/style.css':['text/css; charset=utf-8','public/style.css'], + '/assets/sill.png':['image/png','public/assets/sill.png'], + '/assets/wordmark.png':['image/png','public/assets/wordmark.png'], + '/assets/courtyard.webp':['image/webp','public/assets/courtyard.webp'], + '/assets/dm.woff2':['font/woff2','node_modules/@fontsource/dm-sans/files/dm-sans-latin-400-normal.woff2'], + '/assets/dm-bold.woff2':['font/woff2','node_modules/@fontsource/dm-sans/files/dm-sans-latin-600-normal.woff2'], + '/assets/serif.woff2':['font/woff2','node_modules/@fontsource/instrument-serif/files/instrument-serif-latin-400-normal.woff2'], + '/assets/italic.woff2':['font/woff2','node_modules/@fontsource/instrument-serif/files/instrument-serif-latin-400-italic.woff2'], + '/licenses/dm-sans.txt':['text/plain','node_modules/@fontsource/dm-sans/LICENSE'], + '/licenses/instrument-serif.txt':['text/plain','node_modules/@fontsource/instrument-serif/LICENSE'] +}; +for(const [route,[type,source]] of Object.entries(files))assets[route]=[type,(await readFile(source)).toString('base64')]; +await build({entryPoints:['src/worker.js'],outfile:'dist/server/index.js',bundle:true,format:'esm',minify:true,target:'es2022',platform:'browser',conditions:['workerd','worker','browser'],external:['node:*','cloudflare:*'],define:{'process.env.NODE_ENV':'"production"'},plugins:[{name:'sill-assets',setup(b){b.onResolve({filter:/^sill:assets$/},()=>({path:'assets',namespace:'sill'}));b.onLoad({filter:/.*/,namespace:'sill'},()=>({contents:'export default '+JSON.stringify(assets),loader:'js'}));}}]}); +console.log('Built SiLL Worker and embedded resident portal assets.'); + diff --git a/scripts/dev.mjs b/scripts/dev.mjs new file mode 100644 index 00000000..1cc2e4a8 --- /dev/null +++ b/scripts/dev.mjs @@ -0,0 +1,7 @@ +import {spawn} from 'node:child_process'; +import './build.mjs'; +const args=process.argv.slice(2).filter(arg=>arg!=='--strictPort'&&arg!=='--').map(arg=>arg==='--host'||arg==='--hostname'?'--ip':arg); +const child=spawn(process.execPath,['node_modules/wrangler/bin/wrangler.js','dev',...args],{stdio:'inherit'}); +for(const signal of ['SIGINT','SIGTERM'])process.on(signal,()=>child.kill(signal)); +child.on('exit',code=>process.exitCode=code??1); + diff --git a/scripts/migrate.mjs b/scripts/migrate.mjs new file mode 100644 index 00000000..f91db58d --- /dev/null +++ b/scripts/migrate.mjs @@ -0,0 +1,19 @@ +import {readFileSync} from 'node:fs'; +// The CLI uses a direct PostgreSQL driver for multi-statement DDL via simple query. +import pg from 'pg'; +const client=new pg.Client({connectionString:process.env.MIGRATION_DATABASE_URL}); +if(!process.env.MIGRATION_DATABASE_URL) throw Error('Set MIGRATION_DATABASE_URL to the database owner connection.'); +await client.connect(); +try{ + await client.query('BEGIN'); + await client.query('CREATE TABLE IF NOT EXISTS sill_migrations(version text primary key)'); + await client.query("SELECT pg_advisory_xact_lock(hashtext('sill_migrations'))"); + for(const file of ['001_init.sql','002_delivery.sql']){ + const version=file.slice(0,3); + if((await client.query('SELECT 1 FROM sill_migrations WHERE version=$1',[version])).rowCount)continue; + await client.query(readFileSync(new URL('../db/'+file,import.meta.url),'utf8')); + await client.query('INSERT INTO sill_migrations VALUES($1)',[version]); + } + await client.query('COMMIT'); +} catch(error){await client.query('ROLLBACK');throw error;}finally{await client.end();} + diff --git a/src/api.js b/src/api.js new file mode 100644 index 00000000..41b8a68c --- /dev/null +++ b/src/api.js @@ -0,0 +1,123 @@ +import {sql} from 'drizzle-orm'; +import {services,demand,field,choice,uuid,rows,scoped,hash,token,limit,Problem} from './db.js'; +import {categories,urgencies,statuses,createTicket,readTickets,updateTicket,readEvents} from './tickets.js'; +import {mcp} from './mcp.js'; +import {assistant,checkProvider,triage} from './integrations.js'; +export const json=(value,status=200)=>Response.json(value,{status,headers:{'cache-control':'no-store','x-content-type-options':'nosniff'}}); +const emailValue=s=>{const value=field(s,254,'email').toLowerCase();demand(/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(value),400,'Enter a valid email address.');return value;}; +async function body(request,max=24000){ + demand(request.headers.get('content-type')?.split(';')[0]==='application/json',415,'Send a JSON object.'); + const reader=request.body?.getReader();demand(reader,400,'Request body is required.'); + let size=0,parts=[]; + while(true){const {done,value}=await reader.read();if(done)break;size+=value.length;if(size>max){await reader.cancel();throw new Problem(413,'Request is too large.');}parts.push(value);} + try{const obj=JSON.parse(await new Blob(parts).text());demand(obj&&typeof obj==='object'&&!Array.isArray(obj),400,'Invalid JSON object.');return obj;}catch{throw new Problem(400,'Invalid JSON object.');} +} +async function integration(db,request){ + const match=/^Bearer ([0-9a-f]{64})$/i.exec(request.headers.get('authorization')??''); + demand(match,401,'A household integration key is required.'); + const [key]=await rows(db,sql`select home_id from integration_keys where digest=${await hash(match[1])}`); + demand(key,401,'Invalid household key.');return {db,home:key.home_id}; +} +const dateVal=v=>{demand(typeof v==='string'&&/^\d{4}-\d{2}-\d{2}$/.test(v)&&!isNaN(Date.parse(v))&&new Date(v).toISOString().slice(0,10)===v,400,'Check the date.');return v;}; +function cents(v,zero=false){demand(Number.isSafeInteger(v)&&v>=(zero?0:1)&&v<=2000000000,400,'Check the amount.');return v;} +function checkout(value){ + if(!value)return null; + let u;try{u=new URL(value);}catch{throw new Problem(400,'Use a valid HTTPS payment link.');} + demand(u.protocol==='https:'&&!u.username&&!u.password,400,'Use a secure payment link.');return u.href; +} +export async function api(req,env){ + const url=new URL(req.url),p=url.pathname,method=req.method; + const post=method==='POST', get=method==='GET'; + if(p==='/api/health'&&get)return json({service:'sill',status:'up'}); + // Tool discovery is public; running a tool always requires a household key. + if((p==='/mcp'||p==='/api/mcp')&&post){ + const result=await mcp(await body(req),()=>integration(services(env).db,req));return result?json(result):new Response(null,{status:202}); + } + const authOrigin=url.origin===env.CUSTOM_ORIGIN?env.CUSTOM_ORIGIN:env.BETTER_AUTH_URL; + const {db,auth}=services({...env,BETTER_AUTH_URL:authOrigin}); + const origin=req.headers.get('origin'); + if(!get && origin)demand(origin===env.BETTER_AUTH_URL || origin===url.origin,403,'Origin is not allowed.'); + if(p.startsWith('/api/auth/')){ + if(post)await limit(db,'auth:'+ (req.headers.get('cf-connecting-ip')??'local'),120); + return auth.handler(req); + } + const ip=req.headers.get('cf-connecting-ip')??'local'; + if(p==='/api/contact'&&post){ + await limit(db,'contact:'+ip,10);const b=await body(req); + const [created]=await rows(db,sql`insert into contact_messages(email,message) values(${emailValue(b.email)},${field(b.message,2000,'message')}) returning id`); + return json({id:created.id},201); + } + if(p==='/api/chat'&&post){ + await limit(db,'chat:'+ip,45);const b=await body(req);return json(await assistant(env,field(b.message,600,'question'))); + } + if(p==='/api/webhooks/tickets'){ + const {home}=await integration(db,req); + if(get)return json({events:await readEvents(db,home,url.searchParams.get('after')??0)}); + if(post){const b=await body(req);if(b.action==='update')return json(await updateTicket(db,home,b));return json(await createTicket(db,home,b,true),201);} + throw new Problem(405,'Use GET or POST.'); + } + const session=await auth.api.getSession({headers:req.headers});demand(session?.user,401,'Sign in to your portal.'); + const uid=session.user.id; + if(p==='/api/me'&&get){ + const homes=await rows(db,sql`select h.*,p.name as portfolio_name,(p.manager_id=${uid}) as manager from homes h join portfolios p on p.id=h.portfolio_id where p.manager_id=${uid} or exists(select 1 from memberships m where m.home_id=h.id and m.user_id=${uid}) order by p.name,h.label`); + const portfolios=await rows(db,sql`select id,name from portfolios where manager_id=${uid} order by name`); + return json({user:{name:session.user.name,email:session.user.email},homes,portfolios}); + } + if(p==='/api/portfolios'&&post){ + await limit(db,'portfolios:'+uid,10);const b=await body(req); + const [record]=await rows(db,sql`insert into portfolios(name,manager_id) values(${field(b.name,100,'portfolio name')},${uid}) returning id,name`);return json(record,201); + } + if(p==='/api/homes'&&post){ + const b=await body(req); + const [h]=await rows(db,sql`insert into homes(portfolio_id,label) select id,${field(b.label,120,'household label')} from portfolios where id=${uuid(b.portfolio)} and manager_id=${uid} on conflict do nothing returning id`); + demand(h,409,'Check the portfolio or choose a distinct household label.');return json(h,201); + } + if(p==='/api/claim'&&post){ + const b=await body(req);const digest=await hash(field(b.token,90,'invite code',32)); + const [claimed]=await rows(db,sql`with accepted as(delete from invitations where digest=${digest} and email=${session.user.email.toLowerCase()} and expires_at>now() returning home_id), joined as(insert into memberships(home_id,user_id) select home_id,${uid} from accepted on conflict do nothing) select home_id from accepted`); + demand(claimed,400,'This invitation is invalid, expired, or belongs to another email.');return json(claimed); + } + const home=uuid(req.headers.get('x-sill-home')); + const [h]=await rows(db,sql`select h.*,p.manager_id=${uid} as manager from homes h join portfolios p on p.id=h.portfolio_id where h.id=${home} and (p.manager_id=${uid} or exists(select 1 from memberships m where m.user_id=${uid} and m.home_id=h.id))`); + demand(h,404,'Household not found.'); + if(p==='/api/tickets'&&get)return json(await readTickets(db,home)); + if(p==='/api/tickets'&&post)return json(await createTicket(db,home,await body(req)),201); + if(p==='/api/ticket-history'&&get)return json(await scoped(db,home,sql`select status,urgency,note,created_at from ticket_events where ticket_id=${uuid(url.searchParams.get('id'))} order by id`)); + if(p==='/api/ledger'&&get)return json(await scoped(db,home,sql`select id,kind,label,amount_cents,booked_on from ledger order by booked_on desc,id`)); + demand(h.manager,403,'Property manager access is required.'); + if(p==='/api/ticket-update'&&post)return json(await updateTicket(db,home,await body(req))); + if(p==='/api/invite'&&post){ + const b=await body(req),secret=token(); + await rows(db,sql`insert into invitations(digest,home_id,email) values(${await hash(secret)},${home},${emailValue(b.email)})`); + return json({invite:secret},201); + } + if(p==='/api/integration-key'&&post){ + const secret=token();await rows(db,sql`insert into integration_keys(digest,home_id) values(${await hash(secret)},${home}) on conflict(home_id) do update set digest=excluded.digest`);return json({key:secret}); + } + if(p==='/api/key-revoke'&&post){await rows(db,sql`delete from integration_keys where home_id=${home}`);return json({revoked:true});} + if(p==='/api/household'&&post){ + const b=await body(req),start=b.start?dateVal(b.start):null,end=b.end?dateVal(b.end):null; + demand(!start||!end||end>=start,400,'Lease end must follow lease start.'); + await rows(db,sql`update homes set checkout_url=${checkout(b.checkout)},lease_start=${start},lease_end=${end},monthly_cents=${b.monthly===null?null:cents(b.monthly,true)} where id=${home}`); + return json({saved:true}); + } + if(p==='/api/ledger'&&post){ + const b=await body(req),kind=choice(b.kind,['charge','payment']),amount=cents(b.cents),day=dateVal(b.date),label=field(b.label,100,'description'),key=uuid(b.requestKey); + let [entry]=await scoped(db,home,sql`insert into ledger(home_id,kind,label,amount_cents,booked_on,request_key) values(${home},${kind},${label},${amount},${day},${key}) on conflict(home_id,request_key) do nothing returning id`); + if(!entry){[entry]=await scoped(db,home,sql`select id from ledger where request_key=${key} and kind=${kind} and label=${label} and amount_cents=${amount} and booked_on=${day}`);demand(entry,409,'This entry key was already used.');} + return json(entry,201); + } + if(p==='/api/members'&&get)return json(await rows(db,sql`select u.id,u.email from memberships m join "user" u on u.id=m.user_id where home_id=${home} order by u.email`)); + if(p==='/api/remove-member'&&post){ + const b=await body(req),id=field(b.id,160,'resident identifier'); + await rows(db,sql`with removed as(delete from memberships where home_id=${home} and user_id=${id} returning user_id) delete from invitations where home_id=${home} and email in(select lower(email) from "user" join removed on removed.user_id="user".id)`);return json({removed:true}); + } + if(p==='/api/triage'&&post){ + const b=await body(req),[t]=await scoped(db,home,sql`select category,urgency from tickets where id=${uuid(b.id)}`);demand(t,404,'Request not found.');return json(await triage(env,t)); + } + if(p==='/api/check-provider'&&post){ + const b=await body(req);try{return json(await checkProvider(env,choice(b.service,['ledgerflow','apisync','clipguard'])));}catch(e){if(e.status)throw e;throw new Problem(502,'The provider did not return a valid MCP response.');} + } + throw new Problem(404,'Route not found.'); +} + diff --git a/src/client.js b/src/client.js new file mode 100644 index 00000000..212138a4 --- /dev/null +++ b/src/client.js @@ -0,0 +1,98 @@ +import {decodeBytes,detectFormat,parseCamt,parseCsv,guessMapping,readCsv} from './shared/statement.ts'; +const $=(q,root=document)=>root.querySelector(q); +const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); +const money=n=>new Intl.NumberFormat('en-US',{style:'currency',currency:'USD'}).format(n/100); +const fmt=(date)=>date?new Date(date.length===10?date+'T12:00:00':date).toLocaleDateString('en-US',{month:'short',day:'numeric',year:'numeric'}):'—'; +const params=new URLSearchParams(location.search),portal=$('#portal'); +const invitation=new URLSearchParams(location.hash.slice(1)).get('invite'); +if(invitation){sessionStorage.setItem('sill-invite',invitation);history.replaceState(null,'',location.pathname+location.search);} +let me,home,section=params.get('view')||'overview',generation=0,signup=false; +const cats=['Plumbing','Heating and cooling','Electrical','Appliance','Access','Payment','Other'],urg=['low','normal','high','urgent'],statuses=['open','assigned','in_progress','completed','cancelled']; +const pretty=s=>String(s).replaceAll('_',' '),opts=(arr,selected)=>arr.map(x=>'').join(''); +const statusOut=(form,message,error=false)=>{const out=$('output',form);if(out){out.textContent=message;out.classList.toggle('error',error);}}; +async function api(path,data,scope=home?.id){ + const r=await fetch('/api/'+path,{method:data===undefined?'GET':'POST',credentials:'same-origin',headers:{...(data===undefined?{}:{'content-type':'application/json'}),...(scope?{'x-sill-home':scope}:{})},body:data===undefined?undefined:JSON.stringify(data)}); + let b={};try{b=await r.json();}catch{} + if(!r.ok){const e=new Error(b.error?.message||b.message||(typeof b.error==='string'?b.error:'The service could not complete this request.'));e.status=r.status;throw e;}return b; +} +function bindForm(id,fn,root=document){ + const form=$(id,root);if(!form)return; + form.onsubmit=async e=>{e.preventDefault();if(form.dataset.busy)return;form.dataset.busy='1';const btn=form.querySelector('button[type=submit],button:not([type])');if(btn)btn.disabled=true;statusOut(form,'');try{await fn(Object.fromEntries(new FormData(form)),form);}catch(err){statusOut(form,err.message,true);}finally{delete form.dataset.busy;if(btn)btn.disabled=false;}}; +} +function basicFields(title,inside,id,action){return '

'+title+'

'+inside+'
';} +function input(label,name,type='text',extra=''){return '';} +function select(label,name,arr,selected){return '';} +$('.mobile-menu').onclick=e=>{const nav=$('#nav');nav.classList.toggle('open');e.currentTarget.setAttribute('aria-expanded',String(nav.classList.contains('open')));}; +bindForm('#contact-form',async(b,f)=>{const t=await api('contact',b);f.reset();statusOut(f,'Message received. Your reference is '+t.id.slice(0,8).toUpperCase()+'.');}); +const chat=$('#chat-panel'),chatForm=$('#chat-form'),log=$('.chat-log'); +function showChat(open){chat.hidden=!open;$('#chat-toggle').setAttribute('aria-expanded',String(open));if(open)chatForm.message.focus();else $('#chat-toggle').focus();} +$('#chat-toggle').onclick=()=>showChat(chat.hidden);$('#chat-close').onclick=()=>showChat(false); +document.addEventListener('keydown',e=>{if(e.key==='Escape'&&!chat.hidden)showChat(false);}); +const bubble=(text,cls)=>{const p=document.createElement('p');p.className=cls;p.textContent=text;log.append(p);log.scrollTop=log.scrollHeight;return p;}; +chatForm.onsubmit=async e=>{e.preventDefault();const message=chatForm.message.value.trim();if(!message||chatForm.dataset.busy)return;chatForm.dataset.busy='1';bubble(message,'question');chatForm.reset();const answer=bubble('One moment…','answer');try{answer.textContent=(await api('chat',{message})).reply;}catch{answer.textContent='I couldn’t reach the assistant. The resident guide and Contact page are available.';}finally{delete chatForm.dataset.busy;log.scrollTop=log.scrollHeight;}}; +$('.chips').onclick=e=>{if(e.target.tagName==='BUTTON'){chatForm.message.value=e.target.textContent;chatForm.requestSubmit();}}; +function login(){ + portal.innerHTML='
RESIDENT PORTAL

Welcome home.

Sign in to check your balance, report a repair, or see the latest from your property team.

'+basicFields(signup?'Create your account':'Sign in',(signup?input('Your name','name','text','required maxlength="80" autocomplete="name"'):'')+input('Email address','email','email','required autocomplete="email"')+input('Password','password','password','required '+(signup?'minlength="12" autocomplete="new-password"':'autocomplete="current-password"'))+(signup?'Use at least 12 characters.':'')+'','login',signup?'Create account':'Sign in')+'
'; + $('#switch-auth').onclick=()=>{signup=!signup;login();}; + bindForm('#login',async b=>{await api('auth/'+(signup?'sign-up':'sign-in')+'/email',b);await start();}); +} +async function start(preferred){ + try{me=await api('me');}catch(e){if(e.status===401)return login();portal.innerHTML='';return;} + home=me.homes.find(h=>h.id===(preferred||sessionStorage.getItem('sill-home')))||me.homes[0]; + if(home)sessionStorage.setItem('sill-home',home.id); + await render(); +} +const createPortfolio=()=>basicFields('Create a portfolio',input('Portfolio name','name','text','required maxlength="100" placeholder="Property or management company"'),'portfolio-form','Create portfolio'); +const addHome=()=>me.portfolios.length?basicFields('Add a household',''+input('Unit and lease label','label','text','required maxlength="120" placeholder="Oak House · Unit 2 · 2026 lease"')+'

Create a new household for each tenancy to keep past ledgers and requests private.

','home-form','Add household'):''; +function wireSetup(){ + bindForm('#portfolio-form',async(b)=>{await api('portfolios',b);await start();}); + bindForm('#home-form',async(b)=>{const h=await api('homes',b);section='manage';await start(h.id);}); + bindForm('#claim-form',async(b)=>{const r=await api('claim',{token:b.token});sessionStorage.removeItem('sill-invite');await start(r.home_id);}); +} +const claim=()=>basicFields('Join a household',input('Invitation code','token','text','required autocomplete="off" value="'+esc(sessionStorage.getItem('sill-invite')||'')+'"'),'claim-form','Accept invitation'); +async function render(){ + const revision=++generation;const valid=['overview','payments','requests',...(home?.manager?['manage']:[])];if(!valid.includes(section))section='overview'; + const header='
RESIDENT PORTAL

'+esc(home?.label||'Your household')+'

'+esc(home?home.portfolio_name:me.user.email)+'

'+(home?'':'')+'
'; + portal.innerHTML=header+(home?'
'+valid.map(v=>'').join('')+'
':'')+'
'; + $('#signout').onclick=async()=>{try{await api('auth/sign-out',{});sessionStorage.removeItem('sill-home');home=null;me=null;generation++;login();}catch(e){$('#portal-body').textContent=e.message;}}; + if(home)$('#house').onchange=e=>start(e.target.value); + portal.querySelectorAll('[data-tab]').forEach(b=>b.onclick=()=>{section=b.dataset.tab;history.replaceState(null,'','/portal?view='+section);render();}); + const box=$('#portal-body'); + if(!home){box.innerHTML='
Join your home with an invitation, or create a portfolio if you manage properties.
'+claim()+createPortfolio()+addHome()+'
';wireSetup();return;} + try{ + if(section==='manage'){await manage(box);return;} + const [entries,tickets]=await Promise.all([section==='requests'?[]:api('ledger'),section==='payments'?[]:api('tickets')]);if(revision!==generation)return; + const balance=entries.reduce((n,e)=>n+(e.kind==='charge'?1:-1)*e.amount_cents,0); + const payCard='
HOUSEHOLD BALANCE

'+money(Math.abs(balance))+(balance<0?' credit':'')+'

Recorded charges less payments · USD

'+(home.checkout_url?'

Pay rent ↗

':'

Ask your manager for payment instructions. A checkout link has not been set for this household.

')+'
'; + if(section==='overview'){ + box.innerHTML='
'+payCard+'
MAINTENANCE

'+tickets.filter(t=>!['completed','cancelled'].includes(t.status)).length+'

Open requests

Lease details

'+fmt(home.lease_start)+' – '+fmt(home.lease_end)+'

Monthly rent · '+(home.monthly_cents===null?'Awaiting lease details':money(home.monthly_cents))+'

Connect another household or manage a new portfolio
'+claim()+createPortfolio()+addHome()+'
'; + $('#view-requests').onclick=()=>{section='requests';render();};wireSetup(); + }else if(section==='payments'){ + box.innerHTML=payCard+'

Payment history

'+(entries.length?''+entries.map(e=>'').join('')+'
DateDescriptionTypeAmount
'+fmt(e.booked_on)+''+esc(e.label)+''+esc(e.kind)+''+money(e.amount_cents)+'
':'

No charges or payments have been recorded yet.

')+'
'; + }else{ + box.innerHTML='

Household requests

'+(tickets.length?tickets.map(ticketHtml).join(''):'

No requests yet. Use the form to report an issue.

')+'
'+basicFields('New request',input('Subject','subject','text','required maxlength="120"')+select('Category','category',cats,'Other')+select('Urgency','urgency',urg,'normal')+'

For immediate danger, call local emergency services. Check your lease for your emergency maintenance number.

','new-ticket','Submit request')+'
'; + const requestKey=crypto.randomUUID();bindForm('#new-ticket',async b=>{await api('tickets',{...b,requestKey});await render();}); + box.querySelectorAll('[data-ticket]').forEach(el=>el.ontoggle=async()=>{if(!el.open)return;const timeline=$('.history',el);try{const events=await api('ticket-history?id='+el.dataset.ticket);timeline.innerHTML='';}catch(e){timeline.textContent=e.message;}}); + if(home.manager)for(const t of tickets){bindForm('#update-'+t.id,async b=>{await api('ticket-update',{...b,id:t.id});await render();});bindForm('#triage-'+t.id,async(b,f)=>{const v=await api('triage',{id:t.id});statusOut(f,v.message);});} + } + if(sessionStorage.getItem('sill-invite')&&home){ + const form=$('#claim-form');if(form?.closest('details'))form.closest('details').open=true; + else if(!form){box.insertAdjacentHTML('afterbegin',claim());wireSetup();} + } + }catch(e){if(revision===generation)box.innerHTML='

'+esc(e.message)+'

';} +} +function ticketHtml(t){return '
'+esc(t.subject)+''+esc(pretty(t.status))+' · '+esc(t.category)+''+esc(t.urgency)+'

'+esc(t.details)+'

'+(home.manager?'
'+select('Status','status',statuses,t.status)+select('Urgency','urgency',urg,t.urgency)+'
':'')+'
';} +async function manage(box){ + const h=home;box.innerHTML='
'+basicFields('Invite a resident',input('Resident email','email','email','required')+'

Share the resulting invitation privately with the resident.

','invite','Create invitation')+basicFields('Lease & checkout',input('Lease start','start','date','value="'+esc(h.lease_start?.slice(0,10))+'"')+input('Lease end','end','date','value="'+esc(h.lease_end?.slice(0,10))+'"')+input('Monthly rent (USD)','monthly','number','min="0" step=".01" value="'+(h.monthly_cents===null?'':h.monthly_cents/100)+'"')+input('Provider checkout link','checkout','url','value="'+esc(h.checkout_url)+'"'),'lease','Save household')+addHome()+'
'+basicFields('Record a ledger entry',select('Entry type','kind',['charge','payment'],'charge')+input('Amount (USD)','amount','number','required step=".01" min=".01"')+input('Description','label','text','required maxlength="100"')+input('Booking date','date','date','required value="'+new Date().toISOString().slice(0,10)+'"'),'ledger','Record entry')+'

Bank statement preview

Choose a CSV or CAMT.053 file. Review one incoming payment before recording it. The file stays in your browser.

Integrations

A key can read event metadata and manage tickets for this household. Replacing it disconnects the old key.

'+['clipguard','ledgerflow','apisync'].map(s=>'').join('')+'

Residents

'; + bindForm('#invite',async(b,f)=>{const v=await api('invite',b);statusOut(f,location.origin+'/portal#invite='+v.invite);}); + bindForm('#lease',async(b)=>{await api('household',{...b,monthly:b.monthly===''?null:Math.round(Number(b.monthly)*100)});await start(h.id);}); + let entryKey=crypto.randomUUID(); + bindForm('#ledger',async(b,f)=>{await api('ledger',{kind:b.kind,label:b.label,cents:Math.round(Number(b.amount)*100),date:b.date,requestKey:entryKey});entryKey=crypto.randomUUID();f.reset();statusOut(f,'Entry recorded in this household’s ledger.');});wireSetup(); + $('#statement').onchange=async e=>{const file=e.target.files[0],target=$('#preview');if(!file)return;try{if(file.size>500000)throw Error('Choose a statement smaller than 500 KB.');const text=decodeBytes(await file.arrayBuffer());let lines;if(detectFormat(text)==='camt053')lines=parseCamt(text);else{const t=parseCsv(text),map=guessMapping(t);if(!map)throw Error('Could not identify date and amount columns.');lines=readCsv(t,map).lines;}lines=lines.filter(l=>l.amount>0&&(!l.currency||l.currency==='USD')).slice(0,200);target.innerHTML=lines.length?'

Confirm the payer and household before selecting an entry.

'+lines.map((l,i)=>'').join(''):'

No incoming USD payments found.

';target.querySelectorAll('[data-row]').forEach(b=>b.onclick=()=>{const l=lines[Number(b.dataset.row)],f=$('#ledger');f.kind.value='payment';f.amount.value=l.amount;f.date.value=l.booked_on;f.label.value='Rent payment';f.scrollIntoView({block:'center'});});}catch(err){target.textContent=err.message;}}; + async function keyAction(revoke){if(!confirm(revoke?'Revoke access for this household key?':'Generate a new key and replace any current household key?'))return;const out=$('#key-result');try{const r=await api(revoke?'key-revoke':'integration-key',{});out.textContent=revoke?'Key revoked.':'Copy this key now: '+r.key;}catch(e){out.textContent=e.message;}} + $('#issue-key').onclick=()=>keyAction(false);$('#revoke-key').onclick=()=>keyAction(true); + box.querySelectorAll('[data-service]').forEach(b=>b.onclick=async()=>{const out=$('#provider-result');out.textContent='Checking…';try{const v=await api('check-provider',{service:b.dataset.service});out.textContent=v.service+' responded to the synthetic check.';}catch(e){out.textContent=e.message;}}); + const members=$('#members');try{const records=await api('members');members.innerHTML=records.length?records.map(r=>'
'+esc(r.email)+'
').join(''):'

No residents have accepted an invitation yet.

';members.querySelectorAll('[data-remove]').forEach(b=>b.onclick=async()=>{if(!confirm('Remove this resident’s access to the household?'))return;try{await api('remove-member',{id:b.dataset.remove});await render();}catch(e){members.textContent=e.message;}});}catch(e){members.textContent=e.message;} +} +if(portal)start(); + diff --git a/src/client/api.ts b/src/client/api.ts deleted file mode 100644 index 3a1f5cc0..00000000 --- a/src/client/api.ts +++ /dev/null @@ -1,19 +0,0 @@ -export async function api(method: string, path: string, body?: unknown): Promise { - const opts: RequestInit = { method, headers: {} }; - if (body !== undefined) { - (opts.headers as Record)["Content-Type"] = "application/json"; - opts.body = JSON.stringify(body); - } - const r = await fetch(path, opts); - let data: unknown = null; - try { - data = await r.json(); - } catch { - /* empty body */ - } - if (!r.ok) { - const msg = (data as { error?: string } | null)?.error || `${r.status} ${r.statusText}`; - throw new Error(msg); - } - return data as T; -} diff --git a/src/client/app.tsx b/src/client/app.tsx deleted file mode 100644 index 04cfecbc..00000000 --- a/src/client/app.tsx +++ /dev/null @@ -1,124 +0,0 @@ -import { useEffect } from "react"; -import { AppNav, reportLocation, type AppNavItem } from "@clawnify/app/client"; -import { useAppState } from "./hooks/use-app-state"; -import { useRouter, type Route } from "./hooks/use-router"; -import { AppContext } from "./context"; -import { ErrorBanner } from "./components/error-banner"; -import { DashboardPage } from "./components/dashboard/dashboard-page"; -import { PropertiesList } from "./components/properties/properties-list"; -import { PropertyPage } from "./components/properties/property-page"; -import { TenantsList } from "./components/tenants/tenants-list"; -import { TenantPage } from "./components/tenants/tenant-page"; -import { LeasesPage } from "./components/leases/leases-page"; -import { RentPage } from "./components/rent/rent-page"; -import { BankPage } from "./components/rent/bank-page"; -import { RemindersPage } from "./components/rent/reminders-page"; -import { MaintenancePage } from "./components/maintenance/maintenance-page"; -import { SettingsPage } from "./components/settings/settings-page"; - -/** - * The navigation, defined once. - * - * Opened directly, paints this as the app's own rail; inside the - * Clawnify dashboard it paints nothing and hands the same list to the host, so - * the user sees one nav rather than two. Every record type owns a colour and - * keeps it on its tile wherever the type appears. - * - * Icons come from the platform's TILE_ICONS library — a name outside it draws - * as a plain dot in the dashboard. - */ -const PORTFOLIO: AppNavItem[] = [ - // Not drawn as a row: the app's name opens it (the brand row standalone, the - // app's own header in the dashboard). - { id: "dashboard", label: "Dashboard", href: "/dashboard", home: true }, - { id: "properties", label: "Properties", href: "/properties", icon: "building-2", color: "green" }, - { id: "tenants", label: "Tenants", href: "/tenants", icon: "users", color: "blue" }, - { id: "leases", label: "Leases", href: "/leases", icon: "clipboard-list", color: "violet" }, -]; -const OPERATIONS: AppNavItem[] = [ - { id: "rent", label: "Rent", href: "/rent", icon: "dollar-sign", color: "amber" }, - { id: "maintenance", label: "Maintenance", href: "/maintenance", icon: "list-checks", color: "orange" }, -]; -const ADMIN: AppNavItem[] = [ - { id: "settings", label: "Settings", href: "/settings", icon: "settings" }, -]; - -/** A record page keeps its collection's row lit. */ -function activeFor(route: Route): string { - if (route.name === "property") return "properties"; - if (route.name === "tenant") return "tenants"; - if (route.name === "rent-bank" || route.name === "rent-reminders") return "rent"; - return route.name; -} - -export function App() { - const state = useAppState(); - const { path, route, navigate } = useRouter(); - - // Lets the dashboard restore this exact screen on reload. - useEffect(() => { - reportLocation(path); - }, [path]); - - // Rent carries a count of what waits for a person: payments to review, reminders due. - const waiting = state.attention.bank_review + state.attention.reminders_due; - const operations = OPERATIONS.map((item) => (item.id === "rent" && waiting > 0 ? { ...item, count: waiting } : item)); - const groups = [ - { items: PORTFOLIO }, - { label: "Operations", items: operations }, - { label: "Admin", items: ADMIN }, - ]; - - return ( - -
- {/* flex, so the SDK's
-
- ); -} - -function Placeholder({ title, message }: { title: string; message: string }) { - return ( -
-

{title}

-

{message}

-
- ); -} diff --git a/src/client/components/dashboard/dashboard-page.tsx b/src/client/components/dashboard/dashboard-page.tsx deleted file mode 100644 index 09a74b55..00000000 --- a/src/client/components/dashboard/dashboard-page.tsx +++ /dev/null @@ -1,343 +0,0 @@ -import { useEffect, useState } from "react"; -import { - Building2, - CheckCircle2, - CircleAlert, - ClipboardList, - Home, - Receipt, - Wrench, -} from "lucide-react"; -import { useApp } from "@/context"; -import { api } from "@/api"; -import { cn, daysBetween, formatDate, formatMoney, toIsoDate } from "@/lib/utils"; -import { workOrderReference } from "@/lib/work-order-search"; -import type { DashboardSummary } from "@/types"; -import { Badge } from "@/components/ui/badge"; -import { Card } from "@/components/ui/card"; -import { PageShell } from "@/components/page-shell"; - -export function DashboardPage({ navigate }: { navigate: (to: string) => void }) { - const { settings, setError } = useApp(); - const [summary, setSummary] = useState(null); - const [loading, setLoading] = useState(true); - - useEffect(() => { - let cancelled = false; - (async () => { - try { - setLoading(true); - const data = await api("GET", "/api/dashboard/summary"); - if (!cancelled) setSummary(data); - } catch (err) { - if (!cancelled) setError((err as Error).message); - } finally { - if (!cancelled) setLoading(false); - } - })(); - return () => { cancelled = true; }; - }, [setError]); - - if (loading || !summary) { - return ( -
- Loading dashboard… -
- ); - } - - return ( - - -
- } - /> - } - /> - } - /> - } - tone={summary.urgent_work_orders > 0 ? "warn" : "default"} - /> -
- -
- -
-

Portfolio

- -
-
- } /> - - - 0 ? "warn" : "default"} /> -
-
- - -
-

This month's rent

- -
-
- - 0 ? "warn" : "default"} - /> - 0 ? "danger" : "default"} - /> -
-
-
- -
- -
-

Open work orders

- -
- {summary.recent_work_orders.length === 0 ? ( - } title="All caught up" message="No open work orders right now." /> - ) : ( -
    - {summary.recent_work_orders.map((w) => ( -
  • -
    -

    {w.title}

    -

    - {[workOrderReference(w.id), w.property_name, w.unit_name].filter(Boolean).join(" · ")} -

    -
    -
    - - -
    -
  • - ))} -
- )} -
- - -
-

Lease expirations

- -
- {summary.upcoming_expirations.length === 0 ? ( - } title="Nothing in the next 60 days" message="No lease expirations coming up." /> - ) : ( -
    - {summary.upcoming_expirations.map((l) => { - const today = toIsoDate(new Date()); - const days = daysBetween(today, l.end_date); - return ( -
  • -
    -

    - {l.tenant_first_name || "—"} {l.tenant_last_name || ""} -

    -

    - {[l.property_name, l.unit_name].filter(Boolean).join(" · ")} -

    -
    -
    -
    {formatDate(l.end_date)}
    -
    - {days < 0 ? "Already ended" : days === 0 ? "Today" : `in ${days} day${days === 1 ? "" : "s"}`} -
    -
    -
  • - ); - })} -
- )} -
-
-
- ); -} - -function KpiCard({ - label, value, sub, icon, tone = "default", -}: { - label: string; - value: string; - sub?: string; - icon: React.ReactNode; - tone?: "default" | "warn"; -}) { - return ( - - - {icon} - -
- {value} -
-
{label}
- {/* Fixed height: toggling the comparison line must never shift the row. */} -
{sub}
-
- ); -} - -function Row({ - label, value, icon, tone = "default", -}: { - label: string; - value: string | number; - icon?: React.ReactNode; - tone?: "default" | "positive" | "warn" | "danger"; -}) { - return ( -
-
- {icon} - {label} -
-
- {value} -
-
- ); -} - -function Stat({ - label, value, sub, tone = "default", -}: { - label: string; - value: string; - sub?: string; - tone?: "default" | "positive" | "warn" | "danger"; -}) { - return ( -
-
{label}
-
- {value} -
- {sub &&
{sub}
} -
- ); -} - -function Empty({ - icon, title, message, -}: { - icon: React.ReactNode; - title: string; - message: string; -}) { - return ( -
- {icon} -

{title}

-

{message}

-
- ); -} - -function PriorityBadge({ priority }: { priority: string }) { - const map: Record = { - urgent: "bg-destructive-tint text-destructive", - high: "bg-warning-tint text-warning", - normal: "bg-info-tint text-info", - low: "bg-muted text-muted-foreground", - }; - return ( - - {priority === "urgent" && } - {priority} - - ); -} - -function StatusBadge({ status }: { status: string }) { - const map: Record = { - open: "secondary", - assigned: "default", - in_progress: "default", - completed: "outline", - cancelled: "outline", - }; - return {status.replace("_", " ")}; -} diff --git a/src/client/components/error-banner.tsx b/src/client/components/error-banner.tsx deleted file mode 100644 index 4f470214..00000000 --- a/src/client/components/error-banner.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { useApp } from "../context"; -import { X } from "lucide-react"; - -export function ErrorBanner() { - const { error, setError } = useApp(); - if (!error) return null; - return ( -
- {error} - -
- ); -} diff --git a/src/client/components/leases/lease-dialog.tsx b/src/client/components/leases/lease-dialog.tsx deleted file mode 100644 index 2dbaac5a..00000000 --- a/src/client/components/leases/lease-dialog.tsx +++ /dev/null @@ -1,251 +0,0 @@ -import { useEffect, useMemo, useState } from "react"; -import { useApp } from "@/context"; -import { api } from "@/api"; -import { toIsoDate } from "@/lib/utils"; -import { Button } from "@/components/ui/button"; -import { ConfirmDelete } from "@/components/ui/alert-dialog"; -import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog"; -import { Input } from "@/components/ui/input"; -import { Label } from "@/components/ui/label"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; -import { Textarea } from "@/components/ui/textarea"; -import type { Lease, LeaseStatus, Tenant, Unit } from "@/types"; - -interface Props { - open: boolean; - onOpenChange: (open: boolean) => void; - lease?: Lease; - defaults?: { unit_id?: number; primary_tenant_id?: number }; - onSaved?: () => void; -} - -const STATUSES: { value: LeaseStatus; label: string }[] = [ - { value: "upcoming", label: "Upcoming" }, - { value: "active", label: "Active" }, - { value: "ended", label: "Ended" }, - { value: "cancelled", label: "Cancelled" }, -]; - -export function LeaseDialog({ open, onOpenChange, lease, defaults, onSaved }: Props) { - const app = useApp(); - const [units, setUnits] = useState([]); - const [confirming, setConfirming] = useState(false); - const [tenants, setTenants] = useState([]); - - const [unitId, setUnitId] = useState(""); - const [tenantId, setTenantId] = useState(""); - const [start, setStart] = useState(""); - const [end, setEnd] = useState(""); - const [rent, setRent] = useState("0"); - const [deposit, setDeposit] = useState("0"); - const [dueDay, setDueDay] = useState("1"); - const [lateFee, setLateFee] = useState("0"); - const [status, setStatus] = useState("active"); - const [notes, setNotes] = useState(""); - const [saving, setSaving] = useState(false); - - useEffect(() => { - if (!open) return; - (async () => { - try { - const [u, t] = await Promise.all([app.listUnits(), app.listTenants()]); - setUnits(u); - setTenants(t); - } catch (err) { - app.setError((err as Error).message); - } - })(); - }, [open, app]); - - useEffect(() => { - if (!open) return; - setUnitId(lease?.unit_id ?? defaults?.unit_id ?? ""); - setTenantId(lease?.primary_tenant_id ?? defaults?.primary_tenant_id ?? ""); - const today = toIsoDate(new Date()); - const oneYear = new Date(); - oneYear.setFullYear(oneYear.getFullYear() + 1); - setStart(lease?.start_date ?? today); - setEnd(lease?.end_date ?? toIsoDate(oneYear)); - setRent(String(lease?.monthly_rent ?? 0)); - setDeposit(String(lease?.deposit ?? 0)); - setDueDay(String(lease?.rent_due_day ?? app.settings.default_rent_due_day)); - setLateFee(String(lease?.late_fee ?? app.settings.late_fee_amount)); - setStatus(lease?.status ?? "active"); - setNotes(lease?.notes ?? ""); - }, [open, lease, defaults, app.settings]); - - // When picking a unit we don't already have rent for, pre-fill from market_rent. - const selectedUnit = useMemo(() => units.find((u) => u.id === unitId), [units, unitId]); - useEffect(() => { - if (!lease && selectedUnit && parseFloat(rent) === 0) { - setRent(String(selectedUnit.market_rent ?? 0)); - } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [selectedUnit?.id]); - - async function save() { - if (!unitId || !start || !end) return; - setSaving(true); - try { - const payload = { - unit_id: Number(unitId), - primary_tenant_id: tenantId ? Number(tenantId) : null, - start_date: start, - end_date: end, - monthly_rent: parseFloat(rent) || 0, - deposit: parseFloat(deposit) || 0, - rent_due_day: Math.min(31, Math.max(1, parseInt(dueDay, 10) || 1)), - late_fee: parseFloat(lateFee) || 0, - status, - notes: notes.trim() || null, - }; - if (lease) { - await app.updateLease(lease.id, payload); - } else { - // Auto-create tenant fallback would go here, but we require selecting an existing tenant. - await app.createLease(payload); - } - onSaved?.(); - onOpenChange(false); - } catch (err) { - app.setError((err as Error).message); - } finally { - setSaving(false); - } - } - - async function remove() { - if (!lease) return; - try { - await app.deleteLease(lease.id); - onSaved?.(); - onOpenChange(false); - } catch (err) { - app.setError((err as Error).message); - } - } - - // Get a property association from the API (LEASE_SELECT joins) — but for the dialog - // we just need property + unit name in the dropdown. Build a "Property · Unit" label. - // Fetch once when open. - const [unitLabels, setUnitLabels] = useState>(new Map()); - useEffect(() => { - if (!open) return; - (async () => { - try { - const data = await api<{ units: Unit[] }>("GET", "/api/units"); - const map = new Map(); - for (const u of data.units) { - map.set(u.id, `${u.property_name ?? "—"} · ${u.name}`); - } - setUnitLabels(map); - } catch { - /* ignore */ - } - })(); - }, [open]); - - return ( - <> - - - - {lease ? "Edit lease" : "New lease"} - -
-
-
- - -
-
- - -
-
-
-
- - setStart(e.target.value)} /> -
-
- - setEnd(e.target.value)} /> -
-
-
-
- - setRent(e.target.value)} /> -
-
- - setDeposit(e.target.value)} /> -
-
-
-
- - setDueDay(e.target.value)} /> -
-
- - setLateFee(e.target.value)} /> -
-
- - -
-
-
- -

Please leave out bank details, access codes, and passwords.

Need a repair?

Submit maintenance issues from your household portal so your property team can track them.

${button('Open requests','/portal?view=requests','light')}

Quick questions

Find answers about invitations, payments, and request status in the resident guide.

Read the guide ${icon('arrow',16)}
`; +export function page(path){ + const article=path.startsWith('/blog/')&&articles.find(a=>path==='/blog/'+a[0]); + const entry=({'/':['Home',home],'/docs':['Docs',docs],'/blog':['Blog',blog],'/about':['About us',about],'/contact':['Contact',contact],'/portal':['Resident portal','

Opening your portal…

']})[path]??(article?[article[2],intro(article[1],article[2],article[3])+``]:null); + if(!entry)return null; + return `${entry[0]} · SiLL
${brand}
${button('Resident portal','/portal','dark','diagonal')}
${entry[1]}
`; +} + diff --git a/src/schema.js b/src/schema.js new file mode 100644 index 00000000..fce0141e --- /dev/null +++ b/src/schema.js @@ -0,0 +1,8 @@ +import { pgTable, text, boolean, timestamp } from 'drizzle-orm/pg-core'; +const at = name => timestamp(name, { withTimezone:true }); +const dates = () => ({createdAt:at('created_at').defaultNow().notNull(),updatedAt:at('updated_at').defaultNow().notNull()}); +export const user=pgTable('user',{id:text('id').primaryKey(),name:text('name').notNull(),email:text('email').unique().notNull(),emailVerified:boolean('email_verified').default(false).notNull(),image:text('image'),...dates()}); +export const session=pgTable('session',{id:text('id').primaryKey(),token:text('token').notNull().unique(),expiresAt:at('expires_at').notNull(),userId:text('user_id').references(()=>user.id).notNull(),ipAddress:text('ip_address'),userAgent:text('user_agent'),...dates()}); +export const account=pgTable('account',{id:text('id').primaryKey(),accountId:text('account_id').notNull(),providerId:text('provider_id').notNull(),userId:text('user_id').references(()=>user.id).notNull(),accessToken:text('access_token'),refreshToken:text('refresh_token'),idToken:text('id_token'),accessTokenExpiresAt:at('access_token_expires_at'),refreshTokenExpiresAt:at('refresh_token_expires_at'),scope:text('scope'),password:text('password'),...dates()}); +export const verification=pgTable('verification',{id:text('id').primaryKey(),identifier:text('identifier').notNull(),value:text('value').notNull(),expiresAt:at('expires_at').notNull(),...dates()}); + diff --git a/src/server/bank.ts b/src/server/bank.ts deleted file mode 100644 index 583d7086..00000000 --- a/src/server/bank.ts +++ /dev/null @@ -1,535 +0,0 @@ -// Bank matching: imported statement lines, matched to the rent they pay. -// -// The browser reads the statement file (CSV or CAMT.053) and posts the -// normalised lines; an agent can post the same shape. Only money in is kept. -// A line seen in an earlier, overlapping statement is skipped. A payer a -// person confirmed before, paying exactly what the lease owes, is recorded on -// import; everything else waits in "To review" with a suggestion, computed -// fresh on every read so it follows charges generated since. - -import type { Hono } from "hono"; -import { z } from "zod"; -import { get, query, run } from "./db"; -import { intParam, parseJson, type Env } from "./http"; -import { allocate, payerKey, payOrder, periodHint, propose, type Allocation, type MatchCharge, type MatchContext, type Proposal } from "../shared/matching"; -import { normalizeAccount, normalizeName, normalizeText } from "../shared/text"; - -const round2 = (n: number) => Math.round(n * 100) / 100; -const marks = (n: number) => Array.from({ length: n }, () => "?").join(", "); - -/** D1 binds at most 100 parameters per statement; run `fn` over `items` in chunks that fit. */ -async function chunked(items: T[], perItem: number, fn: (chunk: T[]) => Promise) { - const size = Math.max(1, Math.floor(99 / perItem)); - for (let i = 0; i < items.length; i += size) await fn(items.slice(i, i + size)); -} - -export interface TxRow { - id: number; - import_id: number | null; - booked_on: string; - amount: number; - currency: string | null; - payer_name: string | null; - payer_account: string | null; - reference: string | null; - bank_ref: string | null; - status: "review" | "matched" | "ignored"; - lease_id: number | null; - matched_by: string | null; - note: string | null; -} - -interface LeaseRow { - id: number; - status: string; - monthly_rent: number; - unit_name: string | null; - property_name: string | null; - first_name: string | null; - last_name: string | null; -} - -export interface BankContext extends MatchContext { - leaseRows: Map; -} - -/** Everything matching reads: leases with their tenants, open charges, known payers. */ -export async function loadContext(): Promise { - const [leases, coTenants, charges, payers] = await Promise.all([ - query( - `SELECT l.id, l.status, l.monthly_rent, u.name AS unit_name, p.name AS property_name, t.first_name, t.last_name - FROM leases l - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id`, - ), - query<{ lease_id: number; first_name: string; last_name: string }>( - `SELECT lt.lease_id, t.first_name, t.last_name FROM lease_tenants lt JOIN tenants t ON t.id = lt.tenant_id`, - ).catch(() => []), - query<{ id: number; lease_id: number; period: string; due_date: string; amount: number; amount_paid: number }>( - `SELECT id, lease_id, period, due_date, amount, amount_paid FROM rent_charges - WHERE status != 'waived' AND amount_paid < amount - 0.004`, - ), - query<{ lease_id: number; payer_account: string | null; payer_name: string | null }>( - "SELECT lease_id, payer_account, payer_name FROM bank_payers", - ), - ]); - const open: MatchCharge[] = charges.map((c) => ({ - id: c.id, - lease_id: c.lease_id, - period: c.period, - due_date: c.due_date, - balance: round2(c.amount - c.amount_paid), - })); - const owing = new Set(open.map((c) => c.lease_id)); - // Current leases, and past ones that still owe: arrears can be paid after a move-out. - const relevant = leases.filter((l) => l.status === "active" || l.status === "upcoming" || owing.has(l.id)); - return { - charges: open, - payers, - leases: relevant.map((l) => ({ - id: l.id, - unit_name: l.unit_name, - tenant_names: [ - [l.first_name, l.last_name].filter(Boolean).join(" "), - ...coTenants.filter((t) => t.lease_id === l.id).map((t) => `${t.first_name} ${t.last_name}`), - ].filter(Boolean), - })), - leaseRows: new Map(leases.map((l) => [l.id, l])), - }; -} - -function leaseLabel(l: LeaseRow | undefined) { - if (!l) return null; - return { - lease_id: l.id, - property_name: l.property_name, - unit_name: l.unit_name, - tenant_name: [l.first_name, l.last_name].filter(Boolean).join(" ") || null, - }; -} - -/** A proposal with the names a person needs to judge it. */ -function describe(p: Proposal, ctx: BankContext) { - const charge = (id: number) => ctx.charges.find((c) => c.id === id); - return { - kind: p.kind, - lease: p.lease_id ? leaseLabel(ctx.leaseRows.get(p.lease_id)) : null, - allocations: p.allocations.map((a) => ({ ...a, period: charge(a.charge_id)?.period ?? null })), - unapplied: p.unapplied, - evidence: p.evidence, - candidates: p.candidates - .filter((id) => id !== p.lease_id) - .map((id) => ({ - ...leaseLabel(ctx.leaseRows.get(id)), - owing: round2(ctx.charges.filter((c) => c.lease_id === id).reduce((s, c) => s + c.balance, 0)), - })), - }; -} - -/** Payments whose bank transaction no longer exists, or the reverse, after a - * charge, lease or payment was deleted elsewhere in the app. */ -export async function releaseOrphanedMatches() { - await run("DELETE FROM bank_matches WHERE payment_id NOT IN (SELECT id FROM payments)"); - await run( - `UPDATE bank_transactions SET status = 'review', lease_id = NULL, matched_by = NULL - WHERE status = 'matched' AND id NOT IN (SELECT transaction_id FROM bank_matches)`, - ); -} - -/** The same recalculation the ledger does after a payment, for many charges at once. */ -export async function recomputeCharges(ids: number[]) { - const unique = [...new Set(ids)]; - const paid = "(SELECT COALESCE(SUM(p.amount), 0) FROM payments p WHERE p.charge_id = rent_charges.id)"; - await chunked(unique, 1, async (chunk) => { - await run( - `UPDATE rent_charges SET - amount_paid = ${paid}, - status = CASE - WHEN status = 'waived' THEN 'waived' - WHEN ${paid} >= amount - 0.004 THEN 'paid' - WHEN ${paid} > 0 THEN 'partial' - WHEN due_date < date('now') THEN 'overdue' - ELSE 'open' - END - WHERE id IN (${marks(chunk.length)})`, - chunk, - ); - }); -} - -async function rememberPayer(leaseId: number, tx: Pick) { - const key = payerKey(tx); - if (!key) return; - const existing = key.payer_account - ? await get("SELECT id FROM bank_payers WHERE lease_id = ? AND payer_account = ?", [leaseId, key.payer_account]) - : await get("SELECT id FROM bank_payers WHERE lease_id = ? AND payer_account IS NULL AND payer_name = ?", [leaseId, key.payer_name]); - if (existing) return; - await run("INSERT INTO bank_payers (lease_id, payer_account, payer_name) VALUES (?, ?, ?)", [leaseId, key.payer_account, key.payer_name]); -} - -/** - * Records a bank transaction as payments on a lease's charges. The status - * change is claimed first, so two clicks (or a person and an agent) cannot - * record the same money twice; any failure puts everything back. - */ -async function applyMatch( - tx: TxRow, - leaseId: number, - allocations: Allocation[], - by: "auto" | "person" | "agent", - remember: boolean, -): Promise<{ ok: true } | { ok: false; status: 400 | 409; error: string }> { - const claim = await run( - "UPDATE bank_transactions SET status = 'matched', lease_id = ?, matched_by = ? WHERE id = ? AND status = 'review'", - [leaseId, by, tx.id], - ); - if (!claim.changes) return { ok: false, status: 409, error: "This payment is no longer waiting for a match" }; - const inserted: number[] = []; - try { - if (!allocations.length) throw new Error("Nothing to record: this lease has no open charge. Generate its charges first."); - const ids = allocations.map((a) => a.charge_id); - const charges = await query<{ id: number; lease_id: number; amount: number; amount_paid: number; status: string }>( - `SELECT id, lease_id, amount, amount_paid, status FROM rent_charges WHERE id IN (${marks(ids.length)})`, - ids, - ); - let total = 0; - for (const a of allocations) { - const c = charges.find((x) => x.id === a.charge_id); - if (!c || c.lease_id !== leaseId) throw new Error("A charge does not belong to this lease"); - if (c.status === "waived") throw new Error("A charge is waived"); - if (!(a.amount > 0) || a.amount > round2(c.amount - c.amount_paid) + 0.004) throw new Error("More than a charge still owes"); - total += a.amount; - } - if (round2(total) > round2(tx.amount) + 0.004) throw new Error("More than the payment"); - const reference = (tx.reference ?? tx.bank_ref ?? "").slice(0, 140) || null; - const notes = by === "auto" ? "Matched automatically from a bank statement" : "Matched from a bank statement"; - for (const a of allocations) { - const rows = await query<{ id: number }>( - `INSERT INTO payments (charge_id, paid_at, amount, method, reference, notes) VALUES (?, ?, ?, 'ach', ?, ?) RETURNING id`, - [a.charge_id, tx.booked_on, a.amount, reference, notes], - ); - if (!rows[0]) throw new Error("The payment was not recorded"); - inserted.push(rows[0].id); - } - await run(`INSERT INTO bank_matches (transaction_id, payment_id) VALUES ${inserted.map(() => "(?, ?)").join(", ")}`, inserted.flatMap((id) => [tx.id, id])); - await recomputeCharges(ids); - if (remember) await rememberPayer(leaseId, tx); - return { ok: true }; - } catch (err) { - if (inserted.length) { - await run(`DELETE FROM bank_matches WHERE payment_id IN (${marks(inserted.length)})`, inserted); - await run(`DELETE FROM payments WHERE id IN (${marks(inserted.length)})`, inserted); - await recomputeCharges(allocations.map((a) => a.charge_id)); - } - await run("UPDATE bank_transactions SET status = 'review', lease_id = NULL, matched_by = NULL WHERE id = ?", [tx.id]); - return { ok: false, status: 400, error: (err as Error).message }; - } -} - -// About seven queries a match; this keeps a request well inside the 1,000 a -// Worker may run. Anything past it stays in review, and "Match again" picks it up. -const AUTO_MATCH_LIMIT = 100; - -/** Records every transaction whose proposal is automatic. Returns how many. */ -async function autoMatch(txs: TxRow[]): Promise { - if (!txs.length) return 0; - const ctx = await loadContext(); - let matched = 0; - for (const tx of txs) { - if (matched >= AUTO_MATCH_LIMIT) break; - const p = propose(tx, ctx); - if (p.kind !== "auto" || !p.lease_id) continue; - const r = await applyMatch(tx, p.lease_id, p.allocations, "auto", false); - if (!r.ok) continue; - matched++; - // A second payment in the same statement must not pay the same charge again. - for (const a of p.allocations) { - const c = ctx.charges.find((x) => x.id === a.charge_id); - if (c) c.balance = round2(c.balance - a.amount); - } - ctx.charges = ctx.charges.filter((c) => c.balance > 0.004); - } - return matched; -} - -const Line = z.object({ - booked_on: z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "booked_on must be YYYY-MM-DD"), - amount: z.number().finite(), - currency: z.string().max(3).nullable().optional(), - payer_name: z.string().max(200).nullable().optional(), - payer_account: z.string().max(64).nullable().optional(), - reference: z.string().max(1000).nullable().optional(), - bank_ref: z.string().max(140).nullable().optional(), -}); - -const ImportInput = z.object({ - filename: z.string().max(200).nullable().optional(), - format: z.enum(["csv", "camt053", "api"]).optional(), - // A Worker request may run 1,000 queries; a bigger statement goes in several posts. - lines: z.array(Line).max(500), -}); - -const MatchInput = z.object({ - lease_id: z.number().int(), - /** Omitted: the server applies the payment oldest charge first (the named month first). */ - allocations: z.array(z.object({ charge_id: z.number().int(), amount: z.number().positive() })).max(24).optional(), - /** Remember this payer for the lease, so next month's payment is matched on import. Default true. */ - remember: z.boolean().optional(), - by: z.enum(["person", "agent"]).optional(), -}); - -const TX_COLUMNS = "id, import_id, booked_on, amount, currency, payer_name, payer_account, reference, bank_ref, status, lease_id, matched_by, note"; - -export function registerBankRoutes(app: Hono) { - // Import statement lines. Money out and lines already imported are skipped. - app.post("/api/bank/imports", async (c) => { - const parsed = await parseJson(c, ImportInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { filename, format, lines } = parsed.data; - - // A line's identity: the bank's own reference when it gives one (unique per - // entry, so a repeat is the same payment), else its content. Two identical - // lines without a bank reference are two payments, and stay two on re-import. - const seen = new Map(); - let repeatedInFile = 0; - const credits = lines - .filter((l) => l.amount > 0.004) - .flatMap((l) => { - const account = normalizeAccount(l.payer_account); - const base = l.bank_ref - ? `ref:${l.bank_ref}` - : [l.booked_on, l.amount.toFixed(2), account ?? "", normalizeName(l.payer_name), normalizeText(l.reference)].join("|"); - const n = (seen.get(base) ?? 0) + 1; - seen.set(base, n); - if (l.bank_ref && n > 1) { - repeatedInFile++; - return []; - } - return [{ ...l, amount: round2(l.amount), payer_account: account, fingerprint: n > 1 ? `${base}#${n}` : base }]; - }); - - const existing = new Set(); - await chunked(credits, 1, async (chunk) => { - const rows = await query<{ fingerprint: string }>( - `SELECT fingerprint FROM bank_transactions WHERE fingerprint IN (${marks(chunk.length)})`, - chunk.map((r) => r.fingerprint), - ); - rows.forEach((r) => existing.add(r.fingerprint)); - }); - const fresh = credits.filter((r) => !existing.has(r.fingerprint)); - - const duplicates = credits.length - fresh.length + repeatedInFile; - const imp = await run("INSERT INTO bank_imports (filename, format, credits, duplicates) VALUES (?, ?, ?, ?)", [ - filename ?? null, - format ?? "api", - credits.length + repeatedInFile, - duplicates, - ]); - const importId = imp.lastInsertRowid; - await chunked(fresh, 10, async (chunk) => { - await run( - // OR IGNORE: the same statement imported twice at once skips the lines the other import wrote. - `INSERT OR IGNORE INTO bank_transactions (import_id, booked_on, amount, currency, payer_name, payer_account, reference, bank_ref, fingerprint, status) - VALUES ${chunk.map(() => "(?, ?, ?, ?, ?, ?, ?, ?, ?, 'review')").join(", ")}`, - chunk.flatMap((r) => [importId, r.booked_on, r.amount, r.currency ?? null, r.payer_name ?? null, r.payer_account, r.reference ?? null, r.bank_ref ?? null, r.fingerprint]), - ); - }); - const inserted = await query(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE import_id = ? ORDER BY booked_on, id`, [importId]); - const autoMatched = await autoMatch(inserted); - await run("UPDATE bank_imports SET auto_matched = ? WHERE id = ?", [autoMatched, importId]); - return c.json( - { - import_id: importId, - summary: { - lines: lines.length, - money_out_skipped: lines.length - credits.length - repeatedInFile, - duplicates, - imported: fresh.length, - auto_matched: autoMatched, - to_review: fresh.length - autoMatched, - }, - }, - 201, - ); - }); - - // The queue. `status`: review (default), matched or ignored. - app.get("/api/bank/transactions", async (c) => { - const status = c.req.query("status") ?? "review"; - if (!["review", "matched", "ignored"].includes(status)) return c.json({ error: "status must be review, matched or ignored" }, 400); - // Pages stay under D1's 100 bound parameters for the lookups below. - const limit = Math.min(90, Math.max(1, intParam(c.req.query("limit")) ?? 50)); - const offset = Math.max(0, intParam(c.req.query("offset")) ?? 0); - await releaseOrphanedMatches(); - const [rows, counts] = await Promise.all([ - query(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE status = ? ORDER BY booked_on DESC, id DESC LIMIT ? OFFSET ?`, [status, limit, offset]), - query<{ status: string; n: number }>("SELECT status, COUNT(*) AS n FROM bank_transactions GROUP BY status"), - ]); - const countBy = Object.fromEntries(counts.map((r) => [r.status, Number(r.n)])); - let transactions: unknown[] = rows; - if (status === "review") { - const ctx = await loadContext(); - transactions = rows.map((tx) => ({ ...tx, proposal: describe(propose(tx, ctx), ctx) })); - } else if (status === "matched" && rows.length) { - const ids = rows.map((r) => r.id); - const paid = await query<{ transaction_id: number; payment_id: number; amount: number; charge_id: number; period: string }>( - `SELECT bm.transaction_id, p.id AS payment_id, p.amount, p.charge_id, rc.period - FROM bank_matches bm JOIN payments p ON p.id = bm.payment_id JOIN rent_charges rc ON rc.id = p.charge_id - WHERE bm.transaction_id IN (${marks(ids.length)})`, - ids, - ); - const leaseIds = [...new Set(rows.map((r) => r.lease_id).filter((x): x is number => x !== null))]; - const leases = new Map( - (leaseIds.length - ? await query( - `SELECT l.id, l.status, l.monthly_rent, u.name AS unit_name, p.name AS property_name, t.first_name, t.last_name - FROM leases l LEFT JOIN units u ON u.id = l.unit_id LEFT JOIN properties p ON p.id = u.property_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id - WHERE l.id IN (${marks(leaseIds.length)})`, - leaseIds, - ) - : [] - ).map((l) => [l.id, l]), - ); - transactions = rows.map((tx) => { - const payments = paid.filter((p) => p.transaction_id === tx.id); - const applied = round2(payments.reduce((s, p) => s + p.amount, 0)); - return { - ...tx, - lease: leaseLabel(tx.lease_id ? leases.get(tx.lease_id) : undefined), - payments: payments.map(({ payment_id, amount, charge_id, period }) => ({ payment_id, amount, charge_id, period })), - unapplied: round2(tx.amount - applied), - }; - }); - } - return c.json({ - transactions, - counts: { review: countBy.review ?? 0, matched: countBy.matched ?? 0, ignored: countBy.ignored ?? 0 }, - }); - }); - - // Leases a payment can be assigned to, with what each still owes. - app.get("/api/bank/leases", async (c) => { - const ctx = await loadContext(); - const leases = ctx.leases.map((l) => { - const open = ctx.charges.filter((ch) => ch.lease_id === l.id).sort((a, b) => a.due_date.localeCompare(b.due_date)); - return { ...leaseLabel(ctx.leaseRows.get(l.id)), open, owing: round2(open.reduce((s, ch) => s + ch.balance, 0)) }; - }); - leases.sort((a, b) => b.owing - a.owing || String(a.property_name).localeCompare(String(b.property_name))); - return c.json({ leases }); - }); - - // Record a transaction against a lease: confirming a suggestion, or assigning it by hand. - app.post("/api/bank/transactions/:id/match", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, MatchInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const tx = await get(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE id = ?`, [id]); - if (!tx) return c.json({ error: "Not found" }, 404); - if (tx.status !== "review") return c.json({ error: "This payment is no longer waiting for a match" }, 409); - const { lease_id, remember = true, by = "person" } = parsed.data; - let allocations = parsed.data.allocations; - if (!allocations) { - const ctx = await loadContext(); - const ordered = payOrder(ctx.charges.filter((ch) => ch.lease_id === lease_id), periodHint(tx.reference, tx.booked_on)); - allocations = allocate(tx.amount, ordered).allocations; - } - const r = await applyMatch(tx, lease_id, allocations, by, remember); - if (!r.ok) return c.json({ error: r.error }, r.status); - return c.json({ ok: true }); - }); - - // Undo a match: its payments are removed and the charges recalculated. The - // remembered payer stays unless `forget_payer` is set (a wrong automatic match). - app.post("/api/bank/transactions/:id/unmatch", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const body = (await c.req.json().catch(() => ({}))) as { forget_payer?: boolean }; - const tx = await get(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE id = ?`, [id]); - if (!tx) return c.json({ error: "Not found" }, 404); - if (tx.status !== "matched") return c.json({ error: "This payment is not matched" }, 409); - const payments = await query<{ id: number; charge_id: number }>( - "SELECT p.id, p.charge_id FROM bank_matches bm JOIN payments p ON p.id = bm.payment_id WHERE bm.transaction_id = ?", - [id], - ); - await run("DELETE FROM bank_matches WHERE transaction_id = ?", [id]); - if (payments.length) { - await run(`DELETE FROM payments WHERE id IN (${marks(payments.length)})`, payments.map((p) => p.id)); - await recomputeCharges(payments.map((p) => p.charge_id)); - } - if (body.forget_payer && tx.lease_id) { - const key = payerKey(tx); - if (key?.payer_account) await run("DELETE FROM bank_payers WHERE lease_id = ? AND payer_account = ?", [tx.lease_id, key.payer_account]); - if (key?.payer_name) await run("DELETE FROM bank_payers WHERE lease_id = ? AND payer_name = ?", [tx.lease_id, key.payer_name]); - } - await run("UPDATE bank_transactions SET status = 'review', lease_id = NULL, matched_by = NULL WHERE id = ?", [id]); - return c.json({ ok: true }); - }); - - // Not rent (a refund, a deposit, a transfer between your own accounts): out of the queue. - app.post("/api/bank/transactions/:id/ignore", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const body = (await c.req.json().catch(() => ({}))) as { note?: string }; - const r = await run("UPDATE bank_transactions SET status = 'ignored', note = ? WHERE id = ? AND status = 'review'", [ - typeof body.note === "string" ? body.note.slice(0, 500) : null, - id, - ]); - if (!r.changes) return c.json({ error: "This payment is not waiting for a match" }, 409); - return c.json({ ok: true }); - }); - - app.post("/api/bank/transactions/:id/restore", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("UPDATE bank_transactions SET status = 'review', note = NULL WHERE id = ? AND status = 'ignored'", [id]); - if (!r.changes) return c.json({ error: "This payment is not ignored" }, 409); - return c.json({ ok: true }); - }); - - // Match again everything waiting: after this month's charges are generated, - // payments that arrived first now have a charge to pay. - app.post("/api/bank/rematch", async (c) => { - const waiting = await query(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE status = 'review' ORDER BY booked_on, id`); - return c.json({ auto_matched: await autoMatch(waiting) }); - }); - - // Remembered payers: who pays for which lease. - app.get("/api/bank/payers", async (c) => { - const leaseId = intParam(c.req.query("lease_id")); - const rows = leaseId - ? await query("SELECT * FROM bank_payers WHERE lease_id = ? ORDER BY created_at", [leaseId]) - : await query("SELECT * FROM bank_payers ORDER BY lease_id, created_at"); - return c.json({ payers: rows }); - }); - - app.delete("/api/bank/payers/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM bank_payers WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); - }); -} - -/** For the Rent tab counts: payments waiting for a person. */ -export async function reviewCount(): Promise { - const row = await get<{ n: number }>("SELECT COUNT(*) AS n FROM bank_transactions WHERE status = 'review'"); - return Number(row?.n ?? 0); -} - -/** Which leases a waiting payment probably belongs to, so a late notice is not sent to someone who paid. */ -export async function pendingPaymentsByLease(): Promise> { - const waiting = await query(`SELECT ${TX_COLUMNS} FROM bank_transactions WHERE status = 'review' ORDER BY booked_on DESC`); - const out = new Map(); - if (!waiting.length) return out; - const ctx = await loadContext(); - for (const tx of waiting) { - const p = propose(tx, ctx); - const leases = p.lease_id ? [p.lease_id] : []; - for (const l of leases) if (!out.has(l)) out.set(l, { transaction_id: tx.id, amount: tx.amount, booked_on: tx.booked_on }); - } - return out; -} diff --git a/src/server/db.ts b/src/server/db.ts deleted file mode 100644 index aafb84fa..00000000 --- a/src/server/db.ts +++ /dev/null @@ -1 +0,0 @@ -export { initDB, query, get, run } from "@clawnify/db"; diff --git a/src/server/http.ts b/src/server/http.ts deleted file mode 100644 index 98faecd5..00000000 --- a/src/server/http.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { Context } from "hono"; -import type { z } from "zod"; - -export type Env = { Bindings: { DB: D1Database } }; - -export const intParam = (raw: string | undefined): number | null => { - if (!raw) return null; - const n = parseInt(raw, 10); - return Number.isFinite(n) ? n : null; -}; - -export async function parseJson(c: Context, schema: z.ZodType): Promise<{ ok: true; data: T } | { ok: false; error: string }> { - let body: unknown; - try { - body = await c.req.json(); - } catch { - return { ok: false, error: "Invalid JSON" }; - } - const parsed = schema.safeParse(body); - if (!parsed.success) return { ok: false, error: parsed.error.issues.map(i => `${i.path.join(".")}: ${i.message}`).join("; ") }; - return { ok: true, data: parsed.data }; -} diff --git a/src/server/index.ts b/src/server/index.ts deleted file mode 100644 index 675d3972..00000000 --- a/src/server/index.ts +++ /dev/null @@ -1,937 +0,0 @@ -import { Hono } from "hono"; -import { z } from "zod"; -import { initDB, query, get, run } from "./db"; -import { intParam, parseJson, type Env } from "./http"; -import { registerBankRoutes } from "./bank"; -import { registerReminderRoutes } from "./reminders"; - -const app = new Hono(); - -app.use("*", async (c, next) => { - initDB(c.env); - await ensureSeeded(); - await next(); -}); - -// ── First-run data ───────────────────────────────────────────────── -// A deploy applies `schema.sql` as DDL only — a seed INSERT there fails the -// whole build — so the defaults and the sample portfolio are written here, -// once, when their tables are still empty. A re-deploy never resurrects a -// row the user deleted, because the table is no longer empty. - -const DEFAULT_SETTINGS: Record = { - default_rent_due_day: "1", - late_fee_amount: "50", - late_fee_grace_days: "5", - currency: "USD", -}; - -const DEMO_PROPERTIES: Array<[string, string, string, string, string, string, string]> = [ - ["Oakwood Estate", "single_family", "210 Oakwood Ln", "Austin", "TX", "78704", "emerald"], - ["Honeybee Hideaway", "single_family", "88 Bramble Ct", "Austin", "TX", "78704", "amber"], - ["308 Mission Apartments", "multi_family", "308 Mission St", "Austin", "TX", "78702", "sky"], -]; - -/** property index (into DEMO_PROPERTIES), name, beds, baths, sqft, rent, status */ -const DEMO_UNITS: Array<[number, string, number, number, number, number, string]> = [ - [0, "Main house", 3, 2, 1450, 2300, "occupied"], - [1, "Main house", 2, 1, 980, 1700, "occupied"], - [2, "Unit 1", 1, 1, 620, 1450, "occupied"], - [2, "Unit 2", 1, 1, 620, 1450, "vacant"], - [2, "Unit 3", 2, 1, 850, 1850, "occupied"], -]; - -const DEMO_VENDORS: Array<[string, string, string, string]> = [ - ["Emerald Pool Service", "general", "512-555-0144", "emerald"], - ["Hill Country Plumbing", "plumber", "512-555-0188", "sky"], - ["Bright Spark Electric", "electrician", "512-555-0102", "amber"], -]; - -let seeded = false; // per-isolate fast path; the COUNT re-checks are cheap - -async function ensureSeeded(): Promise { - if (seeded) return; - seeded = true; - try { - for (const [key, value] of Object.entries(DEFAULT_SETTINGS)) { - await run("INSERT OR IGNORE INTO settings (key, value) VALUES (?, ?)", [key, value]); - } - - const props = await get<{ n: number }>("SELECT COUNT(*) AS n FROM properties"); - if ((props?.n ?? 0) === 0) { - const ids: number[] = []; - for (const p of DEMO_PROPERTIES) { - await run( - "INSERT INTO properties (name, type, address, city, state, zip, color) VALUES (?, ?, ?, ?, ?, ?, ?)", - p, - ); - const row = await get<{ id: number }>("SELECT id FROM properties ORDER BY id DESC LIMIT 1"); - ids.push(row?.id ?? 0); - } - const units = await get<{ n: number }>("SELECT COUNT(*) AS n FROM units"); - if ((units?.n ?? 0) === 0) { - for (const [pi, name, beds, baths, sqft, rent, status] of DEMO_UNITS) { - if (!ids[pi]) continue; - await run( - "INSERT INTO units (property_id, name, bedrooms, bathrooms, sqft, market_rent, status) VALUES (?, ?, ?, ?, ?, ?, ?)", - [ids[pi], name, beds, baths, sqft, rent, status], - ); - } - } - } - - const vendors = await get<{ n: number }>("SELECT COUNT(*) AS n FROM vendors"); - if ((vendors?.n ?? 0) === 0) { - for (const v of DEMO_VENDORS) { - await run("INSERT INTO vendors (name, category, phone, color) VALUES (?, ?, ?, ?)", v); - } - } - } catch { - // A cold database mid-migration, or a table this build has not created - // yet: the next request retries. Never fail a request over sample data. - seeded = false; - } -} - -// ── Helpers ──────────────────────────────────────────────────────── - -function buildUpdate(fields: Record): { sets: string[]; params: unknown[] } { - const sets: string[] = []; - const params: unknown[] = []; - for (const [k, v] of Object.entries(fields)) { - if (v !== undefined) { sets.push(`${k} = ?`); params.push(v); } - } - return { sets, params }; -} - -// ── Properties ───────────────────────────────────────────────────── - -const PropertyInput = z.object({ - name: z.string().min(1), - type: z.enum(["single_family", "multi_family", "condo", "townhouse", "commercial"]).optional(), - address: z.string().optional().nullable(), - city: z.string().optional().nullable(), - state: z.string().optional().nullable(), - zip: z.string().optional().nullable(), - year_built: z.number().int().optional().nullable(), - notes: z.string().optional().nullable(), - color: z.string().optional(), -}); - -app.get("/api/properties", async (c) => { - const rows = await query( - `SELECT p.*, - (SELECT COUNT(*) FROM units u WHERE u.property_id = p.id) as unit_count, - (SELECT COUNT(*) FROM units u WHERE u.property_id = p.id AND u.status = 'occupied') as occupied_count - FROM properties p ORDER BY p.name`, - ); - return c.json({ properties: rows }); -}); - -app.get("/api/properties/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const row = await get("SELECT * FROM properties WHERE id = ?", [id]); - if (!row) return c.json({ error: "Not found" }, 404); - return c.json({ property: row }); -}); - -app.post("/api/properties", async (c) => { - const parsed = await parseJson(c, PropertyInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO properties (name, type, address, city, state, zip, year_built, notes, color) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [d.name, d.type ?? "single_family", d.address ?? null, d.city ?? null, d.state ?? null, d.zip ?? null, d.year_built ?? null, d.notes ?? null, d.color ?? "sky"], - ); - const row = await get("SELECT * FROM properties WHERE id = ?", [result.lastInsertRowid]); - return c.json({ property: row }, 201); -}); - -app.put("/api/properties/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, PropertyInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE properties SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get("SELECT * FROM properties WHERE id = ?", [id]); - return c.json({ property: row }); -}); - -app.delete("/api/properties/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM properties WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Units ────────────────────────────────────────────────────────── - -const UnitInput = z.object({ - property_id: z.number().int(), - name: z.string().min(1), - bedrooms: z.number().min(0).optional(), - bathrooms: z.number().min(0).optional(), - sqft: z.number().int().optional().nullable(), - market_rent: z.number().min(0).optional(), - status: z.enum(["vacant", "occupied", "turnover", "unavailable"]).optional(), - notes: z.string().optional().nullable(), -}); - -const UNIT_SELECT = ` - SELECT u.*, - p.name as property_name, - p.color as property_color, - p.address as property_address, - p.city as property_city, - (SELECT l.id FROM leases l WHERE l.unit_id = u.id AND l.status = 'active' ORDER BY l.start_date DESC LIMIT 1) as active_lease_id, - (SELECT t.first_name || ' ' || t.last_name FROM leases l LEFT JOIN tenants t ON t.id = l.primary_tenant_id WHERE l.unit_id = u.id AND l.status = 'active' ORDER BY l.start_date DESC LIMIT 1) as active_tenant_name - FROM units u - LEFT JOIN properties p ON p.id = u.property_id -`; - -app.get("/api/units", async (c) => { - const propertyId = intParam(c.req.query("property_id")); - const status = c.req.query("status"); - const where: string[] = []; - const params: unknown[] = []; - if (propertyId) { where.push("u.property_id = ?"); params.push(propertyId); } - if (status) { where.push("u.status = ?"); params.push(status); } - const sql = `${UNIT_SELECT}${where.length ? " WHERE " + where.join(" AND ") : ""} ORDER BY p.name, u.name`; - const rows = await query(sql, params); - return c.json({ units: rows }); -}); - -app.get("/api/units/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const row = await get(`${UNIT_SELECT} WHERE u.id = ?`, [id]); - if (!row) return c.json({ error: "Not found" }, 404); - return c.json({ unit: row }); -}); - -app.post("/api/units", async (c) => { - const parsed = await parseJson(c, UnitInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO units (property_id, name, bedrooms, bathrooms, sqft, market_rent, status, notes) - VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, - [d.property_id, d.name, d.bedrooms ?? 1, d.bathrooms ?? 1, d.sqft ?? null, d.market_rent ?? 0, d.status ?? "vacant", d.notes ?? null], - ); - const row = await get(`${UNIT_SELECT} WHERE u.id = ?`, [result.lastInsertRowid]); - return c.json({ unit: row }, 201); -}); - -app.put("/api/units/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, UnitInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE units SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get(`${UNIT_SELECT} WHERE u.id = ?`, [id]); - return c.json({ unit: row }); -}); - -app.delete("/api/units/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM units WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Tenants ──────────────────────────────────────────────────────── - -const TenantInput = z.object({ - first_name: z.string().min(1), - last_name: z.string().min(1), - email: z.string().optional().nullable(), - phone: z.string().optional().nullable(), - date_of_birth: z.string().optional().nullable(), - emergency_contact: z.string().optional().nullable(), - employer: z.string().optional().nullable(), - monthly_income: z.number().optional().nullable(), - notes: z.string().optional().nullable(), -}); - -app.get("/api/tenants", async (c) => { - const search = c.req.query("q")?.trim(); - if (search) { - const like = `%${search}%`; - const rows = await query( - `SELECT t.*, - (SELECT u.id FROM leases l LEFT JOIN units u ON u.id = l.unit_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_unit_id, - (SELECT u.name FROM leases l LEFT JOIN units u ON u.id = l.unit_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_unit_name, - (SELECT p.name FROM leases l LEFT JOIN units u ON u.id = l.unit_id LEFT JOIN properties p ON p.id = u.property_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_property_name - FROM tenants t - WHERE t.last_name LIKE ? OR t.first_name LIKE ? OR t.email LIKE ? OR t.phone LIKE ? - ORDER BY t.last_name, t.first_name LIMIT 200`, - [like, like, like, like], - ); - return c.json({ tenants: rows }); - } - const rows = await query( - `SELECT t.*, - (SELECT u.id FROM leases l LEFT JOIN units u ON u.id = l.unit_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_unit_id, - (SELECT u.name FROM leases l LEFT JOIN units u ON u.id = l.unit_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_unit_name, - (SELECT p.name FROM leases l LEFT JOIN units u ON u.id = l.unit_id LEFT JOIN properties p ON p.id = u.property_id - WHERE l.primary_tenant_id = t.id AND l.status = 'active' LIMIT 1) as active_property_name - FROM tenants t ORDER BY t.last_name, t.first_name LIMIT 500`, - ); - return c.json({ tenants: rows }); -}); - -app.get("/api/tenants/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const row = await get("SELECT * FROM tenants WHERE id = ?", [id]); - if (!row) return c.json({ error: "Not found" }, 404); - return c.json({ tenant: row }); -}); - -app.post("/api/tenants", async (c) => { - const parsed = await parseJson(c, TenantInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO tenants (first_name, last_name, email, phone, date_of_birth, emergency_contact, employer, monthly_income, notes) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [d.first_name, d.last_name, d.email ?? null, d.phone ?? null, d.date_of_birth ?? null, d.emergency_contact ?? null, d.employer ?? null, d.monthly_income ?? null, d.notes ?? null], - ); - const row = await get("SELECT * FROM tenants WHERE id = ?", [result.lastInsertRowid]); - return c.json({ tenant: row }, 201); -}); - -app.put("/api/tenants/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, TenantInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE tenants SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get("SELECT * FROM tenants WHERE id = ?", [id]); - return c.json({ tenant: row }); -}); - -app.delete("/api/tenants/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM tenants WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Leases ───────────────────────────────────────────────────────── - -const LeaseInput = z.object({ - unit_id: z.number().int(), - primary_tenant_id: z.number().int().nullable().optional(), - start_date: z.string(), - end_date: z.string(), - monthly_rent: z.number().min(0).optional(), - deposit: z.number().min(0).optional(), - rent_due_day: z.number().int().min(1).max(31).optional(), - late_fee: z.number().min(0).optional(), - status: z.enum(["upcoming", "active", "ended", "cancelled"]).optional(), - notes: z.string().optional().nullable(), -}); - -const LEASE_SELECT = ` - SELECT l.*, - u.name as unit_name, - p.id as property_id, p.name as property_name, p.color as property_color, - t.first_name as tenant_first_name, t.last_name as tenant_last_name, - t.email as tenant_email, t.phone as tenant_phone - FROM leases l - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id -`; - -app.get("/api/leases", async (c) => { - const status = c.req.query("status"); - const tenantId = intParam(c.req.query("tenant_id")); - const unitId = intParam(c.req.query("unit_id")); - const where: string[] = []; - const params: unknown[] = []; - if (status) { where.push("l.status = ?"); params.push(status); } - if (tenantId) { where.push("l.primary_tenant_id = ?"); params.push(tenantId); } - if (unitId) { where.push("l.unit_id = ?"); params.push(unitId); } - const sql = `${LEASE_SELECT}${where.length ? " WHERE " + where.join(" AND ") : ""} ORDER BY l.start_date DESC`; - const rows = await query(sql, params); - return c.json({ leases: rows }); -}); - -app.get("/api/leases/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const row = await get(`${LEASE_SELECT} WHERE l.id = ?`, [id]); - if (!row) return c.json({ error: "Not found" }, 404); - return c.json({ lease: row }); -}); - -app.post("/api/leases", async (c) => { - const parsed = await parseJson(c, LeaseInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO leases (unit_id, primary_tenant_id, start_date, end_date, monthly_rent, deposit, rent_due_day, late_fee, status, notes) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [d.unit_id, d.primary_tenant_id ?? null, d.start_date, d.end_date, d.monthly_rent ?? 0, d.deposit ?? 0, d.rent_due_day ?? 1, d.late_fee ?? 0, d.status ?? "active", d.notes ?? null], - ); - // Mark the unit as occupied if the new lease is active. - if ((d.status ?? "active") === "active") { - await run("UPDATE units SET status = 'occupied' WHERE id = ?", [d.unit_id]); - } - const row = await get(`${LEASE_SELECT} WHERE l.id = ?`, [result.lastInsertRowid]); - return c.json({ lease: row }, 201); -}); - -app.put("/api/leases/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, LeaseInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE leases SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get(`${LEASE_SELECT} WHERE l.id = ?`, [id]); - return c.json({ lease: row }); -}); - -app.delete("/api/leases/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM leases WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Rent charges & payments ──────────────────────────────────────── - -const ChargeInput = z.object({ - lease_id: z.number().int(), - period: z.string().regex(/^\d{4}-\d{2}$/), - due_date: z.string(), - amount: z.number().min(0).optional(), - notes: z.string().optional().nullable(), -}); - -const CHARGE_SELECT = ` - SELECT c.*, - l.unit_id, l.monthly_rent as lease_rent, l.rent_due_day, - u.name as unit_name, - p.id as property_id, p.name as property_name, p.color as property_color, - t.id as tenant_id, t.first_name as tenant_first_name, t.last_name as tenant_last_name - FROM rent_charges c - LEFT JOIN leases l ON l.id = c.lease_id - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id -`; - -app.get("/api/rent-charges", async (c) => { - const period = c.req.query("period"); - const status = c.req.query("status"); - const where: string[] = []; - const params: unknown[] = []; - if (period) { where.push("c.period = ?"); params.push(period); } - if (status) { where.push("c.status = ?"); params.push(status); } - const sql = `${CHARGE_SELECT}${where.length ? " WHERE " + where.join(" AND ") : ""} ORDER BY c.due_date, p.name, u.name`; - const rows = await query(sql, params).catch(() => []); - return c.json({ charges: rows }); -}); - -app.post("/api/rent-charges", async (c) => { - const parsed = await parseJson(c, ChargeInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO rent_charges (lease_id, period, due_date, amount, notes) VALUES (?, ?, ?, ?, ?) - ON CONFLICT(lease_id, period) DO NOTHING`, - [d.lease_id, d.period, d.due_date, d.amount ?? 0, d.notes ?? null], - ); - if (!result.changes) { - const existing = await get(`${CHARGE_SELECT} WHERE c.lease_id = ? AND c.period = ?`, [d.lease_id, d.period]); - return c.json({ charge: existing }); - } - const row = await get(`${CHARGE_SELECT} WHERE c.id = ?`, [result.lastInsertRowid]); - return c.json({ charge: row }, 201); -}); - -// Generate (idempotent) charges for a given period across all active leases. -app.post("/api/rent-charges/generate", async (c) => { - const body = await c.req.json().catch(() => ({})) as { period?: string }; - const period = body.period; - if (!period || !/^\d{4}-\d{2}$/.test(period)) return c.json({ error: "period (YYYY-MM) required" }, 400); - const leases = await query<{ id: number; monthly_rent: number; rent_due_day: number; start_date: string; end_date: string }>( - "SELECT id, monthly_rent, rent_due_day, start_date, end_date FROM leases WHERE status = 'active'", - ); - let created = 0; - for (const l of leases) { - // Skip if the lease doesn't cover this period at all. - const periodStart = `${period}-01`; - if (l.end_date < periodStart) continue; - const day = String(Math.min(28, Math.max(1, l.rent_due_day))).padStart(2, "0"); - const dueDate = `${period}-${day}`; - const r = await run( - `INSERT INTO rent_charges (lease_id, period, due_date, amount) VALUES (?, ?, ?, ?) - ON CONFLICT(lease_id, period) DO NOTHING`, - [l.id, period, dueDate, l.monthly_rent], - ); - if (r.changes) created++; - } - // Re-mark anything past due as 'overdue'. - await run( - `UPDATE rent_charges SET status = 'overdue' - WHERE status IN ('open', 'partial') AND amount_paid < amount AND due_date < date('now')`, - ); - return c.json({ created, period }); -}); - -app.put("/api/rent-charges/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const Patch = z.object({ - amount: z.number().min(0).optional(), - due_date: z.string().optional(), - status: z.enum(["open", "partial", "paid", "overdue", "waived"]).optional(), - notes: z.string().optional().nullable(), - }); - const parsed = await parseJson(c, Patch); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE rent_charges SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get(`${CHARGE_SELECT} WHERE c.id = ?`, [id]); - return c.json({ charge: row }); -}); - -app.delete("/api/rent-charges/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM rent_charges WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -const PaymentInput = z.object({ - charge_id: z.number().int(), - paid_at: z.string().optional(), - amount: z.number().min(0), - method: z.enum(["cash", "check", "ach", "credit", "other"]).optional(), - reference: z.string().optional().nullable(), - notes: z.string().optional().nullable(), -}); - -app.get("/api/rent-charges/:id/payments", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const rows = await query("SELECT * FROM payments WHERE charge_id = ? ORDER BY paid_at DESC", [id]); - return c.json({ payments: rows }); -}); - -app.post("/api/payments", async (c) => { - const parsed = await parseJson(c, PaymentInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - await run( - `INSERT INTO payments (charge_id, paid_at, amount, method, reference, notes) - VALUES (?, COALESCE(?, datetime('now')), ?, ?, ?, ?)`, - [d.charge_id, d.paid_at ?? null, d.amount, d.method ?? "cash", d.reference ?? null, d.notes ?? null], - ); - // Recompute the charge's amount_paid + status. - const charge = await get<{ amount: number }>("SELECT amount FROM rent_charges WHERE id = ?", [d.charge_id]); - if (!charge) return c.json({ error: "Charge not found" }, 404); - const sumRow = await get<{ total: number }>("SELECT COALESCE(SUM(amount), 0) as total FROM payments WHERE charge_id = ?", [d.charge_id]); - const paid = Number(sumRow?.total ?? 0); - const status = paid >= charge.amount ? "paid" : paid > 0 ? "partial" : "open"; - await run("UPDATE rent_charges SET amount_paid = ?, status = ? WHERE id = ?", [paid, status, d.charge_id]); - const updated = await get(`${CHARGE_SELECT} WHERE c.id = ?`, [d.charge_id]); - return c.json({ charge: updated }, 201); -}); - -app.delete("/api/payments/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const row = await get<{ charge_id: number }>("SELECT charge_id FROM payments WHERE id = ?", [id]); - if (!row) return c.json({ error: "Not found" }, 404); - await run("DELETE FROM payments WHERE id = ?", [id]); - // Recompute the charge. - const sumRow = await get<{ total: number }>("SELECT COALESCE(SUM(amount), 0) as total FROM payments WHERE charge_id = ?", [row.charge_id]); - const charge = await get<{ amount: number }>("SELECT amount FROM rent_charges WHERE id = ?", [row.charge_id]); - const paid = Number(sumRow?.total ?? 0); - const status = !charge ? "open" : paid >= charge.amount ? "paid" : paid > 0 ? "partial" : "open"; - await run("UPDATE rent_charges SET amount_paid = ?, status = ? WHERE id = ?", [paid, status, row.charge_id]); - return c.json({ ok: true }); -}); - -// ── Vendors ──────────────────────────────────────────────────────── - -const VendorInput = z.object({ - name: z.string().min(1), - category: z.enum(["plumber", "electrician", "hvac", "handyman", "cleaning", "landscaping", "general"]).optional(), - phone: z.string().optional().nullable(), - email: z.string().optional().nullable(), - notes: z.string().optional().nullable(), - color: z.string().optional(), -}); - -app.get("/api/vendors", async (c) => { - const rows = await query("SELECT * FROM vendors ORDER BY name"); - return c.json({ vendors: rows }); -}); - -app.post("/api/vendors", async (c) => { - const parsed = await parseJson(c, VendorInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - "INSERT INTO vendors (name, category, phone, email, notes, color) VALUES (?, ?, ?, ?, ?, ?)", - [d.name, d.category ?? "general", d.phone ?? null, d.email ?? null, d.notes ?? null, d.color ?? "slate"], - ); - const row = await get("SELECT * FROM vendors WHERE id = ?", [result.lastInsertRowid]); - return c.json({ vendor: row }, 201); -}); - -app.put("/api/vendors/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, VendorInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE vendors SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get("SELECT * FROM vendors WHERE id = ?", [id]); - return c.json({ vendor: row }); -}); - -app.delete("/api/vendors/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM vendors WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Work orders ──────────────────────────────────────────────────── - -const WorkOrderInput = z.object({ - property_id: z.number().int().nullable().optional(), - unit_id: z.number().int().nullable().optional(), - tenant_id: z.number().int().nullable().optional(), - vendor_id: z.number().int().nullable().optional(), - title: z.string().min(1), - description: z.string().optional().nullable(), - priority: z.enum(["low", "normal", "high", "urgent"]).optional(), - status: z.enum(["open", "assigned", "in_progress", "completed", "cancelled"]).optional(), - scheduled_at: z.string().optional().nullable(), - completed_at: z.string().optional().nullable(), - cost: z.number().min(0).optional().nullable(), - notes: z.string().optional().nullable(), -}); - -const WO_SELECT = ` - SELECT w.*, - p.name as property_name, p.color as property_color, - u.name as unit_name, - t.first_name as tenant_first_name, t.last_name as tenant_last_name, - v.name as vendor_name, v.color as vendor_color - FROM work_orders w - LEFT JOIN properties p ON p.id = w.property_id - LEFT JOIN units u ON u.id = w.unit_id - LEFT JOIN tenants t ON t.id = w.tenant_id - LEFT JOIN vendors v ON v.id = w.vendor_id -`; - -app.get("/api/work-orders", async (c) => { - const status = c.req.query("status"); - const propertyId = intParam(c.req.query("property_id")); - const where: string[] = []; - const params: unknown[] = []; - if (status) { where.push("w.status = ?"); params.push(status); } - if (propertyId) { where.push("w.property_id = ?"); params.push(propertyId); } - const sql = `${WO_SELECT}${where.length ? " WHERE " + where.join(" AND ") : ""} ORDER BY - CASE w.priority WHEN 'urgent' THEN 0 WHEN 'high' THEN 1 WHEN 'normal' THEN 2 ELSE 3 END, - w.created_at DESC`; - const rows = await query(sql, params).catch(() => []); - return c.json({ work_orders: rows }); -}); - -app.post("/api/work-orders", async (c) => { - const parsed = await parseJson(c, WorkOrderInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO work_orders (property_id, unit_id, tenant_id, vendor_id, title, description, priority, status, scheduled_at, completed_at, cost, notes) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [ - d.property_id ?? null, d.unit_id ?? null, d.tenant_id ?? null, d.vendor_id ?? null, - d.title, d.description ?? null, - d.priority ?? "normal", d.status ?? "open", - d.scheduled_at ?? null, d.completed_at ?? null, - d.cost ?? null, d.notes ?? null, - ], - ); - const row = await get(`${WO_SELECT} WHERE w.id = ?`, [result.lastInsertRowid]); - return c.json({ work_order: row }, 201); -}); - -app.put("/api/work-orders/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, WorkOrderInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE work_orders SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get(`${WO_SELECT} WHERE w.id = ?`, [id]); - return c.json({ work_order: row }); -}); - -app.delete("/api/work-orders/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM work_orders WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Applications ─────────────────────────────────────────────────── - -const ApplicationInput = z.object({ - unit_id: z.number().int().nullable().optional(), - first_name: z.string().min(1), - last_name: z.string().min(1), - email: z.string().optional().nullable(), - phone: z.string().optional().nullable(), - monthly_income: z.number().optional().nullable(), - employer: z.string().optional().nullable(), - desired_move_in: z.string().optional().nullable(), - status: z.enum(["new", "screening", "approved", "declined", "withdrawn"]).optional(), - notes: z.string().optional().nullable(), -}); - -app.get("/api/applications", async (c) => { - const rows = await query( - `SELECT a.*, u.name as unit_name, p.name as property_name - FROM applications a - LEFT JOIN units u ON u.id = a.unit_id - LEFT JOIN properties p ON p.id = u.property_id - ORDER BY a.created_at DESC`, - ).catch(() => []); - return c.json({ applications: rows }); -}); - -app.post("/api/applications", async (c) => { - const parsed = await parseJson(c, ApplicationInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const result = await run( - `INSERT INTO applications (unit_id, first_name, last_name, email, phone, monthly_income, employer, desired_move_in, status, notes) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [ - d.unit_id ?? null, d.first_name, d.last_name, - d.email ?? null, d.phone ?? null, d.monthly_income ?? null, d.employer ?? null, - d.desired_move_in ?? null, d.status ?? "new", d.notes ?? null, - ], - ); - const row = await get( - `SELECT a.*, u.name as unit_name, p.name as property_name - FROM applications a LEFT JOIN units u ON u.id = a.unit_id LEFT JOIN properties p ON p.id = u.property_id - WHERE a.id = ?`, - [result.lastInsertRowid], - ); - return c.json({ application: row }, 201); -}); - -app.put("/api/applications/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const parsed = await parseJson(c, ApplicationInput.partial()); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const { sets, params } = buildUpdate(parsed.data); - if (!sets.length) return c.json({ error: "No fields" }, 400); - params.push(id); - const r = await run(`UPDATE applications SET ${sets.join(", ")} WHERE id = ?`, params); - if (!r.changes) return c.json({ error: "Not found" }, 404); - const row = await get( - `SELECT a.*, u.name as unit_name, p.name as property_name - FROM applications a LEFT JOIN units u ON u.id = a.unit_id LEFT JOIN properties p ON p.id = u.property_id - WHERE a.id = ?`, - [id], - ); - return c.json({ application: row }); -}); - -app.delete("/api/applications/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM applications WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); -}); - -// ── Dashboard summary ────────────────────────────────────────────── - -app.get("/api/dashboard/summary", async (c) => { - const today = new Date().toISOString().slice(0, 10); - const periodNow = today.slice(0, 7); - - const safeGet = (sql: string, params: unknown[] = [], fallback: T) => - get(sql, params).catch(() => fallback as T | undefined).then((v) => v ?? fallback); - const safeQuery = (sql: string, params: unknown[] = []): Promise => - query(sql, params).catch(() => [] as T[]); - - const [ - propertyCount, - unitCount, - occupiedCount, - vacantCount, - activeLeases, - upcomingMoveOuts, - monthOutstanding, - monthCollected, - overdueRow, - openWorkOrders, - urgentWorkOrders, - recentWorkOrders, - upcomingExpirations, - ] = await Promise.all([ - safeGet<{ n: number }>("SELECT COUNT(*) as n FROM properties", [], { n: 0 }), - safeGet<{ n: number }>("SELECT COUNT(*) as n FROM units", [], { n: 0 }), - safeGet<{ n: number }>("SELECT COUNT(*) as n FROM units WHERE status = 'occupied'", [], { n: 0 }), - safeGet<{ n: number }>("SELECT COUNT(*) as n FROM units WHERE status = 'vacant'", [], { n: 0 }), - safeGet<{ n: number }>("SELECT COUNT(*) as n FROM leases WHERE status = 'active'", [], { n: 0 }), - safeGet<{ n: number }>( - "SELECT COUNT(*) as n FROM leases WHERE status = 'active' AND end_date <= date('now', '+30 days')", - [], { n: 0 }, - ), - safeGet<{ total: number }>( - "SELECT COALESCE(SUM(amount - amount_paid), 0) as total FROM rent_charges WHERE period = ? AND status != 'waived'", - [periodNow], { total: 0 }, - ), - safeGet<{ total: number }>( - "SELECT COALESCE(SUM(amount_paid), 0) as total FROM rent_charges WHERE period = ?", - [periodNow], { total: 0 }, - ), - safeGet<{ total: number; n: number }>( - "SELECT COALESCE(SUM(amount - amount_paid), 0) as total, COUNT(*) as n FROM rent_charges WHERE due_date < date('now') AND amount_paid < amount AND status != 'waived'", - [], { total: 0, n: 0 }, - ), - safeGet<{ n: number }>( - "SELECT COUNT(*) as n FROM work_orders WHERE status NOT IN ('completed', 'cancelled')", - [], { n: 0 }, - ), - safeGet<{ n: number }>( - "SELECT COUNT(*) as n FROM work_orders WHERE priority = 'urgent' AND status NOT IN ('completed', 'cancelled')", - [], { n: 0 }, - ), - safeQuery<{ id: number; title: string; priority: string; status: string; property_name: string | null; unit_name: string | null; created_at: string }>( - `SELECT w.id, w.title, w.priority, w.status, p.name as property_name, u.name as unit_name, w.created_at - FROM work_orders w - LEFT JOIN properties p ON p.id = w.property_id - LEFT JOIN units u ON u.id = w.unit_id - WHERE w.status NOT IN ('completed', 'cancelled') - ORDER BY CASE w.priority WHEN 'urgent' THEN 0 WHEN 'high' THEN 1 WHEN 'normal' THEN 2 ELSE 3 END, w.created_at DESC - LIMIT 6`, - ), - safeQuery<{ id: number; end_date: string; tenant_first_name: string | null; tenant_last_name: string | null; unit_name: string | null; property_name: string | null }>( - `SELECT l.id, l.end_date, - t.first_name as tenant_first_name, t.last_name as tenant_last_name, - u.name as unit_name, p.name as property_name - FROM leases l - LEFT JOIN tenants t ON t.id = l.primary_tenant_id - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - WHERE l.status = 'active' AND l.end_date <= date('now', '+60 days') - ORDER BY l.end_date ASC LIMIT 6`, - ), - ]); - - return c.json({ - period: periodNow, - properties: propertyCount.n, - units: unitCount.n, - occupied: occupiedCount.n, - vacant: vacantCount.n, - occupancy_rate: unitCount.n ? Math.round((occupiedCount.n / unitCount.n) * 100) : 0, - active_leases: activeLeases.n, - upcoming_move_outs: upcomingMoveOuts.n, - month_outstanding: monthOutstanding.total, - month_collected: monthCollected.total, - overdue_total: overdueRow.total, - overdue_count: overdueRow.n, - open_work_orders: openWorkOrders.n, - urgent_work_orders: urgentWorkOrders.n, - recent_work_orders: recentWorkOrders, - upcoming_expirations: upcomingExpirations, - }); -}); - -// ── Settings (key/value) ─────────────────────────────────────────── - -app.get("/api/settings", async (c) => { - const rows = await query<{ key: string; value: string }>("SELECT key, value FROM settings").catch(() => []); - // Defaults first, so a caller always gets a currency and a due day even if - // the seed has not run yet (a brand-new database, or a deleted row). - const out: Record = { ...DEFAULT_SETTINGS }; - for (const r of rows) out[r.key] = r.value; - return c.json({ settings: out }); -}); - -app.put("/api/settings", async (c) => { - let body: unknown; - try { body = await c.req.json(); } catch { return c.json({ error: "Invalid JSON" }, 400); } - if (!body || typeof body !== "object") return c.json({ error: "Body must be an object" }, 400); - const entries = Object.entries(body as Record).filter(([, v]) => v !== undefined && v !== null); - for (const [key, value] of entries) { - await run( - `INSERT INTO settings (key, value, updated_at) VALUES (?, ?, datetime('now')) - ON CONFLICT(key) DO UPDATE SET value = excluded.value, updated_at = datetime('now')`, - [key, String(value)], - ); - } - const rows = await query<{ key: string; value: string }>("SELECT key, value FROM settings"); - const out: Record = { ...DEFAULT_SETTINGS }; - for (const r of rows) out[r.key] = r.value; - return c.json({ settings: out }); -}); - -// ── Bank matching and late-rent reminders ────────────────────────── - -registerBankRoutes(app); -registerReminderRoutes(app); - -// ── Health ───────────────────────────────────────────────────────── - -app.get("/api/health", (c) => c.json({ ok: true })); - -export default app; diff --git a/src/server/reminders.ts b/src/server/reminders.ts deleted file mode 100644 index 8f087a5b..00000000 --- a/src/server/reminders.ts +++ /dev/null @@ -1,143 +0,0 @@ -// Late-rent reminders: what is due today, drafted, and the log of what was sent. -// -// A person sends each reminder from their own mail and marks it sent here, so -// the next step comes when it falls due and nothing is sent twice. The draft -// is ready for an agent to rewrite (in the tenant's language, say), and the -// log's sent_by and channel are there so an agent can take the sending over -// later; today nothing here sends anything. - -import type { Hono } from "hono"; -import { z } from "zod"; -import { get, query, run } from "./db"; -import { intParam, parseJson, type Env } from "./http"; -import { pendingPaymentsByLease, releaseOrphanedMatches, reviewCount } from "./bank"; -import { dueReminders, readReminderSteps, renderReminder, type ReminderCharge } from "../shared/reminders"; - -const today = () => new Date().toISOString().slice(0, 10); - -interface ChargeRow extends ReminderCharge { - lease_id: number; - tenant_id: number | null; - email: string | null; - phone: string | null; -} - -async function settings(): Promise> { - const rows = await query<{ key: string; value: string }>("SELECT key, value FROM settings").catch(() => []); - return Object.fromEntries(rows.map((r) => [r.key, r.value])); -} - -async function computeDue(day: string) { - const s = await settings(); - const grace = Number.isFinite(parseFloat(s.late_fee_grace_days)) ? parseFloat(s.late_fee_grace_days) : 5; - const currency = s.currency || "USD"; - const steps = readReminderSteps(s.reminder_steps, grace); - const [charges, log] = await Promise.all([ - query( - `SELECT c.id, c.lease_id, c.period, c.due_date, c.amount, c.amount_paid, c.status, - t.id AS tenant_id, t.first_name, t.last_name, t.email, t.phone, - u.name AS unit_name, p.name AS property_name, COALESCE(l.late_fee, 0) AS late_fee - FROM rent_charges c - JOIN leases l ON l.id = c.lease_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - WHERE c.status NOT IN ('paid', 'waived') AND c.amount_paid < c.amount - 0.004`, - ), - query<{ charge_id: number; step: string }>("SELECT charge_id, step FROM rent_reminders"), - ]); - const due = dueReminders(charges, steps, log, day); - return { steps, currency, charges, due }; -} - -const ReminderInput = z.object({ - charge_id: z.number().int(), - step: z.string().min(1).max(40), - status: z.enum(["sent", "skipped"]).optional(), - channel: z.enum(["email", "sms", "letter", "phone", "other"]).optional(), - sent_by: z.enum(["person", "agent"]).optional(), - recipient: z.string().max(200).nullable().optional(), - subject: z.string().max(300).nullable().optional(), - body: z.string().max(10000).nullable().optional(), -}); - -export function registerReminderRoutes(app: Hono) { - // What is due today, each with its draft. `?today=YYYY-MM-DD` evaluates another day. - app.get("/api/reminders", async (c) => { - const q = c.req.query("today"); - const day = q && /^\d{4}-\d{2}-\d{2}$/.test(q) ? q : today(); - await releaseOrphanedMatches(); - const [{ steps, currency, charges, due }, pending, sent] = await Promise.all([ - computeDue(day), - pendingPaymentsByLease(), - query( - `SELECT r.id, r.charge_id, r.step, r.status, r.channel, r.sent_by, r.recipient, r.subject, r.created_at, - c.period, t.first_name, t.last_name, u.name AS unit_name, p.name AS property_name - FROM rent_reminders r - JOIN rent_charges c ON c.id = r.charge_id - JOIN leases l ON l.id = c.lease_id - LEFT JOIN tenants t ON t.id = l.primary_tenant_id - LEFT JOIN units u ON u.id = l.unit_id - LEFT JOIN properties p ON p.id = u.property_id - ORDER BY r.created_at DESC, r.id DESC LIMIT 50`, - ), - ]); - const byId = new Map(charges.map((ch) => [ch.id, ch])); - return c.json({ - today: day, - steps, - due: due.map((d) => { - const ch = byId.get(d.charge_id)!; - return { - charge_id: ch.id, - lease_id: ch.lease_id, - period: ch.period, - due_date: ch.due_date, - amount: ch.amount, - balance: d.balance, - days_late: d.days_late, - step: { key: d.step.key, label: d.step.label }, - tenant: { id: ch.tenant_id, name: [ch.first_name, ch.last_name].filter(Boolean).join(" ") || null, email: ch.email, phone: ch.phone }, - property_name: ch.property_name, - unit_name: ch.unit_name, - draft: { to: ch.email, ...renderReminder(d.step, ch, { currency, today: day }) }, - // A payment that looks like theirs is waiting in Bank matching: check before sending. - pending_payment: pending.get(ch.lease_id) ?? null, - }; - }), - sent, - }); - }); - - // Mark a reminder sent (or skipped). The next step comes when it falls due. - app.post("/api/reminders", async (c) => { - const parsed = await parseJson(c, ReminderInput); - if (!parsed.ok) return c.json({ error: parsed.error }, 400); - const d = parsed.data; - const charge = await get("SELECT id FROM rent_charges WHERE id = ?", [d.charge_id]); - if (!charge) return c.json({ error: "Charge not found" }, 404); - const r = await run( - `INSERT INTO rent_reminders (charge_id, step, status, channel, sent_by, recipient, subject, body) - VALUES (?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT(charge_id, step) DO NOTHING`, - [d.charge_id, d.step, d.status ?? "sent", d.channel ?? "email", d.sent_by ?? "person", d.recipient ?? null, d.subject ?? null, d.body ?? null], - ); - if (!r.changes) return c.json({ error: "This reminder is already marked" }, 409); - return c.json({ id: r.lastInsertRowid }, 201); - }); - - // Undo a mark: the step is offered again. - app.delete("/api/reminders/:id", async (c) => { - const id = intParam(c.req.param("id")); - if (!id) return c.json({ error: "Invalid ID" }, 400); - const r = await run("DELETE FROM rent_reminders WHERE id = ?", [id]); - if (!r.changes) return c.json({ error: "Not found" }, 404); - return c.json({ ok: true }); - }); - - // The counts the Rent tabs and the sidebar badge show. - app.get("/api/rent/attention", async (c) => { - await releaseOrphanedMatches(); - const [bank_review, { due }] = await Promise.all([reviewCount(), computeDue(today())]); - return c.json({ bank_review, reminders_due: due.length }); - }); -} diff --git a/src/server/schema.sql b/src/server/schema.sql deleted file mode 100644 index 89be5e89..00000000 --- a/src/server/schema.sql +++ /dev/null @@ -1,242 +0,0 @@ --- ── Settings (key/value) ───────────────────────────────────────── -CREATE TABLE IF NOT EXISTS settings ( - key TEXT PRIMARY KEY, - value TEXT NOT NULL, - updated_at TEXT NOT NULL DEFAULT (datetime('now')) -); - --- Defaults live in the app (DEFAULT_SETTINGS in src/server/index.ts): a --- deploy applies DDL only, so a seed row here fails the whole build. - --- ── Properties (buildings) ─────────────────────────────────────── -CREATE TABLE IF NOT EXISTS properties ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - name TEXT NOT NULL, - type TEXT NOT NULL DEFAULT 'single_family', -- 'single_family' | 'multi_family' | 'condo' | 'townhouse' | 'commercial' - address TEXT, - city TEXT, - state TEXT, - zip TEXT, - year_built INTEGER, - notes TEXT, - color TEXT NOT NULL DEFAULT 'sky', - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - --- ── Units (rentable spaces inside a property) ──────────────────── -CREATE TABLE IF NOT EXISTS units ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - property_id INTEGER NOT NULL REFERENCES properties(id) ON DELETE CASCADE, - name TEXT NOT NULL, -- e.g. 'Unit 1A', '308', 'Main house' - bedrooms REAL NOT NULL DEFAULT 1, -- studio = 0, allows half-beds (rare) - bathrooms REAL NOT NULL DEFAULT 1, -- allows half-baths (1.5) - sqft INTEGER, - market_rent REAL NOT NULL DEFAULT 0, - status TEXT NOT NULL DEFAULT 'vacant', -- 'vacant' | 'occupied' | 'turnover' | 'unavailable' - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_units_property ON units(property_id); -CREATE INDEX IF NOT EXISTS idx_units_status ON units(status); - --- ── Tenants ────────────────────────────────────────────────────── -CREATE TABLE IF NOT EXISTS tenants ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - first_name TEXT NOT NULL, - last_name TEXT NOT NULL, - email TEXT, - phone TEXT, - date_of_birth TEXT, - emergency_contact TEXT, - employer TEXT, - monthly_income REAL, - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_tenants_name ON tenants(last_name, first_name); - --- ── Leases ─────────────────────────────────────────────────────── -CREATE TABLE IF NOT EXISTS leases ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - unit_id INTEGER NOT NULL REFERENCES units(id) ON DELETE CASCADE, - primary_tenant_id INTEGER REFERENCES tenants(id) ON DELETE SET NULL, - start_date TEXT NOT NULL, -- 'YYYY-MM-DD' - end_date TEXT NOT NULL, - monthly_rent REAL NOT NULL DEFAULT 0, - deposit REAL NOT NULL DEFAULT 0, - rent_due_day INTEGER NOT NULL DEFAULT 1, - late_fee REAL NOT NULL DEFAULT 0, - status TEXT NOT NULL DEFAULT 'active', -- 'upcoming' | 'active' | 'ended' | 'cancelled' - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_leases_unit ON leases(unit_id); -CREATE INDEX IF NOT EXISTS idx_leases_tenant ON leases(primary_tenant_id); -CREATE INDEX IF NOT EXISTS idx_leases_status ON leases(status); - --- Multi-tenant leases (occupants beyond the primary). -CREATE TABLE IF NOT EXISTS lease_tenants ( - lease_id INTEGER NOT NULL REFERENCES leases(id) ON DELETE CASCADE, - tenant_id INTEGER NOT NULL REFERENCES tenants(id) ON DELETE CASCADE, - PRIMARY KEY (lease_id, tenant_id) -); - --- ── Rent charges (one per period per lease) ────────────────────── -CREATE TABLE IF NOT EXISTS rent_charges ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - lease_id INTEGER NOT NULL REFERENCES leases(id) ON DELETE CASCADE, - period TEXT NOT NULL, -- 'YYYY-MM' (e.g. '2026-04') - due_date TEXT NOT NULL, -- 'YYYY-MM-DD' - amount REAL NOT NULL DEFAULT 0, - amount_paid REAL NOT NULL DEFAULT 0, - status TEXT NOT NULL DEFAULT 'open', -- 'open' | 'partial' | 'paid' | 'overdue' | 'waived' - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE UNIQUE INDEX IF NOT EXISTS idx_charges_lease_period ON rent_charges(lease_id, period); -CREATE INDEX IF NOT EXISTS idx_charges_due ON rent_charges(due_date); -CREATE INDEX IF NOT EXISTS idx_charges_status ON rent_charges(status); - --- ── Payments (applied to a charge) ─────────────────────────────── -CREATE TABLE IF NOT EXISTS payments ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - charge_id INTEGER NOT NULL REFERENCES rent_charges(id) ON DELETE CASCADE, - paid_at TEXT NOT NULL DEFAULT (datetime('now')), - amount REAL NOT NULL DEFAULT 0, - method TEXT NOT NULL DEFAULT 'cash', -- 'cash' | 'check' | 'ach' | 'credit' | 'other' - reference TEXT, -- check number, transaction ID, etc. - notes TEXT -); - -CREATE INDEX IF NOT EXISTS idx_payments_charge ON payments(charge_id); - --- ── Vendors ────────────────────────────────────────────────────── -CREATE TABLE IF NOT EXISTS vendors ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - name TEXT NOT NULL, - category TEXT NOT NULL DEFAULT 'general', -- 'plumber' | 'electrician' | 'hvac' | 'handyman' | 'cleaning' | 'landscaping' | 'general' - phone TEXT, - email TEXT, - notes TEXT, - color TEXT NOT NULL DEFAULT 'slate', - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - --- ── Work orders (maintenance) ──────────────────────────────────── -CREATE TABLE IF NOT EXISTS work_orders ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - property_id INTEGER REFERENCES properties(id) ON DELETE SET NULL, - unit_id INTEGER REFERENCES units(id) ON DELETE SET NULL, - tenant_id INTEGER REFERENCES tenants(id) ON DELETE SET NULL, -- who reported it - vendor_id INTEGER REFERENCES vendors(id) ON DELETE SET NULL, - title TEXT NOT NULL, - description TEXT, - priority TEXT NOT NULL DEFAULT 'normal', -- 'low' | 'normal' | 'high' | 'urgent' - status TEXT NOT NULL DEFAULT 'open', -- 'open' | 'assigned' | 'in_progress' | 'completed' | 'cancelled' - scheduled_at TEXT, - completed_at TEXT, - cost REAL, - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_wo_status ON work_orders(status); -CREATE INDEX IF NOT EXISTS idx_wo_property ON work_orders(property_id); -CREATE INDEX IF NOT EXISTS idx_wo_unit ON work_orders(unit_id); - --- ── Applications (manual record only — no public submission) ───── -CREATE TABLE IF NOT EXISTS applications ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - unit_id INTEGER REFERENCES units(id) ON DELETE SET NULL, - first_name TEXT NOT NULL, - last_name TEXT NOT NULL, - email TEXT, - phone TEXT, - monthly_income REAL, - employer TEXT, - desired_move_in TEXT, - status TEXT NOT NULL DEFAULT 'new', -- 'new' | 'screening' | 'approved' | 'declined' | 'withdrawn' - notes TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_applications_status ON applications(status); - --- ── Bank statements (money in, matched to rent) ─────────────────── --- Only new tables here, never a changed one: an existing install picks them --- up on its next deploy with no migration of the rent data it already has. - -CREATE TABLE IF NOT EXISTS bank_imports ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - filename TEXT, - format TEXT NOT NULL DEFAULT 'csv', -- 'csv' | 'camt053' | 'api' - credits INTEGER NOT NULL DEFAULT 0, -- incoming payments in the file - duplicates INTEGER NOT NULL DEFAULT 0, -- already imported from an earlier statement - auto_matched INTEGER NOT NULL DEFAULT 0, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE TABLE IF NOT EXISTS bank_transactions ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - import_id INTEGER REFERENCES bank_imports(id) ON DELETE SET NULL, - booked_on TEXT NOT NULL, -- 'YYYY-MM-DD' - amount REAL NOT NULL, -- money in, always > 0 - currency TEXT, - payer_name TEXT, - payer_account TEXT, -- IBAN or account number, no spaces - reference TEXT, - bank_ref TEXT, -- the bank's own id for the line, when it gives one - fingerprint TEXT NOT NULL, -- the same line in two overlapping statements is one payment - status TEXT NOT NULL DEFAULT 'review', -- 'review' | 'matched' | 'ignored' - lease_id INTEGER REFERENCES leases(id) ON DELETE SET NULL, -- the lease it paid, once matched - matched_by TEXT, -- 'auto' | 'person' | 'agent' - note TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE UNIQUE INDEX IF NOT EXISTS idx_bank_tx_fingerprint ON bank_transactions(fingerprint); -CREATE INDEX IF NOT EXISTS idx_bank_tx_status ON bank_transactions(status, booked_on); - --- Who pays for a lease, learned when a person confirms a match: the IBAN when --- the bank gives one, else the sender's name (stored normalised). -CREATE TABLE IF NOT EXISTS bank_payers ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - lease_id INTEGER NOT NULL REFERENCES leases(id) ON DELETE CASCADE, - payer_account TEXT, - payer_name TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE INDEX IF NOT EXISTS idx_bank_payers_lease ON bank_payers(lease_id); - --- The payments a bank transaction became: one transfer can pay two months. -CREATE TABLE IF NOT EXISTS bank_matches ( - transaction_id INTEGER NOT NULL REFERENCES bank_transactions(id) ON DELETE CASCADE, - payment_id INTEGER NOT NULL REFERENCES payments(id) ON DELETE CASCADE, - PRIMARY KEY (transaction_id, payment_id) -); - --- ── Late-rent reminders ────────────────────────────────────────── --- One row per charge and step, written when the reminder is sent (or skipped). --- A person sends today; sent_by and channel leave room for an agent to. -CREATE TABLE IF NOT EXISTS rent_reminders ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - charge_id INTEGER NOT NULL REFERENCES rent_charges(id) ON DELETE CASCADE, - step TEXT NOT NULL, -- 'before_due' | 'late' | 'final' - status TEXT NOT NULL DEFAULT 'sent', -- 'sent' | 'skipped' - channel TEXT NOT NULL DEFAULT 'email', -- 'email' | 'sms' | 'letter' | 'phone' | 'other' - sent_by TEXT NOT NULL DEFAULT 'person', -- 'person' | 'agent' - recipient TEXT, - subject TEXT, - body TEXT, - created_at TEXT NOT NULL DEFAULT (datetime('now')) -); - -CREATE UNIQUE INDEX IF NOT EXISTS idx_reminders_charge_step ON rent_reminders(charge_id, step); - --- Demo data is seeded by the app on first read (ensureSeeded in --- src/server/index.ts), never here: this file is applied as DDL only. diff --git a/src/shared/matching.ts b/src/shared/matching.ts index 2c0c996e..2228aa58 100644 --- a/src/shared/matching.ts +++ b/src/shared/matching.ts @@ -13,7 +13,7 @@ // tenant did not say otherwise (§ 366 BGB in Germany), unless the reference // names a month that is open. -import { normalizeAccount, normalizeName, tokens } from "./text"; +import { normalizeAccount, normalizeName, tokens } from "./text.ts"; export interface MatchCharge { id: number; diff --git a/src/shared/statement.ts b/src/shared/statement.ts index 9f743a9b..21ef58b0 100644 --- a/src/shared/statement.ts +++ b/src/shared/statement.ts @@ -11,8 +11,8 @@ // Both run in the browser on the file the person picks; the server receives // only the normalised lines. -import { all, descendants, find, parseXml, textAt, type XmlNode } from "./xml"; -import { normalizeAccount, normalizeText } from "./text"; +import { all, descendants, find, parseXml, textAt, type XmlNode } from "./xml.ts"; +import { normalizeAccount, normalizeText } from "./text.ts"; export interface StatementLine { /** Booking date, `YYYY-MM-DD`. */ diff --git a/src/tickets.js b/src/tickets.js new file mode 100644 index 00000000..d7581d92 --- /dev/null +++ b/src/tickets.js @@ -0,0 +1,30 @@ +import {sql} from 'drizzle-orm'; +import {scoped,demand,field,choice,uuid} from './db.js'; +export const categories=['Plumbing','Heating and cooling','Electrical','Appliance','Access','Payment','Other']; +export const urgencies=['low','normal','high','urgent']; +export const statuses=['open','assigned','in_progress','completed','cancelled']; +const publicMeta=t=>({id:t.id,category:t.category,urgency:t.urgency,status:t.status,created_at:t.created_at,updated_at:t.updated_at}); +export async function createTicket(db,home,b,external=false){ + const subject=field(b.subject,120,'subject'),details=field(b.details,3000,'description'),category=choice(b.category,categories),urgency=choice(b.urgency,urgencies),key=uuid(b.requestKey); + // Repeated submissions return their first result. A reused key with changed input is a conflict. + let [ticket]=await scoped(db,home,sql`insert into tickets(home_id,subject,details,category,urgency,request_key) values(${home},${subject},${details},${category},${urgency},${key}) on conflict(home_id,request_key) do nothing returning *`); + if(!ticket){ + [ticket]=await scoped(db,home,sql`select * from tickets where request_key=${key}`); + demand(ticket.subject===subject && ticket.category===category && ticket.details===details,409,'That request key already belongs to a different ticket.'); + } + return external?publicMeta(ticket):ticket; +} +export async function readTickets(db,home,external=false){ + const records=await scoped(db,home,sql`select * from tickets order by case when status in ('completed','cancelled') then 1 else 0 end, case urgency when 'urgent' then 0 when 'high' then 1 when 'normal' then 2 else 3 end,created_at desc`); + return external?records.map(publicMeta):records; +} +export async function updateTicket(db,home,b){ + const status=choice(b.status,statuses),urgency=choice(b.urgency,urgencies),note=field(b.note??'',1500,'update',0),id=uuid(b.id); + const [ticket]=await scoped(db,home,sql`update tickets set status=${status},urgency=${urgency},updated_at=now() where id=${id} returning *`,note); + demand(ticket,404,'Request not found.');return publicMeta(ticket); +} +export async function readEvents(db,home,after){ + demand(/^\d{1,18}$/.test(String(after)),400,'Invalid event cursor.'); + return scoped(db,home,sql`select id,ticket_id,category,status,urgency,created_at from ticket_events where id>${after} order by id limit 100`); +} + diff --git a/src/worker.js b/src/worker.js new file mode 100644 index 00000000..b4c12156 --- /dev/null +++ b/src/worker.js @@ -0,0 +1,23 @@ +import assets from 'sill:assets'; +import {page} from './pages.js'; +import {api,json} from './api.js'; +import {deliver} from './outbound.js'; +export default { + async fetch(req,env,ctx){ + const path=new URL(req.url).pathname.replace(/\/$/,'')||'/'; + try{ + if(path.startsWith('/api/')||path==='/mcp'){ + const response=await api(req,env); + if(response.ok && req.method==='POST'&&env.WEBHOOK_HOME_ID&&['/api/tickets','/api/ticket-update','/api/webhooks/tickets','/api/mcp','/mcp'].includes(path))ctx?.waitUntil(deliver(env).catch(()=>{})); + return response; + } + if(!['GET','HEAD'].includes(req.method))return json({error:'Method not allowed.'},405); + if(Object.hasOwn(assets,path)){const [mime,b64]=assets[path];const bytes=req.method==='HEAD'?null:Uint8Array.from(atob(b64),c=>c.charCodeAt(0));return new Response(bytes,{headers:{'content-type':mime,'cache-control':'public, max-age=3600','x-content-type-options':'nosniff'}});} + const html=page(path); + if(!html)return new Response('Page not found',{status:404}); + return new Response(req.method==='HEAD'?null:html,{headers:{'content-type':'text/html; charset=utf-8','cache-control':'no-store','referrer-policy':'strict-origin-when-cross-origin','x-content-type-options':'nosniff','content-security-policy':"default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self'; form-action 'self'; object-src 'none'; base-uri 'none'"}}); + }catch(e){return json({error:e.status?e.message:'The service is temporarily unavailable.'},e.status||503);} + }, + async scheduled(event,env,ctx){ctx.waitUntil(deliver(env));} +}; + diff --git a/tests/integrations.test.mjs b/tests/integrations.test.mjs new file mode 100644 index 00000000..1d6fdff3 --- /dev/null +++ b/tests/integrations.test.mjs @@ -0,0 +1,28 @@ +import assert from 'node:assert/strict'; +import {test} from 'node:test'; +import {assistant,triage} from '../src/integrations.js'; +test('The free-model path sends only an approved intent and returns the provider reply',async t=>{ + const calls=[];t.mock.method(globalThis,'fetch',async(url,init)=>{ + const b=JSON.parse(init.body);calls.push([url,b]); + if(url.includes('clipguard'))return Response.json({jsonrpc:'2.0',id:b.id,result:{structuredContent:{scrubbedText:b.params.arguments.input}}}); + return Response.json({choices:[{message:{content:'Open Payments to check your ledger.'}}]}); + }); + const result=await assistant({OPENROUTER_API_KEY:'fixture'},'I am Taylor at 122 Elm St, 555-0109. What is my rent?'); + assert.equal(result.mode,'ai');assert.equal(calls.length,2);assert.equal(calls[1][1].model,'openrouter/free'); + assert.doesNotMatch(JSON.stringify(calls),/Taylor|Elm St|555-0109/); +}); +test('Failed redaction keeps the chat local and preserves ticket urgency',async t=>{ + let calls=0;t.mock.method(globalThis,'fetch',async()=>{calls++;return new Response('',{status:503});}); + assert.equal((await assistant({OPENROUTER_API_KEY:'fixture'},'rent')).mode,'guide'); + assert.match((await triage({},{category:'Plumbing',urgency:'high'})).message,/high request/); + assert.equal(calls,2); +}); +test('External ticket routing sees category and urgency without the resident narrative',async t=>{ + const calls=[];t.mock.method(globalThis,'fetch',async(url,init)=>{ + const b=JSON.parse(init.body);calls.push([url,b]);const result=url.includes('clipguard')?{scrubbedText:b.params.arguments.input}:{priority:'P2'}; + return Response.json({jsonrpc:'2.0',id:b.id,result:{structuredContent:result}}); + }); + const result=await triage({},{category:'Plumbing',urgency:'normal',details:'Jane lives at 12 Main St.'}); + assert.equal(calls.length,2);assert.match(result.message,/P2/);assert.match(result.message,/normal/);assert.doesNotMatch(JSON.stringify(calls),/Jane|Main St/); +}); + diff --git a/tests/matching.test.mjs b/tests/matching.test.mjs index 6efb7ee1..4de4683f 100644 --- a/tests/matching.test.mjs +++ b/tests/matching.test.mjs @@ -1,13 +1,6 @@ import assert from "node:assert/strict"; -import { after, before, test } from "node:test"; -import { createServer } from "vite"; - -let vite, m; -before(async () => { - vite = await createServer({ configFile: false, optimizeDeps: { noDiscovery: true, include: [] }, server: { middlewareMode: true, hmr: false }, appType: "custom" }); - m = await vite.ssrLoadModule("/src/shared/matching.ts"); -}); -after(async () => { await vite?.close(); }); +import { test } from "node:test"; +import * as m from "../src/shared/matching.ts"; // Four leases. Marcus owes October; Owen owes the rest of October after a // partial; Hannah owes September and October; Sofia and Ethan both owe 1,950. diff --git a/tests/portal.test.mjs b/tests/portal.test.mjs new file mode 100644 index 00000000..a2eeb669 --- /dev/null +++ b/tests/portal.test.mjs @@ -0,0 +1,88 @@ +import {test,before,after} from 'node:test'; +import assert from 'node:assert/strict'; +import {readFile} from 'node:fs/promises'; +import {PGlite} from '@electric-sql/pglite'; +import worker from '../dist/server/index.js'; +const origin='https://sill.test',env={DATABASE_URL:'postgresql://sill_runtime:fixture@ep-fixture.example.test/db',BETTER_AUTH_URL:origin,BETTER_AUTH_SECRET:'fixture-only-'+crypto.randomUUID()}; +const engine=new PGlite(),originalFetch=globalThis.fetch; +before(async()=>{ + for(const file of ['001_init.sql','002_delivery.sql'])await engine.exec(await readFile(new URL('../db/'+file,import.meta.url),'utf8')); + await engine.exec('CREATE ROLE sill_runtime NOSUPERUSER NOBYPASSRLS'); + await engine.exec(await readFile(new URL('../db/runtime-grants.sql',import.meta.url),'utf8')); + await engine.exec('SET ROLE sill_runtime'); + // Exercise the real Worker, Better Auth, Drizzle and SQL using a local PostgreSQL engine. + globalThis.fetch=async(input,options)=>{ + if(!String(input).endsWith('/sql'))throw Error('Unexpected outbound request'); + const payload=JSON.parse(options.body); + async function run(db,q){ + const r=await db.query(q.query,q.params,{rowMode:'array'}); + const raw=v=>v===null?null:v instanceof Date?v.toISOString():typeof v==='boolean'?(v?'t':'f'):String(v); + return {rowCount:r.affectedRows??r.rows.length,fields:r.fields,rows:r.rows.map(row=>row.map(raw)),command:q.query.trim().split(' ')[0].toUpperCase()}; + } + try{return Response.json(payload.queries?{results:await engine.transaction(async tx=>{const result=[];for(const q of payload.queries)result.push(await run(tx,q));return result;})}:await run(engine,payload));} + catch(e){return Response.json({message:e.message,code:e.code},{status:400});} + }; +}); +after(async()=>{globalThis.fetch=originalFetch;await engine.close();}); +async function request(path,{cookie,home,data,bearer}={}){ + const r=await worker.fetch(new Request(origin+path,{method:data?'POST':'GET',headers:{origin,...(cookie?{cookie}:{}),...(home?{'x-sill-home':home}:{}),...(bearer?{authorization:'Bearer '+bearer}:{}),...(data?{'content-type':'application/json'}:{})},body:data?JSON.stringify(data):undefined}),env); + return {status:r.status,cookie:r.headers.getSetCookie().map(v=>v.split(';')[0]).join('; '),body:r.headers.get('content-type')?.includes('json')?await r.json():await r.text()}; +} +async function account(email){ + const r=await request('/api/auth/sign-up/email',{data:{name:'Fixture',email,password:'Test-password-1234!'}});assert.equal(r.status,200,JSON.stringify(r.body));assert.ok(r.cookie);return r.cookie; +} +async function createHome(cookie,name){ + const p=await request('/api/portfolios',{cookie,data:{name}});assert.equal(p.status,201,JSON.stringify(p.body)); + const h=await request('/api/homes',{cookie,data:{label:'Unit A',portfolio:p.body.id}});assert.equal(h.status,201,JSON.stringify(h.body));return h.body.id; +} +test('Resident sessions, property roles, revocation, idempotency, RLS and household machine keys',async()=>{ + const manager=await account('manager@example.test'),resident=await account('resident@example.test'),stranger=await account('other@example.test'); + const home=await createHome(manager,'Alpha'),other=await createHome(stranger,'Beta'); + const ticket={subject:'Sink drips',details:'Reply to resident@example.test',category:'Plumbing',urgency:'high',requestKey:crypto.randomUUID()}; + assert.equal((await request('/api/tickets',{home,cookie:resident})).status,404); + const invite=await request('/api/invite',{home,cookie:manager,data:{email:'resident@example.test'}}); + assert.equal(invite.status,201,JSON.stringify(invite.body)); + assert.equal((await request('/api/claim',{cookie:stranger,data:{token:invite.body.invite}})).status,400); + assert.equal((await request('/api/claim',{cookie:resident,data:{token:invite.body.invite}})).status,200); + assert.equal((await request('/api/claim',{cookie:resident,data:{token:invite.body.invite}})).status,400); + const t=await request('/api/tickets',{home,cookie:resident,data:ticket});assert.equal(t.status,201,JSON.stringify(t.body)); + assert.equal((await request('/api/tickets',{home,cookie:resident,data:ticket})).body.id,t.body.id); + assert.equal((await request('/api/tickets',{home,cookie:resident,data:{...ticket,subject:'changed'}})).status,409); + assert.equal((await request('/api/tickets',{home:other,cookie:resident,data:ticket})).status,404); + assert.equal((await request('/api/ledger',{home,cookie:resident,data:{}})).status,403); + const charge={kind:'charge',label:'November rent',date:'2026-11-01',cents:125000,requestKey:crypto.randomUUID()}; + const l=await request('/api/ledger',{home,cookie:manager,data:charge});assert.equal(l.status,201,JSON.stringify(l.body)); + assert.equal((await request('/api/ledger',{home,cookie:manager,data:charge})).body.id,l.body.id); + assert.equal((await request('/api/ledger',{home,cookie:resident})).body[0].amount_cents,125000); + const update={id:t.body.id,status:'assigned',urgency:'high',note:'Plumber scheduled.'}; + assert.equal((await request('/api/ticket-update',{home,cookie:manager,data:update})).status,200); + assert.equal((await request('/api/ticket-update',{home:other,cookie:stranger,data:update})).status,404); + assert.equal((await request('/api/ticket-history?id='+t.body.id,{home,cookie:resident})).body.length,2); + assert.equal((await request('/api/tickets',{home:other,cookie:stranger})).body.length,0); + const k=await request('/api/integration-key',{home,cookie:manager,data:{}}),bearer=k.body.key;assert.ok(bearer); + assert.equal((await request('/api/webhooks/tickets')).status,401); + const feed=await request('/api/webhooks/tickets',{bearer});assert.equal(feed.body.events.length,2); + assert.ok(!JSON.stringify(feed.body).includes('resident@')); + assert.equal((await request('/api/webhooks/tickets?after='+feed.body.events[1].id,{bearer})).body.events.length,0); + const rpc={jsonrpc:'2.0',id:7,method:'tools/call',params:{name:'tickets_list',arguments:{}}}; + assert.equal((await request('/api/mcp',{data:rpc})).status,401); + const rpcResult=await request('/api/mcp',{bearer,data:rpc});assert.ok(rpcResult.body.result.content);assert.ok(!JSON.stringify(rpcResult.body).includes('resident@')); + const webhook=await request('/api/webhooks/tickets',{bearer,data:{...ticket,requestKey:crypto.randomUUID()}});assert.equal(webhook.status,201);assert.ok(!Object.hasOwn(webhook.body,'details')); + assert.equal((await engine.query('SELECT * FROM tickets')).rows.length,0); + await request('/api/key-revoke',{home,cookie:manager,data:{}}); + assert.equal((await request('/api/webhooks/tickets',{bearer})).status,401); + const member=(await request('/api/members',{home,cookie:manager})).body[0]; + await request('/api/remove-member',{home,cookie:manager,data:{id:member.id}}); + assert.equal((await request('/api/tickets',{home,cookie:resident})).status,404); + const off=await request('/api/auth/sign-out',{cookie:resident,data:{}});assert.equal(off.status,200); + assert.equal((await request('/api/me',{cookie:resident})).status,401); + const signin=await request('/api/auth/sign-in/email',{data:{email:'resident@example.test',password:'Test-password-1234!'}});assert.equal(signin.status,200); +}); +test('Public pages, contact persistence, chat fallback and discovery',async()=>{ + for(const p of ['/','/docs','/blog','/blog/report-a-repair','/about','/contact','/portal'])assert.equal((await request(p)).status,200); + const contact=await request('/api/contact',{data:{email:'contact@example.test',message:'Help with my account.'}});assert.equal(contact.status,201); + assert.equal((await engine.query('select count(*) as n from contact_messages')).rows[0].n,1); + const reply=await request('/api/chat',{data:{message:'How do I pay my rent?'}});assert.equal(reply.body.mode,'guide');assert.match(reply.body.reply,/Payments/); + const rpc=await request('/mcp',{data:{jsonrpc:'2.0',id:1,method:'tools/list'}});assert.equal(rpc.body.result.tools.length,4); +}); + diff --git a/tests/reminders.test.mjs b/tests/reminders.test.mjs index d811516c..fed607e0 100644 --- a/tests/reminders.test.mjs +++ b/tests/reminders.test.mjs @@ -1,13 +1,6 @@ import assert from "node:assert/strict"; -import { after, before, test } from "node:test"; -import { createServer } from "vite"; - -let vite, r; -before(async () => { - vite = await createServer({ configFile: false, optimizeDeps: { noDiscovery: true, include: [] }, server: { middlewareMode: true, hmr: false }, appType: "custom" }); - r = await vite.ssrLoadModule("/src/shared/reminders.ts"); -}); -after(async () => { await vite?.close(); }); +import { test } from "node:test"; +import * as r from "../src/shared/reminders.ts"; const charge = (o = {}) => ({ id: 1, period: "2026-10", due_date: "2026-10-01", amount: 1650, amount_paid: 0, status: "overdue", diff --git a/tests/statement.test.mjs b/tests/statement.test.mjs index eb4adbb4..7cbcf6a4 100644 --- a/tests/statement.test.mjs +++ b/tests/statement.test.mjs @@ -1,13 +1,6 @@ import assert from "node:assert/strict"; -import { after, before, test } from "node:test"; -import { createServer } from "vite"; - -let vite, s; -before(async () => { - vite = await createServer({ configFile: false, optimizeDeps: { noDiscovery: true, include: [] }, server: { middlewareMode: true, hmr: false }, appType: "custom" }); - s = await vite.ssrLoadModule("/src/shared/statement.ts"); -}); -after(async () => { await vite?.close(); }); +import { test } from "node:test"; +import * as s from "../src/shared/statement.ts"; // A German savings-bank export: account details above the header, semicolons, // day-first dates, decimal commas, the account holder's own IBAN in its own column. diff --git a/tests/work-order-search.test.mjs b/tests/work-order-search.test.mjs deleted file mode 100644 index fa1d1faa..00000000 --- a/tests/work-order-search.test.mjs +++ /dev/null @@ -1,61 +0,0 @@ -import assert from "node:assert/strict"; -import { after, before, test } from "node:test"; -import { createServer } from "vite"; - -let vite, filterWorkOrders, workOrderReference; -before(async () => { - vite = await createServer({ configFile: false, optimizeDeps: { noDiscovery: true, include: [] }, server: { middlewareMode: true }, appType: "custom" }); - ({ filterWorkOrders, workOrderReference } = await vite.ssrLoadModule("/src/client/lib/work-order-search.ts")); -}); -after(async () => { await vite?.close(); }); - -const orders = [ - { id: 4, title: "Leaking faucet", description: "Kitchen sink", status: "open", property_name: "Oakwood", unit_name: "Unit 1", tenant_first_name: "Ada", tenant_last_name: "Lovelace", vendor_name: "Hill Country Plumbing" }, - { id: 42, title: "Replace lock", status: "assigned", property_name: null, unit_name: null, vendor_name: null }, - { id: 43, title: "Roof inspection", status: "in_progress" }, - { id: 44, title: "Leaking faucet", status: "completed" }, - { id: 45, title: "Leaking faucet", status: "cancelled" }, -]; -const ids = (filter, query = "") => filterWorkOrders(orders, filter, query).map(o => o.id); - -test("references use the existing stable identifier", () => { - assert.equal(workOrderReference(42), "WO-42"); -}); - -test("references match exactly, case-insensitively, with pasted whitespace", () => { - for (const q of ["WO-4", " wo-4 ", "#4", "4", "WO-004"]) assert.deepEqual(ids("all", q), [4], q); - assert.deepEqual(ids("all", "WO-999"), []); - assert.deepEqual(ids("all", "WO-"), []); -}); - -test("text search covers title, description, location, tenant and vendor", () => { - for (const q of ["FAUCET", " kitchen ", "oakwood", "Unit 1", "Ada Lovelace", "Hill Country"]) { - assert.deepEqual(ids("open_all", q), [4], q); - } -}); - -test("open includes assigned and in progress but excludes closed jobs", () => { - assert.deepEqual(ids("open_all", " \n "), [4, 42, 43]); - for (const [status, id] of [["open", 4], ["assigned", 42], ["in_progress", 43], ["completed", 44], ["cancelled", 45]]) { - assert.deepEqual(ids(status), [id]); - } -}); - -test("search combines with the chosen status, including exact references", () => { - assert.deepEqual(ids("open_all", "WO-44"), []); - assert.deepEqual(ids("completed", "WO-44"), [44]); - assert.deepEqual(ids("all", "faucet"), [4, 44, 45]); - assert.deepEqual(ids("completed", "faucet"), [44]); -}); - -test("empty or missing joined fields are searchable without throwing", () => { - assert.deepEqual(ids("all", "lock"), [42]); - assert.deepEqual(ids("all", "undefined"), []); - assert.deepEqual(ids("all", "null"), []); -}); - -test("empty collections and no matches recover with all and an empty query", () => { - assert.deepEqual(filterWorkOrders([], "all", "WO-4"), []); - assert.deepEqual(ids("all", "no-such-repair"), []); - assert.deepEqual(ids("all"), [4, 42, 43, 44, 45]); -}); diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index d00542d1..00000000 --- a/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "Bundler", - "strict": true, - "lib": ["ESNext", "DOM", "DOM.Iterable"], - "jsx": "react-jsx", - "noEmit": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "isolatedModules": true, - "baseUrl": ".", - "paths": { - "@/*": ["./src/client/*"], - "@shared/*": ["./src/shared/*"] - }, - "types": ["@cloudflare/workers-types"] - }, - "include": ["src/**/*.ts", "src/**/*.tsx"], - "exclude": ["node_modules", "dist"] -} diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index c88f4a2a..00000000 --- a/vite.config.ts +++ /dev/null @@ -1,26 +0,0 @@ -import path from "path"; -import { defineConfig } from "vite"; -import react from "@vitejs/plugin-react"; -import tailwindcss from "@tailwindcss/vite"; - -export default defineConfig({ - plugins: [react(), tailwindcss()], - build: { - outDir: "dist", - emptyOutDir: true, - }, - resolve: { - alias: { - "@": path.resolve(__dirname, "./src/client"), - "@shared": path.resolve(__dirname, "./src/shared"), - }, - }, - server: { - proxy: { - "/api": { - target: "http://localhost:8787", - changeOrigin: true, - }, - }, - }, -}); diff --git a/wrangler.toml b/wrangler.toml index b73f20e2..950c53d3 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,8 @@ -name = "open-property" -main = "src/server/index.ts" -compatibility_date = "2025-04-01" +name = "sill-resident-portal" +main = "dist/server/index.js" +compatibility_date = "2026-02-01" compatibility_flags = ["nodejs_compat"] +workers_dev = true +[triggers] +crons = ["*/5 * * * *"] -[[d1_databases]] -binding = "DB" -database_name = "open-property-db" -database_id = "local"