feat(db): mesh data model — meshes, members, invites, audit log
- pgSchema "mesh" with 4 tables isolating the peer mesh domain - Enums: visibility, transport, tier, role - audit_log is metadata-only (E2E encryption enforced at broker/client) - Cascade on mesh delete, soft-delete via archivedAt/revokedAt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
tooling/typescript/base.json
Normal file
27
tooling/typescript/base.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2022"],
|
||||
"allowJs": true,
|
||||
"resolveJsonModule": true,
|
||||
"moduleDetection": "force",
|
||||
"isolatedModules": true,
|
||||
|
||||
"incremental": true,
|
||||
"disableSourceOfProjectReferenceRedirect": true,
|
||||
"tsBuildInfoFile": "${configDir}/.cache/tsbuildinfo.json",
|
||||
|
||||
"strict": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"checkJs": true,
|
||||
|
||||
"module": "Preserve",
|
||||
"moduleResolution": "Bundler",
|
||||
"noEmit": true,
|
||||
},
|
||||
"files": ["./reset.d.ts"],
|
||||
"exclude": ["node_modules", "build", "dist", ".next", ".expo", ".wxt"]
|
||||
}
|
||||
10
tooling/typescript/internal.json
Normal file
10
tooling/typescript/internal.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "./base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"noEmit": false,
|
||||
"outDir": "${configDir}/dist"
|
||||
}
|
||||
}
|
||||
11
tooling/typescript/package.json
Normal file
11
tooling/typescript/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@turbostarter/tsconfig",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"files": [
|
||||
"*.json"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@total-typescript/ts-reset": "0.6.1"
|
||||
}
|
||||
}
|
||||
2
tooling/typescript/reset.d.ts
vendored
Normal file
2
tooling/typescript/reset.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
// Do not add any other lines of code to this file!
|
||||
import "@total-typescript/ts-reset";
|
||||
Reference in New Issue
Block a user