api.fluff4.me 1.0.585 → 1.0.587
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 +12 -6
- package/openapi.json +49 -24
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -205,6 +205,7 @@ export interface WorkFull {
|
|
|
205
205
|
global_tags?: string[] | null
|
|
206
206
|
synopsis: TextBodyWithAuthor
|
|
207
207
|
custom_tags?: CustomTag[] | null
|
|
208
|
+
last_chapter: string
|
|
208
209
|
}
|
|
209
210
|
|
|
210
211
|
export interface WorkCreateBody {
|
|
@@ -320,6 +321,11 @@ export interface ChapterQueueBody {
|
|
|
320
321
|
notes_after?: string | null
|
|
321
322
|
}
|
|
322
323
|
|
|
324
|
+
export interface QueuedChapterFinaliseFull {
|
|
325
|
+
chapters: QueuedChapterFinalise[]
|
|
326
|
+
position?: ChapterRelativePosition | null
|
|
327
|
+
}
|
|
328
|
+
|
|
323
329
|
export interface QueuedChapterFinalise {
|
|
324
330
|
queue_index: string
|
|
325
331
|
global_tags?: string[] | null
|
|
@@ -327,6 +333,11 @@ export interface QueuedChapterFinalise {
|
|
|
327
333
|
tier_ids?: string[] | null
|
|
328
334
|
}
|
|
329
335
|
|
|
336
|
+
export interface ChapterRelativePosition {
|
|
337
|
+
relative_to: string
|
|
338
|
+
position: "before" | "after"
|
|
339
|
+
}
|
|
340
|
+
|
|
330
341
|
export interface ChapterHasQueue {
|
|
331
342
|
has_queue: boolean
|
|
332
343
|
}
|
|
@@ -359,11 +370,6 @@ export interface ChapterLite {
|
|
|
359
370
|
is_numbered: boolean
|
|
360
371
|
}
|
|
361
372
|
|
|
362
|
-
export interface ChapterRelativePosition {
|
|
363
|
-
relative_to: string
|
|
364
|
-
position: "before" | "after"
|
|
365
|
-
}
|
|
366
|
-
|
|
367
373
|
export type Chapters = ChapterLite[]
|
|
368
374
|
|
|
369
375
|
export interface CampaignTierSetBody {
|
|
@@ -872,7 +878,7 @@ export interface Paths {
|
|
|
872
878
|
},
|
|
873
879
|
"/work/{author}/{vanity}/chapter/create/bulk/finish": {
|
|
874
880
|
method: "post"
|
|
875
|
-
body:
|
|
881
|
+
body: QueuedChapterFinaliseFull
|
|
876
882
|
search?: undefined
|
|
877
883
|
response: void | ErrorResponse
|
|
878
884
|
},
|
package/openapi.json
CHANGED
|
@@ -1076,6 +1076,9 @@
|
|
|
1076
1076
|
"type": "null"
|
|
1077
1077
|
}
|
|
1078
1078
|
]
|
|
1079
|
+
},
|
|
1080
|
+
"last_chapter": {
|
|
1081
|
+
"type": "string"
|
|
1079
1082
|
}
|
|
1080
1083
|
},
|
|
1081
1084
|
"required": [
|
|
@@ -1088,7 +1091,8 @@
|
|
|
1088
1091
|
"chapter_count_public",
|
|
1089
1092
|
"word_count",
|
|
1090
1093
|
"view_count",
|
|
1091
|
-
"synopsis"
|
|
1094
|
+
"synopsis",
|
|
1095
|
+
"last_chapter"
|
|
1092
1096
|
]
|
|
1093
1097
|
},
|
|
1094
1098
|
"WorkCreateBody": {
|
|
@@ -1864,6 +1868,30 @@
|
|
|
1864
1868
|
"body"
|
|
1865
1869
|
]
|
|
1866
1870
|
},
|
|
1871
|
+
"QueuedChapterFinaliseFull": {
|
|
1872
|
+
"type": "object",
|
|
1873
|
+
"properties": {
|
|
1874
|
+
"chapters": {
|
|
1875
|
+
"type": "array",
|
|
1876
|
+
"items": {
|
|
1877
|
+
"$ref": "#/components/schema/QueuedChapterFinalise"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"position": {
|
|
1881
|
+
"anyOf": [
|
|
1882
|
+
{
|
|
1883
|
+
"$ref": "#/components/schema/ChapterRelativePosition"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"type": "null"
|
|
1887
|
+
}
|
|
1888
|
+
]
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"required": [
|
|
1892
|
+
"chapters"
|
|
1893
|
+
]
|
|
1894
|
+
},
|
|
1867
1895
|
"QueuedChapterFinalise": {
|
|
1868
1896
|
"type": "object",
|
|
1869
1897
|
"properties": {
|
|
@@ -1914,6 +1942,25 @@
|
|
|
1914
1942
|
"queue_index"
|
|
1915
1943
|
]
|
|
1916
1944
|
},
|
|
1945
|
+
"ChapterRelativePosition": {
|
|
1946
|
+
"type": "object",
|
|
1947
|
+
"properties": {
|
|
1948
|
+
"relative_to": {
|
|
1949
|
+
"type": "string"
|
|
1950
|
+
},
|
|
1951
|
+
"position": {
|
|
1952
|
+
"type": "string",
|
|
1953
|
+
"enum": [
|
|
1954
|
+
"before",
|
|
1955
|
+
"after"
|
|
1956
|
+
]
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"required": [
|
|
1960
|
+
"relative_to",
|
|
1961
|
+
"position"
|
|
1962
|
+
]
|
|
1963
|
+
},
|
|
1917
1964
|
"ChapterHasQueue": {
|
|
1918
1965
|
"type": "object",
|
|
1919
1966
|
"properties": {
|
|
@@ -2135,25 +2182,6 @@
|
|
|
2135
2182
|
"is_numbered"
|
|
2136
2183
|
]
|
|
2137
2184
|
},
|
|
2138
|
-
"ChapterRelativePosition": {
|
|
2139
|
-
"type": "object",
|
|
2140
|
-
"properties": {
|
|
2141
|
-
"relative_to": {
|
|
2142
|
-
"type": "string"
|
|
2143
|
-
},
|
|
2144
|
-
"position": {
|
|
2145
|
-
"type": "string",
|
|
2146
|
-
"enum": [
|
|
2147
|
-
"before",
|
|
2148
|
-
"after"
|
|
2149
|
-
]
|
|
2150
|
-
}
|
|
2151
|
-
},
|
|
2152
|
-
"required": [
|
|
2153
|
-
"relative_to",
|
|
2154
|
-
"position"
|
|
2155
|
-
]
|
|
2156
|
-
},
|
|
2157
2185
|
"Chapters": {
|
|
2158
2186
|
"type": "array",
|
|
2159
2187
|
"items": {
|
|
@@ -4735,10 +4763,7 @@
|
|
|
4735
4763
|
"content": {
|
|
4736
4764
|
"application/json": {
|
|
4737
4765
|
"schema": {
|
|
4738
|
-
"
|
|
4739
|
-
"items": {
|
|
4740
|
-
"$ref": "#/components/schema/QueuedChapterFinalise"
|
|
4741
|
-
}
|
|
4766
|
+
"$ref": "#/components/schemas/QueuedChapterFinaliseFull"
|
|
4742
4767
|
}
|
|
4743
4768
|
}
|
|
4744
4769
|
}
|
package/package.json
CHANGED