Open cubap opened 2 years ago
Document • new fromJSON(String) • new fromURI(URI, true) • new get(id) • mintID() – return Document with generated ID • asPresi2(options) - return as Presi2 or error • asPresi3(options) - return as Presi3 or error • isValidIIIF() - true or false (ignorable) • expand() - return expanded Document • compact() - return compacted Document • compress() - return efficient Document • isDeleted() - true false • isReleased() - true false History • healTree(Document) - succeed or error • setPrevious(Document,ID) - succeed or error • toggleNext(Document,ID,delete) - add or delete from history next array • nextRelease(Document) - return next Released Document or empty set • previousRelease(Document) - return previous Released Document or null • next(Document) - return next Document or empty set • previous(Document) - return previous document or null • getPrime(Document) - return prime Document Authorization • isVerified(Token) - true false • validateAgent(URI) - true false • getJWKS() - return secret JWKS Database • update(Document) - succeed or error • create(Document) - succeed or error • findByProperties(JSON) - return array • upsertAll() - succeed or error on all
Document • new fromJSON(String) • new fromURI(URI, true) • new get(id) • mintID() – return Document with generated ID • asPresi2(options) - return as Presi2 or error • asPresi3(options) - return as Presi3 or error • isValidIIIF() - true or false (ignorable) • expand() - return expanded Document • compact() - return compacted Document • compress() - return efficient Document • isDeleted() - true false • isReleased() - true false History • healTree(Document) - succeed or error • setPrevious(Document,ID) - succeed or error • toggleNext(Document,ID,delete) - add or delete from history next array • nextRelease(Document) - return next Released Document or empty set • previousRelease(Document) - return previous Released Document or null • next(Document) - return next Document or empty set • previous(Document) - return previous document or null • getPrime(Document) - return prime Document Authorization • isVerified(Token) - true false • validateAgent(URI) - true false • getJWKS() - return secret JWKS Database • update(Document) - succeed or error • create(Document) - succeed or error • findByProperties(JSON) - return array • upsertAll() - succeed or error on all