Skip to content

Commit

Permalink
Merge pull request #4 from nulib/3491-work-archiver-email
Browse files Browse the repository at this point in the history
Add accession_number to FileSetBase
  • Loading branch information
bmquinn authored Feb 16, 2023
2 parents 277bd33 + de41231 commit 402f7e2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nulib/dcapi-types",
"version": "2.0.0-rc.4",
"version": "2.0.0-rc.5",
"description": "Northwestern University Libraries Digital Collections API Typescript types",
"main": "index.js",
"scripts": {
Expand Down
22 changes: 14 additions & 8 deletions schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export interface components {
FileSetBase: {
/** Format: uuid */
id: string;
accession_number: string;
duration: number | null;
height: number | null;
label: string;
Expand All @@ -64,7 +65,6 @@ export interface components {
width: number | null;
};
FileSet: components["schemas"]["FileSetBase"] & ({
accession_number: string;
api_link: string;
api_model: string;
/** Format: date-time */
Expand All @@ -91,6 +91,12 @@ export interface components {
id: string;
label: string;
} | null;
/** @description Global DC API properties */
Info: {
description: string;
name: string;
version: string;
};
/**
* @description NUL Library Unit
* @enum {string|null}
Expand Down Expand Up @@ -252,9 +258,9 @@ export interface components {
*/
modified_date: string;
notes: ({
note: string;
type: components["schemas"]["NoteType"];
})[];
note: string;
type: components["schemas"]["NoteType"];
})[];
/** @description The material or physical carrier of the resource. */
physical_description_material: (string)[];
/** @description The size or duration of the resource. */
Expand All @@ -277,10 +283,10 @@ export interface components {
publisher: (string)[];
/** @description URL of a related resource. */
related_url: ({
/** Format: uri */
url: string;
label: components["schemas"]["RelatedUrlLabel"];
})[];
/** Format: uri */
url: string;
label: components["schemas"]["RelatedUrlLabel"];
})[];
representative_file_set: components["schemas"]["RepresentativeFileSet"];
/** @description A person or organization owning or managing rights over the resource. */
rights_holder: (string)[];
Expand Down

0 comments on commit 402f7e2

Please sign in to comment.