MCPcopy
hub / github.com/prisma/prisma / toSchemasContainer

Function toSchemasContainer

packages/internals/src/utils/toSchemasContainer.ts:6–10  ·  view source on GitHub ↗
(schemas: MultipleSchemas)

Source from the content-addressed store, hash-verified

4import { MigrateTypes } from '../migrateTypes'
5
6export function toSchemasContainer(schemas: MultipleSchemas): MigrateTypes.SchemasContainer {
7 return {
8 files: multipleSchemasToSchemaContainers(schemas),
9 }
10}
11
12export function toSchemasWithConfigDir(
13 schemaContext: SchemaContext,

Callers 7

getPrismaSchemaMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90
rpc.test.tsFile · 0.90
mainFunction · 0.90

Calls 1

Tested by

no test coverage detected