Type alias ReferenceArgs<T>

ReferenceArgs<T>: {
    fromProperty: string;
    fromUuid: string;
    to: ReferenceInput<T>;
}

The arguments of the data.referenceX methods

Type Parameters

  • T

Type declaration

  • fromProperty: string

    The property of the object that will have the reference

  • fromUuid: string

    The ID of the object that will have the reference

  • to: ReferenceInput<T>

    The object(s) to reference