Skip to content

lspeasy / core/src / registerCapabilityParamsSchema

Variable: registerCapabilityParamsSchema

ts
const registerCapabilityParamsSchema: ZodObject<{
  registrations: ZodArray<ZodObject<{
     id: ZodString;
     method: ZodString;
     registerOptions: ZodOptional<ZodUnknown>;
  }, $strip>>;
}, $strip>;

Defined in: packages/core/src/protocol/dynamic-registration.ts:56

Zod schema for validating client/registerCapability params.

Released under the MIT License.