@keystrokehq/sourcegraph 0.1.3 → 0.1.5

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.
Files changed (35) hide show
  1. package/dist/actions/check-site-settings-edit-permission.d.cts +15 -1
  2. package/dist/actions/check-site-settings-edit-permission.d.cts.map +1 -1
  3. package/dist/actions/check-site-settings-edit-permission.d.mts +15 -1
  4. package/dist/actions/check-site-settings-edit-permission.d.mts.map +1 -1
  5. package/dist/actions/compare-commits.d.cts +15 -1
  6. package/dist/actions/compare-commits.d.mts +15 -1
  7. package/dist/actions/get-commit-details.d.cts +15 -1
  8. package/dist/actions/get-commit-details.d.mts +15 -1
  9. package/dist/actions/get-current-user.d.cts +15 -1
  10. package/dist/actions/get-current-user.d.cts.map +1 -1
  11. package/dist/actions/get-current-user.d.mts +15 -1
  12. package/dist/actions/get-current-user.d.mts.map +1 -1
  13. package/dist/actions/get-file-contents.d.cts +15 -1
  14. package/dist/actions/get-file-contents.d.mts +15 -1
  15. package/dist/actions/list-repositories.d.cts +15 -1
  16. package/dist/actions/list-repositories.d.mts +15 -1
  17. package/dist/actions/list-repository-files.d.cts +15 -1
  18. package/dist/actions/list-repository-files.d.mts +15 -1
  19. package/dist/actions/list-repository-languages.d.cts +15 -1
  20. package/dist/actions/list-repository-languages.d.mts +15 -1
  21. package/dist/app.cjs +8 -2
  22. package/dist/app.cjs.map +1 -1
  23. package/dist/app.d.cts +10 -1
  24. package/dist/app.d.cts.map +1 -1
  25. package/dist/app.d.mts +10 -1
  26. package/dist/app.d.mts.map +1 -1
  27. package/dist/app.mjs +6 -1
  28. package/dist/app.mjs.map +1 -1
  29. package/dist/catalog.cjs +1 -1
  30. package/dist/catalog.cjs.map +1 -1
  31. package/dist/catalog.d.cts +1 -1
  32. package/dist/catalog.d.mts +1 -1
  33. package/dist/catalog.mjs +1 -1
  34. package/dist/catalog.mjs.map +1 -1
  35. package/package.json +1 -1
@@ -9,7 +9,21 @@ declare const SourcegraphCheckSiteSettingsEditPermissionOutput: z.ZodObject<{
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const sourcegraphCheckSiteSettingsEditPermission: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const sourcegraphCheckSiteSettingsEditPermission: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ full: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ full: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sourcegraphCheckSiteSettingsEditPermission };
15
29
  //# sourceMappingURL=check-site-settings-edit-permission.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-site-settings-edit-permission.d.cts","names":[],"sources":["../../src/actions/check-site-settings-edit-permission.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-site-settings-edit-permission.d.cts","names":[],"sources":["../../src/actions/check-site-settings-edit-permission.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -9,7 +9,21 @@ declare const SourcegraphCheckSiteSettingsEditPermissionOutput: z.ZodObject<{
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const sourcegraphCheckSiteSettingsEditPermission: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const sourcegraphCheckSiteSettingsEditPermission: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ full: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ full: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sourcegraphCheckSiteSettingsEditPermission };
15
29
  //# sourceMappingURL=check-site-settings-edit-permission.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-site-settings-edit-permission.d.mts","names":[],"sources":["../../src/actions/check-site-settings-edit-permission.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-site-settings-edit-permission.d.mts","names":[],"sources":["../../src/actions/check-site-settings-edit-permission.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -27,7 +27,21 @@ declare const sourcegraphCompareCommits: import("@keystrokehq/action").WorkflowA
27
27
  base: string;
28
28
  head: string;
29
29
  repo: string;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ full: z.ZodString;
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ full: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>;
31
45
  //#endregion
32
46
  export { sourcegraphCompareCommits };
33
47
  //# sourceMappingURL=compare-commits.d.cts.map
@@ -27,7 +27,21 @@ declare const sourcegraphCompareCommits: import("@keystrokehq/action").WorkflowA
27
27
  base: string;
28
28
  head: string;
29
29
  repo: string;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ full: z.ZodString;
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ full: z.ZodString;
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>;
31
45
  //#endregion
32
46
  export { sourcegraphCompareCommits };
33
47
  //# sourceMappingURL=compare-commits.d.mts.map
@@ -31,7 +31,21 @@ declare const SourcegraphGetCommitDetailsOutput: z.ZodObject<{
31
31
  declare const sourcegraphGetCommitDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  rev: string;
33
33
  repo: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ full: z.ZodString;
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ full: z.ZodString;
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>;
35
49
  //#endregion
36
50
  export { sourcegraphGetCommitDetails };
37
51
  //# sourceMappingURL=get-commit-details.d.cts.map
@@ -31,7 +31,21 @@ declare const SourcegraphGetCommitDetailsOutput: z.ZodObject<{
31
31
  declare const sourcegraphGetCommitDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  rev: string;
33
33
  repo: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ full: z.ZodString;
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ full: z.ZodString;
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>;
35
49
  //#endregion
36
50
  export { sourcegraphGetCommitDetails };
37
51
  //# sourceMappingURL=get-commit-details.d.mts.map
@@ -9,7 +9,21 @@ declare const SourcegraphGetCurrentUserOutput: z.ZodObject<{
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const sourcegraphGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const sourcegraphGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ full: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ full: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sourcegraphGetCurrentUser };
15
29
  //# sourceMappingURL=get-current-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -9,7 +9,21 @@ declare const SourcegraphGetCurrentUserOutput: z.ZodObject<{
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const sourcegraphGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const sourcegraphGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ full: z.ZodString;
18
+ generic_api_key: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ full: z.ZodString;
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
13
27
  //#endregion
14
28
  export { sourcegraphGetCurrentUser };
15
29
  //# sourceMappingURL=get-current-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,21 @@ declare const SourcegraphGetFileContentsOutput: z.ZodObject<{
11
11
  declare const sourcegraphGetFileContents: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  file_path: string;
13
13
  repo_name: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ full: z.ZodString;
20
+ generic_api_key: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ full: z.ZodString;
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
15
29
  //#endregion
16
30
  export { sourcegraphGetFileContents };
17
31
  //# sourceMappingURL=get-file-contents.d.cts.map
@@ -11,7 +11,21 @@ declare const SourcegraphGetFileContentsOutput: z.ZodObject<{
11
11
  declare const sourcegraphGetFileContents: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  file_path: string;
13
13
  repo_name: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ full: z.ZodString;
20
+ generic_api_key: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ full: z.ZodString;
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
15
29
  //#endregion
16
30
  export { sourcegraphGetFileContents };
17
31
  //# sourceMappingURL=get-file-contents.d.mts.map
@@ -19,7 +19,21 @@ declare const SourcegraphListRepositoriesOutput: z.ZodObject<{
19
19
  declare const sourcegraphListRepositories: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  first: number;
21
21
  after?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ full: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ full: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sourcegraphListRepositories };
25
39
  //# sourceMappingURL=list-repositories.d.cts.map
@@ -19,7 +19,21 @@ declare const SourcegraphListRepositoriesOutput: z.ZodObject<{
19
19
  declare const sourcegraphListRepositories: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  first: number;
21
21
  after?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ full: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ full: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sourcegraphListRepositories };
25
39
  //# sourceMappingURL=list-repositories.d.mts.map
@@ -19,7 +19,21 @@ declare const sourcegraphListRepositoryFiles: import("@keystrokehq/action").Work
19
19
  rev?: string | undefined;
20
20
  path?: string | undefined;
21
21
  recursive?: boolean | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ full: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ full: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sourcegraphListRepositoryFiles };
25
39
  //# sourceMappingURL=list-repository-files.d.cts.map
@@ -19,7 +19,21 @@ declare const sourcegraphListRepositoryFiles: import("@keystrokehq/action").Work
19
19
  rev?: string | undefined;
20
20
  path?: string | undefined;
21
21
  recursive?: boolean | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ full: z.ZodString;
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ full: z.ZodString;
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
23
37
  //#endregion
24
38
  export { sourcegraphListRepositoryFiles };
25
39
  //# sourceMappingURL=list-repository-files.d.mts.map
@@ -14,7 +14,21 @@ declare const SourcegraphListRepositoryLanguagesOutput: z.ZodObject<{
14
14
  }, z.core.$loose>;
15
15
  declare const sourcegraphListRepositoryLanguages: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  repoName: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ full: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ full: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { sourcegraphListRepositoryLanguages };
20
34
  //# sourceMappingURL=list-repository-languages.d.cts.map
@@ -14,7 +14,21 @@ declare const SourcegraphListRepositoryLanguagesOutput: z.ZodObject<{
14
14
  }, z.core.$loose>;
15
15
  declare const sourcegraphListRepositoryLanguages: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  repoName: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ full: z.ZodString;
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ full: z.ZodString;
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>;
18
32
  //#endregion
19
33
  export { sourcegraphListRepositoryLanguages };
20
34
  //# sourceMappingURL=list-repository-languages.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const sourcegraph = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const sourcegraph = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "sourcegraph",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ full: zod.z.string(),
9
+ generic_api_key: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.sourcegraph = sourcegraph;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sourcegraph = defineApp({\n slug: \"sourcegraph\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
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 sourcegraph = defineApp({\n slug: \"sourcegraph\",\n auth: \"keystroke\",\n credential: {\n full: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;CACN,YAAY;EACV,MAAMA,IAAAA,EAAE,OAAO;EACf,iBAAiBA,IAAAA,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const sourcegraph: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const sourcegraph: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ full: z.ZodString;
10
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { sourcegraph };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const sourcegraph: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const sourcegraph: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sourcegraph", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ full: z.ZodString;
10
+ generic_api_key: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { sourcegraph };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const sourcegraph = defineApp({
4
5
  slug: "sourcegraph",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ full: z.string(),
9
+ generic_api_key: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { sourcegraph };
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\";\n\nexport const sourcegraph = defineApp({\n slug: \"sourcegraph\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
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 sourcegraph = defineApp({\n slug: \"sourcegraph\",\n auth: \"keystroke\",\n credential: {\n full: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;CACN,YAAY;EACV,MAAM,EAAE,OAAO;EACf,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -14,7 +14,7 @@ const sourcegraphCatalog = {
14
14
  "description": "The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.",
15
15
  "default": "https://sourcegraph.com"
16
16
  },
17
- "access_token": {
17
+ "generic_api_key": {
18
18
  "label": "Access Token",
19
19
  "secret": true,
20
20
  "description": "The personal access token generated from your Sourcegraph user settings."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sourcegraphCatalog = {\n \"slug\": \"sourcegraph\",\n \"name\": \"Sourcegraph\",\n \"description\": \"Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/sourcegraph\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Sourcegraph Instance URL\",\n \"description\": \"The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.\",\n \"default\": \"https://sourcegraph.com\"\n },\n \"access_token\": {\n \"label\": \"Access Token\",\n \"secret\": true,\n \"description\": \"The personal access token generated from your Sourcegraph user settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,gBAAgB;GACd,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sourcegraphCatalog = {\n \"slug\": \"sourcegraph\",\n \"name\": \"Sourcegraph\",\n \"description\": \"Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/sourcegraph\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Sourcegraph Instance URL\",\n \"description\": \"The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.\",\n \"default\": \"https://sourcegraph.com\"\n },\n \"generic_api_key\": {\n \"label\": \"Access Token\",\n \"secret\": true,\n \"description\": \"The personal access token generated from your Sourcegraph user settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -14,7 +14,7 @@ declare const sourcegraphCatalog: {
14
14
  readonly description: "The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.";
15
15
  readonly default: "https://sourcegraph.com";
16
16
  };
17
- readonly access_token: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "Access Token";
19
19
  readonly secret: true;
20
20
  readonly description: "The personal access token generated from your Sourcegraph user settings.";
@@ -14,7 +14,7 @@ declare const sourcegraphCatalog: {
14
14
  readonly description: "The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.";
15
15
  readonly default: "https://sourcegraph.com";
16
16
  };
17
- readonly access_token: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "Access Token";
19
19
  readonly secret: true;
20
20
  readonly description: "The personal access token generated from your Sourcegraph user settings.";
package/dist/catalog.mjs CHANGED
@@ -14,7 +14,7 @@ const sourcegraphCatalog = {
14
14
  "description": "The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.",
15
15
  "default": "https://sourcegraph.com"
16
16
  },
17
- "access_token": {
17
+ "generic_api_key": {
18
18
  "label": "Access Token",
19
19
  "secret": true,
20
20
  "description": "The personal access token generated from your Sourcegraph user settings."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sourcegraphCatalog = {\n \"slug\": \"sourcegraph\",\n \"name\": \"Sourcegraph\",\n \"description\": \"Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/sourcegraph\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Sourcegraph Instance URL\",\n \"description\": \"The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.\",\n \"default\": \"https://sourcegraph.com\"\n },\n \"access_token\": {\n \"label\": \"Access Token\",\n \"secret\": true,\n \"description\": \"The personal access token generated from your Sourcegraph user settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,gBAAgB;GACd,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sourcegraphCatalog = {\n \"slug\": \"sourcegraph\",\n \"name\": \"Sourcegraph\",\n \"description\": \"Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/sourcegraph\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"full\": {\n \"label\": \"Sourcegraph Instance URL\",\n \"description\": \"The base URL of your Sourcegraph instance (with protocol), e.g., 'https://sourcegraph.example.com' or 'https://sourcegraph.com'.\",\n \"default\": \"https://sourcegraph.com\"\n },\n \"generic_api_key\": {\n \"label\": \"Access Token\",\n \"secret\": true,\n \"description\": \"The personal access token generated from your Sourcegraph user settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,QAAQ;GACN,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sourcegraph",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"