import { Asset as BaseAsset, FracFleet, InterventionUnit, Pad, Rig, Well } from '~/types'; export type PrimaryAssetType = 'rig' | 'frac_fleet' | 'intervention_unit'; export type AssetType = PrimaryAssetType | 'well' | 'pad' | 'drillout_unit'; export type AssetSelectorRig = Rig & { type: 'rig'; }; export type AssetSelectorWell = Well & { type: 'well'; }; export type AssetSelectorPad = Pad & { type: 'pad'; current_frac_fleet_id?: number; parent_frac_fleet_id?: number; active?: boolean; current?: boolean; last_current_at?: string; }; export type AssetSelectorFracFleet = FracFleet & { type: 'frac_fleet'; }; export type AssetSelectorDrilloutUnit = BaseAsset & { type: 'drillout_unit'; well?: Well; }; export type AssetSelectorInterventionUnit = InterventionUnit & { type: 'intervention_unit'; }; export type AssetTypeToAssetMap = { drillout_unit: AssetSelectorDrilloutUnit; pad: AssetSelectorPad; rig: AssetSelectorRig; well: AssetSelectorWell; frac_fleet: AssetSelectorFracFleet; intervention_unit: AssetSelectorInterventionUnit; }; export type PrimaryAsset = AssetSelectorRig | AssetSelectorFracFleet | AssetSelectorInterventionUnit; export type Asset = AssetSelectorRig | AssetSelectorWell | AssetSelectorFracFleet | AssetSelectorPad | AssetSelectorDrilloutUnit | AssetSelectorInterventionUnit; export declare const isCorrectAssetType: (type: string) => type is AssetType; //# sourceMappingURL=constants.d.ts.map