@cullit/config 0.4.0 → 1.0.0

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 (2) hide show
  1. package/dist/index.d.ts +29 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- type AIProvider = 'anthropic' | 'openai' | 'gemini' | 'ollama' | 'openclaw' | 'none';
2
- type Audience = 'developer' | 'end-user' | 'executive';
3
- type Tone = 'professional' | 'casual' | 'terse';
4
- type OutputFormat = 'markdown' | 'html' | 'json';
5
- type PublisherType = 'stdout' | 'github-release' | 'slack' | 'discord' | 'file';
6
- type EnrichmentType = 'jira' | 'linear';
1
+ type AIProvider = string;
2
+ type Audience = string;
3
+ type Tone = string;
4
+ type OutputFormat = string;
5
+ type PublisherType = string;
6
+ type EnrichmentType = string;
7
7
  interface AIConfig {
8
8
  provider: AIProvider;
9
9
  model?: string;
@@ -14,7 +14,7 @@ interface AIConfig {
14
14
  maxTokens?: number;
15
15
  }
16
16
  interface SourceConfig {
17
- type: 'local' | 'jira' | 'linear';
17
+ type: string;
18
18
  owner?: string;
19
19
  repo?: string;
20
20
  enrichment?: EnrichmentType[];
@@ -24,6 +24,7 @@ interface PublishTarget {
24
24
  channel?: string;
25
25
  webhookUrl?: string;
26
26
  path?: string;
27
+ [key: string]: unknown;
27
28
  }
28
29
  interface JiraConfig {
29
30
  domain: string;
@@ -37,6 +38,22 @@ interface OpenClawConfig {
37
38
  baseUrl?: string;
38
39
  token?: string;
39
40
  }
41
+ interface GitLabConfig {
42
+ domain?: string;
43
+ projectId: string;
44
+ }
45
+ interface BitbucketConfig {
46
+ workspace: string;
47
+ repoSlug: string;
48
+ }
49
+ interface ConfluenceConfig {
50
+ domain: string;
51
+ spaceKey: string;
52
+ parentPageId?: string;
53
+ }
54
+ interface NotionConfig {
55
+ databaseId: string;
56
+ }
40
57
  interface CullConfig {
41
58
  ai: AIConfig;
42
59
  source: SourceConfig;
@@ -44,6 +61,10 @@ interface CullConfig {
44
61
  jira?: JiraConfig;
45
62
  linear?: LinearConfig;
46
63
  openclaw?: OpenClawConfig;
64
+ gitlab?: GitLabConfig;
65
+ bitbucket?: BitbucketConfig;
66
+ confluence?: ConfluenceConfig;
67
+ notion?: NotionConfig;
47
68
  }
48
69
 
49
70
  /**
@@ -53,4 +74,4 @@ interface CullConfig {
53
74
  */
54
75
  declare function loadConfig(cwdOrPath?: string): CullConfig;
55
76
 
56
- export { type AIConfig, type AIProvider, type Audience, type CullConfig, type EnrichmentType, type JiraConfig, type LinearConfig, type OpenClawConfig, type OutputFormat, type PublishTarget, type PublisherType, type SourceConfig, type Tone, loadConfig };
77
+ export { type AIConfig, type AIProvider, type Audience, type BitbucketConfig, type ConfluenceConfig, type CullConfig, type EnrichmentType, type GitLabConfig, type JiraConfig, type LinearConfig, type NotionConfig, type OpenClawConfig, type OutputFormat, type PublishTarget, type PublisherType, type SourceConfig, type Tone, loadConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullit/config",
3
- "version": "0.4.0",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "Config loader for Cullit — YAML config parsing with env var resolution.",
6
6
  "license": "MIT",