new MikroWeaver():
MikroWeaver
static
config: (config
) =>MikroWeaverConfig
Create a Valibot weaver config object
• config: MikroWeaverConfigOptions
Valibot weaver config options
a Valibot weaver config object
packages/mikro-orm/src/index.ts:219
static
ObjectConfigMap:WeakMap
<EntitySchema
<any
,never
>,Partial
<GraphQLObjectTypeConfig
<any
,any
>>>
packages/mikro-orm/src/index.ts:66
static
useConfig: (config
) => <TSchema
>(schema
) =>EntitySchemaSilk
<TSchema
>
Use a Valibot weaver config
• config: MikroWeaverConfigOptions
Valibot weaver config options
Function
a new Valibot to silk function
get GraphQL Silk from Mikro Entity Schema
• TSchema extends EntitySchema
<any
, never
>
• schema: TSchema
Mikro Entity Schema
EntitySchemaSilk
<TSchema
>
GraphQL Silk Like Mikro Entity Schema
packages/mikro-orm/src/index.ts:233
static
vendor:string
="gqloom.mikro-orm"
packages/mikro-orm/src/index.ts:39
static
asObjectType(schema
,config
):EntitySchema
<any
,never
>
• schema: EntitySchema
<any
, never
>
• config: Partial
<GraphQLObjectTypeConfig
<any
, any
>>
EntitySchema
<any
, never
>
packages/mikro-orm/src/index.ts:71
static
extractSimpleType(type
):"string"
|"bigint"
|"boolean"
|"integer"
|"tinyint"
|"smallint"
|"mediumint"
|"double"
|"decimal"
|"float"
|"datetime"
|"time"
|"date"
|"interval"
|"uuid"
|"text"
|"enum"
|"blob"
|"json"
|AnyString
|"uint8array"
|"array"
|"enumArray"
|"unknown"
• type: string
"string"
| "bigint"
| "boolean"
| "integer"
| "tinyint"
| "smallint"
| "mediumint"
| "double"
| "decimal"
| "float"
| "datetime"
| "time"
| "date"
| "interval"
| "uuid"
| "text"
| "enum"
| "blob"
| "json"
| AnyString
| "uint8array"
| "array"
| "enumArray"
| "unknown"
packages/mikro-orm/src/index.ts:210
static
getFieldConfig(property
,__namedParameters
):undefined
|GraphQLFieldConfig
<any
,any
,any
>
• property: EntityProperty
<any
, any
>
• __namedParameters = {}
• __namedParameters.nullable?: boolean
• __namedParameters.originField?: GraphQLField
<any
, any
, any
>
undefined
| GraphQLFieldConfig
<any
, any
, any
>
packages/mikro-orm/src/index.ts:137
static
getFieldType(property
):undefined
|GraphQLOutputType
• property: EntityProperty
<any
, any
>
undefined
| GraphQLOutputType
packages/mikro-orm/src/index.ts:179
static
getGraphQLType<TSchema
>(entity
,__namedParameters
):GraphQLNonNull
<GraphQLOutputType
>
• TSchema extends EntitySchema
<any
, never
>
• entity: TSchema
• __namedParameters = {}
• __namedParameters.name?: string
• __namedParameters.partial?: boolean
| keyof InferEntity
<TSchema
>[]
• __namedParameters.pick?: keyof InferEntity
<TSchema
>[]
• __namedParameters.required?: boolean
| keyof InferEntity
<TSchema
>[]
GraphQLNonNull
<GraphQLOutputType
>
packages/mikro-orm/src/index.ts:83
static
getGraphQLTypeBySelf(this
):GraphQLNonNull
<GraphQLOutputType
>
• this: EntitySchema
<any
, never
>
GraphQLNonNull
<GraphQLOutputType
>
packages/mikro-orm/src/index.ts:79
static
unravel<TSchema
>(schema
):EntitySchemaSilk
<TSchema
>
get GraphQL Silk from Mikro Entity Schema
• TSchema extends EntitySchema
<any
, never
>
• schema: TSchema
Mikro Entity Schema
EntitySchemaSilk
<TSchema
>
GraphQL Silk Like Mikro Entity Schema
packages/mikro-orm/src/index.ts:45