desktopOpsRequestSchema
constdesktopOpsRequestSchema:ZodObject<{ops:ZodArray<ZodDiscriminatedUnion<"type", [ZodObject<{type:ZodLiteral<"move">;x:ZodNumber;y:ZodNumber; },"strip",ZodTypeAny, {type:"move";x:number;y:number; }, {type:"move";x:number;y:number; }>,ZodObject<{button:ZodDefault<ZodEnum<["left","right","middle"]>>;count:ZodDefault<ZodUnion<[ZodLiteral<…>,ZodLiteral<…>]>>;type:ZodLiteral<"click">;x:ZodNumber;y:ZodNumber; },"strip",ZodTypeAny, {button:"left"|"right"|"middle";count:1|2;type:"click";x:number;y:number; }, {button?:"left"|"right"|"middle";count?:1|2;type:"click";x:number;y:number; }>,ZodObject<{from:ZodTuple<[ZodNumber,ZodNumber],null>;to:ZodTuple<[ZodNumber,ZodNumber],null>;type:ZodLiteral<"drag">; },"strip",ZodTypeAny, {from: [number,number];to: [number,number];type:"drag"; }, {from: [number,number];to: [number,number];type:"drag"; }>]>,"many">; },"strip",ZodTypeAny, {ops: ({type:"move";x:number;y:number; } | {button:"left"|"right"|"middle";count:1|2;type:"click";x:number;y:number; } | {from: [number,number];to: [number,number];type:"drag"; } | {amount:number;direction:"down"|"up";type:"scroll"; } | {keys:string[];type:"key"; } | {text:string;type:"type"; } | {target:string;type:"open"; } | {application:string;type:"launch";uri?:string; } | {ms:number;type:"wait"; })[]; }, {ops: ({type:"move";x:number;y:number; } | {button?:"left"|"right"|"middle";count?:1|2;type:"click";x:number;y:number; } | {from: [number,number];to: [number,number];type:"drag"; } | {amount?:number;direction:"down"|"up";type:"scroll"; } | {keys:string[];type:"key"; } | {text:string;type:"type"; } | {target:string;type:"open"; } | {application:string;type:"launch";uri?:string; } | {ms:number;type:"wait"; })[]; }>
Defined in: index.ts:1115