Represents a record's polymorphic resource identity, so that it can be queried and referenced dynamically.

interface IntermodalUnitResource {
    resourceId: number;
    resourceType: "IntermodalUnit";
}

Properties

resourceId: number

To prevent from having to re-query to get the correct foreign key for known records, we can store this here when passing event information around.

resourceType: "IntermodalUnit"