@content-island/api-client 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -90,11 +90,11 @@ Retrieves a content by id.
90
90
 
91
91
  The query parameters to filter the list of contents.
92
92
 
93
- | Key | Value | Description |
94
- | ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
95
- | `id` | `Filter` | The id of the content to retrieve. This is useful to retrieve a list of contents by id. For example: `client.getContentList({ ids: { in: ['1', '2', '3']})` |
96
- | `contentType` | `Filter` | The content type to filter the list of contents. For example: `post` |
97
- | `language` | `Filter` | The language to filter the list of contents. For example: `en` |
93
+ | Key | Value | Description |
94
+ | ------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
95
+ | `id` | `Filter` | The id of the content to retrieve. This is useful to retrieve a list of contents by id. For example: `client.getContentList({ id: { in: ['1', '2', '3']})` |
96
+ | `contentType` | `Filter` | The content type to filter the list of contents. For example: `post` |
97
+ | `language` | `Filter` | The language to filter the list of contents. For example: `en` |
98
98
 
99
99
  | Filter type | Description | Example |
100
100
  | ------------------ | ------------------------------------------------------------------ | ------------------------------------ |
package/dist/index.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare interface Project {
63
63
  id: string;
64
64
  name: string;
65
65
  languages: string[];
66
- entities?: ApiLookup[];
66
+ contentTypes?: ApiLookup[];
67
67
  }
68
68
 
69
69
  declare type Query<F = Filter> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@content-island/api-client",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Content Island - REST API Client",
5
5
  "private": false,
6
6
  "sideEffects": false,