Kaizen
Browse modulesPeripheralsperipherals/sharedSchemas and constants

Variable: connectionConfigSchema

const connectionConfigSchema: ZodDiscriminatedUnion<[ZodObject<{
  kind: ZodLiteral<"webusb">;
  usbProductId: ZodNumber;
  usbSerialNumber: ZodOptional<ZodNullable<ZodString>>;
  usbVendorId: ZodNumber;
}, $strip>, ZodObject<{
  host: ZodString;
  kind: ZodLiteral<"network">;
  port: ZodDefault<ZodNumber>;
}, $strip>, ZodObject<{
  kind: ZodLiteral<"qz">;
  printerName: ZodString;
}, $strip>], "kind">;

Defined in: shared/peripherals/schemas.ts:52