@spotify/backstage-plugin-soundcheck 0.12.2 → 0.12.4

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +2 -510
  3. package/alpha/package.json +1 -1
  4. package/config.d.ts +0 -4
  5. package/dist/alpha.esm.js +1 -1
  6. package/dist/esm/Card-Dj5kNp2Q.esm.js +2 -0
  7. package/dist/esm/CertificationSidebar-CVyVchB8.esm.js +2 -0
  8. package/dist/esm/EmptyState-CFyDYjmm.esm.js +2 -0
  9. package/dist/esm/EntitySoundcheckContent-Dm1OGOA5.esm.js +2 -0
  10. package/dist/esm/OverviewPageContent-DW92KphH.esm.js +2 -0
  11. package/dist/esm/{RefetchingIndicator-b4961e02.esm.js → RefetchingIndicator-CdGa4YBG.esm.js} +2 -2
  12. package/dist/esm/chartUtils-CDPSRCm-.esm.js +2 -0
  13. package/dist/esm/{index-f4bdaf5c.esm.js → index-ChMeGQBh.esm.js} +2 -2
  14. package/dist/esm/index-DNAl7tKw.esm.js +2 -0
  15. package/dist/esm/index-e9SWucyI.esm.js +2 -0
  16. package/dist/esm/{license-e9e73904.esm.js → license-CQErZDIh.esm.js} +1 -1
  17. package/dist/esm/routes-DcGwdXHX.esm.js +699 -0
  18. package/dist/images/git-dark.svg +1 -0
  19. package/dist/images/github-dark.svg +1 -0
  20. package/dist/images/github-light.svg +1 -0
  21. package/dist/images/pagerduty-dark.png +0 -0
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.esm.js +1 -1
  24. package/package.json +20 -19
  25. package/dist/esm/Card-2862fdca.esm.js +0 -2
  26. package/dist/esm/CertificationSidebar-5e4230a7.esm.js +0 -2
  27. package/dist/esm/EmptyState-6a402254.esm.js +0 -2
  28. package/dist/esm/EntitySoundcheckContent-bc7bdbe2.esm.js +0 -2
  29. package/dist/esm/OverviewPageContent-d5467d2c.esm.js +0 -2
  30. package/dist/esm/chartUtils-080232d7.esm.js +0 -2
  31. package/dist/esm/index-5610fc82.esm.js +0 -2
  32. package/dist/esm/index-99d39b7d.esm.js +0 -2
  33. package/dist/esm/routes-93cd1496.esm.js +0 -599
  34. package/dist/images/octocat.svg +0 -17
  35. package/dist/images/settings.svg +0 -90
@@ -1,599 +0,0 @@
1
- import{createApiRef as E,createRouteRef as p,createSubRouteRef as F}from"@backstage/core-plugin-api";import{GraphQLClient as O}from"graphql-request";import n from"graphql-tag";import{convertLegacyRouteRef as T}from"@backstage/core-compat-api";var v=(r=>(r.Medal="MEDAL",r))(v||{}),P=(r=>(r.Asc="ASC",r.Desc="DESC",r))(P||{}),$=(r=>(r.Failed="FAILED",r.NotApplicable="NOT_APPLICABLE",r.NotReported="NOT_REPORTED",r.Passed="PASSED",r.Warning="WARNING",r))($||{}),w=(r=>(r.CertificationLevel="CERTIFICATION_LEVEL",r.CheckPassRate="CHECK_PASS_RATE",r.Lifecycle="LIFECYCLE",r.Name="NAME",r.Owner="OWNER",r.System="SYSTEM",r.Type="TYPE",r))(w||{});const S=n`
2
- fragment CertificationSummary on Certification {
3
- entityRef
4
- program {
5
- id
6
- name
7
- type
8
- }
9
- highestLevel {
10
- ordinal
11
- name
12
- description
13
- badge {
14
- ... on BadgeVariantMedal {
15
- variant
16
- options {
17
- level
18
- color
19
- }
20
- }
21
- }
22
- }
23
- }
24
- `,D=n`
25
- fragment check on Check {
26
- id
27
- name
28
- description
29
- }
30
- `,L=n`
31
- fragment CampaignLevel on Level {
32
- ordinal
33
- name
34
- description
35
- badge {
36
- ... on BadgeVariantMedal {
37
- variant
38
- options {
39
- level
40
- color
41
- }
42
- }
43
- }
44
- checks {
45
- ...check
46
- }
47
- }
48
- ${D}`,G=n`
49
- fragment milestone on Milestone {
50
- id
51
- name
52
- description
53
- targetPercent
54
- targetCompletionDate
55
- }
56
- `,A=n`
57
- fragment CheckResultSummary on CheckResult {
58
- id
59
- name
60
- result
61
- timestamp
62
- }
63
- `,I=n`
64
- fragment LevelResultDetails on LevelResult {
65
- ordinal
66
- name
67
- description
68
- badge {
69
- ... on BadgeVariantMedal {
70
- variant
71
- options {
72
- level
73
- color
74
- }
75
- }
76
- }
77
- certified
78
- checks {
79
- ...CheckResultSummary
80
- }
81
- }
82
- ${A}`,N=n`
83
- fragment CheckResultDetails on CheckResult {
84
- id
85
- name
86
- description
87
- result
88
- timestamp
89
- notes
90
- }
91
- `,b=n`
92
- fragment OverviewLevelResult on OverviewLevelResult {
93
- ordinal
94
- name
95
- checks {
96
- check {
97
- id
98
- name
99
- description
100
- }
101
- results {
102
- id
103
- entityRef
104
- result
105
- }
106
- }
107
- }
108
- `,y=n`
109
- fragment HighestLevel on LevelResult {
110
- entityRef
111
- ordinal
112
- name
113
- badge {
114
- ... on BadgeVariantMedal {
115
- variant
116
- options {
117
- color
118
- level
119
- }
120
- }
121
- }
122
- }
123
- `,M=n`
124
- fragment TrackLevel on Level {
125
- ordinal
126
- name
127
- description
128
- badge {
129
- ... on BadgeVariantMedal {
130
- variant
131
- options {
132
- level
133
- color
134
- }
135
- }
136
- }
137
- checks {
138
- ...check
139
- }
140
- }
141
- ${D}`,H=n`
142
- mutation archiveCampaign($campaignId: String!) {
143
- campaignArchived: archiveCampaign(campaignId: $campaignId)
144
- }
145
- `,B=n`
146
- mutation createCampaign($input: CampaignInput!) {
147
- campaign: createCampaign(input: $input) {
148
- id
149
- }
150
- }
151
- `,U=n`
152
- mutation createCheck($input: CheckerInput!) {
153
- check: createChecker(input: $input) {
154
- id
155
- filter
156
- name
157
- description
158
- }
159
- }
160
- `,W=n`
161
- mutation createProgram($input: ProgramInput!) {
162
- program: createProgram(input: $input) {
163
- id
164
- ownerEntityRef
165
- name
166
- description
167
- documentationURL
168
- }
169
- }
170
- `,V=n`
171
- mutation deleteCampaign($campaignId: String!) {
172
- campaignDeleted: deleteCampaign(campaignId: $campaignId)
173
- }
174
- `,x=n`
175
- mutation deleteChecker($checkerId: String!) {
176
- deleteChecker(checkerId: $checkerId)
177
- }
178
- `,_=n`
179
- mutation deleteProgram($programId: String!) {
180
- programDeleted: deleteProgram(programId: $programId)
181
- }
182
- `,Y=n`
183
- mutation updateCampaign($input: CampaignInput!) {
184
- campaign: updateCampaign(input: $input) {
185
- id
186
- }
187
- }
188
- `,j=n`
189
- mutation updateCheck($input: CheckerInput!) {
190
- check: updateChecker(input: $input) {
191
- id
192
- filter
193
- name
194
- description
195
- }
196
- }
197
- `,K=n`
198
- mutation updateCollectorConfig($input: CollectorConfigInput!) {
199
- collector: setCollectorConfig(input: $input) {
200
- id
201
- factNames
202
- collectionConfigs {
203
- factRefs
204
- filter
205
- frequency
206
- cache
207
- }
208
- config
209
- configSchema
210
- }
211
- }
212
- `,Q=n`
213
- mutation updateProgram($input: ProgramInput!) {
214
- program: updateProgram(input: $input) {
215
- id
216
- ownerEntityRef
217
- name
218
- description
219
- documentationURL
220
- }
221
- }
222
- `,z=n`
223
- query getAllCertifications($entityRef: String!) {
224
- certifications(entityRef: $entityRef, includeFilteredChecks: false) {
225
- ...CertificationSummary
226
- }
227
- }
228
- ${S}`,J=n`
229
- query getCampaignProgress($id: String!, $first: Int, $after: String) {
230
- campaignProgress(id: $id, first: $first, after: $after) {
231
- checks {
232
- check {
233
- id
234
- name
235
- description
236
- }
237
- results {
238
- id
239
- entityRef
240
- result
241
- }
242
- }
243
- entityRefs
244
- hasNextPage
245
- totalCount
246
- endCursor
247
- prevCursor
248
- }
249
- }
250
- `,X=n`
251
- query getCampaigns($filter: ListEntityFilter!) {
252
- campaigns(filter: $filter) {
253
- totalCount
254
- edges {
255
- cursor
256
- node {
257
- id
258
- name
259
- description
260
- ownerEntityRef
261
- supportChannel
262
- archived
263
- startDate
264
- targetCompletionDate
265
- milestones {
266
- ...milestone
267
- }
268
- track {
269
- id
270
- type
271
- ownerEntityRef
272
- name
273
- description
274
- documentationURL
275
- filter
276
- type
277
- levels {
278
- ...CampaignLevel
279
- }
280
- isEditable
281
- }
282
- }
283
- }
284
- pageInfo {
285
- hasNextPage
286
- hasPreviousPage
287
- startCursor
288
- endCursor
289
- }
290
- }
291
- }
292
- ${G}
293
- ${L}`,Z=n`
294
- query getCertificationDetails($entityRef: String!) {
295
- certifications(entityRef: $entityRef, includeFilteredChecks: false) {
296
- program {
297
- id
298
- name
299
- description
300
- documentationURL
301
- }
302
- highestLevel {
303
- ...HighestLevel
304
- }
305
- levels {
306
- ...LevelResultDetails
307
- }
308
- }
309
- }
310
- ${y}
311
- ${I}`,ee=n`
312
- query getCertificationDetailsForTrack($entityRef: String!, $programId: String!) {
313
- programCertification(
314
- entityRef: $entityRef
315
- programId: $programId
316
- includeFilteredChecks: false
317
- ) {
318
- program {
319
- id
320
- name
321
- description
322
- documentationURL
323
- type
324
- }
325
- highestLevel {
326
- ...HighestLevel
327
- }
328
- levels {
329
- ...LevelResultDetails
330
- }
331
- }
332
- }
333
- ${y}
334
- ${I}`,te=n`
335
- query getCheckResultDetails($entityRef: String!, $programId: String!, $checkId: String!) {
336
- checkResult(entityRef: $entityRef, programId: $programId, checkId: $checkId) {
337
- ...CheckResultDetails
338
- }
339
- }
340
- ${N}`,ae=n`
341
- query getCheckers($filter: ListEntityFilter!) {
342
- checkers(filter: $filter) {
343
- totalCount
344
- edges {
345
- cursor
346
- node {
347
- id
348
- ownerEntityRef
349
- supportChannel
350
- name
351
- description
352
- rule
353
- warning
354
- passedMessage
355
- failedMessage
356
- filter
357
- isEditable
358
- schedule
359
- }
360
- }
361
- pageInfo {
362
- hasNextPage
363
- hasPreviousPage
364
- startCursor
365
- endCursor
366
- }
367
- }
368
- }
369
- `,re=n`
370
- query getEntityRefsForTechHealthFilter($ownerEntityRef: String) {
371
- entityRefsForTechHealthFilter(ownerEntityRef: $ownerEntityRef)
372
- }
373
- `,ie=n`
374
- query getFacetsForOwner($ownerEntityRef: String!) {
375
- facetsForOwner(ownerEntityRef: $ownerEntityRef) {
376
- types {
377
- kind
378
- type
379
- count
380
- }
381
- }
382
- }
383
- `,se=n`
384
- query getCollectors($ids: [String!]) {
385
- collectors(ids: $ids) {
386
- id
387
- name
388
- description
389
- factNames
390
- config
391
- isConfigurable
392
- isEditable
393
- collectionConfigs {
394
- factRefs
395
- filter
396
- frequency
397
- cache
398
- }
399
- }
400
- }
401
- `,ne=n`
402
- query getFactSchemas($collectorId: String!, $factName: String!) {
403
- factSchema(collectorId: $collectorId, factName: $factName) {
404
- schema
405
- }
406
- }
407
- `,ce=n`
408
- query getIndividualCheckPassRates($filter: Filter) {
409
- individualCheckPassRates(filter: $filter) {
410
- id
411
- checkName
412
- checkDescription
413
- checkOwnerRef
414
- snapshotPassRate
415
- trendPassRates
416
- }
417
- }
418
- `,oe=n`
419
- query getIndividualEntityPassRates($filter: Filter) {
420
- individualEntityPassRates(filter: $filter) {
421
- id
422
- entityDescription
423
- entityOwnerRef
424
- snapshotPassRate
425
- trendPassRates
426
- }
427
- }
428
- `,le=n`
429
- query getIndividualGroupPassRates($filter: Filter) {
430
- groupPassRates(filter: $filter) {
431
- id
432
- groupTitle
433
- memberRefs
434
- snapshotPassRate
435
- trendPassRates
436
- }
437
- }
438
- `,ue=n`
439
- query getIndividualTrackPassRate($filter: Filter) {
440
- individualTrackPassRate(filter: $filter) {
441
- id
442
- trackName
443
- trackDescription
444
- trackOwnerRef
445
- levels {
446
- levelOrdinal
447
- levelName
448
- snapshotPassRate
449
- trendPassRates
450
- }
451
- }
452
- }
453
- `,ge=n`
454
- query getOperators {
455
- operators {
456
- name
457
- title
458
- }
459
- }
460
- `,de=n`
461
- query getOverallCheckPassRates($filter: Filter) {
462
- overallCheckPassRates(filter: $filter)
463
- }
464
- `,he=n`
465
- query getOverallEntityPassRates($filter: Filter) {
466
- overallEntityPassRates(filter: $filter) {
467
- id
468
- trendPassRates
469
- }
470
- }
471
- `,pe=n`
472
- query getOverallGroupPassRates($filter: Filter) {
473
- groupPassRates(filter: $filter, limit: 5) {
474
- id
475
- groupTitle
476
- snapshotPassRate
477
- }
478
- }
479
- `,me=n`
480
- query getOverallTrackPassRate($filter: Filter) {
481
- overallTrackPassRate(filter: $filter) {
482
- levelOrdinal
483
- snapshotPassRate
484
- trendPassRates
485
- }
486
- }
487
- `,fe=n`
488
- query getPlaylists($entityRef: String!) {
489
- playlists(entityRef: $entityRef) {
490
- id
491
- name
492
- description
493
- ownerEntityRef
494
- trackIds
495
- }
496
- }
497
- `,ye=n`
498
- query getProgramOverviewForOwner($ownerEntityRef: String!, $facet: FacetInput, $first: Int, $after: String) {
499
- programOverviewForOwner(
500
- ownerEntityRef: $ownerEntityRef
501
- facet: $facet
502
- includeFilteredChecks: false
503
- first: $first
504
- after: $after
505
- ) {
506
- programs {
507
- program {
508
- id
509
- name
510
- type
511
- }
512
- highestLevels {
513
- ...HighestLevel
514
- }
515
- levels {
516
- ...OverviewLevelResult
517
- }
518
- }
519
- entityRefs
520
- hasNextPage
521
- totalCount
522
- endCursor
523
- prevCursor
524
- }
525
- }
526
- ${y}
527
- ${b}`,Re=n`
528
- query getTrackEntities($input: TrackEntitiesInput!) {
529
- trackEntities(input: $input) {
530
- totalCount
531
- pageInfo {
532
- hasNextPage
533
- hasPreviousPage
534
- startCursor
535
- endCursor
536
- }
537
- edges {
538
- node {
539
- entityRef
540
- badge {
541
- ... on BadgeVariantMedal {
542
- variant
543
- options {
544
- color
545
- level
546
- }
547
- }
548
- }
549
- status {
550
- total
551
- passed
552
- failed
553
- warning
554
- notApplicable
555
- notReported
556
- statusByLevel {
557
- ordinal
558
- total
559
- passed
560
- failed
561
- warning
562
- notApplicable
563
- notReported
564
- }
565
- }
566
- }
567
- }
568
- }
569
- }
570
- `,ke=n`
571
- query getTracks($filter: ListEntityFilter!) {
572
- programs(filter: $filter) {
573
- totalCount
574
- edges {
575
- cursor
576
- node {
577
- id
578
- ownerEntityRef
579
- name
580
- description
581
- documentationURL
582
- filter
583
- levels {
584
- ...TrackLevel
585
- }
586
- isEditable
587
- type
588
- }
589
- }
590
- pageInfo {
591
- hasNextPage
592
- hasPreviousPage
593
- startCursor
594
- endCursor
595
- }
596
- }
597
- }
598
- ${M}`,Ce=(r,t,e)=>r();function ve(r,t=Ce){return{archiveCampaign(e,a){return t(i=>r.request(H,e,{...a,...i}),"archiveCampaign","mutation")},createCampaign(e,a){return t(i=>r.request(B,e,{...a,...i}),"createCampaign","mutation")},createCheck(e,a){return t(i=>r.request(U,e,{...a,...i}),"createCheck","mutation")},createProgram(e,a){return t(i=>r.request(W,e,{...a,...i}),"createProgram","mutation")},deleteCampaign(e,a){return t(i=>r.request(V,e,{...a,...i}),"deleteCampaign","mutation")},deleteChecker(e,a){return t(i=>r.request(x,e,{...a,...i}),"deleteChecker","mutation")},deleteProgram(e,a){return t(i=>r.request(_,e,{...a,...i}),"deleteProgram","mutation")},updateCampaign(e,a){return t(i=>r.request(Y,e,{...a,...i}),"updateCampaign","mutation")},updateCheck(e,a){return t(i=>r.request(j,e,{...a,...i}),"updateCheck","mutation")},updateCollectorConfig(e,a){return t(i=>r.request(K,e,{...a,...i}),"updateCollectorConfig","mutation")},updateProgram(e,a){return t(i=>r.request(Q,e,{...a,...i}),"updateProgram","mutation")},getAllCertifications(e,a){return t(i=>r.request(z,e,{...a,...i}),"getAllCertifications","query")},getCampaignProgress(e,a){return t(i=>r.request(J,e,{...a,...i}),"getCampaignProgress","query")},getCampaigns(e,a){return t(i=>r.request(X,e,{...a,...i}),"getCampaigns","query")},getCertificationDetails(e,a){return t(i=>r.request(Z,e,{...a,...i}),"getCertificationDetails","query")},getCertificationDetailsForTrack(e,a){return t(i=>r.request(ee,e,{...a,...i}),"getCertificationDetailsForTrack","query")},getCheckResultDetails(e,a){return t(i=>r.request(te,e,{...a,...i}),"getCheckResultDetails","query")},getCheckers(e,a){return t(i=>r.request(ae,e,{...a,...i}),"getCheckers","query")},getEntityRefsForTechHealthFilter(e,a){return t(i=>r.request(re,e,{...a,...i}),"getEntityRefsForTechHealthFilter","query")},getFacetsForOwner(e,a){return t(i=>r.request(ie,e,{...a,...i}),"getFacetsForOwner","query")},getCollectors(e,a){return t(i=>r.request(se,e,{...a,...i}),"getCollectors","query")},getFactSchemas(e,a){return t(i=>r.request(ne,e,{...a,...i}),"getFactSchemas","query")},getIndividualCheckPassRates(e,a){return t(i=>r.request(ce,e,{...a,...i}),"getIndividualCheckPassRates","query")},getIndividualEntityPassRates(e,a){return t(i=>r.request(oe,e,{...a,...i}),"getIndividualEntityPassRates","query")},getIndividualGroupPassRates(e,a){return t(i=>r.request(le,e,{...a,...i}),"getIndividualGroupPassRates","query")},getIndividualTrackPassRate(e,a){return t(i=>r.request(ue,e,{...a,...i}),"getIndividualTrackPassRate","query")},getOperators(e,a){return t(i=>r.request(ge,e,{...a,...i}),"getOperators","query")},getOverallCheckPassRates(e,a){return t(i=>r.request(de,e,{...a,...i}),"getOverallCheckPassRates","query")},getOverallEntityPassRates(e,a){return t(i=>r.request(he,e,{...a,...i}),"getOverallEntityPassRates","query")},getOverallGroupPassRates(e,a){return t(i=>r.request(pe,e,{...a,...i}),"getOverallGroupPassRates","query")},getOverallTrackPassRate(e,a){return t(i=>r.request(me,e,{...a,...i}),"getOverallTrackPassRate","query")},getPlaylists(e,a){return t(i=>r.request(fe,e,{...a,...i}),"getPlaylists","query")},getProgramOverviewForOwner(e,a){return t(i=>r.request(ye,e,{...a,...i}),"getProgramOverviewForOwner","query")},getTrackEntities(e,a){return t(i=>r.request(Re,e,{...a,...i}),"getTrackEntities","query")},getTracks(e,a){return t(i=>r.request(ke,e,{...a,...i}),"getTracks","query")}}}var q=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)},s=(r,t,e)=>(q(r,t,"read from private field"),e?e.call(r):t.get(r)),h=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},R=(r,t,e,a)=>(q(r,t,"write to private field"),a?a.call(r,e):t.set(r,e),e),m,f,c,k,o;const Pe=E({id:"plugin.soundcheck"}),$e=r=>"response"in r&&"errors"in r.response,we=r=>"response"in r&&"message"in r.response;class De{constructor(t){h(this,m,void 0),h(this,f,void 0),h(this,c,void 0),h(this,k,a=>{var i,g,C;return $e(a)?(C=(g=(i=a.response)==null?void 0:i.errors)==null?void 0:g[0].message)!=null?C:`${a}`:we(a)?a.response.message:`${a}`}),h(this,o,async a=>{try{return await a()}catch(i){throw new Error(`Error from Soundcheck backend: ${s(this,k).call(this,i)}`)}}),R(this,m,t.fetchApi),R(this,f,t.discoveryApi);const e=new O("/graphql",{fetch:async(a,i)=>{const g=`${await s(this,f).getBaseUrl("soundcheck")}${a}`;return s(this,m).fetch(g,i)}});R(this,c,ve(e))}async getAllCertifications(t){return s(this,o).call(this,async()=>{const{certifications:e}=await s(this,c).getAllCertifications({entityRef:t});return e})}async getCertificationDetails(t){return s(this,o).call(this,async()=>{const{certifications:e}=await s(this,c).getCertificationDetails({entityRef:t});return e})}async getCertificationDetailsForTrack(t,e){return s(this,o).call(this,async()=>{const{programCertification:a}=await s(this,c).getCertificationDetailsForTrack({entityRef:t,programId:e});return a})}async getCheckResultDetails(t,e,a){return s(this,o).call(this,async()=>{const{checkResult:i}=await s(this,c).getCheckResultDetails({entityRef:t,programId:e,checkId:a});return i})}async getFacetsForOwner(t){return s(this,o).call(this,async()=>{const{facetsForOwner:e}=await s(this,c).getFacetsForOwner({ownerEntityRef:t});return e})}async getProgramOverviewForOwner(t,e,a,i){return s(this,o).call(this,async()=>{const{programOverviewForOwner:g}=await s(this,c).getProgramOverviewForOwner({ownerEntityRef:t,facet:e,first:a,after:i});return g})}async getTracks(t){return s(this,o).call(this,async()=>{const{programs:e}=await s(this,c).getTracks({filter:t});return e})}async createProgram(t){return s(this,o).call(this,async()=>{const{program:e}=await s(this,c).createProgram({input:t});return e})}async updateProgram(t){return s(this,o).call(this,async()=>{const{program:e}=await s(this,c).updateProgram({input:t});return e})}async deleteProgram(t){return s(this,o).call(this,async()=>{const{programDeleted:e}=await s(this,c).deleteProgram({programId:t});return e})}async getPlaylists(t){return s(this,o).call(this,async()=>{const{playlists:e}=await s(this,c).getPlaylists({entityRef:t});return e})}async getOperators(){return s(this,o).call(this,async()=>{const{operators:t}=await s(this,c).getOperators();return t})}async getChecks(t){return s(this,o).call(this,async()=>{const{checkers:e}=await s(this,c).getCheckers({filter:t});return e})}async createCheck(t){return s(this,o).call(this,async()=>{const{check:e}=await s(this,c).createCheck({input:t});return e})}async updateCheck(t){return s(this,o).call(this,async()=>{const{check:e}=await s(this,c).updateCheck({input:t});return e})}async deleteCheck(t){return s(this,o).call(this,async()=>await s(this,c).deleteChecker({checkerId:t}))}async getCollectors(t){return s(this,o).call(this,async()=>{const{collectors:e}=await s(this,c).getCollectors({ids:t});return e})}async getFactSchema(t,e){if(!(!t||!e))return s(this,o).call(this,async()=>{const{factSchema:a}=await s(this,c).getFactSchemas({collectorId:t,factName:e});return a})}async updateCollectorConfig(t){return s(this,o).call(this,async()=>{const{collector:e}=await s(this,c).updateCollectorConfig({input:t});return e})}async getOverallCheckPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getOverallCheckPassRates({filter:t}))}async getIndividualCheckPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getIndividualCheckPassRates({filter:t}))}async getOverallTrackPassRate(t){return s(this,o).call(this,async()=>await s(this,c).getOverallTrackPassRate({filter:t}))}async getIndividualTrackPassRate(t){return s(this,o).call(this,async()=>await s(this,c).getIndividualTrackPassRate({filter:t}))}async getOverallEntityPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getOverallEntityPassRates({filter:t}))}async getIndividualEntityPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getIndividualEntityPassRates({filter:t}))}async getOverallGroupPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getOverallGroupPassRates({filter:t}))}async getIndividualGroupPassRates(t){return s(this,o).call(this,async()=>await s(this,c).getIndividualGroupPassRates({filter:t}))}async getEntityRefsForTechHealthFilter(t){return s(this,o).call(this,async()=>await s(this,c).getEntityRefsForTechHealthFilter({ownerEntityRef:t}))}async getTrackEntities(t){return s(this,o).call(this,async()=>await s(this,c).getTrackEntities({input:t}))}async getCampaigns(t){return s(this,o).call(this,async()=>{const{campaigns:e}=await s(this,c).getCampaigns({filter:t});return e})}async createCampaign(t){return s(this,o).call(this,async()=>{const{campaign:e}=await s(this,c).createCampaign({input:t});return e})}async updateCampaign(t){return s(this,o).call(this,async()=>{const{campaign:e}=await s(this,c).updateCampaign({input:t});return e})}async deleteCampaign(t){return s(this,o).call(this,async()=>{const{campaignDeleted:e}=await s(this,c).deleteCampaign({campaignId:t});return e})}async archiveCampaign(t){return s(this,o).call(this,async()=>{const{campaignArchived:e}=await s(this,c).archiveCampaign({campaignId:t});return e})}async getCampaignProgress(t,e,a){return s(this,o).call(this,async()=>{const{campaignProgress:i}=await s(this,c).getCampaignProgress({id:t,first:e,after:a});return i})}}m=new WeakMap,f=new WeakMap,c=new WeakMap,k=new WeakMap,o=new WeakMap;const l=r=>T(F(r)),d=p({id:"soundcheck-entity"}),Ie=p({id:"soundcheck-group"}),qe=l({id:"soundcheck-entity-certification-track-redirect",parent:d,path:"/tracks/:trackId"}),Ee=l({id:"soundcheck-entity-certification",parent:d,path:"/tracks/:trackId/checks/:checkId"}),Fe=l({id:"soundcheck-entity-playlist-redirect",parent:d,path:"/playlists/:playlistId"}),Oe=l({id:"soundcheck-entity-playlist-track-redirect",parent:d,path:"/playlists/:playlistId/tracks/:trackId"}),Te=l({id:"soundcheck-entity-playlist-track-redirect",parent:d,path:"/playlists/:playlistId/tracks/:trackId/checks/:checkId"}),Se=p({id:"soundcheck-overview"}),u=p({id:"soundcheck"}),Le=l({id:"soundcheck-checks",parent:u,path:"/checks"}),Ge=l({id:"soundcheck-check-details",parent:u,path:"/checks/:checkId"}),Ae=l({id:"soundcheck-tracks",parent:u,path:"/tracks"}),Ne=l({id:"soundcheck-track-details",parent:u,path:"/tracks/:trackId"}),be=l({id:"soundcheck-track-edit",parent:u,path:"/tracks/:trackId/edit"}),Me=l({id:"soundcheck-campaigns",parent:u,path:"/campaigns"}),He=l({id:"soundcheck-campaign-details",parent:u,path:"/campaigns/:campaignId"}),Be=l({id:"soundcheck-campaign-edit",parent:u,path:"/campaigns/:campaignId/edit"}),Ue=l({id:"soundcheck-tech-health",parent:u,path:"/tech-health"}),We=l({id:"soundcheck-collectors-page",parent:u,path:"/collectors"}),Ve=l({id:"soundcheck-collector-details",parent:u,path:"/collectors/:collectorId"});export{v as B,P as D,$ as R,De as S,w as T,Ee as a,Te as b,qe as c,Fe as d,d as e,Oe as f,Ie as g,He as h,Be as i,Me as j,Le as k,Ge as l,We as m,Ve as n,Se as o,Ae as p,Ne as q,u as r,Pe as s,Ue as t,be as u};
599
- //# sourceMappingURL=routes-93cd1496.esm.js.map
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.2 -1 379 334">
2
- <path id="puddle" fill="#9CDAF1" d="m296.94 295.43c0 20.533-47.56 37.176-106.22 37.176-58.67 0-106.23-16.643-106.23-37.176s47.558-37.18 106.23-37.18c58.66 0 106.22 16.65 106.22 37.18z"/>
3
- <g id="shadow-legs" fill="#7DBBE6">
4
- <path d="m161.85 331.22v-26.5c0-3.422-.619-6.284-1.653-8.701 6.853 5.322 7.316 18.695 7.316 18.695v17.004c6.166.481 12.534.773 19.053.861l-.172-16.92c-.944-23.13-20.769-25.961-20.769-25.961-7.245-1.645-7.137 1.991-6.409 4.34-7.108-12.122-26.158-10.556-26.158-10.556-6.611 2.357-.475 6.607-.475 6.607 10.387 3.775 11.33 15.105 11.33 15.105v23.622c5.72.98 11.71 1.79 17.94 2.4z"/>
5
- <path d="m245.4 283.48s-19.053-1.566-26.16 10.559c.728-2.35.839-5.989-6.408-4.343 0 0-19.824 2.832-20.768 25.961l-.174 16.946c6.509-.025 12.876-.254 19.054-.671v-17.219s.465-13.373 7.316-18.695c-1.034 2.417-1.653 5.278-1.653 8.701v26.775c6.214-.544 12.211-1.279 17.937-2.188v-24.113s.944-11.33 11.33-15.105c0-.01 6.13-4.26-.48-6.62z"/>
6
- </g>
7
- <path id="cat" d="m378.18 141.32l.28-1.389c-31.162-6.231-63.141-6.294-82.487-5.49 3.178-11.451 4.134-24.627 4.134-39.32 0-21.073-7.917-37.931-20.77-50.759 2.246-7.25 5.246-23.351-2.996-43.963 0 0-14.541-4.617-47.431 17.396-12.884-3.22-26.596-4.81-40.328-4.81-15.109 0-30.376 1.924-44.615 5.83-33.94-23.154-48.923-18.411-48.923-18.411-9.78 24.457-3.733 42.566-1.896 47.063-11.495 12.406-18.513 28.243-18.513 47.659 0 14.658 1.669 27.808 5.745 39.237-19.511-.71-50.323-.437-80.373 5.572l.276 1.389c30.231-6.046 61.237-6.256 80.629-5.522.898 2.366 1.899 4.661 3.021 6.879-19.177.618-51.922 3.062-83.303 11.915l.387 1.36c31.629-8.918 64.658-11.301 83.649-11.882 11.458 21.358 34.048 35.152 74.236 39.484-5.704 3.833-11.523 10.349-13.881 21.374-7.773 3.718-32.379 12.793-47.142-12.599 0 0-8.264-15.109-24.082-16.292 0 0-15.344-.235-1.059 9.562 0 0 10.267 4.838 17.351 23.019 0 0 9.241 31.01 53.835 21.061v32.032s-.943 11.33-11.33 15.105c0 0-6.137 4.249.475 6.606 0 0 28.792 2.361 28.792-21.238v-34.929s-1.142-13.852 5.663-18.667v57.371s-.47 13.688-7.551 18.881c0 0-4.723 8.494 5.663 6.137 0 0 19.824-2.832 20.769-25.961l.449-58.06h4.765l.453 58.06c.943 23.129 20.768 25.961 20.768 25.961 10.383 2.357 5.663-6.137 5.663-6.137-7.08-5.193-7.551-18.881-7.551-18.881v-56.876c6.801 5.296 5.663 18.171 5.663 18.171v34.929c0 23.6 28.793 21.238 28.793 21.238 6.606-2.357.474-6.606.474-6.606-10.386-3.775-11.33-15.105-11.33-15.105v-45.786c0-17.854-7.518-27.309-14.87-32.3 42.859-4.25 63.426-18.089 72.903-39.591 18.773.516 52.557 2.803 84.873 11.919l.384-1.36c-32.131-9.063-65.692-11.408-84.655-11.96.898-2.172 1.682-4.431 2.378-6.755 19.25-.80 51.38-.79 82.66 5.46z"/>
8
- <path id="face" fill="#F4CBB2" d="m258.19 94.132c9.231 8.363 14.631 18.462 14.631 29.343 0 50.804-37.872 52.181-84.585 52.181-46.721 0-84.589-7.035-84.589-52.181 0-10.809 5.324-20.845 14.441-29.174 15.208-13.881 40.946-6.531 70.147-6.531 29.07-.004 54.72-7.429 69.95 6.357z"/>
9
- <path id="eyes" fill="#FFF" d="m160.1 126.06 c0 13.994-7.88 25.336-17.6 25.336-9.72 0-17.6-11.342-17.6-25.336 0-13.992 7.88-25.33 17.6-25.33 9.72.01 17.6 11.34 17.6 25.33z m94.43 0 c0 13.994-7.88 25.336-17.6 25.336-9.72 0-17.6-11.342-17.6-25.336 0-13.992 7.88-25.33 17.6-25.33 9.72.01 17.6 11.34 17.6 25.33z"/>
10
- <g fill="#AD5C51">
11
- <path id="pupils" d="m154.46 126.38 c0 9.328-5.26 16.887-11.734 16.887s-11.733-7.559-11.733-16.887c0-9.331 5.255-16.894 11.733-16.894 6.47 0 11.73 7.56 11.73 16.89z m94.42 0 c0 9.328-5.26 16.887-11.734 16.887s-11.733-7.559-11.733-16.887c0-9.331 5.255-16.894 11.733-16.894 6.47 0 11.73 7.56 11.73 16.89z"/>
12
- <circle id="nose" cx="188.5" cy="148.56" r="4.401"/>
13
- <path id="mouth" d="m178.23 159.69c-.26-.738.128-1.545.861-1.805.737-.26 1.546.128 1.805.861 1.134 3.198 4.167 5.346 7.551 5.346s6.417-2.147 7.551-5.346c.26-.738 1.067-1.121 1.805-.861s1.121 1.067.862 1.805c-1.529 4.324-5.639 7.229-10.218 7.229s-8.68-2.89-10.21-7.22z"/>
14
- </g>
15
- <path id="octo" fill="#C3E4D8" d="m80.641 179.82 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m8.5 4.72 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m5.193 6.14 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m4.72 7.08 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m5.188 6.61 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m7.09 5.66 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m9.91 3.78 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m9.87 0 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z m10.01 -1.64 c0 1.174-1.376 2.122-3.07 2.122-1.693 0-3.07-.948-3.07-2.122 0-1.175 1.377-2.127 3.07-2.127 1.694 0 3.07.95 3.07 2.13z"/>
16
- <path id="drop" fill="#9CDAF1" d="m69.369 186.12l-3.066 10.683s-.8 3.861 2.84 4.546c3.8-.074 3.486-3.627 3.223-4.781z"/>
17
- </svg>