@fugood/bricks-cli 2.26.2-beta.0 → 2.26.2-beta.1

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.
package/lib/8412.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=8412;export const __rspack_esm_ids=[8412];export const __webpack_modules__={2471(r,e,o){o.r(e),o.d(e,{assertProjectWorkspace:()=>h,getProjectWorkspaceMismatch:()=>u});var t=o(99436),a=o(68832),i=o(51455),s=o(76760),n=o(31802),p=o(47988),c={override:"from -ap",env:"from BRICKS_PROFILE",config:"the current profile"},f=(r,e)=>String(r)===String(e),l=(r,e)=>e?`${r} (${e})`:String(r);function u(r){var e=r?.workspaceId;if(!e)return null;var o=(0,p.getCurrentProfile)(),t=(0,p.getTokenInfo)(o);if(!t?.workspaceId||f(t.workspaceId,e))return null;var i=(0,p.listProfiles)().filter(r=>f(r.workspaceId,e)),s=i.filter(r=>(0,n.getAuthContext)(r.name)).map(r=>r.name),u=i.find(r=>r.workspaceName)?.workspaceName,h=a(s,1)[0],k=0===s.length?"No signed-in profile is of that workspace. Sign in to it first: `bricks auth use-workspace` (OAuth) or `bricks auth login-workspace <passcode> -p <profile>`.":1===s.length?`Run this command with the profile "${h}": add \`-ap ${h}\` or set \`BRICKS_PROFILE=${h}\`.`:`Profiles of that workspace: ${s.map(r=>`"${r}"`).join(", ")}. Run this command with one of them: add \`-ap <profile>\` or set \`BRICKS_PROFILE=<profile>\`.`;return`Workspace mismatch: this project belongs to workspace ${l(e,u)}, but the auth profile "${o}" (${c[(0,p.getCurrentProfileSource)()]}) is of workspace ${l(t.workspaceId,t.workspaceName)}. ${k}`}function h(){return k.apply(this,arguments)}function k(){return(k=t(function*(){try{r=JSON.parse((yield(0,i.readFile)((0,s.join)(process.cwd(),"application.json"),"utf8")))}catch{return}var r,e=u(r);if(e)throw Error(e)})).apply(this,arguments)}}};
package/lib/907.js CHANGED
@@ -1,4 +1,4 @@
1
- export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export const __webpack_modules__={85382(e,i,t){t.r(i),t.d(i,{BricksClient:()=>B,BricksPublicClient:()=>k,createClient:()=>D,createFetchForUrl:()=>v.createFetchForUrl,createPublicClient:()=>A});var n,a,r,s,o=t(99436),d=t(5018),l=t(44668),u=t(54506),c=t(78549),p=t(94370),$=t(90424),m=t(43741),g=t(89293),v=t(75149),_=u.ApolloClient,f=u.InMemoryCache,I=u.HttpLink,y=c.o,h={query:"query",mutation:"mutate"},k=l(function e(i){d(this,e),this.baseUrl=i,this.endpoint="/api/graphql-nonauth";var t=new I({uri:`${i}${this.endpoint}`,fetch:(0,v.createFetchForUrl)(i)});this.apolloClient=new _({link:t,cache:new f,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(n=o(function*(e){var i=(0,p.default)`
1
+ export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export const __webpack_modules__={85382(e,i,t){t.r(i),t.d(i,{BricksClient:()=>B,BricksPublicClient:()=>A,createClient:()=>D,createFetchForUrl:()=>_.createFetchForUrl,createPublicClient:()=>k});var n,a,r,s,o=t(99436),d=t(5018),l=t(44668),u=t(54506),c=t(78549),p=t(94370),$=t(90424),m=t(43741),g=t(89293),_=t(75149),v=u.ApolloClient,f=u.InMemoryCache,I=u.HttpLink,y=c.o,h={query:"query",mutation:"mutate"},A=l(function e(i){d(this,e),this.baseUrl=i,this.endpoint="/api/graphql-nonauth";var t=new I({uri:`${i}${this.endpoint}`,fetch:(0,_.createFetchForUrl)(i)});this.apolloClient=new v({link:t,cache:new f,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(n=o(function*(e){var i=(0,p.default)`
2
2
  query checkWorkspaceOTP($passcode: String!) {
3
3
  checkWorkspaceOTP(passcode: $passcode)
4
4
  }
@@ -10,9 +10,9 @@ export const __rspack_esm_id=907;export const __rspack_esm_ids=[907];export cons
10
10
  workspaceName
11
11
  }
12
12
  }
13
- `,t=yield this.apolloClient.mutate({mutation:i,variables:{passcode:e}}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n.exchangeWorkspaceOTP}),function(e){return a.apply(this,arguments)})}]),A=e=>new k(e),C=e=>Object.assign(Error(e.map(({message:e})=>e).join("\n")),{graphQLErrors:e}),b="Note: OAuth workspace access is awaiting the next production server release. Until then, use workspace auth (passcode or token; CLI: `bricks auth login-workspace`).",S=(e,i)=>{if(i?.kind!=="oauth")return e;var t=e?.message||String(e);if(!(403===(e?.statusCode||e?.networkError?.statusCode||e?.cause?.statusCode)||/\b403\b|invalid algorithm/i.test(t))||t.includes(b))return e;var n=Error(`${t}
13
+ `,t=yield this.apolloClient.mutate({mutation:i,variables:{passcode:e}}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n.exchangeWorkspaceOTP}),function(e){return a.apply(this,arguments)})}]),k=e=>new A(e),b=e=>Object.assign(Error(e.map(({message:e})=>e).join("\n")),{graphQLErrors:e}),C="Note: OAuth workspace access is awaiting the next production server release. Until then, use workspace auth (passcode or token; CLI: `bricks auth login-workspace`).",S=(e,i)=>{if(i?.kind!=="oauth")return e;var t=e?.message||String(e);if(!(403===(e?.statusCode||e?.networkError?.statusCode||e?.cause?.statusCode)||/\b403\b|invalid algorithm/i.test(t))||t.includes(C))return e;var n=Error(`${t}
14
14
 
15
- ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseUrl=i,this.auth=(e=>{if(!e)return null;if("string"==typeof e){var i;return{kind:"token",token:e,getHeaders:(i=o(function*(){return{authorization:`Bearer ${e}`}}),function(){return i.apply(this,arguments)})}}return e})(t),this.token=this.auth?.token,this.endpoint="/api/graphql-workspace";var r=new I({uri:`${i}${this.endpoint}`,fetch:(0,v.createFetchForUrl)(i)}),s=y((n=o(function*(e,{headers:i}){return{headers:{...i,...a.auth?yield a.auth.getHeaders():{}}}}),function(e,i){return n.apply(this,arguments)}));this.apolloClient=new _({link:s.concat(r),cache:new f,defaultOptions:{watchQuery:{errorPolicy:"all",fetchPolicy:"no-cache"},query:{errorPolicy:"all",fetchPolicy:"no-cache"}}}),this.queries=m,this.mutations=g,this.generateMethods()},[{key:"generateMethods",value:function(){var e=this,i=i=>([t,n])=>{if(!this[t]){var a,r=(a=o(function*(a,r,s=!1){try{var o=e.apolloClient[h[i]].bind(e.apolloClient),d=yield o({[i]:s?(0,$.YR)(n,{FragmentDefinition(e){if("BlueprintRun"===e.typeCondition.name.value)return{...e,selectionSet:{...e.selectionSet,selections:e.selectionSet.selections.filter(e=>!["instance_id","sessions"].includes(e.name?.value))}}},VariableDefinition:e=>"instanceId"===e.variable.name.value?null:void 0,Argument:e=>"instanceId"===e.name.value?null:void 0}):n,variables:s?Object.fromEntries(Object.entries(a).filter(([e])=>"instanceId"!==e)):a,...r}),l=d.data,u=d.errors;if(u)throw C(u);return l[t]}catch(e){var c=e.cause?.result?.errors||e.networkError?.result?.errors;if(c)throw C(c);throw e}}),function(e,i){return a.apply(this,arguments)});this[t]=o(function*(i={},n={}){try{return yield r(i,n)}catch(s){let a;if(/blueprint/i.test(t)&&(a=s.message,/Unknown argument "instanceId".*acquireBlueprintRun|Cannot query field "(?:instance_id|sessions)" on type "BlueprintRun"/.test(a)))return r(i,n,!0);if(e.auth?.kind==="oauth"&&e.auth.refresh&&/401|unauthoriz|jwt expired|token.*expired|invalid.*token/i.test(s?.message||"")){yield e.auth.refresh();try{return yield r(i,n)}catch(i){throw S(i,e.auth)}}throw S(s,e.auth)}})}};Object.entries(this.queries).forEach(i("query")),Object.entries(this.mutations).forEach(i("mutation"))}},{key:"query",value:(r=o(function*(e,i={}){var t=yield this.apolloClient.query({query:e,variables:i,fetchPolicy:"no-cache"}),n=t.data,a=t.errors;if(a?.length>0)throw C(a);return n}),function(e){return r.apply(this,arguments)})},{key:"mutate",value:(s=o(function*(e,i={}){var t=yield this.apolloClient.mutate({mutation:e,variables:i}),n=t.data,a=t.errors;if(a?.length>0)throw C(a);return n}),function(e){return s.apply(this,arguments)})}]),D=(e,i)=>new B(e,i)},75149(e,i,t){t.r(i),t.d(i,{createFetchForUrl:()=>r});var n=t(79657),a=t(64007);function r(e){var i=process.env.HTTPS_PROXY||process.env.https_proxy;if(!i||!e.startsWith("https://"))return n.Ay;var t=new a(i);return(e,i={})=>(0,n.Ay)(e,{...i,agent:t})}},48596(e,i,t){t.d(i,{$7:()=>u,$V:()=>c,C$:()=>v,F3:()=>r,J6:()=>p,NJ:()=>o,VZ:()=>s,Yi:()=>a,_A:()=>g,ju:()=>_,lI:()=>l,mJ:()=>d,sJ:()=>f,zL:()=>m});var n=t(94370),a=(0,n.default)`
15
+ ${C}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseUrl=i,this.auth=(e=>{if(!e)return null;if("string"==typeof e){var i;return{kind:"token",token:e,getHeaders:(i=o(function*(){return{authorization:`Bearer ${e}`}}),function(){return i.apply(this,arguments)})}}return e})(t),this.token=this.auth?.token,this.endpoint="/api/graphql-workspace";var r=new I({uri:`${i}${this.endpoint}`,fetch:(0,_.createFetchForUrl)(i)}),s=y((n=o(function*(e,{headers:i}){return{headers:{...i,...a.auth?yield a.auth.getHeaders():{}}}}),function(e,i){return n.apply(this,arguments)}));this.apolloClient=new v({link:s.concat(r),cache:new f,defaultOptions:{watchQuery:{errorPolicy:"all",fetchPolicy:"no-cache"},query:{errorPolicy:"all",fetchPolicy:"no-cache"}}}),this.queries=m,this.mutations=g,this.generateMethods()},[{key:"generateMethods",value:function(){var e=this,i=i=>([t,n])=>{if(!this[t]){var a,r=(a=o(function*(a,r,s=null){try{var o=e.apolloClient[h[i]].bind(e.apolloClient),d="blueprint"===s?(0,$.YR)(n,{FragmentDefinition(e){if("BlueprintRun"===e.typeCondition.name.value)return{...e,selectionSet:{...e.selectionSet,selections:e.selectionSet.selections.filter(e=>!["instance_id","sessions"].includes(e.name?.value))}}},VariableDefinition:e=>"instanceId"===e.variable.name.value?null:void 0,Argument:e=>"instanceId"===e.name.value?null:void 0}):"module-import"===s?(0,$.YR)(n,{Field:e=>"import_info"===e.name.value?null:void 0}):n,l=yield o({[i]:d,variables:"blueprint"===s?Object.fromEntries(Object.entries(a).filter(([e])=>"instanceId"!==e)):a,...r}),u=l.data,c=l.errors;if(c)throw b(c);return u[t]}catch(e){var p=e.cause?.result?.errors||e.networkError?.result?.errors;if(p)throw b(p);throw e}}),function(e,i){return a.apply(this,arguments)});this[t]=o(function*(i={},n={}){try{return yield r(i,n)}catch(o){let a,s;if(/blueprint/i.test(t)&&(a=o.message,/Unknown argument "instanceId".*acquireBlueprintRun|Cannot query field "(?:instance_id|sessions)" on type "BlueprintRun"/.test(a)))return r(i,n,"blueprint");if("module"===t&&(s=o.message,/Cannot query field "(?:import_info|uses_popup)" on type "(?:Module|ConfigVersion)"/.test(s||"")))return r(i,n,"module-import");if(e.auth?.kind==="oauth"&&e.auth.refresh&&/401|unauthoriz|jwt expired|token.*expired|invalid.*token/i.test(o?.message||"")){yield e.auth.refresh();try{return yield r(i,n)}catch(i){throw S(i,e.auth)}}throw S(o,e.auth)}})}};Object.entries(this.queries).forEach(i("query")),Object.entries(this.mutations).forEach(i("mutation"))}},{key:"query",value:(r=o(function*(e,i={}){var t=yield this.apolloClient.query({query:e,variables:i,fetchPolicy:"no-cache"}),n=t.data,a=t.errors;if(a?.length>0)throw b(a);return n}),function(e){return r.apply(this,arguments)})},{key:"mutate",value:(s=o(function*(e,i={}){var t=yield this.apolloClient.mutate({mutation:e,variables:i}),n=t.data,a=t.errors;if(a?.length>0)throw b(a);return n}),function(e){return s.apply(this,arguments)})}]),D=(e,i)=>new B(e,i)},75149(e,i,t){t.r(i),t.d(i,{createFetchForUrl:()=>r});var n=t(79657),a=t(64007);function r(e){var i=process.env.HTTPS_PROXY||process.env.https_proxy;if(!i||!e.startsWith("https://"))return n.Ay;var t=new a(i);return(e,i={})=>(0,n.Ay)(e,{...i,agent:t})}},48596(e,i,t){t.d(i,{$7:()=>u,$V:()=>c,C$:()=>_,F3:()=>r,J6:()=>p,NJ:()=>o,VZ:()=>s,Yi:()=>a,_A:()=>g,ju:()=>v,lI:()=>l,mJ:()=>d,sJ:()=>f,zL:()=>m});var n=t(94370),a=(0,n.default)`
16
16
  fragment cliWorkspaceArguments on Workspace {
17
17
  _id
18
18
  name
@@ -357,7 +357,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
357
357
  }
358
358
  ${$}
359
359
  ${m}
360
- `,v=(0,n.default)`
360
+ `,_=(0,n.default)`
361
361
  fragment cliBlueprintShortArguments on Blueprint {
362
362
  _id
363
363
  name
@@ -374,7 +374,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
374
374
  last_modify_datetime
375
375
  }
376
376
  ${m}
377
- `,_=(0,n.default)`
377
+ `,v=(0,n.default)`
378
378
  fragment cliRegistryCredentialArguments on RegistryCredential {
379
379
  token
380
380
  jti
@@ -390,7 +390,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
390
390
  baseUrl
391
391
  jwks
392
392
  }
393
- `},89293(e,i,t){t.r(i),t.d(i,{acquireBlueprintRun:()=>U,bindApplication:()=>f,bindButtressServer:()=>q,bindButtressServerWithRegistry:()=>x,controlDevice:()=>s,copyMediaFiles:()=>D,createApplication:()=>p,createApplicationWithShareVersion:()=>$,createBlueprint:()=>G,createDevice:()=>r,createMediaFileUploadRequest:()=>S,createModule:()=>y,createVirtualDevice:()=>o,deleteMediaBoxFiles:()=>w,deleteMediaFiles:()=>L,dispatchDeviceGroupAction:()=>c,heartbeatBlueprintRun:()=>K,issueButtressAccessToken:()=>M,issueButtressNodeCredential:()=>F,issueButtressServerAccessToken:()=>V,issueDevtoolsAccessToken:()=>E,releaseApplication:()=>b,releaseBlueprintRun:()=>H,releaseModule:()=>T,removeApplication:()=>v,removeBlueprint:()=>O,removeDevice:()=>u,removeModule:()=>k,revertBlueprint:()=>j,revokeAccessTokens:()=>W,setMediaFileAsBoxPreview:()=>P,shortEditApplication:()=>_,shortEditModule:()=>A,triggerApplicationCanvasControl:()=>I,unbindButtressServer:()=>R,updateApplication:()=>m,updateBlueprint:()=>N,updateDevice:()=>l,updateMediaFiles:()=>B,updateModule:()=>h,updateVirtualDevice:()=>d,updateWorkspace:()=>C,useApplicationReleaseVersion:()=>g});var n=t(94370),a=t(48596),r=(0,n.default)`
393
+ `},89293(e,i,t){t.r(i),t.d(i,{acquireBlueprintRun:()=>U,bindApplication:()=>f,bindButtressServer:()=>q,bindButtressServerWithRegistry:()=>x,controlDevice:()=>s,copyMediaFiles:()=>D,createApplication:()=>p,createApplicationWithShareVersion:()=>$,createBlueprint:()=>G,createDevice:()=>r,createMediaFileUploadRequest:()=>S,createModule:()=>y,createVirtualDevice:()=>o,deleteMediaBoxFiles:()=>w,deleteMediaFiles:()=>L,dispatchDeviceGroupAction:()=>c,heartbeatBlueprintRun:()=>K,issueButtressAccessToken:()=>M,issueButtressNodeCredential:()=>F,issueButtressServerAccessToken:()=>V,issueDevtoolsAccessToken:()=>E,releaseApplication:()=>C,releaseBlueprintRun:()=>H,releaseModule:()=>T,removeApplication:()=>_,removeBlueprint:()=>O,removeDevice:()=>u,removeModule:()=>A,revertBlueprint:()=>j,revokeAccessTokens:()=>W,setMediaFileAsBoxPreview:()=>P,shortEditApplication:()=>v,shortEditModule:()=>k,triggerApplicationCanvasControl:()=>I,unbindButtressServer:()=>R,updateApplication:()=>m,updateBlueprint:()=>N,updateDevice:()=>l,updateMediaFiles:()=>B,updateModule:()=>h,updateVirtualDevice:()=>d,updateWorkspace:()=>b,useApplicationReleaseVersion:()=>g});var n=t(94370),a=t(48596),r=(0,n.default)`
394
394
  mutation CLI_createDevice($bindPasscode: String, $name: String, $deviceName: String) {
395
395
  createDevice(bindPasscode: $bindPasscode, name: $name, deviceName: $deviceName) {
396
396
  ...cliDeviceArguments
@@ -534,11 +534,11 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
534
534
  }
535
535
  }
536
536
  ${a.$7}
537
- `,v=(0,n.default)`
537
+ `,_=(0,n.default)`
538
538
  mutation CLI_removeApplication($id: ID!) {
539
539
  removeApplication(id: $id)
540
540
  }
541
- `,_=(0,n.default)`
541
+ `,v=(0,n.default)`
542
542
  mutation CLI_shortEditApplication(
543
543
  $id: ID!
544
544
  $list: [ShortEditInput]!
@@ -639,11 +639,11 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
639
639
  }
640
640
  }
641
641
  ${a.$V}
642
- `,k=(0,n.default)`
642
+ `,A=(0,n.default)`
643
643
  mutation CLI_removeModule($id: ID!) {
644
644
  removeModule(id: $id)
645
645
  }
646
- `,A=(0,n.default)`
646
+ `,k=(0,n.default)`
647
647
  mutation CLI_shortEditModule(
648
648
  $id: ID!
649
649
  $list: [ShortEditInput]!
@@ -655,7 +655,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
655
655
  name
656
656
  }
657
657
  }
658
- `,C=(0,n.default)`
658
+ `,b=(0,n.default)`
659
659
  mutation CLI_updateWorkspace(
660
660
  $name: String
661
661
  $description: String
@@ -679,7 +679,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
679
679
  }
680
680
  }
681
681
  }
682
- `,b=(0,n.default)`
682
+ `,C=(0,n.default)`
683
683
  mutation CLI_releaseApplication(
684
684
  $id: ID!
685
685
  $config: String
@@ -762,7 +762,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
762
762
  $releaseCurrentVersion: String
763
763
  $releaseCurrentVersionNote: String
764
764
  ) {
765
- updateModule(
765
+ releaseModule: updateModule(
766
766
  id: $id
767
767
  config: $config
768
768
  name: $name
@@ -772,6 +772,8 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
772
772
  ) {
773
773
  _id
774
774
  name
775
+ current_version
776
+ is_public
775
777
  }
776
778
  }
777
779
  `,q=(0,n.default)`
@@ -920,7 +922,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
920
922
  mutation CLI_releaseBlueprintRun($id: ID!, $sessionId: String!) {
921
923
  releaseBlueprintRun(id: $id, sessionId: $sessionId)
922
924
  }
923
- `},43741(e,i,t){t.r(i),t.d(i,{application:()=>p,applicationDeviceSettings:()=>$,applicationProject:()=>B,applicationReleaseVersions:()=>m,applications:()=>g,blueprint:()=>T,blueprintEvents:()=>M,blueprintProjection:()=>F,blueprintRevisions:()=>R,blueprints:()=>q,blueprintsByInstance:()=>x,buttressServerKeys:()=>L,buttressServers:()=>w,checkBindDevicePasscode:()=>y,device:()=>s,deviceGroup:()=>l,deviceGroups:()=>u,deviceUsage:()=>S,devices:()=>o,devicesApplicationStatus:()=>V,devicesByGroup:()=>c,devicesPanel:()=>d,mediaBox:()=>C,mediaBoxes:()=>A,mediaFile:()=>b,mediaFiles:()=>h,mediaWorkspace:()=>k,module:()=>_,moduleProject:()=>D,modules:()=>f,publicApplicationShareInfo:()=>v,publicModules:()=>I,registryTrust:()=>P,workspace:()=>r});var n=t(94370),a=t(48596),r=(0,n.default)`
925
+ `},43741(e,i,t){t.r(i),t.d(i,{application:()=>$,applicationDeviceSettings:()=>m,applicationProject:()=>D,applicationReleaseVersions:()=>g,applications:()=>_,blueprint:()=>q,blueprintEvents:()=>V,blueprintProjection:()=>R,blueprintRevisions:()=>M,blueprints:()=>x,blueprintsByInstance:()=>F,buttressServerKeys:()=>w,buttressServers:()=>P,checkBindDevicePasscode:()=>h,device:()=>s,deviceGroup:()=>u,deviceGroups:()=>c,deviceUsage:()=>B,devices:()=>o,devicesApplicationStatus:()=>E,devicesByApplicationPanel:()=>l,devicesByGroup:()=>p,devicesPanel:()=>d,mediaBox:()=>C,mediaBoxes:()=>b,mediaFile:()=>S,mediaFiles:()=>A,mediaWorkspace:()=>k,module:()=>f,moduleProject:()=>L,modules:()=>I,publicApplicationShareInfo:()=>v,publicModules:()=>y,registryTrust:()=>T,workspace:()=>r});var n=t(94370),a=t(48596),r=(0,n.default)`
924
926
  query CLI_workspace {
925
927
  workspace {
926
928
  ...cliWorkspaceArguments
@@ -949,20 +951,27 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
949
951
  }
950
952
  ${a.VZ}
951
953
  `,l=(0,n.default)`
954
+ query CLI_devicesByApplicationPanel($id: ID!) {
955
+ devicesByApplicationPanel: devicesByApplication(id: $id) {
956
+ ...cliDevicePanelArguments
957
+ }
958
+ }
959
+ ${a.VZ}
960
+ `,u=(0,n.default)`
952
961
  query CLI_deviceGroup($id: ID) {
953
962
  deviceGroup(id: $id) {
954
963
  ...cliDeviceGroupArguments
955
964
  }
956
965
  }
957
966
  ${a.mJ}
958
- `,u=(0,n.default)`
967
+ `,c=(0,n.default)`
959
968
  query CLI_deviceGroups($paginate: Paginate) {
960
969
  deviceGroups(paginate: $paginate) {
961
970
  ...cliDeviceGroupArguments
962
971
  }
963
972
  }
964
973
  ${a.mJ}
965
- `,c=(0,n.default)`
974
+ `,p=(0,n.default)`
966
975
  query CLI_devicesByGroup($id: ID) {
967
976
  devicesByGroup(id: $id) {
968
977
  target_name
@@ -983,14 +992,14 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
983
992
  }
984
993
  }
985
994
  }
986
- `,p=(0,n.default)`
995
+ `,$=(0,n.default)`
987
996
  query CLI_application($id: ID!, $composed: Boolean, $debug: Boolean) {
988
997
  application(id: $id, composed: $composed, debug: $debug) {
989
998
  ...cliApplicationArguments
990
999
  }
991
1000
  }
992
1001
  ${a.lI}
993
- `,$=(0,n.default)`
1002
+ `,m=(0,n.default)`
994
1003
  query CLI_applicationDeviceSettings($id: ID!) {
995
1004
  applicationDeviceSettings: application(id: $id) {
996
1005
  _id
@@ -1015,7 +1024,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1015
1024
  }
1016
1025
  }
1017
1026
  }
1018
- `,m=(0,n.default)`
1027
+ `,g=(0,n.default)`
1019
1028
  query CLI_applicationReleaseVersions($id: ID!) {
1020
1029
  applicationReleaseVersions(id: $id) {
1021
1030
  _id
@@ -1024,7 +1033,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1024
1033
  create_datetime
1025
1034
  }
1026
1035
  }
1027
- `,g=(0,n.default)`
1036
+ `,_=(0,n.default)`
1028
1037
  query CLI_applications($keyword: String, $paginate: Paginate) {
1029
1038
  applications(keyword: $keyword, paginate: $paginate) {
1030
1039
  ...cliApplicationShortArguments
@@ -1056,32 +1065,43 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1056
1065
  }
1057
1066
  }
1058
1067
  }
1059
- `,_=(0,n.default)`
1068
+ `,f=(0,n.default)`
1060
1069
  query CLI_module($id: ID!) {
1061
1070
  module(id: $id) {
1062
1071
  ...cliModuleArguments
1072
+ import_info {
1073
+ root_subspace_id
1074
+ title
1075
+ layout
1076
+ exposed_properties
1077
+ action_map
1078
+ requirements
1079
+ requirement_routings
1080
+ module
1081
+ uses_popup
1082
+ }
1063
1083
  }
1064
1084
  }
1065
1085
  ${a.$V}
1066
- `,f=(0,n.default)`
1086
+ `,I=(0,n.default)`
1067
1087
  query CLI_modules($keyword: String, $paginate: Paginate) {
1068
1088
  modules(keyword: $keyword, paginate: $paginate) {
1069
1089
  ...cliModuleShortArguments
1070
1090
  }
1071
1091
  }
1072
1092
  ${a.J6}
1073
- `,I=(0,n.default)`
1093
+ `,y=(0,n.default)`
1074
1094
  query CLI_publicModules($keyword: String!, $limit: Int) {
1075
1095
  publicModules(keyword: $keyword, paginate: { limit: $limit }) {
1076
1096
  ...cliModuleShortArguments
1077
1097
  }
1078
1098
  }
1079
1099
  ${a.J6}
1080
- `,y=(0,n.default)`
1100
+ `,h=(0,n.default)`
1081
1101
  query CLI_checkBindDevicePasscode($passcode: String!) {
1082
1102
  checkBindDevicePasscode(passcode: $passcode)
1083
1103
  }
1084
- `,h=(0,n.default)`
1104
+ `,A=(0,n.default)`
1085
1105
  query CLI_mediaFiles(
1086
1106
  $boxId: ID!
1087
1107
  $includeTypes: [String]
@@ -1137,7 +1157,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1137
1157
  updatedAt
1138
1158
  }
1139
1159
  }
1140
- `,A=(0,n.default)`
1160
+ `,b=(0,n.default)`
1141
1161
  query CLI_mediaBoxes($includeCodes: Boolean = false) {
1142
1162
  mediaBoxes {
1143
1163
  id
@@ -1181,7 +1201,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1181
1201
  }
1182
1202
  }
1183
1203
  }
1184
- `,b=(0,n.default)`
1204
+ `,S=(0,n.default)`
1185
1205
  query CLI_mediaFile($id: ID!) {
1186
1206
  mediaFile(id: $id) {
1187
1207
  id
@@ -1212,7 +1232,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1212
1232
  }
1213
1233
  }
1214
1234
  }
1215
- `,S=(0,n.default)`
1235
+ `,B=(0,n.default)`
1216
1236
  query CLI_deviceUsage($deviceId: ID, $startDate: Date, $endDate: Date) {
1217
1237
  deviceUsage(deviceId: $deviceId, startDate: $startDate, endDate: $endDate) {
1218
1238
  _id
@@ -1231,7 +1251,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1231
1251
  }
1232
1252
  }
1233
1253
  }
1234
- `,B=(0,n.default)`
1254
+ `,D=(0,n.default)`
1235
1255
  query CLI_applicationProject(
1236
1256
  $id: ID!
1237
1257
  $buildApplicationOnly: Boolean
@@ -1249,7 +1269,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1249
1269
  setupGeminiCLI: $setupGeminiCLI
1250
1270
  )
1251
1271
  }
1252
- `,D=(0,n.default)`
1272
+ `,L=(0,n.default)`
1253
1273
  query CLI_moduleProject(
1254
1274
  $id: ID!
1255
1275
  $buildApplicationOnly: Boolean
@@ -1267,7 +1287,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1267
1287
  setupGeminiCLI: $setupGeminiCLI
1268
1288
  )
1269
1289
  }
1270
- `,L=(0,n.default)`
1290
+ `,w=(0,n.default)`
1271
1291
  query CLI_buttressServerKeys {
1272
1292
  buttressServerKeys: buttressServers {
1273
1293
  serverId
@@ -1276,7 +1296,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1276
1296
  }
1277
1297
  }
1278
1298
  }
1279
- `,w=(0,n.default)`
1299
+ `,P=(0,n.default)`
1280
1300
  query CLI_buttressServers {
1281
1301
  buttressServers {
1282
1302
  serverId
@@ -1285,39 +1305,39 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1285
1305
  lastSeenAt
1286
1306
  }
1287
1307
  }
1288
- `,P=(0,n.default)`
1308
+ `,T=(0,n.default)`
1289
1309
  query CLI_registryTrust {
1290
1310
  registryTrust {
1291
1311
  ...cliRegistryTrustArguments
1292
1312
  }
1293
1313
  }
1294
1314
  ${a.sJ}
1295
- `,T=(0,n.default)`
1315
+ `,q=(0,n.default)`
1296
1316
  query CLI_blueprint($id: ID!) {
1297
1317
  blueprint(id: $id) {
1298
1318
  ...cliBlueprintArguments
1299
1319
  }
1300
1320
  }
1301
1321
  ${a._A}
1302
- `,q=(0,n.default)`
1322
+ `,x=(0,n.default)`
1303
1323
  query CLI_blueprints($keyword: String, $paginate: Paginate) {
1304
1324
  blueprints(keyword: $keyword, paginate: $paginate) {
1305
1325
  ...cliBlueprintShortArguments
1306
1326
  }
1307
1327
  }
1308
1328
  ${a.C$}
1309
- `,x=(0,n.default)`
1329
+ `,F=(0,n.default)`
1310
1330
  query CLI_blueprintsByInstance($kind: BlueprintNodeKind!, $ref: String!) {
1311
1331
  blueprintsByInstance(kind: $kind, ref: $ref) {
1312
1332
  ...cliBlueprintShortArguments
1313
1333
  }
1314
1334
  }
1315
1335
  ${a.C$}
1316
- `,F=(0,n.default)`
1336
+ `,R=(0,n.default)`
1317
1337
  query CLI_blueprintProjection($id: ID!, $format: Int) {
1318
1338
  blueprintProjection(id: $id, format: $format)
1319
1339
  }
1320
- `,R=(0,n.default)`
1340
+ `,M=(0,n.default)`
1321
1341
  query CLI_blueprintRevisions($id: ID!, $limit: Int) {
1322
1342
  blueprintRevisions(id: $id, limit: $limit) {
1323
1343
  _id
@@ -1327,7 +1347,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1327
1347
  created_at
1328
1348
  }
1329
1349
  }
1330
- `,M=(0,n.default)`
1350
+ `,V=(0,n.default)`
1331
1351
  query CLI_blueprintEvents($id: ID!, $limit: Int) {
1332
1352
  blueprintEvents(id: $id, limit: $limit) {
1333
1353
  _id
@@ -1343,7 +1363,7 @@ ${b}`);return n.cause=e,n},B=l(function e(i,t){var n,a=this;d(this,e),this.baseU
1343
1363
  created_at
1344
1364
  }
1345
1365
  }
1346
- `,V=(0,n.default)`
1366
+ `,E=(0,n.default)`
1347
1367
  query CLI_devicesApplicationStatus($filter: DeviceApplicationStatusFilter, $paginate: Paginate) {
1348
1368
  devicesApplicationStatus(filter: $filter, paginate: $paginate) {
1349
1369
  device_id