api.fluff4.me 1.0.514 → 1.0.516

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.
Files changed (3) hide show
  1. package/index.d.ts +25 -25
  2. package/openapi.json +25 -25
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -144,7 +144,7 @@ export interface AuthorFull {
144
144
  description: TextBody
145
145
  }
146
146
 
147
- export interface AuthorInsert {
147
+ export interface AuthorInsertBody {
148
148
  name?: string | null
149
149
  vanity?: string | null
150
150
  description?: string | null
@@ -317,7 +317,7 @@ export interface CampaignTierSetBody {
317
317
 
318
318
  export type Works = Work[]
319
319
 
320
- export interface Feed {
320
+ export interface FeedResponse {
321
321
  works: Work[]
322
322
  authors: Author[]
323
323
  }
@@ -394,7 +394,7 @@ export interface CommentUpdateBody {
394
394
  body: string
395
395
  }
396
396
 
397
- export interface Comments {
397
+ export interface CommentsResponse {
398
398
  comments: CommentResolved[]
399
399
  authors: Author[]
400
400
  }
@@ -406,7 +406,7 @@ export interface Tag {
406
406
  aliases?: string[] | null
407
407
  }
408
408
 
409
- export interface TagCreateGlobal {
409
+ export interface TagCreateGlobalBody {
410
410
  name: string
411
411
  description: string
412
412
  category: string
@@ -420,12 +420,12 @@ export interface TagCategory {
420
420
  description: string
421
421
  }
422
422
 
423
- export interface TagCreateCategory {
423
+ export interface TagCreateCategoryBody {
424
424
  name: string
425
425
  description: string
426
426
  }
427
427
 
428
- export interface TagGlobalUpdate {
428
+ export interface TagGlobalUpdateBody {
429
429
  name?: string | null
430
430
  description?: string | null
431
431
  category?: string | null
@@ -439,15 +439,15 @@ export interface TagCategoryUpdateBody {
439
439
  description?: string | null
440
440
  }
441
441
 
442
- export interface CustomTagRename {
442
+ export interface CustomTagRenameBody {
443
443
  name: CustomTag
444
444
  }
445
445
 
446
- export interface CustomTagsDelete {
446
+ export interface CustomTagsDeleteBody {
447
447
  tags: CustomTag[]
448
448
  }
449
449
 
450
- export interface TagCustomPromote {
450
+ export interface TagCustomPromoteBody {
451
451
  promoted_from_tags: string[]
452
452
  into_existing_tag?:
453
453
  | {
@@ -467,7 +467,7 @@ export interface TagCustomPromote {
467
467
  | null
468
468
  }
469
469
 
470
- export interface TagGlobalDemote {
470
+ export interface TagGlobalDemoteBody {
471
471
  name: string
472
472
  }
473
473
 
@@ -585,7 +585,7 @@ export interface FeedSearch {
585
585
  blacklistAuthors?: string[] | null
586
586
  }
587
587
 
588
- export interface History {
588
+ export interface HistoryResponse {
589
589
  items: HistoryItem[]
590
590
  works: Work[]
591
591
  authors: Author[]
@@ -696,7 +696,7 @@ export interface Paths {
696
696
  },
697
697
  "/author/update": {
698
698
  method: "post"
699
- body: AuthorInsert
699
+ body: AuthorInsertBody
700
700
  search?: undefined
701
701
  response: Response<AuthorSelf> | ErrorResponse
702
702
  },
@@ -834,7 +834,7 @@ export interface Paths {
834
834
  search: {
835
835
  works: WorkReference[]
836
836
  }
837
- response: Response<Feed> | ErrorResponse
837
+ response: Response<FeedResponse> | ErrorResponse
838
838
  },
839
839
  "/follow/author/{vanity}": {
840
840
  method: "post"
@@ -1149,7 +1149,7 @@ export interface Paths {
1149
1149
  page?: number
1150
1150
  page_size?: number
1151
1151
  }
1152
- response: PaginatedResponse<Comments> | ErrorResponse
1152
+ response: PaginatedResponse<CommentsResponse> | ErrorResponse
1153
1153
  },
1154
1154
  "/patreon/campaign/tiers/get": {
1155
1155
  method: "get"
@@ -1165,19 +1165,19 @@ export interface Paths {
1165
1165
  },
1166
1166
  "/tag/create/global": {
1167
1167
  method: "post"
1168
- body: TagCreateGlobal
1168
+ body: TagCreateGlobalBody
1169
1169
  search?: undefined
1170
1170
  response: Response<Tag> | ErrorResponse
1171
1171
  },
1172
1172
  "/tag/create/category": {
1173
1173
  method: "post"
1174
- body: TagCreateCategory
1174
+ body: TagCreateCategoryBody
1175
1175
  search?: undefined
1176
1176
  response: Response<TagCategory> | ErrorResponse
1177
1177
  },
1178
1178
  "/tag/update/global/{vanity}": {
1179
1179
  method: "post"
1180
- body: TagGlobalUpdate
1180
+ body: TagGlobalUpdateBody
1181
1181
  search?: undefined
1182
1182
  response: Response<Tag> | ErrorResponse
1183
1183
  },
@@ -1189,7 +1189,7 @@ export interface Paths {
1189
1189
  },
1190
1190
  "/tag/update/custom/{vanity}": {
1191
1191
  method: "post"
1192
- body: CustomTagRename
1192
+ body: CustomTagRenameBody
1193
1193
  search?: undefined
1194
1194
  response: Response<CustomTag> | ErrorResponse
1195
1195
  },
@@ -1207,19 +1207,19 @@ export interface Paths {
1207
1207
  },
1208
1208
  "/tag/delete/custom": {
1209
1209
  method: "post"
1210
- body: CustomTagsDelete
1210
+ body: CustomTagsDeleteBody
1211
1211
  search?: undefined
1212
1212
  response: void | ErrorResponse
1213
1213
  },
1214
1214
  "/tag/promote": {
1215
1215
  method: "post"
1216
- body: TagCustomPromote
1216
+ body: TagCustomPromoteBody
1217
1217
  search?: undefined
1218
1218
  response: Response<Tag> | ErrorResponse
1219
1219
  },
1220
1220
  "/tag/demote/{vanity}": {
1221
1221
  method: "post"
1222
- body: TagGlobalDemote
1222
+ body: TagGlobalDemoteBody
1223
1223
  search?: undefined
1224
1224
  response: Response<CustomTag> | ErrorResponse
1225
1225
  },
@@ -1338,7 +1338,7 @@ export interface Paths {
1338
1338
  whitelistAuthors?: string[] | null
1339
1339
  blacklistAuthors?: string[] | null
1340
1340
  }
1341
- response: PaginatedResponse<Feed> | ErrorResponse
1341
+ response: PaginatedResponse<FeedResponse> | ErrorResponse
1342
1342
  },
1343
1343
  "/feed/get/authed": {
1344
1344
  method: "get"
@@ -1353,7 +1353,7 @@ export interface Paths {
1353
1353
  whitelistAuthors?: string[] | null
1354
1354
  blacklistAuthors?: string[] | null
1355
1355
  }
1356
- response: PaginatedResponse<Feed> | ErrorResponse
1356
+ response: PaginatedResponse<FeedResponse> | ErrorResponse
1357
1357
  },
1358
1358
  "/feed/get/followed": {
1359
1359
  method: "get"
@@ -1362,7 +1362,7 @@ export interface Paths {
1362
1362
  page?: number
1363
1363
  page_size?: number
1364
1364
  }
1365
- response: PaginatedResponse<Feed> | ErrorResponse
1365
+ response: PaginatedResponse<FeedResponse> | ErrorResponse
1366
1366
  },
1367
1367
  "/history/get": {
1368
1368
  method: "get"
@@ -1371,7 +1371,7 @@ export interface Paths {
1371
1371
  page?: number
1372
1372
  page_size?: number
1373
1373
  }
1374
- response: PaginatedResponse<History> | ErrorResponse
1374
+ response: PaginatedResponse<HistoryResponse> | ErrorResponse
1375
1375
  },
1376
1376
  "/history/add/{author}/{vanity}": {
1377
1377
  method: "post"
package/openapi.json CHANGED
@@ -717,7 +717,7 @@
717
717
  "description"
718
718
  ]
719
719
  },
720
- "AuthorInsert": {
720
+ "AuthorInsertBody": {
721
721
  "type": "object",
722
722
  "properties": {
723
723
  "name": {
@@ -1890,7 +1890,7 @@
1890
1890
  "$ref": "#/components/schema/Work"
1891
1891
  }
1892
1892
  },
1893
- "Feed": {
1893
+ "FeedResponse": {
1894
1894
  "type": "object",
1895
1895
  "properties": {
1896
1896
  "works": {
@@ -2289,7 +2289,7 @@
2289
2289
  "body"
2290
2290
  ]
2291
2291
  },
2292
- "Comments": {
2292
+ "CommentsResponse": {
2293
2293
  "type": "object",
2294
2294
  "properties": {
2295
2295
  "comments": {
@@ -2344,7 +2344,7 @@
2344
2344
  "category"
2345
2345
  ]
2346
2346
  },
2347
- "TagCreateGlobal": {
2347
+ "TagCreateGlobalBody": {
2348
2348
  "type": "object",
2349
2349
  "properties": {
2350
2350
  "name": {
@@ -2423,7 +2423,7 @@
2423
2423
  "description"
2424
2424
  ]
2425
2425
  },
2426
- "TagCreateCategory": {
2426
+ "TagCreateCategoryBody": {
2427
2427
  "type": "object",
2428
2428
  "properties": {
2429
2429
  "name": {
@@ -2441,7 +2441,7 @@
2441
2441
  "description"
2442
2442
  ]
2443
2443
  },
2444
- "TagGlobalUpdate": {
2444
+ "TagGlobalUpdateBody": {
2445
2445
  "type": "object",
2446
2446
  "properties": {
2447
2447
  "name": {
@@ -2546,7 +2546,7 @@
2546
2546
  }
2547
2547
  }
2548
2548
  },
2549
- "CustomTagRename": {
2549
+ "CustomTagRenameBody": {
2550
2550
  "type": "object",
2551
2551
  "properties": {
2552
2552
  "name": {
@@ -2557,7 +2557,7 @@
2557
2557
  "name"
2558
2558
  ]
2559
2559
  },
2560
- "CustomTagsDelete": {
2560
+ "CustomTagsDeleteBody": {
2561
2561
  "type": "object",
2562
2562
  "properties": {
2563
2563
  "tags": {
@@ -2571,7 +2571,7 @@
2571
2571
  "tags"
2572
2572
  ]
2573
2573
  },
2574
- "TagCustomPromote": {
2574
+ "TagCustomPromoteBody": {
2575
2575
  "type": "object",
2576
2576
  "properties": {
2577
2577
  "promoted_from_tags": {
@@ -2684,7 +2684,7 @@
2684
2684
  "promoted_from_tags"
2685
2685
  ]
2686
2686
  },
2687
- "TagGlobalDemote": {
2687
+ "TagGlobalDemoteBody": {
2688
2688
  "type": "object",
2689
2689
  "properties": {
2690
2690
  "name": {
@@ -3229,7 +3229,7 @@
3229
3229
  }
3230
3230
  }
3231
3231
  },
3232
- "History": {
3232
+ "HistoryResponse": {
3233
3233
  "type": "object",
3234
3234
  "properties": {
3235
3235
  "items": {
@@ -3730,7 +3730,7 @@
3730
3730
  "content": {
3731
3731
  "application/json": {
3732
3732
  "schema": {
3733
- "$ref": "#/components/schemas/AuthorInsert"
3733
+ "$ref": "#/components/schemas/AuthorInsertBody"
3734
3734
  }
3735
3735
  }
3736
3736
  }
@@ -4807,7 +4807,7 @@
4807
4807
  "type": "object",
4808
4808
  "properties": {
4809
4809
  "data": {
4810
- "$ref": "#/components/schemas/Feed"
4810
+ "$ref": "#/components/schemas/FeedResponse"
4811
4811
  }
4812
4812
  },
4813
4813
  "required": [
@@ -6933,7 +6933,7 @@
6933
6933
  "type": "object",
6934
6934
  "properties": {
6935
6935
  "data": {
6936
- "$ref": "#/components/schemas/Comments"
6936
+ "$ref": "#/components/schemas/CommentsResponse"
6937
6937
  },
6938
6938
  "has_more": {
6939
6939
  "type": "boolean"
@@ -7067,7 +7067,7 @@
7067
7067
  "content": {
7068
7068
  "application/json": {
7069
7069
  "schema": {
7070
- "$ref": "#/components/schemas/TagCreateGlobal"
7070
+ "$ref": "#/components/schemas/TagCreateGlobalBody"
7071
7071
  }
7072
7072
  }
7073
7073
  }
@@ -7110,7 +7110,7 @@
7110
7110
  "content": {
7111
7111
  "application/json": {
7112
7112
  "schema": {
7113
- "$ref": "#/components/schemas/TagCreateCategory"
7113
+ "$ref": "#/components/schemas/TagCreateCategoryBody"
7114
7114
  }
7115
7115
  }
7116
7116
  }
@@ -7159,7 +7159,7 @@
7159
7159
  "content": {
7160
7160
  "application/json": {
7161
7161
  "schema": {
7162
- "$ref": "#/components/schemas/TagGlobalUpdate"
7162
+ "$ref": "#/components/schemas/TagGlobalUpdateBody"
7163
7163
  }
7164
7164
  }
7165
7165
  }
@@ -7257,7 +7257,7 @@
7257
7257
  "content": {
7258
7258
  "application/json": {
7259
7259
  "schema": {
7260
- "$ref": "#/components/schemas/CustomTagRename"
7260
+ "$ref": "#/components/schemas/CustomTagRenameBody"
7261
7261
  }
7262
7262
  }
7263
7263
  }
@@ -7350,7 +7350,7 @@
7350
7350
  "content": {
7351
7351
  "application/json": {
7352
7352
  "schema": {
7353
- "$ref": "#/components/schemas/CustomTagsDelete"
7353
+ "$ref": "#/components/schemas/CustomTagsDeleteBody"
7354
7354
  }
7355
7355
  }
7356
7356
  }
@@ -7378,7 +7378,7 @@
7378
7378
  "content": {
7379
7379
  "application/json": {
7380
7380
  "schema": {
7381
- "$ref": "#/components/schemas/TagCustomPromote"
7381
+ "$ref": "#/components/schemas/TagCustomPromoteBody"
7382
7382
  }
7383
7383
  }
7384
7384
  }
@@ -7427,7 +7427,7 @@
7427
7427
  "content": {
7428
7428
  "application/json": {
7429
7429
  "schema": {
7430
- "$ref": "#/components/schemas/TagGlobalDemote"
7430
+ "$ref": "#/components/schemas/TagGlobalDemoteBody"
7431
7431
  }
7432
7432
  }
7433
7433
  }
@@ -8243,7 +8243,7 @@
8243
8243
  "type": "object",
8244
8244
  "properties": {
8245
8245
  "data": {
8246
- "$ref": "#/components/schemas/Feed"
8246
+ "$ref": "#/components/schemas/FeedResponse"
8247
8247
  },
8248
8248
  "has_more": {
8249
8249
  "type": "boolean"
@@ -8461,7 +8461,7 @@
8461
8461
  "type": "object",
8462
8462
  "properties": {
8463
8463
  "data": {
8464
- "$ref": "#/components/schemas/Feed"
8464
+ "$ref": "#/components/schemas/FeedResponse"
8465
8465
  },
8466
8466
  "has_more": {
8467
8467
  "type": "boolean"
@@ -8544,7 +8544,7 @@
8544
8544
  "type": "object",
8545
8545
  "properties": {
8546
8546
  "data": {
8547
- "$ref": "#/components/schemas/Feed"
8547
+ "$ref": "#/components/schemas/FeedResponse"
8548
8548
  },
8549
8549
  "has_more": {
8550
8550
  "type": "boolean"
@@ -8627,7 +8627,7 @@
8627
8627
  "type": "object",
8628
8628
  "properties": {
8629
8629
  "data": {
8630
- "$ref": "#/components/schemas/History"
8630
+ "$ref": "#/components/schemas/HistoryResponse"
8631
8631
  },
8632
8632
  "has_more": {
8633
8633
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.514",
3
+ "version": "1.0.516",
4
4
  "types": "index.d.ts"
5
5
  }