The Standard Schema interface.
GraphQLSilk
<TModel
>• TModel
• TName extends string
= string
• TRelation extends Record
<string
, any
> = object
optional
[GET_GRAPHQL_TYPE]: () =>GraphQLOutputType
GraphQL type for schema
GraphQLOutputType
GraphQLSilk
.[GET_GRAPHQL_TYPE]
packages/core/src/resolver/types.ts:29
readonly
~standard:StandardSchemaProps
<any
,TModel
>
The Standard Schema properties.
node_modules/.pnpm/@standard-schema+spec@1.0.0-beta.3/node_modules/@standard-schema/spec/dist/index.d.ts:9
meta:
PrismaModelMeta
packages/prisma/src/types.ts:16
model:
ReadonlyDeep
<object
>
dbName:
null
|string
optional
documentation:string
fields:
ReadonlyDeep
<object
>[]
optional
isGenerated:boolean
name:
string
primaryKey:
null
|ReadonlyDeep
<object
>
uniqueFields:
string
[][]
uniqueIndexes:
ReadonlyDeep
<object
>[]
packages/prisma/src/types.ts:15
name:
TName
packages/prisma/src/types.ts:17
optional
relations:TRelation
packages/prisma/src/types.ts:19
list():
GraphQLSilk
<TModel
[],any
>
GraphQLSilk
<TModel
[], any
>
packages/prisma/src/types.ts:13
nullable():
GraphQLSilk
<null
|TModel
,any
>
GraphQLSilk
<null
| TModel
, any
>
packages/prisma/src/types.ts:12