api.fluff4.me 1.0.375 → 1.0.377
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/index.d.ts +174 -0
- package/openapi.json +68 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -136,6 +136,10 @@ export interface AuthorInsert {
|
|
|
136
136
|
feedback_preference_typos?: boolean | null
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
export interface AuthorResolveSearch {
|
|
140
|
+
authors: string[]
|
|
141
|
+
}
|
|
142
|
+
|
|
139
143
|
export interface WorkFull {
|
|
140
144
|
name: string
|
|
141
145
|
description: string
|
|
@@ -542,576 +546,746 @@ export interface Paths {
|
|
|
542
546
|
"/test/hello": {
|
|
543
547
|
method: "get"
|
|
544
548
|
body: HelloWorldResponse
|
|
549
|
+
search?: undefined
|
|
545
550
|
response: void | ErrorResponse
|
|
546
551
|
},
|
|
547
552
|
"/test/error": {
|
|
548
553
|
method: "get"
|
|
549
554
|
body?: undefined
|
|
555
|
+
search?: undefined
|
|
550
556
|
response: void | ErrorResponse
|
|
551
557
|
},
|
|
552
558
|
"/session": {
|
|
553
559
|
method: "get"
|
|
554
560
|
body?: undefined
|
|
561
|
+
search?: undefined
|
|
555
562
|
response: Response<Session> | ErrorResponse
|
|
556
563
|
},
|
|
557
564
|
"/session/reset": {
|
|
558
565
|
method: "post"
|
|
559
566
|
body?: undefined
|
|
567
|
+
search?: undefined
|
|
560
568
|
response: void | ErrorResponse
|
|
561
569
|
},
|
|
562
570
|
"/auth/{service}/begin": {
|
|
563
571
|
method: "get"
|
|
564
572
|
body?: undefined
|
|
573
|
+
search?: undefined
|
|
565
574
|
response: void | ErrorResponse
|
|
566
575
|
},
|
|
567
576
|
"/auth/{service}/callback": {
|
|
568
577
|
method: "get"
|
|
569
578
|
body?: undefined
|
|
579
|
+
search?: undefined
|
|
570
580
|
response: void | ErrorResponse
|
|
571
581
|
},
|
|
572
582
|
"/auth/delete": {
|
|
573
583
|
method: "post"
|
|
574
584
|
body: AuthDeleteBody
|
|
585
|
+
search?: undefined
|
|
575
586
|
response: void | ErrorResponse
|
|
576
587
|
},
|
|
577
588
|
"/auth/services": {
|
|
578
589
|
method: "get"
|
|
579
590
|
body?: undefined
|
|
591
|
+
search?: undefined
|
|
580
592
|
response: Response<AuthServices> | ErrorResponse
|
|
581
593
|
},
|
|
582
594
|
"/auth/patreon/campaign/begin": {
|
|
583
595
|
method: "get"
|
|
584
596
|
body?: undefined
|
|
597
|
+
search?: undefined
|
|
585
598
|
response: void | ErrorResponse
|
|
586
599
|
},
|
|
587
600
|
"/auth/patreon/campaign/callback": {
|
|
588
601
|
method: "get"
|
|
589
602
|
body?: undefined
|
|
603
|
+
search?: undefined
|
|
590
604
|
response: void | ErrorResponse
|
|
591
605
|
},
|
|
592
606
|
"/auth/patreon/patron/begin": {
|
|
593
607
|
method: "get"
|
|
594
608
|
body?: undefined
|
|
609
|
+
search?: undefined
|
|
595
610
|
response: void | ErrorResponse
|
|
596
611
|
},
|
|
597
612
|
"/auth/patreon/patron/callback": {
|
|
598
613
|
method: "get"
|
|
599
614
|
body?: undefined
|
|
615
|
+
search?: undefined
|
|
600
616
|
response: void | ErrorResponse
|
|
601
617
|
},
|
|
602
618
|
"/author/create": {
|
|
603
619
|
method: "post"
|
|
604
620
|
body: AuthorCreateBody
|
|
621
|
+
search?: undefined
|
|
605
622
|
response: Response<AuthorAuthorised> | ErrorResponse
|
|
606
623
|
},
|
|
607
624
|
"/author/{vanity}/get": {
|
|
608
625
|
method: "get"
|
|
609
626
|
body?: undefined
|
|
627
|
+
search?: undefined
|
|
610
628
|
response: Response<AuthorFull> | ErrorResponse
|
|
611
629
|
},
|
|
612
630
|
"/author/update": {
|
|
613
631
|
method: "post"
|
|
614
632
|
body: AuthorInsert
|
|
633
|
+
search?: undefined
|
|
615
634
|
response: Response<AuthorAuthorised> | ErrorResponse
|
|
616
635
|
},
|
|
617
636
|
"/author/delete": {
|
|
618
637
|
method: "post"
|
|
619
638
|
body?: undefined
|
|
639
|
+
search?: undefined
|
|
620
640
|
response: void | ErrorResponse
|
|
621
641
|
},
|
|
642
|
+
"/author/resolve": {
|
|
643
|
+
method: "get"
|
|
644
|
+
body?: undefined
|
|
645
|
+
search: {
|
|
646
|
+
authors: string[],
|
|
647
|
+
}
|
|
648
|
+
response: Response<Author[]> | ErrorResponse
|
|
649
|
+
},
|
|
622
650
|
"/work/create": {
|
|
623
651
|
method: "post"
|
|
624
652
|
body: WorkCreateBody
|
|
653
|
+
search?: undefined
|
|
625
654
|
response: Response<WorkFull> | ErrorResponse
|
|
626
655
|
},
|
|
627
656
|
"/work/{author}/{vanity}/get": {
|
|
628
657
|
method: "get"
|
|
629
658
|
body?: undefined
|
|
659
|
+
search?: undefined
|
|
630
660
|
response: Response<WorkFull> | ErrorResponse
|
|
631
661
|
},
|
|
632
662
|
"/work/{author}/{vanity}/update": {
|
|
633
663
|
method: "post"
|
|
634
664
|
body: WorkUpdateBody
|
|
665
|
+
search?: undefined
|
|
635
666
|
response: Response<WorkFull> | ErrorResponse
|
|
636
667
|
},
|
|
637
668
|
"/work/{author}/{vanity}/delete": {
|
|
638
669
|
method: "post"
|
|
639
670
|
body?: undefined
|
|
671
|
+
search?: undefined
|
|
640
672
|
response: void | ErrorResponse
|
|
641
673
|
},
|
|
642
674
|
"/work/{author}/{vanity}/feedback": {
|
|
643
675
|
method: "get"
|
|
644
676
|
body?: undefined
|
|
677
|
+
search?: undefined
|
|
645
678
|
response: Response<Feedback> | ErrorResponse
|
|
646
679
|
},
|
|
647
680
|
"/work/{author}/{vanity}/chapter/create": {
|
|
648
681
|
method: "post"
|
|
649
682
|
body: ChapterCreateBody
|
|
683
|
+
search?: undefined
|
|
650
684
|
response: Response<Chapter> | ErrorResponse
|
|
651
685
|
},
|
|
652
686
|
"/work/{author}/{work}/chapter/{url}/get": {
|
|
653
687
|
method: "get"
|
|
654
688
|
body?: undefined
|
|
689
|
+
search: {
|
|
690
|
+
page: number
|
|
691
|
+
page_size: number
|
|
692
|
+
}
|
|
655
693
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
656
694
|
},
|
|
657
695
|
"/work/{author}/{work}/chapter/{url}/update": {
|
|
658
696
|
method: "post"
|
|
659
697
|
body: ChapterUpdateBody
|
|
698
|
+
search?: undefined
|
|
660
699
|
response: Response<Chapter> | ErrorResponse
|
|
661
700
|
},
|
|
662
701
|
"/work/{author}/{work}/chapter/{url}/delete": {
|
|
663
702
|
method: "post"
|
|
664
703
|
body?: undefined
|
|
704
|
+
search?: undefined
|
|
665
705
|
response: void | ErrorResponse
|
|
666
706
|
},
|
|
667
707
|
"/work/{author}/{vanity}/chapter/{url}/reorder": {
|
|
668
708
|
method: "post"
|
|
669
709
|
body: ChapterReorderBody
|
|
710
|
+
search?: undefined
|
|
670
711
|
response: void | ErrorResponse
|
|
671
712
|
},
|
|
672
713
|
"/work/{author}/{vanity}/chapter/{url}/react/{type}": {
|
|
673
714
|
method: "post"
|
|
674
715
|
body?: undefined
|
|
716
|
+
search?: undefined
|
|
675
717
|
response: void | ErrorResponse
|
|
676
718
|
},
|
|
677
719
|
"/work/{author}/{vanity}/chapter/{url}/unreact": {
|
|
678
720
|
method: "post"
|
|
679
721
|
body?: undefined
|
|
722
|
+
search?: undefined
|
|
680
723
|
response: void | ErrorResponse
|
|
681
724
|
},
|
|
682
725
|
"/work/{author}/{vanity}/chapters/list": {
|
|
683
726
|
method: "get"
|
|
684
727
|
body?: undefined
|
|
728
|
+
search: {
|
|
729
|
+
page: number
|
|
730
|
+
page_size: number
|
|
731
|
+
}
|
|
685
732
|
response: PaginatedResponse<Chapters> | ErrorResponse
|
|
686
733
|
},
|
|
687
734
|
"/work/{author}/{work}/chapters/paged": {
|
|
688
735
|
method: "get"
|
|
689
736
|
body?: undefined
|
|
737
|
+
search: {
|
|
738
|
+
page: number
|
|
739
|
+
page_size: number
|
|
740
|
+
}
|
|
690
741
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
691
742
|
},
|
|
692
743
|
"/work/resolve": {
|
|
693
744
|
method: "get"
|
|
694
745
|
body?: undefined
|
|
746
|
+
search: {
|
|
747
|
+
works: WorkReference[],
|
|
748
|
+
}
|
|
695
749
|
response: Response<Work[]> | ErrorResponse
|
|
696
750
|
},
|
|
697
751
|
"/works/{author}": {
|
|
698
752
|
method: "get"
|
|
699
753
|
body?: undefined
|
|
754
|
+
search: {
|
|
755
|
+
page: number
|
|
756
|
+
page_size: number
|
|
757
|
+
}
|
|
700
758
|
response: PaginatedResponse<Works> | ErrorResponse
|
|
701
759
|
},
|
|
702
760
|
"/follow/author/{vanity}": {
|
|
703
761
|
method: "post"
|
|
704
762
|
body?: undefined
|
|
763
|
+
search?: undefined
|
|
705
764
|
response: Response<Follow> | ErrorResponse
|
|
706
765
|
},
|
|
707
766
|
"/follow/work/{vanity}": {
|
|
708
767
|
method: "post"
|
|
709
768
|
body?: undefined
|
|
769
|
+
search?: undefined
|
|
710
770
|
response: Response<Follow> | ErrorResponse
|
|
711
771
|
},
|
|
712
772
|
"/follow/work/{author}/{vanity}": {
|
|
713
773
|
method: "post"
|
|
714
774
|
body?: undefined
|
|
775
|
+
search?: undefined
|
|
715
776
|
response: Response<Follow> | ErrorResponse
|
|
716
777
|
},
|
|
717
778
|
"/follow/tag/{vanity}": {
|
|
718
779
|
method: "post"
|
|
719
780
|
body?: undefined
|
|
781
|
+
search?: undefined
|
|
720
782
|
response: Response<Follow> | ErrorResponse
|
|
721
783
|
},
|
|
722
784
|
"/follow/category/{vanity}": {
|
|
723
785
|
method: "post"
|
|
724
786
|
body?: undefined
|
|
787
|
+
search?: undefined
|
|
725
788
|
response: Response<Follow> | ErrorResponse
|
|
726
789
|
},
|
|
727
790
|
"/unfollow/author/{vanity}": {
|
|
728
791
|
method: "post"
|
|
729
792
|
body?: undefined
|
|
793
|
+
search?: undefined
|
|
730
794
|
response: Response<Follow> | ErrorResponse
|
|
731
795
|
},
|
|
732
796
|
"/unfollow/work/{vanity}": {
|
|
733
797
|
method: "post"
|
|
734
798
|
body?: undefined
|
|
799
|
+
search?: undefined
|
|
735
800
|
response: Response<Follow> | ErrorResponse
|
|
736
801
|
},
|
|
737
802
|
"/unfollow/work/{author}/{vanity}": {
|
|
738
803
|
method: "post"
|
|
739
804
|
body?: undefined
|
|
805
|
+
search?: undefined
|
|
740
806
|
response: Response<Follow> | ErrorResponse
|
|
741
807
|
},
|
|
742
808
|
"/unfollow/tag/{vanity}": {
|
|
743
809
|
method: "post"
|
|
744
810
|
body?: undefined
|
|
811
|
+
search?: undefined
|
|
745
812
|
response: Response<Follow> | ErrorResponse
|
|
746
813
|
},
|
|
747
814
|
"/unfollow/category/{vanity}": {
|
|
748
815
|
method: "post"
|
|
749
816
|
body?: undefined
|
|
817
|
+
search?: undefined
|
|
750
818
|
response: Response<Follow> | ErrorResponse
|
|
751
819
|
},
|
|
752
820
|
"/following": {
|
|
753
821
|
method: "get"
|
|
754
822
|
body?: undefined
|
|
823
|
+
search?: undefined
|
|
755
824
|
response: Response<FollowsManifest> | ErrorResponse
|
|
756
825
|
},
|
|
757
826
|
"/following/{type}": {
|
|
758
827
|
method: "get"
|
|
759
828
|
body?: undefined
|
|
829
|
+
search: {
|
|
830
|
+
page: number
|
|
831
|
+
page_size: number
|
|
832
|
+
}
|
|
760
833
|
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
761
834
|
},
|
|
762
835
|
"/follows/author/{vanity}": {
|
|
763
836
|
method: "get"
|
|
764
837
|
body?: undefined
|
|
838
|
+
search?: undefined
|
|
765
839
|
response: Response<Follow> | ErrorResponse
|
|
766
840
|
},
|
|
767
841
|
"/follows/work/{vanity}": {
|
|
768
842
|
method: "get"
|
|
769
843
|
body?: undefined
|
|
844
|
+
search?: undefined
|
|
770
845
|
response: Response<Follow> | ErrorResponse
|
|
771
846
|
},
|
|
772
847
|
"/follows/work/{author}/{vanity}": {
|
|
773
848
|
method: "get"
|
|
774
849
|
body?: undefined
|
|
850
|
+
search?: undefined
|
|
775
851
|
response: Response<Follow> | ErrorResponse
|
|
776
852
|
},
|
|
777
853
|
"/follows/tag/{vanity}": {
|
|
778
854
|
method: "get"
|
|
779
855
|
body?: undefined
|
|
856
|
+
search?: undefined
|
|
780
857
|
response: Response<Follow> | ErrorResponse
|
|
781
858
|
},
|
|
782
859
|
"/follows/category/{vanity}": {
|
|
783
860
|
method: "get"
|
|
784
861
|
body?: undefined
|
|
862
|
+
search?: undefined
|
|
785
863
|
response: Response<Follow> | ErrorResponse
|
|
786
864
|
},
|
|
787
865
|
"/ignore/author/{vanity}": {
|
|
788
866
|
method: "post"
|
|
789
867
|
body?: undefined
|
|
868
|
+
search?: undefined
|
|
790
869
|
response: Response<Follow> | ErrorResponse
|
|
791
870
|
},
|
|
792
871
|
"/ignore/work/{vanity}": {
|
|
793
872
|
method: "post"
|
|
794
873
|
body?: undefined
|
|
874
|
+
search?: undefined
|
|
795
875
|
response: Response<Follow> | ErrorResponse
|
|
796
876
|
},
|
|
797
877
|
"/ignore/work/{author}/{vanity}": {
|
|
798
878
|
method: "post"
|
|
799
879
|
body?: undefined
|
|
880
|
+
search?: undefined
|
|
800
881
|
response: Response<Follow> | ErrorResponse
|
|
801
882
|
},
|
|
802
883
|
"/ignore/tag/{vanity}": {
|
|
803
884
|
method: "post"
|
|
804
885
|
body?: undefined
|
|
886
|
+
search?: undefined
|
|
805
887
|
response: Response<Follow> | ErrorResponse
|
|
806
888
|
},
|
|
807
889
|
"/ignore/category/{vanity}": {
|
|
808
890
|
method: "post"
|
|
809
891
|
body?: undefined
|
|
892
|
+
search?: undefined
|
|
810
893
|
response: Response<Follow> | ErrorResponse
|
|
811
894
|
},
|
|
812
895
|
"/unignore/author/{vanity}": {
|
|
813
896
|
method: "post"
|
|
814
897
|
body?: undefined
|
|
898
|
+
search?: undefined
|
|
815
899
|
response: Response<Follow> | ErrorResponse
|
|
816
900
|
},
|
|
817
901
|
"/unignore/work/{vanity}": {
|
|
818
902
|
method: "post"
|
|
819
903
|
body?: undefined
|
|
904
|
+
search?: undefined
|
|
820
905
|
response: Response<Follow> | ErrorResponse
|
|
821
906
|
},
|
|
822
907
|
"/unignore/work/{author}/{vanity}": {
|
|
823
908
|
method: "post"
|
|
824
909
|
body?: undefined
|
|
910
|
+
search?: undefined
|
|
825
911
|
response: Response<Follow> | ErrorResponse
|
|
826
912
|
},
|
|
827
913
|
"/unignore/tag/{vanity}": {
|
|
828
914
|
method: "post"
|
|
829
915
|
body?: undefined
|
|
916
|
+
search?: undefined
|
|
830
917
|
response: Response<Follow> | ErrorResponse
|
|
831
918
|
},
|
|
832
919
|
"/unignore/category/{vanity}": {
|
|
833
920
|
method: "post"
|
|
834
921
|
body?: undefined
|
|
922
|
+
search?: undefined
|
|
835
923
|
response: Response<Follow> | ErrorResponse
|
|
836
924
|
},
|
|
837
925
|
"/ignoring/{type}": {
|
|
838
926
|
method: "get"
|
|
839
927
|
body?: undefined
|
|
928
|
+
search: {
|
|
929
|
+
page: number
|
|
930
|
+
page_size: number
|
|
931
|
+
}
|
|
840
932
|
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
841
933
|
},
|
|
842
934
|
"/ignores/author/{vanity}": {
|
|
843
935
|
method: "get"
|
|
844
936
|
body?: undefined
|
|
937
|
+
search?: undefined
|
|
845
938
|
response: Response<Follow> | ErrorResponse
|
|
846
939
|
},
|
|
847
940
|
"/ignores/work/{vanity}": {
|
|
848
941
|
method: "get"
|
|
849
942
|
body?: undefined
|
|
943
|
+
search?: undefined
|
|
850
944
|
response: Response<Follow> | ErrorResponse
|
|
851
945
|
},
|
|
852
946
|
"/ignores/work/{author}/{vanity}": {
|
|
853
947
|
method: "get"
|
|
854
948
|
body?: undefined
|
|
949
|
+
search?: undefined
|
|
855
950
|
response: Response<Follow> | ErrorResponse
|
|
856
951
|
},
|
|
857
952
|
"/ignores/tag/{vanity}": {
|
|
858
953
|
method: "get"
|
|
859
954
|
body?: undefined
|
|
955
|
+
search?: undefined
|
|
860
956
|
response: Response<Follow> | ErrorResponse
|
|
861
957
|
},
|
|
862
958
|
"/ignores/category/{vanity}": {
|
|
863
959
|
method: "get"
|
|
864
960
|
body?: undefined
|
|
961
|
+
search?: undefined
|
|
865
962
|
response: Response<Follow> | ErrorResponse
|
|
866
963
|
},
|
|
867
964
|
"/privilege/get/{vanity}": {
|
|
868
965
|
method: "get"
|
|
869
966
|
body?: undefined
|
|
967
|
+
search?: undefined
|
|
870
968
|
response: Response<Privileges> | ErrorResponse
|
|
871
969
|
},
|
|
872
970
|
"/privilege/grant/author/{vanity}": {
|
|
873
971
|
method: "post"
|
|
874
972
|
body: Privileges
|
|
973
|
+
search?: undefined
|
|
875
974
|
response: void | ErrorResponse
|
|
876
975
|
},
|
|
877
976
|
"/privilege/grant/role/{vanity}": {
|
|
878
977
|
method: "post"
|
|
879
978
|
body: Privileges
|
|
979
|
+
search?: undefined
|
|
880
980
|
response: void | ErrorResponse
|
|
881
981
|
},
|
|
882
982
|
"/privilege/revoke/author/{vanity}": {
|
|
883
983
|
method: "post"
|
|
884
984
|
body: Privileges
|
|
985
|
+
search?: undefined
|
|
885
986
|
response: void | ErrorResponse
|
|
886
987
|
},
|
|
887
988
|
"/privilege/revoke/role/{vanity}": {
|
|
888
989
|
method: "post"
|
|
889
990
|
body: Privileges
|
|
991
|
+
search?: undefined
|
|
890
992
|
response: void | ErrorResponse
|
|
891
993
|
},
|
|
892
994
|
"/role/create": {
|
|
893
995
|
method: "post"
|
|
894
996
|
body: RoleCreateBody
|
|
997
|
+
search?: undefined
|
|
895
998
|
response: void | ErrorResponse
|
|
896
999
|
},
|
|
897
1000
|
"/role/delete/{role}": {
|
|
898
1001
|
method: "post"
|
|
899
1002
|
body?: undefined
|
|
1003
|
+
search?: undefined
|
|
900
1004
|
response: void | ErrorResponse
|
|
901
1005
|
},
|
|
902
1006
|
"/role/update/{role}": {
|
|
903
1007
|
method: "post"
|
|
904
1008
|
body: RoleUpdateBody
|
|
1009
|
+
search?: undefined
|
|
905
1010
|
response: Response<Role> | ErrorResponse
|
|
906
1011
|
},
|
|
907
1012
|
"/role/grant/{role}/{author}": {
|
|
908
1013
|
method: "post"
|
|
909
1014
|
body?: undefined
|
|
1015
|
+
search?: undefined
|
|
910
1016
|
response: void | ErrorResponse
|
|
911
1017
|
},
|
|
912
1018
|
"/role/get": {
|
|
913
1019
|
method: "get"
|
|
914
1020
|
body?: undefined
|
|
1021
|
+
search?: undefined
|
|
915
1022
|
response: Response<RolesList> | ErrorResponse
|
|
916
1023
|
},
|
|
917
1024
|
"/role/revoke/{role}/{author}": {
|
|
918
1025
|
method: "post"
|
|
919
1026
|
body?: undefined
|
|
1027
|
+
search?: undefined
|
|
920
1028
|
response: void | ErrorResponse
|
|
921
1029
|
},
|
|
922
1030
|
"/role/reorder": {
|
|
923
1031
|
method: "post"
|
|
924
1032
|
body: RoleReorderBody
|
|
1033
|
+
search?: undefined
|
|
925
1034
|
response: void | ErrorResponse
|
|
926
1035
|
},
|
|
927
1036
|
"/comment/add/{under}": {
|
|
928
1037
|
method: "post"
|
|
929
1038
|
body: CommentCreateBody
|
|
1039
|
+
search?: undefined
|
|
930
1040
|
response: Response<CommentResolved> | ErrorResponse
|
|
931
1041
|
},
|
|
932
1042
|
"/comment/{id}/update": {
|
|
933
1043
|
method: "post"
|
|
934
1044
|
body: CommentUpdateBody
|
|
1045
|
+
search?: undefined
|
|
935
1046
|
response: Response<CommentResolved> | ErrorResponse
|
|
936
1047
|
},
|
|
937
1048
|
"/comment/{id}/delete": {
|
|
938
1049
|
method: "post"
|
|
939
1050
|
body?: undefined
|
|
1051
|
+
search?: undefined
|
|
940
1052
|
response: void | ErrorResponse
|
|
941
1053
|
},
|
|
942
1054
|
"/comment/{comment_id}/react/{type}": {
|
|
943
1055
|
method: "post"
|
|
944
1056
|
body?: undefined
|
|
1057
|
+
search?: undefined
|
|
945
1058
|
response: void | ErrorResponse
|
|
946
1059
|
},
|
|
947
1060
|
"/comment/{comment_id}/unreact": {
|
|
948
1061
|
method: "post"
|
|
949
1062
|
body?: undefined
|
|
1063
|
+
search?: undefined
|
|
950
1064
|
response: void | ErrorResponse
|
|
951
1065
|
},
|
|
952
1066
|
"/comments/{under}": {
|
|
953
1067
|
method: "get"
|
|
954
1068
|
body?: undefined
|
|
1069
|
+
search: {
|
|
1070
|
+
page: number
|
|
1071
|
+
page_size: number
|
|
1072
|
+
}
|
|
955
1073
|
response: PaginatedResponse<Comments> | ErrorResponse
|
|
956
1074
|
},
|
|
957
1075
|
"/patreon/campaign/tiers/get": {
|
|
958
1076
|
method: "get"
|
|
959
1077
|
body?: undefined
|
|
1078
|
+
search?: undefined
|
|
960
1079
|
response: Response<Tiers> | ErrorResponse
|
|
961
1080
|
},
|
|
962
1081
|
"/patreon/campaign/tiers/set/{author}/{vanity}": {
|
|
963
1082
|
method: "post"
|
|
964
1083
|
body: CampaignTierSetBody
|
|
1084
|
+
search?: undefined
|
|
965
1085
|
response: void | ErrorResponse
|
|
966
1086
|
},
|
|
967
1087
|
"/tag/create/global": {
|
|
968
1088
|
method: "post"
|
|
969
1089
|
body: TagCreateGlobal
|
|
1090
|
+
search?: undefined
|
|
970
1091
|
response: Response<Tag> | ErrorResponse
|
|
971
1092
|
},
|
|
972
1093
|
"/tag/create/category": {
|
|
973
1094
|
method: "post"
|
|
974
1095
|
body: TagCreateCategory
|
|
1096
|
+
search?: undefined
|
|
975
1097
|
response: Response<TagCategory> | ErrorResponse
|
|
976
1098
|
},
|
|
977
1099
|
"/tag/update/global/{vanity}": {
|
|
978
1100
|
method: "post"
|
|
979
1101
|
body: TagGlobalUpdate
|
|
1102
|
+
search?: undefined
|
|
980
1103
|
response: Response<Tag> | ErrorResponse
|
|
981
1104
|
},
|
|
982
1105
|
"/tag/update/category/{vanity}": {
|
|
983
1106
|
method: "post"
|
|
984
1107
|
body: TagCategoryUpdateBody
|
|
1108
|
+
search?: undefined
|
|
985
1109
|
response: Response<TagCategory> | ErrorResponse
|
|
986
1110
|
},
|
|
987
1111
|
"/tag/delete/global/{vanity}": {
|
|
988
1112
|
method: "post"
|
|
989
1113
|
body?: undefined
|
|
1114
|
+
search?: undefined
|
|
990
1115
|
response: void | ErrorResponse
|
|
991
1116
|
},
|
|
992
1117
|
"/tag/delete/category/{vanity}": {
|
|
993
1118
|
method: "post"
|
|
994
1119
|
body?: undefined
|
|
1120
|
+
search?: undefined
|
|
995
1121
|
response: void | ErrorResponse
|
|
996
1122
|
},
|
|
997
1123
|
"/tag/promote/{vanity}": {
|
|
998
1124
|
method: "post"
|
|
999
1125
|
body: TagCustomPromote
|
|
1126
|
+
search?: undefined
|
|
1000
1127
|
response: Response<Tag> | ErrorResponse
|
|
1001
1128
|
},
|
|
1002
1129
|
"/tag/demote/{vanity}": {
|
|
1003
1130
|
method: "post"
|
|
1004
1131
|
body: TagGlobalDemote
|
|
1132
|
+
search?: undefined
|
|
1005
1133
|
response: Response<CustomTag> | ErrorResponse
|
|
1006
1134
|
},
|
|
1007
1135
|
"/manifest/tags": {
|
|
1008
1136
|
method: "get"
|
|
1009
1137
|
body?: undefined
|
|
1138
|
+
search?: undefined
|
|
1010
1139
|
response: Response<ManifestGlobalTags> | ErrorResponse
|
|
1011
1140
|
},
|
|
1012
1141
|
"/manifest/form/lengths": {
|
|
1013
1142
|
method: "get"
|
|
1014
1143
|
body?: undefined
|
|
1144
|
+
search?: undefined
|
|
1015
1145
|
response: Response<ManifestFormInputLengths> | ErrorResponse
|
|
1016
1146
|
},
|
|
1017
1147
|
"/manifest/reactions": {
|
|
1018
1148
|
method: "get"
|
|
1019
1149
|
body?: undefined
|
|
1150
|
+
search?: undefined
|
|
1020
1151
|
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
1021
1152
|
},
|
|
1022
1153
|
"/manifest/notifications": {
|
|
1023
1154
|
method: "get"
|
|
1024
1155
|
body?: undefined
|
|
1156
|
+
search?: undefined
|
|
1025
1157
|
response: Response<ManifestNotificationTypes> | ErrorResponse
|
|
1026
1158
|
},
|
|
1027
1159
|
"/notifications/get/unread": {
|
|
1028
1160
|
method: "get"
|
|
1029
1161
|
body?: undefined
|
|
1162
|
+
search: {
|
|
1163
|
+
page: number
|
|
1164
|
+
page_size: number
|
|
1165
|
+
}
|
|
1030
1166
|
response: PaginatedResponse<Notifications> | ErrorResponse
|
|
1031
1167
|
},
|
|
1032
1168
|
"/notifications/get/all": {
|
|
1033
1169
|
method: "get"
|
|
1034
1170
|
body?: undefined
|
|
1171
|
+
search: {
|
|
1172
|
+
page: number
|
|
1173
|
+
page_size: number
|
|
1174
|
+
}
|
|
1035
1175
|
response: PaginatedResponse<Notifications> | ErrorResponse
|
|
1036
1176
|
},
|
|
1037
1177
|
"/notifications/get/count": {
|
|
1038
1178
|
method: "get"
|
|
1039
1179
|
body?: undefined
|
|
1180
|
+
search?: undefined
|
|
1040
1181
|
response: Response<NotificationCount> | ErrorResponse
|
|
1041
1182
|
},
|
|
1042
1183
|
"/notifications/mark/read": {
|
|
1043
1184
|
method: "post"
|
|
1044
1185
|
body: NotificationsBody
|
|
1186
|
+
search?: undefined
|
|
1045
1187
|
response: void | ErrorResponse
|
|
1046
1188
|
},
|
|
1047
1189
|
"/notifications/mark/unread": {
|
|
1048
1190
|
method: "post"
|
|
1049
1191
|
body: NotificationsBody
|
|
1192
|
+
search?: undefined
|
|
1050
1193
|
response: void | ErrorResponse
|
|
1051
1194
|
},
|
|
1052
1195
|
"/danger-token/request/delete-account/{service}/begin": {
|
|
1053
1196
|
method: "get"
|
|
1054
1197
|
body?: undefined
|
|
1198
|
+
search?: undefined
|
|
1055
1199
|
response: void | ErrorResponse
|
|
1056
1200
|
},
|
|
1057
1201
|
"/danger-token/request/delete-work/{service}/begin": {
|
|
1058
1202
|
method: "get"
|
|
1059
1203
|
body?: undefined
|
|
1204
|
+
search?: undefined
|
|
1060
1205
|
response: void | ErrorResponse
|
|
1061
1206
|
},
|
|
1062
1207
|
"/danger-token/request/delete-chapter/{service}/begin": {
|
|
1063
1208
|
method: "get"
|
|
1064
1209
|
body?: undefined
|
|
1210
|
+
search?: undefined
|
|
1065
1211
|
response: void | ErrorResponse
|
|
1066
1212
|
},
|
|
1067
1213
|
"/danger-token/request/remove-auth-service/{service}/begin": {
|
|
1068
1214
|
method: "get"
|
|
1069
1215
|
body?: undefined
|
|
1216
|
+
search?: undefined
|
|
1070
1217
|
response: void | ErrorResponse
|
|
1071
1218
|
},
|
|
1072
1219
|
"/danger-token/request/decrease-auth-service-count-required/{service}/begin": {
|
|
1073
1220
|
method: "get"
|
|
1074
1221
|
body?: undefined
|
|
1222
|
+
search?: undefined
|
|
1075
1223
|
response: void | ErrorResponse
|
|
1076
1224
|
},
|
|
1077
1225
|
"/feed/get": {
|
|
1078
1226
|
method: "get"
|
|
1079
1227
|
body?: undefined
|
|
1228
|
+
search: {
|
|
1229
|
+
page: number
|
|
1230
|
+
page_size: number
|
|
1231
|
+
}
|
|
1080
1232
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1081
1233
|
},
|
|
1082
1234
|
"/feed/get/authed": {
|
|
1083
1235
|
method: "get"
|
|
1084
1236
|
body?: undefined
|
|
1237
|
+
search: {
|
|
1238
|
+
page: number
|
|
1239
|
+
page_size: number
|
|
1240
|
+
whitelistTags: string[] | null,
|
|
1241
|
+
blacklistTags: string[] | null,
|
|
1242
|
+
whitelistTagGroups: string[] | null,
|
|
1243
|
+
blacklistTagGroups: string[] | null,
|
|
1244
|
+
whitelistAuthors: string[] | null,
|
|
1245
|
+
blacklistAuthors: string[] | null,
|
|
1246
|
+
}
|
|
1085
1247
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1086
1248
|
},
|
|
1087
1249
|
"/feed/get/followed": {
|
|
1088
1250
|
method: "get"
|
|
1089
1251
|
body?: undefined
|
|
1252
|
+
search: {
|
|
1253
|
+
page: number
|
|
1254
|
+
page_size: number
|
|
1255
|
+
}
|
|
1090
1256
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1091
1257
|
},
|
|
1092
1258
|
"/history/get": {
|
|
1093
1259
|
method: "get"
|
|
1094
1260
|
body?: undefined
|
|
1261
|
+
search: {
|
|
1262
|
+
page: number
|
|
1263
|
+
page_size: number
|
|
1264
|
+
}
|
|
1095
1265
|
response: PaginatedResponse<History> | ErrorResponse
|
|
1096
1266
|
},
|
|
1097
1267
|
"/history/add/{author}/{vanity}": {
|
|
1098
1268
|
method: "post"
|
|
1099
1269
|
body?: undefined
|
|
1270
|
+
search?: undefined
|
|
1100
1271
|
response: void | ErrorResponse
|
|
1101
1272
|
},
|
|
1102
1273
|
"/history/add/{author}/{work}/chapter/{url}": {
|
|
1103
1274
|
method: "post"
|
|
1104
1275
|
body?: undefined
|
|
1276
|
+
search?: undefined
|
|
1105
1277
|
response: void | ErrorResponse
|
|
1106
1278
|
},
|
|
1107
1279
|
"/history/delete/{author}/{work}/chapter/{url}": {
|
|
1108
1280
|
method: "post"
|
|
1109
1281
|
body?: undefined
|
|
1282
|
+
search?: undefined
|
|
1110
1283
|
response: void | ErrorResponse
|
|
1111
1284
|
},
|
|
1112
1285
|
"/history/delete/{author}/{vanity}": {
|
|
1113
1286
|
method: "post"
|
|
1114
1287
|
body?: undefined
|
|
1288
|
+
search?: undefined
|
|
1115
1289
|
response: void | ErrorResponse
|
|
1116
1290
|
},
|
|
1117
1291
|
}
|
package/openapi.json
CHANGED
|
@@ -709,6 +709,20 @@
|
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
711
|
},
|
|
712
|
+
"AuthorResolveSearch": {
|
|
713
|
+
"type": "object",
|
|
714
|
+
"properties": {
|
|
715
|
+
"authors": {
|
|
716
|
+
"type": "array",
|
|
717
|
+
"items": {
|
|
718
|
+
"type": "string"
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"required": [
|
|
723
|
+
"authors"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
712
726
|
"WorkFull": {
|
|
713
727
|
"type": "object",
|
|
714
728
|
"properties": {
|
|
@@ -3370,6 +3384,60 @@
|
|
|
3370
3384
|
}
|
|
3371
3385
|
}
|
|
3372
3386
|
},
|
|
3387
|
+
"/author/resolve": {
|
|
3388
|
+
"get": {
|
|
3389
|
+
"parameters": [
|
|
3390
|
+
{
|
|
3391
|
+
"name": "authors",
|
|
3392
|
+
"in": "query",
|
|
3393
|
+
"required": true,
|
|
3394
|
+
"content": {
|
|
3395
|
+
"application/json": {
|
|
3396
|
+
"schema": {
|
|
3397
|
+
"type": "array",
|
|
3398
|
+
"items": {
|
|
3399
|
+
"type": "string"
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
],
|
|
3406
|
+
"responses": {
|
|
3407
|
+
"200": {
|
|
3408
|
+
"description": "200 response",
|
|
3409
|
+
"content": {
|
|
3410
|
+
"application/json": {
|
|
3411
|
+
"schema": {
|
|
3412
|
+
"type": "object",
|
|
3413
|
+
"properties": {
|
|
3414
|
+
"data": {
|
|
3415
|
+
"type": "array",
|
|
3416
|
+
"items": {
|
|
3417
|
+
"$ref": "#/components/schema/Author"
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
"required": [
|
|
3422
|
+
"data"
|
|
3423
|
+
]
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
"default": {
|
|
3429
|
+
"description": "Error",
|
|
3430
|
+
"content": {
|
|
3431
|
+
"application/json": {
|
|
3432
|
+
"schema": {
|
|
3433
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3373
3441
|
"/work/create": {
|
|
3374
3442
|
"post": {
|
|
3375
3443
|
"requestBody": {
|
package/package.json
CHANGED