Type Alias: IsoBoxReaderMap<V>
ts
type IsoBoxReaderMap<V> = { [K in Exclude<keyof IsoBoxMap, "uuid">]?: IsoBoxReader<IsoBoxMap<V>[K], V> } & object;Defined in: IsoBoxReaderMap.ts:19
Map of each box type to the reader of that box.
The map takes a key of IsoBoxMap only. A reader under a key returns the box type of that key, and can add fields. To use a reader of a box type that the package does not name, add the box type to IsoCustomBoxMap. The keys url and urn find the readers of 'url ' and 'urn '.
The reader of uuid can also return undefined. readIsoBoxes then returns a raw box. createUuidReader creates that reader from a map of user types.
Type Parameters
V
V extends IsoInt64 = number
Type Declaration
url?
ts
url?: IsoBoxReader<IsoBoxMap<V>["url "], V>;urn?
ts
urn?: IsoBoxReader<IsoBoxMap<V>["urn "], V>;uuid?
ts
uuid?: object["r"];