@keystrokehq/pexels 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/collection-media.cjs +76 -0
- package/dist/actions/collection-media.cjs.map +1 -0
- package/dist/actions/collection-media.d.cts +9 -0
- package/dist/actions/collection-media.d.cts.map +1 -0
- package/dist/actions/collection-media.d.mts +9 -0
- package/dist/actions/collection-media.d.mts.map +1 -0
- package/dist/actions/collection-media.mjs +75 -0
- package/dist/actions/collection-media.mjs.map +1 -0
- package/dist/actions/curated-photos.cjs +48 -0
- package/dist/actions/curated-photos.cjs.map +1 -0
- package/dist/actions/curated-photos.d.cts +9 -0
- package/dist/actions/curated-photos.d.cts.map +1 -0
- package/dist/actions/curated-photos.d.mts +9 -0
- package/dist/actions/curated-photos.d.mts.map +1 -0
- package/dist/actions/curated-photos.mjs +47 -0
- package/dist/actions/curated-photos.mjs.map +1 -0
- package/dist/actions/featured-collections.cjs +35 -0
- package/dist/actions/featured-collections.cjs.map +1 -0
- package/dist/actions/featured-collections.d.cts +9 -0
- package/dist/actions/featured-collections.d.cts.map +1 -0
- package/dist/actions/featured-collections.d.mts +9 -0
- package/dist/actions/featured-collections.d.mts.map +1 -0
- package/dist/actions/featured-collections.mjs +34 -0
- package/dist/actions/featured-collections.mjs.map +1 -0
- package/dist/actions/get-photo.cjs +38 -0
- package/dist/actions/get-photo.cjs.map +1 -0
- package/dist/actions/get-photo.d.cts +9 -0
- package/dist/actions/get-photo.d.cts.map +1 -0
- package/dist/actions/get-photo.d.mts +9 -0
- package/dist/actions/get-photo.d.mts.map +1 -0
- package/dist/actions/get-photo.mjs +37 -0
- package/dist/actions/get-photo.mjs.map +1 -0
- package/dist/actions/get-video-by-id.cjs +46 -0
- package/dist/actions/get-video-by-id.cjs.map +1 -0
- package/dist/actions/get-video-by-id.d.cts +9 -0
- package/dist/actions/get-video-by-id.d.cts.map +1 -0
- package/dist/actions/get-video-by-id.d.mts +9 -0
- package/dist/actions/get-video-by-id.d.mts.map +1 -0
- package/dist/actions/get-video-by-id.mjs +45 -0
- package/dist/actions/get-video-by-id.mjs.map +1 -0
- package/dist/actions/index.cjs +19 -0
- package/dist/actions/index.d.cts +10 -0
- package/dist/actions/index.d.mts +10 -0
- package/dist/actions/index.mjs +10 -0
- package/dist/actions/my-collections.cjs +33 -0
- package/dist/actions/my-collections.cjs.map +1 -0
- package/dist/actions/my-collections.d.cts +9 -0
- package/dist/actions/my-collections.d.cts.map +1 -0
- package/dist/actions/my-collections.d.mts +9 -0
- package/dist/actions/my-collections.d.mts.map +1 -0
- package/dist/actions/my-collections.mjs +32 -0
- package/dist/actions/my-collections.mjs.map +1 -0
- package/dist/actions/popular-videos.cjs +58 -0
- package/dist/actions/popular-videos.cjs.map +1 -0
- package/dist/actions/popular-videos.d.cts +9 -0
- package/dist/actions/popular-videos.d.cts.map +1 -0
- package/dist/actions/popular-videos.d.mts +9 -0
- package/dist/actions/popular-videos.d.mts.map +1 -0
- package/dist/actions/popular-videos.mjs +57 -0
- package/dist/actions/popular-videos.mjs.map +1 -0
- package/dist/actions/search-photos.cjs +62 -0
- package/dist/actions/search-photos.cjs.map +1 -0
- package/dist/actions/search-photos.d.cts +9 -0
- package/dist/actions/search-photos.d.cts.map +1 -0
- package/dist/actions/search-photos.d.mts +9 -0
- package/dist/actions/search-photos.d.mts.map +1 -0
- package/dist/actions/search-photos.mjs +61 -0
- package/dist/actions/search-photos.mjs.map +1 -0
- package/dist/actions/search-videos.cjs +69 -0
- package/dist/actions/search-videos.cjs.map +1 -0
- package/dist/actions/search-videos.d.cts +9 -0
- package/dist/actions/search-videos.d.cts.map +1 -0
- package/dist/actions/search-videos.d.mts +9 -0
- package/dist/actions/search-videos.d.mts.map +1 -0
- package/dist/actions/search-videos.mjs +68 -0
- package/dist/actions/search-videos.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 +24 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.mjs +13 -0
- package/package.json +49 -0
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 = "pexels";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePexelsTool(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.executePexelsTool = executePexelsTool;
|
|
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 = \"pexels\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePexelsTool(\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,kBACpB,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 = "pexels";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePexelsTool(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 { executePexelsTool };
|
|
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 = \"pexels\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePexelsTool(\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,kBACpB,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,24 @@
|
|
|
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_collection_media = require("./actions/collection-media.cjs");
|
|
5
|
+
const require_curated_photos = require("./actions/curated-photos.cjs");
|
|
6
|
+
const require_featured_collections = require("./actions/featured-collections.cjs");
|
|
7
|
+
const require_get_photo = require("./actions/get-photo.cjs");
|
|
8
|
+
const require_get_video_by_id = require("./actions/get-video-by-id.cjs");
|
|
9
|
+
const require_my_collections = require("./actions/my-collections.cjs");
|
|
10
|
+
const require_popular_videos = require("./actions/popular-videos.cjs");
|
|
11
|
+
const require_search_photos = require("./actions/search-photos.cjs");
|
|
12
|
+
const require_search_videos = require("./actions/search-videos.cjs");
|
|
13
|
+
require("./actions/index.cjs");
|
|
14
|
+
exports.pexels = require_app.pexels;
|
|
15
|
+
exports.pexelsCatalog = require_catalog.pexelsCatalog;
|
|
16
|
+
exports.pexelsCollectionMedia = require_collection_media.pexelsCollectionMedia;
|
|
17
|
+
exports.pexelsCuratedPhotos = require_curated_photos.pexelsCuratedPhotos;
|
|
18
|
+
exports.pexelsFeaturedCollections = require_featured_collections.pexelsFeaturedCollections;
|
|
19
|
+
exports.pexelsGetPhoto = require_get_photo.pexelsGetPhoto;
|
|
20
|
+
exports.pexelsGetVideoById = require_get_video_by_id.pexelsGetVideoById;
|
|
21
|
+
exports.pexelsMyCollections = require_my_collections.pexelsMyCollections;
|
|
22
|
+
exports.pexelsPopularVideos = require_popular_videos.pexelsPopularVideos;
|
|
23
|
+
exports.pexelsSearchPhotos = require_search_photos.pexelsSearchPhotos;
|
|
24
|
+
exports.pexelsSearchVideos = require_search_videos.pexelsSearchVideos;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { pexelsCollectionMedia } from "./actions/collection-media.cjs";
|
|
2
|
+
import { pexelsCuratedPhotos } from "./actions/curated-photos.cjs";
|
|
3
|
+
import { pexelsFeaturedCollections } from "./actions/featured-collections.cjs";
|
|
4
|
+
import { pexelsGetPhoto } from "./actions/get-photo.cjs";
|
|
5
|
+
import { pexelsGetVideoById } from "./actions/get-video-by-id.cjs";
|
|
6
|
+
import { pexelsMyCollections } from "./actions/my-collections.cjs";
|
|
7
|
+
import { pexelsPopularVideos } from "./actions/popular-videos.cjs";
|
|
8
|
+
import { pexelsSearchPhotos } from "./actions/search-photos.cjs";
|
|
9
|
+
import { pexelsSearchVideos } from "./actions/search-videos.cjs";
|
|
10
|
+
import { pexels } from "./app.cjs";
|
|
11
|
+
import { pexelsCatalog } from "./catalog.cjs";
|
|
12
|
+
export { pexels, pexelsCatalog, pexelsCollectionMedia, pexelsCuratedPhotos, pexelsFeaturedCollections, pexelsGetPhoto, pexelsGetVideoById, pexelsMyCollections, pexelsPopularVideos, pexelsSearchPhotos, pexelsSearchVideos };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { pexelsCollectionMedia } from "./actions/collection-media.mjs";
|
|
2
|
+
import { pexelsCuratedPhotos } from "./actions/curated-photos.mjs";
|
|
3
|
+
import { pexelsFeaturedCollections } from "./actions/featured-collections.mjs";
|
|
4
|
+
import { pexelsGetPhoto } from "./actions/get-photo.mjs";
|
|
5
|
+
import { pexelsGetVideoById } from "./actions/get-video-by-id.mjs";
|
|
6
|
+
import { pexelsMyCollections } from "./actions/my-collections.mjs";
|
|
7
|
+
import { pexelsPopularVideos } from "./actions/popular-videos.mjs";
|
|
8
|
+
import { pexelsSearchPhotos } from "./actions/search-photos.mjs";
|
|
9
|
+
import { pexelsSearchVideos } from "./actions/search-videos.mjs";
|
|
10
|
+
import { pexels } from "./app.mjs";
|
|
11
|
+
import { pexelsCatalog } from "./catalog.mjs";
|
|
12
|
+
export { pexels, pexelsCatalog, pexelsCollectionMedia, pexelsCuratedPhotos, pexelsFeaturedCollections, pexelsGetPhoto, pexelsGetVideoById, pexelsMyCollections, pexelsPopularVideos, pexelsSearchPhotos, pexelsSearchVideos };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { pexels } from "./app.mjs";
|
|
2
|
+
import { pexelsCatalog } from "./catalog.mjs";
|
|
3
|
+
import { pexelsCollectionMedia } from "./actions/collection-media.mjs";
|
|
4
|
+
import { pexelsCuratedPhotos } from "./actions/curated-photos.mjs";
|
|
5
|
+
import { pexelsFeaturedCollections } from "./actions/featured-collections.mjs";
|
|
6
|
+
import { pexelsGetPhoto } from "./actions/get-photo.mjs";
|
|
7
|
+
import { pexelsGetVideoById } from "./actions/get-video-by-id.mjs";
|
|
8
|
+
import { pexelsMyCollections } from "./actions/my-collections.mjs";
|
|
9
|
+
import { pexelsPopularVideos } from "./actions/popular-videos.mjs";
|
|
10
|
+
import { pexelsSearchPhotos } from "./actions/search-photos.mjs";
|
|
11
|
+
import { pexelsSearchVideos } from "./actions/search-videos.mjs";
|
|
12
|
+
import "./actions/index.mjs";
|
|
13
|
+
export { pexels, pexelsCatalog, pexelsCollectionMedia, pexelsCuratedPhotos, pexelsFeaturedCollections, pexelsGetPhoto, pexelsGetVideoById, pexelsMyCollections, pexelsPopularVideos, pexelsSearchPhotos, pexelsSearchVideos };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/pexels",
|
|
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/pexels"
|
|
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
|
+
}
|