Manually register an external destination class.
Use this when the destination lives in a separate repo and can't be auto-discovered from the parks/ directory. The class should extend Destination and use property-level
decorators for configuration — the class-level config wrapper is applied automatically here, matching the behavior of @destinationController.
import {registerDestination} from '@themeparks/parksapi';import {DisneyWorldResort} from './disney/wdw.js';registerDestination({ id: 'disneyworldresort', name: 'Walt Disney World Resort', DestinationClass: DisneyWorldResort, category: 'Disney',}); Copy
import {registerDestination} from '@themeparks/parksapi';import {DisneyWorldResort} from './disney/wdw.js';registerDestination({ id: 'disneyworldresort', name: 'Walt Disney World Resort', DestinationClass: DisneyWorldResort, category: 'Disney',});
Manually register an external destination class.
Use this when the destination lives in a separate repo and can't be auto-discovered from the parks/ directory. The class should extend Destination and use property-level