open-index/open-npm huggingface dataset:
npm package: @nulib/dcapi-types
Description: Northwestern University Libraries Digital Collections API Typescript types
Author: nulib
Latest version: 2.9.1

# @nulib/dcapi-types

[Typescript NPM package](https://www.npmjs.com/package/@nulib/dcapi-types) for Northwestern University Libraries Digital Collections API.

Northwestern University Libraries

- [Digital Collections](https://dc.library.northwestern.edu/) website
- [Digital Collections API](https://api.dc.library.northwestern.edu/)

## 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](https://github.com/nulib/dc-api-v2#dc-api-typescript-npm-package) and PR'd into the `main` branch when the API is versioned.
PR's are reviewed by [auto assigning team members](https://docs.github.com/en/enterprise-cloud@latest/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#about-auto-assignment),
from a team defined in the (`CODEOWNERS`)[./github/CODEOWNERS] file, using a round robin strategy.

The `staging` branch tracks changes to the private staging DC API for development purposes only.