@swimresults/api 0.3.0 → 0.4.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/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;
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"];
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 */
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"];
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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swimresults/api",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "TypeScript types for the SwimResults APIs, generated from the OpenAPI specs",
5
5
  "license": "GPL-3.0-only",
6
6
  "repository": {