API

  • need to be able to update collections list
  • Need to be able to store collections list offline
  • integrate collections in schema?
    • schemas based off other schemas?
    • x-colletion?

Functions

fetch(schemaId: string, query: Query, fetch)
fetchSchema(schemaId: string, fetch)
subscribe(schemaId, query, fetch, initialId)
enableStorage()
removeStorage()

Will be used as a singleton in sveltekit, exporting the functions to use in +page.js (fetch and fetchSchema) and +page.svelte

Edited by BytesNZ