@keystrokehq/spotlightr 0.1.4 → 0.1.6
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/add-domain.cjs +1 -0
- package/dist/actions/add-domain.cjs.map +1 -1
- package/dist/actions/add-domain.d.cts +3 -3
- package/dist/actions/add-domain.d.cts.map +1 -1
- package/dist/actions/add-domain.d.mts +3 -3
- package/dist/actions/add-domain.d.mts.map +1 -1
- package/dist/actions/add-domain.mjs +1 -0
- package/dist/actions/add-domain.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -3
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -3
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-video.cjs +1 -0
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +3 -9
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +3 -9
- package/dist/actions/create-video.d.mts.map +1 -1
- package/dist/actions/create-video.mjs +1 -0
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -0
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +3 -3
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +3 -3
- package/dist/actions/delete-video.d.mts.map +1 -1
- package/dist/actions/delete-video.mjs +1 -0
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/get-domains.cjs +1 -0
- package/dist/actions/get-domains.cjs.map +1 -1
- package/dist/actions/get-domains.d.cts +3 -1
- package/dist/actions/get-domains.d.cts.map +1 -1
- package/dist/actions/get-domains.d.mts +3 -1
- package/dist/actions/get-domains.d.mts.map +1 -1
- package/dist/actions/get-domains.mjs +1 -0
- package/dist/actions/get-domains.mjs.map +1 -1
- package/dist/actions/get-top-videos.cjs +1 -0
- package/dist/actions/get-top-videos.cjs.map +1 -1
- package/dist/actions/get-top-videos.d.cts +3 -4
- package/dist/actions/get-top-videos.d.cts.map +1 -1
- package/dist/actions/get-top-videos.d.mts +3 -4
- package/dist/actions/get-top-videos.d.mts.map +1 -1
- package/dist/actions/get-top-videos.mjs +1 -0
- package/dist/actions/get-top-videos.mjs.map +1 -1
- package/dist/actions/get-video-metrics.cjs +1 -0
- package/dist/actions/get-video-metrics.cjs.map +1 -1
- package/dist/actions/get-video-metrics.d.cts +3 -3
- package/dist/actions/get-video-metrics.d.cts.map +1 -1
- package/dist/actions/get-video-metrics.d.mts +3 -3
- package/dist/actions/get-video-metrics.d.mts.map +1 -1
- package/dist/actions/get-video-metrics.mjs +1 -0
- package/dist/actions/get-video-metrics.mjs.map +1 -1
- package/dist/actions/get-video-source.cjs +1 -0
- package/dist/actions/get-video-source.cjs.map +1 -1
- package/dist/actions/get-video-source.d.cts +3 -4
- package/dist/actions/get-video-source.d.cts.map +1 -1
- package/dist/actions/get-video-source.d.mts +3 -4
- package/dist/actions/get-video-source.d.mts.map +1 -1
- package/dist/actions/get-video-source.mjs +1 -0
- package/dist/actions/get-video-source.mjs.map +1 -1
- package/dist/actions/get-video-views.cjs +1 -0
- package/dist/actions/get-video-views.cjs.map +1 -1
- package/dist/actions/get-video-views.d.cts +3 -6
- package/dist/actions/get-video-views.d.cts.map +1 -1
- package/dist/actions/get-video-views.d.mts +3 -6
- package/dist/actions/get-video-views.d.mts.map +1 -1
- package/dist/actions/get-video-views.mjs +1 -0
- package/dist/actions/get-video-views.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -1
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -1
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +1 -0
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +3 -4
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +3 -4
- package/dist/actions/list-videos.d.mts.map +1 -1
- package/dist/actions/list-videos.mjs +1 -0
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/search-global.cjs +1 -0
- package/dist/actions/search-global.cjs.map +1 -1
- package/dist/actions/search-global.d.cts +3 -3
- package/dist/actions/search-global.d.cts.map +1 -1
- package/dist/actions/search-global.d.mts +3 -3
- package/dist/actions/search-global.d.mts.map +1 -1
- package/dist/actions/search-global.mjs +1 -0
- package/dist/actions/search-global.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["spotlightr","executeSpotlightrTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotlightr } from \"./app\";\nimport { executeSpotlightrTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["spotlightr","executeSpotlightrTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { spotlightr } from \"./app\";\nimport { executeSpotlightrTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof spotlightr.credential> {\n return spotlightr.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotlightrTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotlightr } from \"./app\";\nimport { executeSpotlightrTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { spotlightr } from \"./app\";\nimport { executeSpotlightrTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof spotlightr.credential> {\n return spotlightr.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotlightrTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain: AppAction<\n typeof SpotlightrAddDomainInput,\n typeof SpotlightrAddDomainOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-domain.d.ts
|
|
@@ -9,9 +11,7 @@ declare const SpotlightrAddDomainOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotlightrAddDomain:
|
|
13
|
-
domain: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const spotlightrAddDomain: AppAction<typeof SpotlightrAddDomainInput, typeof SpotlightrAddDomainOutput, typeof spotlightr.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrAddDomain };
|
|
17
17
|
//# sourceMappingURL=add-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.d.cts","names":[],"sources":["../../src/actions/add-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-domain.d.cts","names":[],"sources":["../../src/actions/add-domain.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-domain.d.ts
|
|
@@ -9,9 +11,7 @@ declare const SpotlightrAddDomainOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotlightrAddDomain:
|
|
13
|
-
domain: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const spotlightrAddDomain: AppAction<typeof SpotlightrAddDomainInput, typeof SpotlightrAddDomainOutput, typeof spotlightr.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrAddDomain };
|
|
17
17
|
//# sourceMappingURL=add-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.d.mts","names":[],"sources":["../../src/actions/add-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-domain.d.mts","names":[],"sources":["../../src/actions/add-domain.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-domain.mjs","names":[],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-domain.mjs","names":[],"sources":["../../src/actions/add-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrAddDomainInput = z.object({\n domain: z.string().describe(\"Domain to whitelist for embedding videos (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a whitelisted domain for embedding videos.\");\nexport const SpotlightrAddDomainOutput = z.object({\n domain: z.string().describe(\"The domain that was added\").nullable().optional(),\n message: z.string().describe(\"Success or error message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Whether the domain was successfully added\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain.\");\n\nexport const spotlightrAddDomain: AppAction<\n typeof SpotlightrAddDomainInput,\n typeof SpotlightrAddDomainOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_ADD_DOMAIN\", {\n slug: \"spotlightr-add-domain\",\n name: \"Add Domain\",\n description: \"Tool to add a whitelisted domain for embedding Spotlightr videos. Use when you need to whitelist a new domain for video embedding.\",\n input: SpotlightrAddDomainInput,\n output: SpotlightrAddDomainOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EACvH,CAAC,CAAC,CAAC,SAAS,qEAeH;CACP,QAfuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup: AppAction<\n typeof SpotlightrCreateGroupInput,\n typeof SpotlightrCreateGroupOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-group.d.ts
|
|
@@ -9,9 +11,7 @@ declare const SpotlightrCreateGroupOutput: z.ZodObject<{
|
|
|
9
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotlightrCreateGroup:
|
|
13
|
-
name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const spotlightrCreateGroup: AppAction<typeof SpotlightrCreateGroupInput, typeof SpotlightrCreateGroupOutput, typeof spotlightr.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrCreateGroup };
|
|
17
17
|
//# sourceMappingURL=create-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-group.d.ts
|
|
@@ -9,9 +11,7 @@ declare const SpotlightrCreateGroupOutput: z.ZodObject<{
|
|
|
9
11
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotlightrCreateGroup:
|
|
13
|
-
name: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const spotlightrCreateGroup: AppAction<typeof SpotlightrCreateGroupInput, typeof SpotlightrCreateGroupOutput, typeof spotlightr.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { spotlightrCreateGroup };
|
|
17
17
|
//# sourceMappingURL=create-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the project/group to create\"),\n}).describe(\"Request model for creating a new project (group) in Spotlightr.\");\nexport const SpotlightrCreateGroupOutput = z.object({\n id: z.string().describe(\"Unique identifier of the created group\").nullable().optional(),\n name: z.string().describe(\"Name of the created group\").nullable().optional(),\n message: z.string().describe(\"Success or status message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response model for group creation.\");\n\nexport const spotlightrCreateGroup: AppAction<\n typeof SpotlightrCreateGroupInput,\n typeof SpotlightrCreateGroupOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_CREATE_GROUP\", {\n slug: \"spotlightr-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new project (group) in Spotlightr. Use when you need to organize videos into a new project or group.\",\n input: SpotlightrCreateGroupInput,\n output: SpotlightrCreateGroupOutput,\n});\n"],"mappings":";;;AAeA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACjE,CAAC,CAAC,CAAC,SAAS,iEAeH;CACP,QAfyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo: AppAction<\n typeof SpotlightrCreateVideoInput,\n typeof SpotlightrCreateVideoOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACpG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-video.d.ts
|
|
@@ -13,15 +15,7 @@ declare const SpotlightrCreateVideoInput: z.ZodObject<{
|
|
|
13
15
|
declare const SpotlightrCreateVideoOutput: z.ZodObject<{
|
|
14
16
|
video_url: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spotlightrCreateVideo:
|
|
17
|
-
URL: string;
|
|
18
|
-
name: string;
|
|
19
|
-
hls?: number | undefined;
|
|
20
|
-
create?: number | undefined;
|
|
21
|
-
customS3?: string | undefined;
|
|
22
|
-
videoGroup?: string | undefined;
|
|
23
|
-
playerSettings?: Record<string, unknown> | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const spotlightrCreateVideo: AppAction<typeof SpotlightrCreateVideoInput, typeof SpotlightrCreateVideoOutput, typeof spotlightr.credential>;
|
|
25
19
|
//#endregion
|
|
26
20
|
export { spotlightrCreateVideo };
|
|
27
21
|
//# sourceMappingURL=create-video.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.d.cts","names":[],"sources":["../../src/actions/create-video.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video.d.cts","names":[],"sources":["../../src/actions/create-video.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-video.d.ts
|
|
@@ -13,15 +15,7 @@ declare const SpotlightrCreateVideoInput: z.ZodObject<{
|
|
|
13
15
|
declare const SpotlightrCreateVideoOutput: z.ZodObject<{
|
|
14
16
|
video_url: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spotlightrCreateVideo:
|
|
17
|
-
URL: string;
|
|
18
|
-
name: string;
|
|
19
|
-
hls?: number | undefined;
|
|
20
|
-
create?: number | undefined;
|
|
21
|
-
customS3?: string | undefined;
|
|
22
|
-
videoGroup?: string | undefined;
|
|
23
|
-
playerSettings?: Record<string, unknown> | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const spotlightrCreateVideo: AppAction<typeof SpotlightrCreateVideoInput, typeof SpotlightrCreateVideoOutput, typeof spotlightr.credential>;
|
|
25
19
|
//#endregion
|
|
26
20
|
export { spotlightrCreateVideo };
|
|
27
21
|
//# sourceMappingURL=create-video.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.d.mts","names":[],"sources":["../../src/actions/create-video.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video.d.mts","names":[],"sources":["../../src/actions/create-video.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.mjs","names":[],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video.mjs","names":[],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrCreateVideoInput = z.object({\n URL: z.string().describe(\"File path or URL to the video source (YouTube, Google Drive, Vimeo, etc.)\"),\n hls: z.number().int().describe(\"Media streaming protocol: 0 to leave as unsecured, 1 to encode with HLS\").optional(),\n name: z.string().describe(\"The name of the video\"),\n create: z.number().int().describe(\"Type of creation: 0 to debug (test without creating), 1 to confirm creation\").optional(),\n customS3: z.string().describe(\"Custom S3 integration ID. Use '0' for default storage or provide custom integration ID\").optional(),\n videoGroup: z.string().describe(\"Video group ID to associate the video with\").optional(),\n playerSettings: z.record(z.string(), z.unknown()).describe(\"Player configuration settings object for customizing video player appearance and behavior\").optional(),\n}).describe(\"Request model for creating a video in Spotlightr.\");\nexport const SpotlightrCreateVideoOutput = z.object({\n video_url: z.string().describe(\"The playable URL of the created video\").nullable(),\n}).passthrough().describe(\"Response model for video creation.\");\n\nexport const spotlightrCreateVideo: AppAction<\n typeof SpotlightrCreateVideoInput,\n typeof SpotlightrCreateVideoOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_CREATE_VIDEO\", {\n slug: \"spotlightr-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video in Spotlightr by uploading a file or linking from an external source. Use when you need to add a new video from YouTube, Google Drive, Vimeo, or other sources.\",\n input: SpotlightrCreateVideoInput,\n output: SpotlightrCreateVideoOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACpG,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAbyC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.cjs","names":["z","action"],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-video.cjs","names":["z","action"],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo: AppAction<\n typeof SpotlightrDeleteVideoInput,\n typeof SpotlightrDeleteVideoOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-video.d.ts
|
|
@@ -8,9 +10,7 @@ declare const SpotlightrDeleteVideoOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const spotlightrDeleteVideo:
|
|
12
|
-
video_ids: number[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const spotlightrDeleteVideo: AppAction<typeof SpotlightrDeleteVideoInput, typeof SpotlightrDeleteVideoOutput, typeof spotlightr.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { spotlightrDeleteVideo };
|
|
16
16
|
//# sourceMappingURL=delete-video.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.d.cts","names":[],"sources":["../../src/actions/delete-video.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-video.d.cts","names":[],"sources":["../../src/actions/delete-video.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-video.d.ts
|
|
@@ -8,9 +10,7 @@ declare const SpotlightrDeleteVideoOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const spotlightrDeleteVideo:
|
|
12
|
-
video_ids: number[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const spotlightrDeleteVideo: AppAction<typeof SpotlightrDeleteVideoInput, typeof SpotlightrDeleteVideoOutput, typeof spotlightr.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { spotlightrDeleteVideo };
|
|
16
16
|
//# sourceMappingURL=delete-video.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.d.mts","names":[],"sources":["../../src/actions/delete-video.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-video.d.mts","names":[],"sources":["../../src/actions/delete-video.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-video.mjs","names":[],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-video.mjs","names":[],"sources":["../../src/actions/delete-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrDeleteVideoInput = z.object({\n video_ids: z.array(z.number().int()).describe(\"List of video IDs to delete. Must contain at least one video ID.\"),\n}).describe(\"Request model for deleting videos from Spotlightr projects.\");\nexport const SpotlightrDeleteVideoOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().describe(\"Whether the deletion operation was successful\").nullable(),\n}).passthrough().describe(\"Response model for video deletion operation.\");\n\nexport const spotlightrDeleteVideo: AppAction<\n typeof SpotlightrDeleteVideoInput,\n typeof SpotlightrDeleteVideoOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_DELETE_VIDEO\", {\n slug: \"spotlightr-delete-video\",\n name: \"Delete Video\",\n description: \"Tool to delete or remove videos from Spotlightr projects. Use when you need to permanently delete one or more videos by their IDs.\",\n input: SpotlightrDeleteVideoInput,\n output: SpotlightrDeleteVideoOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO,EACjD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kEAAkE,EAClH,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains: AppAction<\n typeof SpotlightrGetDomainsInput,\n typeof SpotlightrGetDomainsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-domains.d.ts
|
|
@@ -5,7 +7,7 @@ declare const SpotlightrGetDomainsInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SpotlightrGetDomainsOutput: z.ZodObject<{
|
|
6
8
|
domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const spotlightrGetDomains:
|
|
10
|
+
declare const spotlightrGetDomains: AppAction<typeof SpotlightrGetDomainsInput, typeof SpotlightrGetDomainsOutput, typeof spotlightr.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { spotlightrGetDomains };
|
|
11
13
|
//# sourceMappingURL=get-domains.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.d.cts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-domains.d.cts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-domains.d.ts
|
|
@@ -5,7 +7,7 @@ declare const SpotlightrGetDomainsInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SpotlightrGetDomainsOutput: z.ZodObject<{
|
|
6
8
|
domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const spotlightrGetDomains:
|
|
10
|
+
declare const spotlightrGetDomains: AppAction<typeof SpotlightrGetDomainsInput, typeof SpotlightrGetDomainsOutput, typeof spotlightr.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { spotlightrGetDomains };
|
|
11
13
|
//# sourceMappingURL=get-domains.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.d.mts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-domains.d.mts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-domains.mjs","names":[],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-domains.mjs","names":[],"sources":["../../src/actions/get-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetDomainsInput = z.object({}).describe(\"Request model for retrieving whitelisted domains.\");\nexport const SpotlightrGetDomainsOutput = z.object({\n domains: z.array(z.string()).describe(\"List of whitelisted domains for embedding videos\").nullable().optional(),\n}).passthrough().describe(\"Response model for whitelisted domains retrieval.\");\n\nexport const spotlightrGetDomains: AppAction<\n typeof SpotlightrGetDomainsInput,\n typeof SpotlightrGetDomainsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_DOMAINS\", {\n slug: \"spotlightr-get-domains\",\n name: \"Get Domains\",\n description: \"Tool to retrieve whitelisted domains for a Spotlightr account. Use when you need to list all domains approved for embedding videos.\",\n input: SpotlightrGetDomainsInput,\n output: SpotlightrGetDomainsOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAatD;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.cjs","names":["z","action"],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.cjs","names":["z","action"],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos: AppAction<\n typeof SpotlightrGetTopVideosInput,\n typeof SpotlightrGetTopVideosOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-top-videos.d.ts
|
|
@@ -14,10 +16,7 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const spotlightrGetTopVideos:
|
|
18
|
-
days?: number | undefined;
|
|
19
|
-
total?: number | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const spotlightrGetTopVideos: AppAction<typeof SpotlightrGetTopVideosInput, typeof SpotlightrGetTopVideosOutput, typeof spotlightr.credential>;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { spotlightrGetTopVideos };
|
|
23
22
|
//# sourceMappingURL=get-top-videos.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.d.cts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.d.cts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotlightr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-top-videos.d.ts
|
|
@@ -14,10 +16,7 @@ declare const SpotlightrGetTopVideosOutput: z.ZodObject<{
|
|
|
14
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const spotlightrGetTopVideos:
|
|
18
|
-
days?: number | undefined;
|
|
19
|
-
total?: number | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const spotlightrGetTopVideos: AppAction<typeof SpotlightrGetTopVideosInput, typeof SpotlightrGetTopVideosOutput, typeof spotlightr.credential>;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { spotlightrGetTopVideos };
|
|
23
22
|
//# sourceMappingURL=get-top-videos.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.d.mts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.d.mts","names":[],"sources":["../../src/actions/get-top-videos.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-top-videos.mjs","names":[],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-top-videos.mjs","names":[],"sources":["../../src/actions/get-top-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetTopVideosInput = z.object({\n days: z.number().int().default(30).describe(\"Number of days to look back for top videos (default 30)\").optional(),\n total: z.number().int().default(3).describe(\"Number of top videos to return (default 3)\").optional(),\n}).describe(\"Request model for retrieving top videos over a specified period.\");\nconst SpotlightrGetTopVideos_VideoSchema = z.object({\n id: z.string().describe(\"Video ID\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n title: z.string().describe(\"Video title\").nullable(),\n views: z.number().int().describe(\"Total views for the video\").nullable(),\n created_at: z.string().describe(\"Video creation datetime in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Video object representing a single video's details.\");\nexport const SpotlightrGetTopVideosOutput = z.object({\n videos: z.array(SpotlightrGetTopVideos_VideoSchema).describe(\"List of top video objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for top videos retrieval.\");\n\nexport const spotlightrGetTopVideos: AppAction<\n typeof SpotlightrGetTopVideosInput,\n typeof SpotlightrGetTopVideosOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_TOP_VIDEOS\", {\n slug: \"spotlightr-get-top-videos\",\n name: \"Get Top Videos\",\n description: \"Tool to retrieve the top videos from a Spotlightr account. Use when you need to list the most viewed videos.\",\n input: SpotlightrGetTopVideosInput,\n output: SpotlightrGetTopVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,QAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-video-metrics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotlightr } from \"../app\";\n\nexport const SpotlightrGetVideoMetricsInput = z.object({\n video_id: z.string().describe(\"ID of the video to fetch metrics for\"),\n});\nexport const SpotlightrGetVideoMetricsOutput = z.object({\n loads: z.number().describe(\"Total number of times the video was loaded.\").nullable(),\n plays: z.number().describe(\"Total number of play events triggered.\").nullable(),\n shares: z.number().describe(\"Total number of times the video was shared.\").nullable(),\n watched: z.number().describe(\"Percentage of video watched (decimal value).\").nullable(),\n playRate: z.number().describe(\"Ratio of plays to loads.\").nullable(),\n completitionRate: z.number().describe(\"Percentage of viewers who completed the video.\").nullable(),\n}).passthrough().describe(\"Response schema for video metrics API - returns metrics directly without wrapper.\");\n\nexport const spotlightrGetVideoMetrics: AppAction<\n typeof SpotlightrGetVideoMetricsInput,\n typeof SpotlightrGetVideoMetricsOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_GET_VIDEO_METRICS\", {\n slug: \"spotlightr-get-video-metrics\",\n name: \"Get Video Metrics\",\n description: \"Tool to retrieve analytics metrics for a specified video. Use when you have a video ID and need its metrics (loads, plays, playRate, completionRate, shares, etc.).\",\n input: SpotlightrGetVideoMetricsInput,\n output: SpotlightrGetVideoMetricsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAE7G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|