···11+export type Container<T> = {
22+ /**
33+ * CID of the inventory,
44+ * which in turns represents the current state of the data.
55+ */
66+ cid: string;
77+ data: T[];
88+ inventory: Inventory;
99+};
1010+1111+export type Inventory = {
1212+ /**
1313+ * `id` to `cid` map.
1414+ */
1515+ current: Record<string, string>;
1616+1717+ /**
1818+ * List of `id`s
1919+ */
2020+ removed: string[];
2121+};