Add static_responses and client_extensions to manifest schema and tests
This commit is contained in:
parent
9ac5d8806c
commit
90c18ca9fb
1 changed files with 268 additions and 1 deletions
|
|
@ -107,6 +107,8 @@ export const McpbManifestSchema = z
|
|||
user_config: z
|
||||
.record(z.string(), McpbUserConfigurationOptionSchema)
|
||||
.optional(),
|
||||
static_responses: z.record(z.string(), z.any()).optional(),
|
||||
client_extensions: z.record(z.string(), z.record(z.string(), z.any())).optional(),
|
||||
})
|
||||
.refine((data) => !!(data.dxt_version || data.manifest_version), {
|
||||
message:
|
||||
|
|
|
|||
Loading…
Reference in a new issue