@fugood/bricks-cli 2.26.0-beta.9 → 2.26.1-beta.0
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/README.md +116 -7
- package/lib/1010.js +1 -1
- package/lib/1178.js +1 -1
- package/lib/1215.js +1 -1
- package/lib/1374.js +4 -0
- package/lib/1708.js +8 -8
- package/lib/1809.js +1 -0
- package/lib/1936.js +1 -1
- package/lib/2486.js +1 -1
- package/lib/2499.js +1 -0
- package/lib/2517.js +8 -0
- package/lib/2557.js +1 -1
- package/lib/3223.js +1 -1
- package/lib/3774.js +2 -6
- package/lib/3781.js +2 -2
- package/lib/{6842.js → 39.js} +1 -1
- package/lib/3976.js +6 -10
- package/lib/4456.js +2 -2
- package/lib/4485.js +1 -0
- package/lib/4530.js +10 -10
- package/lib/4994.js +1 -0
- package/lib/6194.js +2 -2
- package/lib/638.js +1 -0
- package/lib/6818.js +1 -1
- package/lib/7281.js +1 -0
- package/lib/7294.js +2 -2
- package/lib/7494.js +12 -3
- package/lib/7511.js +3 -1
- package/lib/8102.js +5 -0
- package/lib/831.js +1 -1
- package/lib/8687.js +49 -0
- package/lib/8937.js +1 -0
- package/lib/907.js +528 -91
- package/lib/9320.js +23 -2
- package/lib/9387.js +5 -5
- package/lib/9439.js +2670 -0
- package/lib/9663.js +1 -1
- package/lib/devtools.js +1 -0
- package/lib/index.js +168 -105
- package/lib/lib.js +573 -104
- package/lib/simulator-host-bridge.cjs +1 -1
- package/lib/simulator-main.mjs +6 -6
- package/package.json +8 -7
- package/lib/3332.js +0 -13
- package/lib/3593.js +0 -1
- package/lib/3690.js +0 -1
- package/lib/563.js +0 -4
- package/lib/6042.js +0 -1
- package/lib/6645.js +0 -1
- package/lib/7233.js +0 -2546
- package/lib/7574.js +0 -1
- package/lib/7648.js +0 -1
- package/lib/9590.js +0 -7
package/lib/907.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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:()=>
|
|
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)`
|
|
2
2
|
query checkWorkspaceOTP($passcode: String!) {
|
|
3
3
|
checkWorkspaceOTP(passcode: $passcode)
|
|
4
4
|
}
|
|
5
|
-
`,t=yield this.apolloClient.query({query:i,variables:{passcode:e}}),
|
|
5
|
+
`,t=yield this.apolloClient.query({query: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.checkWorkspaceOTP}),function(e){return n.apply(this,arguments)})},{key:"exchangeWorkspaceOTP",value:(a=o(function*(e){var i=(0,p.default)`
|
|
6
6
|
mutation exchangeWorkspaceOTP($passcode: String!) {
|
|
7
7
|
exchangeWorkspaceOTP(passcode: $passcode) {
|
|
8
8
|
token
|
|
@@ -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}}),
|
|
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}
|
|
14
14
|
|
|
15
|
-
${
|
|
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)`
|
|
16
16
|
fragment cliWorkspaceArguments on Workspace {
|
|
17
17
|
_id
|
|
18
18
|
name
|
|
@@ -26,7 +26,6 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
26
26
|
enable_media_workspace
|
|
27
27
|
workspace_id
|
|
28
28
|
system_media_box_id
|
|
29
|
-
system_media_box_passcode
|
|
30
29
|
}
|
|
31
30
|
billing {
|
|
32
31
|
plan {
|
|
@@ -38,7 +37,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
`,r=(0,
|
|
40
|
+
`,r=(0,n.default)`
|
|
42
41
|
fragment cliDeviceArguments on Device {
|
|
43
42
|
_id
|
|
44
43
|
name
|
|
@@ -113,18 +112,28 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
113
112
|
env {
|
|
114
113
|
variables
|
|
115
114
|
}
|
|
115
|
+
lock {
|
|
116
|
+
enabled
|
|
117
|
+
}
|
|
118
|
+
activity_log {
|
|
119
|
+
enabled
|
|
120
|
+
filter
|
|
121
|
+
screenshot_enabled
|
|
122
|
+
}
|
|
123
|
+
# Stored settings; entry_detail.local_sync is the runtime status reported by the device
|
|
124
|
+
local_sync {
|
|
125
|
+
enabled
|
|
126
|
+
priority_as_main
|
|
127
|
+
disable_dynamic_latency
|
|
128
|
+
latency_offset
|
|
129
|
+
}
|
|
116
130
|
used_workspace {
|
|
117
131
|
_id
|
|
118
|
-
media_resource {
|
|
119
|
-
enable_media_workspace
|
|
120
|
-
system_media_box_id
|
|
121
|
-
system_media_box_passcode
|
|
122
|
-
}
|
|
123
132
|
}
|
|
124
133
|
create_datetime
|
|
125
134
|
last_modify_datetime
|
|
126
135
|
}
|
|
127
|
-
`,
|
|
136
|
+
`,s=(0,n.default)`
|
|
128
137
|
fragment cliDevicePanelArguments on Device {
|
|
129
138
|
_id
|
|
130
139
|
name
|
|
@@ -162,7 +171,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
162
171
|
}
|
|
163
172
|
}
|
|
164
173
|
}
|
|
165
|
-
`,
|
|
174
|
+
`,o=(0,n.default)`
|
|
166
175
|
fragment cliDeviceShortArguments on Device {
|
|
167
176
|
_id
|
|
168
177
|
name
|
|
@@ -179,7 +188,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
179
188
|
}
|
|
180
189
|
}
|
|
181
190
|
}
|
|
182
|
-
`,d=(0,
|
|
191
|
+
`,d=(0,n.default)`
|
|
183
192
|
fragment cliDeviceGroupArguments on DeviceGroup {
|
|
184
193
|
_id
|
|
185
194
|
name
|
|
@@ -192,7 +201,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
192
201
|
create_datetime
|
|
193
202
|
last_modify_datetime
|
|
194
203
|
}
|
|
195
|
-
`,l=(0,
|
|
204
|
+
`,l=(0,n.default)`
|
|
196
205
|
fragment cliApplicationArguments on Application {
|
|
197
206
|
_id
|
|
198
207
|
name
|
|
@@ -209,13 +218,16 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
209
218
|
}
|
|
210
219
|
short_edit {
|
|
211
220
|
enabled
|
|
221
|
+
use_unstable_features
|
|
212
222
|
ref_map
|
|
213
223
|
}
|
|
214
224
|
canvas_control {
|
|
215
225
|
enabled
|
|
226
|
+
use_unstable_features
|
|
216
227
|
}
|
|
217
228
|
device_control {
|
|
218
229
|
enabled
|
|
230
|
+
use_unstable_features
|
|
219
231
|
}
|
|
220
232
|
lock {
|
|
221
233
|
enabled
|
|
@@ -224,22 +236,36 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
224
236
|
device_id
|
|
225
237
|
status
|
|
226
238
|
frame
|
|
239
|
+
run_test
|
|
240
|
+
cron_tests {
|
|
241
|
+
test_id
|
|
242
|
+
cron
|
|
243
|
+
bind_id
|
|
244
|
+
}
|
|
227
245
|
}
|
|
228
246
|
id_for_devices
|
|
229
247
|
sync_key
|
|
230
248
|
bricks_project_last_commit_id
|
|
231
249
|
create_datetime
|
|
232
250
|
last_modify_datetime
|
|
251
|
+
dev_ref {
|
|
252
|
+
is_dev
|
|
253
|
+
parent_application
|
|
254
|
+
}
|
|
233
255
|
}
|
|
234
|
-
`,
|
|
256
|
+
`,u=(0,n.default)`
|
|
235
257
|
fragment cliApplicationShortArguments on Application {
|
|
236
258
|
_id
|
|
237
259
|
name
|
|
238
260
|
description
|
|
239
261
|
has_unreleased_changes
|
|
240
262
|
current_version
|
|
263
|
+
dev_ref {
|
|
264
|
+
is_dev
|
|
265
|
+
parent_application
|
|
266
|
+
}
|
|
241
267
|
}
|
|
242
|
-
`,
|
|
268
|
+
`,c=(0,n.default)`
|
|
243
269
|
fragment cliModuleArguments on Module {
|
|
244
270
|
_id
|
|
245
271
|
name
|
|
@@ -262,35 +288,130 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
262
288
|
create_datetime
|
|
263
289
|
last_modify_datetime
|
|
264
290
|
}
|
|
265
|
-
`,p=(0,
|
|
291
|
+
`,p=(0,n.default)`
|
|
266
292
|
fragment cliModuleShortArguments on Module {
|
|
267
293
|
_id
|
|
268
294
|
name
|
|
269
295
|
description
|
|
270
296
|
current_version
|
|
271
297
|
}
|
|
272
|
-
|
|
298
|
+
`,$=(0,n.default)`
|
|
299
|
+
fragment cliBlueprintEdgeArguments on BlueprintEdge {
|
|
300
|
+
id
|
|
301
|
+
from
|
|
302
|
+
to
|
|
303
|
+
type
|
|
304
|
+
label
|
|
305
|
+
derived
|
|
306
|
+
}
|
|
307
|
+
`,m=(0,n.default)`
|
|
308
|
+
fragment cliBlueprintRunArguments on BlueprintRun {
|
|
309
|
+
instance_id
|
|
310
|
+
sessions {
|
|
311
|
+
session_id
|
|
312
|
+
started_at
|
|
313
|
+
heartbeat_at
|
|
314
|
+
}
|
|
315
|
+
host
|
|
316
|
+
user_id
|
|
317
|
+
session_id
|
|
318
|
+
started_at
|
|
319
|
+
heartbeat_at
|
|
320
|
+
}
|
|
321
|
+
`,g=(0,n.default)`
|
|
322
|
+
fragment cliBlueprintArguments on Blueprint {
|
|
323
|
+
_id
|
|
324
|
+
name
|
|
325
|
+
description
|
|
326
|
+
revision
|
|
327
|
+
nodes {
|
|
328
|
+
id
|
|
329
|
+
kind
|
|
330
|
+
ref
|
|
331
|
+
name
|
|
332
|
+
role
|
|
333
|
+
position {
|
|
334
|
+
x
|
|
335
|
+
y
|
|
336
|
+
}
|
|
337
|
+
missing
|
|
338
|
+
missing_reason
|
|
339
|
+
}
|
|
340
|
+
edges {
|
|
341
|
+
...cliBlueprintEdgeArguments
|
|
342
|
+
}
|
|
343
|
+
derivedEdges {
|
|
344
|
+
...cliBlueprintEdgeArguments
|
|
345
|
+
}
|
|
346
|
+
unlinkedRefs {
|
|
347
|
+
fromNodeId
|
|
348
|
+
kind
|
|
349
|
+
ref
|
|
350
|
+
name
|
|
351
|
+
}
|
|
352
|
+
run {
|
|
353
|
+
...cliBlueprintRunArguments
|
|
354
|
+
}
|
|
355
|
+
create_datetime
|
|
356
|
+
last_modify_datetime
|
|
357
|
+
}
|
|
358
|
+
${$}
|
|
359
|
+
${m}
|
|
360
|
+
`,v=(0,n.default)`
|
|
361
|
+
fragment cliBlueprintShortArguments on Blueprint {
|
|
362
|
+
_id
|
|
363
|
+
name
|
|
364
|
+
description
|
|
365
|
+
revision
|
|
366
|
+
nodes {
|
|
367
|
+
id
|
|
368
|
+
kind
|
|
369
|
+
missing
|
|
370
|
+
}
|
|
371
|
+
run {
|
|
372
|
+
...cliBlueprintRunArguments
|
|
373
|
+
}
|
|
374
|
+
last_modify_datetime
|
|
375
|
+
}
|
|
376
|
+
${m}
|
|
377
|
+
`,_=(0,n.default)`
|
|
378
|
+
fragment cliRegistryCredentialArguments on RegistryCredential {
|
|
379
|
+
token
|
|
380
|
+
jti
|
|
381
|
+
kid
|
|
382
|
+
issuedAt
|
|
383
|
+
expiresAt
|
|
384
|
+
renewAfter
|
|
385
|
+
}
|
|
386
|
+
`,f=(0,n.default)`
|
|
387
|
+
fragment cliRegistryTrustArguments on RegistryTrust {
|
|
388
|
+
issuer
|
|
389
|
+
audience
|
|
390
|
+
baseUrl
|
|
391
|
+
jwks
|
|
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)`
|
|
273
394
|
mutation CLI_createDevice($bindPasscode: String, $name: String, $deviceName: String) {
|
|
274
395
|
createDevice(bindPasscode: $bindPasscode, name: $name, deviceName: $deviceName) {
|
|
275
396
|
...cliDeviceArguments
|
|
276
397
|
}
|
|
277
398
|
}
|
|
278
|
-
${
|
|
279
|
-
`,
|
|
399
|
+
${a.F3}
|
|
400
|
+
`,s=(0,n.default)`
|
|
280
401
|
mutation CLI_controlDevice($id: ID!, $type: String!, $eventPayload: JSON) {
|
|
281
402
|
controlDevice(id: $id, type: $type, eventPayload: $eventPayload) {
|
|
282
403
|
_id
|
|
283
404
|
name
|
|
284
405
|
}
|
|
285
406
|
}
|
|
286
|
-
`,
|
|
407
|
+
`,o=(0,n.default)`
|
|
287
408
|
mutation CLI_createVirtualDevice($name: String, $deviceName: String) {
|
|
288
409
|
createVirtualDevice(name: $name, deviceName: $deviceName) {
|
|
289
410
|
...cliDeviceArguments
|
|
290
411
|
}
|
|
291
412
|
}
|
|
292
|
-
${
|
|
293
|
-
`,d=(0,
|
|
413
|
+
${a.F3}
|
|
414
|
+
`,d=(0,n.default)`
|
|
294
415
|
mutation CLI_updateVirtualDevice($id: ID!, $tokens: [DeviceTokenInput], $revokeTokens: [ID!]) {
|
|
295
416
|
updateVirtualDevice(id: $id, tokens: $tokens, revokeTokens: $revokeTokens) {
|
|
296
417
|
device {
|
|
@@ -302,19 +423,46 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
302
423
|
}
|
|
303
424
|
}
|
|
304
425
|
}
|
|
305
|
-
${
|
|
306
|
-
`,l=(0,
|
|
426
|
+
${a.F3}
|
|
427
|
+
`,l=(0,n.default)`
|
|
428
|
+
mutation CLI_updateDevice(
|
|
429
|
+
$id: ID!
|
|
430
|
+
$name: String
|
|
431
|
+
$description: String
|
|
432
|
+
$tags: [String]
|
|
433
|
+
$env: DeviceEnvInput
|
|
434
|
+
$activityLog: ActivityLogInput
|
|
435
|
+
$localSync: LocalSyncInput
|
|
436
|
+
$lock: DeviceLockInput
|
|
437
|
+
$forceNotifyDevice: Boolean
|
|
438
|
+
) {
|
|
439
|
+
updateDevice(
|
|
440
|
+
id: $id
|
|
441
|
+
name: $name
|
|
442
|
+
description: $description
|
|
443
|
+
tags: $tags
|
|
444
|
+
env: $env
|
|
445
|
+
activityLog: $activityLog
|
|
446
|
+
localSync: $localSync
|
|
447
|
+
lock: $lock
|
|
448
|
+
forceNotifyDevice: $forceNotifyDevice
|
|
449
|
+
) {
|
|
450
|
+
...cliDeviceArguments
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
${a.F3}
|
|
454
|
+
`,u=(0,n.default)`
|
|
307
455
|
mutation CLI_removeDevice($id: ID!) {
|
|
308
456
|
removeDevice(id: $id)
|
|
309
457
|
}
|
|
310
|
-
`,c=(0,
|
|
458
|
+
`,c=(0,n.default)`
|
|
311
459
|
mutation CLI_dispatchDeviceGroupAction($id: ID!, $action: String!) {
|
|
312
460
|
dispatchDeviceGroupAction(id: $id, action: $action) {
|
|
313
461
|
dispatched
|
|
314
462
|
devices
|
|
315
463
|
}
|
|
316
464
|
}
|
|
317
|
-
`,
|
|
465
|
+
`,p=(0,n.default)`
|
|
318
466
|
mutation CLI_createApplication(
|
|
319
467
|
$name: String
|
|
320
468
|
$description: String
|
|
@@ -330,8 +478,8 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
330
478
|
...cliApplicationShortArguments
|
|
331
479
|
}
|
|
332
480
|
}
|
|
333
|
-
${
|
|
334
|
-
|
|
481
|
+
${a.$7}
|
|
482
|
+
`,$=(0,n.default)`
|
|
335
483
|
mutation CLI_createApplicationWithShareVersion(
|
|
336
484
|
$name: String
|
|
337
485
|
$description: String
|
|
@@ -347,13 +495,15 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
347
495
|
...cliApplicationShortArguments
|
|
348
496
|
}
|
|
349
497
|
}
|
|
350
|
-
${
|
|
351
|
-
`,m=(0,
|
|
498
|
+
${a.$7}
|
|
499
|
+
`,m=(0,n.default)`
|
|
352
500
|
mutation CLI_updateApplication(
|
|
353
501
|
$id: ID!
|
|
354
502
|
$config: String
|
|
355
503
|
$name: String
|
|
356
504
|
$description: String
|
|
505
|
+
$tags: [String]
|
|
506
|
+
$lock: ApplicationLockInput
|
|
357
507
|
$validateConfig: Boolean
|
|
358
508
|
$lastCommitId: String
|
|
359
509
|
) {
|
|
@@ -362,20 +512,33 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
362
512
|
config: $config
|
|
363
513
|
name: $name
|
|
364
514
|
description: $description
|
|
515
|
+
tags: $tags
|
|
516
|
+
lock: $lock
|
|
365
517
|
validateConfig: $validateConfig
|
|
366
518
|
lastCommitId: $lastCommitId
|
|
367
519
|
) {
|
|
368
520
|
...cliApplicationShortArguments
|
|
369
521
|
config
|
|
370
522
|
has_unreleased_changes
|
|
523
|
+
tags
|
|
524
|
+
lock {
|
|
525
|
+
enabled
|
|
526
|
+
}
|
|
371
527
|
}
|
|
372
528
|
}
|
|
373
|
-
${
|
|
374
|
-
|
|
529
|
+
${a.$7}
|
|
530
|
+
`,g=(0,n.default)`
|
|
531
|
+
mutation CLI_useApplicationReleaseVersion($id: ID!, $versionId: ID!) {
|
|
532
|
+
useApplicationReleaseVersion: updateApplication(id: $id, useReleaseVersion: $versionId) {
|
|
533
|
+
...cliApplicationShortArguments
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
${a.$7}
|
|
537
|
+
`,v=(0,n.default)`
|
|
375
538
|
mutation CLI_removeApplication($id: ID!) {
|
|
376
539
|
removeApplication(id: $id)
|
|
377
540
|
}
|
|
378
|
-
`,
|
|
541
|
+
`,_=(0,n.default)`
|
|
379
542
|
mutation CLI_shortEditApplication(
|
|
380
543
|
$id: ID!
|
|
381
544
|
$list: [ShortEditInput]!
|
|
@@ -386,19 +549,23 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
386
549
|
...cliApplicationShortArguments
|
|
387
550
|
}
|
|
388
551
|
}
|
|
389
|
-
${
|
|
390
|
-
`,
|
|
552
|
+
${a.$7}
|
|
553
|
+
`,f=(0,n.default)`
|
|
391
554
|
mutation CLI_bindApplication(
|
|
392
555
|
$id: ID!
|
|
393
556
|
$bindDevices: [ID]
|
|
394
557
|
$unbindDevices: [ID]
|
|
558
|
+
$forceUnbindDevicesIfNeeded: Boolean
|
|
395
559
|
$deviceFrames: JSON
|
|
560
|
+
$deviceSettings: [DeviceSettingInput]
|
|
396
561
|
) {
|
|
397
562
|
bindApplication(
|
|
398
563
|
id: $id
|
|
399
564
|
bindDevices: $bindDevices
|
|
400
565
|
unbindDevices: $unbindDevices
|
|
566
|
+
forceUnbindDevicesIfNeeded: $forceUnbindDevicesIfNeeded
|
|
401
567
|
deviceFrames: $deviceFrames
|
|
568
|
+
deviceSettings: $deviceSettings
|
|
402
569
|
) {
|
|
403
570
|
_id
|
|
404
571
|
devices {
|
|
@@ -408,7 +575,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
408
575
|
}
|
|
409
576
|
}
|
|
410
577
|
}
|
|
411
|
-
`,
|
|
578
|
+
`,I=(0,n.default)`
|
|
412
579
|
mutation CLI_triggerApplicationCanvasControl(
|
|
413
580
|
$id: ID!
|
|
414
581
|
$testId: String!
|
|
@@ -426,7 +593,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
426
593
|
_id
|
|
427
594
|
}
|
|
428
595
|
}
|
|
429
|
-
`,
|
|
596
|
+
`,y=(0,n.default)`
|
|
430
597
|
mutation CLI_createModule(
|
|
431
598
|
$name: String
|
|
432
599
|
$description: String
|
|
@@ -450,8 +617,8 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
450
617
|
...cliModuleArguments
|
|
451
618
|
}
|
|
452
619
|
}
|
|
453
|
-
${
|
|
454
|
-
`,
|
|
620
|
+
${a.$V}
|
|
621
|
+
`,h=(0,n.default)`
|
|
455
622
|
mutation CLI_updateModule(
|
|
456
623
|
$id: ID!
|
|
457
624
|
$config: String
|
|
@@ -471,12 +638,12 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
471
638
|
...cliModuleArguments
|
|
472
639
|
}
|
|
473
640
|
}
|
|
474
|
-
${
|
|
475
|
-
`,
|
|
641
|
+
${a.$V}
|
|
642
|
+
`,k=(0,n.default)`
|
|
476
643
|
mutation CLI_removeModule($id: ID!) {
|
|
477
644
|
removeModule(id: $id)
|
|
478
645
|
}
|
|
479
|
-
`,
|
|
646
|
+
`,A=(0,n.default)`
|
|
480
647
|
mutation CLI_shortEditModule(
|
|
481
648
|
$id: ID!
|
|
482
649
|
$list: [ShortEditInput]!
|
|
@@ -488,7 +655,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
488
655
|
name
|
|
489
656
|
}
|
|
490
657
|
}
|
|
491
|
-
`,
|
|
658
|
+
`,C=(0,n.default)`
|
|
492
659
|
mutation CLI_updateWorkspace(
|
|
493
660
|
$name: String
|
|
494
661
|
$description: String
|
|
@@ -512,26 +679,30 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
512
679
|
}
|
|
513
680
|
}
|
|
514
681
|
}
|
|
515
|
-
`,
|
|
682
|
+
`,b=(0,n.default)`
|
|
516
683
|
mutation CLI_releaseApplication(
|
|
517
684
|
$id: ID!
|
|
518
685
|
$config: String
|
|
519
686
|
$name: String
|
|
687
|
+
$validateConfig: Boolean
|
|
520
688
|
$releaseCurrentVersion: String
|
|
521
689
|
$releaseCurrentVersionNote: String
|
|
522
690
|
) {
|
|
523
|
-
updateApplication(
|
|
691
|
+
releaseApplication: updateApplication(
|
|
524
692
|
id: $id
|
|
525
693
|
config: $config
|
|
526
694
|
name: $name
|
|
695
|
+
validateConfig: $validateConfig
|
|
527
696
|
releaseCurrentVersion: $releaseCurrentVersion
|
|
528
697
|
releaseCurrentVersionNote: $releaseCurrentVersionNote
|
|
529
698
|
) {
|
|
530
699
|
_id
|
|
531
700
|
name
|
|
701
|
+
current_version
|
|
702
|
+
has_unreleased_changes
|
|
532
703
|
}
|
|
533
704
|
}
|
|
534
|
-
`,
|
|
705
|
+
`,S=(0,n.default)`
|
|
535
706
|
mutation CLI_createMediaFileUploadRequest(
|
|
536
707
|
$name: String!
|
|
537
708
|
$description: String!
|
|
@@ -558,7 +729,32 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
558
729
|
}
|
|
559
730
|
}
|
|
560
731
|
}
|
|
561
|
-
`,
|
|
732
|
+
`,B=(0,n.default)`
|
|
733
|
+
mutation CLI_updateMediaFiles(
|
|
734
|
+
$fileIds: [ID!]!
|
|
735
|
+
$name: String
|
|
736
|
+
$description: String
|
|
737
|
+
$userTags: [String]
|
|
738
|
+
) {
|
|
739
|
+
updateMediaFiles(fileIds: $fileIds, name: $name, description: $description, userTags: $userTags)
|
|
740
|
+
}
|
|
741
|
+
`,D=(0,n.default)`
|
|
742
|
+
mutation CLI_copyMediaFiles($fromBoxId: ID!, $toBoxId: ID!, $fileIds: [ID!]!) {
|
|
743
|
+
copyMediaFiles(fromBoxId: $fromBoxId, toBoxId: $toBoxId, fileIds: $fileIds)
|
|
744
|
+
}
|
|
745
|
+
`,L=(0,n.default)`
|
|
746
|
+
mutation CLI_deleteMediaFiles($boxId: ID!, $fileIds: [ID!]!) {
|
|
747
|
+
deleteMediaFiles(boxId: $boxId, fileIds: $fileIds)
|
|
748
|
+
}
|
|
749
|
+
`,w=(0,n.default)`
|
|
750
|
+
mutation CLI_deleteMediaBoxFiles($boxId: ID!, $includeTypes: [String]) {
|
|
751
|
+
deleteMediaBoxFiles(boxId: $boxId, includeTypes: $includeTypes)
|
|
752
|
+
}
|
|
753
|
+
`,P=(0,n.default)`
|
|
754
|
+
mutation CLI_setMediaFileAsBoxPreview($id: ID!) {
|
|
755
|
+
setMediaFileAsBoxPreview(id: $id)
|
|
756
|
+
}
|
|
757
|
+
`,T=(0,n.default)`
|
|
562
758
|
mutation CLI_releaseModule(
|
|
563
759
|
$id: ID!
|
|
564
760
|
$config: String
|
|
@@ -578,7 +774,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
578
774
|
name
|
|
579
775
|
}
|
|
580
776
|
}
|
|
581
|
-
`,
|
|
777
|
+
`,q=(0,n.default)`
|
|
582
778
|
mutation CLI_bindButtressServer(
|
|
583
779
|
$serverId: String!
|
|
584
780
|
$name: String
|
|
@@ -594,11 +790,46 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
594
790
|
}
|
|
595
791
|
}
|
|
596
792
|
}
|
|
597
|
-
`,
|
|
793
|
+
`,x=(0,n.default)`
|
|
794
|
+
mutation CLI_bindButtressServerWithRegistry(
|
|
795
|
+
$serverId: String!
|
|
796
|
+
$name: String
|
|
797
|
+
$serverPublicKey: ButtressServerPublicKeyInput
|
|
798
|
+
) {
|
|
799
|
+
bindButtressServerWithRegistry: bindButtressServer(
|
|
800
|
+
serverId: $serverId
|
|
801
|
+
name: $name
|
|
802
|
+
serverPublicKey: $serverPublicKey
|
|
803
|
+
) {
|
|
804
|
+
workspaceId
|
|
805
|
+
workspaceName
|
|
806
|
+
serverId
|
|
807
|
+
issuerPublicKey {
|
|
808
|
+
pem
|
|
809
|
+
kid
|
|
810
|
+
}
|
|
811
|
+
nodeCredential {
|
|
812
|
+
...cliRegistryCredentialArguments
|
|
813
|
+
}
|
|
814
|
+
registry {
|
|
815
|
+
...cliRegistryTrustArguments
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
${a.ju}
|
|
820
|
+
${a.sJ}
|
|
821
|
+
`,F=(0,n.default)`
|
|
822
|
+
mutation CLI_issueButtressNodeCredential($serverId: String!) {
|
|
823
|
+
issueButtressNodeCredential(serverId: $serverId) {
|
|
824
|
+
...cliRegistryCredentialArguments
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
${a.ju}
|
|
828
|
+
`,R=(0,n.default)`
|
|
598
829
|
mutation CLI_unbindButtressServer($serverId: String!) {
|
|
599
830
|
unbindButtressServer(serverId: $serverId)
|
|
600
831
|
}
|
|
601
|
-
`,
|
|
832
|
+
`,M=(0,n.default)`
|
|
602
833
|
mutation CLI_issueButtressAccessToken($ttlSeconds: Int) {
|
|
603
834
|
issueButtressAccessToken(ttlSeconds: $ttlSeconds) {
|
|
604
835
|
token
|
|
@@ -607,7 +838,19 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
607
838
|
jti
|
|
608
839
|
}
|
|
609
840
|
}
|
|
610
|
-
`,
|
|
841
|
+
`,V=(0,n.default)`
|
|
842
|
+
mutation CLI_issueButtressServerAccessToken($serverId: ID!, $ttlSeconds: Int) {
|
|
843
|
+
issueButtressServerAccessToken: issueButtressAccessToken(
|
|
844
|
+
serverId: $serverId
|
|
845
|
+
ttlSeconds: $ttlSeconds
|
|
846
|
+
) {
|
|
847
|
+
token
|
|
848
|
+
expiresAt
|
|
849
|
+
workspaceId
|
|
850
|
+
jti
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
`,E=(0,n.default)`
|
|
611
854
|
mutation CLI_issueDevtoolsAccessToken($ttlSeconds: Int) {
|
|
612
855
|
issueDevtoolsAccessToken(ttlSeconds: $ttlSeconds) {
|
|
613
856
|
token
|
|
@@ -616,49 +859,110 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
616
859
|
jti
|
|
617
860
|
}
|
|
618
861
|
}
|
|
619
|
-
|
|
862
|
+
`,W=(0,n.default)`
|
|
863
|
+
mutation CLI_revokeAccessTokens {
|
|
864
|
+
revokeAccessTokens {
|
|
865
|
+
workspaceId
|
|
866
|
+
notBefore
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
`,G=(0,n.default)`
|
|
870
|
+
mutation CLI_createBlueprint($name: String!, $description: String) {
|
|
871
|
+
createBlueprint(name: $name, description: $description) {
|
|
872
|
+
...cliBlueprintArguments
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
${a._A}
|
|
876
|
+
`,N=(0,n.default)`
|
|
877
|
+
mutation CLI_updateBlueprint($id: ID!, $revision: Int!, $patch: BlueprintPatchInput!) {
|
|
878
|
+
updateBlueprint(id: $id, revision: $revision, patch: $patch) {
|
|
879
|
+
...cliBlueprintArguments
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
${a._A}
|
|
883
|
+
`,j=(0,n.default)`
|
|
884
|
+
mutation CLI_revertBlueprint($id: ID!, $toRevision: Int!) {
|
|
885
|
+
revertBlueprint(id: $id, toRevision: $toRevision) {
|
|
886
|
+
...cliBlueprintArguments
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
${a._A}
|
|
890
|
+
`,O=(0,n.default)`
|
|
891
|
+
mutation CLI_removeBlueprint($id: ID!) {
|
|
892
|
+
removeBlueprint(id: $id)
|
|
893
|
+
}
|
|
894
|
+
`,U=(0,n.default)`
|
|
895
|
+
mutation CLI_acquireBlueprintRun(
|
|
896
|
+
$id: ID!
|
|
897
|
+
$host: String!
|
|
898
|
+
$sessionId: String!
|
|
899
|
+
$instanceId: String
|
|
900
|
+
) {
|
|
901
|
+
acquireBlueprintRun(id: $id, host: $host, sessionId: $sessionId, instanceId: $instanceId) {
|
|
902
|
+
ok
|
|
903
|
+
run {
|
|
904
|
+
...cliBlueprintRunArguments
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
${a.zL}
|
|
909
|
+
`,K=(0,n.default)`
|
|
910
|
+
mutation CLI_heartbeatBlueprintRun($id: ID!, $sessionId: String!) {
|
|
911
|
+
heartbeatBlueprintRun(id: $id, sessionId: $sessionId) {
|
|
912
|
+
ok
|
|
913
|
+
run {
|
|
914
|
+
...cliBlueprintRunArguments
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
${a.zL}
|
|
919
|
+
`,H=(0,n.default)`
|
|
920
|
+
mutation CLI_releaseBlueprintRun($id: ID!, $sessionId: String!) {
|
|
921
|
+
releaseBlueprintRun(id: $id, sessionId: $sessionId)
|
|
922
|
+
}
|
|
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)`
|
|
620
924
|
query CLI_workspace {
|
|
621
925
|
workspace {
|
|
622
926
|
...cliWorkspaceArguments
|
|
623
927
|
}
|
|
624
928
|
}
|
|
625
|
-
${
|
|
626
|
-
`,
|
|
929
|
+
${a.Yi}
|
|
930
|
+
`,s=(0,n.default)`
|
|
627
931
|
query CLI_device($id: ID) {
|
|
628
932
|
device(id: $id) {
|
|
629
933
|
...cliDeviceArguments
|
|
630
934
|
}
|
|
631
935
|
}
|
|
632
|
-
${
|
|
633
|
-
`,
|
|
936
|
+
${a.F3}
|
|
937
|
+
`,o=(0,n.default)`
|
|
634
938
|
query CLI_devices($keyword: String, $paginate: Paginate) {
|
|
635
939
|
devices(keyword: $keyword, paginate: $paginate) {
|
|
636
940
|
...cliDeviceShortArguments
|
|
637
941
|
}
|
|
638
942
|
}
|
|
639
|
-
${
|
|
640
|
-
`,d=(0,
|
|
943
|
+
${a.NJ}
|
|
944
|
+
`,d=(0,n.default)`
|
|
641
945
|
query CLI_devicesPanel($keyword: String, $paginate: Paginate) {
|
|
642
946
|
devicesPanel: devices(keyword: $keyword, paginate: $paginate) {
|
|
643
947
|
...cliDevicePanelArguments
|
|
644
948
|
}
|
|
645
949
|
}
|
|
646
|
-
${
|
|
647
|
-
`,l=(0,
|
|
950
|
+
${a.VZ}
|
|
951
|
+
`,l=(0,n.default)`
|
|
648
952
|
query CLI_deviceGroup($id: ID) {
|
|
649
953
|
deviceGroup(id: $id) {
|
|
650
954
|
...cliDeviceGroupArguments
|
|
651
955
|
}
|
|
652
956
|
}
|
|
653
|
-
${
|
|
654
|
-
`,
|
|
957
|
+
${a.mJ}
|
|
958
|
+
`,u=(0,n.default)`
|
|
655
959
|
query CLI_deviceGroups($paginate: Paginate) {
|
|
656
960
|
deviceGroups(paginate: $paginate) {
|
|
657
961
|
...cliDeviceGroupArguments
|
|
658
962
|
}
|
|
659
963
|
}
|
|
660
|
-
${
|
|
661
|
-
`,
|
|
964
|
+
${a.mJ}
|
|
965
|
+
`,c=(0,n.default)`
|
|
662
966
|
query CLI_devicesByGroup($id: ID) {
|
|
663
967
|
devicesByGroup(id: $id) {
|
|
664
968
|
target_name
|
|
@@ -679,21 +983,55 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
679
983
|
}
|
|
680
984
|
}
|
|
681
985
|
}
|
|
682
|
-
`,p=(0,
|
|
986
|
+
`,p=(0,n.default)`
|
|
683
987
|
query CLI_application($id: ID!, $composed: Boolean, $debug: Boolean) {
|
|
684
988
|
application(id: $id, composed: $composed, debug: $debug) {
|
|
685
989
|
...cliApplicationArguments
|
|
686
990
|
}
|
|
687
991
|
}
|
|
688
|
-
${
|
|
689
|
-
|
|
992
|
+
${a.lI}
|
|
993
|
+
`,$=(0,n.default)`
|
|
994
|
+
query CLI_applicationDeviceSettings($id: ID!) {
|
|
995
|
+
applicationDeviceSettings: application(id: $id) {
|
|
996
|
+
_id
|
|
997
|
+
devices {
|
|
998
|
+
device_id
|
|
999
|
+
frame
|
|
1000
|
+
run_test
|
|
1001
|
+
short_edit
|
|
1002
|
+
canvas_control
|
|
1003
|
+
device_control
|
|
1004
|
+
env
|
|
1005
|
+
cron_tests {
|
|
1006
|
+
test_id
|
|
1007
|
+
cron
|
|
1008
|
+
date_range {
|
|
1009
|
+
start
|
|
1010
|
+
end
|
|
1011
|
+
}
|
|
1012
|
+
update_screenshot
|
|
1013
|
+
bind_id
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
`,m=(0,n.default)`
|
|
1019
|
+
query CLI_applicationReleaseVersions($id: ID!) {
|
|
1020
|
+
applicationReleaseVersions(id: $id) {
|
|
1021
|
+
_id
|
|
1022
|
+
version
|
|
1023
|
+
note
|
|
1024
|
+
create_datetime
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
`,g=(0,n.default)`
|
|
690
1028
|
query CLI_applications($keyword: String, $paginate: Paginate) {
|
|
691
1029
|
applications(keyword: $keyword, paginate: $paginate) {
|
|
692
1030
|
...cliApplicationShortArguments
|
|
693
1031
|
}
|
|
694
1032
|
}
|
|
695
|
-
${
|
|
696
|
-
|
|
1033
|
+
${a.$7}
|
|
1034
|
+
`,v=(0,n.default)`
|
|
697
1035
|
query CLI_publicApplicationShareInfo($id: ID!) {
|
|
698
1036
|
publicApplicationShareInfo(id: $id) {
|
|
699
1037
|
_id
|
|
@@ -718,32 +1056,32 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
718
1056
|
}
|
|
719
1057
|
}
|
|
720
1058
|
}
|
|
721
|
-
`,
|
|
1059
|
+
`,_=(0,n.default)`
|
|
722
1060
|
query CLI_module($id: ID!) {
|
|
723
1061
|
module(id: $id) {
|
|
724
1062
|
...cliModuleArguments
|
|
725
1063
|
}
|
|
726
1064
|
}
|
|
727
|
-
${
|
|
728
|
-
`,
|
|
1065
|
+
${a.$V}
|
|
1066
|
+
`,f=(0,n.default)`
|
|
729
1067
|
query CLI_modules($keyword: String, $paginate: Paginate) {
|
|
730
1068
|
modules(keyword: $keyword, paginate: $paginate) {
|
|
731
1069
|
...cliModuleShortArguments
|
|
732
1070
|
}
|
|
733
1071
|
}
|
|
734
|
-
${
|
|
735
|
-
`,
|
|
1072
|
+
${a.J6}
|
|
1073
|
+
`,I=(0,n.default)`
|
|
736
1074
|
query CLI_publicModules($keyword: String!, $limit: Int) {
|
|
737
1075
|
publicModules(keyword: $keyword, paginate: { limit: $limit }) {
|
|
738
1076
|
...cliModuleShortArguments
|
|
739
1077
|
}
|
|
740
1078
|
}
|
|
741
|
-
${
|
|
742
|
-
`,
|
|
1079
|
+
${a.J6}
|
|
1080
|
+
`,y=(0,n.default)`
|
|
743
1081
|
query CLI_checkBindDevicePasscode($passcode: String!) {
|
|
744
1082
|
checkBindDevicePasscode(passcode: $passcode)
|
|
745
1083
|
}
|
|
746
|
-
`,
|
|
1084
|
+
`,h=(0,n.default)`
|
|
747
1085
|
query CLI_mediaFiles(
|
|
748
1086
|
$boxId: ID!
|
|
749
1087
|
$includeTypes: [String]
|
|
@@ -786,7 +1124,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
786
1124
|
}
|
|
787
1125
|
}
|
|
788
1126
|
}
|
|
789
|
-
`,
|
|
1127
|
+
`,k=(0,n.default)`
|
|
790
1128
|
query CLI_mediaWorkspace {
|
|
791
1129
|
mediaWorkspace {
|
|
792
1130
|
id
|
|
@@ -799,8 +1137,8 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
799
1137
|
updatedAt
|
|
800
1138
|
}
|
|
801
1139
|
}
|
|
802
|
-
`,
|
|
803
|
-
query CLI_mediaBoxes {
|
|
1140
|
+
`,A=(0,n.default)`
|
|
1141
|
+
query CLI_mediaBoxes($includeCodes: Boolean = false) {
|
|
804
1142
|
mediaBoxes {
|
|
805
1143
|
id
|
|
806
1144
|
name
|
|
@@ -810,18 +1148,19 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
810
1148
|
size
|
|
811
1149
|
createdAt
|
|
812
1150
|
updatedAt
|
|
1151
|
+
# Passcode codes are credentials: fetched only for --show-codes
|
|
813
1152
|
passcodes {
|
|
814
1153
|
id
|
|
815
1154
|
name
|
|
816
|
-
code
|
|
1155
|
+
code @include(if: $includeCodes)
|
|
817
1156
|
enableExpired
|
|
818
1157
|
expiredAt
|
|
819
1158
|
permissions
|
|
820
1159
|
}
|
|
821
1160
|
}
|
|
822
1161
|
}
|
|
823
|
-
`,
|
|
824
|
-
query CLI_mediaBox($id: ID
|
|
1162
|
+
`,C=(0,n.default)`
|
|
1163
|
+
query CLI_mediaBox($id: ID!, $includeCodes: Boolean = false) {
|
|
825
1164
|
mediaBox(id: $id) {
|
|
826
1165
|
id
|
|
827
1166
|
name
|
|
@@ -831,17 +1170,18 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
831
1170
|
size
|
|
832
1171
|
createdAt
|
|
833
1172
|
updatedAt
|
|
1173
|
+
# Passcode codes are credentials: fetched only for --show-codes
|
|
834
1174
|
passcodes {
|
|
835
1175
|
id
|
|
836
1176
|
name
|
|
837
|
-
code
|
|
1177
|
+
code @include(if: $includeCodes)
|
|
838
1178
|
enableExpired
|
|
839
1179
|
expiredAt
|
|
840
1180
|
permissions
|
|
841
1181
|
}
|
|
842
1182
|
}
|
|
843
1183
|
}
|
|
844
|
-
`,
|
|
1184
|
+
`,b=(0,n.default)`
|
|
845
1185
|
query CLI_mediaFile($id: ID!) {
|
|
846
1186
|
mediaFile(id: $id) {
|
|
847
1187
|
id
|
|
@@ -872,7 +1212,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
872
1212
|
}
|
|
873
1213
|
}
|
|
874
1214
|
}
|
|
875
|
-
`,
|
|
1215
|
+
`,S=(0,n.default)`
|
|
876
1216
|
query CLI_deviceUsage($deviceId: ID, $startDate: Date, $endDate: Date) {
|
|
877
1217
|
deviceUsage(deviceId: $deviceId, startDate: $startDate, endDate: $endDate) {
|
|
878
1218
|
_id
|
|
@@ -891,7 +1231,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
891
1231
|
}
|
|
892
1232
|
}
|
|
893
1233
|
}
|
|
894
|
-
`,
|
|
1234
|
+
`,B=(0,n.default)`
|
|
895
1235
|
query CLI_applicationProject(
|
|
896
1236
|
$id: ID!
|
|
897
1237
|
$buildApplicationOnly: Boolean
|
|
@@ -909,7 +1249,7 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
909
1249
|
setupGeminiCLI: $setupGeminiCLI
|
|
910
1250
|
)
|
|
911
1251
|
}
|
|
912
|
-
`,
|
|
1252
|
+
`,D=(0,n.default)`
|
|
913
1253
|
query CLI_moduleProject(
|
|
914
1254
|
$id: ID!
|
|
915
1255
|
$buildApplicationOnly: Boolean
|
|
@@ -927,7 +1267,16 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
927
1267
|
setupGeminiCLI: $setupGeminiCLI
|
|
928
1268
|
)
|
|
929
1269
|
}
|
|
930
|
-
`,
|
|
1270
|
+
`,L=(0,n.default)`
|
|
1271
|
+
query CLI_buttressServerKeys {
|
|
1272
|
+
buttressServerKeys: buttressServers {
|
|
1273
|
+
serverId
|
|
1274
|
+
serverPublicKey {
|
|
1275
|
+
kid
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
`,w=(0,n.default)`
|
|
931
1280
|
query CLI_buttressServers {
|
|
932
1281
|
buttressServers {
|
|
933
1282
|
serverId
|
|
@@ -936,4 +1285,92 @@ ${A}`);return a.cause=e,a},b=l(function e(i,t){var a,n=this;d(this,e),this.baseU
|
|
|
936
1285
|
lastSeenAt
|
|
937
1286
|
}
|
|
938
1287
|
}
|
|
1288
|
+
`,P=(0,n.default)`
|
|
1289
|
+
query CLI_registryTrust {
|
|
1290
|
+
registryTrust {
|
|
1291
|
+
...cliRegistryTrustArguments
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
${a.sJ}
|
|
1295
|
+
`,T=(0,n.default)`
|
|
1296
|
+
query CLI_blueprint($id: ID!) {
|
|
1297
|
+
blueprint(id: $id) {
|
|
1298
|
+
...cliBlueprintArguments
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
${a._A}
|
|
1302
|
+
`,q=(0,n.default)`
|
|
1303
|
+
query CLI_blueprints($keyword: String, $paginate: Paginate) {
|
|
1304
|
+
blueprints(keyword: $keyword, paginate: $paginate) {
|
|
1305
|
+
...cliBlueprintShortArguments
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
${a.C$}
|
|
1309
|
+
`,x=(0,n.default)`
|
|
1310
|
+
query CLI_blueprintsByInstance($kind: BlueprintNodeKind!, $ref: String!) {
|
|
1311
|
+
blueprintsByInstance(kind: $kind, ref: $ref) {
|
|
1312
|
+
...cliBlueprintShortArguments
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
${a.C$}
|
|
1316
|
+
`,F=(0,n.default)`
|
|
1317
|
+
query CLI_blueprintProjection($id: ID!, $format: Int) {
|
|
1318
|
+
blueprintProjection(id: $id, format: $format)
|
|
1319
|
+
}
|
|
1320
|
+
`,R=(0,n.default)`
|
|
1321
|
+
query CLI_blueprintRevisions($id: ID!, $limit: Int) {
|
|
1322
|
+
blueprintRevisions(id: $id, limit: $limit) {
|
|
1323
|
+
_id
|
|
1324
|
+
revision
|
|
1325
|
+
actor
|
|
1326
|
+
snapshot
|
|
1327
|
+
created_at
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
`,M=(0,n.default)`
|
|
1331
|
+
query CLI_blueprintEvents($id: ID!, $limit: Int) {
|
|
1332
|
+
blueprintEvents(id: $id, limit: $limit) {
|
|
1333
|
+
_id
|
|
1334
|
+
type
|
|
1335
|
+
detail
|
|
1336
|
+
actor {
|
|
1337
|
+
type
|
|
1338
|
+
instance_id
|
|
1339
|
+
token_name
|
|
1340
|
+
}
|
|
1341
|
+
request_id
|
|
1342
|
+
task_id
|
|
1343
|
+
created_at
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
`,V=(0,n.default)`
|
|
1347
|
+
query CLI_devicesApplicationStatus($filter: DeviceApplicationStatusFilter, $paginate: Paginate) {
|
|
1348
|
+
devicesApplicationStatus(filter: $filter, paginate: $paginate) {
|
|
1349
|
+
device_id
|
|
1350
|
+
name
|
|
1351
|
+
device_name
|
|
1352
|
+
application_status {
|
|
1353
|
+
status
|
|
1354
|
+
reason
|
|
1355
|
+
assigned {
|
|
1356
|
+
application_id
|
|
1357
|
+
name
|
|
1358
|
+
config_timestamp
|
|
1359
|
+
commit_id
|
|
1360
|
+
lazy_update
|
|
1361
|
+
}
|
|
1362
|
+
reported {
|
|
1363
|
+
_id
|
|
1364
|
+
name
|
|
1365
|
+
config_timestamp
|
|
1366
|
+
state
|
|
1367
|
+
error_stage
|
|
1368
|
+
error_code
|
|
1369
|
+
error_message
|
|
1370
|
+
}
|
|
1371
|
+
reported_at
|
|
1372
|
+
confirmed_at
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
939
1376
|
`}};
|