@fugood/bricks-cli 2.26.0-beta.2 → 2.26.0-beta.21
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 +61 -4
- 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/2486.js +1 -1
- package/lib/2557.js +1 -1
- package/lib/2700.js +1 -0
- package/lib/3332.js +13 -0
- package/lib/3690.js +1 -1
- package/lib/3774.js +2 -2
- package/lib/3976.js +3 -3
- package/lib/4456.js +2 -2
- package/lib/4485.js +1 -0
- package/lib/4530.js +10 -10
- package/lib/{5188.js → 4642.js} +2 -2
- package/lib/5698.js +1 -0
- package/lib/6194.js +2 -2
- package/lib/6632.js +7 -0
- package/lib/6818.js +1 -1
- package/lib/{9206.js → 6842.js} +1 -1
- package/lib/6954.js +3 -3
- package/lib/7294.js +3 -3
- package/lib/7494.js +12 -3
- package/lib/7511.js +1 -1
- package/lib/907.js +350 -81
- package/lib/9320.js +23 -2
- package/lib/9387.js +5 -5
- package/lib/9439.js +2594 -0
- package/lib/9663.js +1 -1
- package/lib/devtools.js +1 -0
- package/lib/index.js +114 -101
- package/lib/lib.js +370 -92
- package/package.json +7 -6
- package/lib/1143.js +0 -1
- package/lib/563.js +0 -4
- package/lib/6645.js +0 -1
- package/lib/7109.js +0 -1
- package/lib/7233.js +0 -2546
- package/lib/7574.js +0 -1
- package/lib/7648.js +0 -1
- package/lib/7896.js +0 -13
- 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:()=>I,createClient:()=>S,createFetchForUrl:()=>g.P,createPublicClient:()=>k});var n,a,r,o,s=t(99436),d=t(5018),l=t(44668),u=t(54506),c=t(78549),p=t(94370),m=t(43741),$=t(89293),g=t(75149),_=u.ApolloClient,v=u.InMemoryCache,f=u.HttpLink,h=c.o,y={query:"query",mutation:"mutate"},I=l(function e(i){d(this,e),this.baseUrl=i,this.endpoint="/api/graphql-nonauth";var t=new f({uri:`${i}${this.endpoint}`,fetch:(0,g.P)(i)});this.apolloClient=new _({link:t,cache:new v,defaultOptions:{query:{errorPolicy:"all",fetchPolicy:"no-cache"}}})},[{key:"checkWorkspaceOTP",value:(n=s(function*(e){var i=(0,p.default)`
|
|
2
2
|
query checkWorkspaceOTP($passcode: String!) {
|
|
3
3
|
checkWorkspaceOTP(passcode: $passcode)
|
|
4
4
|
}
|
|
5
|
-
`,
|
|
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=s(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
|
-
`,
|
|
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 I(e),A="Note: OAuth workspace access is awaiting the next production server release. Until then, use workspace auth (passcode or token; CLI: `bricks auth login-workspace`).",C=(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(A))return e;var n=Error(`${t}
|
|
14
14
|
|
|
15
|
-
${
|
|
15
|
+
${A}`);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=s(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 f({uri:`${i}${this.endpoint}`,fetch:(0,g.P)(i)}),o=h((n=s(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:o.concat(r),cache:new v,defaultOptions:{watchQuery:{errorPolicy:"all",fetchPolicy:"no-cache"},query:{errorPolicy:"all",fetchPolicy:"no-cache"}}}),this.queries=m,this.mutations=$,this.generateMethods()},[{key:"generateMethods",value:function(){var e=this,i=i=>([t,n])=>{if(!this[t]){var a,r=(a=s(function*(a,r){try{var o=e.apolloClient[y[i]].bind(e.apolloClient),s=yield o({[i]:n,variables:a,...r}),d=s.data,l=s.errors;if(l)throw Error(l.map(({message:e})=>e).join("\n"));return d[t]}catch(e){if(e.cause?.result?.errors)throw Error(e.cause.result.errors.map(({message:e})=>e).join("\n"));throw e}}),function(e,i){return a.apply(this,arguments)});this[t]=s(function*(i={},t={}){try{return yield r(i,t)}catch(n){if(e.auth?.kind==="oauth"&&e.auth.refresh&&/401|unauthoriz|jwt expired|token.*expired|invalid.*token/i.test(n?.message||"")){yield e.auth.refresh();try{return yield r(i,t)}catch(i){throw C(i,e.auth)}}throw C(n,e.auth)}})}};Object.entries(this.queries).forEach(i("query")),Object.entries(this.mutations).forEach(i("mutation"))}},{key:"query",value:(r=s(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 Error(a.map(({message:e})=>e).join("\n"));return n}),function(e){return r.apply(this,arguments)})},{key:"mutate",value:(o=s(function*(e,i={}){var t=yield this.apolloClient.mutate({mutation:e,variables:i}),n=t.data,a=t.errors;if(a?.length>0)throw Error(a.map(({message:e})=>e).join("\n"));return n}),function(e){return o.apply(this,arguments)})}]),S=(e,i)=>new b(e,i)},75149(e,i,t){t.d(i,{P:()=>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:()=>s,VZ:()=>o,Yi:()=>a,_A:()=>g,lI:()=>l,mJ:()=>d,zL:()=>$});var n=t(94370),a=(0,n.default)`
|
|
16
16
|
fragment cliWorkspaceArguments on Workspace {
|
|
17
17
|
_id
|
|
18
18
|
name
|
|
@@ -38,7 +38,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
`,r=(0,
|
|
41
|
+
`,r=(0,n.default)`
|
|
42
42
|
fragment cliDeviceArguments on Device {
|
|
43
43
|
_id
|
|
44
44
|
name
|
|
@@ -124,7 +124,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
124
124
|
create_datetime
|
|
125
125
|
last_modify_datetime
|
|
126
126
|
}
|
|
127
|
-
`,o=(0,
|
|
127
|
+
`,o=(0,n.default)`
|
|
128
128
|
fragment cliDevicePanelArguments on Device {
|
|
129
129
|
_id
|
|
130
130
|
name
|
|
@@ -162,7 +162,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
`,s=(0,
|
|
165
|
+
`,s=(0,n.default)`
|
|
166
166
|
fragment cliDeviceShortArguments on Device {
|
|
167
167
|
_id
|
|
168
168
|
name
|
|
@@ -179,7 +179,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
`,d=(0,
|
|
182
|
+
`,d=(0,n.default)`
|
|
183
183
|
fragment cliDeviceGroupArguments on DeviceGroup {
|
|
184
184
|
_id
|
|
185
185
|
name
|
|
@@ -192,7 +192,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
192
192
|
create_datetime
|
|
193
193
|
last_modify_datetime
|
|
194
194
|
}
|
|
195
|
-
`,l=(0,
|
|
195
|
+
`,l=(0,n.default)`
|
|
196
196
|
fragment cliApplicationArguments on Application {
|
|
197
197
|
_id
|
|
198
198
|
name
|
|
@@ -209,13 +209,16 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
209
209
|
}
|
|
210
210
|
short_edit {
|
|
211
211
|
enabled
|
|
212
|
+
use_unstable_features
|
|
212
213
|
ref_map
|
|
213
214
|
}
|
|
214
215
|
canvas_control {
|
|
215
216
|
enabled
|
|
217
|
+
use_unstable_features
|
|
216
218
|
}
|
|
217
219
|
device_control {
|
|
218
220
|
enabled
|
|
221
|
+
use_unstable_features
|
|
219
222
|
}
|
|
220
223
|
lock {
|
|
221
224
|
enabled
|
|
@@ -224,6 +227,12 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
224
227
|
device_id
|
|
225
228
|
status
|
|
226
229
|
frame
|
|
230
|
+
run_test
|
|
231
|
+
cron_tests {
|
|
232
|
+
test_id
|
|
233
|
+
cron
|
|
234
|
+
bind_id
|
|
235
|
+
}
|
|
227
236
|
}
|
|
228
237
|
id_for_devices
|
|
229
238
|
sync_key
|
|
@@ -231,7 +240,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
231
240
|
create_datetime
|
|
232
241
|
last_modify_datetime
|
|
233
242
|
}
|
|
234
|
-
`,
|
|
243
|
+
`,u=(0,n.default)`
|
|
235
244
|
fragment cliApplicationShortArguments on Application {
|
|
236
245
|
_id
|
|
237
246
|
name
|
|
@@ -239,7 +248,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
239
248
|
has_unreleased_changes
|
|
240
249
|
current_version
|
|
241
250
|
}
|
|
242
|
-
`,
|
|
251
|
+
`,c=(0,n.default)`
|
|
243
252
|
fragment cliModuleArguments on Module {
|
|
244
253
|
_id
|
|
245
254
|
name
|
|
@@ -262,35 +271,108 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
262
271
|
create_datetime
|
|
263
272
|
last_modify_datetime
|
|
264
273
|
}
|
|
265
|
-
`,p=(0,
|
|
274
|
+
`,p=(0,n.default)`
|
|
266
275
|
fragment cliModuleShortArguments on Module {
|
|
267
276
|
_id
|
|
268
277
|
name
|
|
269
278
|
description
|
|
270
279
|
current_version
|
|
271
280
|
}
|
|
272
|
-
|
|
281
|
+
`,m=(0,n.default)`
|
|
282
|
+
fragment cliBlueprintEdgeArguments on BlueprintEdge {
|
|
283
|
+
id
|
|
284
|
+
from
|
|
285
|
+
to
|
|
286
|
+
type
|
|
287
|
+
label
|
|
288
|
+
derived
|
|
289
|
+
}
|
|
290
|
+
`,$=(0,n.default)`
|
|
291
|
+
fragment cliBlueprintRunArguments on BlueprintRun {
|
|
292
|
+
host
|
|
293
|
+
user_id
|
|
294
|
+
session_id
|
|
295
|
+
started_at
|
|
296
|
+
heartbeat_at
|
|
297
|
+
}
|
|
298
|
+
`,g=(0,n.default)`
|
|
299
|
+
fragment cliBlueprintArguments on Blueprint {
|
|
300
|
+
_id
|
|
301
|
+
name
|
|
302
|
+
description
|
|
303
|
+
revision
|
|
304
|
+
nodes {
|
|
305
|
+
id
|
|
306
|
+
kind
|
|
307
|
+
ref
|
|
308
|
+
name
|
|
309
|
+
role
|
|
310
|
+
position {
|
|
311
|
+
x
|
|
312
|
+
y
|
|
313
|
+
}
|
|
314
|
+
missing
|
|
315
|
+
missing_reason
|
|
316
|
+
}
|
|
317
|
+
edges {
|
|
318
|
+
...cliBlueprintEdgeArguments
|
|
319
|
+
}
|
|
320
|
+
derivedEdges {
|
|
321
|
+
...cliBlueprintEdgeArguments
|
|
322
|
+
}
|
|
323
|
+
unlinkedRefs {
|
|
324
|
+
fromNodeId
|
|
325
|
+
kind
|
|
326
|
+
ref
|
|
327
|
+
name
|
|
328
|
+
}
|
|
329
|
+
run {
|
|
330
|
+
...cliBlueprintRunArguments
|
|
331
|
+
}
|
|
332
|
+
create_datetime
|
|
333
|
+
last_modify_datetime
|
|
334
|
+
}
|
|
335
|
+
${m}
|
|
336
|
+
${$}
|
|
337
|
+
`,_=(0,n.default)`
|
|
338
|
+
fragment cliBlueprintShortArguments on Blueprint {
|
|
339
|
+
_id
|
|
340
|
+
name
|
|
341
|
+
description
|
|
342
|
+
revision
|
|
343
|
+
nodes {
|
|
344
|
+
id
|
|
345
|
+
kind
|
|
346
|
+
missing
|
|
347
|
+
}
|
|
348
|
+
run {
|
|
349
|
+
...cliBlueprintRunArguments
|
|
350
|
+
}
|
|
351
|
+
last_modify_datetime
|
|
352
|
+
}
|
|
353
|
+
${$}
|
|
354
|
+
`},89293(e,i,t){t.r(i),t.d(i,{acquireBlueprintRun:()=>R,bindApplication:()=>v,bindButtressServer:()=>D,controlDevice:()=>o,createApplication:()=>c,createApplicationWithShareVersion:()=>p,createBlueprint:()=>P,createDevice:()=>r,createMediaFileUploadRequest:()=>b,createModule:()=>h,createVirtualDevice:()=>s,dispatchDeviceGroupAction:()=>u,heartbeatBlueprintRun:()=>V,issueButtressAccessToken:()=>L,issueDevtoolsAccessToken:()=>w,releaseApplication:()=>C,releaseBlueprintRun:()=>E,releaseModule:()=>S,removeApplication:()=>g,removeBlueprint:()=>x,removeDevice:()=>l,removeModule:()=>I,revertBlueprint:()=>T,shortEditApplication:()=>_,shortEditModule:()=>k,triggerApplicationCanvasControl:()=>f,unbindButtressServer:()=>B,updateApplication:()=>m,updateBlueprint:()=>q,updateModule:()=>y,updateVirtualDevice:()=>d,updateWorkspace:()=>A,useApplicationReleaseVersion:()=>$});var n=t(94370),a=t(48596),r=(0,n.default)`
|
|
273
355
|
mutation CLI_createDevice($bindPasscode: String, $name: String, $deviceName: String) {
|
|
274
356
|
createDevice(bindPasscode: $bindPasscode, name: $name, deviceName: $deviceName) {
|
|
275
357
|
...cliDeviceArguments
|
|
276
358
|
}
|
|
277
359
|
}
|
|
278
|
-
${
|
|
279
|
-
`,o=(0,
|
|
360
|
+
${a.F3}
|
|
361
|
+
`,o=(0,n.default)`
|
|
280
362
|
mutation CLI_controlDevice($id: ID!, $type: String!, $eventPayload: JSON) {
|
|
281
363
|
controlDevice(id: $id, type: $type, eventPayload: $eventPayload) {
|
|
282
364
|
_id
|
|
283
365
|
name
|
|
284
366
|
}
|
|
285
367
|
}
|
|
286
|
-
`,s=(0,
|
|
368
|
+
`,s=(0,n.default)`
|
|
287
369
|
mutation CLI_createVirtualDevice($name: String, $deviceName: String) {
|
|
288
370
|
createVirtualDevice(name: $name, deviceName: $deviceName) {
|
|
289
371
|
...cliDeviceArguments
|
|
290
372
|
}
|
|
291
373
|
}
|
|
292
|
-
${
|
|
293
|
-
`,d=(0,
|
|
374
|
+
${a.F3}
|
|
375
|
+
`,d=(0,n.default)`
|
|
294
376
|
mutation CLI_updateVirtualDevice($id: ID!, $tokens: [DeviceTokenInput], $revokeTokens: [ID!]) {
|
|
295
377
|
updateVirtualDevice(id: $id, tokens: $tokens, revokeTokens: $revokeTokens) {
|
|
296
378
|
device {
|
|
@@ -302,19 +384,19 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
302
384
|
}
|
|
303
385
|
}
|
|
304
386
|
}
|
|
305
|
-
${
|
|
306
|
-
`,l=(0,
|
|
387
|
+
${a.F3}
|
|
388
|
+
`,l=(0,n.default)`
|
|
307
389
|
mutation CLI_removeDevice($id: ID!) {
|
|
308
390
|
removeDevice(id: $id)
|
|
309
391
|
}
|
|
310
|
-
`,
|
|
392
|
+
`,u=(0,n.default)`
|
|
311
393
|
mutation CLI_dispatchDeviceGroupAction($id: ID!, $action: String!) {
|
|
312
394
|
dispatchDeviceGroupAction(id: $id, action: $action) {
|
|
313
395
|
dispatched
|
|
314
396
|
devices
|
|
315
397
|
}
|
|
316
398
|
}
|
|
317
|
-
`,
|
|
399
|
+
`,c=(0,n.default)`
|
|
318
400
|
mutation CLI_createApplication(
|
|
319
401
|
$name: String
|
|
320
402
|
$description: String
|
|
@@ -330,8 +412,8 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
330
412
|
...cliApplicationShortArguments
|
|
331
413
|
}
|
|
332
414
|
}
|
|
333
|
-
${
|
|
334
|
-
`,p=(0,
|
|
415
|
+
${a.$7}
|
|
416
|
+
`,p=(0,n.default)`
|
|
335
417
|
mutation CLI_createApplicationWithShareVersion(
|
|
336
418
|
$name: String
|
|
337
419
|
$description: String
|
|
@@ -347,13 +429,15 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
347
429
|
...cliApplicationShortArguments
|
|
348
430
|
}
|
|
349
431
|
}
|
|
350
|
-
${
|
|
351
|
-
`,m=(0,
|
|
432
|
+
${a.$7}
|
|
433
|
+
`,m=(0,n.default)`
|
|
352
434
|
mutation CLI_updateApplication(
|
|
353
435
|
$id: ID!
|
|
354
436
|
$config: String
|
|
355
437
|
$name: String
|
|
356
438
|
$description: String
|
|
439
|
+
$tags: [String]
|
|
440
|
+
$lock: ApplicationLockInput
|
|
357
441
|
$validateConfig: Boolean
|
|
358
442
|
$lastCommitId: String
|
|
359
443
|
) {
|
|
@@ -362,20 +446,33 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
362
446
|
config: $config
|
|
363
447
|
name: $name
|
|
364
448
|
description: $description
|
|
449
|
+
tags: $tags
|
|
450
|
+
lock: $lock
|
|
365
451
|
validateConfig: $validateConfig
|
|
366
452
|
lastCommitId: $lastCommitId
|
|
367
453
|
) {
|
|
368
454
|
...cliApplicationShortArguments
|
|
369
455
|
config
|
|
370
456
|
has_unreleased_changes
|
|
457
|
+
tags
|
|
458
|
+
lock {
|
|
459
|
+
enabled
|
|
460
|
+
}
|
|
371
461
|
}
|
|
372
462
|
}
|
|
373
|
-
${
|
|
374
|
-
`,$=(0,
|
|
463
|
+
${a.$7}
|
|
464
|
+
`,$=(0,n.default)`
|
|
465
|
+
mutation CLI_useApplicationReleaseVersion($id: ID!, $versionId: ID!) {
|
|
466
|
+
useApplicationReleaseVersion: updateApplication(id: $id, useReleaseVersion: $versionId) {
|
|
467
|
+
...cliApplicationShortArguments
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
${a.$7}
|
|
471
|
+
`,g=(0,n.default)`
|
|
375
472
|
mutation CLI_removeApplication($id: ID!) {
|
|
376
473
|
removeApplication(id: $id)
|
|
377
474
|
}
|
|
378
|
-
`,
|
|
475
|
+
`,_=(0,n.default)`
|
|
379
476
|
mutation CLI_shortEditApplication(
|
|
380
477
|
$id: ID!
|
|
381
478
|
$list: [ShortEditInput]!
|
|
@@ -386,19 +483,23 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
386
483
|
...cliApplicationShortArguments
|
|
387
484
|
}
|
|
388
485
|
}
|
|
389
|
-
${
|
|
390
|
-
`,
|
|
486
|
+
${a.$7}
|
|
487
|
+
`,v=(0,n.default)`
|
|
391
488
|
mutation CLI_bindApplication(
|
|
392
489
|
$id: ID!
|
|
393
490
|
$bindDevices: [ID]
|
|
394
491
|
$unbindDevices: [ID]
|
|
492
|
+
$forceUnbindDevicesIfNeeded: Boolean
|
|
395
493
|
$deviceFrames: JSON
|
|
494
|
+
$deviceSettings: [DeviceSettingInput]
|
|
396
495
|
) {
|
|
397
496
|
bindApplication(
|
|
398
497
|
id: $id
|
|
399
498
|
bindDevices: $bindDevices
|
|
400
499
|
unbindDevices: $unbindDevices
|
|
500
|
+
forceUnbindDevicesIfNeeded: $forceUnbindDevicesIfNeeded
|
|
401
501
|
deviceFrames: $deviceFrames
|
|
502
|
+
deviceSettings: $deviceSettings
|
|
402
503
|
) {
|
|
403
504
|
_id
|
|
404
505
|
devices {
|
|
@@ -408,7 +509,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
408
509
|
}
|
|
409
510
|
}
|
|
410
511
|
}
|
|
411
|
-
`,
|
|
512
|
+
`,f=(0,n.default)`
|
|
412
513
|
mutation CLI_triggerApplicationCanvasControl(
|
|
413
514
|
$id: ID!
|
|
414
515
|
$testId: String!
|
|
@@ -426,7 +527,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
426
527
|
_id
|
|
427
528
|
}
|
|
428
529
|
}
|
|
429
|
-
`,h=(0,
|
|
530
|
+
`,h=(0,n.default)`
|
|
430
531
|
mutation CLI_createModule(
|
|
431
532
|
$name: String
|
|
432
533
|
$description: String
|
|
@@ -450,8 +551,8 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
450
551
|
...cliModuleArguments
|
|
451
552
|
}
|
|
452
553
|
}
|
|
453
|
-
${
|
|
454
|
-
`,y=(0,
|
|
554
|
+
${a.$V}
|
|
555
|
+
`,y=(0,n.default)`
|
|
455
556
|
mutation CLI_updateModule(
|
|
456
557
|
$id: ID!
|
|
457
558
|
$config: String
|
|
@@ -471,12 +572,12 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
471
572
|
...cliModuleArguments
|
|
472
573
|
}
|
|
473
574
|
}
|
|
474
|
-
${
|
|
475
|
-
`,
|
|
575
|
+
${a.$V}
|
|
576
|
+
`,I=(0,n.default)`
|
|
476
577
|
mutation CLI_removeModule($id: ID!) {
|
|
477
578
|
removeModule(id: $id)
|
|
478
579
|
}
|
|
479
|
-
`,
|
|
580
|
+
`,k=(0,n.default)`
|
|
480
581
|
mutation CLI_shortEditModule(
|
|
481
582
|
$id: ID!
|
|
482
583
|
$list: [ShortEditInput]!
|
|
@@ -488,7 +589,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
488
589
|
name
|
|
489
590
|
}
|
|
490
591
|
}
|
|
491
|
-
`,
|
|
592
|
+
`,A=(0,n.default)`
|
|
492
593
|
mutation CLI_updateWorkspace(
|
|
493
594
|
$name: String
|
|
494
595
|
$description: String
|
|
@@ -512,26 +613,30 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
512
613
|
}
|
|
513
614
|
}
|
|
514
615
|
}
|
|
515
|
-
`,
|
|
616
|
+
`,C=(0,n.default)`
|
|
516
617
|
mutation CLI_releaseApplication(
|
|
517
618
|
$id: ID!
|
|
518
619
|
$config: String
|
|
519
620
|
$name: String
|
|
621
|
+
$validateConfig: Boolean
|
|
520
622
|
$releaseCurrentVersion: String
|
|
521
623
|
$releaseCurrentVersionNote: String
|
|
522
624
|
) {
|
|
523
|
-
updateApplication(
|
|
625
|
+
releaseApplication: updateApplication(
|
|
524
626
|
id: $id
|
|
525
627
|
config: $config
|
|
526
628
|
name: $name
|
|
629
|
+
validateConfig: $validateConfig
|
|
527
630
|
releaseCurrentVersion: $releaseCurrentVersion
|
|
528
631
|
releaseCurrentVersionNote: $releaseCurrentVersionNote
|
|
529
632
|
) {
|
|
530
633
|
_id
|
|
531
634
|
name
|
|
635
|
+
current_version
|
|
636
|
+
has_unreleased_changes
|
|
532
637
|
}
|
|
533
638
|
}
|
|
534
|
-
`,
|
|
639
|
+
`,b=(0,n.default)`
|
|
535
640
|
mutation CLI_createMediaFileUploadRequest(
|
|
536
641
|
$name: String!
|
|
537
642
|
$description: String!
|
|
@@ -558,7 +663,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
558
663
|
}
|
|
559
664
|
}
|
|
560
665
|
}
|
|
561
|
-
`,
|
|
666
|
+
`,S=(0,n.default)`
|
|
562
667
|
mutation CLI_releaseModule(
|
|
563
668
|
$id: ID!
|
|
564
669
|
$config: String
|
|
@@ -578,7 +683,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
578
683
|
name
|
|
579
684
|
}
|
|
580
685
|
}
|
|
581
|
-
`,
|
|
686
|
+
`,D=(0,n.default)`
|
|
582
687
|
mutation CLI_bindButtressServer(
|
|
583
688
|
$serverId: String!
|
|
584
689
|
$name: String
|
|
@@ -594,11 +699,11 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
594
699
|
}
|
|
595
700
|
}
|
|
596
701
|
}
|
|
597
|
-
`,
|
|
702
|
+
`,B=(0,n.default)`
|
|
598
703
|
mutation CLI_unbindButtressServer($serverId: String!) {
|
|
599
704
|
unbindButtressServer(serverId: $serverId)
|
|
600
705
|
}
|
|
601
|
-
`,
|
|
706
|
+
`,L=(0,n.default)`
|
|
602
707
|
mutation CLI_issueButtressAccessToken($ttlSeconds: Int) {
|
|
603
708
|
issueButtressAccessToken(ttlSeconds: $ttlSeconds) {
|
|
604
709
|
token
|
|
@@ -607,7 +712,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
607
712
|
jti
|
|
608
713
|
}
|
|
609
714
|
}
|
|
610
|
-
`,
|
|
715
|
+
`,w=(0,n.default)`
|
|
611
716
|
mutation CLI_issueDevtoolsAccessToken($ttlSeconds: Int) {
|
|
612
717
|
issueDevtoolsAccessToken(ttlSeconds: $ttlSeconds) {
|
|
613
718
|
token
|
|
@@ -616,49 +721,98 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
616
721
|
jti
|
|
617
722
|
}
|
|
618
723
|
}
|
|
619
|
-
|
|
724
|
+
`,P=(0,n.default)`
|
|
725
|
+
mutation CLI_createBlueprint($name: String!, $description: String) {
|
|
726
|
+
createBlueprint(name: $name, description: $description) {
|
|
727
|
+
...cliBlueprintArguments
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
${a._A}
|
|
731
|
+
`,q=(0,n.default)`
|
|
732
|
+
mutation CLI_updateBlueprint($id: ID!, $revision: Int!, $patch: BlueprintPatchInput!) {
|
|
733
|
+
updateBlueprint(id: $id, revision: $revision, patch: $patch) {
|
|
734
|
+
...cliBlueprintArguments
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
${a._A}
|
|
738
|
+
`,T=(0,n.default)`
|
|
739
|
+
mutation CLI_revertBlueprint($id: ID!, $toRevision: Int!) {
|
|
740
|
+
revertBlueprint(id: $id, toRevision: $toRevision) {
|
|
741
|
+
...cliBlueprintArguments
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
${a._A}
|
|
745
|
+
`,x=(0,n.default)`
|
|
746
|
+
mutation CLI_removeBlueprint($id: ID!) {
|
|
747
|
+
removeBlueprint(id: $id)
|
|
748
|
+
}
|
|
749
|
+
`,R=(0,n.default)`
|
|
750
|
+
mutation CLI_acquireBlueprintRun($id: ID!, $host: String!, $sessionId: String!) {
|
|
751
|
+
acquireBlueprintRun(id: $id, host: $host, sessionId: $sessionId) {
|
|
752
|
+
ok
|
|
753
|
+
run {
|
|
754
|
+
...cliBlueprintRunArguments
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
${a.zL}
|
|
759
|
+
`,V=(0,n.default)`
|
|
760
|
+
mutation CLI_heartbeatBlueprintRun($id: ID!, $sessionId: String!) {
|
|
761
|
+
heartbeatBlueprintRun(id: $id, sessionId: $sessionId) {
|
|
762
|
+
ok
|
|
763
|
+
run {
|
|
764
|
+
...cliBlueprintRunArguments
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
${a.zL}
|
|
769
|
+
`,E=(0,n.default)`
|
|
770
|
+
mutation CLI_releaseBlueprintRun($id: ID!, $sessionId: String!) {
|
|
771
|
+
releaseBlueprintRun(id: $id, sessionId: $sessionId)
|
|
772
|
+
}
|
|
773
|
+
`},43741(e,i,t){t.r(i),t.d(i,{application:()=>p,applicationDeviceSettings:()=>m,applicationProject:()=>D,applicationReleaseVersions:()=>$,applications:()=>g,blueprint:()=>w,blueprintEvents:()=>R,blueprintProjection:()=>T,blueprintRevisions:()=>x,blueprints:()=>P,blueprintsByInstance:()=>q,buttressServers:()=>L,checkBindDevicePasscode:()=>y,device:()=>o,deviceGroup:()=>l,deviceGroups:()=>u,deviceUsage:()=>S,devices:()=>s,devicesApplicationStatus:()=>V,devicesByGroup:()=>c,devicesPanel:()=>d,mediaBox:()=>C,mediaBoxes:()=>A,mediaFile:()=>b,mediaFiles:()=>I,mediaWorkspace:()=>k,module:()=>v,moduleProject:()=>B,modules:()=>f,publicApplicationShareInfo:()=>_,publicModules:()=>h,workspace:()=>r});var n=t(94370),a=t(48596),r=(0,n.default)`
|
|
620
774
|
query CLI_workspace {
|
|
621
775
|
workspace {
|
|
622
776
|
...cliWorkspaceArguments
|
|
623
777
|
}
|
|
624
778
|
}
|
|
625
|
-
${
|
|
626
|
-
`,o=(0,
|
|
779
|
+
${a.Yi}
|
|
780
|
+
`,o=(0,n.default)`
|
|
627
781
|
query CLI_device($id: ID) {
|
|
628
782
|
device(id: $id) {
|
|
629
783
|
...cliDeviceArguments
|
|
630
784
|
}
|
|
631
785
|
}
|
|
632
|
-
${
|
|
633
|
-
`,s=(0,
|
|
786
|
+
${a.F3}
|
|
787
|
+
`,s=(0,n.default)`
|
|
634
788
|
query CLI_devices($keyword: String, $paginate: Paginate) {
|
|
635
789
|
devices(keyword: $keyword, paginate: $paginate) {
|
|
636
790
|
...cliDeviceShortArguments
|
|
637
791
|
}
|
|
638
792
|
}
|
|
639
|
-
${
|
|
640
|
-
`,d=(0,
|
|
793
|
+
${a.NJ}
|
|
794
|
+
`,d=(0,n.default)`
|
|
641
795
|
query CLI_devicesPanel($keyword: String, $paginate: Paginate) {
|
|
642
796
|
devicesPanel: devices(keyword: $keyword, paginate: $paginate) {
|
|
643
797
|
...cliDevicePanelArguments
|
|
644
798
|
}
|
|
645
799
|
}
|
|
646
|
-
${
|
|
647
|
-
`,l=(0,
|
|
800
|
+
${a.VZ}
|
|
801
|
+
`,l=(0,n.default)`
|
|
648
802
|
query CLI_deviceGroup($id: ID) {
|
|
649
803
|
deviceGroup(id: $id) {
|
|
650
804
|
...cliDeviceGroupArguments
|
|
651
805
|
}
|
|
652
806
|
}
|
|
653
|
-
${
|
|
654
|
-
`,
|
|
807
|
+
${a.mJ}
|
|
808
|
+
`,u=(0,n.default)`
|
|
655
809
|
query CLI_deviceGroups($paginate: Paginate) {
|
|
656
810
|
deviceGroups(paginate: $paginate) {
|
|
657
811
|
...cliDeviceGroupArguments
|
|
658
812
|
}
|
|
659
813
|
}
|
|
660
|
-
${
|
|
661
|
-
`,
|
|
814
|
+
${a.mJ}
|
|
815
|
+
`,c=(0,n.default)`
|
|
662
816
|
query CLI_devicesByGroup($id: ID) {
|
|
663
817
|
devicesByGroup(id: $id) {
|
|
664
818
|
target_name
|
|
@@ -679,21 +833,55 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
679
833
|
}
|
|
680
834
|
}
|
|
681
835
|
}
|
|
682
|
-
`,p=(0,
|
|
836
|
+
`,p=(0,n.default)`
|
|
683
837
|
query CLI_application($id: ID!, $composed: Boolean, $debug: Boolean) {
|
|
684
838
|
application(id: $id, composed: $composed, debug: $debug) {
|
|
685
839
|
...cliApplicationArguments
|
|
686
840
|
}
|
|
687
841
|
}
|
|
688
|
-
${
|
|
689
|
-
`,m=(0,
|
|
842
|
+
${a.lI}
|
|
843
|
+
`,m=(0,n.default)`
|
|
844
|
+
query CLI_applicationDeviceSettings($id: ID!) {
|
|
845
|
+
applicationDeviceSettings: application(id: $id) {
|
|
846
|
+
_id
|
|
847
|
+
devices {
|
|
848
|
+
device_id
|
|
849
|
+
frame
|
|
850
|
+
run_test
|
|
851
|
+
short_edit
|
|
852
|
+
canvas_control
|
|
853
|
+
device_control
|
|
854
|
+
env
|
|
855
|
+
cron_tests {
|
|
856
|
+
test_id
|
|
857
|
+
cron
|
|
858
|
+
date_range {
|
|
859
|
+
start
|
|
860
|
+
end
|
|
861
|
+
}
|
|
862
|
+
update_screenshot
|
|
863
|
+
bind_id
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
`,$=(0,n.default)`
|
|
869
|
+
query CLI_applicationReleaseVersions($id: ID!) {
|
|
870
|
+
applicationReleaseVersions(id: $id) {
|
|
871
|
+
_id
|
|
872
|
+
version
|
|
873
|
+
note
|
|
874
|
+
create_datetime
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
`,g=(0,n.default)`
|
|
690
878
|
query CLI_applications($keyword: String, $paginate: Paginate) {
|
|
691
879
|
applications(keyword: $keyword, paginate: $paginate) {
|
|
692
880
|
...cliApplicationShortArguments
|
|
693
881
|
}
|
|
694
882
|
}
|
|
695
|
-
${
|
|
696
|
-
|
|
883
|
+
${a.$7}
|
|
884
|
+
`,_=(0,n.default)`
|
|
697
885
|
query CLI_publicApplicationShareInfo($id: ID!) {
|
|
698
886
|
publicApplicationShareInfo(id: $id) {
|
|
699
887
|
_id
|
|
@@ -718,32 +906,32 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
718
906
|
}
|
|
719
907
|
}
|
|
720
908
|
}
|
|
721
|
-
`,
|
|
909
|
+
`,v=(0,n.default)`
|
|
722
910
|
query CLI_module($id: ID!) {
|
|
723
911
|
module(id: $id) {
|
|
724
912
|
...cliModuleArguments
|
|
725
913
|
}
|
|
726
914
|
}
|
|
727
|
-
${
|
|
728
|
-
`,
|
|
915
|
+
${a.$V}
|
|
916
|
+
`,f=(0,n.default)`
|
|
729
917
|
query CLI_modules($keyword: String, $paginate: Paginate) {
|
|
730
918
|
modules(keyword: $keyword, paginate: $paginate) {
|
|
731
919
|
...cliModuleShortArguments
|
|
732
920
|
}
|
|
733
921
|
}
|
|
734
|
-
${
|
|
735
|
-
`,
|
|
922
|
+
${a.J6}
|
|
923
|
+
`,h=(0,n.default)`
|
|
736
924
|
query CLI_publicModules($keyword: String!, $limit: Int) {
|
|
737
925
|
publicModules(keyword: $keyword, paginate: { limit: $limit }) {
|
|
738
926
|
...cliModuleShortArguments
|
|
739
927
|
}
|
|
740
928
|
}
|
|
741
|
-
${
|
|
742
|
-
`,
|
|
929
|
+
${a.J6}
|
|
930
|
+
`,y=(0,n.default)`
|
|
743
931
|
query CLI_checkBindDevicePasscode($passcode: String!) {
|
|
744
932
|
checkBindDevicePasscode(passcode: $passcode)
|
|
745
933
|
}
|
|
746
|
-
`,
|
|
934
|
+
`,I=(0,n.default)`
|
|
747
935
|
query CLI_mediaFiles(
|
|
748
936
|
$boxId: ID!
|
|
749
937
|
$includeTypes: [String]
|
|
@@ -786,7 +974,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
786
974
|
}
|
|
787
975
|
}
|
|
788
976
|
}
|
|
789
|
-
`,
|
|
977
|
+
`,k=(0,n.default)`
|
|
790
978
|
query CLI_mediaWorkspace {
|
|
791
979
|
mediaWorkspace {
|
|
792
980
|
id
|
|
@@ -799,7 +987,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
799
987
|
updatedAt
|
|
800
988
|
}
|
|
801
989
|
}
|
|
802
|
-
`,
|
|
990
|
+
`,A=(0,n.default)`
|
|
803
991
|
query CLI_mediaBoxes {
|
|
804
992
|
mediaBoxes {
|
|
805
993
|
id
|
|
@@ -820,7 +1008,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
820
1008
|
}
|
|
821
1009
|
}
|
|
822
1010
|
}
|
|
823
|
-
`,
|
|
1011
|
+
`,C=(0,n.default)`
|
|
824
1012
|
query CLI_mediaBox($id: ID!) {
|
|
825
1013
|
mediaBox(id: $id) {
|
|
826
1014
|
id
|
|
@@ -841,7 +1029,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
841
1029
|
}
|
|
842
1030
|
}
|
|
843
1031
|
}
|
|
844
|
-
`,
|
|
1032
|
+
`,b=(0,n.default)`
|
|
845
1033
|
query CLI_mediaFile($id: ID!) {
|
|
846
1034
|
mediaFile(id: $id) {
|
|
847
1035
|
id
|
|
@@ -872,7 +1060,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
872
1060
|
}
|
|
873
1061
|
}
|
|
874
1062
|
}
|
|
875
|
-
`,
|
|
1063
|
+
`,S=(0,n.default)`
|
|
876
1064
|
query CLI_deviceUsage($deviceId: ID, $startDate: Date, $endDate: Date) {
|
|
877
1065
|
deviceUsage(deviceId: $deviceId, startDate: $startDate, endDate: $endDate) {
|
|
878
1066
|
_id
|
|
@@ -891,7 +1079,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
891
1079
|
}
|
|
892
1080
|
}
|
|
893
1081
|
}
|
|
894
|
-
`,
|
|
1082
|
+
`,D=(0,n.default)`
|
|
895
1083
|
query CLI_applicationProject(
|
|
896
1084
|
$id: ID!
|
|
897
1085
|
$buildApplicationOnly: Boolean
|
|
@@ -909,7 +1097,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
909
1097
|
setupGeminiCLI: $setupGeminiCLI
|
|
910
1098
|
)
|
|
911
1099
|
}
|
|
912
|
-
`,
|
|
1100
|
+
`,B=(0,n.default)`
|
|
913
1101
|
query CLI_moduleProject(
|
|
914
1102
|
$id: ID!
|
|
915
1103
|
$buildApplicationOnly: Boolean
|
|
@@ -927,7 +1115,7 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
927
1115
|
setupGeminiCLI: $setupGeminiCLI
|
|
928
1116
|
)
|
|
929
1117
|
}
|
|
930
|
-
`,
|
|
1118
|
+
`,L=(0,n.default)`
|
|
931
1119
|
query CLI_buttressServers {
|
|
932
1120
|
buttressServers {
|
|
933
1121
|
serverId
|
|
@@ -936,4 +1124,85 @@ ${v}`);return a.cause=e,a};class y{constructor(e,i){var t,n=this;this.baseUrl=e,
|
|
|
936
1124
|
lastSeenAt
|
|
937
1125
|
}
|
|
938
1126
|
}
|
|
1127
|
+
`,w=(0,n.default)`
|
|
1128
|
+
query CLI_blueprint($id: ID!) {
|
|
1129
|
+
blueprint(id: $id) {
|
|
1130
|
+
...cliBlueprintArguments
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
${a._A}
|
|
1134
|
+
`,P=(0,n.default)`
|
|
1135
|
+
query CLI_blueprints($keyword: String, $paginate: Paginate) {
|
|
1136
|
+
blueprints(keyword: $keyword, paginate: $paginate) {
|
|
1137
|
+
...cliBlueprintShortArguments
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
${a.C$}
|
|
1141
|
+
`,q=(0,n.default)`
|
|
1142
|
+
query CLI_blueprintsByInstance($kind: BlueprintNodeKind!, $ref: String!) {
|
|
1143
|
+
blueprintsByInstance(kind: $kind, ref: $ref) {
|
|
1144
|
+
...cliBlueprintShortArguments
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
${a.C$}
|
|
1148
|
+
`,T=(0,n.default)`
|
|
1149
|
+
query CLI_blueprintProjection($id: ID!, $format: Int) {
|
|
1150
|
+
blueprintProjection(id: $id, format: $format)
|
|
1151
|
+
}
|
|
1152
|
+
`,x=(0,n.default)`
|
|
1153
|
+
query CLI_blueprintRevisions($id: ID!, $limit: Int) {
|
|
1154
|
+
blueprintRevisions(id: $id, limit: $limit) {
|
|
1155
|
+
_id
|
|
1156
|
+
revision
|
|
1157
|
+
actor
|
|
1158
|
+
snapshot
|
|
1159
|
+
created_at
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
`,R=(0,n.default)`
|
|
1163
|
+
query CLI_blueprintEvents($id: ID!, $limit: Int) {
|
|
1164
|
+
blueprintEvents(id: $id, limit: $limit) {
|
|
1165
|
+
_id
|
|
1166
|
+
type
|
|
1167
|
+
detail
|
|
1168
|
+
actor {
|
|
1169
|
+
type
|
|
1170
|
+
instance_id
|
|
1171
|
+
token_name
|
|
1172
|
+
}
|
|
1173
|
+
request_id
|
|
1174
|
+
task_id
|
|
1175
|
+
created_at
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
`,V=(0,n.default)`
|
|
1179
|
+
query CLI_devicesApplicationStatus($filter: DeviceApplicationStatusFilter, $paginate: Paginate) {
|
|
1180
|
+
devicesApplicationStatus(filter: $filter, paginate: $paginate) {
|
|
1181
|
+
device_id
|
|
1182
|
+
name
|
|
1183
|
+
device_name
|
|
1184
|
+
application_status {
|
|
1185
|
+
status
|
|
1186
|
+
reason
|
|
1187
|
+
assigned {
|
|
1188
|
+
application_id
|
|
1189
|
+
name
|
|
1190
|
+
config_timestamp
|
|
1191
|
+
commit_id
|
|
1192
|
+
lazy_update
|
|
1193
|
+
}
|
|
1194
|
+
reported {
|
|
1195
|
+
_id
|
|
1196
|
+
name
|
|
1197
|
+
config_timestamp
|
|
1198
|
+
state
|
|
1199
|
+
error_stage
|
|
1200
|
+
error_code
|
|
1201
|
+
error_message
|
|
1202
|
+
}
|
|
1203
|
+
reported_at
|
|
1204
|
+
confirmed_at
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
939
1208
|
`}};
|