@h-rig/task-sources-plugin 0.0.6-alpha.156

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.
@@ -0,0 +1,17 @@
1
+ import { type RigPlugin } from "@rig/core/config";
2
+ import type { GitHubCredentialProvider } from "@rig/contracts";
3
+ import { createEnvGitHubCredentialProvider, createStateGitHubCredentialProvider } from "@rig/github-provider-plugin";
4
+ import { createGitHubIssuesTaskSource, type GitHubIssuesOptions } from "./github-issues-source";
5
+ import { createFilesTaskSource } from "./files-source";
6
+ export { createGitHubIssuesTaskSource, createEnvGitHubCredentialProvider, createStateGitHubCredentialProvider, createFilesTaskSource };
7
+ export type { GitHubIssuesOptions } from "./github-issues-source";
8
+ export type { FilesTaskSourceOptions } from "./files-source";
9
+ export interface StandardTaskSourcesPluginOptions {
10
+ githubCredentialProvider?: GitHubCredentialProvider;
11
+ githubWorkspaceId?: string;
12
+ githubUserId?: string;
13
+ githubSpawn?: GitHubIssuesOptions["spawn"];
14
+ onGitHubTaskChanged?: GitHubIssuesOptions["onTaskChanged"];
15
+ }
16
+ export declare function createTaskSourcesPlugin(opts?: StandardTaskSourcesPluginOptions): RigPlugin;
17
+ export declare const createStandardTaskSourcesPlugin: typeof createTaskSourcesPlugin;