Commit Graph

19 Commits

Author SHA1 Message Date
a37e1fdcec refactor: Move Prisma schema to /dbal/shared (source of truth)
The Prisma schema is the single source of truth for the entire system
and should live in shared, not in development-specific location.

MOVED:
- /dbal/development/prisma/schema.prisma → /dbal/shared/prisma/schema.prisma

UPDATED:
- DBAL package.json: db:* scripts reference ../shared/prisma/schema.prisma
- config package.json: schema reference updated
- gen_prisma_schema.js: outputs to shared location

STRUCTURE NOW:
- /dbal/shared/prisma/ - Prisma schema (source of truth)
- /dbal/shared/seeds/ - Seed data (YAML files)
- /dbal/development/ - Uses shared schema via relative path

This ensures:
 Single source of truth for schema
 Schema is shared across all implementations (Phase 2 TypeScript, Phase 3 C++)
 Development just references the shared schema
 Independent deployability maintained

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 02:19:44 +00:00
d2aabb6cdb refactor: Move seed and Prisma schema into DBAL (Architecture Restructure Phase 0)
MOVED:
- /seed/ → /dbal/shared/seeds/
  - database/ (installed_packages.yaml, package_permissions.yaml)
  - config/ (bootstrap.yaml, package-repo.yaml)
  - packages/ (core-packages.yaml)
- /prisma/schema.prisma → /dbal/development/prisma/schema.prisma

UPDATED:
- Root package.json: db:* scripts delegate to dbal/development
- Frontend package.json: db:* scripts delegate to dbal/development
- DBAL package.json: Added db:migrate and db:seed scripts
- /dbal/development/src/seeds/index.ts: Updated paths to new seed location
- /dbal/shared/tools/codegen/gen_prisma_schema.js: Output to new schema location
- /config/package.json: Updated schema path references

DELETED:
- /seed/ folder (moved to DBAL)
- /prisma/ folder (moved to DBAL)

BENEFITS:
- DBAL is now self-contained and independently deployable
- Single source of truth for seeds and schema
- Clear separation: database logic in DBAL, frontend in /frontends/
- All db:* commands now go through DBAL, not duplicated in frontend

This restructure is MANDATORY FIRST STEP before CODEBASE_RECOVERY_PLAN execution.
Architecture must be fixed before code cleanup happens.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-15 02:17:58 +00:00
copilot-swe-agent[bot]
7c5f3bbe06 Implement stub hooks, auth logout, and update configurations
- Enable strict TypeScript mode in tsconfig.json
- Update ESLint rules to be stricter (error instead of warn)
- Implement useDBAL hook with fetch-based DBAL API
- Implement useKV hook with key-value store operations
- Implement use-mobile hook with media query detection
- Implement logout function with session clearing
- Add permission check comments in app/page.tsx
- Replace throwing stub in user$file with placeholder returns
- Complete entity-specific fields in generate-package.ts
- Add database operation templates in generate-package.ts

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-06 14:12:49 +00:00
copilot-swe-agent[bot]
51be171545 Fix config/package.json missing required fields for workspace compatibility
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 21:11:20 +00:00
copilot-swe-agent[bot]
156d55b90f Remove Lua type references and tools folder scripts from config
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:52:51 +00:00
copilot-swe-agent[bot]
0ab852d227 Initial plan: Fix README styles documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:17:49 +00:00
Richard Ward
f2ebee76cf docs: package,production,dbal (20 files) 2025-12-30 23:47:16 +00:00
cfa1e5bfee feat: add new icon components including Envelope, ChatCircle, HardDrives, WarningCircle, CheckCircle, XCircle, TrendUp, ShieldWarning, LockKey, Crown, Sparkle, BookOpen, Tree, Broom, Export, UploadSimple, Funnel, FunnelSimple, MapTrifold, PushPinSimple, Buildings, GithubLogo, and GoogleLogo 2025-12-30 12:21:15 +00:00
db543bef4f docs: config,navigation,misc (15 files) 2025-12-26 02:50:32 +00:00
913e3ced6d config: config,misc,json (6 files) 2025-12-26 02:49:46 +00:00
a9a759da4e docs: nextjs,frontends,tsx (72 files) 2025-12-26 02:30:57 +00:00
4f0b07a005 code: config,tsx,package (3 files) 2025-12-26 00:35:15 +00:00
d4d2013b67 code: config,tsx,nextjs (2 files) 2025-12-26 00:33:15 +00:00
8ba7ffb933 code: config,store,rate (2 files) 2025-12-25 22:26:50 +00:00
17f2fedc5f code: config,eslint (1 files) 2025-12-25 20:09:45 +00:00
4e601d9a31 docs: dbal,valid,is (13 files) 2025-12-25 19:32:03 +00:00
dbd8e49b64 Fix tsconfig strict null checks 2025-12-25 19:25:46 +00:00
b2379aee23 feat: add .actrc and .secrets.example files, enhance documentation, and implement pre-push git hook for workflow validation 2025-12-25 15:58:02 +00:00
a339ce9a8c feat: Complete documentation organization and folder restructuring
- Successfully organized all MetaBuilder documentation into a clear, hierarchical structure.
- Created new navigation files including a master index and a new contributor path.
- Updated existing documentation files to reflect the new structure.
- Reduced root-level clutter by organizing configuration files into dedicated directories.
- Added new configuration files for ESLint, Next.js, Playwright, and Vite.
- Created example schemas and size limits reports for better project insights.
- Removed deprecated Vite config backups to streamline the project.
2025-12-25 13:21:11 +00:00