import { GeometryFilter } from '../GeometryFilter'; import { ClassicModelIdentifierType, InternalDataSourceType, LocalModelIdentifierType } from '../DataSourceType'; import { File3dFormat } from '../types'; /** * Model options common to all model types. */ export type CommonModelOptions = { /** * An optional local file which will be used to load the data. */ localPath?: string; /** * An optional geometryFilter which will be applied to loading model. */ geometryFilter?: GeometryFilter; /** * Override which output format to load for this model revision. * Defaults to 'gltf-directory'. Set to 'gltf-prioritized-nodes-directory' * to load high-detail geometry from a PrioritizedNodes job output. */ outputFormat?: File3dFormat; }; export type LocalAddModelOptions = CommonModelOptions & LocalModelIdentifierType; export type InternalAddModelOptions = CommonModelOptions & T['modelIdentifier']; export type AddModelOptionsWithModelRevisionId = InternalAddModelOptions & { classicModelRevisionId: ClassicModelIdentifierType; };