stellate 3.2.0 → 3.2.1

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/dist/index.d.mts CHANGED
@@ -284,19 +284,19 @@ declare const inputSchema: z.ZodObject<{
284
284
  scope: z.ZodNullable<z.ZodOptional<z.ZodString>>;
285
285
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
286
286
  }, "strip", z.ZodTypeAny, {
287
+ description?: string | null | undefined;
287
288
  types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
288
289
  operationHashes?: string[] | null | undefined;
289
290
  maxAge?: number | null | undefined;
290
291
  swr?: number | null | undefined;
291
292
  scope?: string | null | undefined;
292
- description?: string | null | undefined;
293
293
  }, {
294
+ description?: string | null | undefined;
294
295
  types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
295
296
  operationHashes?: string[] | null | undefined;
296
297
  maxAge?: number | null | undefined;
297
298
  swr?: number | null | undefined;
298
299
  scope?: string | null | undefined;
299
- description?: string | null | undefined;
300
300
  }>, "many">>>;
301
301
  nonCacheable: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
302
302
  retries: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -539,24 +539,18 @@ declare const inputSchema: z.ZodObject<{
539
539
  }, "strict", z.ZodTypeAny, {
540
540
  type: "QueryComplexity";
541
541
  budget: number;
542
- window: (string | {
542
+ window: string | {
543
543
  value: number;
544
544
  unit: "seconds" | "minutes" | "hours";
545
- }) & (string | {
546
- value: number;
547
- unit: "seconds" | "minutes" | "hours";
548
- } | undefined);
545
+ };
549
546
  warning?: number | undefined;
550
547
  }, {
551
548
  type: "QueryComplexity";
552
549
  budget: number;
553
- window: (string | {
550
+ window: string | {
554
551
  value: number;
555
552
  unit: "seconds" | "minutes" | "hours";
556
- }) & (string | {
557
- value: number;
558
- unit: "seconds" | "minutes" | "hours";
559
- } | undefined);
553
+ };
560
554
  warning?: number | undefined;
561
555
  }>, z.ZodObject<{
562
556
  type: z.ZodLiteral<"RequestCount">;
@@ -575,24 +569,18 @@ declare const inputSchema: z.ZodObject<{
575
569
  }, "strict", z.ZodTypeAny, {
576
570
  type: "RequestCount";
577
571
  budget: number;
578
- window: (string | {
579
- value: number;
580
- unit: "seconds" | "minutes" | "hours";
581
- }) & (string | {
572
+ window: string | {
582
573
  value: number;
583
574
  unit: "seconds" | "minutes" | "hours";
584
- } | undefined);
575
+ };
585
576
  warning?: number | undefined;
586
577
  }, {
587
578
  type: "RequestCount";
588
579
  budget: number;
589
- window: (string | {
580
+ window: string | {
590
581
  value: number;
591
582
  unit: "seconds" | "minutes" | "hours";
592
- }) & (string | {
593
- value: number;
594
- unit: "seconds" | "minutes" | "hours";
595
- } | undefined);
583
+ };
596
584
  warning?: number | undefined;
597
585
  }>]>;
598
586
  }, "strict", z.ZodTypeAny, {
@@ -600,24 +588,18 @@ declare const inputSchema: z.ZodObject<{
600
588
  limit: {
601
589
  type: "QueryComplexity";
602
590
  budget: number;
603
- window: (string | {
591
+ window: string | {
604
592
  value: number;
605
593
  unit: "seconds" | "minutes" | "hours";
606
- }) & (string | {
607
- value: number;
608
- unit: "seconds" | "minutes" | "hours";
609
- } | undefined);
594
+ };
610
595
  warning?: number | undefined;
611
596
  } | {
612
597
  type: "RequestCount";
613
598
  budget: number;
614
- window: (string | {
615
- value: number;
616
- unit: "seconds" | "minutes" | "hours";
617
- }) & (string | {
599
+ window: string | {
618
600
  value: number;
619
601
  unit: "seconds" | "minutes" | "hours";
620
- } | undefined);
602
+ };
621
603
  warning?: number | undefined;
622
604
  };
623
605
  description?: string | undefined;
@@ -629,24 +611,18 @@ declare const inputSchema: z.ZodObject<{
629
611
  limit: {
630
612
  type: "QueryComplexity";
631
613
  budget: number;
632
- window: (string | {
614
+ window: string | {
633
615
  value: number;
634
616
  unit: "seconds" | "minutes" | "hours";
635
- }) & (string | {
636
- value: number;
637
- unit: "seconds" | "minutes" | "hours";
638
- } | undefined);
617
+ };
639
618
  warning?: number | undefined;
640
619
  } | {
641
620
  type: "RequestCount";
642
621
  budget: number;
643
- window: (string | {
644
- value: number;
645
- unit: "seconds" | "minutes" | "hours";
646
- }) & (string | {
622
+ window: string | {
647
623
  value: number;
648
624
  unit: "seconds" | "minutes" | "hours";
649
- } | undefined);
625
+ };
650
626
  warning?: number | undefined;
651
627
  };
652
628
  description?: string | undefined;
@@ -701,24 +677,18 @@ declare const inputSchema: z.ZodObject<{
701
677
  }, "strict", z.ZodTypeAny, {
702
678
  type: "QueryComplexity";
703
679
  budget: number;
704
- window: (string | {
705
- value: number;
706
- unit: "seconds" | "minutes" | "hours";
707
- }) & (string | {
680
+ window: string | {
708
681
  value: number;
709
682
  unit: "seconds" | "minutes" | "hours";
710
- } | undefined);
683
+ };
711
684
  warning?: number | undefined;
712
685
  }, {
713
686
  type: "QueryComplexity";
714
687
  budget: number;
715
- window: (string | {
688
+ window: string | {
716
689
  value: number;
717
690
  unit: "seconds" | "minutes" | "hours";
718
- }) & (string | {
719
- value: number;
720
- unit: "seconds" | "minutes" | "hours";
721
- } | undefined);
691
+ };
722
692
  warning?: number | undefined;
723
693
  }>, z.ZodObject<{
724
694
  type: z.ZodLiteral<"RequestCount">;
@@ -737,24 +707,18 @@ declare const inputSchema: z.ZodObject<{
737
707
  }, "strict", z.ZodTypeAny, {
738
708
  type: "RequestCount";
739
709
  budget: number;
740
- window: (string | {
710
+ window: string | {
741
711
  value: number;
742
712
  unit: "seconds" | "minutes" | "hours";
743
- }) & (string | {
744
- value: number;
745
- unit: "seconds" | "minutes" | "hours";
746
- } | undefined);
713
+ };
747
714
  warning?: number | undefined;
748
715
  }, {
749
716
  type: "RequestCount";
750
717
  budget: number;
751
- window: (string | {
752
- value: number;
753
- unit: "seconds" | "minutes" | "hours";
754
- }) & (string | {
718
+ window: string | {
755
719
  value: number;
756
720
  unit: "seconds" | "minutes" | "hours";
757
- } | undefined);
721
+ };
758
722
  warning?: number | undefined;
759
723
  }>]>;
760
724
  }, "strict", z.ZodTypeAny, {
@@ -762,35 +726,21 @@ declare const inputSchema: z.ZodObject<{
762
726
  limit: {
763
727
  type: "QueryComplexity";
764
728
  budget: number;
765
- window: (string | {
729
+ window: string | {
766
730
  value: number;
767
731
  unit: "seconds" | "minutes" | "hours";
768
- }) & (string | {
769
- value: number;
770
- unit: "seconds" | "minutes" | "hours";
771
- } | undefined);
732
+ };
772
733
  warning?: number | undefined;
773
734
  } | {
774
735
  type: "RequestCount";
775
736
  budget: number;
776
- window: (string | {
777
- value: number;
778
- unit: "seconds" | "minutes" | "hours";
779
- }) & (string | {
737
+ window: string | {
780
738
  value: number;
781
739
  unit: "seconds" | "minutes" | "hours";
782
- } | undefined);
740
+ };
783
741
  warning?: number | undefined;
784
742
  };
785
- groupBy: ("ip" | {
786
- header: string;
787
- } | {
788
- cookie: string;
789
- } | {
790
- jwt: string;
791
- } | {
792
- consumerIdentifier: string;
793
- }) & ("ip" | {
743
+ groupBy: "ip" | {
794
744
  header: string;
795
745
  } | {
796
746
  cookie: string;
@@ -798,7 +748,7 @@ declare const inputSchema: z.ZodObject<{
798
748
  jwt: string;
799
749
  } | {
800
750
  consumerIdentifier: string;
801
- } | undefined);
751
+ };
802
752
  description?: string | undefined;
803
753
  state?: "enabled" | "disabled" | "dryRun" | undefined;
804
754
  allowList?: string[] | undefined;
@@ -807,27 +757,21 @@ declare const inputSchema: z.ZodObject<{
807
757
  limit: {
808
758
  type: "QueryComplexity";
809
759
  budget: number;
810
- window: (string | {
760
+ window: string | {
811
761
  value: number;
812
762
  unit: "seconds" | "minutes" | "hours";
813
- }) & (string | {
814
- value: number;
815
- unit: "seconds" | "minutes" | "hours";
816
- } | undefined);
763
+ };
817
764
  warning?: number | undefined;
818
765
  } | {
819
766
  type: "RequestCount";
820
767
  budget: number;
821
- window: (string | {
822
- value: number;
823
- unit: "seconds" | "minutes" | "hours";
824
- }) & (string | {
768
+ window: string | {
825
769
  value: number;
826
770
  unit: "seconds" | "minutes" | "hours";
827
- } | undefined);
771
+ };
828
772
  warning?: number | undefined;
829
773
  };
830
- groupBy: ("ip" | {
774
+ groupBy: "ip" | {
831
775
  header: string;
832
776
  } | {
833
777
  cookie: string;
@@ -835,15 +779,7 @@ declare const inputSchema: z.ZodObject<{
835
779
  jwt: string;
836
780
  } | {
837
781
  consumerIdentifier: string;
838
- }) & ("ip" | {
839
- header: string;
840
- } | {
841
- cookie: string;
842
- } | {
843
- jwt: string;
844
- } | {
845
- consumerIdentifier: string;
846
- } | undefined);
782
+ };
847
783
  description?: string | undefined;
848
784
  state?: "enabled" | "disabled" | "dryRun" | undefined;
849
785
  allowList?: string[] | undefined;
@@ -1036,12 +972,12 @@ declare const inputSchema: z.ZodObject<{
1036
972
  defaults?: string[] | null | undefined;
1037
973
  } | null | undefined;
1038
974
  rules?: {
975
+ description?: string | null | undefined;
1039
976
  types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
1040
977
  operationHashes?: string[] | null | undefined;
1041
978
  maxAge?: number | null | undefined;
1042
979
  swr?: number | null | undefined;
1043
980
  scope?: string | null | undefined;
1044
- description?: string | null | undefined;
1045
981
  }[] | null | undefined;
1046
982
  nonCacheable?: string[] | null | undefined;
1047
983
  retries?: {
@@ -1102,24 +1038,18 @@ declare const inputSchema: z.ZodObject<{
1102
1038
  limit: {
1103
1039
  type: "QueryComplexity";
1104
1040
  budget: number;
1105
- window: (string | {
1106
- value: number;
1107
- unit: "seconds" | "minutes" | "hours";
1108
- }) & (string | {
1041
+ window: string | {
1109
1042
  value: number;
1110
1043
  unit: "seconds" | "minutes" | "hours";
1111
- } | undefined);
1044
+ };
1112
1045
  warning?: number | undefined;
1113
1046
  } | {
1114
1047
  type: "RequestCount";
1115
1048
  budget: number;
1116
- window: (string | {
1117
- value: number;
1118
- unit: "seconds" | "minutes" | "hours";
1119
- }) & (string | {
1049
+ window: string | {
1120
1050
  value: number;
1121
1051
  unit: "seconds" | "minutes" | "hours";
1122
- } | undefined);
1052
+ };
1123
1053
  warning?: number | undefined;
1124
1054
  };
1125
1055
  description?: string | undefined;
@@ -1132,35 +1062,21 @@ declare const inputSchema: z.ZodObject<{
1132
1062
  limit: {
1133
1063
  type: "QueryComplexity";
1134
1064
  budget: number;
1135
- window: (string | {
1065
+ window: string | {
1136
1066
  value: number;
1137
1067
  unit: "seconds" | "minutes" | "hours";
1138
- }) & (string | {
1139
- value: number;
1140
- unit: "seconds" | "minutes" | "hours";
1141
- } | undefined);
1068
+ };
1142
1069
  warning?: number | undefined;
1143
1070
  } | {
1144
1071
  type: "RequestCount";
1145
1072
  budget: number;
1146
- window: (string | {
1147
- value: number;
1148
- unit: "seconds" | "minutes" | "hours";
1149
- }) & (string | {
1073
+ window: string | {
1150
1074
  value: number;
1151
1075
  unit: "seconds" | "minutes" | "hours";
1152
- } | undefined);
1076
+ };
1153
1077
  warning?: number | undefined;
1154
1078
  };
1155
- groupBy: ("ip" | {
1156
- header: string;
1157
- } | {
1158
- cookie: string;
1159
- } | {
1160
- jwt: string;
1161
- } | {
1162
- consumerIdentifier: string;
1163
- }) & ("ip" | {
1079
+ groupBy: "ip" | {
1164
1080
  header: string;
1165
1081
  } | {
1166
1082
  cookie: string;
@@ -1168,7 +1084,7 @@ declare const inputSchema: z.ZodObject<{
1168
1084
  jwt: string;
1169
1085
  } | {
1170
1086
  consumerIdentifier: string;
1171
- } | undefined);
1087
+ };
1172
1088
  description?: string | undefined;
1173
1089
  state?: "enabled" | "disabled" | "dryRun" | undefined;
1174
1090
  allowList?: string[] | undefined;
@@ -1273,12 +1189,12 @@ declare const inputSchema: z.ZodObject<{
1273
1189
  defaults?: string[] | null | undefined;
1274
1190
  } | null | undefined;
1275
1191
  rules?: {
1192
+ description?: string | null | undefined;
1276
1193
  types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
1277
1194
  operationHashes?: string[] | null | undefined;
1278
1195
  maxAge?: number | null | undefined;
1279
1196
  swr?: number | null | undefined;
1280
1197
  scope?: string | null | undefined;
1281
- description?: string | null | undefined;
1282
1198
  }[] | null | undefined;
1283
1199
  nonCacheable?: string[] | null | undefined;
1284
1200
  retries?: {
@@ -1339,24 +1255,18 @@ declare const inputSchema: z.ZodObject<{
1339
1255
  limit: {
1340
1256
  type: "QueryComplexity";
1341
1257
  budget: number;
1342
- window: (string | {
1343
- value: number;
1344
- unit: "seconds" | "minutes" | "hours";
1345
- }) & (string | {
1258
+ window: string | {
1346
1259
  value: number;
1347
1260
  unit: "seconds" | "minutes" | "hours";
1348
- } | undefined);
1261
+ };
1349
1262
  warning?: number | undefined;
1350
1263
  } | {
1351
1264
  type: "RequestCount";
1352
1265
  budget: number;
1353
- window: (string | {
1354
- value: number;
1355
- unit: "seconds" | "minutes" | "hours";
1356
- }) & (string | {
1266
+ window: string | {
1357
1267
  value: number;
1358
1268
  unit: "seconds" | "minutes" | "hours";
1359
- } | undefined);
1269
+ };
1360
1270
  warning?: number | undefined;
1361
1271
  };
1362
1272
  description?: string | undefined;
@@ -1369,35 +1279,21 @@ declare const inputSchema: z.ZodObject<{
1369
1279
  limit: {
1370
1280
  type: "QueryComplexity";
1371
1281
  budget: number;
1372
- window: (string | {
1282
+ window: string | {
1373
1283
  value: number;
1374
1284
  unit: "seconds" | "minutes" | "hours";
1375
- }) & (string | {
1376
- value: number;
1377
- unit: "seconds" | "minutes" | "hours";
1378
- } | undefined);
1285
+ };
1379
1286
  warning?: number | undefined;
1380
1287
  } | {
1381
1288
  type: "RequestCount";
1382
1289
  budget: number;
1383
- window: (string | {
1384
- value: number;
1385
- unit: "seconds" | "minutes" | "hours";
1386
- }) & (string | {
1290
+ window: string | {
1387
1291
  value: number;
1388
1292
  unit: "seconds" | "minutes" | "hours";
1389
- } | undefined);
1293
+ };
1390
1294
  warning?: number | undefined;
1391
1295
  };
1392
- groupBy: ("ip" | {
1393
- header: string;
1394
- } | {
1395
- cookie: string;
1396
- } | {
1397
- jwt: string;
1398
- } | {
1399
- consumerIdentifier: string;
1400
- }) & ("ip" | {
1296
+ groupBy: "ip" | {
1401
1297
  header: string;
1402
1298
  } | {
1403
1299
  cookie: string;
@@ -1405,7 +1301,7 @@ declare const inputSchema: z.ZodObject<{
1405
1301
  jwt: string;
1406
1302
  } | {
1407
1303
  consumerIdentifier: string;
1408
- } | undefined);
1304
+ };
1409
1305
  description?: string | undefined;
1410
1306
  state?: "enabled" | "disabled" | "dryRun" | undefined;
1411
1307
  allowList?: string[] | undefined;
@@ -1546,24 +1442,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1546
1442
  }, "strict", z__default.ZodTypeAny, {
1547
1443
  type: "QueryComplexity";
1548
1444
  budget: number;
1549
- window: (string | {
1445
+ window: string | {
1550
1446
  value: number;
1551
1447
  unit: "seconds" | "minutes" | "hours";
1552
- }) & (string | {
1553
- value: number;
1554
- unit: "seconds" | "minutes" | "hours";
1555
- } | undefined);
1448
+ };
1556
1449
  warning?: number | undefined;
1557
1450
  }, {
1558
1451
  type: "QueryComplexity";
1559
1452
  budget: number;
1560
- window: (string | {
1561
- value: number;
1562
- unit: "seconds" | "minutes" | "hours";
1563
- }) & (string | {
1453
+ window: string | {
1564
1454
  value: number;
1565
1455
  unit: "seconds" | "minutes" | "hours";
1566
- } | undefined);
1456
+ };
1567
1457
  warning?: number | undefined;
1568
1458
  }>, z__default.ZodObject<{
1569
1459
  type: z__default.ZodLiteral<"RequestCount">;
@@ -1582,24 +1472,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1582
1472
  }, "strict", z__default.ZodTypeAny, {
1583
1473
  type: "RequestCount";
1584
1474
  budget: number;
1585
- window: (string | {
1586
- value: number;
1587
- unit: "seconds" | "minutes" | "hours";
1588
- }) & (string | {
1475
+ window: string | {
1589
1476
  value: number;
1590
1477
  unit: "seconds" | "minutes" | "hours";
1591
- } | undefined);
1478
+ };
1592
1479
  warning?: number | undefined;
1593
1480
  }, {
1594
1481
  type: "RequestCount";
1595
1482
  budget: number;
1596
- window: (string | {
1483
+ window: string | {
1597
1484
  value: number;
1598
1485
  unit: "seconds" | "minutes" | "hours";
1599
- }) & (string | {
1600
- value: number;
1601
- unit: "seconds" | "minutes" | "hours";
1602
- } | undefined);
1486
+ };
1603
1487
  warning?: number | undefined;
1604
1488
  }>]>;
1605
1489
  }, "strict", z__default.ZodTypeAny, {
@@ -1607,24 +1491,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1607
1491
  limit: {
1608
1492
  type: "QueryComplexity";
1609
1493
  budget: number;
1610
- window: (string | {
1611
- value: number;
1612
- unit: "seconds" | "minutes" | "hours";
1613
- }) & (string | {
1494
+ window: string | {
1614
1495
  value: number;
1615
1496
  unit: "seconds" | "minutes" | "hours";
1616
- } | undefined);
1497
+ };
1617
1498
  warning?: number | undefined;
1618
1499
  } | {
1619
1500
  type: "RequestCount";
1620
1501
  budget: number;
1621
- window: (string | {
1622
- value: number;
1623
- unit: "seconds" | "minutes" | "hours";
1624
- }) & (string | {
1502
+ window: string | {
1625
1503
  value: number;
1626
1504
  unit: "seconds" | "minutes" | "hours";
1627
- } | undefined);
1505
+ };
1628
1506
  warning?: number | undefined;
1629
1507
  };
1630
1508
  description?: string | undefined;
@@ -1636,24 +1514,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1636
1514
  limit: {
1637
1515
  type: "QueryComplexity";
1638
1516
  budget: number;
1639
- window: (string | {
1517
+ window: string | {
1640
1518
  value: number;
1641
1519
  unit: "seconds" | "minutes" | "hours";
1642
- }) & (string | {
1643
- value: number;
1644
- unit: "seconds" | "minutes" | "hours";
1645
- } | undefined);
1520
+ };
1646
1521
  warning?: number | undefined;
1647
1522
  } | {
1648
1523
  type: "RequestCount";
1649
1524
  budget: number;
1650
- window: (string | {
1651
- value: number;
1652
- unit: "seconds" | "minutes" | "hours";
1653
- }) & (string | {
1525
+ window: string | {
1654
1526
  value: number;
1655
1527
  unit: "seconds" | "minutes" | "hours";
1656
- } | undefined);
1528
+ };
1657
1529
  warning?: number | undefined;
1658
1530
  };
1659
1531
  description?: string | undefined;
@@ -1718,24 +1590,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1718
1590
  }, "strict", z__default.ZodTypeAny, {
1719
1591
  type: "QueryComplexity";
1720
1592
  budget: number;
1721
- window: (string | {
1593
+ window: string | {
1722
1594
  value: number;
1723
1595
  unit: "seconds" | "minutes" | "hours";
1724
- }) & (string | {
1725
- value: number;
1726
- unit: "seconds" | "minutes" | "hours";
1727
- } | undefined);
1596
+ };
1728
1597
  warning?: number | undefined;
1729
1598
  }, {
1730
1599
  type: "QueryComplexity";
1731
1600
  budget: number;
1732
- window: (string | {
1733
- value: number;
1734
- unit: "seconds" | "minutes" | "hours";
1735
- }) & (string | {
1601
+ window: string | {
1736
1602
  value: number;
1737
1603
  unit: "seconds" | "minutes" | "hours";
1738
- } | undefined);
1604
+ };
1739
1605
  warning?: number | undefined;
1740
1606
  }>, z__default.ZodObject<{
1741
1607
  type: z__default.ZodLiteral<"RequestCount">;
@@ -1754,24 +1620,18 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1754
1620
  }, "strict", z__default.ZodTypeAny, {
1755
1621
  type: "RequestCount";
1756
1622
  budget: number;
1757
- window: (string | {
1758
- value: number;
1759
- unit: "seconds" | "minutes" | "hours";
1760
- }) & (string | {
1623
+ window: string | {
1761
1624
  value: number;
1762
1625
  unit: "seconds" | "minutes" | "hours";
1763
- } | undefined);
1626
+ };
1764
1627
  warning?: number | undefined;
1765
1628
  }, {
1766
1629
  type: "RequestCount";
1767
1630
  budget: number;
1768
- window: (string | {
1631
+ window: string | {
1769
1632
  value: number;
1770
1633
  unit: "seconds" | "minutes" | "hours";
1771
- }) & (string | {
1772
- value: number;
1773
- unit: "seconds" | "minutes" | "hours";
1774
- } | undefined);
1634
+ };
1775
1635
  warning?: number | undefined;
1776
1636
  }>]>;
1777
1637
  }, "strict", z__default.ZodTypeAny, {
@@ -1779,27 +1639,21 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1779
1639
  limit: {
1780
1640
  type: "QueryComplexity";
1781
1641
  budget: number;
1782
- window: (string | {
1783
- value: number;
1784
- unit: "seconds" | "minutes" | "hours";
1785
- }) & (string | {
1642
+ window: string | {
1786
1643
  value: number;
1787
1644
  unit: "seconds" | "minutes" | "hours";
1788
- } | undefined);
1645
+ };
1789
1646
  warning?: number | undefined;
1790
1647
  } | {
1791
1648
  type: "RequestCount";
1792
1649
  budget: number;
1793
- window: (string | {
1794
- value: number;
1795
- unit: "seconds" | "minutes" | "hours";
1796
- }) & (string | {
1650
+ window: string | {
1797
1651
  value: number;
1798
1652
  unit: "seconds" | "minutes" | "hours";
1799
- } | undefined);
1653
+ };
1800
1654
  warning?: number | undefined;
1801
1655
  };
1802
- groupBy: ("ip" | {
1656
+ groupBy: "ip" | {
1803
1657
  header: string;
1804
1658
  } | {
1805
1659
  cookie: string;
@@ -1807,15 +1661,7 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1807
1661
  jwt: string;
1808
1662
  } | {
1809
1663
  consumerIdentifier: string;
1810
- }) & ("ip" | {
1811
- header: string;
1812
- } | {
1813
- cookie: string;
1814
- } | {
1815
- jwt: string;
1816
- } | {
1817
- consumerIdentifier: string;
1818
- } | undefined);
1664
+ };
1819
1665
  description?: string | undefined;
1820
1666
  state?: "enabled" | "disabled" | "dryRun" | undefined;
1821
1667
  allowList?: string[] | undefined;
@@ -1824,35 +1670,21 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1824
1670
  limit: {
1825
1671
  type: "QueryComplexity";
1826
1672
  budget: number;
1827
- window: (string | {
1828
- value: number;
1829
- unit: "seconds" | "minutes" | "hours";
1830
- }) & (string | {
1673
+ window: string | {
1831
1674
  value: number;
1832
1675
  unit: "seconds" | "minutes" | "hours";
1833
- } | undefined);
1676
+ };
1834
1677
  warning?: number | undefined;
1835
1678
  } | {
1836
1679
  type: "RequestCount";
1837
1680
  budget: number;
1838
- window: (string | {
1839
- value: number;
1840
- unit: "seconds" | "minutes" | "hours";
1841
- }) & (string | {
1681
+ window: string | {
1842
1682
  value: number;
1843
1683
  unit: "seconds" | "minutes" | "hours";
1844
- } | undefined);
1684
+ };
1845
1685
  warning?: number | undefined;
1846
1686
  };
1847
- groupBy: ("ip" | {
1848
- header: string;
1849
- } | {
1850
- cookie: string;
1851
- } | {
1852
- jwt: string;
1853
- } | {
1854
- consumerIdentifier: string;
1855
- }) & ("ip" | {
1687
+ groupBy: "ip" | {
1856
1688
  header: string;
1857
1689
  } | {
1858
1690
  cookie: string;
@@ -1860,18 +1692,17 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1860
1692
  jwt: string;
1861
1693
  } | {
1862
1694
  consumerIdentifier: string;
1863
- } | undefined);
1695
+ };
1864
1696
  description?: string | undefined;
1865
1697
  state?: "enabled" | "disabled" | "dryRun" | undefined;
1866
1698
  allowList?: string[] | undefined;
1867
1699
  }>>>, "many">, z__default.ZodUnion<[z__default.ZodFunction<z__default.ZodTuple<[], z__default.ZodUnknown>, z__default.ZodUnknown>, z__default.ZodString]>]>>>;
1868
1700
  }, "strip", z__default.ZodTypeAny, {
1869
- readonly app?: string | undefined;
1870
- readonly name?: string | undefined;
1871
- readonly schema?: string | undefined;
1872
- readonly originUrl?: string | undefined;
1873
- readonly enablePlayground?: boolean | undefined;
1874
- readonly devPortal?: {
1701
+ app?: string | undefined;
1702
+ name?: string | undefined;
1703
+ originUrl?: string | undefined;
1704
+ schema?: string | undefined;
1705
+ devPortal?: {
1875
1706
  enabled: boolean;
1876
1707
  title?: string | undefined;
1877
1708
  readme?: string | undefined;
@@ -1887,33 +1718,28 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1887
1718
  brandColor?: string | undefined;
1888
1719
  auth?: boolean | undefined;
1889
1720
  } | null | undefined;
1890
- readonly partialQueryCaching?: {
1721
+ partialQueryCaching?: {
1891
1722
  enabled: boolean;
1892
1723
  experimentalDeferSupport?: boolean | undefined;
1893
1724
  } | null | undefined;
1894
- readonly rateLimit?: {
1725
+ enablePlayground?: boolean | undefined;
1726
+ rateLimit?: {
1895
1727
  name: string;
1896
1728
  limit: {
1897
1729
  type: "QueryComplexity";
1898
1730
  budget: number;
1899
- window: (string | {
1900
- value: number;
1901
- unit: "seconds" | "minutes" | "hours";
1902
- }) & (string | {
1731
+ window: string | {
1903
1732
  value: number;
1904
1733
  unit: "seconds" | "minutes" | "hours";
1905
- } | undefined);
1734
+ };
1906
1735
  warning?: number | undefined;
1907
1736
  } | {
1908
1737
  type: "RequestCount";
1909
1738
  budget: number;
1910
- window: (string | {
1911
- value: number;
1912
- unit: "seconds" | "minutes" | "hours";
1913
- }) & (string | {
1739
+ window: string | {
1914
1740
  value: number;
1915
1741
  unit: "seconds" | "minutes" | "hours";
1916
- } | undefined);
1742
+ };
1917
1743
  warning?: number | undefined;
1918
1744
  };
1919
1745
  description?: string | undefined;
@@ -1921,44 +1747,26 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1921
1747
  consumerIdentifier?: string | undefined;
1922
1748
  allowList?: string[] | undefined;
1923
1749
  } | null | undefined;
1924
- readonly complexity?: {
1925
- listSizeArguments?: string[] | undefined;
1926
- maxComplexity?: number | undefined;
1927
- } | null | undefined;
1928
- readonly rateLimits?: string | ((...args: unknown[]) => unknown) | ({
1750
+ rateLimits?: string | ((...args: unknown[]) => unknown) | ({
1929
1751
  name: string;
1930
1752
  limit: {
1931
1753
  type: "QueryComplexity";
1932
1754
  budget: number;
1933
- window: (string | {
1755
+ window: string | {
1934
1756
  value: number;
1935
1757
  unit: "seconds" | "minutes" | "hours";
1936
- }) & (string | {
1937
- value: number;
1938
- unit: "seconds" | "minutes" | "hours";
1939
- } | undefined);
1758
+ };
1940
1759
  warning?: number | undefined;
1941
1760
  } | {
1942
1761
  type: "RequestCount";
1943
1762
  budget: number;
1944
- window: (string | {
1945
- value: number;
1946
- unit: "seconds" | "minutes" | "hours";
1947
- }) & (string | {
1763
+ window: string | {
1948
1764
  value: number;
1949
1765
  unit: "seconds" | "minutes" | "hours";
1950
- } | undefined);
1766
+ };
1951
1767
  warning?: number | undefined;
1952
1768
  };
1953
- groupBy: ("ip" | {
1954
- header: string;
1955
- } | {
1956
- cookie: string;
1957
- } | {
1958
- jwt: string;
1959
- } | {
1960
- consumerIdentifier: string;
1961
- }) & ("ip" | {
1769
+ groupBy: "ip" | {
1962
1770
  header: string;
1963
1771
  } | {
1964
1772
  cookie: string;
@@ -1966,18 +1774,21 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1966
1774
  jwt: string;
1967
1775
  } | {
1968
1776
  consumerIdentifier: string;
1969
- } | undefined);
1777
+ };
1970
1778
  description?: string | undefined;
1971
1779
  state?: "enabled" | "disabled" | "dryRun" | undefined;
1972
1780
  allowList?: string[] | undefined;
1973
1781
  } | null | undefined)[] | null | undefined;
1782
+ complexity?: {
1783
+ listSizeArguments?: string[] | undefined;
1784
+ maxComplexity?: number | undefined;
1785
+ } | null | undefined;
1974
1786
  }, {
1975
- readonly app?: string | undefined;
1976
- readonly name?: string | undefined;
1977
- readonly schema?: string | undefined;
1978
- readonly originUrl?: string | undefined;
1979
- readonly enablePlayground?: boolean | undefined;
1980
- readonly devPortal?: {
1787
+ app?: string | undefined;
1788
+ name?: string | undefined;
1789
+ originUrl?: string | undefined;
1790
+ schema?: string | undefined;
1791
+ devPortal?: {
1981
1792
  enabled: boolean;
1982
1793
  title?: string | undefined;
1983
1794
  readme?: string | undefined;
@@ -1993,33 +1804,28 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
1993
1804
  brandColor?: string | undefined;
1994
1805
  auth?: boolean | undefined;
1995
1806
  } | null | undefined;
1996
- readonly partialQueryCaching?: {
1807
+ partialQueryCaching?: {
1997
1808
  enabled: boolean;
1998
1809
  experimentalDeferSupport?: boolean | undefined;
1999
1810
  } | null | undefined;
2000
- readonly rateLimit?: {
1811
+ enablePlayground?: boolean | undefined;
1812
+ rateLimit?: {
2001
1813
  name: string;
2002
1814
  limit: {
2003
1815
  type: "QueryComplexity";
2004
1816
  budget: number;
2005
- window: (string | {
2006
- value: number;
2007
- unit: "seconds" | "minutes" | "hours";
2008
- }) & (string | {
1817
+ window: string | {
2009
1818
  value: number;
2010
1819
  unit: "seconds" | "minutes" | "hours";
2011
- } | undefined);
1820
+ };
2012
1821
  warning?: number | undefined;
2013
1822
  } | {
2014
1823
  type: "RequestCount";
2015
1824
  budget: number;
2016
- window: (string | {
1825
+ window: string | {
2017
1826
  value: number;
2018
1827
  unit: "seconds" | "minutes" | "hours";
2019
- }) & (string | {
2020
- value: number;
2021
- unit: "seconds" | "minutes" | "hours";
2022
- } | undefined);
1828
+ };
2023
1829
  warning?: number | undefined;
2024
1830
  };
2025
1831
  description?: string | undefined;
@@ -2027,36 +1833,26 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
2027
1833
  consumerIdentifier?: string | undefined;
2028
1834
  allowList?: string[] | undefined;
2029
1835
  } | null | undefined;
2030
- readonly complexity?: {
2031
- listSizeArguments?: string[] | undefined;
2032
- maxComplexity?: number | undefined;
2033
- } | null | undefined;
2034
- readonly rateLimits?: string | ((...args: unknown[]) => unknown) | ({
1836
+ rateLimits?: string | ((...args: unknown[]) => unknown) | ({
2035
1837
  name: string;
2036
1838
  limit: {
2037
1839
  type: "QueryComplexity";
2038
1840
  budget: number;
2039
- window: (string | {
2040
- value: number;
2041
- unit: "seconds" | "minutes" | "hours";
2042
- }) & (string | {
1841
+ window: string | {
2043
1842
  value: number;
2044
1843
  unit: "seconds" | "minutes" | "hours";
2045
- } | undefined);
1844
+ };
2046
1845
  warning?: number | undefined;
2047
1846
  } | {
2048
1847
  type: "RequestCount";
2049
1848
  budget: number;
2050
- window: (string | {
2051
- value: number;
2052
- unit: "seconds" | "minutes" | "hours";
2053
- }) & (string | {
1849
+ window: string | {
2054
1850
  value: number;
2055
1851
  unit: "seconds" | "minutes" | "hours";
2056
- } | undefined);
1852
+ };
2057
1853
  warning?: number | undefined;
2058
1854
  };
2059
- groupBy: ("ip" | {
1855
+ groupBy: "ip" | {
2060
1856
  header: string;
2061
1857
  } | {
2062
1858
  cookie: string;
@@ -2064,19 +1860,15 @@ declare const environmentsSchema: z__default.ZodRecord<z__default.ZodString, z__
2064
1860
  jwt: string;
2065
1861
  } | {
2066
1862
  consumerIdentifier: string;
2067
- }) & ("ip" | {
2068
- header: string;
2069
- } | {
2070
- cookie: string;
2071
- } | {
2072
- jwt: string;
2073
- } | {
2074
- consumerIdentifier: string;
2075
- } | undefined);
1863
+ };
2076
1864
  description?: string | undefined;
2077
1865
  state?: "enabled" | "disabled" | "dryRun" | undefined;
2078
1866
  allowList?: string[] | undefined;
2079
1867
  } | null | undefined)[] | null | undefined;
1868
+ complexity?: {
1869
+ listSizeArguments?: string[] | undefined;
1870
+ maxComplexity?: number | undefined;
1871
+ } | null | undefined;
2080
1872
  }>>;
2081
1873
  type Environments = z__default.infer<typeof environmentsSchema>;
2082
1874