Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,19 @@
|
||||
export const PRISMA_SCHEMA_PATH = "prisma/schema" as const;
|
||||
export const PRISMA_MIGRATIONS_PATH = "prisma/migrations" as const;
|
||||
export const PRISMA_SEED_COMMAND = "tsx prisma/seed.ts" as const;
|
||||
export const PRISMA_GENERATED_CLIENT_PATH =
|
||||
"packages/db/generated/prisma/client" as const;
|
||||
|
||||
export type PrismaOwnershipMetadata = {
|
||||
schemaPath: typeof PRISMA_SCHEMA_PATH;
|
||||
migrationsPath: typeof PRISMA_MIGRATIONS_PATH;
|
||||
seedCommand: typeof PRISMA_SEED_COMMAND;
|
||||
generatedClientPath: typeof PRISMA_GENERATED_CLIENT_PATH;
|
||||
};
|
||||
|
||||
export const prismaOwnershipMetadata: PrismaOwnershipMetadata = Object.freeze({
|
||||
schemaPath: PRISMA_SCHEMA_PATH,
|
||||
migrationsPath: PRISMA_MIGRATIONS_PATH,
|
||||
seedCommand: PRISMA_SEED_COMMAND,
|
||||
generatedClientPath: PRISMA_GENERATED_CLIENT_PATH,
|
||||
});
|
||||
Reference in new issue
Block a user