@swimresults/api 0.2.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 +8 -4
- package/dist/import.d.ts +37 -6
- package/dist/meeting.d.ts +20 -10
- package/dist/start.d.ts +14 -8
- package/dist/user.d.ts +28 -11
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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"];
|
|
@@ -689,7 +690,13 @@ export interface operations {
|
|
|
689
690
|
path?: never;
|
|
690
691
|
cookie?: never;
|
|
691
692
|
};
|
|
692
|
-
requestBody
|
|
693
|
+
requestBody: {
|
|
694
|
+
content: {
|
|
695
|
+
"application/x-www-form-urlencoded": {
|
|
696
|
+
[key: string]: string;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
693
700
|
responses: {
|
|
694
701
|
/** @description OK */
|
|
695
702
|
200: {
|
|
@@ -767,7 +774,13 @@ export interface operations {
|
|
|
767
774
|
path?: never;
|
|
768
775
|
cookie?: never;
|
|
769
776
|
};
|
|
770
|
-
requestBody
|
|
777
|
+
requestBody: {
|
|
778
|
+
content: {
|
|
779
|
+
"application/x-www-form-urlencoded": {
|
|
780
|
+
[key: string]: string;
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
};
|
|
771
784
|
responses: {
|
|
772
785
|
/** @description OK */
|
|
773
786
|
200: {
|
|
@@ -845,7 +858,13 @@ export interface operations {
|
|
|
845
858
|
path?: never;
|
|
846
859
|
cookie?: never;
|
|
847
860
|
};
|
|
848
|
-
requestBody
|
|
861
|
+
requestBody: {
|
|
862
|
+
content: {
|
|
863
|
+
"application/x-www-form-urlencoded": {
|
|
864
|
+
[key: string]: string;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
};
|
|
849
868
|
responses: {
|
|
850
869
|
/** @description OK */
|
|
851
870
|
200: {
|
|
@@ -923,7 +942,13 @@ export interface operations {
|
|
|
923
942
|
path?: never;
|
|
924
943
|
cookie?: never;
|
|
925
944
|
};
|
|
926
|
-
requestBody
|
|
945
|
+
requestBody: {
|
|
946
|
+
content: {
|
|
947
|
+
"application/x-www-form-urlencoded": {
|
|
948
|
+
[key: string]: string;
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
};
|
|
927
952
|
responses: {
|
|
928
953
|
/** @description OK */
|
|
929
954
|
200: {
|
|
@@ -1079,7 +1104,13 @@ export interface operations {
|
|
|
1079
1104
|
path?: never;
|
|
1080
1105
|
cookie?: never;
|
|
1081
1106
|
};
|
|
1082
|
-
requestBody
|
|
1107
|
+
requestBody: {
|
|
1108
|
+
content: {
|
|
1109
|
+
"application/x-www-form-urlencoded": {
|
|
1110
|
+
[key: string]: string;
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1083
1114
|
responses: {
|
|
1084
1115
|
/** @description OK */
|
|
1085
1116
|
200: {
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
885
|
-
next
|
|
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
|
-
|
|
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
|
-
|
|
638
|
+
/** @description MongoDB ObjectID (hex) */
|
|
639
|
+
_id: string;
|
|
639
640
|
meeting?: string;
|
|
640
641
|
enabled: boolean;
|
|
641
642
|
};
|
|
642
643
|
Dashboard: {
|
|
643
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
753
|
+
/** @description MongoDB ObjectID (hex) */
|
|
754
|
+
_id: string;
|
|
749
755
|
keycloak_id?: string;
|
|
750
756
|
following?: components["schemas"]["FollowingAthlete"][] | null;
|
|
751
|
-
|
|
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
|
-
|
|
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
|
-
|
|
781
|
+
/** @description MongoDB ObjectID (hex) */
|
|
782
|
+
athlete: string;
|
|
774
783
|
set?: boolean;
|
|
775
784
|
};
|
|
776
785
|
SetLanguageRequestDto: {
|
|
@@ -1125,7 +1134,11 @@ export interface operations {
|
|
|
1125
1134
|
};
|
|
1126
1135
|
cookie?: never;
|
|
1127
1136
|
};
|
|
1128
|
-
requestBody
|
|
1137
|
+
requestBody: {
|
|
1138
|
+
content: {
|
|
1139
|
+
"application/json": unknown;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1129
1142
|
responses: {
|
|
1130
1143
|
/** @description Internal Server Error */
|
|
1131
1144
|
500: {
|
|
@@ -1156,7 +1169,11 @@ export interface operations {
|
|
|
1156
1169
|
};
|
|
1157
1170
|
cookie?: never;
|
|
1158
1171
|
};
|
|
1159
|
-
requestBody
|
|
1172
|
+
requestBody: {
|
|
1173
|
+
content: {
|
|
1174
|
+
"application/json": unknown;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1160
1177
|
responses: {
|
|
1161
1178
|
/** @description Internal Server Error */
|
|
1162
1179
|
500: {
|