Skip to content

Commit 269e56d

Browse files
authored
Added actions (#19382)
1 parent c5b7ccc commit 269e56d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

components/spotify/actions/get-album-tracks/get-album-tracks.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { axios } from "@pipedream/platform";
22
import spotify from "../../spotify.app.mjs";
3-
import { ITEM_TYPES } from "../../consts.mjs";
3+
import { ITEM_TYPES } from "../../common/constants.mjs";
44
const DEFAULT_LIMIT = 20;
55

66
export default {
77
name: "Get Album Tracks",
88
description: "Get all tracks in an album. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/get-an-albums-tracks)",
99
key: "spotify-get-album-tracks",
10-
version: "0.0.4",
10+
version: "0.0.5",
1111
annotations: {
1212
destructiveHint: false,
1313
openWorldHint: true,

components/spotify/actions/get-currently-playing-track/get-currently-playing-track.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { axios } from "@pipedream/platform";
22
import spotify from "../../spotify.app.mjs";
3-
import { ITEM_TYPES } from "../../consts.mjs";
3+
import { ITEM_TYPES } from "../../common/constants.mjs";
44

55
export default {
66
name: "Get currently playing track",
77
description:
88
"Get the object currently being played on the user's Spotify account. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track)",
99
key: "spotify-get-currently-playing-track",
10-
version: "0.0.4",
10+
version: "0.0.5",
1111
annotations: {
1212
destructiveHint: false,
1313
openWorldHint: true,

components/spotify/actions/search/search.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { ConfigurationError } from "@pipedream/platform";
22
import spotify from "../../spotify.app.mjs";
33
import {
44
ITEM_TYPES_LIST, ITEM_TYPES,
5-
} from "../../consts.mjs";
5+
} from "../../common/constants.mjs";
66

77
export default {
88
key: "spotify-search",
99
name: "Search",
1010
description: "Search for items on Spotify (tracks, albums, artists, playlists, shows, or episodes). [See the docs here](https://developer.spotify.com/documentation/web-api/reference/search)",
11-
version: "0.0.1",
11+
version: "0.0.2",
1212
type: "action",
1313
annotations: {
1414
destructiveHint: false,
File renamed without changes.

components/spotify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/spotify",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"description": "Pipedream Spotify Components",
55
"main": "spotify.app.mjs",
66
"keywords": [

components/spotify/spotify.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { promisify } from "util";
88
import {
99
ITEM_TYPES,
1010
ITEM_TYPES_RESULT_NAME,
11-
} from "./consts.mjs";
11+
} from "./common/constants.mjs";
1212
import Countries from "./country-codes.mjs";
1313

1414
const pause = promisify((delay, fn) => setTimeout(fn, delay));

0 commit comments

Comments
 (0)