Type alias InstanceCompositeOptions

InstanceCompositeOptions: {
    alreadyRequestedSrc?: Set<string>;
    entityMapping?: {
        getNextAvailableEntity: (() => Entity | null);
        type: EMM_NEXT_AVAILABLE;
    } | {
        getCompositeEntity: ((compositeEntity: Entity | number) => Entity);
        type: EMM_DIRECT_MAPPING;
    };
    rootEntity?: Entity;
}

Type declaration

  • Optional alreadyRequestedSrc?: Set<string>
  • Optional entityMapping?: {
        getNextAvailableEntity: (() => Entity | null);
        type: EMM_NEXT_AVAILABLE;
    } | {
        getCompositeEntity: ((compositeEntity: Entity | number) => Entity);
        type: EMM_DIRECT_MAPPING;
    }
  • Optional rootEntity?: Entity