English
@eightkk/vue-weave / core / ResourceCapacity
Interface: ResourceCapacity
Defined in: src/core/resourceLoad.ts:14
Properties
capacity
capacity:
number
Defined in: src/core/resourceLoad.ts:16
capacityPeriods?
optionalcapacityPeriods?: readonlyResourceCapacityPeriod[]
Defined in: src/core/resourceLoad.ts:24
Capacity that changes over time: inside a period, its capacity replaces capacity; outside every period, capacity applies. Outside periods the capacity is still 0. The periods use absolute times, must not overlap (adjacent periods are fine) and need integer endpoints with end > start. Omitted, the capacity is constant.
id
id:
string
Defined in: src/core/resourceLoad.ts:15
periods?
optionalperiods?: readonlyTimeRange[]
Defined in: src/core/resourceLoad.ts:18
Working periods of the resource. Outside them its capacity is 0. Defaults to the whole range.