@nulib/dcapi-types
v2.6.0
Published
Northwestern University Libraries Digital Collections API Typescript types
Downloads
274
Keywords
Readme
@nulib/dcapi-types
Typescript NPM package for Northwestern University Libraries Digital Collections API.
Northwestern University Libraries
Installation
npm install @nulib/dcapi-types
Usage
import { type Work } from "@nulib/dcapi-types";
...
const work = await apiGetRequest<Work>(id);
Publishing/Updating Types
Types are generated by: Digital Collections API and PR'd into the main
branch when the API is versioned. The staging
branch tracks changes to the private staging DC API for development purposes only.