Class RelationShape<Many, To, Labels, Props>

Type Parameters

  • Many extends boolean = boolean

  • To extends string = string

  • Labels extends readonly string[] = readonly string[]

  • Props extends Record<string, PropValue> = Record<string, PropValue>

Hierarchy

  • RelationShape

Constructors

Properties

Constructors

  • Type Parameters

    • Many extends boolean = boolean

    • To extends string = string

    • Labels extends readonly string[] = readonly string[]

    • Props extends Record<string, PropValue> = Record<string, PropValue>

    Parameters

    • many: Many
    • to: To
    • Optional labels: Labels

    Returns RelationShape<Many, To, Labels, Props>

  • Type Parameters

    • Many extends boolean = boolean

    • To extends string = string

    • Labels extends readonly string[] = readonly string[]

    • Props extends Record<string, PropValue> = Record<string, PropValue>

    Parameters

    • many: Many
    • to: To
    • Optional data: Props

    Returns RelationShape<Many, To, Labels, Props>

  • Type Parameters

    • Many extends boolean = boolean

    • To extends string = string

    • Labels extends readonly string[] = readonly string[]

    • Props extends Record<string, PropValue> = Record<string, PropValue>

    Parameters

    • many: Many
    • to: To
    • Optional labels: Labels
    • Optional data: Props

    Returns RelationShape<Many, To, Labels, Props>

Properties

labels: Labels
many: Many
props: Props
to: To

Generated using TypeDoc