@swimresults/api 0.3.0 → 0.5.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/athlete.d.ts CHANGED
@@ -500,7 +500,8 @@ export interface components {
500
500
  /** @description MongoDB ObjectID (hex) */
501
501
  ObjectId: string;
502
502
  Athlete: {
503
- _id: components["schemas"]["ObjectId"];
503
+ /** @description MongoDB ObjectID (hex) */
504
+ _id: string;
504
505
  name?: string;
505
506
  firstname?: string;
506
507
  lastname?: string;
@@ -513,7 +514,8 @@ export interface components {
513
514
  participation?: string[] | null;
514
515
  };
515
516
  Team: {
516
- _id: components["schemas"]["ObjectId"];
517
+ /** @description MongoDB ObjectID (hex) */
518
+ _id: string;
517
519
  name?: string;
518
520
  alias?: string[] | null;
519
521
  country?: string;
@@ -549,14 +551,16 @@ export interface components {
549
551
  athlete: components["schemas"]["Athlete"];
550
552
  };
551
553
  AddParticipationRequestDto: {
552
- athlete: components["schemas"]["ObjectId"];
554
+ /** @description MongoDB ObjectID (hex) */
555
+ athlete: string;
553
556
  meeting?: string;
554
557
  };
555
558
  AthleteIdList: {
556
559
  athletes: components["schemas"]["ObjectId"][] | null;
557
560
  };
558
561
  Certificate: {
559
- _id: components["schemas"]["ObjectId"];
562
+ /** @description MongoDB ObjectID (hex) */
563
+ _id: string;
560
564
  name?: string;
561
565
  athlete_id: components["schemas"]["ObjectId"];
562
566
  meeting?: string;
@@ -641,7 +645,7 @@ export interface operations {
641
645
  [name: string]: unknown;
642
646
  };
643
647
  content: {
644
- "application/json": components["schemas"]["Athlete"][];
648
+ "application/json": components["schemas"]["Athlete"][] | null;
645
649
  };
646
650
  };
647
651
  /** @description Internal Server Error */
@@ -740,7 +744,7 @@ export interface operations {
740
744
  [name: string]: unknown;
741
745
  };
742
746
  content: {
743
- "application/json": components["schemas"]["Athlete"][];
747
+ "application/json": components["schemas"]["Athlete"][] | null;
744
748
  };
745
749
  };
746
750
  /** @description Internal Server Error */
@@ -887,7 +891,7 @@ export interface operations {
887
891
  [name: string]: unknown;
888
892
  };
889
893
  content: {
890
- "application/json": components["schemas"]["Athlete"][];
894
+ "application/json": components["schemas"]["Athlete"][] | null;
891
895
  };
892
896
  };
893
897
  /** @description Bad Request */
@@ -975,7 +979,7 @@ export interface operations {
975
979
  [name: string]: unknown;
976
980
  };
977
981
  content: {
978
- "application/json": components["schemas"]["Athlete"][];
982
+ "application/json": components["schemas"]["Athlete"][] | null;
979
983
  };
980
984
  };
981
985
  /** @description Bad Request */
@@ -1102,7 +1106,7 @@ export interface operations {
1102
1106
  [name: string]: unknown;
1103
1107
  };
1104
1108
  content: {
1105
- "application/json": components["schemas"]["Athlete"][];
1109
+ "application/json": components["schemas"]["Athlete"][] | null;
1106
1110
  };
1107
1111
  };
1108
1112
  /** @description Bad Request */
@@ -1147,7 +1151,7 @@ export interface operations {
1147
1151
  [name: string]: unknown;
1148
1152
  };
1149
1153
  content: {
1150
- "application/json": components["schemas"]["Athlete"][];
1154
+ "application/json": components["schemas"]["Athlete"][] | null;
1151
1155
  };
1152
1156
  };
1153
1157
  /** @description Bad Request */
@@ -1305,7 +1309,7 @@ export interface operations {
1305
1309
  [name: string]: unknown;
1306
1310
  };
1307
1311
  content: {
1308
- "application/json": components["schemas"]["Certificate"][];
1312
+ "application/json": components["schemas"]["Certificate"][] | null;
1309
1313
  };
1310
1314
  };
1311
1315
  /** @description Internal Server Error */
@@ -1431,7 +1435,7 @@ export interface operations {
1431
1435
  [name: string]: unknown;
1432
1436
  };
1433
1437
  content: {
1434
- "application/json": components["schemas"]["Certificate"][];
1438
+ "application/json": components["schemas"]["Certificate"][] | null;
1435
1439
  };
1436
1440
  };
1437
1441
  /** @description Bad Request */
@@ -1472,7 +1476,7 @@ export interface operations {
1472
1476
  [name: string]: unknown;
1473
1477
  };
1474
1478
  content: {
1475
- "application/json": components["schemas"]["Certificate"][];
1479
+ "application/json": components["schemas"]["Certificate"][] | null;
1476
1480
  };
1477
1481
  };
1478
1482
  /** @description Bad Request */
@@ -1667,7 +1671,7 @@ export interface operations {
1667
1671
  [name: string]: unknown;
1668
1672
  };
1669
1673
  content: {
1670
- "application/json": components["schemas"]["Team"][];
1674
+ "application/json": components["schemas"]["Team"][] | null;
1671
1675
  };
1672
1676
  };
1673
1677
  /** @description Internal Server Error */
@@ -1733,7 +1737,7 @@ export interface operations {
1733
1737
  [name: string]: unknown;
1734
1738
  };
1735
1739
  content: {
1736
- "application/json": components["schemas"]["Team"][];
1740
+ "application/json": components["schemas"]["Team"][] | null;
1737
1741
  };
1738
1742
  };
1739
1743
  /** @description Internal Server Error */
@@ -1879,7 +1883,7 @@ export interface operations {
1879
1883
  [name: string]: unknown;
1880
1884
  };
1881
1885
  content: {
1882
- "application/json": components["schemas"]["Team"][];
1886
+ "application/json": components["schemas"]["Team"][] | null;
1883
1887
  };
1884
1888
  };
1885
1889
  /** @description Bad Request */
package/dist/import.d.ts CHANGED
@@ -291,7 +291,8 @@ export interface components {
291
291
  meeting: string;
292
292
  };
293
293
  ImportSetting: {
294
- _id: components["schemas"]["ObjectId"];
294
+ /** @description MongoDB ObjectID (hex) */
295
+ _id: string;
295
296
  meeting?: string;
296
297
  pdf_start_list_settings: components["schemas"]["ImportPdfStartListSettings"];
297
298
  pdf_result_list_settings: components["schemas"]["ImportPdfResultListSettings"];
@@ -1334,7 +1335,7 @@ export interface operations {
1334
1335
  [name: string]: unknown;
1335
1336
  };
1336
1337
  content: {
1337
- "application/json": components["schemas"]["ImportSetting"][];
1338
+ "application/json": components["schemas"]["ImportSetting"][] | null;
1338
1339
  };
1339
1340
  };
1340
1341
  /** @description Internal Server Error */
package/dist/meeting.d.ts CHANGED
@@ -614,7 +614,8 @@ export interface components {
614
614
  /** @description MongoDB ObjectID (hex) */
615
615
  ObjectId: string;
616
616
  AgeGroup: {
617
- _id: components["schemas"]["ObjectId"];
617
+ /** @description MongoDB ObjectID (hex) */
618
+ _id: string;
618
619
  meeting?: string;
619
620
  event?: number;
620
621
  default?: boolean;
@@ -633,7 +634,8 @@ export interface components {
633
634
  age_group: components["schemas"]["AgeGroup"];
634
635
  };
635
636
  Event: {
636
- _id: components["schemas"]["ObjectId"];
637
+ /** @description MongoDB ObjectID (hex) */
638
+ _id: string;
637
639
  number?: number;
638
640
  distance?: number;
639
641
  relay_distance?: string;
@@ -653,7 +655,8 @@ export interface components {
653
655
  updated_at: string;
654
656
  };
655
657
  Style: {
656
- _id: components["schemas"]["ObjectId"];
658
+ /** @description MongoDB ObjectID (hex) */
659
+ _id: string;
657
660
  name?: string;
658
661
  aliases?: string[] | null;
659
662
  relay?: boolean;
@@ -683,7 +686,8 @@ export interface components {
683
686
  toggle_certification?: boolean;
684
687
  };
685
688
  StorageFile: {
686
- _id: components["schemas"]["ObjectId"];
689
+ /** @description MongoDB ObjectID (hex) */
690
+ _id: string;
687
691
  meeting?: string;
688
692
  path?: string;
689
693
  url?: string;
@@ -700,7 +704,8 @@ export interface components {
700
704
  updated_at: string;
701
705
  };
702
706
  Incident: {
703
- _id: components["schemas"]["ObjectId"];
707
+ /** @description MongoDB ObjectID (hex) */
708
+ _id: string;
704
709
  meeting?: string;
705
710
  type?: string;
706
711
  name?: string;
@@ -722,7 +727,8 @@ export interface components {
722
727
  update_time_zone: boolean;
723
728
  };
724
729
  Location: {
725
- _id: components["schemas"]["ObjectId"];
730
+ /** @description MongoDB ObjectID (hex) */
731
+ _id: string;
726
732
  street?: string;
727
733
  number?: string;
728
734
  city?: string;
@@ -736,13 +742,15 @@ export interface components {
736
742
  updated_at: string;
737
743
  };
738
744
  Meeting: {
739
- _id: components["schemas"]["ObjectId"];
745
+ /** @description MongoDB ObjectID (hex) */
746
+ _id: string;
740
747
  /** Format: date-time */
741
748
  date_start: string;
742
749
  /** Format: date-time */
743
750
  date_end: string;
744
751
  location: components["schemas"]["Location"];
745
- organizer_id: components["schemas"]["ObjectId"];
752
+ /** @description MongoDB ObjectID (hex) */
753
+ organizer_id: string;
746
754
  series: components["schemas"]["MeetingSeries"];
747
755
  iteration?: number;
748
756
  subtitles?: string[] | null;
@@ -759,12 +767,14 @@ export interface components {
759
767
  updated_at: string;
760
768
  };
761
769
  MeetingSeries: {
762
- _id: components["schemas"]["ObjectId"];
770
+ /** @description MongoDB ObjectID (hex) */
771
+ _id: string;
763
772
  name_full?: string;
764
773
  name_medium?: string;
765
774
  name_short?: string;
766
775
  location: components["schemas"]["Location"];
767
- organizer_id: components["schemas"]["ObjectId"];
776
+ /** @description MongoDB ObjectID (hex) */
777
+ organizer_id: string;
768
778
  /** Format: date-time */
769
779
  added_at: string;
770
780
  /** Format: date-time */
@@ -867,7 +877,7 @@ export interface operations {
867
877
  [name: string]: unknown;
868
878
  };
869
879
  content: {
870
- "application/json": components["schemas"]["AgeGroup"][];
880
+ "application/json": components["schemas"]["AgeGroup"][] | null;
871
881
  };
872
882
  };
873
883
  /** @description Internal Server Error */
@@ -1024,7 +1034,7 @@ export interface operations {
1024
1034
  [name: string]: unknown;
1025
1035
  };
1026
1036
  content: {
1027
- "application/json": components["schemas"]["AgeGroup"][];
1037
+ "application/json": components["schemas"]["AgeGroup"][] | null;
1028
1038
  };
1029
1039
  };
1030
1040
  /** @description Bad Request */
@@ -1065,7 +1075,7 @@ export interface operations {
1065
1075
  [name: string]: unknown;
1066
1076
  };
1067
1077
  content: {
1068
- "application/json": components["schemas"]["AgeGroup"][];
1078
+ "application/json": components["schemas"]["AgeGroup"][] | null;
1069
1079
  };
1070
1080
  };
1071
1081
  /** @description Bad Request */
@@ -1183,7 +1193,7 @@ export interface operations {
1183
1193
  [name: string]: unknown;
1184
1194
  };
1185
1195
  content: {
1186
- "application/json": components["schemas"]["Event"][];
1196
+ "application/json": components["schemas"]["Event"][] | null;
1187
1197
  };
1188
1198
  };
1189
1199
  /** @description Internal Server Error */
@@ -1340,7 +1350,7 @@ export interface operations {
1340
1350
  [name: string]: unknown;
1341
1351
  };
1342
1352
  content: {
1343
- "application/json": components["schemas"]["Event"][];
1353
+ "application/json": components["schemas"]["Event"][] | null;
1344
1354
  };
1345
1355
  };
1346
1356
  /** @description Bad Request */
@@ -1507,7 +1517,7 @@ export interface operations {
1507
1517
  [name: string]: unknown;
1508
1518
  };
1509
1519
  content: {
1510
- "application/json": components["schemas"]["MeetingPart"][];
1520
+ "application/json": components["schemas"]["MeetingPart"][] | null;
1511
1521
  };
1512
1522
  };
1513
1523
  /** @description Bad Request */
@@ -1625,7 +1635,7 @@ export interface operations {
1625
1635
  [name: string]: unknown;
1626
1636
  };
1627
1637
  content: {
1628
- "application/json": components["schemas"]["StorageFile"][];
1638
+ "application/json": components["schemas"]["StorageFile"][] | null;
1629
1639
  };
1630
1640
  };
1631
1641
  /** @description Internal Server Error */
@@ -1769,7 +1779,7 @@ export interface operations {
1769
1779
  [name: string]: unknown;
1770
1780
  };
1771
1781
  content: {
1772
- "application/json": components["schemas"]["StorageFile"][];
1782
+ "application/json": components["schemas"]["StorageFile"][] | null;
1773
1783
  };
1774
1784
  };
1775
1785
  /** @description Bad Request */
@@ -2009,7 +2019,7 @@ export interface operations {
2009
2019
  [name: string]: unknown;
2010
2020
  };
2011
2021
  content: {
2012
- "application/json": components["schemas"]["Incident"][];
2022
+ "application/json": components["schemas"]["Incident"][] | null;
2013
2023
  };
2014
2024
  };
2015
2025
  /** @description Bad Request */
@@ -2058,7 +2068,7 @@ export interface operations {
2058
2068
  [name: string]: unknown;
2059
2069
  };
2060
2070
  content: {
2061
- "application/json": components["schemas"]["Incident"][];
2071
+ "application/json": components["schemas"]["Incident"][] | null;
2062
2072
  };
2063
2073
  };
2064
2074
  /** @description Bad Request */
@@ -2176,7 +2186,7 @@ export interface operations {
2176
2186
  [name: string]: unknown;
2177
2187
  };
2178
2188
  content: {
2179
- "application/json": components["schemas"]["Location"][];
2189
+ "application/json": components["schemas"]["Location"][] | null;
2180
2190
  };
2181
2191
  };
2182
2192
  /** @description Internal Server Error */
@@ -2322,7 +2332,7 @@ export interface operations {
2322
2332
  [name: string]: unknown;
2323
2333
  };
2324
2334
  content: {
2325
- "application/json": components["schemas"]["Meeting"][];
2335
+ "application/json": components["schemas"]["Meeting"][] | null;
2326
2336
  };
2327
2337
  };
2328
2338
  /** @description Internal Server Error */
@@ -2569,7 +2579,7 @@ export interface operations {
2569
2579
  [name: string]: unknown;
2570
2580
  };
2571
2581
  content: {
2572
- "application/json": components["schemas"]["MeetingSeries"][];
2582
+ "application/json": components["schemas"]["MeetingSeries"][] | null;
2573
2583
  };
2574
2584
  };
2575
2585
  /** @description Internal Server Error */
@@ -2753,7 +2763,7 @@ export interface operations {
2753
2763
  [name: string]: unknown;
2754
2764
  };
2755
2765
  content: {
2756
- "application/json": components["schemas"]["Style"][];
2766
+ "application/json": components["schemas"]["Style"][] | null;
2757
2767
  };
2758
2768
  };
2759
2769
  /** @description Internal Server Error */
package/dist/start.d.ts CHANGED
@@ -778,7 +778,8 @@ export interface components {
778
778
  start: components["schemas"]["Start"];
779
779
  };
780
780
  Disqualification: {
781
- _id: components["schemas"]["ObjectId"];
781
+ /** @description MongoDB ObjectID (hex) */
782
+ _id: string;
782
783
  type?: string;
783
784
  reason?: string;
784
785
  /** Format: date-time */
@@ -787,7 +788,8 @@ export interface components {
787
788
  added_at: string;
788
789
  };
789
790
  Start: {
790
- _id: components["schemas"]["ObjectId"];
791
+ /** @description MongoDB ObjectID (hex) */
792
+ _id: string;
791
793
  meeting?: string;
792
794
  event?: number;
793
795
  heat_number: number;
@@ -814,7 +816,8 @@ export interface components {
814
816
  updated_at: string;
815
817
  };
816
818
  Heat: {
817
- _id: components["schemas"]["ObjectId"];
819
+ /** @description MongoDB ObjectID (hex) */
820
+ _id: string;
818
821
  meeting?: string;
819
822
  event?: number;
820
823
  number?: number;
@@ -841,7 +844,8 @@ export interface components {
841
844
  added_at: string;
842
845
  };
843
846
  Rank: {
844
- _id: components["schemas"]["ObjectId"];
847
+ /** @description MongoDB ObjectID (hex) */
848
+ _id: string;
845
849
  rank?: number;
846
850
  ranking: components["schemas"]["Ranking"];
847
851
  /** Format: date-time */
@@ -850,7 +854,8 @@ export interface components {
850
854
  updated_at: string;
851
855
  };
852
856
  Ranking: {
853
- _id: components["schemas"]["ObjectId"];
857
+ /** @description MongoDB ObjectID (hex) */
858
+ _id: string;
854
859
  meeting?: string;
855
860
  event?: number;
856
861
  gender?: string;
@@ -881,8 +886,8 @@ export interface components {
881
886
  amount?: number;
882
887
  };
883
888
  CurrentNextHeatDto: {
884
- current: components["schemas"]["Heat"] | null;
885
- next: components["schemas"]["Heat"] | null;
889
+ current?: components["schemas"]["Heat"];
890
+ next?: components["schemas"]["Heat"];
886
891
  };
887
892
  ImportHeatRequestDto: {
888
893
  heat: components["schemas"]["Heat"];
@@ -906,7 +911,8 @@ export interface components {
906
911
  ranking: components["schemas"]["Ranking"];
907
912
  };
908
913
  Registration: {
909
- _id: components["schemas"]["ObjectId"];
914
+ /** @description MongoDB ObjectID (hex) */
915
+ _id: string;
910
916
  meeting: string;
911
917
  creator_user_id: components["schemas"]["ObjectId"];
912
918
  address: components["schemas"]["Address"];
@@ -1110,7 +1116,7 @@ export interface operations {
1110
1116
  [name: string]: unknown;
1111
1117
  };
1112
1118
  content: {
1113
- "application/json": components["schemas"]["Heat"][];
1119
+ "application/json": components["schemas"]["Heat"][] | null;
1114
1120
  };
1115
1121
  };
1116
1122
  /** @description Internal Server Error */
@@ -1296,7 +1302,7 @@ export interface operations {
1296
1302
  [name: string]: unknown;
1297
1303
  };
1298
1304
  content: {
1299
- "application/json": components["schemas"]["Heat"][];
1305
+ "application/json": components["schemas"]["Heat"][] | null;
1300
1306
  };
1301
1307
  };
1302
1308
  /** @description Bad Request */
@@ -1457,7 +1463,7 @@ export interface operations {
1457
1463
  [name: string]: unknown;
1458
1464
  };
1459
1465
  content: {
1460
- "application/json": components["schemas"]["Heat"][];
1466
+ "application/json": components["schemas"]["Heat"][] | null;
1461
1467
  };
1462
1468
  };
1463
1469
  /** @description Bad Request */
@@ -1665,7 +1671,7 @@ export interface operations {
1665
1671
  [name: string]: unknown;
1666
1672
  };
1667
1673
  content: {
1668
- "application/json": components["schemas"]["Heat"][];
1674
+ "application/json": components["schemas"]["Heat"][] | null;
1669
1675
  };
1670
1676
  };
1671
1677
  /** @description Bad Request */
@@ -1936,7 +1942,7 @@ export interface operations {
1936
1942
  [name: string]: unknown;
1937
1943
  };
1938
1944
  content: {
1939
- "application/json": components["schemas"]["Ranking"][];
1945
+ "application/json": components["schemas"]["Ranking"][] | null;
1940
1946
  };
1941
1947
  };
1942
1948
  /** @description Internal Server Error */
@@ -2093,7 +2099,7 @@ export interface operations {
2093
2099
  [name: string]: unknown;
2094
2100
  };
2095
2101
  content: {
2096
- "application/json": components["schemas"]["Ranking"][];
2102
+ "application/json": components["schemas"]["Ranking"][] | null;
2097
2103
  };
2098
2104
  };
2099
2105
  /** @description Bad Request */
@@ -2134,7 +2140,7 @@ export interface operations {
2134
2140
  [name: string]: unknown;
2135
2141
  };
2136
2142
  content: {
2137
- "application/json": components["schemas"]["Ranking"][];
2143
+ "application/json": components["schemas"]["Ranking"][] | null;
2138
2144
  };
2139
2145
  };
2140
2146
  /** @description Bad Request */
@@ -2329,7 +2335,7 @@ export interface operations {
2329
2335
  [name: string]: unknown;
2330
2336
  };
2331
2337
  content: {
2332
- "application/json": components["schemas"]["Registration"][];
2338
+ "application/json": components["schemas"]["Registration"][] | null;
2333
2339
  };
2334
2340
  };
2335
2341
  /** @description Bad Request */
@@ -2540,7 +2546,7 @@ export interface operations {
2540
2546
  [name: string]: unknown;
2541
2547
  };
2542
2548
  content: {
2543
- "application/json": components["schemas"]["Start"][];
2549
+ "application/json": components["schemas"]["Start"][] | null;
2544
2550
  };
2545
2551
  };
2546
2552
  /** @description Internal Server Error */
@@ -2675,7 +2681,7 @@ export interface operations {
2675
2681
  [name: string]: unknown;
2676
2682
  };
2677
2683
  content: {
2678
- "application/json": components["schemas"]["Start"][];
2684
+ "application/json": components["schemas"]["Start"][] | null;
2679
2685
  };
2680
2686
  };
2681
2687
  /** @description Bad Request */
@@ -2766,7 +2772,7 @@ export interface operations {
2766
2772
  [name: string]: unknown;
2767
2773
  };
2768
2774
  content: {
2769
- "application/json": components["schemas"]["Start"][];
2775
+ "application/json": components["schemas"]["Start"][] | null;
2770
2776
  };
2771
2777
  };
2772
2778
  /** @description Bad Request */
@@ -2847,7 +2853,7 @@ export interface operations {
2847
2853
  [name: string]: unknown;
2848
2854
  };
2849
2855
  content: {
2850
- "application/json": components["schemas"]["Start"][];
2856
+ "application/json": components["schemas"]["Start"][] | null;
2851
2857
  };
2852
2858
  };
2853
2859
  /** @description Bad Request */
@@ -2887,7 +2893,7 @@ export interface operations {
2887
2893
  [name: string]: unknown;
2888
2894
  };
2889
2895
  content: {
2890
- "application/json": components["schemas"]["Start"][];
2896
+ "application/json": components["schemas"]["Start"][] | null;
2891
2897
  };
2892
2898
  };
2893
2899
  /** @description Bad Request */
@@ -2928,7 +2934,7 @@ export interface operations {
2928
2934
  [name: string]: unknown;
2929
2935
  };
2930
2936
  content: {
2931
- "application/json": components["schemas"]["Start"][];
2937
+ "application/json": components["schemas"]["Start"][] | null;
2932
2938
  };
2933
2939
  };
2934
2940
  /** @description Bad Request */
@@ -3011,7 +3017,7 @@ export interface operations {
3011
3017
  [name: string]: unknown;
3012
3018
  };
3013
3019
  content: {
3014
- "application/json": components["schemas"]["Start"][];
3020
+ "application/json": components["schemas"]["Start"][] | null;
3015
3021
  };
3016
3022
  };
3017
3023
  /** @description Bad Request */
@@ -3095,7 +3101,7 @@ export interface operations {
3095
3101
  [name: string]: unknown;
3096
3102
  };
3097
3103
  content: {
3098
- "application/json": components["schemas"]["EventStartResultRequestDto"][];
3104
+ "application/json": components["schemas"]["EventStartResultRequestDto"][] | null;
3099
3105
  };
3100
3106
  };
3101
3107
  /** @description Bad Request */
@@ -3215,7 +3221,7 @@ export interface operations {
3215
3221
  [name: string]: unknown;
3216
3222
  };
3217
3223
  content: {
3218
- "application/json": components["schemas"]["StartsByYearAndGenderStatsDto"][];
3224
+ "application/json": components["schemas"]["StartsByYearAndGenderStatsDto"][] | null;
3219
3225
  };
3220
3226
  };
3221
3227
  /** @description Bad Request */
package/dist/user.d.ts CHANGED
@@ -635,12 +635,14 @@ export interface components {
635
635
  /** @description MongoDB ObjectID (hex) */
636
636
  ObjectId: string;
637
637
  Config: {
638
- _id: components["schemas"]["ObjectId"];
638
+ /** @description MongoDB ObjectID (hex) */
639
+ _id: string;
639
640
  meeting?: string;
640
641
  enabled: boolean;
641
642
  };
642
643
  Dashboard: {
643
- _id: components["schemas"]["ObjectId"];
644
+ /** @description MongoDB ObjectID (hex) */
645
+ _id: string;
644
646
  widget_container?: components["schemas"]["WidgetContainer"][] | null;
645
647
  user?: string;
646
648
  official?: boolean;
@@ -658,7 +660,8 @@ export interface components {
658
660
  order_position?: number;
659
661
  };
660
662
  Widget: {
661
- _id: components["schemas"]["ObjectId"];
663
+ /** @description MongoDB ObjectID (hex) */
664
+ _id: string;
662
665
  size?: string;
663
666
  content?: string;
664
667
  };
@@ -689,7 +692,8 @@ export interface components {
689
692
  body: string;
690
693
  };
691
694
  NotificationUser: {
692
- _id: components["schemas"]["ObjectId"];
695
+ /** @description MongoDB ObjectID (hex) */
696
+ _id: string;
693
697
  user_id: components["schemas"]["ObjectId"];
694
698
  token: string;
695
699
  settings: components["schemas"]["NotificationSettings"];
@@ -724,7 +728,8 @@ export interface components {
724
728
  push_service?: string;
725
729
  };
726
730
  UserReport: {
727
- _id: components["schemas"]["ObjectId"];
731
+ /** @description MongoDB ObjectID (hex) */
732
+ _id: string;
728
733
  message: string;
729
734
  meeting?: string;
730
735
  user_id: components["schemas"]["ObjectId"];
@@ -745,10 +750,12 @@ export interface components {
745
750
  subject_type?: components["schemas"]["ReportSubjectType"];
746
751
  };
747
752
  User: {
748
- _id: components["schemas"]["ObjectId"];
753
+ /** @description MongoDB ObjectID (hex) */
754
+ _id: string;
749
755
  keycloak_id?: string;
750
756
  following?: components["schemas"]["FollowingAthlete"][] | null;
751
- own_athlete_id?: (string & components["schemas"]["ObjectId"]) | null;
757
+ /** @description MongoDB ObjectID (hex) */
758
+ own_athlete_id?: string | null;
752
759
  settings: components["schemas"]["Settings"];
753
760
  meetings?: string[] | null;
754
761
  };
@@ -762,7 +769,8 @@ export interface components {
762
769
  theme?: string;
763
770
  };
764
771
  FollowAthleteRequestDto: {
765
- athlete: components["schemas"]["ObjectId"];
772
+ /** @description MongoDB ObjectID (hex) */
773
+ athlete: string;
766
774
  follow?: boolean;
767
775
  };
768
776
  SubscribeMeetingRequestDto: {
@@ -770,7 +778,8 @@ export interface components {
770
778
  subscribe?: boolean;
771
779
  };
772
780
  SetMeRequestDto: {
773
- athlete: components["schemas"]["ObjectId"];
781
+ /** @description MongoDB ObjectID (hex) */
782
+ athlete: string;
774
783
  set?: boolean;
775
784
  };
776
785
  SetLanguageRequestDto: {
@@ -850,7 +859,7 @@ export interface operations {
850
859
  [name: string]: unknown;
851
860
  };
852
861
  content: {
853
- "application/json": components["schemas"]["Config"][];
862
+ "application/json": components["schemas"]["Config"][] | null;
854
863
  };
855
864
  };
856
865
  /** @description Internal Server Error */
@@ -1704,7 +1713,7 @@ export interface operations {
1704
1713
  [name: string]: unknown;
1705
1714
  };
1706
1715
  content: {
1707
- "application/json": components["schemas"]["NotificationUser"][];
1716
+ "application/json": components["schemas"]["NotificationUser"][] | null;
1708
1717
  };
1709
1718
  };
1710
1719
  /** @description Internal Server Error */
@@ -1733,7 +1742,7 @@ export interface operations {
1733
1742
  [name: string]: unknown;
1734
1743
  };
1735
1744
  content: {
1736
- "application/json": components["schemas"]["UserReport"][];
1745
+ "application/json": components["schemas"]["UserReport"][] | null;
1737
1746
  };
1738
1747
  };
1739
1748
  /** @description Internal Server Error */
@@ -1797,7 +1806,7 @@ export interface operations {
1797
1806
  [name: string]: unknown;
1798
1807
  };
1799
1808
  content: {
1800
- "application/json": components["schemas"]["UserReport"][];
1809
+ "application/json": components["schemas"]["UserReport"][] | null;
1801
1810
  };
1802
1811
  };
1803
1812
  /** @description Bad Request */
@@ -1835,7 +1844,7 @@ export interface operations {
1835
1844
  [name: string]: unknown;
1836
1845
  };
1837
1846
  content: {
1838
- "application/json": components["schemas"]["ReportSubjectType"][];
1847
+ "application/json": components["schemas"]["ReportSubjectType"][] | null;
1839
1848
  };
1840
1849
  };
1841
1850
  };
@@ -2472,7 +2481,7 @@ export interface operations {
2472
2481
  [name: string]: unknown;
2473
2482
  };
2474
2483
  content: {
2475
- "application/json": components["schemas"]["User"][];
2484
+ "application/json": components["schemas"]["User"][] | null;
2476
2485
  };
2477
2486
  };
2478
2487
  /** @description Internal Server Error */
@@ -2501,7 +2510,7 @@ export interface operations {
2501
2510
  [name: string]: unknown;
2502
2511
  };
2503
2512
  content: {
2504
- "application/json": components["schemas"]["Widget"][];
2513
+ "application/json": components["schemas"]["Widget"][] | null;
2505
2514
  };
2506
2515
  };
2507
2516
  /** @description Internal Server Error */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swimresults/api",
3
- "version": "0.3.0",
3
+ "version": "0.5.1",
4
4
  "description": "TypeScript types for the SwimResults APIs, generated from the OpenAPI specs",
5
5
  "license": "GPL-3.0-only",
6
6
  "repository": {