Skip to content

Commit 610d286

Browse files
authored
Deprecate/remove separate API slice packages (#227)
In favour of the unified `API` module including all of them.
1 parent f83b64c commit 610d286

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+12
-21039
lines changed

packages/catalogue/CHANGELOG.md

-42
This file was deleted.

packages/catalogue/README.md

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
# TIDAL Catalogue v2 Beta
1+
# TIDAL Catalogue
22

3-
A thin wrapper around the API described at: https://developer.tidal.com/reference/web-api?spec=catalogue-v2&ref=get-albums-v2 (which is again built on the JSON API spec: https://jsonapi.org/format/)
4-
5-
The module provides Typescript types and a `fetch` based function for getting data, using: https://openapi-ts.pages.dev/
6-
7-
## Usage
8-
9-
One function is exposed that can be used for creating a function that can then do network calls: `createCatalogueClient`. Also the API types are exposed and can be used directly.
10-
11-
### Example
12-
See the `examples/` folder for some ways it can be used.
13-
14-
To run it do: `pnpm dev`
15-
16-
## Development
17-
18-
Run `pnpm generateTypes` to regenerate the types from the API specs.
3+
## Deprecated
4+
Please use the [API package](../api) instead

packages/catalogue/examples/example.js

-116
This file was deleted.

packages/catalogue/index.html

-26
This file was deleted.

packages/catalogue/package.json

-50
This file was deleted.

packages/catalogue/src/catalogue.test.ts

-11
This file was deleted.

packages/catalogue/src/catalogue.ts

-30
This file was deleted.

0 commit comments

Comments
 (0)