From 4f8a446497f8d67e41b38485787c44360b14e86e Mon Sep 17 00:00:00 2001 From: Kai DeLorenzo <git@seaoflaurels.com> Date: Tue, 28 May 2024 17:08:22 -0500 Subject: [PATCH] additional playlist work --- build/SpotifyScript.ts | 2 +- package-lock.json | 11 ++++++++--- package.json | 2 +- src/SpotifyScript.ts | 2 +- src/types.ts | 1 + 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/build/SpotifyScript.ts b/build/SpotifyScript.ts index fba51ff..5349ca4 100644 --- a/build/SpotifyScript.ts +++ b/build/SpotifyScript.ts @@ -2034,7 +2034,7 @@ function getChannelCapabilities() { [] ) } -function getChannelContents(url: string, type: ChannelTypeCapabilities | null, order: Order | null, filters: FilterQuery<string> | null): ContentPager { +function getChannelContents(url: string, type: ChannelTypeCapabilities | null, order: Order | null, filters: FilterQuery<string> | null) { if (filters !== null) { throw new ScriptException("unreachable") } diff --git a/package-lock.json b/package-lock.json index 3af776b..b56c0a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MPL-2.0", "devDependencies": { - "@grayjay/plugin": "gitlab:kaidelorenzo/grayjay-plugin-types#d66c6ca2a381238f5e69eadffc92dbad36994e51", + "@grayjay/plugin": "gitlab:kaidelorenzo/grayjay-plugin-types#9a9981fb67cdc556f869e9803304693a70d967d3", "@types/node": "^20.12.12", "http-server": "^14.1.1", "npm-check-updates": "^16.14.20" @@ -39,8 +39,8 @@ }, "node_modules/@grayjay/plugin": { "version": "1.0.0", - "resolved": "git+ssh://git@gitlab.com/kaidelorenzo/grayjay-plugin-types.git#d66c6ca2a381238f5e69eadffc92dbad36994e51", - "integrity": "sha512-pXXd+n1V0OjFBsBINH7veFEpOtvEMmQM8nQ0jaBoBoQ0Ak4gLcctOa33BGFeY51VVOWsP+2v3XnpcmFYqNWhzw==", + "resolved": "git+ssh://git@gitlab.com/kaidelorenzo/grayjay-plugin-types.git#9a9981fb67cdc556f869e9803304693a70d967d3", + "integrity": "sha512-gbak7/zPL8cA2YMvDj4JngTDZubdlXnJdWgJQ60KF+gKJTifn1CGTYSRtlKxcm2QEjDFioyQGPo6gk34yf411w==", "dev": true, "dependencies": { "@types/sync-fetch": "^0.4.3", @@ -216,6 +216,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -260,6 +261,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "dependencies": { "glob": "^7.1.3" @@ -2711,6 +2713,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -2754,6 +2757,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -2854,6 +2858,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "dependencies": { "glob": "^7.1.3" diff --git a/package.json b/package.json index 203124f..85674cb 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "type": "module", "devDependencies": { - "@grayjay/plugin": "gitlab:kaidelorenzo/grayjay-plugin-types#d66c6ca2a381238f5e69eadffc92dbad36994e51", + "@grayjay/plugin": "gitlab:kaidelorenzo/grayjay-plugin-types#9a9981fb67cdc556f869e9803304693a70d967d3", "@types/node": "^20.12.12", "http-server": "^14.1.1", "npm-check-updates": "^16.14.20" diff --git a/src/SpotifyScript.ts b/src/SpotifyScript.ts index 059be71..9c78840 100644 --- a/src/SpotifyScript.ts +++ b/src/SpotifyScript.ts @@ -2034,7 +2034,7 @@ function getChannelCapabilities() { [] ) } -function getChannelContents(url: string, type: ChannelTypeCapabilities | null, order: Order | null, filters: FilterQuery<string> | null): ContentPager { +function getChannelContents(url: string, type: ChannelTypeCapabilities | null, order: Order | null, filters: FilterQuery<string> | null) { if (filters !== null) { throw new ScriptException("unreachable") } diff --git a/src/types.ts b/src/types.ts index 2bc6568..89e961f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -14,6 +14,7 @@ export type SpotifySource = Required<Omit<Source< | "getSearchChannelContentsCapabilities" | "getLiveChatWindow" | "searchChannelContents" + | "getChannelPlaylists" >> export type State = { -- GitLab