Skip to content

Commit 10c507f

Browse files
committed
feat: export types
1 parent 6679c81 commit 10c507f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,19 @@ const EditFileArgsSchema = z.object({
104104
edits: z.array(EditOperation).optional().describe('List of edits to apply (for partial edits)'),
105105
});
106106

107-
type FirstPartyConfig = {
107+
export type FirstPartyConfig = {
108108
provider: SUPPORTED_FIRST_PARTYPROVIDERS;
109109
model: ModelEnum;
110110
apiKey: string;
111111
};
112112

113-
type ThirdPartyConfig = {
113+
export type ThirdPartyConfig = {
114114
provider: SUPPORTED_THIRD_PARTY_PROVIDERS;
115115
customModel: string;
116116
apiKey: string;
117117
};
118118

119-
type ModelProviderConfig = FirstPartyConfig | ThirdPartyConfig;
119+
export type ModelProviderConfig = FirstPartyConfig | ThirdPartyConfig;
120120

121121
export class FileEditTool {
122122
private anthropic: {apiKey: string} | null = null;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-file-edit",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"type": "module",

0 commit comments

Comments
 (0)