From 35efdfe6ec8065bc7781e0372fee11956d9e3aa1 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Fri, 26 Dec 2025 02:25:30 +0000 Subject: [PATCH] docs: nextjs,frontends,get (6 files) --- README.md | 8 ++++---- .../lua/functions/{ => snippets}/get-all-snippet-tags.ts | 0 .../lib/lua/functions/{ => snippets}/get-snippet-by-id.ts | 0 .../{ => snippets}/get-snippet-category-counts.ts | 0 .../functions/{ => snippets}/get-snippets-by-category.ts | 0 .../lib/lua/functions/{ => snippets}/search-snippets.ts | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename frontends/nextjs/src/lib/lua/functions/{ => snippets}/get-all-snippet-tags.ts (100%) rename frontends/nextjs/src/lib/lua/functions/{ => snippets}/get-snippet-by-id.ts (100%) rename frontends/nextjs/src/lib/lua/functions/{ => snippets}/get-snippet-category-counts.ts (100%) rename frontends/nextjs/src/lib/lua/functions/{ => snippets}/get-snippets-by-category.ts (100%) rename frontends/nextjs/src/lib/lua/functions/{ => snippets}/search-snippets.ts (100%) diff --git a/README.md b/README.md index 6ffbebf09..931d252c4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MetaBuilder -A **data-driven, multi-tenant platform** where 95% of functionality lives in JSON/Lua, not TypeScript. Build enterprise applications declaratively with a 5-level permission system. +A **data-driven, multi-tenant platform** where 95% of functionality lives in JSON/Lua, not TypeScript. Build enterprise applications declaratively with a 6-level permission system. --- @@ -8,7 +8,7 @@ A **data-driven, multi-tenant platform** where 95% of functionality lives in JSO 1. [Quick Start](#quick-start) 2. [Architecture](#architecture) -3. [5-Level Permission System](#5-level-permission-system) +3. [6-Level Permission System](#6-level-permission-system) 4. [Package System](#package-system) 5. [Database](#database) 6. [Multi-Tenant System](#multi-tenant-system) @@ -77,7 +77,7 @@ Captured from this machine to document the local development environment: ## Key Highlights -- **5-Level Permission System**: Each user level from Guest to SuperGod maps to documented routes, policies, and role inheritance so you can reason about features before touching code ([`docs/architecture/5-level-system.md`](./docs/architecture/5-level-system.md)). +- **5-Level Permission System**: Each user level from Public to SuperGod maps to documented routes, policies, and role inheritance so you can reason about features before touching code ([`docs/architecture/5-level-system.md`](./docs/architecture/5-level-system.md)). - **Multi-tenant data platform**: Prisma, tenant-aware storage, and quota management patterns keep all queries scoped by `tenantId` while keeping schema evolution safe ([`docs/architecture/database.md`](./docs/architecture/database.md)). - **Declarative packages & Lua logic**: Modular `packages/*/seed` definitions let you ship UI/features via JSON/Lua, while the Lua sandbox protects the runtime ([`docs/architecture/packages.md`](./docs/architecture/packages.md), [`docs/lua/README.md`](./docs/lua/README.md)). - **Type-safe + CI-ready workflow**: TypeScript tooling, Act local workflows, and targeted scripts keep linting, testing, and deploy checks consistent with the documentation hub ([`docs/README.md`](./docs/README.md)). @@ -863,7 +863,7 @@ DEBUG=metabuilder:* npm run dev | Development prompts | `.github/prompts/` | --- - + ## Documentation Resources - [`docs/README.md`](./docs/README.md) is the master index for architecture, deployment, testing, and contribution guidance. diff --git a/frontends/nextjs/src/lib/lua/functions/get-all-snippet-tags.ts b/frontends/nextjs/src/lib/lua/functions/snippets/get-all-snippet-tags.ts similarity index 100% rename from frontends/nextjs/src/lib/lua/functions/get-all-snippet-tags.ts rename to frontends/nextjs/src/lib/lua/functions/snippets/get-all-snippet-tags.ts diff --git a/frontends/nextjs/src/lib/lua/functions/get-snippet-by-id.ts b/frontends/nextjs/src/lib/lua/functions/snippets/get-snippet-by-id.ts similarity index 100% rename from frontends/nextjs/src/lib/lua/functions/get-snippet-by-id.ts rename to frontends/nextjs/src/lib/lua/functions/snippets/get-snippet-by-id.ts diff --git a/frontends/nextjs/src/lib/lua/functions/get-snippet-category-counts.ts b/frontends/nextjs/src/lib/lua/functions/snippets/get-snippet-category-counts.ts similarity index 100% rename from frontends/nextjs/src/lib/lua/functions/get-snippet-category-counts.ts rename to frontends/nextjs/src/lib/lua/functions/snippets/get-snippet-category-counts.ts diff --git a/frontends/nextjs/src/lib/lua/functions/get-snippets-by-category.ts b/frontends/nextjs/src/lib/lua/functions/snippets/get-snippets-by-category.ts similarity index 100% rename from frontends/nextjs/src/lib/lua/functions/get-snippets-by-category.ts rename to frontends/nextjs/src/lib/lua/functions/snippets/get-snippets-by-category.ts diff --git a/frontends/nextjs/src/lib/lua/functions/search-snippets.ts b/frontends/nextjs/src/lib/lua/functions/snippets/search-snippets.ts similarity index 100% rename from frontends/nextjs/src/lib/lua/functions/search-snippets.ts rename to frontends/nextjs/src/lib/lua/functions/snippets/search-snippets.ts