• Metadata for an atomic shape

    Type Parameters

    • I = any
    • O = any

    Parameters

    • name: string

    Returns $.Metadata<I, O>

  • Metadata for a factory-made shape

    Type Parameters

    • I
    • O
    • A extends unknown[]

    Parameters

    • name: string
    • factory: ((...args: A) => $.Shape<I, O>)
    • Rest...args: A

    Returns $.Metadata<I, O>

  • Concatenate multiple metadata arrays

    Type Parameters

    • I
    • O

    Parameters

    Returns $.Metadata<I, O>