Skip to content

Commit

Permalink
chore(release): update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wopian committed Aug 12, 2022
1 parent d261d4c commit ba60679
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions packages/kitsu-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ All code released under [MIT]

### camel

[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub")
[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub")

Converts kebab-case and snake_case into camelCase

Expand All @@ -160,7 +160,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### deattribute

[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub")
[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub")

Hoists attributes to be top-level

Expand Down Expand Up @@ -202,7 +202,7 @@ Returns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/

### deserialise

[packages/kitsu-core/src/deserialise/index.js:58-73](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/deserialise/index.js#L58-L73 "Source code on GitHub")
[packages/kitsu-core/src/deserialise/index.js:62-77](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/deserialise/index.js#L62-L77 "Source code on GitHub")

Deserialises a JSON-API response

Expand Down Expand Up @@ -252,7 +252,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### error

[packages/kitsu-core/src/error/index.js:27-33](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/error/index.js#L27-L33 "Source code on GitHub")
[packages/kitsu-core/src/error/index.js:27-33](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/error/index.js#L27-L33 "Source code on GitHub")

Uniform error handling for Axios, JSON:API and internal package errors. Mutated Error object is rethrown to the caller.

Expand Down Expand Up @@ -289,7 +289,7 @@ error({

### filterIncludes

[packages/kitsu-core/src/filterIncludes/index.js:33-46](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub")
[packages/kitsu-core/src/filterIncludes/index.js:33-46](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub")

Filters includes for the specific relationship requested

Expand Down Expand Up @@ -329,7 +329,7 @@ Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Gl

### kebab

[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub")
[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub")

Converts camelCase into kebab-case

Expand All @@ -347,7 +347,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### linkRelationships

[packages/kitsu-core/src/linkRelationships/index.js:126-146](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/linkRelationships/index.js#L126-L146 "Source code on GitHub")
[packages/kitsu-core/src/linkRelationships/index.js:126-146](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/linkRelationships/index.js#L126-L146 "Source code on GitHub")

Links relationships to included data

Expand Down Expand Up @@ -387,7 +387,7 @@ Returns **any** Parsed data

### query

[packages/kitsu-core/src/query/index.js:33-42](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/query/index.js#L33-L42 "Source code on GitHub")
[packages/kitsu-core/src/query/index.js:33-42](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/query/index.js#L33-L42 "Source code on GitHub")

Constructs a URL query string for JSON:API parameters

Expand Down Expand Up @@ -415,7 +415,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### serialise

[packages/kitsu-core/src/serialise/index.js:213-224](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/serialise/index.js#L213-L224 "Source code on GitHub")
[packages/kitsu-core/src/serialise/index.js:213-224](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/serialise/index.js#L213-L224 "Source code on GitHub")

Serialises an object into a JSON-API structure

Expand Down Expand Up @@ -460,7 +460,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### snake

[packages/kitsu-core/src/snake/index.js:11-11](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub")
[packages/kitsu-core/src/snake/index.js:11-11](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub")

Converts camelCase into snake_case

Expand All @@ -478,7 +478,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

### splitModel

[packages/kitsu-core/src/splitModel/index.js:29-39](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub")
[packages/kitsu-core/src/splitModel/index.js:29-39](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub")

Split model name from the model's resource URL

Expand Down
20 changes: 10 additions & 10 deletions packages/kitsu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ All code released under [MIT]

### Kitsu

[packages/kitsu/src/index.js:30-523](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L30-L523 "Source code on GitHub")
[packages/kitsu/src/index.js:30-523](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L30-L523 "Source code on GitHub")

Creates a new `kitsu` instance

Expand Down Expand Up @@ -286,7 +286,7 @@ const api = new Kitsu({

#### plural

[packages/kitsu/src/index.js:52-53](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L52-L53 "Source code on GitHub")
[packages/kitsu/src/index.js:52-53](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L52-L53 "Source code on GitHub")

* **See**: <https://www.npmjs.com/package/pluralize> for documentation
* **See**: [Kitsu](#kitsu) constructor options for disabling pluralization
Expand All @@ -305,7 +305,7 @@ api.plural.plural('paper') //=> 'paper'

#### headers

[packages/kitsu/src/index.js:67-67](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L67-L67 "Source code on GitHub")
[packages/kitsu/src/index.js:67-67](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L67-L67 "Source code on GitHub")

Get the current headers or add additional headers

Expand Down Expand Up @@ -333,7 +333,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G

#### interceptors

[packages/kitsu/src/index.js:113-113](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L113-L113 "Source code on GitHub")
[packages/kitsu/src/index.js:113-113](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L113-L113 "Source code on GitHub")

* **See**: <https://github.com/axios/axios#interceptors> for documentation

Expand Down Expand Up @@ -380,7 +380,7 @@ api.interceptors.request.eject(myInterceptor)

#### get

[packages/kitsu/src/index.js:211-240](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L211-L240 "Source code on GitHub")
[packages/kitsu/src/index.js:211-240](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L211-L240 "Source code on GitHub")

Fetch resources (alias `fetch`)

Expand Down Expand Up @@ -517,7 +517,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
#### patch
[packages/kitsu/src/index.js:276-304](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L276-L304 "Source code on GitHub")
[packages/kitsu/src/index.js:276-304](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L276-L304 "Source code on GitHub")
Update a resource (alias `update`)
Expand Down Expand Up @@ -579,7 +579,7 @@ Returns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
#### post
[packages/kitsu/src/index.js:334-360](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L334-L360 "Source code on GitHub")
[packages/kitsu/src/index.js:334-360](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L334-L360 "Source code on GitHub")
Create a new resource (alias `create`)
Expand Down Expand Up @@ -623,7 +623,7 @@ Returns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
#### delete
[packages/kitsu/src/index.js:378-412](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L378-L412 "Source code on GitHub")
[packages/kitsu/src/index.js:378-412](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L378-L412 "Source code on GitHub")
Remove a resource (alias `remove`)
Expand Down Expand Up @@ -655,7 +655,7 @@ Returns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
#### self
[packages/kitsu/src/index.js:436-445](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L436-L445 "Source code on GitHub")
[packages/kitsu/src/index.js:436-445](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L436-L445 "Source code on GitHub")
Get the authenticated user's data
Expand Down Expand Up @@ -693,7 +693,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
#### request
[packages/kitsu/src/index.js:500-522](https://github.com/wopian/kitsu/blob/4a4f64adbd4ab8187ab3d88a964061056ee18be7/packages/kitsu/src/index.js#L500-L522 "Source code on GitHub")
[packages/kitsu/src/index.js:500-522](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu/src/index.js#L500-L522 "Source code on GitHub")
Send arbitrary requests
Expand Down

0 comments on commit ba60679

Please sign in to comment.