Files
pos/server/node_modules/@prisma/fetch-engine/dist/download.d.ts
jason d53c772dd6 Add Milestones 1 & 2: full-stack POS foundation with admin UI
- Node/Express/TypeScript API under /api/v1 with JWT auth (login, refresh, logout, /me)
- Prisma schema: vendors, users, roles, products, categories, taxes, transactions
- SQLite for local dev; Postgres via docker-compose for production
- Full CRUD routes for vendors, users, categories, taxes, products with Zod validation and RBAC
- Paginated list endpoints scoped per vendor; refresh token rotation
- React/TypeScript admin SPA (Vite): login, protected routing, sidebar layout
- Pages: Dashboard, Catalog (tabbed Products/Categories/Taxes), Users, Vendor Settings
- Shared UI: Table, Modal, FormField, Btn, PageHeader components
- Multi-stage Dockerfile; docker-compose with Postgres healthcheck
- Seed script with demo vendor and owner account
- INSTRUCTIONS.md, ROADMAP.md, .claude/launch.json for dev server config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 23:18:04 -05:00

28 lines
1.1 KiB
TypeScript

import { BinaryTarget } from '@prisma/get-platform';
import { BinaryType } from './BinaryType';
export declare const vercelPkgPathRegex: RegExp;
export type BinaryDownloadConfiguration = {
[binary in BinaryType]?: string;
};
export type BinaryPaths = {
[binary in BinaryType]?: {
[binaryTarget in BinaryTarget]: string;
};
};
export interface DownloadOptions {
binaries: BinaryDownloadConfiguration;
binaryTargets?: BinaryTarget[];
showProgress?: boolean;
progressCb?: (progress: number) => void;
version?: string;
skipDownload?: boolean;
failSilent?: boolean;
printVersion?: boolean;
skipCacheIntegrityCheck?: boolean;
}
export declare function download(options: DownloadOptions): Promise<BinaryPaths>;
export declare function getVersion(enginePath: string, binaryName: string): Promise<string | undefined>;
export declare function getBinaryName(binaryName: BinaryType, binaryTarget: BinaryTarget): string;
export declare function maybeCopyToTmp(file: string): Promise<string>;
export declare function plusX(file: any): void;