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 May 28, 2020
1 parent 0a4692a commit 8424d78
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 @@ -116,7 +116,7 @@ kitsuCore.camel(...)

### deattribute

[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub")

Hoists attributes to be top-level

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

### deserialise

[packages/kitsu-core/src/deserialise/index.js:57-72](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu-core/src/deserialise/index.js#L57-L72 "Source code on GitHub")
[packages/kitsu-core/src/deserialise/index.js:57-72](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/deserialise/index.js#L57-L72 "Source code on GitHub")

Deserialises a JSON-API response

Expand Down Expand Up @@ -212,7 +212,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/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/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 @@ -249,7 +249,7 @@ error({

### filterIncludes

[packages/kitsu-core/src/filterIncludes/index.js:33-46](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub")

Filters includes for the specific relationship requested

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

### linkRelationships

[packages/kitsu-core/src/linkRelationships/index.js:97-117](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu-core/src/linkRelationships/index.js#L97-L117 "Source code on GitHub")
[packages/kitsu-core/src/linkRelationships/index.js:97-117](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/linkRelationships/index.js#L97-L117 "Source code on GitHub")

Links relationships to included data

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

### query

[packages/kitsu-core/src/query/index.js:33-44](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu-core/src/query/index.js#L33-L44 "Source code on GitHub")
[packages/kitsu-core/src/query/index.js:33-44](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/query/index.js#L33-L44 "Source code on GitHub")

Constructs a URL query string for JSON:API parameters

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

### serialise

[packages/kitsu-core/src/serialise/index.js:249-260](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu-core/src/serialise/index.js#L249-L260 "Source code on GitHub")
[packages/kitsu-core/src/serialise/index.js:249-260](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/serialise/index.js#L249-L260 "Source code on GitHub")

Serialises an object into a JSON-API structure

Expand Down Expand Up @@ -400,7 +400,7 @@ Returns **[Object](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/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub")

Split model name from the model's resource URL

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

### camel

[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub")

Converts kebab-case and snake_case into camelCase

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

### kebab

[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub")

Converts camelCase into kebab-case

Expand All @@ -489,7 +489,7 @@ Returns **[string](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/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/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/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub")

Converts camelCase into snake_case

Expand Down
20 changes: 10 additions & 10 deletions packages/kitsu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ If you're working with [Kitsu.io]'s API, their [API docs][kitsu.io api docs] lis

### Kitsu

[packages/kitsu/src/index.js:30-463](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L30-L463 "Source code on GitHub")
[packages/kitsu/src/index.js:30-463](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L30-L463 "Source code on GitHub")

Creates a new `kitsu` instance

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

#### plural

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

- **See: <https://www.npmjs.com/package/pluralize> for documentation
**
Expand All @@ -282,7 +282,7 @@ api.plural.plural('paper') //=> 'paper'

#### headers

[packages/kitsu/src/index.js:67-67](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L67-L67 "Source code on GitHub")
[packages/kitsu/src/index.js:67-67](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L67-L67 "Source code on GitHub")

Get the current headers or add additional headers

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

#### interceptors

[packages/kitsu/src/index.js:112-112](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L112-L112 "Source code on GitHub")
[packages/kitsu/src/index.js:112-112](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L112-L112 "Source code on GitHub")

- **See: <https://github.com/axios/axios#interceptors> for documentation
**
Expand Down Expand Up @@ -364,7 +364,7 @@ api.interceptors.request.eject(myInterceptor)

#### get

[packages/kitsu/src/index.js:189-208](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L189-L208 "Source code on GitHub")
[packages/kitsu/src/index.js:189-208](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L189-L208 "Source code on GitHub")

Fetch resources (alias `fetch`)

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

#### patch

[packages/kitsu/src/index.js:241-261](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L241-L261 "Source code on GitHub")
[packages/kitsu/src/index.js:241-261](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L241-L261 "Source code on GitHub")

Update a resource (alias `update`)

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

#### post

[packages/kitsu/src/index.js:289-308](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L289-L308 "Source code on GitHub")
[packages/kitsu/src/index.js:289-308](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L289-L308 "Source code on GitHub")

Create a new resource (alias `create`)

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

#### delete

[packages/kitsu/src/index.js:323-352](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L323-L352 "Source code on GitHub")
[packages/kitsu/src/index.js:323-352](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L323-L352 "Source code on GitHub")

Remove a resource (alias `remove`)

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

#### self

[packages/kitsu/src/index.js:374-381](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L374-L381 "Source code on GitHub")
[packages/kitsu/src/index.js:374-381](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L374-L381 "Source code on GitHub")

Get the authenticated user's data

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

#### request

[packages/kitsu/src/index.js:442-462](https://github.com/wopian/kitsu/blob/297d1ef91676be67fcf1030a8b4a6b7fa6da7737/packages/kitsu/src/index.js#L442-L462 "Source code on GitHub")
[packages/kitsu/src/index.js:442-462](https://github.com/wopian/kitsu/blob/0a4692a390d00f309abbc976ed13d8c2d3b37528/packages/kitsu/src/index.js#L442-L462 "Source code on GitHub")

Send arbitrary requests

Expand Down

0 comments on commit 8424d78

Please sign in to comment.