Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
- Updated typedoc
- Updated Documentation
  • Loading branch information
cjam committed Feb 15, 2021
1 parent 2c70af0 commit 65a1381
Show file tree
Hide file tree
Showing 31 changed files with 59,158 additions and 4,358 deletions.
2,639 changes: 2,638 additions & 1 deletion docs/assets/css/main.css

Large diffs are not rendered by default.

299 changes: 248 additions & 51 deletions docs/assets/js/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/js/search.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/js/search.json

This file was deleted.

2,968 changes: 2,892 additions & 76 deletions docs/enums/apiscope.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/enums/repeatmode.html

Large diffs are not rendered by default.

1,024 changes: 0 additions & 1,024 deletions docs/globals.html

This file was deleted.

3,487 changes: 2,996 additions & 491 deletions docs/index.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/interfaces/album.html

Large diffs are not rendered by default.

3,214 changes: 3,214 additions & 0 deletions docs/interfaces/apiconfig.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/interfaces/artist.html

Large diffs are not rendered by default.

2,970 changes: 2,893 additions & 77 deletions docs/interfaces/contentitem.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/interfaces/crossfadestate.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/interfaces/getchildrenitemsoptions.html

Large diffs are not rendered by default.

2,970 changes: 2,893 additions & 77 deletions docs/interfaces/playbackoptions.html

Large diffs are not rendered by default.

2,968 changes: 2,892 additions & 76 deletions docs/interfaces/playbackrestrictions.html

Large diffs are not rendered by default.

2,974 changes: 2,895 additions & 79 deletions docs/interfaces/playerstate.html

Large diffs are not rendered by default.

2,972 changes: 2,894 additions & 78 deletions docs/interfaces/recommendedcontentoptions.html

Large diffs are not rendered by default.

398 changes: 0 additions & 398 deletions docs/interfaces/spotifyapiconfig.html

This file was deleted.

3,017 changes: 2,917 additions & 100 deletions docs/interfaces/spotifyauth.html

Large diffs are not rendered by default.

3,288 changes: 3,044 additions & 244 deletions docs/interfaces/spotifyremoteapi.html

Large diffs are not rendered by default.

2,976 changes: 2,896 additions & 80 deletions docs/interfaces/spotifyremoteevents.html

Large diffs are not rendered by default.

2,970 changes: 2,893 additions & 77 deletions docs/interfaces/spotifysession.html

Large diffs are not rendered by default.

2,972 changes: 2,894 additions & 78 deletions docs/interfaces/track.html

Large diffs are not rendered by default.

913 changes: 0 additions & 913 deletions docs/interfaces/typedeventemitter.html

This file was deleted.

3,529 changes: 3,529 additions & 0 deletions docs/modules.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"all-contributors-cli": "^6.14.2",
"concurrently": "^5.0.2",
"jetifier": "^1.6.5",
"typedoc": "^0.19.2",
"typedoc": "^0.20.24",
"typescript": "^4.1.3"
}
}
}
4 changes: 2 additions & 2 deletions src/SpotifyRemote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import GetChildrenItemsOptions, { DEFAULT_GET_CHILDREN_OPTIONS } from './GetChil
*
* @interface SpotifyRemoteEvents
*/
interface SpotifyRemoteEvents {
export interface SpotifyRemoteEvents {

/**
* Fired when the state of the Spotify Player changes
Expand Down Expand Up @@ -273,7 +273,7 @@ if (Platform.OS === "android") {
return [];
}


const androidGetItemOfChildren = SpotifyRemote.getChildrenOfItem;
SpotifyRemote.getChildrenOfItem = async (item: ContentItem, options) => {
return androidGetItemOfChildren(item, {
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ export { default as CrossfadeState } from './CrossfadeState';
export { default as SpotifySession } from './SpotifySession';
export { default as GetChildrenItemsOptions } from './GetChildrenItemsOptions';
export { default as PlaybackOptions } from './PlaybackOptions';
export { default as PlaybackRestrictions } from "./PlaybackRestrictions";
export { default as RecommendedContentOptions } from "./RecommendedContentOptions";

export { SpotifyAuth } from './SpotifyAuth';
export { SpotifyRemoteApi } from './SpotifyRemote';
export { SpotifyRemoteApi, SpotifyRemoteEvents } from './SpotifyRemote';

// Modules
import { default as _auth } from './SpotifyAuth';
Expand Down
7 changes: 4 additions & 3 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"mode":"file",
"out":"docs",
"ignoreCompilerErrors":true,
"out": "docs",
"entryPoints": [
"./src/index.ts"
],
"theme": "minimal",
"gitRevision": "master"
}
106 changes: 57 additions & 49 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ color-name@~1.1.4:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==

colors@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==

combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
Expand Down Expand Up @@ -423,15 +428,15 @@ form-data@~2.3.2:
combined-stream "^1.0.6"
mime-types "^2.1.12"

fs-extra@^9.0.1:
version "9.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc"
integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==
fs-extra@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
dependencies:
at-least-node "^1.0.0"
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^1.0.0"
universalify "^2.0.0"

fs.realpath@^1.0.0:
version "1.0.0"
Expand Down Expand Up @@ -507,11 +512,6 @@ has-flag@^4.0.0:
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==

highlight.js@^10.2.0:
version "10.4.1"
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.1.tgz#d48fbcf4a9971c4361b3f95f302747afe19dbad0"
integrity sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg==

hosted-git-info@^2.1.4:
version "2.8.5"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c"
Expand Down Expand Up @@ -678,22 +678,22 @@ lodash@^4.17.20:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

lru-cache@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
lru-cache@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
dependencies:
yallist "^4.0.0"
yallist "^3.0.2"

lunr@^2.3.9:
version "2.3.9"
resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1"
integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==

marked@^1.1.1:
version "1.2.6"
resolved "https://registry.yarnpkg.com/marked/-/marked-1.2.6.tgz#fa55cf38ab3585005c9fb3c1ebfb3d4590c29fdc"
integrity sha512-7vVuSEZ8g/HH3hK/BH/+7u/NJj7x9VY4EHzujLDcqAQLiOUeFJYAsfSAyoWtR17lKrx7b08qyIno4lffwrzTaA==
marked@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.0.tgz#9662bbcb77ebbded0662a7be66ff929a8611cee5"
integrity sha512-NqRSh2+LlN2NInpqTQnS614Y/3NkVMFFU6sJlRFEpxJ/LHuK/qJECH7/fXZjk4VZstPW/Pevjil/VtSONsLc7Q==

mime-db@1.44.0:
version "1.44.0"
Expand Down Expand Up @@ -763,6 +763,13 @@ onetime@^5.1.0:
dependencies:
mimic-fn "^2.1.0"

onigasm@^2.2.5:
version "2.2.5"
resolved "https://registry.yarnpkg.com/onigasm/-/onigasm-2.2.5.tgz#cc4d2a79a0fa0b64caec1f4c7ea367585a676892"
integrity sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==
dependencies:
lru-cache "^5.1.1"

os-tmpdir@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
Expand Down Expand Up @@ -989,13 +996,6 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.2:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==

semver@^7.3.2:
version "7.3.4"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97"
integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==
dependencies:
lru-cache "^6.0.0"

set-blocking@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
Expand All @@ -1010,6 +1010,14 @@ shelljs@^0.8.4:
interpret "^1.0.0"
rechoir "^0.6.2"

shiki@^0.9.2:
version "0.9.2"
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.2.tgz#b9e660b750d38923275765c4dc4c92b23877b115"
integrity sha512-BjUCxVbxMnvjs8jC4b+BQ808vwjJ9Q8NtLqPwXShZ307HdXiDFYP968ORSVfaTNNSWYDBYdMnVKJ0fYNsoZUBA==
dependencies:
onigasm "^2.2.5"
vscode-textmate "^5.2.0"

signal-exit@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
Expand Down Expand Up @@ -1166,29 +1174,29 @@ type-fest@^0.11.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1"
integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==

typedoc-default-themes@^0.11.4:
version "0.11.4"
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.11.4.tgz#1bc55b7c8d1132844616ff6f570e1e2cd0eb7343"
integrity sha512-Y4Lf+qIb9NTydrexlazAM46SSLrmrQRqWiD52593g53SsmUFioAsMWt8m834J6qsp+7wHRjxCXSZeiiW5cMUdw==
typedoc-default-themes@^0.12.7:
version "0.12.7"
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.7.tgz#d44f68d40a3e90a19b5ea7be4cc6ed949afe768d"
integrity sha512-0XAuGEqID+gon1+fhi4LycOEFM+5Mvm2PjwaiVZNAzU7pn3G2DEpsoXnFOPlLDnHY6ZW0BY0nO7ur9fHOFkBLQ==

typedoc@^0.19.2:
version "0.19.2"
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.19.2.tgz#842a63a581f4920f76b0346bb80eb2a49afc2c28"
integrity sha512-oDEg1BLEzi1qvgdQXc658EYgJ5qJLVSeZ0hQ57Eq4JXy6Vj2VX4RVo18qYxRWz75ifAaYuYNBUCnbhjd37TfOg==
typedoc@^0.20.24:
version "0.20.24"
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.20.24.tgz#9dd1cb32e44823a5ebbeb54c9b84af85286c5941"
integrity sha512-TadOYtcw8agrk7WTZlXUcct4jLZZcGcYe3xbmARkI+rBpXI6Mw+0P8oUo13+9oFreQvK5zZgMem4YEi7lCXLIw==
dependencies:
fs-extra "^9.0.1"
colors "^1.4.0"
fs-extra "^9.1.0"
handlebars "^4.7.6"
highlight.js "^10.2.0"
lodash "^4.17.20"
lunr "^2.3.9"
marked "^1.1.1"
marked "^2.0.0"
minimatch "^3.0.0"
progress "^2.0.3"
semver "^7.3.2"
shelljs "^0.8.4"
typedoc-default-themes "^0.11.4"
shiki "^0.9.2"
typedoc-default-themes "^0.12.7"

typescript@^4.1.5:
typescript@^4.1.3:
version "4.1.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72"
integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==
Expand All @@ -1201,11 +1209,6 @@ uglify-js@^3.1.4:
commander "~2.17.1"
source-map "~0.6.1"

universalify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d"
integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==

universalify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
Expand Down Expand Up @@ -1240,6 +1243,11 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vscode-textmate@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-5.2.0.tgz#01f01760a391e8222fe4f33fbccbd1ad71aed74e"
integrity sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==

which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
Expand Down Expand Up @@ -1278,10 +1286,10 @@ y18n@^4.0.0:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==

yallist@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
yallist@^3.0.2:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==

yargs-parser@^13.1.1:
version "13.1.1"
Expand Down

0 comments on commit 65a1381

Please sign in to comment.