@keystrokehq/rawg_video_games_database 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/creator-roles-list.cjs +29 -0
- package/dist/actions/creator-roles-list.cjs.map +1 -0
- package/dist/actions/creator-roles-list.d.cts +9 -0
- package/dist/actions/creator-roles-list.d.cts.map +1 -0
- package/dist/actions/creator-roles-list.d.mts +9 -0
- package/dist/actions/creator-roles-list.d.mts.map +1 -0
- package/dist/actions/creator-roles-list.mjs +28 -0
- package/dist/actions/creator-roles-list.mjs.map +1 -0
- package/dist/actions/creators-list.cjs +32 -0
- package/dist/actions/creators-list.cjs.map +1 -0
- package/dist/actions/creators-list.d.cts +9 -0
- package/dist/actions/creators-list.d.cts.map +1 -0
- package/dist/actions/creators-list.d.mts +9 -0
- package/dist/actions/creators-list.d.mts.map +1 -0
- package/dist/actions/creators-list.mjs +31 -0
- package/dist/actions/creators-list.mjs.map +1 -0
- package/dist/actions/creators-read.cjs +28 -0
- package/dist/actions/creators-read.cjs.map +1 -0
- package/dist/actions/creators-read.d.cts +9 -0
- package/dist/actions/creators-read.d.cts.map +1 -0
- package/dist/actions/creators-read.d.mts +9 -0
- package/dist/actions/creators-read.d.mts.map +1 -0
- package/dist/actions/creators-read.mjs +25 -0
- package/dist/actions/creators-read.mjs.map +1 -0
- package/dist/actions/developers-list.cjs +31 -0
- package/dist/actions/developers-list.cjs.map +1 -0
- package/dist/actions/developers-list.d.cts +9 -0
- package/dist/actions/developers-list.d.cts.map +1 -0
- package/dist/actions/developers-list.d.mts +9 -0
- package/dist/actions/developers-list.d.mts.map +1 -0
- package/dist/actions/developers-list.mjs +30 -0
- package/dist/actions/developers-list.mjs.map +1 -0
- package/dist/actions/developers-read.cjs +23 -0
- package/dist/actions/developers-read.cjs.map +1 -0
- package/dist/actions/developers-read.d.cts +9 -0
- package/dist/actions/developers-read.d.cts.map +1 -0
- package/dist/actions/developers-read.d.mts +9 -0
- package/dist/actions/developers-read.d.mts.map +1 -0
- package/dist/actions/developers-read.mjs +20 -0
- package/dist/actions/developers-read.mjs.map +1 -0
- package/dist/actions/games-achievements-read.cjs +32 -0
- package/dist/actions/games-achievements-read.cjs.map +1 -0
- package/dist/actions/games-achievements-read.d.cts +9 -0
- package/dist/actions/games-achievements-read.d.cts.map +1 -0
- package/dist/actions/games-achievements-read.d.mts +9 -0
- package/dist/actions/games-achievements-read.d.mts.map +1 -0
- package/dist/actions/games-achievements-read.mjs +31 -0
- package/dist/actions/games-achievements-read.mjs.map +1 -0
- package/dist/actions/games-additions-list.cjs +113 -0
- package/dist/actions/games-additions-list.cjs.map +1 -0
- package/dist/actions/games-additions-list.d.cts +9 -0
- package/dist/actions/games-additions-list.d.cts.map +1 -0
- package/dist/actions/games-additions-list.d.mts +9 -0
- package/dist/actions/games-additions-list.d.mts.map +1 -0
- package/dist/actions/games-additions-list.mjs +112 -0
- package/dist/actions/games-additions-list.mjs.map +1 -0
- package/dist/actions/games-development-team-list.cjs +34 -0
- package/dist/actions/games-development-team-list.cjs.map +1 -0
- package/dist/actions/games-development-team-list.d.cts +9 -0
- package/dist/actions/games-development-team-list.d.cts.map +1 -0
- package/dist/actions/games-development-team-list.d.mts +9 -0
- package/dist/actions/games-development-team-list.d.mts.map +1 -0
- package/dist/actions/games-development-team-list.mjs +33 -0
- package/dist/actions/games-development-team-list.mjs.map +1 -0
- package/dist/actions/games-game-series-list.cjs +130 -0
- package/dist/actions/games-game-series-list.cjs.map +1 -0
- package/dist/actions/games-game-series-list.d.cts +9 -0
- package/dist/actions/games-game-series-list.d.cts.map +1 -0
- package/dist/actions/games-game-series-list.d.mts +9 -0
- package/dist/actions/games-game-series-list.d.mts.map +1 -0
- package/dist/actions/games-game-series-list.mjs +129 -0
- package/dist/actions/games-game-series-list.mjs.map +1 -0
- package/dist/actions/games-list.cjs +140 -0
- package/dist/actions/games-list.cjs.map +1 -0
- package/dist/actions/games-list.d.cts +9 -0
- package/dist/actions/games-list.d.cts.map +1 -0
- package/dist/actions/games-list.d.mts +9 -0
- package/dist/actions/games-list.d.mts.map +1 -0
- package/dist/actions/games-list.mjs +139 -0
- package/dist/actions/games-list.mjs.map +1 -0
- package/dist/actions/games-movies-read.cjs +31 -0
- package/dist/actions/games-movies-read.cjs.map +1 -0
- package/dist/actions/games-movies-read.d.cts +9 -0
- package/dist/actions/games-movies-read.d.cts.map +1 -0
- package/dist/actions/games-movies-read.d.mts +9 -0
- package/dist/actions/games-movies-read.d.mts.map +1 -0
- package/dist/actions/games-movies-read.mjs +30 -0
- package/dist/actions/games-movies-read.mjs.map +1 -0
- package/dist/actions/games-parent-games-list.cjs +117 -0
- package/dist/actions/games-parent-games-list.cjs.map +1 -0
- package/dist/actions/games-parent-games-list.d.cts +9 -0
- package/dist/actions/games-parent-games-list.d.cts.map +1 -0
- package/dist/actions/games-parent-games-list.d.mts +9 -0
- package/dist/actions/games-parent-games-list.d.mts.map +1 -0
- package/dist/actions/games-parent-games-list.mjs +116 -0
- package/dist/actions/games-parent-games-list.mjs.map +1 -0
- package/dist/actions/games-read.cjs +96 -0
- package/dist/actions/games-read.cjs.map +1 -0
- package/dist/actions/games-read.d.cts +9 -0
- package/dist/actions/games-read.d.cts.map +1 -0
- package/dist/actions/games-read.d.mts +9 -0
- package/dist/actions/games-read.d.mts.map +1 -0
- package/dist/actions/games-read.mjs +95 -0
- package/dist/actions/games-read.mjs.map +1 -0
- package/dist/actions/games-reddit-read.cjs +31 -0
- package/dist/actions/games-reddit-read.cjs.map +1 -0
- package/dist/actions/games-reddit-read.d.cts +9 -0
- package/dist/actions/games-reddit-read.d.cts.map +1 -0
- package/dist/actions/games-reddit-read.d.mts +9 -0
- package/dist/actions/games-reddit-read.d.mts.map +1 -0
- package/dist/actions/games-reddit-read.mjs +30 -0
- package/dist/actions/games-reddit-read.mjs.map +1 -0
- package/dist/actions/games-screenshots-list.cjs +33 -0
- package/dist/actions/games-screenshots-list.cjs.map +1 -0
- package/dist/actions/games-screenshots-list.d.cts +9 -0
- package/dist/actions/games-screenshots-list.d.cts.map +1 -0
- package/dist/actions/games-screenshots-list.d.mts +9 -0
- package/dist/actions/games-screenshots-list.d.mts.map +1 -0
- package/dist/actions/games-screenshots-list.mjs +32 -0
- package/dist/actions/games-screenshots-list.mjs.map +1 -0
- package/dist/actions/games-stores-list.cjs +41 -0
- package/dist/actions/games-stores-list.cjs.map +1 -0
- package/dist/actions/games-stores-list.d.cts +9 -0
- package/dist/actions/games-stores-list.d.cts.map +1 -0
- package/dist/actions/games-stores-list.d.mts +9 -0
- package/dist/actions/games-stores-list.d.mts.map +1 -0
- package/dist/actions/games-stores-list.mjs +40 -0
- package/dist/actions/games-stores-list.mjs.map +1 -0
- package/dist/actions/genres-list.cjs +32 -0
- package/dist/actions/genres-list.cjs.map +1 -0
- package/dist/actions/genres-list.d.cts +9 -0
- package/dist/actions/genres-list.d.cts.map +1 -0
- package/dist/actions/genres-list.d.mts +9 -0
- package/dist/actions/genres-list.d.mts.map +1 -0
- package/dist/actions/genres-list.mjs +31 -0
- package/dist/actions/genres-list.mjs.map +1 -0
- package/dist/actions/genres-read.cjs +23 -0
- package/dist/actions/genres-read.cjs.map +1 -0
- package/dist/actions/genres-read.d.cts +9 -0
- package/dist/actions/genres-read.d.cts.map +1 -0
- package/dist/actions/genres-read.d.mts +9 -0
- package/dist/actions/genres-read.d.mts.map +1 -0
- package/dist/actions/genres-read.mjs +20 -0
- package/dist/actions/genres-read.mjs.map +1 -0
- package/dist/actions/index.cjs +55 -0
- package/dist/actions/index.d.cts +28 -0
- package/dist/actions/index.d.mts +28 -0
- package/dist/actions/index.mjs +28 -0
- package/dist/actions/platforms-list.cjs +35 -0
- package/dist/actions/platforms-list.cjs.map +1 -0
- package/dist/actions/platforms-list.d.cts +9 -0
- package/dist/actions/platforms-list.d.cts.map +1 -0
- package/dist/actions/platforms-list.d.mts +9 -0
- package/dist/actions/platforms-list.d.mts.map +1 -0
- package/dist/actions/platforms-list.mjs +34 -0
- package/dist/actions/platforms-list.mjs.map +1 -0
- package/dist/actions/platforms-lists-parents-list.cjs +36 -0
- package/dist/actions/platforms-lists-parents-list.cjs.map +1 -0
- package/dist/actions/platforms-lists-parents-list.d.cts +9 -0
- package/dist/actions/platforms-lists-parents-list.d.cts.map +1 -0
- package/dist/actions/platforms-lists-parents-list.d.mts +9 -0
- package/dist/actions/platforms-lists-parents-list.d.mts.map +1 -0
- package/dist/actions/platforms-lists-parents-list.mjs +35 -0
- package/dist/actions/platforms-lists-parents-list.mjs.map +1 -0
- package/dist/actions/platforms-read.cjs +26 -0
- package/dist/actions/platforms-read.cjs.map +1 -0
- package/dist/actions/platforms-read.d.cts +9 -0
- package/dist/actions/platforms-read.d.cts.map +1 -0
- package/dist/actions/platforms-read.d.mts +9 -0
- package/dist/actions/platforms-read.d.mts.map +1 -0
- package/dist/actions/platforms-read.mjs +23 -0
- package/dist/actions/platforms-read.mjs.map +1 -0
- package/dist/actions/publishers-list.cjs +31 -0
- package/dist/actions/publishers-list.cjs.map +1 -0
- package/dist/actions/publishers-list.d.cts +9 -0
- package/dist/actions/publishers-list.d.cts.map +1 -0
- package/dist/actions/publishers-list.d.mts +9 -0
- package/dist/actions/publishers-list.d.mts.map +1 -0
- package/dist/actions/publishers-list.mjs +30 -0
- package/dist/actions/publishers-list.mjs.map +1 -0
- package/dist/actions/publishers-read.cjs +23 -0
- package/dist/actions/publishers-read.cjs.map +1 -0
- package/dist/actions/publishers-read.d.cts +9 -0
- package/dist/actions/publishers-read.d.cts.map +1 -0
- package/dist/actions/publishers-read.d.mts +9 -0
- package/dist/actions/publishers-read.d.mts.map +1 -0
- package/dist/actions/publishers-read.mjs +20 -0
- package/dist/actions/publishers-read.mjs.map +1 -0
- package/dist/actions/stores-list.cjs +33 -0
- package/dist/actions/stores-list.cjs.map +1 -0
- package/dist/actions/stores-list.d.cts +9 -0
- package/dist/actions/stores-list.d.cts.map +1 -0
- package/dist/actions/stores-list.d.mts +9 -0
- package/dist/actions/stores-list.d.mts.map +1 -0
- package/dist/actions/stores-list.mjs +32 -0
- package/dist/actions/stores-list.mjs.map +1 -0
- package/dist/actions/stores-read.cjs +24 -0
- package/dist/actions/stores-read.cjs.map +1 -0
- package/dist/actions/stores-read.d.cts +9 -0
- package/dist/actions/stores-read.d.cts.map +1 -0
- package/dist/actions/stores-read.d.mts +9 -0
- package/dist/actions/stores-read.d.mts.map +1 -0
- package/dist/actions/stores-read.mjs +21 -0
- package/dist/actions/stores-read.mjs.map +1 -0
- package/dist/actions/tags-list.cjs +32 -0
- package/dist/actions/tags-list.cjs.map +1 -0
- package/dist/actions/tags-list.d.cts +9 -0
- package/dist/actions/tags-list.d.cts.map +1 -0
- package/dist/actions/tags-list.d.mts +9 -0
- package/dist/actions/tags-list.d.mts.map +1 -0
- package/dist/actions/tags-list.mjs +31 -0
- package/dist/actions/tags-list.mjs.map +1 -0
- package/dist/actions/tags-read.cjs +23 -0
- package/dist/actions/tags-read.cjs.map +1 -0
- package/dist/actions/tags-read.d.cts +9 -0
- package/dist/actions/tags-read.d.cts.map +1 -0
- package/dist/actions/tags-read.d.mts +9 -0
- package/dist/actions/tags-read.d.mts.map +1 -0
- package/dist/actions/tags-read.mjs +20 -0
- package/dist/actions/tags-read.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 +60 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.mts +30 -0
- package/dist/index.mjs +31 -0
- package/package.json +49 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rawgVideoGamesDatabaseDevelopersRead = action("RAWG_VIDEO_GAMES_DATABASE_DEVELOPERS_READ", {
|
|
4
|
+
slug: "rawg_video_games_database-developers-read",
|
|
5
|
+
name: "Get Developer Details",
|
|
6
|
+
description: "Tool to get details of a specific developer from the RAWG database. Use when you need to retrieve information about a game developer by their unique ID.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("A unique integer value identifying this Developer.") }).describe("Request model for retrieving details of a specific developer."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier for the developer."),
|
|
10
|
+
name: z.string().describe("Developer name."),
|
|
11
|
+
slug: z.string().describe("URL-friendly identifier for the developer."),
|
|
12
|
+
description: z.string().describe("Detailed description about the developer.").nullable().optional(),
|
|
13
|
+
games_count: z.number().int().describe("Count of games developed by this developer."),
|
|
14
|
+
image_background: z.string().describe("Background image URL for the developer.").nullable().optional()
|
|
15
|
+
}).describe("Response model for developer details.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { rawgVideoGamesDatabaseDevelopersRead };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=developers-read.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developers-read.mjs","names":[],"sources":["../../src/actions/developers-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseDevelopersReadInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"A unique integer value identifying this Developer.\"),\n}).describe(\"Request model for retrieving details of a specific developer.\");\nexport const RawgVideoGamesDatabaseDevelopersReadOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the developer.\"),\n name: z.string().describe(\"Developer name.\"),\n slug: z.string().describe(\"URL-friendly identifier for the developer.\"),\n description: z.string().describe(\"Detailed description about the developer.\").nullable().optional(),\n games_count: z.number().int().describe(\"Count of games developed by this developer.\"),\n image_background: z.string().describe(\"Background image URL for the developer.\").nullable().optional(),\n}).describe(\"Response model for developer details.\");\n\nexport const rawgVideoGamesDatabaseDevelopersRead = action(\"RAWG_VIDEO_GAMES_DATABASE_DEVELOPERS_READ\", {\n slug: \"rawg_video_games_database-developers-read\",\n name: \"Get Developer Details\",\n description: \"Tool to get details of a specific developer from the RAWG database. Use when you need to retrieve information about a game developer by their unique ID.\",\n input: RawgVideoGamesDatabaseDevelopersReadInput,\n output: RawgVideoGamesDatabaseDevelopersReadOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqE,EAAE,OAAO,EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,+DAcH;CACP,QAdsE,EAAE,OAAO;EAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/games-achievements-read.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesAchievementsReadInput = zod.z.object({
|
|
5
|
+
id: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
6
|
+
page: zod.z.number().int().describe("A page number within the paginated result set. Must be >= 1.").optional(),
|
|
7
|
+
page_size: zod.z.number().int().describe("Number of results to return per page. Must be >= 1, maximum is 40.").optional()
|
|
8
|
+
}).describe("Request model for retrieving game achievements with optional pagination.");
|
|
9
|
+
const RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema = zod.z.object({
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier for the achievement.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Achievement name.").nullable().optional(),
|
|
12
|
+
image: zod.z.string().describe("URL to achievement image.").nullable().optional(),
|
|
13
|
+
percent: zod.z.string().describe("Completion percentage for the achievement.").nullable().optional(),
|
|
14
|
+
description: zod.z.string().describe("Achievement description.").nullable().optional()
|
|
15
|
+
}).describe("Model representing a single achievement object.");
|
|
16
|
+
const RawgVideoGamesDatabaseGamesAchievementsReadOutput = zod.z.object({
|
|
17
|
+
next: zod.z.string().describe("URL to the next page of results. Null if this is the last page.").nullable().optional(),
|
|
18
|
+
count: zod.z.number().int().describe("Total number of achievements for this game."),
|
|
19
|
+
results: zod.z.array(RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema).describe("Array of achievement objects."),
|
|
20
|
+
previous: zod.z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
21
|
+
}).describe("Response model for listing game achievements. Returns a paginated result.");
|
|
22
|
+
const rawgVideoGamesDatabaseGamesAchievementsRead = require_action.action("RAWG_VIDEO_GAMES_DATABASE_GAMES_ACHIEVEMENTS_READ", {
|
|
23
|
+
slug: "rawg_video_games_database-games-achievements-read",
|
|
24
|
+
name: "Get Game Achievements",
|
|
25
|
+
description: "Tool to get a list of achievements for a specific game. Use when you need to retrieve game achievements with names, descriptions, images, and completion percentages.",
|
|
26
|
+
input: RawgVideoGamesDatabaseGamesAchievementsReadInput,
|
|
27
|
+
output: RawgVideoGamesDatabaseGamesAchievementsReadOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.rawgVideoGamesDatabaseGamesAchievementsRead = rawgVideoGamesDatabaseGamesAchievementsRead;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=games-achievements-read.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-achievements-read.cjs","names":["z","action"],"sources":["../../src/actions/games-achievements-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGamesAchievementsReadInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n page: z.number().int().describe(\"A page number within the paginated result set. Must be >= 1.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Must be >= 1, maximum is 40.\").optional(),\n}).describe(\"Request model for retrieving game achievements with optional pagination.\");\nconst RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the achievement.\").nullable().optional(),\n name: z.string().describe(\"Achievement name.\").nullable().optional(),\n image: z.string().describe(\"URL to achievement image.\").nullable().optional(),\n percent: z.string().describe(\"Completion percentage for the achievement.\").nullable().optional(),\n description: z.string().describe(\"Achievement description.\").nullable().optional(),\n}).describe(\"Model representing a single achievement object.\");\nexport const RawgVideoGamesDatabaseGamesAchievementsReadOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if this is the last page.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of achievements for this game.\"),\n results: z.array(RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema).describe(\"Array of achievement objects.\"),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).describe(\"Response model for listing game achievements. Returns a paginated result.\");\n\nexport const rawgVideoGamesDatabaseGamesAchievementsRead = action(\"RAWG_VIDEO_GAMES_DATABASE_GAMES_ACHIEVEMENTS_READ\", {\n slug: \"rawg_video_games_database-games-achievements-read\",\n name: \"Get Game Achievements\",\n description: \"Tool to get a list of achievements for a specific game. Use when you need to retrieve game achievements with names, descriptions, images, and completion percentages.\",\n input: RawgVideoGamesDatabaseGamesAchievementsReadInput,\n output: RawgVideoGamesDatabaseGamesAchievementsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAiEA,IAAAA,EAAE,OAAO;CACrF,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,oDAAkEA,IAAAA,EAAE,OAAO;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC9E,SAASA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+BAA+B;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,8CAA8CC,eAAAA,OAAO,qDAAqD;CACrH,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/games-achievements-read.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesAchievementsReadInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesAchievementsReadOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesAchievementsRead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesAchievementsRead };
|
|
9
|
+
//# sourceMappingURL=games-achievements-read.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-achievements-read.d.cts","names":[],"sources":["../../src/actions/games-achievements-read.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAIsB;AAAA,cAQ1E,iDAAA,EAAmD,CAAA,CAAE,UAKsB;AAAA,cAE3E,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/games-achievements-read.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesAchievementsReadInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesAchievementsReadOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesAchievementsRead: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesAchievementsRead };
|
|
9
|
+
//# sourceMappingURL=games-achievements-read.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-achievements-read.d.mts","names":[],"sources":["../../src/actions/games-achievements-read.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAIsB;AAAA,cAQ1E,iDAAA,EAAmD,CAAA,CAAE,UAKsB;AAAA,cAE3E,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/games-achievements-read.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesAchievementsReadInput = z.object({
|
|
5
|
+
id: z.union([z.number().int(), z.string()]),
|
|
6
|
+
page: z.number().int().describe("A page number within the paginated result set. Must be >= 1.").optional(),
|
|
7
|
+
page_size: z.number().int().describe("Number of results to return per page. Must be >= 1, maximum is 40.").optional()
|
|
8
|
+
}).describe("Request model for retrieving game achievements with optional pagination.");
|
|
9
|
+
const RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema = z.object({
|
|
10
|
+
id: z.number().int().describe("Unique identifier for the achievement.").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Achievement name.").nullable().optional(),
|
|
12
|
+
image: z.string().describe("URL to achievement image.").nullable().optional(),
|
|
13
|
+
percent: z.string().describe("Completion percentage for the achievement.").nullable().optional(),
|
|
14
|
+
description: z.string().describe("Achievement description.").nullable().optional()
|
|
15
|
+
}).describe("Model representing a single achievement object.");
|
|
16
|
+
const rawgVideoGamesDatabaseGamesAchievementsRead = action("RAWG_VIDEO_GAMES_DATABASE_GAMES_ACHIEVEMENTS_READ", {
|
|
17
|
+
slug: "rawg_video_games_database-games-achievements-read",
|
|
18
|
+
name: "Get Game Achievements",
|
|
19
|
+
description: "Tool to get a list of achievements for a specific game. Use when you need to retrieve game achievements with names, descriptions, images, and completion percentages.",
|
|
20
|
+
input: RawgVideoGamesDatabaseGamesAchievementsReadInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
next: z.string().describe("URL to the next page of results. Null if this is the last page.").nullable().optional(),
|
|
23
|
+
count: z.number().int().describe("Total number of achievements for this game."),
|
|
24
|
+
results: z.array(RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema).describe("Array of achievement objects."),
|
|
25
|
+
previous: z.string().describe("URL to the previous page of results. Null if this is the first page.").nullable().optional()
|
|
26
|
+
}).describe("Response model for listing game achievements. Returns a paginated result.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { rawgVideoGamesDatabaseGamesAchievementsRead };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=games-achievements-read.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-achievements-read.mjs","names":[],"sources":["../../src/actions/games-achievements-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGamesAchievementsReadInput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n page: z.number().int().describe(\"A page number within the paginated result set. Must be >= 1.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Must be >= 1, maximum is 40.\").optional(),\n}).describe(\"Request model for retrieving game achievements with optional pagination.\");\nconst RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the achievement.\").nullable().optional(),\n name: z.string().describe(\"Achievement name.\").nullable().optional(),\n image: z.string().describe(\"URL to achievement image.\").nullable().optional(),\n percent: z.string().describe(\"Completion percentage for the achievement.\").nullable().optional(),\n description: z.string().describe(\"Achievement description.\").nullable().optional(),\n}).describe(\"Model representing a single achievement object.\");\nexport const RawgVideoGamesDatabaseGamesAchievementsReadOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if this is the last page.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of achievements for this game.\"),\n results: z.array(RawgVideoGamesDatabaseGamesAchievementsRead_AchievementSchema).describe(\"Array of achievement objects.\"),\n previous: z.string().describe(\"URL to the previous page of results. Null if this is the first page.\").nullable().optional(),\n}).describe(\"Response model for listing game achievements. Returns a paginated result.\");\n\nexport const rawgVideoGamesDatabaseGamesAchievementsRead = action(\"RAWG_VIDEO_GAMES_DATABASE_GAMES_ACHIEVEMENTS_READ\", {\n slug: \"rawg_video_games_database-games-achievements-read\",\n name: \"Get Game Achievements\",\n description: \"Tool to get a list of achievements for a specific game. Use when you need to retrieve game achievements with names, descriptions, images, and completion percentages.\",\n input: RawgVideoGamesDatabaseGamesAchievementsReadInput,\n output: RawgVideoGamesDatabaseGamesAchievementsReadOutput,\n});\n"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SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/games-additions-list.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesAdditionsListInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("A page number within the paginated result set.").optional(),
|
|
6
|
+
game_pk: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
7
|
+
page_size: zod.z.number().int().describe("Number of results to return per page.").optional()
|
|
8
|
+
}).describe("Request model for listing game additions (DLCs, GOTY editions, companion apps).");
|
|
9
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_TagSchema = zod.z.object({
|
|
10
|
+
id: zod.z.number().int().describe("Tag ID.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Tag name.").nullable().optional(),
|
|
12
|
+
slug: zod.z.string().describe("Tag slug.").nullable().optional(),
|
|
13
|
+
language: zod.z.string().describe("Tag language.").nullable().optional(),
|
|
14
|
+
games_count: zod.z.number().int().describe("Number of games with this tag.").nullable().optional()
|
|
15
|
+
}).describe("Tag information.");
|
|
16
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema = zod.z.object({
|
|
17
|
+
id: zod.z.number().int().describe("Genre ID.").nullable().optional(),
|
|
18
|
+
name: zod.z.string().describe("Genre name.").nullable().optional(),
|
|
19
|
+
slug: zod.z.string().describe("Genre slug.").nullable().optional()
|
|
20
|
+
}).describe("Genre information.");
|
|
21
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema = zod.z.object({
|
|
22
|
+
id: zod.z.number().int().describe("Store ID.").nullable().optional(),
|
|
23
|
+
name: zod.z.string().describe("Store name.").nullable().optional(),
|
|
24
|
+
slug: zod.z.string().describe("Store slug.").nullable().optional()
|
|
25
|
+
}).describe("Store information.");
|
|
26
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema = zod.z.object({
|
|
27
|
+
id: zod.z.number().int().describe("Store info ID.").nullable().optional(),
|
|
28
|
+
store: RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema.nullable().optional()
|
|
29
|
+
}).describe("Store information with additional details.");
|
|
30
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema = zod.z.object({
|
|
31
|
+
id: zod.z.number().int().describe("Rating ID.").nullable().optional(),
|
|
32
|
+
count: zod.z.number().int().describe("Number of ratings.").nullable().optional(),
|
|
33
|
+
title: zod.z.string().describe("Rating title.").nullable().optional(),
|
|
34
|
+
percent: zod.z.number().describe("Percentage of this rating.").nullable().optional()
|
|
35
|
+
}).describe("Individual rating information.");
|
|
36
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema = zod.z.object({
|
|
37
|
+
id: zod.z.number().int().describe("Platform ID.").nullable().optional(),
|
|
38
|
+
name: zod.z.string().describe("Platform name.").nullable().optional(),
|
|
39
|
+
slug: zod.z.string().describe("Platform slug.").nullable().optional()
|
|
40
|
+
}).describe("Platform details.");
|
|
41
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema = zod.z.object({
|
|
42
|
+
platform: RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema.nullable().optional(),
|
|
43
|
+
released_at: zod.z.string().describe("Release date on this platform.").nullable().optional(),
|
|
44
|
+
requirements_en: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional(),
|
|
45
|
+
requirements_ru: zod.z.union([zod.z.string(), zod.z.object({})]).nullable().optional()
|
|
46
|
+
}).describe("Platform information with release details.");
|
|
47
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema = zod.z.object({
|
|
48
|
+
id: zod.z.number().int().describe("ESRB rating ID.").nullable().optional(),
|
|
49
|
+
name: zod.z.string().describe("ESRB rating name.").nullable().optional(),
|
|
50
|
+
slug: zod.z.string().describe("ESRB rating slug.").nullable().optional()
|
|
51
|
+
}).describe("ESRB rating information.");
|
|
52
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema = zod.z.object({
|
|
53
|
+
yet: zod.z.number().int().describe("Number marked as 'yet to play'.").nullable().optional(),
|
|
54
|
+
owned: zod.z.number().int().describe("Number marked as 'owned'.").nullable().optional(),
|
|
55
|
+
beaten: zod.z.number().int().describe("Number marked as 'beaten'.").nullable().optional(),
|
|
56
|
+
toplay: zod.z.number().int().describe("Number marked as 'to play'.").nullable().optional(),
|
|
57
|
+
dropped: zod.z.number().int().describe("Number marked as 'dropped'.").nullable().optional(),
|
|
58
|
+
playing: zod.z.number().int().describe("Number marked as 'playing'.").nullable().optional()
|
|
59
|
+
}).describe("User collection status breakdown.");
|
|
60
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema = zod.z.object({
|
|
61
|
+
id: zod.z.number().int().describe("Parent platform ID.").nullable().optional(),
|
|
62
|
+
name: zod.z.string().describe("Parent platform name.").nullable().optional(),
|
|
63
|
+
slug: zod.z.string().describe("Parent platform slug.").nullable().optional()
|
|
64
|
+
}).describe("Parent platform details.");
|
|
65
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema = zod.z.object({ platform: RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema.nullable().optional() }).describe("Parent platform wrapper.");
|
|
66
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema = zod.z.object({
|
|
67
|
+
id: zod.z.number().int().describe("Screenshot ID.").nullable().optional(),
|
|
68
|
+
image: zod.z.string().describe("Screenshot image URL.").nullable().optional()
|
|
69
|
+
}).describe("Short screenshot information.");
|
|
70
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema = zod.z.object({
|
|
71
|
+
id: zod.z.number().int().describe("Unique identifier for the game addition.").nullable().optional(),
|
|
72
|
+
tba: zod.z.boolean().describe("To-be-announced status.").nullable().optional(),
|
|
73
|
+
clip: zod.z.string().describe("Video clip URL.").nullable().optional(),
|
|
74
|
+
name: zod.z.string().describe("Game addition title.").nullable().optional(),
|
|
75
|
+
slug: zod.z.string().describe("URL-friendly name.").nullable().optional(),
|
|
76
|
+
tags: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_TagSchema).describe("Game tags.").nullable().optional(),
|
|
77
|
+
added: zod.z.number().int().describe("User collection count.").nullable().optional(),
|
|
78
|
+
genres: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema).describe("Game genres.").nullable().optional(),
|
|
79
|
+
rating: zod.z.number().describe("Average rating score.").nullable().optional(),
|
|
80
|
+
stores: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema).describe("Available stores.").nullable().optional(),
|
|
81
|
+
ratings: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema).describe("Rating distribution data.").nullable().optional(),
|
|
82
|
+
updated: zod.z.string().describe("Last modification timestamp.").nullable().optional(),
|
|
83
|
+
playtime: zod.z.number().int().describe("Average playtime in hours.").nullable().optional(),
|
|
84
|
+
released: zod.z.string().describe("Launch date.").nullable().optional(),
|
|
85
|
+
platforms: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema).describe("Available platforms.").nullable().optional(),
|
|
86
|
+
metacritic: zod.z.number().int().describe("Metacritic score.").nullable().optional(),
|
|
87
|
+
rating_top: zod.z.number().int().describe("Highest rating tier.").nullable().optional(),
|
|
88
|
+
esrb_rating: RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema.nullable().optional(),
|
|
89
|
+
ratings_count: zod.z.number().int().describe("Number of ratings received.").nullable().optional(),
|
|
90
|
+
added_by_status: RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema.nullable().optional(),
|
|
91
|
+
background_image: zod.z.string().describe("Background image URL.").nullable().optional(),
|
|
92
|
+
parent_platforms: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema).describe("Parent platforms.").nullable().optional(),
|
|
93
|
+
short_screenshots: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema).describe("Short screenshots.").nullable().optional(),
|
|
94
|
+
suggestions_count: zod.z.number().int().describe("Number of suggestions.").nullable().optional(),
|
|
95
|
+
reviews_text_count: zod.z.number().int().describe("Text review count.").nullable().optional()
|
|
96
|
+
}).describe("Individual game addition (DLC, GOTY edition, companion app, etc.).");
|
|
97
|
+
const RawgVideoGamesDatabaseGamesAdditionsListOutput = zod.z.object({
|
|
98
|
+
next: zod.z.string().describe("URL pointing to the next page of results.").nullable().optional(),
|
|
99
|
+
count: zod.z.number().int().describe("Total number of game additions."),
|
|
100
|
+
results: zod.z.array(RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema).describe("Array of game addition objects."),
|
|
101
|
+
previous: zod.z.string().describe("URL pointing to the previous page of results.").nullable().optional()
|
|
102
|
+
}).describe("Response model for listing game additions.");
|
|
103
|
+
const rawgVideoGamesDatabaseGamesAdditionsList = require_action.action("RAWG_VIDEO_GAMES_DATABASE_GAMES_ADDITIONS_LIST", {
|
|
104
|
+
slug: "rawg_video_games_database-games-additions-list",
|
|
105
|
+
name: "Get Game Additions List",
|
|
106
|
+
description: "Tool to get a list of DLCs, GOTY editions, companion apps, and other additions for a game. Use when you need to find downloadable content or special editions for a specific game.",
|
|
107
|
+
input: RawgVideoGamesDatabaseGamesAdditionsListInput,
|
|
108
|
+
output: RawgVideoGamesDatabaseGamesAdditionsListOutput
|
|
109
|
+
});
|
|
110
|
+
//#endregion
|
|
111
|
+
exports.rawgVideoGamesDatabaseGamesAdditionsList = rawgVideoGamesDatabaseGamesAdditionsList;
|
|
112
|
+
|
|
113
|
+
//# sourceMappingURL=games-additions-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-additions-list.cjs","names":["z","action"],"sources":["../../src/actions/games-additions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGamesAdditionsListInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set.\").optional(),\n game_pk: z.union([z.number().int(), z.string()]),\n page_size: z.number().int().describe(\"Number of results to return per page.\").optional(),\n}).describe(\"Request model for listing game additions (DLCs, GOTY editions, companion apps).\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n slug: z.string().describe(\"Tag slug.\").nullable().optional(),\n language: z.string().describe(\"Tag language.\").nullable().optional(),\n games_count: z.number().int().describe(\"Number of games with this tag.\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Genre ID.\").nullable().optional(),\n name: z.string().describe(\"Genre name.\").nullable().optional(),\n slug: z.string().describe(\"Genre slug.\").nullable().optional(),\n}).describe(\"Genre information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Store ID.\").nullable().optional(),\n name: z.string().describe(\"Store name.\").nullable().optional(),\n slug: z.string().describe(\"Store slug.\").nullable().optional(),\n}).describe(\"Store information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Store info ID.\").nullable().optional(),\n store: RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema.nullable().optional(),\n}).describe(\"Store information with additional details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Rating ID.\").nullable().optional(),\n count: z.number().int().describe(\"Number of ratings.\").nullable().optional(),\n title: z.string().describe(\"Rating title.\").nullable().optional(),\n percent: z.number().describe(\"Percentage of this rating.\").nullable().optional(),\n}).describe(\"Individual rating information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Platform ID.\").nullable().optional(),\n name: z.string().describe(\"Platform name.\").nullable().optional(),\n slug: z.string().describe(\"Platform slug.\").nullable().optional(),\n}).describe(\"Platform details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema: z.ZodTypeAny = z.object({\n platform: RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema.nullable().optional(),\n released_at: z.string().describe(\"Release date on this platform.\").nullable().optional(),\n requirements_en: z.union([z.string(), z.object({})]).nullable().optional(),\n requirements_ru: z.union([z.string(), z.object({})]).nullable().optional(),\n}).describe(\"Platform information with release details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ESRB rating ID.\").nullable().optional(),\n name: z.string().describe(\"ESRB rating name.\").nullable().optional(),\n slug: z.string().describe(\"ESRB rating slug.\").nullable().optional(),\n}).describe(\"ESRB rating information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema: z.ZodTypeAny = z.object({\n yet: z.number().int().describe(\"Number marked as 'yet to play'.\").nullable().optional(),\n owned: z.number().int().describe(\"Number marked as 'owned'.\").nullable().optional(),\n beaten: z.number().int().describe(\"Number marked as 'beaten'.\").nullable().optional(),\n toplay: z.number().int().describe(\"Number marked as 'to play'.\").nullable().optional(),\n dropped: z.number().int().describe(\"Number marked as 'dropped'.\").nullable().optional(),\n playing: z.number().int().describe(\"Number marked as 'playing'.\").nullable().optional(),\n}).describe(\"User collection status breakdown.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Parent platform ID.\").nullable().optional(),\n name: z.string().describe(\"Parent platform name.\").nullable().optional(),\n slug: z.string().describe(\"Parent platform slug.\").nullable().optional(),\n}).describe(\"Parent platform details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema: z.ZodTypeAny = z.object({\n platform: RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema.nullable().optional(),\n}).describe(\"Parent platform wrapper.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Screenshot ID.\").nullable().optional(),\n image: z.string().describe(\"Screenshot image URL.\").nullable().optional(),\n}).describe(\"Short screenshot information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the game addition.\").nullable().optional(),\n tba: z.boolean().describe(\"To-be-announced status.\").nullable().optional(),\n clip: z.string().describe(\"Video clip URL.\").nullable().optional(),\n name: z.string().describe(\"Game addition title.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly name.\").nullable().optional(),\n tags: z.array(RawgVideoGamesDatabaseGamesAdditionsList_TagSchema).describe(\"Game tags.\").nullable().optional(),\n added: z.number().int().describe(\"User collection count.\").nullable().optional(),\n genres: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema).describe(\"Game genres.\").nullable().optional(),\n rating: z.number().describe(\"Average rating score.\").nullable().optional(),\n stores: z.array(RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema).describe(\"Available stores.\").nullable().optional(),\n ratings: z.array(RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema).describe(\"Rating distribution data.\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n playtime: z.number().int().describe(\"Average playtime in hours.\").nullable().optional(),\n released: z.string().describe(\"Launch date.\").nullable().optional(),\n platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema).describe(\"Available platforms.\").nullable().optional(),\n metacritic: z.number().int().describe(\"Metacritic score.\").nullable().optional(),\n rating_top: z.number().int().describe(\"Highest rating tier.\").nullable().optional(),\n esrb_rating: RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema.nullable().optional(),\n ratings_count: z.number().int().describe(\"Number of ratings received.\").nullable().optional(),\n added_by_status: RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema.nullable().optional(),\n background_image: z.string().describe(\"Background image URL.\").nullable().optional(),\n parent_platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema).describe(\"Parent platforms.\").nullable().optional(),\n short_screenshots: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema).describe(\"Short screenshots.\").nullable().optional(),\n suggestions_count: z.number().int().describe(\"Number of suggestions.\").nullable().optional(),\n reviews_text_count: z.number().int().describe(\"Text review count.\").nullable().optional(),\n}).describe(\"Individual game addition (DLC, GOTY edition, companion app, etc.).\");\nexport const RawgVideoGamesDatabaseGamesAdditionsListOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of results.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of game additions.\"),\n results: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema).describe(\"Array of game addition objects.\"),\n previous: z.string().describe(\"URL pointing to the previous page of results.\").nullable().optional(),\n}).describe(\"Response model for listing game additions.\");\n\nexport const rawgVideoGamesDatabaseGamesAdditionsList = action(\"RAWG_VIDEO_GAMES_DATABASE_GAMES_ADDITIONS_LIST\", {\n slug: \"rawg_video_games_database-games-additions-list\",\n name: \"Get Game Additions List\",\n description: \"Tool to get a list of DLCs, GOTY editions, companion apps, and other additions for a game. Use when you need to find downloadable content or special editions for a specific game.\",\n input: RawgVideoGamesDatabaseGamesAdditionsListInput,\n output: RawgVideoGamesDatabaseGamesAdditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,CAAC,CAAC,SAAS;CAC/I,mBAAmBA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,SAASA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,iCAAiC;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,2CAA2CC,eAAAA,OAAO,kDAAkD;CAC/G,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/games-additions-list.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesAdditionsListInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesAdditionsListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesAdditionsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesAdditionsList };
|
|
9
|
+
//# sourceMappingURL=games-additions-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-additions-list.d.cts","names":[],"sources":["../../src/actions/games-additions-list.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAIgC;AAAA,cA2FjF,8CAAA,EAAgD,CAAA,CAAE,UAKN;AAAA,cAE5C,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/games-additions-list.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesAdditionsListInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesAdditionsListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesAdditionsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesAdditionsList };
|
|
9
|
+
//# sourceMappingURL=games-additions-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-additions-list.d.mts","names":[],"sources":["../../src/actions/games-additions-list.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAIgC;AAAA,cA2FjF,8CAAA,EAAgD,CAAA,CAAE,UAKN;AAAA,cAE5C,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/games-additions-list.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesAdditionsListInput = z.object({
|
|
5
|
+
page: z.number().int().describe("A page number within the paginated result set.").optional(),
|
|
6
|
+
game_pk: z.union([z.number().int(), z.string()]),
|
|
7
|
+
page_size: z.number().int().describe("Number of results to return per page.").optional()
|
|
8
|
+
}).describe("Request model for listing game additions (DLCs, GOTY editions, companion apps).");
|
|
9
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_TagSchema = z.object({
|
|
10
|
+
id: z.number().int().describe("Tag ID.").nullable().optional(),
|
|
11
|
+
name: z.string().describe("Tag name.").nullable().optional(),
|
|
12
|
+
slug: z.string().describe("Tag slug.").nullable().optional(),
|
|
13
|
+
language: z.string().describe("Tag language.").nullable().optional(),
|
|
14
|
+
games_count: z.number().int().describe("Number of games with this tag.").nullable().optional()
|
|
15
|
+
}).describe("Tag information.");
|
|
16
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema = z.object({
|
|
17
|
+
id: z.number().int().describe("Genre ID.").nullable().optional(),
|
|
18
|
+
name: z.string().describe("Genre name.").nullable().optional(),
|
|
19
|
+
slug: z.string().describe("Genre slug.").nullable().optional()
|
|
20
|
+
}).describe("Genre information.");
|
|
21
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema = z.object({
|
|
22
|
+
id: z.number().int().describe("Store ID.").nullable().optional(),
|
|
23
|
+
name: z.string().describe("Store name.").nullable().optional(),
|
|
24
|
+
slug: z.string().describe("Store slug.").nullable().optional()
|
|
25
|
+
}).describe("Store information.");
|
|
26
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema = z.object({
|
|
27
|
+
id: z.number().int().describe("Store info ID.").nullable().optional(),
|
|
28
|
+
store: RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema.nullable().optional()
|
|
29
|
+
}).describe("Store information with additional details.");
|
|
30
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema = z.object({
|
|
31
|
+
id: z.number().int().describe("Rating ID.").nullable().optional(),
|
|
32
|
+
count: z.number().int().describe("Number of ratings.").nullable().optional(),
|
|
33
|
+
title: z.string().describe("Rating title.").nullable().optional(),
|
|
34
|
+
percent: z.number().describe("Percentage of this rating.").nullable().optional()
|
|
35
|
+
}).describe("Individual rating information.");
|
|
36
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema = z.object({
|
|
37
|
+
id: z.number().int().describe("Platform ID.").nullable().optional(),
|
|
38
|
+
name: z.string().describe("Platform name.").nullable().optional(),
|
|
39
|
+
slug: z.string().describe("Platform slug.").nullable().optional()
|
|
40
|
+
}).describe("Platform details.");
|
|
41
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema = z.object({
|
|
42
|
+
platform: RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema.nullable().optional(),
|
|
43
|
+
released_at: z.string().describe("Release date on this platform.").nullable().optional(),
|
|
44
|
+
requirements_en: z.union([z.string(), z.object({})]).nullable().optional(),
|
|
45
|
+
requirements_ru: z.union([z.string(), z.object({})]).nullable().optional()
|
|
46
|
+
}).describe("Platform information with release details.");
|
|
47
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema = z.object({
|
|
48
|
+
id: z.number().int().describe("ESRB rating ID.").nullable().optional(),
|
|
49
|
+
name: z.string().describe("ESRB rating name.").nullable().optional(),
|
|
50
|
+
slug: z.string().describe("ESRB rating slug.").nullable().optional()
|
|
51
|
+
}).describe("ESRB rating information.");
|
|
52
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema = z.object({
|
|
53
|
+
yet: z.number().int().describe("Number marked as 'yet to play'.").nullable().optional(),
|
|
54
|
+
owned: z.number().int().describe("Number marked as 'owned'.").nullable().optional(),
|
|
55
|
+
beaten: z.number().int().describe("Number marked as 'beaten'.").nullable().optional(),
|
|
56
|
+
toplay: z.number().int().describe("Number marked as 'to play'.").nullable().optional(),
|
|
57
|
+
dropped: z.number().int().describe("Number marked as 'dropped'.").nullable().optional(),
|
|
58
|
+
playing: z.number().int().describe("Number marked as 'playing'.").nullable().optional()
|
|
59
|
+
}).describe("User collection status breakdown.");
|
|
60
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema = z.object({
|
|
61
|
+
id: z.number().int().describe("Parent platform ID.").nullable().optional(),
|
|
62
|
+
name: z.string().describe("Parent platform name.").nullable().optional(),
|
|
63
|
+
slug: z.string().describe("Parent platform slug.").nullable().optional()
|
|
64
|
+
}).describe("Parent platform details.");
|
|
65
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema = z.object({ platform: RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema.nullable().optional() }).describe("Parent platform wrapper.");
|
|
66
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema = z.object({
|
|
67
|
+
id: z.number().int().describe("Screenshot ID.").nullable().optional(),
|
|
68
|
+
image: z.string().describe("Screenshot image URL.").nullable().optional()
|
|
69
|
+
}).describe("Short screenshot information.");
|
|
70
|
+
const RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema = z.object({
|
|
71
|
+
id: z.number().int().describe("Unique identifier for the game addition.").nullable().optional(),
|
|
72
|
+
tba: z.boolean().describe("To-be-announced status.").nullable().optional(),
|
|
73
|
+
clip: z.string().describe("Video clip URL.").nullable().optional(),
|
|
74
|
+
name: z.string().describe("Game addition title.").nullable().optional(),
|
|
75
|
+
slug: z.string().describe("URL-friendly name.").nullable().optional(),
|
|
76
|
+
tags: z.array(RawgVideoGamesDatabaseGamesAdditionsList_TagSchema).describe("Game tags.").nullable().optional(),
|
|
77
|
+
added: z.number().int().describe("User collection count.").nullable().optional(),
|
|
78
|
+
genres: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema).describe("Game genres.").nullable().optional(),
|
|
79
|
+
rating: z.number().describe("Average rating score.").nullable().optional(),
|
|
80
|
+
stores: z.array(RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema).describe("Available stores.").nullable().optional(),
|
|
81
|
+
ratings: z.array(RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema).describe("Rating distribution data.").nullable().optional(),
|
|
82
|
+
updated: z.string().describe("Last modification timestamp.").nullable().optional(),
|
|
83
|
+
playtime: z.number().int().describe("Average playtime in hours.").nullable().optional(),
|
|
84
|
+
released: z.string().describe("Launch date.").nullable().optional(),
|
|
85
|
+
platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema).describe("Available platforms.").nullable().optional(),
|
|
86
|
+
metacritic: z.number().int().describe("Metacritic score.").nullable().optional(),
|
|
87
|
+
rating_top: z.number().int().describe("Highest rating tier.").nullable().optional(),
|
|
88
|
+
esrb_rating: RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema.nullable().optional(),
|
|
89
|
+
ratings_count: z.number().int().describe("Number of ratings received.").nullable().optional(),
|
|
90
|
+
added_by_status: RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema.nullable().optional(),
|
|
91
|
+
background_image: z.string().describe("Background image URL.").nullable().optional(),
|
|
92
|
+
parent_platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema).describe("Parent platforms.").nullable().optional(),
|
|
93
|
+
short_screenshots: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema).describe("Short screenshots.").nullable().optional(),
|
|
94
|
+
suggestions_count: z.number().int().describe("Number of suggestions.").nullable().optional(),
|
|
95
|
+
reviews_text_count: z.number().int().describe("Text review count.").nullable().optional()
|
|
96
|
+
}).describe("Individual game addition (DLC, GOTY edition, companion app, etc.).");
|
|
97
|
+
const rawgVideoGamesDatabaseGamesAdditionsList = action("RAWG_VIDEO_GAMES_DATABASE_GAMES_ADDITIONS_LIST", {
|
|
98
|
+
slug: "rawg_video_games_database-games-additions-list",
|
|
99
|
+
name: "Get Game Additions List",
|
|
100
|
+
description: "Tool to get a list of DLCs, GOTY editions, companion apps, and other additions for a game. Use when you need to find downloadable content or special editions for a specific game.",
|
|
101
|
+
input: RawgVideoGamesDatabaseGamesAdditionsListInput,
|
|
102
|
+
output: z.object({
|
|
103
|
+
next: z.string().describe("URL pointing to the next page of results.").nullable().optional(),
|
|
104
|
+
count: z.number().int().describe("Total number of game additions."),
|
|
105
|
+
results: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema).describe("Array of game addition objects."),
|
|
106
|
+
previous: z.string().describe("URL pointing to the previous page of results.").nullable().optional()
|
|
107
|
+
}).describe("Response model for listing game additions.")
|
|
108
|
+
});
|
|
109
|
+
//#endregion
|
|
110
|
+
export { rawgVideoGamesDatabaseGamesAdditionsList };
|
|
111
|
+
|
|
112
|
+
//# sourceMappingURL=games-additions-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-additions-list.mjs","names":[],"sources":["../../src/actions/games-additions-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGamesAdditionsListInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set.\").optional(),\n game_pk: z.union([z.number().int(), z.string()]),\n page_size: z.number().int().describe(\"Number of results to return per page.\").optional(),\n}).describe(\"Request model for listing game additions (DLCs, GOTY editions, companion apps).\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_TagSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Tag ID.\").nullable().optional(),\n name: z.string().describe(\"Tag name.\").nullable().optional(),\n slug: z.string().describe(\"Tag slug.\").nullable().optional(),\n language: z.string().describe(\"Tag language.\").nullable().optional(),\n games_count: z.number().int().describe(\"Number of games with this tag.\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Genre ID.\").nullable().optional(),\n name: z.string().describe(\"Genre name.\").nullable().optional(),\n slug: z.string().describe(\"Genre slug.\").nullable().optional(),\n}).describe(\"Genre information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Store ID.\").nullable().optional(),\n name: z.string().describe(\"Store name.\").nullable().optional(),\n slug: z.string().describe(\"Store slug.\").nullable().optional(),\n}).describe(\"Store information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Store info ID.\").nullable().optional(),\n store: RawgVideoGamesDatabaseGamesAdditionsList_StoreSchema.nullable().optional(),\n}).describe(\"Store information with additional details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Rating ID.\").nullable().optional(),\n count: z.number().int().describe(\"Number of ratings.\").nullable().optional(),\n title: z.string().describe(\"Rating title.\").nullable().optional(),\n percent: z.number().describe(\"Percentage of this rating.\").nullable().optional(),\n}).describe(\"Individual rating information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Platform ID.\").nullable().optional(),\n name: z.string().describe(\"Platform name.\").nullable().optional(),\n slug: z.string().describe(\"Platform slug.\").nullable().optional(),\n}).describe(\"Platform details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema: z.ZodTypeAny = z.object({\n platform: RawgVideoGamesDatabaseGamesAdditionsList_PlatformDetailsSchema.nullable().optional(),\n released_at: z.string().describe(\"Release date on this platform.\").nullable().optional(),\n requirements_en: z.union([z.string(), z.object({})]).nullable().optional(),\n requirements_ru: z.union([z.string(), z.object({})]).nullable().optional(),\n}).describe(\"Platform information with release details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ESRB rating ID.\").nullable().optional(),\n name: z.string().describe(\"ESRB rating name.\").nullable().optional(),\n slug: z.string().describe(\"ESRB rating slug.\").nullable().optional(),\n}).describe(\"ESRB rating information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema: z.ZodTypeAny = z.object({\n yet: z.number().int().describe(\"Number marked as 'yet to play'.\").nullable().optional(),\n owned: z.number().int().describe(\"Number marked as 'owned'.\").nullable().optional(),\n beaten: z.number().int().describe(\"Number marked as 'beaten'.\").nullable().optional(),\n toplay: z.number().int().describe(\"Number marked as 'to play'.\").nullable().optional(),\n dropped: z.number().int().describe(\"Number marked as 'dropped'.\").nullable().optional(),\n playing: z.number().int().describe(\"Number marked as 'playing'.\").nullable().optional(),\n}).describe(\"User collection status breakdown.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Parent platform ID.\").nullable().optional(),\n name: z.string().describe(\"Parent platform name.\").nullable().optional(),\n slug: z.string().describe(\"Parent platform slug.\").nullable().optional(),\n}).describe(\"Parent platform details.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema: z.ZodTypeAny = z.object({\n platform: RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformSchema.nullable().optional(),\n}).describe(\"Parent platform wrapper.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Screenshot ID.\").nullable().optional(),\n image: z.string().describe(\"Screenshot image URL.\").nullable().optional(),\n}).describe(\"Short screenshot information.\");\nconst RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the game addition.\").nullable().optional(),\n tba: z.boolean().describe(\"To-be-announced status.\").nullable().optional(),\n clip: z.string().describe(\"Video clip URL.\").nullable().optional(),\n name: z.string().describe(\"Game addition title.\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly name.\").nullable().optional(),\n tags: z.array(RawgVideoGamesDatabaseGamesAdditionsList_TagSchema).describe(\"Game tags.\").nullable().optional(),\n added: z.number().int().describe(\"User collection count.\").nullable().optional(),\n genres: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GenreSchema).describe(\"Game genres.\").nullable().optional(),\n rating: z.number().describe(\"Average rating score.\").nullable().optional(),\n stores: z.array(RawgVideoGamesDatabaseGamesAdditionsList_StoreInfoSchema).describe(\"Available stores.\").nullable().optional(),\n ratings: z.array(RawgVideoGamesDatabaseGamesAdditionsList_RatingSchema).describe(\"Rating distribution data.\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp.\").nullable().optional(),\n playtime: z.number().int().describe(\"Average playtime in hours.\").nullable().optional(),\n released: z.string().describe(\"Launch date.\").nullable().optional(),\n platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_PlatformInfoSchema).describe(\"Available platforms.\").nullable().optional(),\n metacritic: z.number().int().describe(\"Metacritic score.\").nullable().optional(),\n rating_top: z.number().int().describe(\"Highest rating tier.\").nullable().optional(),\n esrb_rating: RawgVideoGamesDatabaseGamesAdditionsList_EsrbRatingSchema.nullable().optional(),\n ratings_count: z.number().int().describe(\"Number of ratings received.\").nullable().optional(),\n added_by_status: RawgVideoGamesDatabaseGamesAdditionsList_AddedByStatusSchema.nullable().optional(),\n background_image: z.string().describe(\"Background image URL.\").nullable().optional(),\n parent_platforms: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ParentPlatformInfoSchema).describe(\"Parent platforms.\").nullable().optional(),\n short_screenshots: z.array(RawgVideoGamesDatabaseGamesAdditionsList_ShortScreenshotSchema).describe(\"Short screenshots.\").nullable().optional(),\n suggestions_count: z.number().int().describe(\"Number of suggestions.\").nullable().optional(),\n reviews_text_count: z.number().int().describe(\"Text review count.\").nullable().optional(),\n}).describe(\"Individual game addition (DLC, GOTY edition, companion app, etc.).\");\nexport const RawgVideoGamesDatabaseGamesAdditionsListOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL pointing to the next page of results.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of game additions.\"),\n results: z.array(RawgVideoGamesDatabaseGamesAdditionsList_GameAdditionSchema).describe(\"Array of game addition objects.\"),\n previous: z.string().describe(\"URL pointing to the previous page of results.\").nullable().optional(),\n}).describe(\"Response model for listing game additions.\");\n\nexport const rawgVideoGamesDatabaseGamesAdditionsList = action(\"RAWG_VIDEO_GAMES_DATABASE_GAMES_ADDITIONS_LIST\", {\n slug: \"rawg_video_games_database-games-additions-list\",\n name: \"Get Game Additions List\",\n description: \"Tool to get a list of DLCs, GOTY editions, companion apps, and other additions for a game. Use when you need to find downloadable content or special editions for a specific game.\",\n input: RawgVideoGamesDatabaseGamesAdditionsListInput,\n output: RawgVideoGamesDatabaseGamesAdditionsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8D,EAAE,OAAO;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,qDAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS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,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,mBAAmB,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAQhF,MAAa,2CAA2C,OAAO,kDAAkD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0E,EAAE,OAAO;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAClE,SAAS,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,iCAAiC;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/games-development-team-list.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesDevelopmentTeamListInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("A page number within the paginated result set.").optional(),
|
|
6
|
+
game_pk: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
7
|
+
ordering: zod.z.string().describe("Which field to use when ordering the results.").optional(),
|
|
8
|
+
page_size: zod.z.number().int().describe("Number of results to return per page. Maximum is 40.").optional()
|
|
9
|
+
}).describe("Request model for listing game development team members.");
|
|
10
|
+
const RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema = zod.z.object({
|
|
11
|
+
id: zod.z.number().int().describe("Unique identifier for the creator/team member."),
|
|
12
|
+
name: zod.z.string().describe("Full name of the creator."),
|
|
13
|
+
slug: zod.z.string().describe("URL-friendly identifier/slug for the creator."),
|
|
14
|
+
image: zod.z.string().describe("URL to the creator's profile image.").nullable().optional(),
|
|
15
|
+
games_count: zod.z.number().int().describe("Total number of games the creator has worked on."),
|
|
16
|
+
image_background: zod.z.string().describe("URL to the creator's background image.").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single development team member.");
|
|
18
|
+
const RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput = zod.z.object({
|
|
19
|
+
next: zod.z.string().describe("URL to the next page of results, null if no next page exists.").nullable().optional(),
|
|
20
|
+
count: zod.z.number().int().describe("Total number of development team members across all pages."),
|
|
21
|
+
results: zod.z.array(RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema).describe("Array of team member objects containing creator data."),
|
|
22
|
+
previous: zod.z.string().describe("URL to the previous page of results, null if no previous page exists.").nullable().optional()
|
|
23
|
+
}).describe("Response model for listing game development team members.");
|
|
24
|
+
const rawgVideoGamesDatabaseGamesDevelopmentTeamList = require_action.action("RAWG_VIDEO_GAMES_DATABASE_GAMES_DEVELOPMENT_TEAM_LIST", {
|
|
25
|
+
slug: "rawg_video_games_database-games-development-team-list",
|
|
26
|
+
name: "Get Game Development Team List",
|
|
27
|
+
description: "Tool to get a list of individual creators from the development team of a specific game. Use when you need to find out who worked on developing a particular game.",
|
|
28
|
+
input: RawgVideoGamesDatabaseGamesDevelopmentTeamListInput,
|
|
29
|
+
output: RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.rawgVideoGamesDatabaseGamesDevelopmentTeamList = rawgVideoGamesDatabaseGamesDevelopmentTeamList;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=games-development-team-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-development-team-list.cjs","names":["z","action"],"sources":["../../src/actions/games-development-team-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGamesDevelopmentTeamListInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set.\").optional(),\n game_pk: z.union([z.number().int(), z.string()]),\n ordering: z.string().describe(\"Which field to use when ordering the results.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Maximum is 40.\").optional(),\n}).describe(\"Request model for listing game development team members.\");\nconst RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the creator/team member.\"),\n name: z.string().describe(\"Full name of the creator.\"),\n slug: z.string().describe(\"URL-friendly identifier/slug for the creator.\"),\n image: z.string().describe(\"URL to the creator's profile image.\").nullable().optional(),\n games_count: z.number().int().describe(\"Total number of games the creator has worked on.\"),\n image_background: z.string().describe(\"URL to the creator's background image.\").nullable().optional(),\n}).describe(\"Model representing a single development team member.\");\nexport const RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no next page exists.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of development team members across all pages.\"),\n results: z.array(RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema).describe(\"Array of team member objects containing creator data.\"),\n previous: z.string().describe(\"URL to the previous page of results, null if no previous page exists.\").nullable().optional(),\n}).describe(\"Response model for listing game development team members.\");\n\nexport const rawgVideoGamesDatabaseGamesDevelopmentTeamList = action(\"RAWG_VIDEO_GAMES_DATABASE_GAMES_DEVELOPMENT_TEAM_LIST\", {\n slug: \"rawg_video_games_database-games-development-team-list\",\n name: \"Get Game Development Team List\",\n description: \"Tool to get a list of individual creators from the development team of a specific game. Use when you need to find out who worked on developing a particular game.\",\n input: RawgVideoGamesDatabaseGamesDevelopmentTeamListInput,\n output: RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAoEA,IAAAA,EAAE,OAAO;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kEAAgFA,IAAAA,EAAE,OAAO;CAC7F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,uDAAqEA,IAAAA,EAAE,OAAO;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAC7F,SAASA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,uDAAuD;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,iDAAiDC,eAAAA,OAAO,yDAAyD;CAC5H,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/games-development-team-list.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesDevelopmentTeamListInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesDevelopmentTeamList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesDevelopmentTeamList };
|
|
9
|
+
//# sourceMappingURL=games-development-team-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-development-team-list.d.cts","names":[],"sources":["../../src/actions/games-development-team-list.ts"],"mappings":";;;cAIa,mDAAA,EAAqD,CAAA,CAAE,UAKG;AAAA,cAS1D,oDAAA,EAAsD,CAAA,CAAE,UAKG;AAAA,cAE3D,8CAAA,gCAA8C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/games-development-team-list.d.ts
|
|
4
|
+
declare const RawgVideoGamesDatabaseGamesDevelopmentTeamListInput: z.ZodTypeAny;
|
|
5
|
+
declare const RawgVideoGamesDatabaseGamesDevelopmentTeamListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rawgVideoGamesDatabaseGamesDevelopmentTeamList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rawgVideoGamesDatabaseGamesDevelopmentTeamList };
|
|
9
|
+
//# sourceMappingURL=games-development-team-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"games-development-team-list.d.mts","names":[],"sources":["../../src/actions/games-development-team-list.ts"],"mappings":";;;cAIa,mDAAA,EAAqD,CAAA,CAAE,UAKG;AAAA,cAS1D,oDAAA,EAAsD,CAAA,CAAE,UAKG;AAAA,cAE3D,8CAAA,gCAA8C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/games-development-team-list.ts
|
|
4
|
+
const RawgVideoGamesDatabaseGamesDevelopmentTeamListInput = z.object({
|
|
5
|
+
page: z.number().int().describe("A page number within the paginated result set.").optional(),
|
|
6
|
+
game_pk: z.union([z.number().int(), z.string()]),
|
|
7
|
+
ordering: z.string().describe("Which field to use when ordering the results.").optional(),
|
|
8
|
+
page_size: z.number().int().describe("Number of results to return per page. Maximum is 40.").optional()
|
|
9
|
+
}).describe("Request model for listing game development team members.");
|
|
10
|
+
const RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema = z.object({
|
|
11
|
+
id: z.number().int().describe("Unique identifier for the creator/team member."),
|
|
12
|
+
name: z.string().describe("Full name of the creator."),
|
|
13
|
+
slug: z.string().describe("URL-friendly identifier/slug for the creator."),
|
|
14
|
+
image: z.string().describe("URL to the creator's profile image.").nullable().optional(),
|
|
15
|
+
games_count: z.number().int().describe("Total number of games the creator has worked on."),
|
|
16
|
+
image_background: z.string().describe("URL to the creator's background image.").nullable().optional()
|
|
17
|
+
}).describe("Model representing a single development team member.");
|
|
18
|
+
const rawgVideoGamesDatabaseGamesDevelopmentTeamList = action("RAWG_VIDEO_GAMES_DATABASE_GAMES_DEVELOPMENT_TEAM_LIST", {
|
|
19
|
+
slug: "rawg_video_games_database-games-development-team-list",
|
|
20
|
+
name: "Get Game Development Team List",
|
|
21
|
+
description: "Tool to get a list of individual creators from the development team of a specific game. Use when you need to find out who worked on developing a particular game.",
|
|
22
|
+
input: RawgVideoGamesDatabaseGamesDevelopmentTeamListInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
next: z.string().describe("URL to the next page of results, null if no next page exists.").nullable().optional(),
|
|
25
|
+
count: z.number().int().describe("Total number of development team members across all pages."),
|
|
26
|
+
results: z.array(RawgVideoGamesDatabaseGamesDevelopmentTeamList_TeamMemberSchema).describe("Array of team member objects containing creator data."),
|
|
27
|
+
previous: z.string().describe("URL to the previous page of results, null if no previous page exists.").nullable().optional()
|
|
28
|
+
}).describe("Response model for listing game development team members.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { rawgVideoGamesDatabaseGamesDevelopmentTeamList };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=games-development-team-list.mjs.map
|