@keystrokehq/spotlightr 0.1.5 → 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 -15
- package/dist/actions/add-domain.d.cts.map +1 -1
- package/dist/actions/add-domain.d.mts +3 -15
- 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 -15
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -15
- 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 -21
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +3 -21
- 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 -15
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +3 -15
- 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 -13
- package/dist/actions/get-domains.d.cts.map +1 -1
- package/dist/actions/get-domains.d.mts +3 -13
- 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 -16
- package/dist/actions/get-top-videos.d.cts.map +1 -1
- package/dist/actions/get-top-videos.d.mts +3 -16
- 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 -15
- package/dist/actions/get-video-metrics.d.cts.map +1 -1
- package/dist/actions/get-video-metrics.d.mts +3 -15
- 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 -16
- package/dist/actions/get-video-source.d.cts.map +1 -1
- package/dist/actions/get-video-source.d.mts +3 -16
- 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 -18
- package/dist/actions/get-video-views.d.cts.map +1 -1
- package/dist/actions/get-video-views.d.mts +3 -18
- 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 -13
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -13
- 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 -16
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +3 -16
- 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 -15
- package/dist/actions/search-global.d.cts.map +1 -1
- package/dist/actions/search-global.d.mts +3 -15
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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
|
@@ -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/list-videos.d.ts
|
|
@@ -17,22 +19,7 @@ declare const SpotlightrListVideosOutput: z.ZodObject<{
|
|
|
17
19
|
videoGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
20
|
}, z.core.$loose>>>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const spotlightrListVideos:
|
|
21
|
-
video_id?: number | undefined;
|
|
22
|
-
video_group?: number | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const spotlightrListVideos: AppAction<typeof SpotlightrListVideosInput, typeof SpotlightrListVideosOutput, typeof spotlightr.credential>;
|
|
36
23
|
//#endregion
|
|
37
24
|
export { spotlightrListVideos };
|
|
38
25
|
//# sourceMappingURL=list-videos.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-videos.d.cts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-videos.d.cts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;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/list-videos.d.ts
|
|
@@ -17,22 +19,7 @@ declare const SpotlightrListVideosOutput: z.ZodObject<{
|
|
|
17
19
|
videoGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
20
|
}, z.core.$loose>>>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const spotlightrListVideos:
|
|
21
|
-
video_id?: number | undefined;
|
|
22
|
-
video_group?: number | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const spotlightrListVideos: AppAction<typeof SpotlightrListVideosInput, typeof SpotlightrListVideosOutput, typeof spotlightr.credential>;
|
|
36
23
|
//#endregion
|
|
37
24
|
export { spotlightrListVideos };
|
|
38
25
|
//# sourceMappingURL=list-videos.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-videos.d.mts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-videos.d.mts","names":[],"sources":["../../src/actions/list-videos.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAczB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-videos.mjs","names":[],"sources":["../../src/actions/list-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrListVideosInput = z.object({\n video_id: z.number().int().describe(\"Identifier for a specific video record to retrieve\").optional(),\n video_group: z.number().int().describe(\"Identifier for filtering videos by project association\").optional(),\n}).describe(\"Request model for listing videos from Spotlightr account.\");\nconst SpotlightrListVideos_VideoItemSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n url: z.string().describe(\"Video URL\").nullable().optional(),\n name: z.string().describe(\"Video name or title\").nullable().optional(),\n status: z.string().describe(\"Video processing status\").nullable().optional(),\n duration: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Video creation timestamp\").nullable().optional(),\n thumbnail: z.string().describe(\"Video thumbnail URL\").nullable().optional(),\n videoGroup: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing videos.\");\n\nexport const spotlightrListVideos = action(\"SPOTLIGHTR_LIST_VIDEOS\", {\n slug: \"spotlightr-list-videos\",\n name: \"List Videos\",\n description: \"Tool to retrieve videos from a Spotlightr account. Use when you need to list all videos or filter by specific video ID or project.\",\n input: SpotlightrListVideosInput,\n output: SpotlightrListVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-videos.mjs","names":[],"sources":["../../src/actions/list-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 SpotlightrListVideosInput = z.object({\n video_id: z.number().int().describe(\"Identifier for a specific video record to retrieve\").optional(),\n video_group: z.number().int().describe(\"Identifier for filtering videos by project association\").optional(),\n}).describe(\"Request model for listing videos from Spotlightr account.\");\nconst SpotlightrListVideos_VideoItemSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n url: z.string().describe(\"Video URL\").nullable().optional(),\n name: z.string().describe(\"Video name or title\").nullable().optional(),\n status: z.string().describe(\"Video processing status\").nullable().optional(),\n duration: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n createdAt: z.string().describe(\"Video creation timestamp\").nullable().optional(),\n thumbnail: z.string().describe(\"Video thumbnail URL\").nullable().optional(),\n videoGroup: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Video item representing a single video's details.\");\nexport const SpotlightrListVideosOutput = z.object({\n videos: z.array(SpotlightrListVideos_VideoItemSchema).describe(\"List of video objects from the account\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing videos.\");\n\nexport const spotlightrListVideos: AppAction<\n typeof SpotlightrListVideosInput,\n typeof SpotlightrListVideosOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_LIST_VIDEOS\", {\n slug: \"spotlightr-list-videos\",\n name: \"List Videos\",\n description: \"Tool to retrieve videos from a Spotlightr account. Use when you need to list all videos or filter by specific video ID or project.\",\n input: SpotlightrListVideosInput,\n output: SpotlightrListVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,MAAM;EAAC,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAK7E,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.cjs","names":["z","action"],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-global.cjs","names":["z","action"],"sources":["../../src/actions/search-global.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 SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal: AppAction<\n typeof SpotlightrSearchGlobalInput,\n typeof SpotlightrSearchGlobalOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/search-global.d.ts
|
|
@@ -12,21 +14,7 @@ declare const SpotlightrSearchGlobalOutput: z.ZodObject<{
|
|
|
12
14
|
updated: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotlightrSearchGlobal:
|
|
16
|
-
query?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotlightrSearchGlobal: AppAction<typeof SpotlightrSearchGlobalInput, typeof SpotlightrSearchGlobalOutput, typeof spotlightr.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { spotlightrSearchGlobal };
|
|
32
20
|
//# sourceMappingURL=search-global.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.d.cts","names":[],"sources":["../../src/actions/search-global.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-global.d.cts","names":[],"sources":["../../src/actions/search-global.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAS3B,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/search-global.d.ts
|
|
@@ -12,21 +14,7 @@ declare const SpotlightrSearchGlobalOutput: z.ZodObject<{
|
|
|
12
14
|
updated: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotlightrSearchGlobal:
|
|
16
|
-
query?: string | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotlightr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotlightrSearchGlobal: AppAction<typeof SpotlightrSearchGlobalInput, typeof SpotlightrSearchGlobalOutput, typeof spotlightr.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { spotlightrSearchGlobal };
|
|
32
20
|
//# sourceMappingURL=search-global.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.d.mts","names":[],"sources":["../../src/actions/search-global.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-global.d.mts","names":[],"sources":["../../src/actions/search-global.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-global.mjs","names":[],"sources":["../../src/actions/search-global.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-global.mjs","names":[],"sources":["../../src/actions/search-global.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 SpotlightrSearchGlobalInput = z.object({\n query: z.string().describe(\"Search query string to search across videos and content. If not provided, returns all content.\").optional(),\n}).describe(\"Request model for performing account-wide search across all videos and content.\");\nconst SpotlightrSearchGlobal_SearchResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier\").nullable(),\n name: z.string().describe(\"Name of the search result\").nullable(),\n type: z.string().describe(\"Type of result (e.g., 'projects', 'videos')\").nullable(),\n updated: z.string().describe(\"Last updated timestamp\").nullable(),\n}).passthrough().describe(\"Individual search result object.\");\nexport const SpotlightrSearchGlobalOutput = z.object({\n results: z.array(SpotlightrSearchGlobal_SearchResultSchema).describe(\"List of search result objects\").nullable().optional(),\n}).passthrough().describe(\"Response model for global search results.\");\n\nexport const spotlightrSearchGlobal: AppAction<\n typeof SpotlightrSearchGlobalInput,\n typeof SpotlightrSearchGlobalOutput,\n typeof spotlightr.credential\n> = action(\"SPOTLIGHTR_SEARCH_GLOBAL\", {\n slug: \"spotlightr-search-global\",\n name: \"Search Global\",\n description: \"Tool to perform account-wide search across all videos and content in Spotlightr. Use when you need to find specific videos, projects, or content by name or keyword.\",\n input: SpotlightrSearchGlobalInput,\n output: SpotlightrSearchGlobalOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const spotlightr = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "spotlightr",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.spotlightr = spotlightr;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const spotlightr = defineApp({\n slug: \"spotlightr\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const spotlightr: KeystrokeApp<\"spotlightr\", typeof credential> = defineApp({\n slug: \"spotlightr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAsE;CACjF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const spotlightr: KeystrokeApp<"spotlightr", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { spotlightr };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const spotlightr: KeystrokeApp<"spotlightr", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { spotlightr };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const spotlightr = defineApp({\n slug: \"spotlightr\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const spotlightr: KeystrokeApp<\"spotlightr\", typeof credential> = defineApp({\n slug: \"spotlightr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,aAA4D,UAAU;CACjF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { spotlightr } from "./app.cjs";
|
|
1
2
|
import { spotlightrAddDomain } from "./actions/add-domain.cjs";
|
|
2
3
|
import { spotlightrCreateGroup } from "./actions/create-group.cjs";
|
|
3
4
|
import { spotlightrCreateVideo } from "./actions/create-video.cjs";
|
|
@@ -10,6 +11,5 @@ import { spotlightrGetVideoViews } from "./actions/get-video-views.cjs";
|
|
|
10
11
|
import { spotlightrListGroups } from "./actions/list-groups.cjs";
|
|
11
12
|
import { spotlightrListVideos } from "./actions/list-videos.cjs";
|
|
12
13
|
import { spotlightrSearchGlobal } from "./actions/search-global.cjs";
|
|
13
|
-
import { spotlightr } from "./app.cjs";
|
|
14
14
|
import { spotlightrCatalog } from "./catalog.cjs";
|
|
15
15
|
export { spotlightr, spotlightrAddDomain, spotlightrCatalog, spotlightrCreateGroup, spotlightrCreateVideo, spotlightrDeleteVideo, spotlightrGetDomains, spotlightrGetTopVideos, spotlightrGetVideoMetrics, spotlightrGetVideoSource, spotlightrGetVideoViews, spotlightrListGroups, spotlightrListVideos, spotlightrSearchGlobal };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { spotlightr } from "./app.mjs";
|
|
1
2
|
import { spotlightrAddDomain } from "./actions/add-domain.mjs";
|
|
2
3
|
import { spotlightrCreateGroup } from "./actions/create-group.mjs";
|
|
3
4
|
import { spotlightrCreateVideo } from "./actions/create-video.mjs";
|
|
@@ -10,6 +11,5 @@ import { spotlightrGetVideoViews } from "./actions/get-video-views.mjs";
|
|
|
10
11
|
import { spotlightrListGroups } from "./actions/list-groups.mjs";
|
|
11
12
|
import { spotlightrListVideos } from "./actions/list-videos.mjs";
|
|
12
13
|
import { spotlightrSearchGlobal } from "./actions/search-global.mjs";
|
|
13
|
-
import { spotlightr } from "./app.mjs";
|
|
14
14
|
import { spotlightrCatalog } from "./catalog.mjs";
|
|
15
15
|
export { spotlightr, spotlightrAddDomain, spotlightrCatalog, spotlightrCreateGroup, spotlightrCreateVideo, spotlightrDeleteVideo, spotlightrGetDomains, spotlightrGetTopVideos, spotlightrGetVideoMetrics, spotlightrGetVideoSource, spotlightrGetVideoViews, spotlightrListGroups, spotlightrListVideos, spotlightrSearchGlobal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/spotlightr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|