api.fluff4.me 1.0.362 → 1.0.364
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 +36 -0
- package/openapi.json +256 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -516,6 +516,17 @@ export interface FeedSearch {
|
|
|
516
516
|
blacklistAuthors?: string[] | null
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
+
export interface History {
|
|
520
|
+
items: HistoryItem[]
|
|
521
|
+
works: Work[]
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export interface HistoryItem {
|
|
525
|
+
work: WorkReference
|
|
526
|
+
chapter?: ChapterLite | null
|
|
527
|
+
view_time: string
|
|
528
|
+
}
|
|
529
|
+
|
|
519
530
|
export interface ErrorResponse {
|
|
520
531
|
code: number
|
|
521
532
|
detail?: string | null
|
|
@@ -1068,4 +1079,29 @@ export interface Paths {
|
|
|
1068
1079
|
body?: undefined
|
|
1069
1080
|
response: PaginatedResponse<Feed> | ErrorResponse
|
|
1070
1081
|
},
|
|
1082
|
+
"/history/get": {
|
|
1083
|
+
method: "get"
|
|
1084
|
+
body?: undefined
|
|
1085
|
+
response: PaginatedResponse<History> | ErrorResponse
|
|
1086
|
+
},
|
|
1087
|
+
"/history/add/{author_vanity}/{work_vanity}": {
|
|
1088
|
+
method: "post"
|
|
1089
|
+
body?: undefined
|
|
1090
|
+
response: void | ErrorResponse
|
|
1091
|
+
},
|
|
1092
|
+
"/history/add/{author_vanity}/{work_vanity}/chapter/{chapter_url}": {
|
|
1093
|
+
method: "post"
|
|
1094
|
+
body?: undefined
|
|
1095
|
+
response: void | ErrorResponse
|
|
1096
|
+
},
|
|
1097
|
+
"/history/delete/{author_vanity}/{work_vanity}/chapter/{chapter_url}": {
|
|
1098
|
+
method: "post"
|
|
1099
|
+
body?: undefined
|
|
1100
|
+
response: void | ErrorResponse
|
|
1101
|
+
},
|
|
1102
|
+
"/history/delete/{author_vanity}/{work_vanity}": {
|
|
1103
|
+
method: "post"
|
|
1104
|
+
body?: undefined
|
|
1105
|
+
response: void | ErrorResponse
|
|
1106
|
+
},
|
|
1071
1107
|
}
|
package/openapi.json
CHANGED
|
@@ -2833,6 +2833,52 @@
|
|
|
2833
2833
|
}
|
|
2834
2834
|
}
|
|
2835
2835
|
},
|
|
2836
|
+
"History": {
|
|
2837
|
+
"type": "object",
|
|
2838
|
+
"properties": {
|
|
2839
|
+
"items": {
|
|
2840
|
+
"type": "array",
|
|
2841
|
+
"items": {
|
|
2842
|
+
"$ref": "#/components/schema/HistoryItem"
|
|
2843
|
+
}
|
|
2844
|
+
},
|
|
2845
|
+
"works": {
|
|
2846
|
+
"type": "array",
|
|
2847
|
+
"items": {
|
|
2848
|
+
"$ref": "#/components/schema/Work"
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
"required": [
|
|
2853
|
+
"items",
|
|
2854
|
+
"works"
|
|
2855
|
+
]
|
|
2856
|
+
},
|
|
2857
|
+
"HistoryItem": {
|
|
2858
|
+
"type": "object",
|
|
2859
|
+
"properties": {
|
|
2860
|
+
"work": {
|
|
2861
|
+
"$ref": "#/components/schema/WorkReference"
|
|
2862
|
+
},
|
|
2863
|
+
"chapter": {
|
|
2864
|
+
"anyOf": [
|
|
2865
|
+
{
|
|
2866
|
+
"$ref": "#/components/schema/ChapterLite"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"type": "null"
|
|
2870
|
+
}
|
|
2871
|
+
]
|
|
2872
|
+
},
|
|
2873
|
+
"view_time": {
|
|
2874
|
+
"type": "string"
|
|
2875
|
+
}
|
|
2876
|
+
},
|
|
2877
|
+
"required": [
|
|
2878
|
+
"work",
|
|
2879
|
+
"view_time"
|
|
2880
|
+
]
|
|
2881
|
+
},
|
|
2836
2882
|
"ErrorResponse": {
|
|
2837
2883
|
"type": "object",
|
|
2838
2884
|
"properties": {
|
|
@@ -7652,6 +7698,216 @@
|
|
|
7652
7698
|
}
|
|
7653
7699
|
}
|
|
7654
7700
|
}
|
|
7701
|
+
},
|
|
7702
|
+
"/history/get": {
|
|
7703
|
+
"get": {
|
|
7704
|
+
"parameters": [
|
|
7705
|
+
{
|
|
7706
|
+
"name": "page",
|
|
7707
|
+
"in": "query",
|
|
7708
|
+
"description": "The page of data to query from. This endpoint uses a page size of 25 by default.",
|
|
7709
|
+
"schema": {
|
|
7710
|
+
"type": "integer",
|
|
7711
|
+
"minimum": 0
|
|
7712
|
+
}
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
"name": "page_size",
|
|
7716
|
+
"in": "query",
|
|
7717
|
+
"description": "The custom page size to return. This endpoint uses a page size of 25 by default. The custom page size cannot be raised above the default.",
|
|
7718
|
+
"schema": {
|
|
7719
|
+
"type": "integer",
|
|
7720
|
+
"minimum": 1,
|
|
7721
|
+
"maximum": 25
|
|
7722
|
+
}
|
|
7723
|
+
}
|
|
7724
|
+
],
|
|
7725
|
+
"responses": {
|
|
7726
|
+
"200": {
|
|
7727
|
+
"description": "200 response",
|
|
7728
|
+
"content": {
|
|
7729
|
+
"application/json": {
|
|
7730
|
+
"schema": {
|
|
7731
|
+
"type": "object",
|
|
7732
|
+
"properties": {
|
|
7733
|
+
"data": {
|
|
7734
|
+
"$ref": "#/components/schemas/History"
|
|
7735
|
+
},
|
|
7736
|
+
"has_more": {
|
|
7737
|
+
"type": "boolean"
|
|
7738
|
+
},
|
|
7739
|
+
"page": {
|
|
7740
|
+
"type": "number",
|
|
7741
|
+
"minimum": 0
|
|
7742
|
+
},
|
|
7743
|
+
"page_count": {
|
|
7744
|
+
"type": [
|
|
7745
|
+
"boolean",
|
|
7746
|
+
"number"
|
|
7747
|
+
],
|
|
7748
|
+
"anyOf": [
|
|
7749
|
+
{
|
|
7750
|
+
"type": "boolean",
|
|
7751
|
+
"enum": [
|
|
7752
|
+
true
|
|
7753
|
+
]
|
|
7754
|
+
},
|
|
7755
|
+
{
|
|
7756
|
+
"type": "number",
|
|
7757
|
+
"minimum": 0
|
|
7758
|
+
}
|
|
7759
|
+
]
|
|
7760
|
+
}
|
|
7761
|
+
},
|
|
7762
|
+
"required": [
|
|
7763
|
+
"data",
|
|
7764
|
+
"has_more",
|
|
7765
|
+
"page",
|
|
7766
|
+
"page_count"
|
|
7767
|
+
]
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7770
|
+
}
|
|
7771
|
+
},
|
|
7772
|
+
"304": {
|
|
7773
|
+
"description": "304 response"
|
|
7774
|
+
},
|
|
7775
|
+
"default": {
|
|
7776
|
+
"description": "Error",
|
|
7777
|
+
"content": {
|
|
7778
|
+
"application/json": {
|
|
7779
|
+
"schema": {
|
|
7780
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7781
|
+
}
|
|
7782
|
+
}
|
|
7783
|
+
}
|
|
7784
|
+
}
|
|
7785
|
+
}
|
|
7786
|
+
}
|
|
7787
|
+
},
|
|
7788
|
+
"/history/add/{author_vanity}/{work_vanity}": {
|
|
7789
|
+
"parameters": [
|
|
7790
|
+
{
|
|
7791
|
+
"name": "author_vanity",
|
|
7792
|
+
"in": "path"
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
"name": "work_vanity",
|
|
7796
|
+
"in": "path"
|
|
7797
|
+
}
|
|
7798
|
+
],
|
|
7799
|
+
"post": {
|
|
7800
|
+
"responses": {
|
|
7801
|
+
"200": {
|
|
7802
|
+
"description": "200 response"
|
|
7803
|
+
},
|
|
7804
|
+
"default": {
|
|
7805
|
+
"description": "Error",
|
|
7806
|
+
"content": {
|
|
7807
|
+
"application/json": {
|
|
7808
|
+
"schema": {
|
|
7809
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7810
|
+
}
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
}
|
|
7815
|
+
}
|
|
7816
|
+
},
|
|
7817
|
+
"/history/add/{author_vanity}/{work_vanity}/chapter/{chapter_url}": {
|
|
7818
|
+
"parameters": [
|
|
7819
|
+
{
|
|
7820
|
+
"name": "author_vanity",
|
|
7821
|
+
"in": "path"
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"name": "work_vanity",
|
|
7825
|
+
"in": "path"
|
|
7826
|
+
},
|
|
7827
|
+
{
|
|
7828
|
+
"name": "chapter_url",
|
|
7829
|
+
"in": "path"
|
|
7830
|
+
}
|
|
7831
|
+
],
|
|
7832
|
+
"post": {
|
|
7833
|
+
"responses": {
|
|
7834
|
+
"200": {
|
|
7835
|
+
"description": "200 response"
|
|
7836
|
+
},
|
|
7837
|
+
"default": {
|
|
7838
|
+
"description": "Error",
|
|
7839
|
+
"content": {
|
|
7840
|
+
"application/json": {
|
|
7841
|
+
"schema": {
|
|
7842
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7843
|
+
}
|
|
7844
|
+
}
|
|
7845
|
+
}
|
|
7846
|
+
}
|
|
7847
|
+
}
|
|
7848
|
+
}
|
|
7849
|
+
},
|
|
7850
|
+
"/history/delete/{author_vanity}/{work_vanity}/chapter/{chapter_url}": {
|
|
7851
|
+
"parameters": [
|
|
7852
|
+
{
|
|
7853
|
+
"name": "author_vanity",
|
|
7854
|
+
"in": "path"
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
"name": "work_vanity",
|
|
7858
|
+
"in": "path"
|
|
7859
|
+
},
|
|
7860
|
+
{
|
|
7861
|
+
"name": "chapter_url",
|
|
7862
|
+
"in": "path"
|
|
7863
|
+
}
|
|
7864
|
+
],
|
|
7865
|
+
"post": {
|
|
7866
|
+
"responses": {
|
|
7867
|
+
"200": {
|
|
7868
|
+
"description": "200 response"
|
|
7869
|
+
},
|
|
7870
|
+
"default": {
|
|
7871
|
+
"description": "Error",
|
|
7872
|
+
"content": {
|
|
7873
|
+
"application/json": {
|
|
7874
|
+
"schema": {
|
|
7875
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7876
|
+
}
|
|
7877
|
+
}
|
|
7878
|
+
}
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
"/history/delete/{author_vanity}/{work_vanity}": {
|
|
7884
|
+
"parameters": [
|
|
7885
|
+
{
|
|
7886
|
+
"name": "author_vanity",
|
|
7887
|
+
"in": "path"
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"name": "work_vanity",
|
|
7891
|
+
"in": "path"
|
|
7892
|
+
}
|
|
7893
|
+
],
|
|
7894
|
+
"post": {
|
|
7895
|
+
"responses": {
|
|
7896
|
+
"200": {
|
|
7897
|
+
"description": "200 response"
|
|
7898
|
+
},
|
|
7899
|
+
"default": {
|
|
7900
|
+
"description": "Error",
|
|
7901
|
+
"content": {
|
|
7902
|
+
"application/json": {
|
|
7903
|
+
"schema": {
|
|
7904
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7905
|
+
}
|
|
7906
|
+
}
|
|
7907
|
+
}
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
}
|
|
7655
7911
|
}
|
|
7656
7912
|
}
|
|
7657
7913
|
}
|
package/package.json
CHANGED