articulated 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from "./id";
2
- export * from "./id_list";
2
+ export { IdList, KnownIdView } from "./id_list";
3
3
  export * from "./saved_id_list";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Saved state for an IdList.
2
+ * JSON saved state for an IdList.
3
3
  *
4
4
  * It describes all of the list's known ElementIds in list order, with basic compression:
5
5
  * if sequential ElementIds have the same bunchId, the same isDeleted status,
6
6
  * and sequential counters, then they are combined into a single object.
7
7
  */
8
8
  export type SavedIdList = Array<{
9
- bunchId: string;
10
- startCounter: number;
11
- count: number;
12
- isDeleted: boolean;
9
+ readonly bunchId: string;
10
+ readonly startCounter: number;
11
+ readonly count: number;
12
+ readonly isDeleted: boolean;
13
13
  }>;