@takeshape/schema 9.41.2 → 9.41.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"builtin-schema.d.ts","sourceRoot":"","sources":["../../src/builtin-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAEtC,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAEjD;AAID,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEnE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnE;AAED,eAAO,MAAM,aAAa,EAAE,QA6U3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OA+P1B,CAAC"}
1
+ {"version":3,"file":"builtin-schema.d.ts","sourceRoot":"","sources":["../../src/builtin-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAEtC,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAEjD;AAID,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEnE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnE;AAED,eAAO,MAAM,aAAa,EAAE,QA6U3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAsN1B,CAAC"}
@@ -398,40 +398,31 @@ const builtInForms = {
398
398
  order: ['title', 'description', 'caption', 'credit', 'filename', 'path', 'mimeType', 'sourceUrl', 'uploadStatus'],
399
399
  properties: {
400
400
  title: {
401
- widget: 'singleLineText',
402
- disabled: true
401
+ widget: 'singleLineText'
403
402
  },
404
403
  description: {
405
- widget: 'paragraphText',
406
- disabled: true
404
+ widget: 'paragraphText'
407
405
  },
408
406
  caption: {
409
- widget: 'wysiwygSingleLineText',
410
- disabled: true
407
+ widget: 'wysiwygSingleLineText'
411
408
  },
412
409
  credit: {
413
- widget: 'wysiwygSingleLineText',
414
- disabled: true
410
+ widget: 'wysiwygSingleLineText'
415
411
  },
416
412
  filename: {
417
- widget: 'singleLineText',
418
- disabled: true
413
+ widget: 'singleLineText'
419
414
  },
420
415
  path: {
421
- widget: 'singleLineText',
422
- disabled: true
416
+ widget: 'singleLineText'
423
417
  },
424
418
  mimeType: {
425
- widget: 'singleLineText',
426
- disabled: true
419
+ widget: 'singleLineText'
427
420
  },
428
421
  sourceUrl: {
429
- widget: 'singleLineText',
430
- disabled: true
422
+ widget: 'singleLineText'
431
423
  },
432
424
  uploadStatus: {
433
- widget: 'singleLineText',
434
- disabled: true
425
+ widget: 'singleLineText'
435
426
  }
436
427
  }
437
428
  }
@@ -441,41 +432,33 @@ const builtInForms = {
441
432
  order: ['title', 'provider', 'destination', 'idKey', 'secretKey', 'environmentVariables'],
442
433
  properties: {
443
434
  title: {
444
- widget: 'singleLineText',
445
- disabled: true
435
+ widget: 'singleLineText'
446
436
  },
447
437
  provider: {
448
- widget: 'dropdown',
449
- disabled: true
438
+ widget: 'dropdown'
450
439
  },
451
440
  destination: {
452
441
  widget: 'singleLineText',
453
- instructions: 'Deployment Bucket or FTP Host',
454
- disabled: true
442
+ instructions: 'Deployment Bucket or FTP Host'
455
443
  },
456
444
  idKey: {
457
445
  widget: 'singleLineText',
458
- instructions: 'AWS Access Key ID or Google Cloud Storage Client Email or FTP Username',
459
- disabled: true
446
+ instructions: 'AWS Access Key ID or Google Cloud Storage Client Email or FTP Username'
460
447
  },
461
448
  secretKey: {
462
449
  widget: 'sensitiveField',
463
450
  instructions: 'AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password',
464
- multiline: true,
465
- disabled: true
451
+ multiline: true
466
452
  },
467
453
  environmentVariables: {
468
454
  widget: 'repeater',
469
455
  order: ['name', 'value'],
470
- disabled: true,
471
456
  properties: {
472
457
  name: {
473
- widget: 'singleLineText',
474
- disabled: true
458
+ widget: 'singleLineText'
475
459
  },
476
460
  value: {
477
- widget: 'singleLineText',
478
- disabled: true
461
+ widget: 'singleLineText'
479
462
  }
480
463
  }
481
464
  }
@@ -485,16 +468,13 @@ const builtInForms = {
485
468
  order: ['title', 'provider', 'baseUrl'],
486
469
  properties: {
487
470
  title: {
488
- widget: 'singleLineText',
489
- disabled: true
471
+ widget: 'singleLineText'
490
472
  },
491
473
  provider: {
492
- widget: 'dropdown',
493
- disabled: true
474
+ widget: 'dropdown'
494
475
  },
495
476
  baseUrl: {
496
- widget: 'singleLineText',
497
- disabled: true
477
+ widget: 'singleLineText'
498
478
  }
499
479
  }
500
480
  },
@@ -504,31 +484,25 @@ const builtInForms = {
504
484
  environmentVariables: {
505
485
  widget: 'repeater',
506
486
  order: ['name', 'value'],
507
- disabled: true,
508
487
  properties: {
509
488
  name: {
510
- widget: 'singleLineText',
511
- disabled: true
489
+ widget: 'singleLineText'
512
490
  },
513
491
  value: {
514
- widget: 'singleLineText',
515
- disabled: true
492
+ widget: 'singleLineText'
516
493
  }
517
494
  }
518
495
  },
519
496
  triggers: {
520
497
  widget: 'repeater',
521
498
  order: ['contentTypeId', 'status'],
522
- disabled: true,
523
499
  preview: 'siteTriggerPreview',
524
500
  properties: {
525
501
  contentTypeId: {
526
- widget: 'dropdown',
527
- disabled: true
502
+ widget: 'dropdown'
528
503
  },
529
504
  status: {
530
- widget: 'dropdown',
531
- disabled: true
505
+ widget: 'dropdown'
532
506
  }
533
507
  }
534
508
  }
@@ -539,24 +513,20 @@ const builtInForms = {
539
513
  properties: {
540
514
  destination: {
541
515
  widget: 'singleLineText',
542
- instructions: 'Deployment Bucket Name',
543
- disabled: true
516
+ instructions: 'Deployment Bucket Name'
544
517
  },
545
518
  idKey: {
546
519
  widget: 'singleLineText',
547
- instructions: 'AWS Access Key ID',
548
- disabled: true
520
+ instructions: 'AWS Access Key ID'
549
521
  },
550
522
  secretKey: {
551
523
  widget: 'sensitiveField',
552
524
  instructions: 'AWS Secret Access Key',
553
- multiline: true,
554
- disabled: true
525
+ multiline: true
555
526
  },
556
527
  privateAcl: {
557
528
  widget: 'checkbox',
558
- instructions: 'Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with "Block All Public Access"',
559
- disabled: true
529
+ instructions: 'Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with "Block All Public Access"'
560
530
  }
561
531
  }
562
532
  },
@@ -565,24 +535,20 @@ const builtInForms = {
565
535
  properties: {
566
536
  destination: {
567
537
  widget: 'singleLineText',
568
- instructions: 'Deployment Bucket Name',
569
- disabled: true
538
+ instructions: 'Deployment Bucket Name'
570
539
  },
571
540
  idKey: {
572
541
  widget: 'singleLineText',
573
- instructions: 'Google Cloud Storage Client Email',
574
- disabled: true
542
+ instructions: 'Google Cloud Storage Client Email'
575
543
  },
576
544
  secretKey: {
577
545
  widget: 'sensitiveField',
578
546
  instructions: 'Google Cloud Storage Private Key',
579
- multiline: true,
580
- disabled: true
547
+ multiline: true
581
548
  },
582
549
  privateAcl: {
583
550
  widget: 'checkbox',
584
- instructions: 'Disable public access to deployed files.',
585
- disabled: true
551
+ instructions: 'Disable public access to deployed files.'
586
552
  }
587
553
  }
588
554
  },
@@ -591,19 +557,16 @@ const builtInForms = {
591
557
  properties: {
592
558
  destination: {
593
559
  widget: 'singleLineText',
594
- instructions: 'FTP Host',
595
- disabled: true
560
+ instructions: 'FTP Host'
596
561
  },
597
562
  idKey: {
598
563
  widget: 'singleLineText',
599
- instructions: 'FTP Username',
600
- disabled: true
564
+ instructions: 'FTP Username'
601
565
  },
602
566
  secretKey: {
603
567
  widget: 'sensitiveField',
604
568
  instructions: 'FTP Password',
605
- multiline: true,
606
- disabled: true
569
+ multiline: true
607
570
  }
608
571
  }
609
572
  },
@@ -612,14 +575,12 @@ const builtInForms = {
612
575
  properties: {
613
576
  destination: {
614
577
  widget: 'singleLineText',
615
- instructions: 'Storage Account Name',
616
- disabled: true
578
+ instructions: 'Storage Account Name'
617
579
  },
618
580
  secretKey: {
619
581
  widget: 'sensitiveField',
620
582
  instructions: 'Access key',
621
- multiline: true,
622
- disabled: true
583
+ multiline: true
623
584
  }
624
585
  }
625
586
  },
@@ -629,8 +590,7 @@ const builtInForms = {
629
590
  destination: {
630
591
  widget: 'publishTargets',
631
592
  itemTemplate: 'siteDropdownItem',
632
- instructions: 'Choose existing or create a new site.',
633
- disabled: true
593
+ instructions: 'Choose existing or create a new site.'
634
594
  }
635
595
  }
636
596
  },
@@ -640,8 +600,7 @@ const builtInForms = {
640
600
  destination: {
641
601
  widget: 'publishTargets',
642
602
  itemTemplate: 'siteDropdownItem',
643
- instructions: 'Choose existing or create a new project.',
644
- disabled: true
603
+ instructions: 'Choose existing or create a new project.'
645
604
  }
646
605
  }
647
606
  }
@@ -383,40 +383,31 @@ export const builtInForms = {
383
383
  order: ['title', 'description', 'caption', 'credit', 'filename', 'path', 'mimeType', 'sourceUrl', 'uploadStatus'],
384
384
  properties: {
385
385
  title: {
386
- widget: 'singleLineText',
387
- disabled: true
386
+ widget: 'singleLineText'
388
387
  },
389
388
  description: {
390
- widget: 'paragraphText',
391
- disabled: true
389
+ widget: 'paragraphText'
392
390
  },
393
391
  caption: {
394
- widget: 'wysiwygSingleLineText',
395
- disabled: true
392
+ widget: 'wysiwygSingleLineText'
396
393
  },
397
394
  credit: {
398
- widget: 'wysiwygSingleLineText',
399
- disabled: true
395
+ widget: 'wysiwygSingleLineText'
400
396
  },
401
397
  filename: {
402
- widget: 'singleLineText',
403
- disabled: true
398
+ widget: 'singleLineText'
404
399
  },
405
400
  path: {
406
- widget: 'singleLineText',
407
- disabled: true
401
+ widget: 'singleLineText'
408
402
  },
409
403
  mimeType: {
410
- widget: 'singleLineText',
411
- disabled: true
404
+ widget: 'singleLineText'
412
405
  },
413
406
  sourceUrl: {
414
- widget: 'singleLineText',
415
- disabled: true
407
+ widget: 'singleLineText'
416
408
  },
417
409
  uploadStatus: {
418
- widget: 'singleLineText',
419
- disabled: true
410
+ widget: 'singleLineText'
420
411
  }
421
412
  }
422
413
  }
@@ -426,41 +417,33 @@ export const builtInForms = {
426
417
  order: ['title', 'provider', 'destination', 'idKey', 'secretKey', 'environmentVariables'],
427
418
  properties: {
428
419
  title: {
429
- widget: 'singleLineText',
430
- disabled: true
420
+ widget: 'singleLineText'
431
421
  },
432
422
  provider: {
433
- widget: 'dropdown',
434
- disabled: true
423
+ widget: 'dropdown'
435
424
  },
436
425
  destination: {
437
426
  widget: 'singleLineText',
438
- instructions: 'Deployment Bucket or FTP Host',
439
- disabled: true
427
+ instructions: 'Deployment Bucket or FTP Host'
440
428
  },
441
429
  idKey: {
442
430
  widget: 'singleLineText',
443
- instructions: 'AWS Access Key ID or Google Cloud Storage Client Email or FTP Username',
444
- disabled: true
431
+ instructions: 'AWS Access Key ID or Google Cloud Storage Client Email or FTP Username'
445
432
  },
446
433
  secretKey: {
447
434
  widget: 'sensitiveField',
448
435
  instructions: 'AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password',
449
- multiline: true,
450
- disabled: true
436
+ multiline: true
451
437
  },
452
438
  environmentVariables: {
453
439
  widget: 'repeater',
454
440
  order: ['name', 'value'],
455
- disabled: true,
456
441
  properties: {
457
442
  name: {
458
- widget: 'singleLineText',
459
- disabled: true
443
+ widget: 'singleLineText'
460
444
  },
461
445
  value: {
462
- widget: 'singleLineText',
463
- disabled: true
446
+ widget: 'singleLineText'
464
447
  }
465
448
  }
466
449
  }
@@ -470,16 +453,13 @@ export const builtInForms = {
470
453
  order: ['title', 'provider', 'baseUrl'],
471
454
  properties: {
472
455
  title: {
473
- widget: 'singleLineText',
474
- disabled: true
456
+ widget: 'singleLineText'
475
457
  },
476
458
  provider: {
477
- widget: 'dropdown',
478
- disabled: true
459
+ widget: 'dropdown'
479
460
  },
480
461
  baseUrl: {
481
- widget: 'singleLineText',
482
- disabled: true
462
+ widget: 'singleLineText'
483
463
  }
484
464
  }
485
465
  },
@@ -489,31 +469,25 @@ export const builtInForms = {
489
469
  environmentVariables: {
490
470
  widget: 'repeater',
491
471
  order: ['name', 'value'],
492
- disabled: true,
493
472
  properties: {
494
473
  name: {
495
- widget: 'singleLineText',
496
- disabled: true
474
+ widget: 'singleLineText'
497
475
  },
498
476
  value: {
499
- widget: 'singleLineText',
500
- disabled: true
477
+ widget: 'singleLineText'
501
478
  }
502
479
  }
503
480
  },
504
481
  triggers: {
505
482
  widget: 'repeater',
506
483
  order: ['contentTypeId', 'status'],
507
- disabled: true,
508
484
  preview: 'siteTriggerPreview',
509
485
  properties: {
510
486
  contentTypeId: {
511
- widget: 'dropdown',
512
- disabled: true
487
+ widget: 'dropdown'
513
488
  },
514
489
  status: {
515
- widget: 'dropdown',
516
- disabled: true
490
+ widget: 'dropdown'
517
491
  }
518
492
  }
519
493
  }
@@ -524,24 +498,20 @@ export const builtInForms = {
524
498
  properties: {
525
499
  destination: {
526
500
  widget: 'singleLineText',
527
- instructions: 'Deployment Bucket Name',
528
- disabled: true
501
+ instructions: 'Deployment Bucket Name'
529
502
  },
530
503
  idKey: {
531
504
  widget: 'singleLineText',
532
- instructions: 'AWS Access Key ID',
533
- disabled: true
505
+ instructions: 'AWS Access Key ID'
534
506
  },
535
507
  secretKey: {
536
508
  widget: 'sensitiveField',
537
509
  instructions: 'AWS Secret Access Key',
538
- multiline: true,
539
- disabled: true
510
+ multiline: true
540
511
  },
541
512
  privateAcl: {
542
513
  widget: 'checkbox',
543
- instructions: 'Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with "Block All Public Access"',
544
- disabled: true
514
+ instructions: 'Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with "Block All Public Access"'
545
515
  }
546
516
  }
547
517
  },
@@ -550,24 +520,20 @@ export const builtInForms = {
550
520
  properties: {
551
521
  destination: {
552
522
  widget: 'singleLineText',
553
- instructions: 'Deployment Bucket Name',
554
- disabled: true
523
+ instructions: 'Deployment Bucket Name'
555
524
  },
556
525
  idKey: {
557
526
  widget: 'singleLineText',
558
- instructions: 'Google Cloud Storage Client Email',
559
- disabled: true
527
+ instructions: 'Google Cloud Storage Client Email'
560
528
  },
561
529
  secretKey: {
562
530
  widget: 'sensitiveField',
563
531
  instructions: 'Google Cloud Storage Private Key',
564
- multiline: true,
565
- disabled: true
532
+ multiline: true
566
533
  },
567
534
  privateAcl: {
568
535
  widget: 'checkbox',
569
- instructions: 'Disable public access to deployed files.',
570
- disabled: true
536
+ instructions: 'Disable public access to deployed files.'
571
537
  }
572
538
  }
573
539
  },
@@ -576,19 +542,16 @@ export const builtInForms = {
576
542
  properties: {
577
543
  destination: {
578
544
  widget: 'singleLineText',
579
- instructions: 'FTP Host',
580
- disabled: true
545
+ instructions: 'FTP Host'
581
546
  },
582
547
  idKey: {
583
548
  widget: 'singleLineText',
584
- instructions: 'FTP Username',
585
- disabled: true
549
+ instructions: 'FTP Username'
586
550
  },
587
551
  secretKey: {
588
552
  widget: 'sensitiveField',
589
553
  instructions: 'FTP Password',
590
- multiline: true,
591
- disabled: true
554
+ multiline: true
592
555
  }
593
556
  }
594
557
  },
@@ -597,14 +560,12 @@ export const builtInForms = {
597
560
  properties: {
598
561
  destination: {
599
562
  widget: 'singleLineText',
600
- instructions: 'Storage Account Name',
601
- disabled: true
563
+ instructions: 'Storage Account Name'
602
564
  },
603
565
  secretKey: {
604
566
  widget: 'sensitiveField',
605
567
  instructions: 'Access key',
606
- multiline: true,
607
- disabled: true
568
+ multiline: true
608
569
  }
609
570
  }
610
571
  },
@@ -614,8 +575,7 @@ export const builtInForms = {
614
575
  destination: {
615
576
  widget: 'publishTargets',
616
577
  itemTemplate: 'siteDropdownItem',
617
- instructions: 'Choose existing or create a new site.',
618
- disabled: true
578
+ instructions: 'Choose existing or create a new site.'
619
579
  }
620
580
  }
621
581
  },
@@ -625,8 +585,7 @@ export const builtInForms = {
625
585
  destination: {
626
586
  widget: 'publishTargets',
627
587
  itemTemplate: 'siteDropdownItem',
628
- instructions: 'Choose existing or create a new project.',
629
- disabled: true
588
+ instructions: 'Choose existing or create a new project.'
630
589
  }
631
590
  }
632
591
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/schema",
3
- "version": "9.41.2",
3
+ "version": "9.41.5",
4
4
  "description": "TakeShape Schema",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -28,9 +28,9 @@
28
28
  "p-reduce": "^2.1.0",
29
29
  "semver": "^7.3.2",
30
30
  "tiny-invariant": "^1.2.0",
31
- "@takeshape/json-schema": "9.41.2",
32
- "@takeshape/errors": "9.41.2",
33
- "@takeshape/util": "9.41.2"
31
+ "@takeshape/errors": "9.41.5",
32
+ "@takeshape/json-schema": "9.41.5",
33
+ "@takeshape/util": "9.41.5"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@takeshape/json-schema-to-typescript": "^11.0.0",
@@ -46,7 +46,7 @@
46
46
  "meow": "^9.0.0",
47
47
  "p-map": "^5.0.0",
48
48
  "shortid": "^2.2.15",
49
- "@takeshape/typescript-jest-junit-reporter": "9.41.2"
49
+ "@takeshape/typescript-jest-junit-reporter": "9.41.5"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=16"