Libraries
    Preparing search index...

    Type Alias WithJoinedMany<TBase, TFieldName, TForeignSchema>

    WithJoinedMany: TBase & { [K in TFieldName]: InferType<TForeignSchema>[] }

    Adds a joined collection field to TBase

    Type Parameters

    • TBase
    • TFieldName extends string
    • TForeignSchema extends ObjectSchemaBuilder<any, any, any, any, any, any, any>