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>
This commit is contained in:
53
server/node_modules/@prisma/get-platform/dist/chunk-B23KD6U3.js
generated
vendored
Normal file
53
server/node_modules/@prisma/get-platform/dist/chunk-B23KD6U3.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var chunk_B23KD6U3_exports = {};
|
||||
__export(chunk_B23KD6U3_exports, {
|
||||
binaryTargetRegex: () => binaryTargetRegex,
|
||||
binaryTargetRegex_exports: () => binaryTargetRegex_exports,
|
||||
init_binaryTargetRegex: () => init_binaryTargetRegex
|
||||
});
|
||||
module.exports = __toCommonJS(chunk_B23KD6U3_exports);
|
||||
var import_chunk_7MLUNQIZ = require("./chunk-7MLUNQIZ.js");
|
||||
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
||||
var require_escape_string_regexp = (0, import_chunk_2ESYSVXG.__commonJS)({
|
||||
"../../node_modules/.pnpm/escape-string-regexp@4.0.0/node_modules/escape-string-regexp/index.js"(exports, module2) {
|
||||
"use strict";
|
||||
module2.exports = (string) => {
|
||||
if (typeof string !== "string") {
|
||||
throw new TypeError("Expected a string");
|
||||
}
|
||||
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
||||
};
|
||||
}
|
||||
});
|
||||
var binaryTargetRegex_exports = {};
|
||||
(0, import_chunk_2ESYSVXG.__export)(binaryTargetRegex_exports, {
|
||||
binaryTargetRegex: () => binaryTargetRegex
|
||||
});
|
||||
var import_escape_string_regexp, binaryTargetRegex;
|
||||
var init_binaryTargetRegex = (0, import_chunk_2ESYSVXG.__esm)({
|
||||
"src/test-utils/binaryTargetRegex.ts"() {
|
||||
import_escape_string_regexp = (0, import_chunk_2ESYSVXG.__toESM)(require_escape_string_regexp());
|
||||
(0, import_chunk_7MLUNQIZ.init_binaryTargets)();
|
||||
binaryTargetRegex = new RegExp(
|
||||
"(" + [...import_chunk_7MLUNQIZ.binaryTargets].sort((a, b) => b.length - a.length).map((p) => (0, import_escape_string_regexp.default)(p)).join("|") + ")",
|
||||
"g"
|
||||
);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user