1. 09 Jan, 2023 4 commits
  2. 04 Jan, 2023 4 commits
  3. 03 Jan, 2023 17 commits
  4. 19 Dec, 2022 8 commits
  5. 16 Dec, 2022 1 commit
    • Robert Knight's avatar
      Move VitalSource content frame types to types/vitalsource.ts · 404a1207
      Robert Knight authored
      Co-locate these types with other types that are determined by the VitalSource
      book reader, as opposed to us. This also gives us a single module
      (types/vitalsource.ts) that we can point to in order to explain which APIs from
      Bookshelf we rely on.
      404a1207
  6. 15 Dec, 2022 3 commits
  7. 14 Dec, 2022 3 commits
    • Robert Knight's avatar
      Typecheck our mock `<mosaic-book>` implementation · 2e30052d
      Robert Knight authored
      Extract the type definitions for the `<mosaic-book>` element provided by
      VitalSource into `src/types/vitalsource.ts` and use JSDoc + TS to
      typecheck the fake implementation in vitalsource-mosaic-book-element.js.
      
      Extracting the definitions into a standalone module avoids the need for TS to
      process all of the transitive dependencies of src/annotator/integrations/vitalsource.ts
      when processing the dev-server/tsconfig.json project.
      2e30052d
    • Robert Knight's avatar
      Add missing `level` property from `getTOC` response · 0509dc83
      Robert Knight authored
      This isn't currently used, but it is marked as a required property in
      the `TableOfContentsEntry` interface in src/annotator/integrations/vitalsource.ts.
      0509dc83
    • Robert Knight's avatar
      Implement `getTOC` API in VitalSource test pages · ffe1c935
      Robert Knight authored
      This API is now called when creating annotations.
      ffe1c935