Kind: Function
Source: atloria-monorepo/apps/api/src/template/seeds/seed-templates.ts
Seeds all document templates into the database.
This function creates or updates all predefined templates. Templates are marked as public and system-created.
Signature
tsasync function seedTemplates(prisma: PrismaClient, systemUserId: string): Promise<void>
Parameters
| Name | Type |
|---|---|
prisma | PrismaClient |
systemUserId | string |
Returns: Promise<void>
Was this page helpful?