@keystrokehq/supadata 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-me.cjs +21 -0
- package/dist/actions/get-me.cjs.map +1 -0
- package/dist/actions/get-me.d.cts +9 -0
- package/dist/actions/get-me.d.cts.map +1 -0
- package/dist/actions/get-me.d.mts +9 -0
- package/dist/actions/get-me.d.mts.map +1 -0
- package/dist/actions/get-me.mjs +18 -0
- package/dist/actions/get-me.mjs.map +1 -0
- package/dist/actions/get-transcript-by-job-id.cjs +39 -0
- package/dist/actions/get-transcript-by-job-id.cjs.map +1 -0
- package/dist/actions/get-transcript-by-job-id.d.cts +9 -0
- package/dist/actions/get-transcript-by-job-id.d.cts.map +1 -0
- package/dist/actions/get-transcript-by-job-id.d.mts +9 -0
- package/dist/actions/get-transcript-by-job-id.d.mts.map +1 -0
- package/dist/actions/get-transcript-by-job-id.mjs +38 -0
- package/dist/actions/get-transcript-by-job-id.mjs.map +1 -0
- package/dist/actions/get-transcript.cjs +36 -0
- package/dist/actions/get-transcript.cjs.map +1 -0
- package/dist/actions/get-transcript.d.cts +9 -0
- package/dist/actions/get-transcript.d.cts.map +1 -0
- package/dist/actions/get-transcript.d.mts +9 -0
- package/dist/actions/get-transcript.d.mts.map +1 -0
- package/dist/actions/get-transcript.mjs +35 -0
- package/dist/actions/get-transcript.mjs.map +1 -0
- package/dist/actions/get-web-map.cjs +19 -0
- package/dist/actions/get-web-map.cjs.map +1 -0
- package/dist/actions/get-web-map.d.cts +9 -0
- package/dist/actions/get-web-map.d.cts.map +1 -0
- package/dist/actions/get-web-map.d.mts +9 -0
- package/dist/actions/get-web-map.d.mts.map +1 -0
- package/dist/actions/get-web-map.mjs +16 -0
- package/dist/actions/get-web-map.mjs.map +1 -0
- package/dist/actions/get-web-scrape.cjs +28 -0
- package/dist/actions/get-web-scrape.cjs.map +1 -0
- package/dist/actions/get-web-scrape.d.cts +9 -0
- package/dist/actions/get-web-scrape.d.cts.map +1 -0
- package/dist/actions/get-web-scrape.d.mts +9 -0
- package/dist/actions/get-web-scrape.d.mts.map +1 -0
- package/dist/actions/get-web-scrape.mjs +25 -0
- package/dist/actions/get-web-scrape.mjs.map +1 -0
- package/dist/actions/get-youtube-channel-videos.cjs +29 -0
- package/dist/actions/get-youtube-channel-videos.cjs.map +1 -0
- package/dist/actions/get-youtube-channel-videos.d.cts +9 -0
- package/dist/actions/get-youtube-channel-videos.d.cts.map +1 -0
- package/dist/actions/get-youtube-channel-videos.d.mts +9 -0
- package/dist/actions/get-youtube-channel-videos.d.mts.map +1 -0
- package/dist/actions/get-youtube-channel-videos.mjs +26 -0
- package/dist/actions/get-youtube-channel-videos.mjs.map +1 -0
- package/dist/actions/get-youtube-channel.cjs +26 -0
- package/dist/actions/get-youtube-channel.cjs.map +1 -0
- package/dist/actions/get-youtube-channel.d.cts +9 -0
- package/dist/actions/get-youtube-channel.d.cts.map +1 -0
- package/dist/actions/get-youtube-channel.d.mts +9 -0
- package/dist/actions/get-youtube-channel.d.mts.map +1 -0
- package/dist/actions/get-youtube-channel.mjs +23 -0
- package/dist/actions/get-youtube-channel.mjs.map +1 -0
- package/dist/actions/get-youtube-playlist-videos.cjs +23 -0
- package/dist/actions/get-youtube-playlist-videos.cjs.map +1 -0
- package/dist/actions/get-youtube-playlist-videos.d.cts +9 -0
- package/dist/actions/get-youtube-playlist-videos.d.cts.map +1 -0
- package/dist/actions/get-youtube-playlist-videos.d.mts +9 -0
- package/dist/actions/get-youtube-playlist-videos.d.mts.map +1 -0
- package/dist/actions/get-youtube-playlist-videos.mjs +20 -0
- package/dist/actions/get-youtube-playlist-videos.mjs.map +1 -0
- package/dist/actions/get-youtube-playlist.cjs +28 -0
- package/dist/actions/get-youtube-playlist.cjs.map +1 -0
- package/dist/actions/get-youtube-playlist.d.cts +9 -0
- package/dist/actions/get-youtube-playlist.d.cts.map +1 -0
- package/dist/actions/get-youtube-playlist.d.mts +9 -0
- package/dist/actions/get-youtube-playlist.d.mts.map +1 -0
- package/dist/actions/get-youtube-playlist.mjs +27 -0
- package/dist/actions/get-youtube-playlist.mjs.map +1 -0
- package/dist/actions/get-youtube-video.cjs +33 -0
- package/dist/actions/get-youtube-video.cjs.map +1 -0
- package/dist/actions/get-youtube-video.d.cts +9 -0
- package/dist/actions/get-youtube-video.d.cts.map +1 -0
- package/dist/actions/get-youtube-video.d.mts +9 -0
- package/dist/actions/get-youtube-video.d.mts.map +1 -0
- package/dist/actions/get-youtube-video.mjs +32 -0
- package/dist/actions/get-youtube-video.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/search-youtube.cjs +29 -0
- package/dist/actions/search-youtube.cjs.map +1 -0
- package/dist/actions/search-youtube.d.cts +9 -0
- package/dist/actions/search-youtube.d.cts.map +1 -0
- package/dist/actions/search-youtube.d.mts +9 -0
- package/dist/actions/search-youtube.d.mts.map +1 -0
- package/dist/actions/search-youtube.mjs +26 -0
- package/dist/actions/search-youtube.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { supadataGetMe } from "./get-me.cjs";
|
|
2
|
+
import { supadataGetTranscript } from "./get-transcript.cjs";
|
|
3
|
+
import { supadataGetTranscriptByJobId } from "./get-transcript-by-job-id.cjs";
|
|
4
|
+
import { supadataGetWebMap } from "./get-web-map.cjs";
|
|
5
|
+
import { supadataGetWebScrape } from "./get-web-scrape.cjs";
|
|
6
|
+
import { supadataGetYoutubeChannel } from "./get-youtube-channel.cjs";
|
|
7
|
+
import { supadataGetYoutubeChannelVideos } from "./get-youtube-channel-videos.cjs";
|
|
8
|
+
import { supadataGetYoutubePlaylist } from "./get-youtube-playlist.cjs";
|
|
9
|
+
import { supadataGetYoutubePlaylistVideos } from "./get-youtube-playlist-videos.cjs";
|
|
10
|
+
import { supadataGetYoutubeVideo } from "./get-youtube-video.cjs";
|
|
11
|
+
import { supadataSearchYoutube } from "./search-youtube.cjs";
|
|
12
|
+
export { supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { supadataGetMe } from "./get-me.mjs";
|
|
2
|
+
import { supadataGetTranscript } from "./get-transcript.mjs";
|
|
3
|
+
import { supadataGetTranscriptByJobId } from "./get-transcript-by-job-id.mjs";
|
|
4
|
+
import { supadataGetWebMap } from "./get-web-map.mjs";
|
|
5
|
+
import { supadataGetWebScrape } from "./get-web-scrape.mjs";
|
|
6
|
+
import { supadataGetYoutubeChannel } from "./get-youtube-channel.mjs";
|
|
7
|
+
import { supadataGetYoutubeChannelVideos } from "./get-youtube-channel-videos.mjs";
|
|
8
|
+
import { supadataGetYoutubePlaylist } from "./get-youtube-playlist.mjs";
|
|
9
|
+
import { supadataGetYoutubePlaylistVideos } from "./get-youtube-playlist-videos.mjs";
|
|
10
|
+
import { supadataGetYoutubeVideo } from "./get-youtube-video.mjs";
|
|
11
|
+
import { supadataSearchYoutube } from "./search-youtube.mjs";
|
|
12
|
+
export { supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { supadataGetMe } from "./get-me.mjs";
|
|
2
|
+
import { supadataGetTranscript } from "./get-transcript.mjs";
|
|
3
|
+
import { supadataGetTranscriptByJobId } from "./get-transcript-by-job-id.mjs";
|
|
4
|
+
import { supadataGetWebMap } from "./get-web-map.mjs";
|
|
5
|
+
import { supadataGetWebScrape } from "./get-web-scrape.mjs";
|
|
6
|
+
import { supadataGetYoutubeChannel } from "./get-youtube-channel.mjs";
|
|
7
|
+
import { supadataGetYoutubeChannelVideos } from "./get-youtube-channel-videos.mjs";
|
|
8
|
+
import { supadataGetYoutubePlaylist } from "./get-youtube-playlist.mjs";
|
|
9
|
+
import { supadataGetYoutubePlaylistVideos } from "./get-youtube-playlist-videos.mjs";
|
|
10
|
+
import { supadataGetYoutubeVideo } from "./get-youtube-video.mjs";
|
|
11
|
+
import { supadataSearchYoutube } from "./search-youtube.mjs";
|
|
12
|
+
export { supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/search-youtube.ts
|
|
4
|
+
const SupadataSearchYoutubeInput = zod.z.object({
|
|
5
|
+
type: zod.z.enum([
|
|
6
|
+
"video",
|
|
7
|
+
"channel",
|
|
8
|
+
"playlist"
|
|
9
|
+
]).describe("Type of resource to search for. If not specified, returns all types. Options: 'video', 'channel', 'playlist'.").optional(),
|
|
10
|
+
limit: zod.z.number().int().default(10).describe("Maximum number of results to return. Default is 10, max is 5000. Note: Uses 1 credit per page (~20 results).").optional(),
|
|
11
|
+
query: zod.z.string().describe("The search query term to search on YouTube. Examples: 'python tutorial', 'cooking recipes', 'music videos'.")
|
|
12
|
+
}).describe("Request parameters for SUPADATA_SEARCH_YOUTUBE. Search YouTube for videos, channels, or playlists.");
|
|
13
|
+
const SupadataSearchYoutubeOutput = zod.z.object({
|
|
14
|
+
query: zod.z.string().describe("The search query that was executed."),
|
|
15
|
+
results: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of search results. Each result can be a video, playlist, or channel with type-specific fields. Videos have: type, id, title, description, thumbnail, duration (seconds), viewCount, uploadDate, channel. Playlists have: type, id, title, thumbnail, videoCount, channel. Channels have: type, id, title, handle, thumbnail, subscriberCount, videoCount."),
|
|
16
|
+
totalResults: zod.z.number().int().describe("Total number of results matching the query.").nullable().optional(),
|
|
17
|
+
nextPageToken: zod.z.string().describe("Token to retrieve the next page of results for pagination.").nullable().optional()
|
|
18
|
+
}).describe("Response schema for SUPADATA_SEARCH_YOUTUBE. Contains the search query and results.");
|
|
19
|
+
const supadataSearchYoutube = require_action.action("SUPADATA_SEARCH_YOUTUBE", {
|
|
20
|
+
slug: "supadata-search-youtube",
|
|
21
|
+
name: "Search YouTube",
|
|
22
|
+
description: "Search YouTube for videos, channels, or playlists by keyword. Returns matching content with metadata like titles, thumbnails, view counts, and channel information.",
|
|
23
|
+
input: SupadataSearchYoutubeInput,
|
|
24
|
+
output: SupadataSearchYoutubeOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.supadataSearchYoutube = supadataSearchYoutube;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=search-youtube.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-youtube.cjs","names":["z","action"],"sources":["../../src/actions/search-youtube.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupadataSearchYoutubeInput: z.ZodTypeAny = z.object({\n type: z.enum([\"video\", \"channel\", \"playlist\"]).describe(\"Type of resource to search for. If not specified, returns all types. Options: 'video', 'channel', 'playlist'.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of results to return. Default is 10, max is 5000. Note: Uses 1 credit per page (~20 results).\").optional(),\n query: z.string().describe(\"The search query term to search on YouTube. Examples: 'python tutorial', 'cooking recipes', 'music videos'.\"),\n}).describe(\"Request parameters for SUPADATA_SEARCH_YOUTUBE. Search YouTube for videos, channels, or playlists.\");\nexport const SupadataSearchYoutubeOutput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"The search query that was executed.\"),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of search results. Each result can be a video, playlist, or channel with type-specific fields. Videos have: type, id, title, description, thumbnail, duration (seconds), viewCount, uploadDate, channel. Playlists have: type, id, title, thumbnail, videoCount, channel. Channels have: type, id, title, handle, thumbnail, subscriberCount, videoCount.\"),\n totalResults: z.number().int().describe(\"Total number of results matching the query.\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token to retrieve the next page of results for pagination.\").nullable().optional(),\n}).describe(\"Response schema for SUPADATA_SEARCH_YOUTUBE. Contains the search query and results.\");\n\nexport const supadataSearchYoutube = action(\"SUPADATA_SEARCH_YOUTUBE\", {\n slug: \"supadata-search-youtube\",\n name: \"Search YouTube\",\n description: \"Search YouTube for videos, channels, or playlists by keyword. Returns matching content with metadata like titles, thumbnails, view counts, and channel information.\",\n input: SupadataSearchYoutubeInput,\n output: SupadataSearchYoutubeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAClL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC1I,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAChH,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gWAAgW;CAC7Z,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-youtube.d.ts
|
|
4
|
+
declare const SupadataSearchYoutubeInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupadataSearchYoutubeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supadataSearchYoutube: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supadataSearchYoutube };
|
|
9
|
+
//# sourceMappingURL=search-youtube.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-youtube.d.cts","names":[],"sources":["../../src/actions/search-youtube.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIsE;AAAA,cACpG,2BAAA,EAA6B,CAAA,CAAE,UAKsD;AAAA,cAErF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-youtube.d.ts
|
|
4
|
+
declare const SupadataSearchYoutubeInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupadataSearchYoutubeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supadataSearchYoutube: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supadataSearchYoutube };
|
|
9
|
+
//# sourceMappingURL=search-youtube.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-youtube.d.mts","names":[],"sources":["../../src/actions/search-youtube.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIsE;AAAA,cACpG,2BAAA,EAA6B,CAAA,CAAE,UAKsD;AAAA,cAErF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const supadataSearchYoutube = action("SUPADATA_SEARCH_YOUTUBE", {
|
|
4
|
+
slug: "supadata-search-youtube",
|
|
5
|
+
name: "Search YouTube",
|
|
6
|
+
description: "Search YouTube for videos, channels, or playlists by keyword. Returns matching content with metadata like titles, thumbnails, view counts, and channel information.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
type: z.enum([
|
|
9
|
+
"video",
|
|
10
|
+
"channel",
|
|
11
|
+
"playlist"
|
|
12
|
+
]).describe("Type of resource to search for. If not specified, returns all types. Options: 'video', 'channel', 'playlist'.").optional(),
|
|
13
|
+
limit: z.number().int().default(10).describe("Maximum number of results to return. Default is 10, max is 5000. Note: Uses 1 credit per page (~20 results).").optional(),
|
|
14
|
+
query: z.string().describe("The search query term to search on YouTube. Examples: 'python tutorial', 'cooking recipes', 'music videos'.")
|
|
15
|
+
}).describe("Request parameters for SUPADATA_SEARCH_YOUTUBE. Search YouTube for videos, channels, or playlists."),
|
|
16
|
+
output: z.object({
|
|
17
|
+
query: z.string().describe("The search query that was executed."),
|
|
18
|
+
results: z.array(z.record(z.string(), z.unknown())).describe("List of search results. Each result can be a video, playlist, or channel with type-specific fields. Videos have: type, id, title, description, thumbnail, duration (seconds), viewCount, uploadDate, channel. Playlists have: type, id, title, thumbnail, videoCount, channel. Channels have: type, id, title, handle, thumbnail, subscriberCount, videoCount."),
|
|
19
|
+
totalResults: z.number().int().describe("Total number of results matching the query.").nullable().optional(),
|
|
20
|
+
nextPageToken: z.string().describe("Token to retrieve the next page of results for pagination.").nullable().optional()
|
|
21
|
+
}).describe("Response schema for SUPADATA_SEARCH_YOUTUBE. Contains the search query and results.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { supadataSearchYoutube };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=search-youtube.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-youtube.mjs","names":[],"sources":["../../src/actions/search-youtube.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupadataSearchYoutubeInput: z.ZodTypeAny = z.object({\n type: z.enum([\"video\", \"channel\", \"playlist\"]).describe(\"Type of resource to search for. If not specified, returns all types. Options: 'video', 'channel', 'playlist'.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of results to return. Default is 10, max is 5000. Note: Uses 1 credit per page (~20 results).\").optional(),\n query: z.string().describe(\"The search query term to search on YouTube. Examples: 'python tutorial', 'cooking recipes', 'music videos'.\"),\n}).describe(\"Request parameters for SUPADATA_SEARCH_YOUTUBE. Search YouTube for videos, channels, or playlists.\");\nexport const SupadataSearchYoutubeOutput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"The search query that was executed.\"),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of search results. Each result can be a video, playlist, or channel with type-specific fields. Videos have: type, id, title, description, thumbnail, duration (seconds), viewCount, uploadDate, channel. Playlists have: type, id, title, thumbnail, videoCount, channel. Channels have: type, id, title, handle, thumbnail, subscriberCount, videoCount.\"),\n totalResults: z.number().int().describe(\"Total number of results matching the query.\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token to retrieve the next page of results for pagination.\").nullable().optional(),\n}).describe(\"Response schema for SUPADATA_SEARCH_YOUTUBE. Contains the search query and results.\");\n\nexport const supadataSearchYoutube = action(\"SUPADATA_SEARCH_YOUTUBE\", {\n slug: \"supadata-search-youtube\",\n name: \"Search YouTube\",\n description: \"Search YouTube for videos, channels, or playlists by keyword. Returns matching content with metadata like titles, thumbnails, view counts, and channel information.\",\n input: SupadataSearchYoutubeInput,\n output: SupadataSearchYoutubeOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,KAAK;GAAC;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAClL,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACtK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,CAAC,CAAC,CAAC,SAAS,oGAYH;CACP,QAZuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gWAAgW;EAC7Z,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const supadata = defineApp({\n slug: \"supadata\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const supadata = defineApp({\n slug: \"supadata\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const supadataCatalog = {
|
|
4
|
+
"slug": "supadata",
|
|
5
|
+
"name": "Supadata",
|
|
6
|
+
"description": "Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.",
|
|
7
|
+
"category": "AI Web Scraping",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/supadata",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.supadataCatalog = supadataCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const supadataCatalog = {\n \"slug\": \"supadata\",\n \"name\": \"Supadata\",\n \"description\": \"Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/supadata\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const supadataCatalog: {
|
|
4
|
+
readonly slug: "supadata";
|
|
5
|
+
readonly name: "Supadata";
|
|
6
|
+
readonly description: "Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.";
|
|
7
|
+
readonly category: "AI Web Scraping";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/supadata";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { supadataCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const supadataCatalog: {
|
|
4
|
+
readonly slug: "supadata";
|
|
5
|
+
readonly name: "Supadata";
|
|
6
|
+
readonly description: "Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.";
|
|
7
|
+
readonly category: "AI Web Scraping";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/supadata";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { supadataCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const supadataCatalog = {
|
|
4
|
+
"slug": "supadata",
|
|
5
|
+
"name": "Supadata",
|
|
6
|
+
"description": "Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.",
|
|
7
|
+
"category": "AI Web Scraping",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/supadata",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { supadataCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const supadataCatalog = {\n \"slug\": \"supadata\",\n \"name\": \"Supadata\",\n \"description\": \"Supadata is a web and video-to-text API that extracts transcripts from YouTube, TikTok, Instagram, Facebook, X (Twitter) and video files, retrieves social media metadata, and converts web content to markdown for AI training and content analysis.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/supadata\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "supadata";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSupadataTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSupadataTool = executeSupadataTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"supadata\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSupadataTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "supadata";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSupadataTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSupadataTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"supadata\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSupadataTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_get_me = require("./actions/get-me.cjs");
|
|
5
|
+
const require_get_transcript = require("./actions/get-transcript.cjs");
|
|
6
|
+
const require_get_transcript_by_job_id = require("./actions/get-transcript-by-job-id.cjs");
|
|
7
|
+
const require_get_web_map = require("./actions/get-web-map.cjs");
|
|
8
|
+
const require_get_web_scrape = require("./actions/get-web-scrape.cjs");
|
|
9
|
+
const require_get_youtube_channel = require("./actions/get-youtube-channel.cjs");
|
|
10
|
+
const require_get_youtube_channel_videos = require("./actions/get-youtube-channel-videos.cjs");
|
|
11
|
+
const require_get_youtube_playlist = require("./actions/get-youtube-playlist.cjs");
|
|
12
|
+
const require_get_youtube_playlist_videos = require("./actions/get-youtube-playlist-videos.cjs");
|
|
13
|
+
const require_get_youtube_video = require("./actions/get-youtube-video.cjs");
|
|
14
|
+
const require_search_youtube = require("./actions/search-youtube.cjs");
|
|
15
|
+
require("./actions/index.cjs");
|
|
16
|
+
exports.supadata = require_app.supadata;
|
|
17
|
+
exports.supadataCatalog = require_catalog.supadataCatalog;
|
|
18
|
+
exports.supadataGetMe = require_get_me.supadataGetMe;
|
|
19
|
+
exports.supadataGetTranscript = require_get_transcript.supadataGetTranscript;
|
|
20
|
+
exports.supadataGetTranscriptByJobId = require_get_transcript_by_job_id.supadataGetTranscriptByJobId;
|
|
21
|
+
exports.supadataGetWebMap = require_get_web_map.supadataGetWebMap;
|
|
22
|
+
exports.supadataGetWebScrape = require_get_web_scrape.supadataGetWebScrape;
|
|
23
|
+
exports.supadataGetYoutubeChannel = require_get_youtube_channel.supadataGetYoutubeChannel;
|
|
24
|
+
exports.supadataGetYoutubeChannelVideos = require_get_youtube_channel_videos.supadataGetYoutubeChannelVideos;
|
|
25
|
+
exports.supadataGetYoutubePlaylist = require_get_youtube_playlist.supadataGetYoutubePlaylist;
|
|
26
|
+
exports.supadataGetYoutubePlaylistVideos = require_get_youtube_playlist_videos.supadataGetYoutubePlaylistVideos;
|
|
27
|
+
exports.supadataGetYoutubeVideo = require_get_youtube_video.supadataGetYoutubeVideo;
|
|
28
|
+
exports.supadataSearchYoutube = require_search_youtube.supadataSearchYoutube;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { supadataGetMe } from "./actions/get-me.cjs";
|
|
2
|
+
import { supadataGetTranscript } from "./actions/get-transcript.cjs";
|
|
3
|
+
import { supadataGetTranscriptByJobId } from "./actions/get-transcript-by-job-id.cjs";
|
|
4
|
+
import { supadataGetWebMap } from "./actions/get-web-map.cjs";
|
|
5
|
+
import { supadataGetWebScrape } from "./actions/get-web-scrape.cjs";
|
|
6
|
+
import { supadataGetYoutubeChannel } from "./actions/get-youtube-channel.cjs";
|
|
7
|
+
import { supadataGetYoutubeChannelVideos } from "./actions/get-youtube-channel-videos.cjs";
|
|
8
|
+
import { supadataGetYoutubePlaylist } from "./actions/get-youtube-playlist.cjs";
|
|
9
|
+
import { supadataGetYoutubePlaylistVideos } from "./actions/get-youtube-playlist-videos.cjs";
|
|
10
|
+
import { supadataGetYoutubeVideo } from "./actions/get-youtube-video.cjs";
|
|
11
|
+
import { supadataSearchYoutube } from "./actions/search-youtube.cjs";
|
|
12
|
+
import { supadata } from "./app.cjs";
|
|
13
|
+
import { supadataCatalog } from "./catalog.cjs";
|
|
14
|
+
export { supadata, supadataCatalog, supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { supadataGetMe } from "./actions/get-me.mjs";
|
|
2
|
+
import { supadataGetTranscript } from "./actions/get-transcript.mjs";
|
|
3
|
+
import { supadataGetTranscriptByJobId } from "./actions/get-transcript-by-job-id.mjs";
|
|
4
|
+
import { supadataGetWebMap } from "./actions/get-web-map.mjs";
|
|
5
|
+
import { supadataGetWebScrape } from "./actions/get-web-scrape.mjs";
|
|
6
|
+
import { supadataGetYoutubeChannel } from "./actions/get-youtube-channel.mjs";
|
|
7
|
+
import { supadataGetYoutubeChannelVideos } from "./actions/get-youtube-channel-videos.mjs";
|
|
8
|
+
import { supadataGetYoutubePlaylist } from "./actions/get-youtube-playlist.mjs";
|
|
9
|
+
import { supadataGetYoutubePlaylistVideos } from "./actions/get-youtube-playlist-videos.mjs";
|
|
10
|
+
import { supadataGetYoutubeVideo } from "./actions/get-youtube-video.mjs";
|
|
11
|
+
import { supadataSearchYoutube } from "./actions/search-youtube.mjs";
|
|
12
|
+
import { supadata } from "./app.mjs";
|
|
13
|
+
import { supadataCatalog } from "./catalog.mjs";
|
|
14
|
+
export { supadata, supadataCatalog, supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { supadata } from "./app.mjs";
|
|
2
|
+
import { supadataCatalog } from "./catalog.mjs";
|
|
3
|
+
import { supadataGetMe } from "./actions/get-me.mjs";
|
|
4
|
+
import { supadataGetTranscript } from "./actions/get-transcript.mjs";
|
|
5
|
+
import { supadataGetTranscriptByJobId } from "./actions/get-transcript-by-job-id.mjs";
|
|
6
|
+
import { supadataGetWebMap } from "./actions/get-web-map.mjs";
|
|
7
|
+
import { supadataGetWebScrape } from "./actions/get-web-scrape.mjs";
|
|
8
|
+
import { supadataGetYoutubeChannel } from "./actions/get-youtube-channel.mjs";
|
|
9
|
+
import { supadataGetYoutubeChannelVideos } from "./actions/get-youtube-channel-videos.mjs";
|
|
10
|
+
import { supadataGetYoutubePlaylist } from "./actions/get-youtube-playlist.mjs";
|
|
11
|
+
import { supadataGetYoutubePlaylistVideos } from "./actions/get-youtube-playlist-videos.mjs";
|
|
12
|
+
import { supadataGetYoutubeVideo } from "./actions/get-youtube-video.mjs";
|
|
13
|
+
import { supadataSearchYoutube } from "./actions/search-youtube.mjs";
|
|
14
|
+
import "./actions/index.mjs";
|
|
15
|
+
export { supadata, supadataCatalog, supadataGetMe, supadataGetTranscript, supadataGetTranscriptByJobId, supadataGetWebMap, supadataGetWebScrape, supadataGetYoutubeChannel, supadataGetYoutubeChannelVideos, supadataGetYoutubePlaylist, supadataGetYoutubePlaylistVideos, supadataGetYoutubeVideo, supadataSearchYoutube };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/supadata",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/supadata"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|