@keystrokehq/rawg_video_games_database 0.1.0 → 0.1.3
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/creator-roles-list.cjs +6 -6
- package/dist/actions/creator-roles-list.cjs.map +1 -1
- package/dist/actions/creator-roles-list.d.cts +18 -3
- package/dist/actions/creator-roles-list.d.cts.map +1 -1
- package/dist/actions/creator-roles-list.d.mts +18 -3
- package/dist/actions/creator-roles-list.d.mts.map +1 -1
- package/dist/actions/creator-roles-list.mjs +6 -6
- package/dist/actions/creator-roles-list.mjs.map +1 -1
- package/dist/actions/creators-list.cjs +7 -7
- package/dist/actions/creators-list.cjs.map +1 -1
- package/dist/actions/creators-list.d.cts +21 -3
- package/dist/actions/creators-list.d.cts.map +1 -1
- package/dist/actions/creators-list.d.mts +21 -3
- package/dist/actions/creators-list.d.mts.map +1 -1
- package/dist/actions/creators-list.mjs +7 -7
- package/dist/actions/creators-list.mjs.map +1 -1
- package/dist/actions/creators-read.cjs +7 -7
- package/dist/actions/creators-read.cjs.map +1 -1
- package/dist/actions/creators-read.d.cts +19 -3
- package/dist/actions/creators-read.d.cts.map +1 -1
- package/dist/actions/creators-read.d.mts +19 -3
- package/dist/actions/creators-read.d.mts.map +1 -1
- package/dist/actions/creators-read.mjs +7 -7
- package/dist/actions/creators-read.mjs.map +1 -1
- package/dist/actions/developers-list.cjs +7 -7
- package/dist/actions/developers-list.cjs.map +1 -1
- package/dist/actions/developers-list.d.cts +20 -3
- package/dist/actions/developers-list.d.cts.map +1 -1
- package/dist/actions/developers-list.d.mts +20 -3
- package/dist/actions/developers-list.d.mts.map +1 -1
- package/dist/actions/developers-list.mjs +7 -7
- package/dist/actions/developers-list.mjs.map +1 -1
- package/dist/actions/developers-read.cjs +5 -5
- package/dist/actions/developers-read.cjs.map +1 -1
- package/dist/actions/developers-read.d.cts +14 -3
- package/dist/actions/developers-read.d.cts.map +1 -1
- package/dist/actions/developers-read.d.mts +14 -3
- package/dist/actions/developers-read.d.mts.map +1 -1
- package/dist/actions/developers-read.mjs +5 -5
- package/dist/actions/developers-read.mjs.map +1 -1
- package/dist/actions/games-achievements-read.cjs +3 -3
- package/dist/actions/games-achievements-read.cjs.map +1 -1
- package/dist/actions/games-achievements-read.d.cts +22 -3
- package/dist/actions/games-achievements-read.d.cts.map +1 -1
- package/dist/actions/games-achievements-read.d.mts +22 -3
- package/dist/actions/games-achievements-read.d.mts.map +1 -1
- package/dist/actions/games-achievements-read.mjs +3 -3
- package/dist/actions/games-achievements-read.mjs.map +1 -1
- package/dist/actions/games-additions-list.cjs +17 -17
- package/dist/actions/games-additions-list.cjs.map +1 -1
- package/dist/actions/games-additions-list.d.cts +93 -3
- package/dist/actions/games-additions-list.d.cts.map +1 -1
- package/dist/actions/games-additions-list.d.mts +93 -3
- package/dist/actions/games-additions-list.d.mts.map +1 -1
- package/dist/actions/games-additions-list.mjs +17 -17
- package/dist/actions/games-additions-list.mjs.map +1 -1
- package/dist/actions/games-development-team-list.cjs +7 -7
- package/dist/actions/games-development-team-list.cjs.map +1 -1
- package/dist/actions/games-development-team-list.d.cts +25 -3
- package/dist/actions/games-development-team-list.d.cts.map +1 -1
- package/dist/actions/games-development-team-list.d.mts +25 -3
- package/dist/actions/games-development-team-list.d.mts.map +1 -1
- package/dist/actions/games-development-team-list.mjs +7 -7
- package/dist/actions/games-development-team-list.mjs.map +1 -1
- package/dist/actions/games-game-series-list.cjs +20 -20
- package/dist/actions/games-game-series-list.cjs.map +1 -1
- package/dist/actions/games-game-series-list.d.cts +109 -3
- package/dist/actions/games-game-series-list.d.cts.map +1 -1
- package/dist/actions/games-game-series-list.d.mts +109 -3
- package/dist/actions/games-game-series-list.d.mts.map +1 -1
- package/dist/actions/games-game-series-list.mjs +20 -20
- package/dist/actions/games-game-series-list.mjs.map +1 -1
- package/dist/actions/games-list.cjs +17 -17
- package/dist/actions/games-list.cjs.map +1 -1
- package/dist/actions/games-list.d.cts +143 -3
- package/dist/actions/games-list.d.cts.map +1 -1
- package/dist/actions/games-list.d.mts +143 -3
- package/dist/actions/games-list.d.mts.map +1 -1
- package/dist/actions/games-list.mjs +17 -17
- package/dist/actions/games-list.mjs.map +1 -1
- package/dist/actions/games-movies-read.cjs +4 -4
- package/dist/actions/games-movies-read.cjs.map +1 -1
- package/dist/actions/games-movies-read.d.cts +20 -3
- package/dist/actions/games-movies-read.d.cts.map +1 -1
- package/dist/actions/games-movies-read.d.mts +20 -3
- package/dist/actions/games-movies-read.d.mts.map +1 -1
- package/dist/actions/games-movies-read.mjs +4 -4
- package/dist/actions/games-movies-read.mjs.map +1 -1
- package/dist/actions/games-parent-games-list.cjs +17 -17
- package/dist/actions/games-parent-games-list.cjs.map +1 -1
- package/dist/actions/games-parent-games-list.d.cts +98 -3
- package/dist/actions/games-parent-games-list.d.cts.map +1 -1
- package/dist/actions/games-parent-games-list.d.mts +98 -3
- package/dist/actions/games-parent-games-list.d.mts.map +1 -1
- package/dist/actions/games-parent-games-list.mjs +17 -17
- package/dist/actions/games-parent-games-list.mjs.map +1 -1
- package/dist/actions/games-read.cjs +9 -9
- package/dist/actions/games-read.cjs.map +1 -1
- package/dist/actions/games-read.d.cts +80 -3
- package/dist/actions/games-read.d.cts.map +1 -1
- package/dist/actions/games-read.d.mts +80 -3
- package/dist/actions/games-read.d.mts.map +1 -1
- package/dist/actions/games-read.mjs +9 -9
- package/dist/actions/games-read.mjs.map +1 -1
- package/dist/actions/games-reddit-read.cjs +2 -2
- package/dist/actions/games-reddit-read.cjs.map +1 -1
- package/dist/actions/games-reddit-read.d.cts +21 -3
- package/dist/actions/games-reddit-read.d.cts.map +1 -1
- package/dist/actions/games-reddit-read.d.mts +21 -3
- package/dist/actions/games-reddit-read.d.mts.map +1 -1
- package/dist/actions/games-reddit-read.mjs +2 -2
- package/dist/actions/games-reddit-read.mjs.map +1 -1
- package/dist/actions/games-screenshots-list.cjs +3 -3
- package/dist/actions/games-screenshots-list.cjs.map +1 -1
- package/dist/actions/games-screenshots-list.d.cts +24 -3
- package/dist/actions/games-screenshots-list.d.cts.map +1 -1
- package/dist/actions/games-screenshots-list.d.mts +24 -3
- package/dist/actions/games-screenshots-list.d.mts.map +1 -1
- package/dist/actions/games-screenshots-list.mjs +3 -3
- package/dist/actions/games-screenshots-list.mjs.map +1 -1
- package/dist/actions/games-stores-list.cjs +4 -4
- package/dist/actions/games-stores-list.cjs.map +1 -1
- package/dist/actions/games-stores-list.d.cts +31 -3
- package/dist/actions/games-stores-list.d.cts.map +1 -1
- package/dist/actions/games-stores-list.d.mts +31 -3
- package/dist/actions/games-stores-list.d.mts.map +1 -1
- package/dist/actions/games-stores-list.mjs +4 -4
- package/dist/actions/games-stores-list.mjs.map +1 -1
- package/dist/actions/genres-list.cjs +7 -7
- package/dist/actions/genres-list.cjs.map +1 -1
- package/dist/actions/genres-list.d.cts +22 -3
- package/dist/actions/genres-list.d.cts.map +1 -1
- package/dist/actions/genres-list.d.mts +22 -3
- package/dist/actions/genres-list.d.mts.map +1 -1
- package/dist/actions/genres-list.mjs +7 -7
- package/dist/actions/genres-list.mjs.map +1 -1
- package/dist/actions/genres-read.cjs +5 -5
- package/dist/actions/genres-read.cjs.map +1 -1
- package/dist/actions/genres-read.d.cts +14 -3
- package/dist/actions/genres-read.d.cts.map +1 -1
- package/dist/actions/genres-read.d.mts +14 -3
- package/dist/actions/genres-read.d.mts.map +1 -1
- package/dist/actions/genres-read.mjs +5 -5
- package/dist/actions/genres-read.mjs.map +1 -1
- package/dist/actions/platforms-list.cjs +7 -7
- package/dist/actions/platforms-list.cjs.map +1 -1
- package/dist/actions/platforms-list.d.cts +25 -3
- package/dist/actions/platforms-list.d.cts.map +1 -1
- package/dist/actions/platforms-list.d.mts +25 -3
- package/dist/actions/platforms-list.d.mts.map +1 -1
- package/dist/actions/platforms-list.mjs +7 -7
- package/dist/actions/platforms-list.mjs.map +1 -1
- package/dist/actions/platforms-lists-parents-list.cjs +10 -10
- package/dist/actions/platforms-lists-parents-list.cjs.map +1 -1
- package/dist/actions/platforms-lists-parents-list.d.cts +25 -3
- package/dist/actions/platforms-lists-parents-list.d.cts.map +1 -1
- package/dist/actions/platforms-lists-parents-list.d.mts +25 -3
- package/dist/actions/platforms-lists-parents-list.d.mts.map +1 -1
- package/dist/actions/platforms-lists-parents-list.mjs +10 -10
- package/dist/actions/platforms-lists-parents-list.mjs.map +1 -1
- package/dist/actions/platforms-read.cjs +6 -6
- package/dist/actions/platforms-read.cjs.map +1 -1
- package/dist/actions/platforms-read.d.cts +17 -3
- package/dist/actions/platforms-read.d.cts.map +1 -1
- package/dist/actions/platforms-read.d.mts +17 -3
- package/dist/actions/platforms-read.d.mts.map +1 -1
- package/dist/actions/platforms-read.mjs +6 -6
- package/dist/actions/platforms-read.mjs.map +1 -1
- package/dist/actions/publishers-list.cjs +7 -7
- package/dist/actions/publishers-list.cjs.map +1 -1
- package/dist/actions/publishers-list.d.cts +20 -3
- package/dist/actions/publishers-list.d.cts.map +1 -1
- package/dist/actions/publishers-list.d.mts +20 -3
- package/dist/actions/publishers-list.d.mts.map +1 -1
- package/dist/actions/publishers-list.mjs +7 -7
- package/dist/actions/publishers-list.mjs.map +1 -1
- package/dist/actions/publishers-read.cjs +5 -5
- package/dist/actions/publishers-read.cjs.map +1 -1
- package/dist/actions/publishers-read.d.cts +14 -3
- package/dist/actions/publishers-read.d.cts.map +1 -1
- package/dist/actions/publishers-read.d.mts +14 -3
- package/dist/actions/publishers-read.d.mts.map +1 -1
- package/dist/actions/publishers-read.mjs +5 -5
- package/dist/actions/publishers-read.mjs.map +1 -1
- package/dist/actions/stores-list.cjs +8 -8
- package/dist/actions/stores-list.cjs.map +1 -1
- package/dist/actions/stores-list.d.cts +23 -3
- package/dist/actions/stores-list.d.cts.map +1 -1
- package/dist/actions/stores-list.d.mts +23 -3
- package/dist/actions/stores-list.d.mts.map +1 -1
- package/dist/actions/stores-list.mjs +8 -8
- package/dist/actions/stores-list.mjs.map +1 -1
- package/dist/actions/stores-read.cjs +5 -5
- package/dist/actions/stores-read.cjs.map +1 -1
- package/dist/actions/stores-read.d.cts +15 -3
- package/dist/actions/stores-read.d.cts.map +1 -1
- package/dist/actions/stores-read.d.mts +15 -3
- package/dist/actions/stores-read.d.mts.map +1 -1
- package/dist/actions/stores-read.mjs +5 -5
- package/dist/actions/stores-read.mjs.map +1 -1
- package/dist/actions/tags-list.cjs +7 -7
- package/dist/actions/tags-list.cjs.map +1 -1
- package/dist/actions/tags-list.d.cts +21 -3
- package/dist/actions/tags-list.d.cts.map +1 -1
- package/dist/actions/tags-list.d.mts +21 -3
- package/dist/actions/tags-list.d.mts.map +1 -1
- package/dist/actions/tags-list.mjs +7 -7
- package/dist/actions/tags-list.mjs.map +1 -1
- package/dist/actions/tags-read.cjs +5 -5
- package/dist/actions/tags-read.cjs.map +1 -1
- package/dist/actions/tags-read.d.cts +14 -3
- package/dist/actions/tags-read.d.cts.map +1 -1
- package/dist/actions/tags-read.d.mts +14 -3
- package/dist/actions/tags-read.d.mts.map +1 -1
- package/dist/actions/tags-read.mjs +5 -5
- package/dist/actions/tags-read.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/genres-read.ts
|
|
4
4
|
const RawgVideoGamesDatabaseGenresReadInput = zod.z.object({ id: zod.z.number().int().describe("A unique integer value identifying the Genre.") }).describe("Request model for retrieving a specific genre's details.");
|
|
5
5
|
const RawgVideoGamesDatabaseGenresReadOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the genre."),
|
|
7
|
-
name: zod.z.string().describe("Genre name (e.g., 'Action', 'Adventure')."),
|
|
8
|
-
slug: zod.z.string().describe("URL-friendly slug for the genre (e.g., 'action')."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the genre.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Genre name (e.g., 'Action', 'Adventure').").nullable(),
|
|
8
|
+
slug: zod.z.string().describe("URL-friendly slug for the genre (e.g., 'action').").nullable(),
|
|
9
9
|
description: zod.z.string().describe("Detailed text description of the genre.").nullable().optional(),
|
|
10
|
-
games_count: zod.z.number().int().describe("Total number of games in this genre."),
|
|
10
|
+
games_count: zod.z.number().int().describe("Total number of games in this genre.").nullable(),
|
|
11
11
|
image_background: zod.z.string().describe("URL to a representative background image for the genre.").nullable().optional()
|
|
12
|
-
}).describe("Response model for genre details.");
|
|
12
|
+
}).passthrough().describe("Response model for genre details.");
|
|
13
13
|
const rawgVideoGamesDatabaseGenresRead = require_action.action("RAWG_VIDEO_GAMES_DATABASE_GENRES_READ", {
|
|
14
14
|
slug: "rawg_video_games_database-genres-read",
|
|
15
15
|
name: "Get Genre Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genres-read.cjs","names":["z","action"],"sources":["../../src/actions/genres-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGenresReadInput
|
|
1
|
+
{"version":3,"file":"genres-read.cjs","names":["z","action"],"sources":["../../src/actions/genres-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGenresReadInput = z.object({\n id: z.number().int().describe(\"A unique integer value identifying the Genre.\"),\n}).describe(\"Request model for retrieving a specific genre's details.\");\nexport const RawgVideoGamesDatabaseGenresReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the genre.\").nullable(),\n name: z.string().describe(\"Genre name (e.g., 'Action', 'Adventure').\").nullable(),\n slug: z.string().describe(\"URL-friendly slug for the genre (e.g., 'action').\").nullable(),\n description: z.string().describe(\"Detailed text description of the genre.\").nullable().optional(),\n games_count: z.number().int().describe(\"Total number of games in this genre.\").nullable(),\n image_background: z.string().describe(\"URL to a representative background image for the genre.\").nullable().optional(),\n}).passthrough().describe(\"Response model for genre details.\");\n\nexport const rawgVideoGamesDatabaseGenresRead = action(\"RAWG_VIDEO_GAMES_DATABASE_GENRES_READ\", {\n slug: \"rawg_video_games_database-genres-read\",\n name: \"Get Genre Details\",\n description: \"Tool to get details of a specific video game genre. Use when you need information about a particular genre including its name, description, and game count.\",\n input: RawgVideoGamesDatabaseGenresReadInput,\n output: RawgVideoGamesDatabaseGenresReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/genres-read.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabaseGenresReadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabaseGenresReadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RawgVideoGamesDatabaseGenresReadOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
games_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
image_background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const rawgVideoGamesDatabaseGenresRead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
id: number;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { rawgVideoGamesDatabaseGenresRead };
|
|
9
20
|
//# sourceMappingURL=genres-read.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genres-read.d.cts","names":[],"sources":["../../src/actions/genres-read.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"genres-read.d.cts","names":[],"sources":["../../src/actions/genres-read.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/genres-read.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabaseGenresReadInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabaseGenresReadInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RawgVideoGamesDatabaseGenresReadOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
games_count: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
image_background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const rawgVideoGamesDatabaseGenresRead: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
id: number;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { rawgVideoGamesDatabaseGenresRead };
|
|
9
20
|
//# sourceMappingURL=genres-read.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genres-read.d.mts","names":[],"sources":["../../src/actions/genres-read.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"genres-read.d.mts","names":[],"sources":["../../src/actions/genres-read.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -6,13 +6,13 @@ const rawgVideoGamesDatabaseGenresRead = action("RAWG_VIDEO_GAMES_DATABASE_GENRE
|
|
|
6
6
|
description: "Tool to get details of a specific video game genre. Use when you need information about a particular genre including its name, description, and game count.",
|
|
7
7
|
input: z.object({ id: z.number().int().describe("A unique integer value identifying the Genre.") }).describe("Request model for retrieving a specific genre's details."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier for the genre."),
|
|
10
|
-
name: z.string().describe("Genre name (e.g., 'Action', 'Adventure')."),
|
|
11
|
-
slug: z.string().describe("URL-friendly slug for the genre (e.g., 'action')."),
|
|
9
|
+
id: z.number().int().describe("Unique identifier for the genre.").nullable(),
|
|
10
|
+
name: z.string().describe("Genre name (e.g., 'Action', 'Adventure').").nullable(),
|
|
11
|
+
slug: z.string().describe("URL-friendly slug for the genre (e.g., 'action').").nullable(),
|
|
12
12
|
description: z.string().describe("Detailed text description of the genre.").nullable().optional(),
|
|
13
|
-
games_count: z.number().int().describe("Total number of games in this genre."),
|
|
13
|
+
games_count: z.number().int().describe("Total number of games in this genre.").nullable(),
|
|
14
14
|
image_background: z.string().describe("URL to a representative background image for the genre.").nullable().optional()
|
|
15
|
-
}).describe("Response model for genre details.")
|
|
15
|
+
}).passthrough().describe("Response model for genre details.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { rawgVideoGamesDatabaseGenresRead };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genres-read.mjs","names":[],"sources":["../../src/actions/genres-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGenresReadInput
|
|
1
|
+
{"version":3,"file":"genres-read.mjs","names":[],"sources":["../../src/actions/genres-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabaseGenresReadInput = z.object({\n id: z.number().int().describe(\"A unique integer value identifying the Genre.\"),\n}).describe(\"Request model for retrieving a specific genre's details.\");\nexport const RawgVideoGamesDatabaseGenresReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the genre.\").nullable(),\n name: z.string().describe(\"Genre name (e.g., 'Action', 'Adventure').\").nullable(),\n slug: z.string().describe(\"URL-friendly slug for the genre (e.g., 'action').\").nullable(),\n description: z.string().describe(\"Detailed text description of the genre.\").nullable().optional(),\n games_count: z.number().int().describe(\"Total number of games in this genre.\").nullable(),\n image_background: z.string().describe(\"URL to a representative background image for the genre.\").nullable().optional(),\n}).passthrough().describe(\"Response model for genre details.\");\n\nexport const rawgVideoGamesDatabaseGenresRead = action(\"RAWG_VIDEO_GAMES_DATABASE_GENRES_READ\", {\n slug: \"rawg_video_games_database-genres-read\",\n name: \"Get Genre Details\",\n description: \"Tool to get details of a specific video game genre. Use when you need information about a particular genre including its name, description, and game count.\",\n input: RawgVideoGamesDatabaseGenresReadInput,\n output: RawgVideoGamesDatabaseGenresReadOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EAC/E,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
|
|
@@ -7,21 +7,21 @@ const RawgVideoGamesDatabasePlatformsListInput = zod.z.object({
|
|
|
7
7
|
page_size: zod.z.number().int().describe("Number of results to return per page. Maximum value is 40, default is 20.").optional()
|
|
8
8
|
}).describe("Request model for listing video game platforms with optional pagination and ordering.");
|
|
9
9
|
const RawgVideoGamesDatabasePlatformsList_PlatformSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique platform identifier."),
|
|
11
|
-
name: zod.z.string().describe("Platform name (e.g., PlayStation 4, PC)."),
|
|
12
|
-
slug: zod.z.string().describe("URL-friendly identifier (e.g., playstation4, pc)."),
|
|
10
|
+
id: zod.z.number().int().describe("Unique platform identifier.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Platform name (e.g., PlayStation 4, PC).").nullable(),
|
|
12
|
+
slug: zod.z.string().describe("URL-friendly identifier (e.g., playstation4, pc).").nullable(),
|
|
13
13
|
image: zod.z.string().describe("URL to the platform image/logo.").nullable().optional(),
|
|
14
14
|
year_end: zod.z.number().int().describe("Platform discontinuation year (end), null if still active.").nullable().optional(),
|
|
15
15
|
year_start: zod.z.number().int().describe("Platform release year (start).").nullable().optional(),
|
|
16
|
-
games_count: zod.z.number().int().describe("Number of games available on this platform."),
|
|
16
|
+
games_count: zod.z.number().int().describe("Number of games available on this platform.").nullable(),
|
|
17
17
|
image_background: zod.z.string().describe("URL to the background image for the platform.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single video game platform.");
|
|
18
|
+
}).passthrough().describe("Model representing a single video game platform.");
|
|
19
19
|
const RawgVideoGamesDatabasePlatformsListOutput = zod.z.object({
|
|
20
20
|
next: zod.z.string().describe("URL to the next page of results, null if no next page.").nullable().optional(),
|
|
21
|
-
count: zod.z.number().int().describe("Total number of platforms in the database."),
|
|
21
|
+
count: zod.z.number().int().describe("Total number of platforms in the database.").nullable(),
|
|
22
22
|
results: zod.z.array(RawgVideoGamesDatabasePlatformsList_PlatformSchema).describe("Array of platform objects."),
|
|
23
23
|
previous: zod.z.string().describe("URL to the previous page of results, null if no previous page.").nullable().optional()
|
|
24
|
-
}).describe("Response model for listing video game platforms with pagination.");
|
|
24
|
+
}).passthrough().describe("Response model for listing video game platforms with pagination.");
|
|
25
25
|
const rawgVideoGamesDatabasePlatformsList = require_action.action("RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LIST", {
|
|
26
26
|
slug: "rawg_video_games_database-platforms-list",
|
|
27
27
|
name: "List Video Game Platforms",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-list.cjs","names":["z","action"],"sources":["../../src/actions/platforms-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListInput
|
|
1
|
+
{"version":3,"file":"platforms-list.cjs","names":["z","action"],"sources":["../../src/actions/platforms-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListInput = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set. Must be >= 1.\").optional(),\n ordering: z.string().describe(\"Which field to use when ordering the results. Available options: name, -name, games_count, -games_count. Prefix with minus sign (-) for descending order.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Maximum value is 40, default is 20.\").optional(),\n}).describe(\"Request model for listing video game platforms with optional pagination and ordering.\");\nconst RawgVideoGamesDatabasePlatformsList_PlatformSchema = z.object({\n id: z.number().int().describe(\"Unique platform identifier.\").nullable(),\n name: z.string().describe(\"Platform name (e.g., PlayStation 4, PC).\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier (e.g., playstation4, pc).\").nullable(),\n image: z.string().describe(\"URL to the platform image/logo.\").nullable().optional(),\n year_end: z.number().int().describe(\"Platform discontinuation year (end), null if still active.\").nullable().optional(),\n year_start: z.number().int().describe(\"Platform release year (start).\").nullable().optional(),\n games_count: z.number().int().describe(\"Number of games available on this platform.\").nullable(),\n image_background: z.string().describe(\"URL to the background image for the platform.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single video game platform.\");\nexport const RawgVideoGamesDatabasePlatformsListOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no next page.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of platforms in the database.\").nullable(),\n results: z.array(RawgVideoGamesDatabasePlatformsList_PlatformSchema).describe(\"Array of platform objects.\"),\n previous: z.string().describe(\"URL to the previous page of results, null if no previous page.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing video game platforms with pagination.\");\n\nexport const rawgVideoGamesDatabasePlatformsList = action(\"RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LIST\", {\n slug: \"rawg_video_games_database-platforms-list\",\n name: \"List Video Game Platforms\",\n description: \"Tool to get a list of video game platforms from RAWG database. Use when you need to browse available gaming platforms from PC to mobile. Supports pagination and custom ordering.\",\n input: RawgVideoGamesDatabasePlatformsListInput,\n output: RawgVideoGamesDatabasePlatformsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACpM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4BAA4B;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/platforms-list.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabasePlatformsListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabasePlatformsListInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ordering: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RawgVideoGamesDatabasePlatformsListOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
year_end: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
year_start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
games_count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
image_background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rawgVideoGamesDatabasePlatformsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
ordering?: string | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { rawgVideoGamesDatabasePlatformsList };
|
|
9
31
|
//# sourceMappingURL=platforms-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-list.d.cts","names":[],"sources":["../../src/actions/platforms-list.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"platforms-list.d.cts","names":[],"sources":["../../src/actions/platforms-list.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAexC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/platforms-list.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabasePlatformsListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabasePlatformsListInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ordering: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RawgVideoGamesDatabasePlatformsListOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
year_end: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
year_start: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
games_count: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
image_background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rawgVideoGamesDatabasePlatformsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
ordering?: string | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { rawgVideoGamesDatabasePlatformsList };
|
|
9
31
|
//# sourceMappingURL=platforms-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-list.d.mts","names":[],"sources":["../../src/actions/platforms-list.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"platforms-list.d.mts","names":[],"sources":["../../src/actions/platforms-list.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;cAexC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -7,15 +7,15 @@ const RawgVideoGamesDatabasePlatformsListInput = z.object({
|
|
|
7
7
|
page_size: z.number().int().describe("Number of results to return per page. Maximum value is 40, default is 20.").optional()
|
|
8
8
|
}).describe("Request model for listing video game platforms with optional pagination and ordering.");
|
|
9
9
|
const RawgVideoGamesDatabasePlatformsList_PlatformSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique platform identifier."),
|
|
11
|
-
name: z.string().describe("Platform name (e.g., PlayStation 4, PC)."),
|
|
12
|
-
slug: z.string().describe("URL-friendly identifier (e.g., playstation4, pc)."),
|
|
10
|
+
id: z.number().int().describe("Unique platform identifier.").nullable(),
|
|
11
|
+
name: z.string().describe("Platform name (e.g., PlayStation 4, PC).").nullable(),
|
|
12
|
+
slug: z.string().describe("URL-friendly identifier (e.g., playstation4, pc).").nullable(),
|
|
13
13
|
image: z.string().describe("URL to the platform image/logo.").nullable().optional(),
|
|
14
14
|
year_end: z.number().int().describe("Platform discontinuation year (end), null if still active.").nullable().optional(),
|
|
15
15
|
year_start: z.number().int().describe("Platform release year (start).").nullable().optional(),
|
|
16
|
-
games_count: z.number().int().describe("Number of games available on this platform."),
|
|
16
|
+
games_count: z.number().int().describe("Number of games available on this platform.").nullable(),
|
|
17
17
|
image_background: z.string().describe("URL to the background image for the platform.").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single video game platform.");
|
|
18
|
+
}).passthrough().describe("Model representing a single video game platform.");
|
|
19
19
|
const rawgVideoGamesDatabasePlatformsList = action("RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LIST", {
|
|
20
20
|
slug: "rawg_video_games_database-platforms-list",
|
|
21
21
|
name: "List Video Game Platforms",
|
|
@@ -23,10 +23,10 @@ const rawgVideoGamesDatabasePlatformsList = action("RAWG_VIDEO_GAMES_DATABASE_PL
|
|
|
23
23
|
input: RawgVideoGamesDatabasePlatformsListInput,
|
|
24
24
|
output: z.object({
|
|
25
25
|
next: z.string().describe("URL to the next page of results, null if no next page.").nullable().optional(),
|
|
26
|
-
count: z.number().int().describe("Total number of platforms in the database."),
|
|
26
|
+
count: z.number().int().describe("Total number of platforms in the database.").nullable(),
|
|
27
27
|
results: z.array(RawgVideoGamesDatabasePlatformsList_PlatformSchema).describe("Array of platform objects."),
|
|
28
28
|
previous: z.string().describe("URL to the previous page of results, null if no previous page.").nullable().optional()
|
|
29
|
-
}).describe("Response model for listing video game platforms with pagination.")
|
|
29
|
+
}).passthrough().describe("Response model for listing video game platforms with pagination.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { rawgVideoGamesDatabasePlatformsList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-list.mjs","names":[],"sources":["../../src/actions/platforms-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListInput
|
|
1
|
+
{"version":3,"file":"platforms-list.mjs","names":[],"sources":["../../src/actions/platforms-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListInput = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set. Must be >= 1.\").optional(),\n ordering: z.string().describe(\"Which field to use when ordering the results. Available options: name, -name, games_count, -games_count. Prefix with minus sign (-) for descending order.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Maximum value is 40, default is 20.\").optional(),\n}).describe(\"Request model for listing video game platforms with optional pagination and ordering.\");\nconst RawgVideoGamesDatabasePlatformsList_PlatformSchema = z.object({\n id: z.number().int().describe(\"Unique platform identifier.\").nullable(),\n name: z.string().describe(\"Platform name (e.g., PlayStation 4, PC).\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier (e.g., playstation4, pc).\").nullable(),\n image: z.string().describe(\"URL to the platform image/logo.\").nullable().optional(),\n year_end: z.number().int().describe(\"Platform discontinuation year (end), null if still active.\").nullable().optional(),\n year_start: z.number().int().describe(\"Platform release year (start).\").nullable().optional(),\n games_count: z.number().int().describe(\"Number of games available on this platform.\").nullable(),\n image_background: z.string().describe(\"URL to the background image for the platform.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single video game platform.\");\nexport const RawgVideoGamesDatabasePlatformsListOutput = z.object({\n next: z.string().describe(\"URL to the next page of results, null if no next page.\").nullable().optional(),\n count: z.number().int().describe(\"Total number of platforms in the database.\").nullable(),\n results: z.array(RawgVideoGamesDatabasePlatformsList_PlatformSchema).describe(\"Array of platform objects.\"),\n previous: z.string().describe(\"URL to the previous page of results, null if no previous page.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing video game platforms with pagination.\");\n\nexport const rawgVideoGamesDatabasePlatformsList = action(\"RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LIST\", {\n slug: \"rawg_video_games_database-platforms-list\",\n name: \"List Video Game Platforms\",\n description: \"Tool to get a list of video game platforms from RAWG database. Use when you need to browse available gaming platforms from PC to mobile. Supports pagination and custom ordering.\",\n input: RawgVideoGamesDatabasePlatformsListInput,\n output: RawgVideoGamesDatabasePlatformsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACpM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAQ5E,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4BAA4B;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -7,22 +7,22 @@ const RawgVideoGamesDatabasePlatformsListsParentsListInput = zod.z.object({
|
|
|
7
7
|
page_size: zod.z.number().int().describe("Number of results to return per page. Default is 20, maximum is 40.").optional()
|
|
8
8
|
}).describe("Request model for listing parent platforms with optional pagination and ordering.");
|
|
9
9
|
const RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique identifier for the platform."),
|
|
11
|
-
name: zod.z.string().describe("Platform name."),
|
|
12
|
-
slug: zod.z.string().describe("URL-friendly identifier for the platform.")
|
|
13
|
-
}).describe("Model representing a child platform belonging to a parent platform.");
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier for the platform.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Platform name.").nullable(),
|
|
12
|
+
slug: zod.z.string().describe("URL-friendly identifier for the platform.").nullable()
|
|
13
|
+
}).passthrough().describe("Model representing a child platform belonging to a parent platform.");
|
|
14
14
|
const RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema = zod.z.object({
|
|
15
|
-
id: zod.z.number().int().describe("Unique identifier for the parent platform."),
|
|
16
|
-
name: zod.z.string().describe("Name of the parent platform (e.g., PlayStation, Xbox, PC)."),
|
|
17
|
-
slug: zod.z.string().describe("URL-friendly identifier for the parent platform."),
|
|
15
|
+
id: zod.z.number().int().describe("Unique identifier for the parent platform.").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Name of the parent platform (e.g., PlayStation, Xbox, PC).").nullable(),
|
|
17
|
+
slug: zod.z.string().describe("URL-friendly identifier for the parent platform.").nullable(),
|
|
18
18
|
platforms: zod.z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema).describe("List of child platforms belonging to this parent platform.")
|
|
19
|
-
}).describe("Model representing a parent platform with its child platforms.");
|
|
19
|
+
}).passthrough().describe("Model representing a parent platform with its child platforms.");
|
|
20
20
|
const RawgVideoGamesDatabasePlatformsListsParentsListOutput = zod.z.object({
|
|
21
21
|
next: zod.z.string().describe("URL pointing to the next page of results.").nullable().optional(),
|
|
22
|
-
count: zod.z.number().int().describe("Total number of parent platforms available in the database."),
|
|
22
|
+
count: zod.z.number().int().describe("Total number of parent platforms available in the database.").nullable(),
|
|
23
23
|
results: zod.z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema).describe("Array of parent platform objects."),
|
|
24
24
|
previous: zod.z.string().describe("URL pointing to the previous page of results.").nullable().optional()
|
|
25
|
-
}).describe("Response model for listing parent platforms. Returns a paginated result.");
|
|
25
|
+
}).passthrough().describe("Response model for listing parent platforms. Returns a paginated result.");
|
|
26
26
|
const rawgVideoGamesDatabasePlatformsListsParentsList = require_action.action("RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LISTS_PARENTS_LIST", {
|
|
27
27
|
slug: "rawg_video_games_database-platforms-lists-parents-list",
|
|
28
28
|
name: "List Parent Platforms",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-lists-parents-list.cjs","names":["z","action"],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListsParentsListInput
|
|
1
|
+
{"version":3,"file":"platforms-lists-parents-list.cjs","names":["z","action"],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListsParentsListInput = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set.\").optional(),\n ordering: z.string().describe(\"Field to use when ordering the results.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Default is 20, maximum is 40.\").optional(),\n}).describe(\"Request model for listing parent platforms with optional pagination and ordering.\");\nconst RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the platform.\").nullable(),\n name: z.string().describe(\"Platform name.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the platform.\").nullable(),\n}).passthrough().describe(\"Model representing a child platform belonging to a parent platform.\");\nconst RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the parent platform.\").nullable(),\n name: z.string().describe(\"Name of the parent platform (e.g., PlayStation, Xbox, PC).\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the parent platform.\").nullable(),\n platforms: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema).describe(\"List of child platforms belonging to this parent platform.\"),\n}).passthrough().describe(\"Model representing a parent platform with its child platforms.\");\nexport const RawgVideoGamesDatabasePlatformsListsParentsListOutput = 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 parent platforms available in the database.\").nullable(),\n results: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema).describe(\"Array of parent platform objects.\"),\n previous: z.string().describe(\"URL pointing to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing parent platforms. Returns a paginated result.\");\n\nexport const rawgVideoGamesDatabasePlatformsListsParentsList = action(\"RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LISTS_PARENTS_LIST\", {\n slug: \"rawg_video_games_database-platforms-lists-parents-list\",\n name: \"List Parent Platforms\",\n description: \"Tool to get a list of parent platforms from RAWG database. Use when you need to browse platform families like PlayStation, Xbox, or PC that group related gaming platforms together. For instance, PlayStation groups PS1, PS2, PS3, PS4, and PS5.\",\n input: RawgVideoGamesDatabasePlatformsListsParentsListInput,\n output: RawgVideoGamesDatabasePlatformsListsParentsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,sEAAsEA,IAAAA,EAAE,OAAO;CACnF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,uEAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,MAAM,mEAAmE,CAAC,CAAC,SAAS,4DAA4D;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,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,6DAA6D,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,mCAAmC;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,kDAAkDC,eAAAA,OAAO,0DAA0D;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/platforms-lists-parents-list.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabasePlatformsListsParentsListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabasePlatformsListsParentsListInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ordering: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RawgVideoGamesDatabasePlatformsListsParentsListOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
platforms: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rawgVideoGamesDatabasePlatformsListsParentsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
ordering?: string | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { rawgVideoGamesDatabasePlatformsListsParentsList };
|
|
9
31
|
//# sourceMappingURL=platforms-lists-parents-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-lists-parents-list.d.cts","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"mappings":";;;cAIa,oDAAA,
|
|
1
|
+
{"version":3,"file":"platforms-lists-parents-list.d.cts","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"mappings":";;;cAIa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;cAgBpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrD,+CAAA,gCAA+C,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/platforms-lists-parents-list.d.ts
|
|
4
|
-
declare const RawgVideoGamesDatabasePlatformsListsParentsListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RawgVideoGamesDatabasePlatformsListsParentsListInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ordering: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RawgVideoGamesDatabasePlatformsListsParentsListOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
platforms: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rawgVideoGamesDatabasePlatformsListsParentsList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
page?: number | undefined;
|
|
26
|
+
ordering?: string | undefined;
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { rawgVideoGamesDatabasePlatformsListsParentsList };
|
|
9
31
|
//# sourceMappingURL=platforms-lists-parents-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-lists-parents-list.d.mts","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"mappings":";;;cAIa,oDAAA,
|
|
1
|
+
{"version":3,"file":"platforms-lists-parents-list.d.mts","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"mappings":";;;cAIa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;cAgBpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOrD,+CAAA,gCAA+C,wBAAA"}
|
|
@@ -7,16 +7,16 @@ const RawgVideoGamesDatabasePlatformsListsParentsListInput = z.object({
|
|
|
7
7
|
page_size: z.number().int().describe("Number of results to return per page. Default is 20, maximum is 40.").optional()
|
|
8
8
|
}).describe("Request model for listing parent platforms with optional pagination and ordering.");
|
|
9
9
|
const RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique identifier for the platform."),
|
|
11
|
-
name: z.string().describe("Platform name."),
|
|
12
|
-
slug: z.string().describe("URL-friendly identifier for the platform.")
|
|
13
|
-
}).describe("Model representing a child platform belonging to a parent platform.");
|
|
10
|
+
id: z.number().int().describe("Unique identifier for the platform.").nullable(),
|
|
11
|
+
name: z.string().describe("Platform name.").nullable(),
|
|
12
|
+
slug: z.string().describe("URL-friendly identifier for the platform.").nullable()
|
|
13
|
+
}).passthrough().describe("Model representing a child platform belonging to a parent platform.");
|
|
14
14
|
const RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema = z.object({
|
|
15
|
-
id: z.number().int().describe("Unique identifier for the parent platform."),
|
|
16
|
-
name: z.string().describe("Name of the parent platform (e.g., PlayStation, Xbox, PC)."),
|
|
17
|
-
slug: z.string().describe("URL-friendly identifier for the parent platform."),
|
|
15
|
+
id: z.number().int().describe("Unique identifier for the parent platform.").nullable(),
|
|
16
|
+
name: z.string().describe("Name of the parent platform (e.g., PlayStation, Xbox, PC).").nullable(),
|
|
17
|
+
slug: z.string().describe("URL-friendly identifier for the parent platform.").nullable(),
|
|
18
18
|
platforms: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema).describe("List of child platforms belonging to this parent platform.")
|
|
19
|
-
}).describe("Model representing a parent platform with its child platforms.");
|
|
19
|
+
}).passthrough().describe("Model representing a parent platform with its child platforms.");
|
|
20
20
|
const rawgVideoGamesDatabasePlatformsListsParentsList = action("RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LISTS_PARENTS_LIST", {
|
|
21
21
|
slug: "rawg_video_games_database-platforms-lists-parents-list",
|
|
22
22
|
name: "List Parent Platforms",
|
|
@@ -24,10 +24,10 @@ const rawgVideoGamesDatabasePlatformsListsParentsList = action("RAWG_VIDEO_GAMES
|
|
|
24
24
|
input: RawgVideoGamesDatabasePlatformsListsParentsListInput,
|
|
25
25
|
output: z.object({
|
|
26
26
|
next: z.string().describe("URL pointing to the next page of results.").nullable().optional(),
|
|
27
|
-
count: z.number().int().describe("Total number of parent platforms available in the database."),
|
|
27
|
+
count: z.number().int().describe("Total number of parent platforms available in the database.").nullable(),
|
|
28
28
|
results: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema).describe("Array of parent platform objects."),
|
|
29
29
|
previous: z.string().describe("URL pointing to the previous page of results.").nullable().optional()
|
|
30
|
-
}).describe("Response model for listing parent platforms. Returns a paginated result.")
|
|
30
|
+
}).passthrough().describe("Response model for listing parent platforms. Returns a paginated result.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { rawgVideoGamesDatabasePlatformsListsParentsList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-lists-parents-list.mjs","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListsParentsListInput
|
|
1
|
+
{"version":3,"file":"platforms-lists-parents-list.mjs","names":[],"sources":["../../src/actions/platforms-lists-parents-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsListsParentsListInput = z.object({\n page: z.number().int().describe(\"A page number within the paginated result set.\").optional(),\n ordering: z.string().describe(\"Field to use when ordering the results.\").optional(),\n page_size: z.number().int().describe(\"Number of results to return per page. Default is 20, maximum is 40.\").optional(),\n}).describe(\"Request model for listing parent platforms with optional pagination and ordering.\");\nconst RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the platform.\").nullable(),\n name: z.string().describe(\"Platform name.\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the platform.\").nullable(),\n}).passthrough().describe(\"Model representing a child platform belonging to a parent platform.\");\nconst RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the parent platform.\").nullable(),\n name: z.string().describe(\"Name of the parent platform (e.g., PlayStation, Xbox, PC).\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the parent platform.\").nullable(),\n platforms: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ChildPlatformSchema).describe(\"List of child platforms belonging to this parent platform.\"),\n}).passthrough().describe(\"Model representing a parent platform with its child platforms.\");\nexport const RawgVideoGamesDatabasePlatformsListsParentsListOutput = 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 parent platforms available in the database.\").nullable(),\n results: z.array(RawgVideoGamesDatabasePlatformsListsParentsList_ParentPlatformSchema).describe(\"Array of parent platform objects.\"),\n previous: z.string().describe(\"URL pointing to the previous page of results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing parent platforms. Returns a paginated result.\");\n\nexport const rawgVideoGamesDatabasePlatformsListsParentsList = action(\"RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_LISTS_PARENTS_LIST\", {\n slug: \"rawg_video_games_database-platforms-lists-parents-list\",\n name: \"List Parent Platforms\",\n description: \"Tool to get a list of parent platforms from RAWG database. Use when you need to browse platform families like PlayStation, Xbox, or PC that group related gaming platforms together. For instance, PlayStation groups PS1, PS2, PS3, PS4, and PS5.\",\n input: RawgVideoGamesDatabasePlatformsListsParentsListInput,\n output: RawgVideoGamesDatabasePlatformsListsParentsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uDAAuD,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,sEAAsE,EAAE,OAAO;CACnF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,uEAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,MAAM,mEAAmE,CAAC,CAAC,SAAS,4DAA4D;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAQ1F,MAAa,kDAAkD,OAAO,0DAA0D;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmE,EAAE,OAAO;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,mCAAmC;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/platforms-read.ts
|
|
4
4
|
const RawgVideoGamesDatabasePlatformsReadInput = zod.z.object({ id: zod.z.number().int().describe("A unique integer value identifying the Platform.") }).describe("Request model for retrieving details of a specific gaming platform.");
|
|
5
5
|
const RawgVideoGamesDatabasePlatformsReadOutput = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier for the platform."),
|
|
7
|
-
name: zod.z.string().describe("Platform name (e.g., 'PC', 'PlayStation 4')."),
|
|
8
|
-
slug: zod.z.string().describe("URL-friendly identifier for the platform (e.g., 'pc')."),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the platform.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Platform name (e.g., 'PC', 'PlayStation 4').").nullable(),
|
|
8
|
+
slug: zod.z.string().describe("URL-friendly identifier for the platform (e.g., 'pc').").nullable(),
|
|
9
9
|
image: zod.z.string().describe("Platform image URI.").nullable().optional(),
|
|
10
10
|
year_end: zod.z.number().int().describe("Year the platform was discontinued.").nullable().optional(),
|
|
11
11
|
year_start: zod.z.number().int().describe("Year the platform was launched.").nullable().optional(),
|
|
12
12
|
description: zod.z.string().describe("Detailed description of the platform.").nullable().optional(),
|
|
13
|
-
games_count: zod.z.number().int().describe("Total number of games available on this platform."),
|
|
14
|
-
image_background: zod.z.string().describe("Background image URI for the platform.")
|
|
15
|
-
}).describe("Response model for platform details.");
|
|
13
|
+
games_count: zod.z.number().int().describe("Total number of games available on this platform.").nullable(),
|
|
14
|
+
image_background: zod.z.string().describe("Background image URI for the platform.").nullable()
|
|
15
|
+
}).passthrough().describe("Response model for platform details.");
|
|
16
16
|
const rawgVideoGamesDatabasePlatformsRead = require_action.action("RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_READ", {
|
|
17
17
|
slug: "rawg_video_games_database-platforms-read",
|
|
18
18
|
name: "Get Platform Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platforms-read.cjs","names":["z","action"],"sources":["../../src/actions/platforms-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsReadInput
|
|
1
|
+
{"version":3,"file":"platforms-read.cjs","names":["z","action"],"sources":["../../src/actions/platforms-read.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RawgVideoGamesDatabasePlatformsReadInput = z.object({\n id: z.number().int().describe(\"A unique integer value identifying the Platform.\"),\n}).describe(\"Request model for retrieving details of a specific gaming platform.\");\nexport const RawgVideoGamesDatabasePlatformsReadOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the platform.\").nullable(),\n name: z.string().describe(\"Platform name (e.g., 'PC', 'PlayStation 4').\").nullable(),\n slug: z.string().describe(\"URL-friendly identifier for the platform (e.g., 'pc').\").nullable(),\n image: z.string().describe(\"Platform image URI.\").nullable().optional(),\n year_end: z.number().int().describe(\"Year the platform was discontinued.\").nullable().optional(),\n year_start: z.number().int().describe(\"Year the platform was launched.\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the platform.\").nullable().optional(),\n games_count: z.number().int().describe(\"Total number of games available on this platform.\").nullable(),\n image_background: z.string().describe(\"Background image URI for the platform.\").nullable(),\n}).passthrough().describe(\"Response model for platform details.\");\n\nexport const rawgVideoGamesDatabasePlatformsRead = action(\"RAWG_VIDEO_GAMES_DATABASE_PLATFORMS_READ\", {\n slug: \"rawg_video_games_database-platforms-read\",\n name: \"Get Platform Details\",\n description: \"Tool to get details of a specific gaming platform from the RAWG database. Use when you need information about a particular platform including its name, launch year, and game count.\",\n input: RawgVideoGamesDatabasePlatformsReadInput,\n output: RawgVideoGamesDatabasePlatformsReadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|