Skip to content

Commit

Permalink
Merge pull request #602 from dcSpark/feature/metadata-fields
Browse files Browse the repository at this point in the history
added new metadata fields
  • Loading branch information
acedward authored Jan 20, 2025
2 parents f13f8e4 + 9d5f29a commit 26c4824
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const ToolMetadataSchema = z.object({
.string({ message: 'Tool name is required' })
.min(1, 'Tool name is required')
.max(100, 'Tool name must be less than 100 characters'),

homePage: z.string().optional().default(''),
description: z
.string({ message: 'Tool description is required' })
.min(1, 'Tool description is required')
Expand Down Expand Up @@ -67,9 +67,9 @@ export const ToolMetadataSchema = z.object({
clientId: z.string().default('YOUR_PROVIDER_CLIENT_ID'),
clientSecret: z.string().default('YOUR_PROVIDER_CLIENT_SECRET'),
scopes: z.array(z.string()).default([]),
grantType: z.string().default('authorization_code'),
responseType: z.string().default('code'),
pkceType: z.string().default(''),
refreshToken: z.string().default(''),
accessToken: z.string().default(''),
}),
).default([]),
});
Expand Down

0 comments on commit 26c4824

Please sign in to comment.