api.fluff4.me 1.0.1088 → 1.0.1091
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 +71 -86
- package/openapi.json +317 -398
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -307,19 +307,32 @@ export interface CommentsResponse {
|
|
|
307
307
|
authors: AuthorMetadata[]
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export interface
|
|
311
|
-
|
|
312
|
-
works: WorkMetadata[]
|
|
310
|
+
export interface ContextualCommentsResponse {
|
|
311
|
+
comments: ContextualComment[]
|
|
313
312
|
authors: AuthorMetadata[]
|
|
313
|
+
works: WorkMetadata[]
|
|
314
|
+
chapters: ChapterMetadata[]
|
|
314
315
|
}
|
|
315
316
|
|
|
316
317
|
export interface RecommendationsSearchSchema {
|
|
317
318
|
following_only?: boolean | null
|
|
318
319
|
}
|
|
319
320
|
|
|
320
|
-
export interface
|
|
321
|
-
|
|
321
|
+
export interface ContextualComment {
|
|
322
|
+
comment: Comment
|
|
323
|
+
root_object: CommentRootComment | CommentRootWork | CommentRootChapter | CommentRootWorkPrivate | CommentRootChapterPrivate
|
|
324
|
+
is_reply?: true | null
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface CommentRootComment {
|
|
328
|
+
comment_id: string
|
|
329
|
+
type: "comment"
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface CommentRootWork {
|
|
322
333
|
work: WorkReference
|
|
334
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
335
|
+
type: "work"
|
|
323
336
|
}
|
|
324
337
|
|
|
325
338
|
export interface WorkReference {
|
|
@@ -327,6 +340,52 @@ export interface WorkReference {
|
|
|
327
340
|
vanity: string
|
|
328
341
|
}
|
|
329
342
|
|
|
343
|
+
export interface CommentRootChapter {
|
|
344
|
+
chapter: ChapterReference
|
|
345
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
346
|
+
type: "chapter"
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface ChapterReference {
|
|
350
|
+
author: string
|
|
351
|
+
work: string
|
|
352
|
+
url: string
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface CommentRootWorkPrivate {
|
|
356
|
+
visibility: "Private"
|
|
357
|
+
type: "work_private"
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export interface CommentRootChapterPrivate {
|
|
361
|
+
visibility: "Private"
|
|
362
|
+
type: "chapter_private"
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface ChapterMetadata {
|
|
366
|
+
url: string
|
|
367
|
+
index_public?: number | null
|
|
368
|
+
name?: string | null
|
|
369
|
+
visibility: ChapterVisibility
|
|
370
|
+
word_count: number
|
|
371
|
+
time_last_update?: string | null
|
|
372
|
+
time_publish?: string | null
|
|
373
|
+
author: string
|
|
374
|
+
work: string
|
|
375
|
+
patreon?: PatreonRestriction | null
|
|
376
|
+
is_numbered: boolean
|
|
377
|
+
statistics?: ChapterStatistics | null
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export type ChapterVisibility = "Private" | "Public" | "Patreon"
|
|
381
|
+
|
|
382
|
+
export interface ChapterStatistics {
|
|
383
|
+
comment_count: number
|
|
384
|
+
reaction_count: number
|
|
385
|
+
read_count: number
|
|
386
|
+
visits: string
|
|
387
|
+
}
|
|
388
|
+
|
|
330
389
|
export interface Work {
|
|
331
390
|
name: string
|
|
332
391
|
description: string
|
|
@@ -451,15 +510,6 @@ export interface ChapterCreateBody {
|
|
|
451
510
|
work?: { status?: WorkStatus | null } | null
|
|
452
511
|
}
|
|
453
512
|
|
|
454
|
-
export type ChapterVisibility = "Private" | "Public" | "Patreon"
|
|
455
|
-
|
|
456
|
-
export interface ChapterStatistics {
|
|
457
|
-
comment_count: number
|
|
458
|
-
reaction_count: number
|
|
459
|
-
read_count: number
|
|
460
|
-
visits: string
|
|
461
|
-
}
|
|
462
|
-
|
|
463
513
|
export interface SupporterReactions {
|
|
464
514
|
reaction_type: "heart"
|
|
465
515
|
author: string
|
|
@@ -520,21 +570,6 @@ export interface ChapterUpdateBody {
|
|
|
520
570
|
work?: { status?: WorkStatus | null } | null
|
|
521
571
|
}
|
|
522
572
|
|
|
523
|
-
export interface ChapterMetadata {
|
|
524
|
-
url: string
|
|
525
|
-
index_public?: number | null
|
|
526
|
-
name?: string | null
|
|
527
|
-
visibility: ChapterVisibility
|
|
528
|
-
word_count: number
|
|
529
|
-
time_last_update?: string | null
|
|
530
|
-
time_publish?: string | null
|
|
531
|
-
author: string
|
|
532
|
-
work: string
|
|
533
|
-
patreon?: PatreonRestriction | null
|
|
534
|
-
is_numbered: boolean
|
|
535
|
-
statistics?: ChapterStatistics | null
|
|
536
|
-
}
|
|
537
|
-
|
|
538
573
|
export type Chapters = ChapterMetadata[]
|
|
539
574
|
|
|
540
575
|
export interface CampaignTierSetBody {
|
|
@@ -597,56 +632,6 @@ export interface RoleReorderBody {
|
|
|
597
632
|
roles: string[]
|
|
598
633
|
}
|
|
599
634
|
|
|
600
|
-
export interface AuthorCommentsResponse {
|
|
601
|
-
comments: AuthorComment[]
|
|
602
|
-
authors: AuthorMetadata[]
|
|
603
|
-
works: WorkMetadata[]
|
|
604
|
-
chapters: ChapterMetadata[]
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
export interface CommentGetAllAuthorSearch {
|
|
608
|
-
filter?: ("chapter" | "work") | null
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export interface AuthorComment {
|
|
612
|
-
comment: Comment
|
|
613
|
-
root_object: CommentRootComment | CommentRootWork | CommentRootChapter | CommentRootWorkPrivate | CommentRootChapterPrivate
|
|
614
|
-
is_reply?: true | null
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
export interface CommentRootComment {
|
|
618
|
-
comment_id: string
|
|
619
|
-
type: "comment"
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
export interface CommentRootWork {
|
|
623
|
-
work: WorkReference
|
|
624
|
-
visibility: "Private" | "Public" | "Patreon"
|
|
625
|
-
type: "work"
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
export interface CommentRootChapter {
|
|
629
|
-
chapter: ChapterReference
|
|
630
|
-
visibility: "Private" | "Public" | "Patreon"
|
|
631
|
-
type: "chapter"
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export interface ChapterReference {
|
|
635
|
-
author: string
|
|
636
|
-
work: string
|
|
637
|
-
url: string
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
export interface CommentRootWorkPrivate {
|
|
641
|
-
visibility: "Private"
|
|
642
|
-
type: "work_private"
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
export interface CommentRootChapterPrivate {
|
|
646
|
-
visibility: "Private"
|
|
647
|
-
type: "chapter_private"
|
|
648
|
-
}
|
|
649
|
-
|
|
650
635
|
export interface Tag {
|
|
651
636
|
name: string
|
|
652
637
|
description: TextBody
|
|
@@ -1111,7 +1096,7 @@ export interface Shelves {
|
|
|
1111
1096
|
}
|
|
1112
1097
|
|
|
1113
1098
|
export interface ShelvesPreviewResponse {
|
|
1114
|
-
|
|
1099
|
+
comments: ContextualComment[]
|
|
1115
1100
|
shelves: ShelvesPreview[]
|
|
1116
1101
|
authors: AuthorMetadata[]
|
|
1117
1102
|
works: WorkMetadata[]
|
|
@@ -1361,7 +1346,7 @@ export interface Paths {
|
|
|
1361
1346
|
method: "get"
|
|
1362
1347
|
body?: undefined
|
|
1363
1348
|
search: RecommendationsSearchSchema & PaginationSearch
|
|
1364
|
-
response: PaginatedResponse<
|
|
1349
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1365
1350
|
},
|
|
1366
1351
|
"/work/create": {
|
|
1367
1352
|
method: "post"
|
|
@@ -1834,20 +1819,20 @@ export interface Paths {
|
|
|
1834
1819
|
"/comments/author/{vanity}": {
|
|
1835
1820
|
method: "get"
|
|
1836
1821
|
body?: undefined
|
|
1837
|
-
search:
|
|
1838
|
-
response: PaginatedResponse<
|
|
1822
|
+
search: PaginationSearch
|
|
1823
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1839
1824
|
},
|
|
1840
1825
|
"/comments/author/{vanity}/chapter": {
|
|
1841
1826
|
method: "get"
|
|
1842
1827
|
body?: undefined
|
|
1843
1828
|
search: PaginationSearch
|
|
1844
|
-
response: PaginatedResponse<
|
|
1829
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1845
1830
|
},
|
|
1846
1831
|
"/comments/author/{vanity}/work": {
|
|
1847
1832
|
method: "get"
|
|
1848
1833
|
body?: undefined
|
|
1849
1834
|
search: PaginationSearch
|
|
1850
|
-
response: PaginatedResponse<
|
|
1835
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1851
1836
|
},
|
|
1852
1837
|
"/patreon/campaign/tiers/get": {
|
|
1853
1838
|
method: "get"
|
|
@@ -2351,6 +2336,6 @@ export interface Paths {
|
|
|
2351
2336
|
method: "get"
|
|
2352
2337
|
body?: undefined
|
|
2353
2338
|
search: RecommendationsSearchSchema & PaginationSearch
|
|
2354
|
-
response: PaginatedResponse<
|
|
2339
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
2355
2340
|
},
|
|
2356
2341
|
}
|
package/openapi.json
CHANGED
|
@@ -1855,13 +1855,19 @@
|
|
|
1855
1855
|
"authors"
|
|
1856
1856
|
]
|
|
1857
1857
|
},
|
|
1858
|
-
"
|
|
1858
|
+
"ContextualCommentsResponse": {
|
|
1859
1859
|
"type": "object",
|
|
1860
1860
|
"properties": {
|
|
1861
|
-
"
|
|
1861
|
+
"comments": {
|
|
1862
1862
|
"type": "array",
|
|
1863
1863
|
"items": {
|
|
1864
|
-
"$ref": "#/components/schema/
|
|
1864
|
+
"$ref": "#/components/schema/ContextualComment"
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
"authors": {
|
|
1868
|
+
"type": "array",
|
|
1869
|
+
"items": {
|
|
1870
|
+
"$ref": "#/components/schema/AuthorMetadata"
|
|
1865
1871
|
}
|
|
1866
1872
|
},
|
|
1867
1873
|
"works": {
|
|
@@ -1870,17 +1876,18 @@
|
|
|
1870
1876
|
"$ref": "#/components/schema/WorkMetadata"
|
|
1871
1877
|
}
|
|
1872
1878
|
},
|
|
1873
|
-
"
|
|
1879
|
+
"chapters": {
|
|
1874
1880
|
"type": "array",
|
|
1875
1881
|
"items": {
|
|
1876
|
-
"$ref": "#/components/schema/
|
|
1882
|
+
"$ref": "#/components/schema/ChapterMetadata"
|
|
1877
1883
|
}
|
|
1878
1884
|
}
|
|
1879
1885
|
},
|
|
1880
1886
|
"required": [
|
|
1881
|
-
"
|
|
1887
|
+
"comments",
|
|
1888
|
+
"authors",
|
|
1882
1889
|
"works",
|
|
1883
|
-
"
|
|
1890
|
+
"chapters"
|
|
1884
1891
|
]
|
|
1885
1892
|
},
|
|
1886
1893
|
"RecommendationsSearchSchema": {
|
|
@@ -1898,19 +1905,93 @@
|
|
|
1898
1905
|
}
|
|
1899
1906
|
}
|
|
1900
1907
|
},
|
|
1901
|
-
"
|
|
1908
|
+
"ContextualComment": {
|
|
1902
1909
|
"type": "object",
|
|
1903
1910
|
"properties": {
|
|
1904
|
-
"
|
|
1911
|
+
"comment": {
|
|
1905
1912
|
"$ref": "#/components/schema/Comment"
|
|
1906
1913
|
},
|
|
1914
|
+
"root_object": {
|
|
1915
|
+
"anyOf": [
|
|
1916
|
+
{
|
|
1917
|
+
"$ref": "#/components/schema/CommentRootComment"
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"$ref": "#/components/schema/CommentRootWork"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"$ref": "#/components/schema/CommentRootChapter"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"$ref": "#/components/schema/CommentRootWorkPrivate"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"$ref": "#/components/schema/CommentRootChapterPrivate"
|
|
1930
|
+
}
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1933
|
+
"is_reply": {
|
|
1934
|
+
"anyOf": [
|
|
1935
|
+
{
|
|
1936
|
+
"type": "boolean",
|
|
1937
|
+
"enum": [
|
|
1938
|
+
true
|
|
1939
|
+
]
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"type": "null"
|
|
1943
|
+
}
|
|
1944
|
+
]
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
"required": [
|
|
1948
|
+
"comment",
|
|
1949
|
+
"root_object"
|
|
1950
|
+
]
|
|
1951
|
+
},
|
|
1952
|
+
"CommentRootComment": {
|
|
1953
|
+
"type": "object",
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"comment_id": {
|
|
1956
|
+
"type": "string"
|
|
1957
|
+
},
|
|
1958
|
+
"type": {
|
|
1959
|
+
"type": "string",
|
|
1960
|
+
"enum": [
|
|
1961
|
+
"comment"
|
|
1962
|
+
]
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
"required": [
|
|
1966
|
+
"comment_id",
|
|
1967
|
+
"type"
|
|
1968
|
+
]
|
|
1969
|
+
},
|
|
1970
|
+
"CommentRootWork": {
|
|
1971
|
+
"type": "object",
|
|
1972
|
+
"properties": {
|
|
1907
1973
|
"work": {
|
|
1908
1974
|
"$ref": "#/components/schema/WorkReference"
|
|
1975
|
+
},
|
|
1976
|
+
"visibility": {
|
|
1977
|
+
"type": "string",
|
|
1978
|
+
"enum": [
|
|
1979
|
+
"Private",
|
|
1980
|
+
"Public",
|
|
1981
|
+
"Patreon"
|
|
1982
|
+
]
|
|
1983
|
+
},
|
|
1984
|
+
"type": {
|
|
1985
|
+
"type": "string",
|
|
1986
|
+
"enum": [
|
|
1987
|
+
"work"
|
|
1988
|
+
]
|
|
1909
1989
|
}
|
|
1910
1990
|
},
|
|
1911
1991
|
"required": [
|
|
1912
|
-
"
|
|
1913
|
-
"
|
|
1992
|
+
"work",
|
|
1993
|
+
"visibility",
|
|
1994
|
+
"type"
|
|
1914
1995
|
]
|
|
1915
1996
|
},
|
|
1916
1997
|
"WorkReference": {
|
|
@@ -1928,6 +2009,218 @@
|
|
|
1928
2009
|
"vanity"
|
|
1929
2010
|
]
|
|
1930
2011
|
},
|
|
2012
|
+
"CommentRootChapter": {
|
|
2013
|
+
"type": "object",
|
|
2014
|
+
"properties": {
|
|
2015
|
+
"chapter": {
|
|
2016
|
+
"$ref": "#/components/schema/ChapterReference"
|
|
2017
|
+
},
|
|
2018
|
+
"visibility": {
|
|
2019
|
+
"type": "string",
|
|
2020
|
+
"enum": [
|
|
2021
|
+
"Private",
|
|
2022
|
+
"Public",
|
|
2023
|
+
"Patreon"
|
|
2024
|
+
]
|
|
2025
|
+
},
|
|
2026
|
+
"type": {
|
|
2027
|
+
"type": "string",
|
|
2028
|
+
"enum": [
|
|
2029
|
+
"chapter"
|
|
2030
|
+
]
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"required": [
|
|
2034
|
+
"chapter",
|
|
2035
|
+
"visibility",
|
|
2036
|
+
"type"
|
|
2037
|
+
]
|
|
2038
|
+
},
|
|
2039
|
+
"ChapterReference": {
|
|
2040
|
+
"type": "object",
|
|
2041
|
+
"properties": {
|
|
2042
|
+
"author": {
|
|
2043
|
+
"type": "string"
|
|
2044
|
+
},
|
|
2045
|
+
"work": {
|
|
2046
|
+
"type": "string"
|
|
2047
|
+
},
|
|
2048
|
+
"url": {
|
|
2049
|
+
"type": "string"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
"required": [
|
|
2053
|
+
"author",
|
|
2054
|
+
"work",
|
|
2055
|
+
"url"
|
|
2056
|
+
]
|
|
2057
|
+
},
|
|
2058
|
+
"CommentRootWorkPrivate": {
|
|
2059
|
+
"type": "object",
|
|
2060
|
+
"properties": {
|
|
2061
|
+
"visibility": {
|
|
2062
|
+
"type": "string",
|
|
2063
|
+
"enum": [
|
|
2064
|
+
"Private"
|
|
2065
|
+
]
|
|
2066
|
+
},
|
|
2067
|
+
"type": {
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"enum": [
|
|
2070
|
+
"work_private"
|
|
2071
|
+
]
|
|
2072
|
+
}
|
|
2073
|
+
},
|
|
2074
|
+
"required": [
|
|
2075
|
+
"visibility",
|
|
2076
|
+
"type"
|
|
2077
|
+
]
|
|
2078
|
+
},
|
|
2079
|
+
"CommentRootChapterPrivate": {
|
|
2080
|
+
"type": "object",
|
|
2081
|
+
"properties": {
|
|
2082
|
+
"visibility": {
|
|
2083
|
+
"type": "string",
|
|
2084
|
+
"enum": [
|
|
2085
|
+
"Private"
|
|
2086
|
+
]
|
|
2087
|
+
},
|
|
2088
|
+
"type": {
|
|
2089
|
+
"type": "string",
|
|
2090
|
+
"enum": [
|
|
2091
|
+
"chapter_private"
|
|
2092
|
+
]
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2095
|
+
"required": [
|
|
2096
|
+
"visibility",
|
|
2097
|
+
"type"
|
|
2098
|
+
]
|
|
2099
|
+
},
|
|
2100
|
+
"ChapterMetadata": {
|
|
2101
|
+
"type": "object",
|
|
2102
|
+
"properties": {
|
|
2103
|
+
"url": {
|
|
2104
|
+
"type": "string"
|
|
2105
|
+
},
|
|
2106
|
+
"index_public": {
|
|
2107
|
+
"anyOf": [
|
|
2108
|
+
{
|
|
2109
|
+
"type": "number"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"type": "null"
|
|
2113
|
+
}
|
|
2114
|
+
]
|
|
2115
|
+
},
|
|
2116
|
+
"name": {
|
|
2117
|
+
"anyOf": [
|
|
2118
|
+
{
|
|
2119
|
+
"type": "string",
|
|
2120
|
+
"minLength": 1,
|
|
2121
|
+
"maxLength": 256
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"type": "null"
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
"visibility": {
|
|
2129
|
+
"$ref": "#/components/schema/ChapterVisibility"
|
|
2130
|
+
},
|
|
2131
|
+
"word_count": {
|
|
2132
|
+
"type": "number"
|
|
2133
|
+
},
|
|
2134
|
+
"time_last_update": {
|
|
2135
|
+
"anyOf": [
|
|
2136
|
+
{
|
|
2137
|
+
"type": "string"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"type": "null"
|
|
2141
|
+
}
|
|
2142
|
+
]
|
|
2143
|
+
},
|
|
2144
|
+
"time_publish": {
|
|
2145
|
+
"anyOf": [
|
|
2146
|
+
{
|
|
2147
|
+
"type": "string"
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"type": "null"
|
|
2151
|
+
}
|
|
2152
|
+
]
|
|
2153
|
+
},
|
|
2154
|
+
"author": {
|
|
2155
|
+
"type": "string"
|
|
2156
|
+
},
|
|
2157
|
+
"work": {
|
|
2158
|
+
"type": "string"
|
|
2159
|
+
},
|
|
2160
|
+
"patreon": {
|
|
2161
|
+
"anyOf": [
|
|
2162
|
+
{
|
|
2163
|
+
"$ref": "#/components/schema/PatreonRestriction"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"type": "null"
|
|
2167
|
+
}
|
|
2168
|
+
]
|
|
2169
|
+
},
|
|
2170
|
+
"is_numbered": {
|
|
2171
|
+
"type": "boolean"
|
|
2172
|
+
},
|
|
2173
|
+
"statistics": {
|
|
2174
|
+
"anyOf": [
|
|
2175
|
+
{
|
|
2176
|
+
"$ref": "#/components/schema/ChapterStatistics"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"type": "null"
|
|
2180
|
+
}
|
|
2181
|
+
]
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
"required": [
|
|
2185
|
+
"url",
|
|
2186
|
+
"visibility",
|
|
2187
|
+
"word_count",
|
|
2188
|
+
"author",
|
|
2189
|
+
"work",
|
|
2190
|
+
"is_numbered"
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
"ChapterVisibility": {
|
|
2194
|
+
"type": "string",
|
|
2195
|
+
"enum": [
|
|
2196
|
+
"Private",
|
|
2197
|
+
"Public",
|
|
2198
|
+
"Patreon"
|
|
2199
|
+
]
|
|
2200
|
+
},
|
|
2201
|
+
"ChapterStatistics": {
|
|
2202
|
+
"type": "object",
|
|
2203
|
+
"properties": {
|
|
2204
|
+
"comment_count": {
|
|
2205
|
+
"type": "number"
|
|
2206
|
+
},
|
|
2207
|
+
"reaction_count": {
|
|
2208
|
+
"type": "number"
|
|
2209
|
+
},
|
|
2210
|
+
"read_count": {
|
|
2211
|
+
"type": "number"
|
|
2212
|
+
},
|
|
2213
|
+
"visits": {
|
|
2214
|
+
"type": "string"
|
|
2215
|
+
}
|
|
2216
|
+
},
|
|
2217
|
+
"required": [
|
|
2218
|
+
"comment_count",
|
|
2219
|
+
"reaction_count",
|
|
2220
|
+
"read_count",
|
|
2221
|
+
"visits"
|
|
2222
|
+
]
|
|
2223
|
+
},
|
|
1931
2224
|
"Work": {
|
|
1932
2225
|
"type": "object",
|
|
1933
2226
|
"properties": {
|
|
@@ -2896,37 +3189,6 @@
|
|
|
2896
3189
|
"body"
|
|
2897
3190
|
]
|
|
2898
3191
|
},
|
|
2899
|
-
"ChapterVisibility": {
|
|
2900
|
-
"type": "string",
|
|
2901
|
-
"enum": [
|
|
2902
|
-
"Private",
|
|
2903
|
-
"Public",
|
|
2904
|
-
"Patreon"
|
|
2905
|
-
]
|
|
2906
|
-
},
|
|
2907
|
-
"ChapterStatistics": {
|
|
2908
|
-
"type": "object",
|
|
2909
|
-
"properties": {
|
|
2910
|
-
"comment_count": {
|
|
2911
|
-
"type": "number"
|
|
2912
|
-
},
|
|
2913
|
-
"reaction_count": {
|
|
2914
|
-
"type": "number"
|
|
2915
|
-
},
|
|
2916
|
-
"read_count": {
|
|
2917
|
-
"type": "number"
|
|
2918
|
-
},
|
|
2919
|
-
"visits": {
|
|
2920
|
-
"type": "string"
|
|
2921
|
-
}
|
|
2922
|
-
},
|
|
2923
|
-
"required": [
|
|
2924
|
-
"comment_count",
|
|
2925
|
-
"reaction_count",
|
|
2926
|
-
"read_count",
|
|
2927
|
-
"visits"
|
|
2928
|
-
]
|
|
2929
|
-
},
|
|
2930
3192
|
"SupporterReactions": {
|
|
2931
3193
|
"type": "object",
|
|
2932
3194
|
"properties": {
|
|
@@ -3350,110 +3612,17 @@
|
|
|
3350
3612
|
},
|
|
3351
3613
|
{
|
|
3352
3614
|
"type": "null"
|
|
3353
|
-
}
|
|
3354
|
-
]
|
|
3355
|
-
}
|
|
3356
|
-
}
|
|
3357
|
-
},
|
|
3358
|
-
{
|
|
3359
|
-
"type": "null"
|
|
3360
|
-
}
|
|
3361
|
-
]
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
},
|
|
3365
|
-
"ChapterMetadata": {
|
|
3366
|
-
"type": "object",
|
|
3367
|
-
"properties": {
|
|
3368
|
-
"url": {
|
|
3369
|
-
"type": "string"
|
|
3370
|
-
},
|
|
3371
|
-
"index_public": {
|
|
3372
|
-
"anyOf": [
|
|
3373
|
-
{
|
|
3374
|
-
"type": "number"
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"type": "null"
|
|
3378
|
-
}
|
|
3379
|
-
]
|
|
3380
|
-
},
|
|
3381
|
-
"name": {
|
|
3382
|
-
"anyOf": [
|
|
3383
|
-
{
|
|
3384
|
-
"type": "string",
|
|
3385
|
-
"minLength": 1,
|
|
3386
|
-
"maxLength": 256
|
|
3387
|
-
},
|
|
3388
|
-
{
|
|
3389
|
-
"type": "null"
|
|
3390
|
-
}
|
|
3391
|
-
]
|
|
3392
|
-
},
|
|
3393
|
-
"visibility": {
|
|
3394
|
-
"$ref": "#/components/schema/ChapterVisibility"
|
|
3395
|
-
},
|
|
3396
|
-
"word_count": {
|
|
3397
|
-
"type": "number"
|
|
3398
|
-
},
|
|
3399
|
-
"time_last_update": {
|
|
3400
|
-
"anyOf": [
|
|
3401
|
-
{
|
|
3402
|
-
"type": "string"
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"type": "null"
|
|
3406
|
-
}
|
|
3407
|
-
]
|
|
3408
|
-
},
|
|
3409
|
-
"time_publish": {
|
|
3410
|
-
"anyOf": [
|
|
3411
|
-
{
|
|
3412
|
-
"type": "string"
|
|
3413
|
-
},
|
|
3414
|
-
{
|
|
3415
|
-
"type": "null"
|
|
3416
|
-
}
|
|
3417
|
-
]
|
|
3418
|
-
},
|
|
3419
|
-
"author": {
|
|
3420
|
-
"type": "string"
|
|
3421
|
-
},
|
|
3422
|
-
"work": {
|
|
3423
|
-
"type": "string"
|
|
3424
|
-
},
|
|
3425
|
-
"patreon": {
|
|
3426
|
-
"anyOf": [
|
|
3427
|
-
{
|
|
3428
|
-
"$ref": "#/components/schema/PatreonRestriction"
|
|
3429
|
-
},
|
|
3430
|
-
{
|
|
3431
|
-
"type": "null"
|
|
3432
|
-
}
|
|
3433
|
-
]
|
|
3434
|
-
},
|
|
3435
|
-
"is_numbered": {
|
|
3436
|
-
"type": "boolean"
|
|
3437
|
-
},
|
|
3438
|
-
"statistics": {
|
|
3439
|
-
"anyOf": [
|
|
3440
|
-
{
|
|
3441
|
-
"$ref": "#/components/schema/ChapterStatistics"
|
|
3615
|
+
}
|
|
3616
|
+
]
|
|
3617
|
+
}
|
|
3618
|
+
}
|
|
3442
3619
|
},
|
|
3443
3620
|
{
|
|
3444
3621
|
"type": "null"
|
|
3445
3622
|
}
|
|
3446
3623
|
]
|
|
3447
3624
|
}
|
|
3448
|
-
}
|
|
3449
|
-
"required": [
|
|
3450
|
-
"url",
|
|
3451
|
-
"visibility",
|
|
3452
|
-
"word_count",
|
|
3453
|
-
"author",
|
|
3454
|
-
"work",
|
|
3455
|
-
"is_numbered"
|
|
3456
|
-
]
|
|
3625
|
+
}
|
|
3457
3626
|
},
|
|
3458
3627
|
"Chapters": {
|
|
3459
3628
|
"type": "array",
|
|
@@ -3762,237 +3931,6 @@
|
|
|
3762
3931
|
"roles"
|
|
3763
3932
|
]
|
|
3764
3933
|
},
|
|
3765
|
-
"AuthorCommentsResponse": {
|
|
3766
|
-
"type": "object",
|
|
3767
|
-
"properties": {
|
|
3768
|
-
"comments": {
|
|
3769
|
-
"type": "array",
|
|
3770
|
-
"items": {
|
|
3771
|
-
"$ref": "#/components/schema/AuthorComment"
|
|
3772
|
-
}
|
|
3773
|
-
},
|
|
3774
|
-
"authors": {
|
|
3775
|
-
"type": "array",
|
|
3776
|
-
"items": {
|
|
3777
|
-
"$ref": "#/components/schema/AuthorMetadata"
|
|
3778
|
-
}
|
|
3779
|
-
},
|
|
3780
|
-
"works": {
|
|
3781
|
-
"type": "array",
|
|
3782
|
-
"items": {
|
|
3783
|
-
"$ref": "#/components/schema/WorkMetadata"
|
|
3784
|
-
}
|
|
3785
|
-
},
|
|
3786
|
-
"chapters": {
|
|
3787
|
-
"type": "array",
|
|
3788
|
-
"items": {
|
|
3789
|
-
"$ref": "#/components/schema/ChapterMetadata"
|
|
3790
|
-
}
|
|
3791
|
-
}
|
|
3792
|
-
},
|
|
3793
|
-
"required": [
|
|
3794
|
-
"comments",
|
|
3795
|
-
"authors",
|
|
3796
|
-
"works",
|
|
3797
|
-
"chapters"
|
|
3798
|
-
]
|
|
3799
|
-
},
|
|
3800
|
-
"CommentGetAllAuthorSearch": {
|
|
3801
|
-
"type": "object",
|
|
3802
|
-
"properties": {
|
|
3803
|
-
"filter": {
|
|
3804
|
-
"anyOf": [
|
|
3805
|
-
{
|
|
3806
|
-
"type": "string",
|
|
3807
|
-
"enum": [
|
|
3808
|
-
"chapter",
|
|
3809
|
-
"work"
|
|
3810
|
-
]
|
|
3811
|
-
},
|
|
3812
|
-
{
|
|
3813
|
-
"type": "null"
|
|
3814
|
-
}
|
|
3815
|
-
]
|
|
3816
|
-
}
|
|
3817
|
-
}
|
|
3818
|
-
},
|
|
3819
|
-
"AuthorComment": {
|
|
3820
|
-
"type": "object",
|
|
3821
|
-
"properties": {
|
|
3822
|
-
"comment": {
|
|
3823
|
-
"$ref": "#/components/schema/Comment"
|
|
3824
|
-
},
|
|
3825
|
-
"root_object": {
|
|
3826
|
-
"anyOf": [
|
|
3827
|
-
{
|
|
3828
|
-
"$ref": "#/components/schema/CommentRootComment"
|
|
3829
|
-
},
|
|
3830
|
-
{
|
|
3831
|
-
"$ref": "#/components/schema/CommentRootWork"
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"$ref": "#/components/schema/CommentRootChapter"
|
|
3835
|
-
},
|
|
3836
|
-
{
|
|
3837
|
-
"$ref": "#/components/schema/CommentRootWorkPrivate"
|
|
3838
|
-
},
|
|
3839
|
-
{
|
|
3840
|
-
"$ref": "#/components/schema/CommentRootChapterPrivate"
|
|
3841
|
-
}
|
|
3842
|
-
]
|
|
3843
|
-
},
|
|
3844
|
-
"is_reply": {
|
|
3845
|
-
"anyOf": [
|
|
3846
|
-
{
|
|
3847
|
-
"type": "boolean",
|
|
3848
|
-
"enum": [
|
|
3849
|
-
true
|
|
3850
|
-
]
|
|
3851
|
-
},
|
|
3852
|
-
{
|
|
3853
|
-
"type": "null"
|
|
3854
|
-
}
|
|
3855
|
-
]
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
|
-
"required": [
|
|
3859
|
-
"comment",
|
|
3860
|
-
"root_object"
|
|
3861
|
-
]
|
|
3862
|
-
},
|
|
3863
|
-
"CommentRootComment": {
|
|
3864
|
-
"type": "object",
|
|
3865
|
-
"properties": {
|
|
3866
|
-
"comment_id": {
|
|
3867
|
-
"type": "string"
|
|
3868
|
-
},
|
|
3869
|
-
"type": {
|
|
3870
|
-
"type": "string",
|
|
3871
|
-
"enum": [
|
|
3872
|
-
"comment"
|
|
3873
|
-
]
|
|
3874
|
-
}
|
|
3875
|
-
},
|
|
3876
|
-
"required": [
|
|
3877
|
-
"comment_id",
|
|
3878
|
-
"type"
|
|
3879
|
-
]
|
|
3880
|
-
},
|
|
3881
|
-
"CommentRootWork": {
|
|
3882
|
-
"type": "object",
|
|
3883
|
-
"properties": {
|
|
3884
|
-
"work": {
|
|
3885
|
-
"$ref": "#/components/schema/WorkReference"
|
|
3886
|
-
},
|
|
3887
|
-
"visibility": {
|
|
3888
|
-
"type": "string",
|
|
3889
|
-
"enum": [
|
|
3890
|
-
"Private",
|
|
3891
|
-
"Public",
|
|
3892
|
-
"Patreon"
|
|
3893
|
-
]
|
|
3894
|
-
},
|
|
3895
|
-
"type": {
|
|
3896
|
-
"type": "string",
|
|
3897
|
-
"enum": [
|
|
3898
|
-
"work"
|
|
3899
|
-
]
|
|
3900
|
-
}
|
|
3901
|
-
},
|
|
3902
|
-
"required": [
|
|
3903
|
-
"work",
|
|
3904
|
-
"visibility",
|
|
3905
|
-
"type"
|
|
3906
|
-
]
|
|
3907
|
-
},
|
|
3908
|
-
"CommentRootChapter": {
|
|
3909
|
-
"type": "object",
|
|
3910
|
-
"properties": {
|
|
3911
|
-
"chapter": {
|
|
3912
|
-
"$ref": "#/components/schema/ChapterReference"
|
|
3913
|
-
},
|
|
3914
|
-
"visibility": {
|
|
3915
|
-
"type": "string",
|
|
3916
|
-
"enum": [
|
|
3917
|
-
"Private",
|
|
3918
|
-
"Public",
|
|
3919
|
-
"Patreon"
|
|
3920
|
-
]
|
|
3921
|
-
},
|
|
3922
|
-
"type": {
|
|
3923
|
-
"type": "string",
|
|
3924
|
-
"enum": [
|
|
3925
|
-
"chapter"
|
|
3926
|
-
]
|
|
3927
|
-
}
|
|
3928
|
-
},
|
|
3929
|
-
"required": [
|
|
3930
|
-
"chapter",
|
|
3931
|
-
"visibility",
|
|
3932
|
-
"type"
|
|
3933
|
-
]
|
|
3934
|
-
},
|
|
3935
|
-
"ChapterReference": {
|
|
3936
|
-
"type": "object",
|
|
3937
|
-
"properties": {
|
|
3938
|
-
"author": {
|
|
3939
|
-
"type": "string"
|
|
3940
|
-
},
|
|
3941
|
-
"work": {
|
|
3942
|
-
"type": "string"
|
|
3943
|
-
},
|
|
3944
|
-
"url": {
|
|
3945
|
-
"type": "string"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
"required": [
|
|
3949
|
-
"author",
|
|
3950
|
-
"work",
|
|
3951
|
-
"url"
|
|
3952
|
-
]
|
|
3953
|
-
},
|
|
3954
|
-
"CommentRootWorkPrivate": {
|
|
3955
|
-
"type": "object",
|
|
3956
|
-
"properties": {
|
|
3957
|
-
"visibility": {
|
|
3958
|
-
"type": "string",
|
|
3959
|
-
"enum": [
|
|
3960
|
-
"Private"
|
|
3961
|
-
]
|
|
3962
|
-
},
|
|
3963
|
-
"type": {
|
|
3964
|
-
"type": "string",
|
|
3965
|
-
"enum": [
|
|
3966
|
-
"work_private"
|
|
3967
|
-
]
|
|
3968
|
-
}
|
|
3969
|
-
},
|
|
3970
|
-
"required": [
|
|
3971
|
-
"visibility",
|
|
3972
|
-
"type"
|
|
3973
|
-
]
|
|
3974
|
-
},
|
|
3975
|
-
"CommentRootChapterPrivate": {
|
|
3976
|
-
"type": "object",
|
|
3977
|
-
"properties": {
|
|
3978
|
-
"visibility": {
|
|
3979
|
-
"type": "string",
|
|
3980
|
-
"enum": [
|
|
3981
|
-
"Private"
|
|
3982
|
-
]
|
|
3983
|
-
},
|
|
3984
|
-
"type": {
|
|
3985
|
-
"type": "string",
|
|
3986
|
-
"enum": [
|
|
3987
|
-
"chapter_private"
|
|
3988
|
-
]
|
|
3989
|
-
}
|
|
3990
|
-
},
|
|
3991
|
-
"required": [
|
|
3992
|
-
"visibility",
|
|
3993
|
-
"type"
|
|
3994
|
-
]
|
|
3995
|
-
},
|
|
3996
3934
|
"Tag": {
|
|
3997
3935
|
"type": "object",
|
|
3998
3936
|
"properties": {
|
|
@@ -6541,10 +6479,10 @@
|
|
|
6541
6479
|
"ShelvesPreviewResponse": {
|
|
6542
6480
|
"type": "object",
|
|
6543
6481
|
"properties": {
|
|
6544
|
-
"
|
|
6482
|
+
"comments": {
|
|
6545
6483
|
"type": "array",
|
|
6546
6484
|
"items": {
|
|
6547
|
-
"$ref": "#/components/schema/
|
|
6485
|
+
"$ref": "#/components/schema/ContextualComment"
|
|
6548
6486
|
}
|
|
6549
6487
|
},
|
|
6550
6488
|
"shelves": {
|
|
@@ -6567,7 +6505,7 @@
|
|
|
6567
6505
|
}
|
|
6568
6506
|
},
|
|
6569
6507
|
"required": [
|
|
6570
|
-
"
|
|
6508
|
+
"comments",
|
|
6571
6509
|
"shelves",
|
|
6572
6510
|
"authors",
|
|
6573
6511
|
"works"
|
|
@@ -7909,7 +7847,7 @@
|
|
|
7909
7847
|
"type": "object",
|
|
7910
7848
|
"properties": {
|
|
7911
7849
|
"data": {
|
|
7912
|
-
"$ref": "#/components/schemas/
|
|
7850
|
+
"$ref": "#/components/schemas/ContextualCommentsResponse"
|
|
7913
7851
|
},
|
|
7914
7852
|
"has_more": {
|
|
7915
7853
|
"type": "boolean"
|
|
@@ -11553,25 +11491,6 @@
|
|
|
11553
11491
|
"minimum": 1,
|
|
11554
11492
|
"maximum": 25
|
|
11555
11493
|
}
|
|
11556
|
-
},
|
|
11557
|
-
{
|
|
11558
|
-
"name": "filter",
|
|
11559
|
-
"in": "query",
|
|
11560
|
-
"required": false,
|
|
11561
|
-
"schema": {
|
|
11562
|
-
"anyOf": [
|
|
11563
|
-
{
|
|
11564
|
-
"type": "string",
|
|
11565
|
-
"enum": [
|
|
11566
|
-
"chapter",
|
|
11567
|
-
"work"
|
|
11568
|
-
]
|
|
11569
|
-
},
|
|
11570
|
-
{
|
|
11571
|
-
"type": "null"
|
|
11572
|
-
}
|
|
11573
|
-
]
|
|
11574
|
-
}
|
|
11575
11494
|
}
|
|
11576
11495
|
],
|
|
11577
11496
|
"responses": {
|
|
@@ -11583,7 +11502,7 @@
|
|
|
11583
11502
|
"type": "object",
|
|
11584
11503
|
"properties": {
|
|
11585
11504
|
"data": {
|
|
11586
|
-
"$ref": "#/components/schemas/
|
|
11505
|
+
"$ref": "#/components/schemas/ContextualCommentsResponse"
|
|
11587
11506
|
},
|
|
11588
11507
|
"has_more": {
|
|
11589
11508
|
"type": "boolean"
|
|
@@ -11675,7 +11594,7 @@
|
|
|
11675
11594
|
"type": "object",
|
|
11676
11595
|
"properties": {
|
|
11677
11596
|
"data": {
|
|
11678
|
-
"$ref": "#/components/schemas/
|
|
11597
|
+
"$ref": "#/components/schemas/ContextualCommentsResponse"
|
|
11679
11598
|
},
|
|
11680
11599
|
"has_more": {
|
|
11681
11600
|
"type": "boolean"
|
|
@@ -11767,7 +11686,7 @@
|
|
|
11767
11686
|
"type": "object",
|
|
11768
11687
|
"properties": {
|
|
11769
11688
|
"data": {
|
|
11770
|
-
"$ref": "#/components/schemas/
|
|
11689
|
+
"$ref": "#/components/schemas/ContextualCommentsResponse"
|
|
11771
11690
|
},
|
|
11772
11691
|
"has_more": {
|
|
11773
11692
|
"type": "boolean"
|
|
@@ -15642,7 +15561,7 @@
|
|
|
15642
15561
|
"type": "object",
|
|
15643
15562
|
"properties": {
|
|
15644
15563
|
"data": {
|
|
15645
|
-
"$ref": "#/components/schemas/
|
|
15564
|
+
"$ref": "#/components/schemas/ContextualCommentsResponse"
|
|
15646
15565
|
},
|
|
15647
15566
|
"has_more": {
|
|
15648
15567
|
"type": "boolean"
|
package/package.json
CHANGED