@apify/input_schema 3.15.1 → 3.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.d.mts CHANGED
@@ -330,6 +330,9 @@ var definitions = {
330
330
  description: {
331
331
  type: "string"
332
332
  },
333
+ prefill: {
334
+ type: "string"
335
+ },
333
336
  example: {
334
337
  type: "string"
335
338
  },
@@ -377,6 +380,9 @@ var definitions = {
377
380
  "select",
378
381
  "hidden"
379
382
  ]
383
+ },
384
+ isSecret: {
385
+ type: "boolean"
380
386
  }
381
387
  },
382
388
  additionalProperties: true,
@@ -388,16 +394,179 @@ var definitions = {
388
394
  ],
389
395
  "if": {
390
396
  properties: {
391
- editor: {
392
- "const": "select"
397
+ isSecret: {
398
+ not: {
399
+ "const": true
400
+ }
393
401
  }
394
402
  }
395
403
  },
396
404
  then: {
405
+ "if": {
406
+ properties: {
407
+ editor: {
408
+ "const": "select"
409
+ }
410
+ }
411
+ },
412
+ then: {
413
+ additionalProperties: false,
414
+ required: [
415
+ "items"
416
+ ],
417
+ properties: {
418
+ type: {
419
+ "enum": [
420
+ "array"
421
+ ]
422
+ },
423
+ editor: {
424
+ "enum": [
425
+ "select"
426
+ ]
427
+ },
428
+ title: {
429
+ type: "string"
430
+ },
431
+ description: {
432
+ type: "string"
433
+ },
434
+ "default": {
435
+ type: "array"
436
+ },
437
+ prefill: {
438
+ type: "array"
439
+ },
440
+ example: {
441
+ type: "array"
442
+ },
443
+ nullable: {
444
+ type: "boolean"
445
+ },
446
+ minItems: {
447
+ type: "integer"
448
+ },
449
+ maxItems: {
450
+ type: "integer"
451
+ },
452
+ uniqueItems: {
453
+ type: "boolean"
454
+ },
455
+ sectionCaption: {
456
+ type: "string"
457
+ },
458
+ sectionDescription: {
459
+ type: "string"
460
+ },
461
+ items: {
462
+ type: "object",
463
+ additionalProperties: false,
464
+ properties: {
465
+ type: {
466
+ "enum": [
467
+ "string"
468
+ ]
469
+ },
470
+ "enum": {
471
+ type: "array",
472
+ items: {
473
+ type: "string"
474
+ },
475
+ uniqueItems: true
476
+ },
477
+ enumTitles: {
478
+ type: "array",
479
+ items: {
480
+ type: "string"
481
+ }
482
+ }
483
+ },
484
+ required: [
485
+ "type",
486
+ "enum"
487
+ ]
488
+ },
489
+ isSecret: {
490
+ "enum": [
491
+ false
492
+ ]
493
+ }
494
+ }
495
+ },
496
+ "else": {
497
+ additionalProperties: false,
498
+ properties: {
499
+ type: {
500
+ "enum": [
501
+ "array"
502
+ ]
503
+ },
504
+ editor: {
505
+ "enum": [
506
+ "json",
507
+ "requestListSources",
508
+ "pseudoUrls",
509
+ "globs",
510
+ "keyValue",
511
+ "stringList",
512
+ "hidden"
513
+ ]
514
+ },
515
+ title: {
516
+ type: "string"
517
+ },
518
+ description: {
519
+ type: "string"
520
+ },
521
+ "default": {
522
+ type: "array"
523
+ },
524
+ prefill: {
525
+ type: "array"
526
+ },
527
+ example: {
528
+ type: "array"
529
+ },
530
+ nullable: {
531
+ type: "boolean"
532
+ },
533
+ minItems: {
534
+ type: "integer"
535
+ },
536
+ maxItems: {
537
+ type: "integer"
538
+ },
539
+ uniqueItems: {
540
+ type: "boolean"
541
+ },
542
+ sectionCaption: {
543
+ type: "string"
544
+ },
545
+ sectionDescription: {
546
+ type: "string"
547
+ },
548
+ placeholderKey: {
549
+ type: "string"
550
+ },
551
+ placeholderValue: {
552
+ type: "string"
553
+ },
554
+ patternKey: {
555
+ type: "string"
556
+ },
557
+ patternValue: {
558
+ type: "string"
559
+ },
560
+ isSecret: {
561
+ "enum": [
562
+ false
563
+ ]
564
+ }
565
+ }
566
+ }
567
+ },
568
+ "else": {
397
569
  additionalProperties: false,
398
- required: [
399
- "items"
400
- ],
401
570
  properties: {
402
571
  type: {
403
572
  "enum": [
@@ -406,7 +575,8 @@ var definitions = {
406
575
  },
407
576
  editor: {
408
577
  "enum": [
409
- "select"
578
+ "json",
579
+ "hidden"
410
580
  ]
411
581
  },
412
582
  title: {
@@ -415,9 +585,6 @@ var definitions = {
415
585
  description: {
416
586
  type: "string"
417
587
  },
418
- "default": {
419
- type: "array"
420
- },
421
588
  prefill: {
422
589
  type: "array"
423
590
  },
@@ -442,53 +609,62 @@ var definitions = {
442
609
  sectionDescription: {
443
610
  type: "string"
444
611
  },
445
- items: {
446
- type: "object",
447
- additionalProperties: false,
448
- properties: {
449
- type: {
450
- "enum": [
451
- "string"
452
- ]
453
- },
454
- "enum": {
455
- type: "array",
456
- items: {
457
- type: "string"
458
- },
459
- uniqueItems: true
460
- },
461
- enumTitles: {
462
- type: "array",
463
- items: {
464
- type: "string"
465
- }
466
- }
467
- },
468
- required: [
469
- "type",
470
- "enum"
612
+ isSecret: {
613
+ "enum": [
614
+ true
471
615
  ]
472
616
  }
473
617
  }
618
+ }
619
+ },
620
+ objectProperty: {
621
+ title: "Object property",
622
+ type: "object",
623
+ additionalProperties: true,
624
+ properties: {
625
+ type: {
626
+ "enum": [
627
+ "object"
628
+ ]
629
+ },
630
+ title: {
631
+ type: "string"
632
+ },
633
+ description: {
634
+ type: "string"
635
+ },
636
+ editor: {
637
+ "enum": [
638
+ "json",
639
+ "proxy",
640
+ "hidden"
641
+ ]
642
+ },
643
+ isSecret: {
644
+ type: "boolean"
645
+ }
474
646
  },
475
- "else": {
647
+ required: [
648
+ "type",
649
+ "title",
650
+ "description",
651
+ "editor"
652
+ ],
653
+ "if": {
654
+ properties: {
655
+ isSecret: {
656
+ not: {
657
+ "const": true
658
+ }
659
+ }
660
+ }
661
+ },
662
+ then: {
476
663
  additionalProperties: false,
477
664
  properties: {
478
665
  type: {
479
666
  "enum": [
480
- "array"
481
- ]
482
- },
483
- editor: {
484
- "enum": [
485
- "json",
486
- "requestListSources",
487
- "pseudoUrls",
488
- "globs",
489
- "keyValue",
490
- "stringList",
491
- "hidden"
667
+ "object"
492
668
  ]
493
669
  },
494
670
  title: {
@@ -498,25 +674,35 @@ var definitions = {
498
674
  type: "string"
499
675
  },
500
676
  "default": {
501
- type: "array"
677
+ type: "object"
502
678
  },
503
679
  prefill: {
504
- type: "array"
680
+ type: "object"
505
681
  },
506
682
  example: {
507
- type: "array"
683
+ type: "object"
684
+ },
685
+ patternKey: {
686
+ type: "string"
687
+ },
688
+ patternValue: {
689
+ type: "string"
508
690
  },
509
691
  nullable: {
510
692
  type: "boolean"
511
693
  },
512
- minItems: {
694
+ minProperties: {
513
695
  type: "integer"
514
696
  },
515
- maxItems: {
697
+ maxProperties: {
516
698
  type: "integer"
517
699
  },
518
- uniqueItems: {
519
- type: "boolean"
700
+ editor: {
701
+ "enum": [
702
+ "json",
703
+ "proxy",
704
+ "hidden"
705
+ ]
520
706
  },
521
707
  sectionCaption: {
522
708
  type: "string"
@@ -524,82 +710,68 @@ var definitions = {
524
710
  sectionDescription: {
525
711
  type: "string"
526
712
  },
527
- placeholderKey: {
713
+ isSecret: {
714
+ "enum": [
715
+ false
716
+ ]
717
+ }
718
+ }
719
+ },
720
+ "else": {
721
+ additionalProperties: false,
722
+ properties: {
723
+ type: {
724
+ "enum": [
725
+ "object"
726
+ ]
727
+ },
728
+ title: {
528
729
  type: "string"
529
730
  },
530
- placeholderValue: {
731
+ description: {
531
732
  type: "string"
532
733
  },
734
+ prefill: {
735
+ type: "object"
736
+ },
737
+ example: {
738
+ type: "object"
739
+ },
533
740
  patternKey: {
534
741
  type: "string"
535
742
  },
536
743
  patternValue: {
537
744
  type: "string"
745
+ },
746
+ nullable: {
747
+ type: "boolean"
748
+ },
749
+ minProperties: {
750
+ type: "integer"
751
+ },
752
+ maxProperties: {
753
+ type: "integer"
754
+ },
755
+ editor: {
756
+ "enum": [
757
+ "json",
758
+ "hidden"
759
+ ]
760
+ },
761
+ sectionCaption: {
762
+ type: "string"
763
+ },
764
+ sectionDescription: {
765
+ type: "string"
766
+ },
767
+ isSecret: {
768
+ "enum": [
769
+ true
770
+ ]
538
771
  }
539
772
  }
540
773
  }
541
774
  },
542
- objectProperty: {
543
- title: "Object property",
544
- type: "object",
545
- additionalProperties: false,
546
- properties: {
547
- type: {
548
- "enum": [
549
- "object"
550
- ]
551
- },
552
- title: {
553
- type: "string"
554
- },
555
- description: {
556
- type: "string"
557
- },
558
- "default": {
559
- type: "object"
560
- },
561
- prefill: {
562
- type: "object"
563
- },
564
- example: {
565
- type: "object"
566
- },
567
- patternKey: {
568
- type: "string"
569
- },
570
- patternValue: {
571
- type: "string"
572
- },
573
- nullable: {
574
- type: "boolean"
575
- },
576
- minProperties: {
577
- type: "integer"
578
- },
579
- maxProperties: {
580
- type: "integer"
581
- },
582
- editor: {
583
- "enum": [
584
- "json",
585
- "proxy",
586
- "hidden"
587
- ]
588
- },
589
- sectionCaption: {
590
- type: "string"
591
- },
592
- sectionDescription: {
593
- type: "string"
594
- }
595
- },
596
- required: [
597
- "type",
598
- "title",
599
- "description",
600
- "editor"
601
- ]
602
- },
603
775
  integerProperty: {
604
776
  title: "Integer property",
605
777
  type: "object",