From 1846ef92c0bb9e8cbbc3c097abfc3f6902993dbe Mon Sep 17 00:00:00 2001 From: Karen Shaw Date: Wed, 1 Feb 2023 22:16:22 +0000 Subject: [PATCH] Fix spelling errors in file set roles --- package.json | 2 +- schemas.ts | 57 +++++++++++++++++++++------------------------------- 2 files changed, 24 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index a011266..61a2689 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nulib/dcapi-types", - "version": "2.0.0pre", + "version": "2.0.0-rc.1", "description": "Northwestern University Libraries Digital Collections API Typescript types", "main": "index.js", "scripts": { diff --git a/schemas.ts b/schemas.ts index ba0a237..ef8a8d2 100644 --- a/schemas.ts +++ b/schemas.ts @@ -86,7 +86,7 @@ export interface components { * @description Role of the file set * @enum {string|null} */ - FileSetRole: "Acess" | "Auiliary" | "Preservation" | "Supplemental" | null; + FileSetRole: "Access" | "Auxiliary" | "Preservation" | "Supplemental" | null; GenericIdLabel: { id: string; label: string; @@ -101,6 +101,27 @@ export interface components { * @enum {string} */ NoteType: "Awards," | "Bibliographical/Historical Note" | "Creation/Production Credits" | "General Note" | "Lanugage Note" | "Local Note" | "Performers" | "Statement of Responsibility" | "Venue/Event Date"; + /** @description Pagination info for the current response */ + PaginationInfo: { + /** @description Full URL to the next page of results */ + next_url?: string; + /** @description Full URL to the previous page of results */ + prev_url?: string; + /** @description Base URL to repeat this query for a given page */ + query_url?: string; + /** @description Tokenized query to use in subsequent GET requests */ + search_token?: string; + /** @description Index of current page of results */ + current_page?: number; + /** @description Number of results per page */ + limit?: number; + /** @description Starting index of first result on the current page */ + offset?: number; + /** @description Total number of results */ + total_hits?: number; + /** @description Total number of result pages */ + total_pages?: number; + }; /** * @description The preservation workflow applied to the resource * @enum {string|null} @@ -134,12 +155,6 @@ export interface components { * @enum {string|null} */ WorkType: "Audio" | "Image" | "Video" | null; - /** @description A [IIIF Presentation v3.x](https://iiif.io/api/presentation/3.0/) Collection */ - IiifPresentationCollection: Record; - /** @description A [IIIF Presentation v3.x](https://iiif.io/api/presentation/3.0/) Manifest */ - IiifPresentationManifest: Record; - /** @description A single index document */ - IndexDocument: Record; /** @description A single work response */ Work: { /** @description A summary of the resource */ @@ -298,31 +313,5 @@ export interface components { visibility: components["schemas"]["Visibility"]; work_type: components["schemas"]["WorkType"]; }; - OpenSearchResponse: { - /** @description An array of response documents */ - data?: (components["schemas"]["IndexDocument"])[]; - pagination?: components["schemas"]["PaginationInfo"]; - }; - /** @description Pagination info for the current response */ - PaginationInfo: { - /** @description Full URL to the next page of results */ - next_url?: string; - /** @description Full URL to the previous page of results */ - prev_url?: string; - /** @description Base URL to repeat this query for a given page */ - query_url?: string; - /** @description Tokenized query to use in subsequent GET requests */ - search_token?: string; - /** @description Index of current page of results */ - current_page?: number; - /** @description Number of results per page */ - limit?: number; - /** @description Starting index of first result on the current page */ - offset?: number; - /** @description Total number of results */ - total_hits?: number; - /** @description Total number of result pages */ - total_pages?: number; - }; }; -} +} \ No newline at end of file