api.fluff4.me 1.0.1142 → 1.0.1145
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 +40 -0
- package/openapi.json +166 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -110,6 +110,8 @@ export interface WorkMetadata {
|
|
|
110
110
|
description: string
|
|
111
111
|
vanity: string
|
|
112
112
|
author: string
|
|
113
|
+
author_vanity: string
|
|
114
|
+
work_vanity: string
|
|
113
115
|
status: WorkStatus
|
|
114
116
|
visibility: WorkVisibility
|
|
115
117
|
chapter_count_public: number
|
|
@@ -276,6 +278,8 @@ export interface Work {
|
|
|
276
278
|
description: string
|
|
277
279
|
vanity: string
|
|
278
280
|
author: string
|
|
281
|
+
author_vanity: string
|
|
282
|
+
work_vanity: string
|
|
279
283
|
status: WorkStatus
|
|
280
284
|
visibility: WorkVisibility
|
|
281
285
|
chapter_count_public: number
|
|
@@ -396,6 +400,9 @@ export interface Chapter {
|
|
|
396
400
|
patreon?: PatreonRestriction | null
|
|
397
401
|
is_numbered: boolean
|
|
398
402
|
statistics?: ChapterStatistics | null
|
|
403
|
+
author_vanity: string
|
|
404
|
+
work_vanity: string
|
|
405
|
+
chapter_url: string
|
|
399
406
|
body: string
|
|
400
407
|
index: number
|
|
401
408
|
notes_before?: string | null
|
|
@@ -464,6 +471,9 @@ export interface ChapterMetadata {
|
|
|
464
471
|
patreon?: PatreonRestriction | null
|
|
465
472
|
is_numbered: boolean
|
|
466
473
|
statistics?: ChapterStatistics | null
|
|
474
|
+
author_vanity: string
|
|
475
|
+
work_vanity: string
|
|
476
|
+
chapter_url: string
|
|
467
477
|
}
|
|
468
478
|
|
|
469
479
|
export interface ChapterRelativePosition {
|
|
@@ -1144,12 +1154,30 @@ export interface Paths {
|
|
|
1144
1154
|
search?: undefined
|
|
1145
1155
|
response: void | ErrorResponse
|
|
1146
1156
|
},
|
|
1157
|
+
"/test/redirect": {
|
|
1158
|
+
method: "get"
|
|
1159
|
+
body?: undefined
|
|
1160
|
+
search?: undefined
|
|
1161
|
+
response: void | ErrorResponse
|
|
1162
|
+
},
|
|
1147
1163
|
"/test/error": {
|
|
1148
1164
|
method: "get"
|
|
1149
1165
|
body?: undefined
|
|
1150
1166
|
search?: undefined
|
|
1151
1167
|
response: void | ErrorResponse
|
|
1152
1168
|
},
|
|
1169
|
+
"/test/error/pg": {
|
|
1170
|
+
method: "get"
|
|
1171
|
+
body?: undefined
|
|
1172
|
+
search?: undefined
|
|
1173
|
+
response: void | ErrorResponse
|
|
1174
|
+
},
|
|
1175
|
+
"/test/error/pg/redirect": {
|
|
1176
|
+
method: "get"
|
|
1177
|
+
body?: undefined
|
|
1178
|
+
search?: undefined
|
|
1179
|
+
response: void | ErrorResponse
|
|
1180
|
+
},
|
|
1153
1181
|
"/session": {
|
|
1154
1182
|
method: "get"
|
|
1155
1183
|
body?: undefined
|
|
@@ -1228,12 +1256,24 @@ export interface Paths {
|
|
|
1228
1256
|
search?: undefined
|
|
1229
1257
|
response: void | ErrorResponse
|
|
1230
1258
|
},
|
|
1259
|
+
"/v2/auth/patreon/campaign/begin": {
|
|
1260
|
+
method: "get"
|
|
1261
|
+
body?: undefined
|
|
1262
|
+
search?: undefined
|
|
1263
|
+
response: void | ErrorResponse
|
|
1264
|
+
},
|
|
1231
1265
|
"/v2/auth/patreon/campaign/callback": {
|
|
1232
1266
|
method: "get"
|
|
1233
1267
|
body?: undefined
|
|
1234
1268
|
search?: undefined
|
|
1235
1269
|
response: void | ErrorResponse
|
|
1236
1270
|
},
|
|
1271
|
+
"/v2/auth/patreon/patron/begin": {
|
|
1272
|
+
method: "get"
|
|
1273
|
+
body?: undefined
|
|
1274
|
+
search?: undefined
|
|
1275
|
+
response: void | ErrorResponse
|
|
1276
|
+
},
|
|
1237
1277
|
"/v2/auth/patreon/patron/callback": {
|
|
1238
1278
|
method: "get"
|
|
1239
1279
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -651,6 +651,12 @@
|
|
|
651
651
|
"author": {
|
|
652
652
|
"type": "string"
|
|
653
653
|
},
|
|
654
|
+
"author_vanity": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"work_vanity": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
654
660
|
"status": {
|
|
655
661
|
"$ref": "#/components/schema/WorkStatus"
|
|
656
662
|
},
|
|
@@ -781,6 +787,8 @@
|
|
|
781
787
|
"description",
|
|
782
788
|
"vanity",
|
|
783
789
|
"author",
|
|
790
|
+
"author_vanity",
|
|
791
|
+
"work_vanity",
|
|
784
792
|
"status",
|
|
785
793
|
"visibility",
|
|
786
794
|
"chapter_count_public",
|
|
@@ -1693,6 +1701,12 @@
|
|
|
1693
1701
|
"author": {
|
|
1694
1702
|
"type": "string"
|
|
1695
1703
|
},
|
|
1704
|
+
"author_vanity": {
|
|
1705
|
+
"type": "string"
|
|
1706
|
+
},
|
|
1707
|
+
"work_vanity": {
|
|
1708
|
+
"type": "string"
|
|
1709
|
+
},
|
|
1696
1710
|
"status": {
|
|
1697
1711
|
"$ref": "#/components/schema/WorkStatus"
|
|
1698
1712
|
},
|
|
@@ -1862,6 +1876,8 @@
|
|
|
1862
1876
|
"description",
|
|
1863
1877
|
"vanity",
|
|
1864
1878
|
"author",
|
|
1879
|
+
"author_vanity",
|
|
1880
|
+
"work_vanity",
|
|
1865
1881
|
"status",
|
|
1866
1882
|
"visibility",
|
|
1867
1883
|
"chapter_count_public",
|
|
@@ -2528,6 +2544,15 @@
|
|
|
2528
2544
|
}
|
|
2529
2545
|
]
|
|
2530
2546
|
},
|
|
2547
|
+
"author_vanity": {
|
|
2548
|
+
"type": "string"
|
|
2549
|
+
},
|
|
2550
|
+
"work_vanity": {
|
|
2551
|
+
"type": "string"
|
|
2552
|
+
},
|
|
2553
|
+
"chapter_url": {
|
|
2554
|
+
"type": "string"
|
|
2555
|
+
},
|
|
2531
2556
|
"body": {
|
|
2532
2557
|
"type": "string"
|
|
2533
2558
|
},
|
|
@@ -2667,6 +2692,9 @@
|
|
|
2667
2692
|
"author",
|
|
2668
2693
|
"work",
|
|
2669
2694
|
"is_numbered",
|
|
2695
|
+
"author_vanity",
|
|
2696
|
+
"work_vanity",
|
|
2697
|
+
"chapter_url",
|
|
2670
2698
|
"body",
|
|
2671
2699
|
"index",
|
|
2672
2700
|
"supporter_reactions"
|
|
@@ -3095,6 +3123,15 @@
|
|
|
3095
3123
|
"type": "null"
|
|
3096
3124
|
}
|
|
3097
3125
|
]
|
|
3126
|
+
},
|
|
3127
|
+
"author_vanity": {
|
|
3128
|
+
"type": "string"
|
|
3129
|
+
},
|
|
3130
|
+
"work_vanity": {
|
|
3131
|
+
"type": "string"
|
|
3132
|
+
},
|
|
3133
|
+
"chapter_url": {
|
|
3134
|
+
"type": "string"
|
|
3098
3135
|
}
|
|
3099
3136
|
},
|
|
3100
3137
|
"required": [
|
|
@@ -3103,7 +3140,10 @@
|
|
|
3103
3140
|
"word_count",
|
|
3104
3141
|
"author",
|
|
3105
3142
|
"work",
|
|
3106
|
-
"is_numbered"
|
|
3143
|
+
"is_numbered",
|
|
3144
|
+
"author_vanity",
|
|
3145
|
+
"work_vanity",
|
|
3146
|
+
"chapter_url"
|
|
3107
3147
|
]
|
|
3108
3148
|
},
|
|
3109
3149
|
"ChapterRelativePosition": {
|
|
@@ -6732,6 +6772,28 @@
|
|
|
6732
6772
|
}
|
|
6733
6773
|
}
|
|
6734
6774
|
},
|
|
6775
|
+
"/test/redirect": {
|
|
6776
|
+
"get": {
|
|
6777
|
+
"responses": {
|
|
6778
|
+
"200": {
|
|
6779
|
+
"description": "200 response"
|
|
6780
|
+
},
|
|
6781
|
+
"302": {
|
|
6782
|
+
"description": "302 response"
|
|
6783
|
+
},
|
|
6784
|
+
"default": {
|
|
6785
|
+
"description": "Error",
|
|
6786
|
+
"content": {
|
|
6787
|
+
"application/json": {
|
|
6788
|
+
"schema": {
|
|
6789
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
6790
|
+
}
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
}
|
|
6794
|
+
}
|
|
6795
|
+
}
|
|
6796
|
+
},
|
|
6735
6797
|
"/test/error": {
|
|
6736
6798
|
"get": {
|
|
6737
6799
|
"responses": {
|
|
@@ -6751,6 +6813,47 @@
|
|
|
6751
6813
|
}
|
|
6752
6814
|
}
|
|
6753
6815
|
},
|
|
6816
|
+
"/test/error/pg": {
|
|
6817
|
+
"get": {
|
|
6818
|
+
"responses": {
|
|
6819
|
+
"200": {
|
|
6820
|
+
"description": "200 response"
|
|
6821
|
+
},
|
|
6822
|
+
"default": {
|
|
6823
|
+
"description": "Error",
|
|
6824
|
+
"content": {
|
|
6825
|
+
"application/json": {
|
|
6826
|
+
"schema": {
|
|
6827
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
6828
|
+
}
|
|
6829
|
+
}
|
|
6830
|
+
}
|
|
6831
|
+
}
|
|
6832
|
+
}
|
|
6833
|
+
}
|
|
6834
|
+
},
|
|
6835
|
+
"/test/error/pg/redirect": {
|
|
6836
|
+
"get": {
|
|
6837
|
+
"responses": {
|
|
6838
|
+
"200": {
|
|
6839
|
+
"description": "200 response"
|
|
6840
|
+
},
|
|
6841
|
+
"302": {
|
|
6842
|
+
"description": "302 response"
|
|
6843
|
+
},
|
|
6844
|
+
"default": {
|
|
6845
|
+
"description": "Error",
|
|
6846
|
+
"content": {
|
|
6847
|
+
"application/json": {
|
|
6848
|
+
"schema": {
|
|
6849
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
6850
|
+
}
|
|
6851
|
+
}
|
|
6852
|
+
}
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
}
|
|
6856
|
+
},
|
|
6754
6857
|
"/session": {
|
|
6755
6858
|
"get": {
|
|
6756
6859
|
"responses": {
|
|
@@ -7112,12 +7215,59 @@
|
|
|
7112
7215
|
}
|
|
7113
7216
|
}
|
|
7114
7217
|
},
|
|
7218
|
+
"/v2/auth/patreon/campaign/begin": {
|
|
7219
|
+
"get": {
|
|
7220
|
+
"responses": {
|
|
7221
|
+
"200": {
|
|
7222
|
+
"description": "200 response"
|
|
7223
|
+
},
|
|
7224
|
+
"302": {
|
|
7225
|
+
"description": "302 response"
|
|
7226
|
+
},
|
|
7227
|
+
"default": {
|
|
7228
|
+
"description": "Error",
|
|
7229
|
+
"content": {
|
|
7230
|
+
"application/json": {
|
|
7231
|
+
"schema": {
|
|
7232
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7233
|
+
}
|
|
7234
|
+
}
|
|
7235
|
+
}
|
|
7236
|
+
}
|
|
7237
|
+
}
|
|
7238
|
+
}
|
|
7239
|
+
},
|
|
7115
7240
|
"/v2/auth/patreon/campaign/callback": {
|
|
7116
7241
|
"get": {
|
|
7117
7242
|
"responses": {
|
|
7118
7243
|
"200": {
|
|
7119
7244
|
"description": "200 response"
|
|
7120
7245
|
},
|
|
7246
|
+
"302": {
|
|
7247
|
+
"description": "302 response"
|
|
7248
|
+
},
|
|
7249
|
+
"default": {
|
|
7250
|
+
"description": "Error",
|
|
7251
|
+
"content": {
|
|
7252
|
+
"application/json": {
|
|
7253
|
+
"schema": {
|
|
7254
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7255
|
+
}
|
|
7256
|
+
}
|
|
7257
|
+
}
|
|
7258
|
+
}
|
|
7259
|
+
}
|
|
7260
|
+
}
|
|
7261
|
+
},
|
|
7262
|
+
"/v2/auth/patreon/patron/begin": {
|
|
7263
|
+
"get": {
|
|
7264
|
+
"responses": {
|
|
7265
|
+
"200": {
|
|
7266
|
+
"description": "200 response"
|
|
7267
|
+
},
|
|
7268
|
+
"302": {
|
|
7269
|
+
"description": "302 response"
|
|
7270
|
+
},
|
|
7121
7271
|
"default": {
|
|
7122
7272
|
"description": "Error",
|
|
7123
7273
|
"content": {
|
|
@@ -7137,6 +7287,9 @@
|
|
|
7137
7287
|
"200": {
|
|
7138
7288
|
"description": "200 response"
|
|
7139
7289
|
},
|
|
7290
|
+
"302": {
|
|
7291
|
+
"description": "302 response"
|
|
7292
|
+
},
|
|
7140
7293
|
"default": {
|
|
7141
7294
|
"description": "Error",
|
|
7142
7295
|
"content": {
|
|
@@ -15527,6 +15680,9 @@
|
|
|
15527
15680
|
"200": {
|
|
15528
15681
|
"description": "200 response"
|
|
15529
15682
|
},
|
|
15683
|
+
"302": {
|
|
15684
|
+
"description": "302 response"
|
|
15685
|
+
},
|
|
15530
15686
|
"default": {
|
|
15531
15687
|
"description": "Error",
|
|
15532
15688
|
"content": {
|
|
@@ -15546,6 +15702,9 @@
|
|
|
15546
15702
|
"200": {
|
|
15547
15703
|
"description": "200 response"
|
|
15548
15704
|
},
|
|
15705
|
+
"302": {
|
|
15706
|
+
"description": "302 response"
|
|
15707
|
+
},
|
|
15549
15708
|
"default": {
|
|
15550
15709
|
"description": "Error",
|
|
15551
15710
|
"content": {
|
|
@@ -15565,6 +15724,9 @@
|
|
|
15565
15724
|
"200": {
|
|
15566
15725
|
"description": "200 response"
|
|
15567
15726
|
},
|
|
15727
|
+
"302": {
|
|
15728
|
+
"description": "302 response"
|
|
15729
|
+
},
|
|
15568
15730
|
"default": {
|
|
15569
15731
|
"description": "Error",
|
|
15570
15732
|
"content": {
|
|
@@ -15584,6 +15746,9 @@
|
|
|
15584
15746
|
"200": {
|
|
15585
15747
|
"description": "200 response"
|
|
15586
15748
|
},
|
|
15749
|
+
"302": {
|
|
15750
|
+
"description": "302 response"
|
|
15751
|
+
},
|
|
15587
15752
|
"default": {
|
|
15588
15753
|
"description": "Error",
|
|
15589
15754
|
"content": {
|
package/package.json
CHANGED