Variable: DefinitionSchemas
Makaio Framework / services-core/definition/schemas / DefinitionSchemas
Variable: DefinitionSchemas
Section titled “Variable: DefinitionSchemas”
constDefinitionSchemas:object
Defined in: ../../../packages/services/core/src/definition/schemas.ts:31
Zod schemas for all definition bus subjects.
Each entry becomes a subject identifier as definition.<key>.
Type Declaration
Section titled “Type Declaration”getConfigSchema
Section titled “getConfigSchema”getConfigSchema:
object
Get the JSON Schema for a provider definition’s config fields.
getConfigSchema.request
Section titled “getConfigSchema.request”request:
ZodObject<{definitionId:ZodString; },$strip>
getConfigSchema.response
Section titled “getConfigSchema.response”response:
ZodObject<{hasSchema:ZodBoolean;schema:ZodNullable<ZodRecord<ZodString,ZodUnknown>>; },$strip>
getCredentialSchema
Section titled “getCredentialSchema”getCredentialSchema:
object
Get the JSON Schema for a provider definition’s credential fields.
getCredentialSchema.request
Section titled “getCredentialSchema.request”request:
ZodObject<{definitionId:ZodString; },$strip>
getCredentialSchema.response
Section titled “getCredentialSchema.response”response:
ZodObject<{hasSchema:ZodBoolean;schema:ZodNullable<ZodRecord<ZodString,ZodUnknown>>; },$strip>