InitialData<Inputs>
type InitialData<Inputs> = { [Name in keyof Inputs]: Inputs[Name] extends EagerCollection<infer K, infer V> ? Entry<K, V>[] : Entry<Json, Json>[] };
Initial data for a service's input collections.
The initial data to populate a service's input collections is provided as an association from collection names to arrays of entries.
Type Parameters
Type Parameter | Description |
---|---|
Inputs extends NamedCollections | Collections provided to the service's createGraph . |