feat: complete V1 phases 0-7

This commit is contained in:
2026-08-12 14:35:12 +08:00
commit c3dd9be674
311 changed files with 38750 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import 'reflect-metadata';
import { NestFactory } from '@nestjs/core';
import { AppModule } from '../app.module';
import { BootstrapAdminService } from '../users/bootstrap-admin.service';
async function main(): Promise<void> {
const app = await NestFactory.createApplicationContext(AppModule, { logger: false });
try {
const publicId = await app.get(BootstrapAdminService).createInitialAdmin();
process.stdout.write(`Initial administrator created: ${publicId}\n`);
} finally {
await app.close();
}
}
void main();