@magda/typescript-common 2.2.1 → 2.2.2-alpha.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.
@@ -0,0 +1,809 @@
1
+ {
2
+ "hasResidualRules": true,
3
+ "unknowns": ["input.object"],
4
+ "residualRules": [
5
+ {
6
+ "default": false,
7
+ "value": true,
8
+ "fullName": "data.partial.object.record.allow",
9
+ "name": "allow",
10
+ "expressions": [
11
+ {
12
+ "negated": false,
13
+ "operator": null,
14
+ "operands": [
15
+ {
16
+ "isRef": true,
17
+ "value": "input.object.record.dcat-dataset-strings"
18
+ }
19
+ ]
20
+ },
21
+ {
22
+ "negated": true,
23
+ "operator": null,
24
+ "operands": [
25
+ {
26
+ "isRef": true,
27
+ "value": "input.object.record.publishing.state"
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "negated": true,
33
+ "operator": null,
34
+ "operands": [
35
+ {
36
+ "isRef": true,
37
+ "value": "input.object.record.access-control.orgUnitId"
38
+ }
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "default": false,
45
+ "value": true,
46
+ "fullName": "data.partial.object.record.allow",
47
+ "name": "allow",
48
+ "expressions": [
49
+ {
50
+ "negated": false,
51
+ "operator": null,
52
+ "operands": [
53
+ {
54
+ "isRef": true,
55
+ "value": "input.object.record.dcat-dataset-strings"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "negated": true,
61
+ "operator": null,
62
+ "operands": [
63
+ {
64
+ "isRef": true,
65
+ "value": "input.object.record.publishing.state"
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "negated": false,
71
+ "operator": "=",
72
+ "operands": [
73
+ { "isRef": false, "value": "" },
74
+ {
75
+ "isRef": true,
76
+ "value": "input.object.record.access-control.orgUnitId"
77
+ }
78
+ ]
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "default": false,
84
+ "value": true,
85
+ "fullName": "data.partial.object.record.allow",
86
+ "name": "allow",
87
+ "expressions": [
88
+ {
89
+ "negated": false,
90
+ "operator": null,
91
+ "operands": [
92
+ {
93
+ "isRef": true,
94
+ "value": "input.object.record.dcat-dataset-strings"
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "negated": true,
100
+ "operator": null,
101
+ "operands": [
102
+ {
103
+ "isRef": true,
104
+ "value": "input.object.record.publishing.state"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "negated": false,
110
+ "operator": "=",
111
+ "operands": [
112
+ {
113
+ "isRef": true,
114
+ "value": "input.object.record.publishing.state"
115
+ },
116
+ { "isRef": false, "value": "published" }
117
+ ]
118
+ },
119
+ {
120
+ "negated": true,
121
+ "operator": null,
122
+ "operands": [
123
+ {
124
+ "isRef": true,
125
+ "value": "input.object.record.access-control.orgUnitId"
126
+ }
127
+ ]
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "default": false,
133
+ "value": true,
134
+ "fullName": "data.partial.object.record.allow",
135
+ "name": "allow",
136
+ "expressions": [
137
+ {
138
+ "negated": false,
139
+ "operator": null,
140
+ "operands": [
141
+ {
142
+ "isRef": true,
143
+ "value": "input.object.record.dcat-dataset-strings"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "negated": true,
149
+ "operator": null,
150
+ "operands": [
151
+ {
152
+ "isRef": true,
153
+ "value": "input.object.record.publishing.state"
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "negated": false,
159
+ "operator": "=",
160
+ "operands": [
161
+ {
162
+ "isRef": true,
163
+ "value": "input.object.record.publishing.state"
164
+ },
165
+ { "isRef": false, "value": "published" }
166
+ ]
167
+ },
168
+ {
169
+ "negated": false,
170
+ "operator": "=",
171
+ "operands": [
172
+ { "isRef": false, "value": "" },
173
+ {
174
+ "isRef": true,
175
+ "value": "input.object.record.access-control.orgUnitId"
176
+ }
177
+ ]
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "default": false,
183
+ "value": true,
184
+ "fullName": "data.partial.object.record.allow",
185
+ "name": "allow",
186
+ "expressions": [
187
+ {
188
+ "negated": false,
189
+ "operator": null,
190
+ "operands": [
191
+ {
192
+ "isRef": true,
193
+ "value": "input.object.record.dcat-dataset-strings"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "negated": false,
199
+ "operator": "=",
200
+ "operands": [
201
+ {
202
+ "isRef": true,
203
+ "value": "input.object.record.publishing.state"
204
+ },
205
+ { "isRef": false, "value": "published" }
206
+ ]
207
+ },
208
+ {
209
+ "negated": true,
210
+ "operator": null,
211
+ "operands": [
212
+ {
213
+ "isRef": true,
214
+ "value": "input.object.record.publishing.state"
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ "negated": true,
220
+ "operator": null,
221
+ "operands": [
222
+ {
223
+ "isRef": true,
224
+ "value": "input.object.record.access-control.orgUnitId"
225
+ }
226
+ ]
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "default": false,
232
+ "value": true,
233
+ "fullName": "data.partial.object.record.allow",
234
+ "name": "allow",
235
+ "expressions": [
236
+ {
237
+ "negated": false,
238
+ "operator": null,
239
+ "operands": [
240
+ {
241
+ "isRef": true,
242
+ "value": "input.object.record.dcat-dataset-strings"
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "negated": false,
248
+ "operator": "=",
249
+ "operands": [
250
+ {
251
+ "isRef": true,
252
+ "value": "input.object.record.publishing.state"
253
+ },
254
+ { "isRef": false, "value": "published" }
255
+ ]
256
+ },
257
+ {
258
+ "negated": true,
259
+ "operator": null,
260
+ "operands": [
261
+ {
262
+ "isRef": true,
263
+ "value": "input.object.record.publishing.state"
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "negated": false,
269
+ "operator": "=",
270
+ "operands": [
271
+ { "isRef": false, "value": "" },
272
+ {
273
+ "isRef": true,
274
+ "value": "input.object.record.access-control.orgUnitId"
275
+ }
276
+ ]
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "default": false,
282
+ "value": true,
283
+ "fullName": "data.partial.object.record.allow",
284
+ "name": "allow",
285
+ "expressions": [
286
+ {
287
+ "negated": false,
288
+ "operator": null,
289
+ "operands": [
290
+ {
291
+ "isRef": true,
292
+ "value": "input.object.record.dcat-dataset-strings"
293
+ }
294
+ ]
295
+ },
296
+ {
297
+ "negated": false,
298
+ "operator": "=",
299
+ "operands": [
300
+ {
301
+ "isRef": true,
302
+ "value": "input.object.record.publishing.state"
303
+ },
304
+ { "isRef": false, "value": "published" }
305
+ ]
306
+ },
307
+ {
308
+ "negated": true,
309
+ "operator": null,
310
+ "operands": [
311
+ {
312
+ "isRef": true,
313
+ "value": "input.object.record.access-control.orgUnitId"
314
+ }
315
+ ]
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "default": false,
321
+ "value": true,
322
+ "fullName": "data.partial.object.record.allow",
323
+ "name": "allow",
324
+ "expressions": [
325
+ {
326
+ "negated": false,
327
+ "operator": null,
328
+ "operands": [
329
+ {
330
+ "isRef": true,
331
+ "value": "input.object.record.dcat-dataset-strings"
332
+ }
333
+ ]
334
+ },
335
+ {
336
+ "negated": false,
337
+ "operator": "=",
338
+ "operands": [
339
+ {
340
+ "isRef": true,
341
+ "value": "input.object.record.publishing.state"
342
+ },
343
+ { "isRef": false, "value": "published" }
344
+ ]
345
+ },
346
+ {
347
+ "negated": false,
348
+ "operator": "=",
349
+ "operands": [
350
+ { "isRef": false, "value": "" },
351
+ {
352
+ "isRef": true,
353
+ "value": "input.object.record.access-control.orgUnitId"
354
+ }
355
+ ]
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "default": false,
361
+ "value": true,
362
+ "fullName": "data.partial.object.record.allow",
363
+ "name": "allow",
364
+ "expressions": [
365
+ {
366
+ "negated": false,
367
+ "operator": null,
368
+ "operands": [
369
+ {
370
+ "isRef": true,
371
+ "value": "input.object.record.dcat-distribution-strings"
372
+ }
373
+ ]
374
+ },
375
+ {
376
+ "negated": true,
377
+ "operator": null,
378
+ "operands": [
379
+ {
380
+ "isRef": true,
381
+ "value": "input.object.record.publishing.state"
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "negated": true,
387
+ "operator": null,
388
+ "operands": [
389
+ {
390
+ "isRef": true,
391
+ "value": "input.object.record.access-control.orgUnitId"
392
+ }
393
+ ]
394
+ }
395
+ ]
396
+ },
397
+ {
398
+ "default": false,
399
+ "value": true,
400
+ "fullName": "data.partial.object.record.allow",
401
+ "name": "allow",
402
+ "expressions": [
403
+ {
404
+ "negated": false,
405
+ "operator": null,
406
+ "operands": [
407
+ {
408
+ "isRef": true,
409
+ "value": "input.object.record.dcat-distribution-strings"
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "negated": true,
415
+ "operator": null,
416
+ "operands": [
417
+ {
418
+ "isRef": true,
419
+ "value": "input.object.record.publishing.state"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "negated": false,
425
+ "operator": "=",
426
+ "operands": [
427
+ { "isRef": false, "value": "" },
428
+ {
429
+ "isRef": true,
430
+ "value": "input.object.record.access-control.orgUnitId"
431
+ }
432
+ ]
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "default": false,
438
+ "value": true,
439
+ "fullName": "data.partial.object.record.allow",
440
+ "name": "allow",
441
+ "expressions": [
442
+ {
443
+ "negated": false,
444
+ "operator": null,
445
+ "operands": [
446
+ {
447
+ "isRef": true,
448
+ "value": "input.object.record.dcat-distribution-strings"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "negated": true,
454
+ "operator": null,
455
+ "operands": [
456
+ {
457
+ "isRef": true,
458
+ "value": "input.object.record.publishing.state"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "negated": false,
464
+ "operator": "=",
465
+ "operands": [
466
+ {
467
+ "isRef": true,
468
+ "value": "input.object.record.publishing.state"
469
+ },
470
+ { "isRef": false, "value": "published" }
471
+ ]
472
+ },
473
+ {
474
+ "negated": true,
475
+ "operator": null,
476
+ "operands": [
477
+ {
478
+ "isRef": true,
479
+ "value": "input.object.record.access-control.orgUnitId"
480
+ }
481
+ ]
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "default": false,
487
+ "value": true,
488
+ "fullName": "data.partial.object.record.allow",
489
+ "name": "allow",
490
+ "expressions": [
491
+ {
492
+ "negated": false,
493
+ "operator": null,
494
+ "operands": [
495
+ {
496
+ "isRef": true,
497
+ "value": "input.object.record.dcat-distribution-strings"
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "negated": true,
503
+ "operator": null,
504
+ "operands": [
505
+ {
506
+ "isRef": true,
507
+ "value": "input.object.record.publishing.state"
508
+ }
509
+ ]
510
+ },
511
+ {
512
+ "negated": false,
513
+ "operator": "=",
514
+ "operands": [
515
+ {
516
+ "isRef": true,
517
+ "value": "input.object.record.publishing.state"
518
+ },
519
+ { "isRef": false, "value": "published" }
520
+ ]
521
+ },
522
+ {
523
+ "negated": false,
524
+ "operator": "=",
525
+ "operands": [
526
+ { "isRef": false, "value": "" },
527
+ {
528
+ "isRef": true,
529
+ "value": "input.object.record.access-control.orgUnitId"
530
+ }
531
+ ]
532
+ }
533
+ ]
534
+ },
535
+ {
536
+ "default": false,
537
+ "value": true,
538
+ "fullName": "data.partial.object.record.allow",
539
+ "name": "allow",
540
+ "expressions": [
541
+ {
542
+ "negated": false,
543
+ "operator": null,
544
+ "operands": [
545
+ {
546
+ "isRef": true,
547
+ "value": "input.object.record.dcat-distribution-strings"
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "negated": false,
553
+ "operator": "=",
554
+ "operands": [
555
+ {
556
+ "isRef": true,
557
+ "value": "input.object.record.publishing.state"
558
+ },
559
+ { "isRef": false, "value": "published" }
560
+ ]
561
+ },
562
+ {
563
+ "negated": true,
564
+ "operator": null,
565
+ "operands": [
566
+ {
567
+ "isRef": true,
568
+ "value": "input.object.record.publishing.state"
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "negated": true,
574
+ "operator": null,
575
+ "operands": [
576
+ {
577
+ "isRef": true,
578
+ "value": "input.object.record.access-control.orgUnitId"
579
+ }
580
+ ]
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "default": false,
586
+ "value": true,
587
+ "fullName": "data.partial.object.record.allow",
588
+ "name": "allow",
589
+ "expressions": [
590
+ {
591
+ "negated": false,
592
+ "operator": null,
593
+ "operands": [
594
+ {
595
+ "isRef": true,
596
+ "value": "input.object.record.dcat-distribution-strings"
597
+ }
598
+ ]
599
+ },
600
+ {
601
+ "negated": false,
602
+ "operator": "=",
603
+ "operands": [
604
+ {
605
+ "isRef": true,
606
+ "value": "input.object.record.publishing.state"
607
+ },
608
+ { "isRef": false, "value": "published" }
609
+ ]
610
+ },
611
+ {
612
+ "negated": true,
613
+ "operator": null,
614
+ "operands": [
615
+ {
616
+ "isRef": true,
617
+ "value": "input.object.record.publishing.state"
618
+ }
619
+ ]
620
+ },
621
+ {
622
+ "negated": false,
623
+ "operator": "=",
624
+ "operands": [
625
+ { "isRef": false, "value": "" },
626
+ {
627
+ "isRef": true,
628
+ "value": "input.object.record.access-control.orgUnitId"
629
+ }
630
+ ]
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "default": false,
636
+ "value": true,
637
+ "fullName": "data.partial.object.record.allow",
638
+ "name": "allow",
639
+ "expressions": [
640
+ {
641
+ "negated": false,
642
+ "operator": null,
643
+ "operands": [
644
+ {
645
+ "isRef": true,
646
+ "value": "input.object.record.dcat-distribution-strings"
647
+ }
648
+ ]
649
+ },
650
+ {
651
+ "negated": false,
652
+ "operator": "=",
653
+ "operands": [
654
+ {
655
+ "isRef": true,
656
+ "value": "input.object.record.publishing.state"
657
+ },
658
+ { "isRef": false, "value": "published" }
659
+ ]
660
+ },
661
+ {
662
+ "negated": true,
663
+ "operator": null,
664
+ "operands": [
665
+ {
666
+ "isRef": true,
667
+ "value": "input.object.record.access-control.orgUnitId"
668
+ }
669
+ ]
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "default": false,
675
+ "value": true,
676
+ "fullName": "data.partial.object.record.allow",
677
+ "name": "allow",
678
+ "expressions": [
679
+ {
680
+ "negated": false,
681
+ "operator": null,
682
+ "operands": [
683
+ {
684
+ "isRef": true,
685
+ "value": "input.object.record.dcat-distribution-strings"
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "negated": false,
691
+ "operator": "=",
692
+ "operands": [
693
+ {
694
+ "isRef": true,
695
+ "value": "input.object.record.publishing.state"
696
+ },
697
+ { "isRef": false, "value": "published" }
698
+ ]
699
+ },
700
+ {
701
+ "negated": false,
702
+ "operator": "=",
703
+ "operands": [
704
+ { "isRef": false, "value": "" },
705
+ {
706
+ "isRef": true,
707
+ "value": "input.object.record.access-control.orgUnitId"
708
+ }
709
+ ]
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "default": false,
715
+ "value": true,
716
+ "fullName": "data.partial.object.record.allow",
717
+ "name": "allow",
718
+ "expressions": [
719
+ {
720
+ "negated": false,
721
+ "operator": null,
722
+ "operands": [
723
+ {
724
+ "isRef": true,
725
+ "value": "input.object.record.organization-details"
726
+ }
727
+ ]
728
+ },
729
+ {
730
+ "negated": true,
731
+ "operator": null,
732
+ "operands": [
733
+ {
734
+ "isRef": true,
735
+ "value": "input.object.record.access-control.orgUnitId"
736
+ }
737
+ ]
738
+ }
739
+ ]
740
+ },
741
+ {
742
+ "default": false,
743
+ "value": true,
744
+ "fullName": "data.partial.object.record.allow",
745
+ "name": "allow",
746
+ "expressions": [
747
+ {
748
+ "negated": false,
749
+ "operator": null,
750
+ "operands": [
751
+ {
752
+ "isRef": true,
753
+ "value": "input.object.record.organization-details"
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ "negated": false,
759
+ "operator": "=",
760
+ "operands": [
761
+ { "isRef": false, "value": "" },
762
+ {
763
+ "isRef": true,
764
+ "value": "input.object.record.access-control.orgUnitId"
765
+ }
766
+ ]
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "default": false,
772
+ "value": true,
773
+ "fullName": "data.partial.object.record.allow",
774
+ "name": "allow",
775
+ "expressions": [
776
+ {
777
+ "negated": true,
778
+ "operator": null,
779
+ "operands": [
780
+ {
781
+ "isRef": true,
782
+ "value": "input.object.record.access-control.orgUnitId"
783
+ }
784
+ ]
785
+ }
786
+ ]
787
+ },
788
+ {
789
+ "default": false,
790
+ "value": true,
791
+ "fullName": "data.partial.object.record.allow",
792
+ "name": "allow",
793
+ "expressions": [
794
+ {
795
+ "negated": false,
796
+ "operator": "=",
797
+ "operands": [
798
+ { "isRef": false, "value": "" },
799
+ {
800
+ "isRef": true,
801
+ "value": "input.object.record.access-control.orgUnitId"
802
+ }
803
+ ]
804
+ }
805
+ ]
806
+ }
807
+ ],
808
+ "hasWarns": false
809
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magda/typescript-common",
3
3
  "description": "Common TypeScript code shared between components.",
4
- "version": "2.2.1",
4
+ "version": "2.2.2-alpha.0",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "prebuild": "rimraf dist tsconfig.tsbuildinfo",
@@ -14,8 +14,8 @@
14
14
  "release": "npm publish || echo \"Skip releasing npm package @magda/typescript-common.\""
15
15
  },
16
16
  "devDependencies": {
17
- "@magda/registry-aspects": "^2.2.1",
18
- "@magda/scripts": "^2.2.1",
17
+ "@magda/registry-aspects": "^2.2.2-alpha.0",
18
+ "@magda/scripts": "^2.2.2-alpha.0",
19
19
  "@types/chai": "^4.0.0",
20
20
  "@types/chai-as-promised": "^7.1.0",
21
21
  "@types/cross-spawn": "^6.0.1",