mobileboost-cli 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- import e from"zod";import{Store as x}from"@tanstack/react-store";import{o as i,t as y,c as f,i as h,a as v,m as I,r as D}from"./step-D2WQqd4J.mjs";const n=e.object({id:e.number(),descriptionText:e.string().optional(),optional:e.boolean().optional(),status:e.string().optional(),statusColor:e.string().optional(),statusDiv:e.custom().optional(),element:e.custom().optional(),originRef:e.object({refId:e.number(),path:e.string(),descriptionText:e.string().optional(),optional:e.boolean().optional(),overrides:e.record(e.string(),e.string()).optional()}).optional()}),r=n.extend({cropBase64:e.string().optional()}),s=r.extend(i.partial().shape).extend({type:e.literal("tap"),elementId:e.string().optional(),timeout:e.number().optional(),useLlmOnly:e.boolean().optional()}),a=r.extend(i.partial().shape).extend({type:e.literal("assert"),cropBase64:e.string().optional(),elementId:e.string().optional(),timeout:e.number().optional(),useLlmOnly:e.boolean().optional()}),l=n.extend(y.shape).extend({type:e.literal("type")}),p=n.extend(f.shape).extend({type:e.literal("scroll")}),u=n.extend(v.shape).extend({type:e.literal("zoom")}),d=n.extend(h.shape).extend({type:e.literal("swipe")}),c=n.extend(I.shape).extend({type:e.literal("scrollUntil")}),m=n.extend(D.shape).extend({type:e.literal("deeplink")}),g=n.extend({type:e.literal("ai"),instruction:e.string()}),b=n.extend({type:e.literal("fileRef"),path:e.string(),overrides:e.record(e.string(),e.string()).optional()}),L={statusDiv:!0,element:!0,status:!0,statusColor:!0,originRef:!0,cropBase64:!0,x:!0,y:!0,screenWidth:!0,screenHeight:!0},t={statusDiv:!0,element:!0,status:!0,statusColor:!0,originRef:!0},o={...t,cropBase64:!0,x:!0,y:!0,screenWidth:!0,screenHeight:!0},R=e.discriminatedUnion("type",[s,a,l,p,u,d,c,m,g,b]),w=e.enum(["tap","assert","type","scroll","swipe","zoom","scrollUntil","deeplink","ai","fileRef"]),S=e.object({name:e.string(),steps:e.array(R),params:e.record(e.string(),e.string())});e.object({isRecording:e.boolean(),enableAnimations:e.boolean(),mode:e.enum(["interact","assert"]),test:S,isPlaying:e.boolean(),isDeviceConnected:e.boolean(),connectionStatus:e.string(),currentStepId:e.number().nullable(),selectedPlatform:e.enum(["android","ios"]).default("android"),selectedDeviceId:e.string().optional(),executionLog:e.array(e.object({stepId:e.number(),stepNumber:e.number(),screenshot:e.string(),cacheHit:e.boolean(),timestamp:e.number()})).default([]),currentScreenshot:e.string().nullable().default(null)});const j=e.discriminatedUnion("type",[s.omit(o),a.omit(o),l.omit(t),p.omit(t),d.omit(t),u.omit(t),c.omit(t),m.omit(t),g.omit(t),b.omit(t)]),P=e.object({name:e.string(),steps:e.array(j),params:e.record(e.string(),e.string())}),U=new x({isRecording:!1,enableAnimations:!0,mode:"interact",test:{name:"untitled",steps:[],params:{}},isPlaying:!1,isDeviceConnected:!1,connectionStatus:"Connecting...",currentStepId:null,selectedPlatform:"android",selectedDeviceId:void 0,executionLog:[],currentScreenshot:null});export{w as A,P as B,R as D,U as L,c as S,p as c,m as d,b as h,a as i,l,s as r,g as u,L as w};