api.fluff4.me 1.0.1126 → 1.0.1128

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 +12 -7
  2. package/openapi.json +99 -23
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -496,8 +496,10 @@ export interface Follow {
496
496
  }
497
497
 
498
498
  export interface WorkReference {
499
- author: string
500
- vanity: string
499
+ author?: string | null
500
+ vanity?: string | null
501
+ author_vanity?: string | null
502
+ work_vanity?: string | null
501
503
  }
502
504
 
503
505
  export interface FollowsManifest {
@@ -579,9 +581,12 @@ export interface CommentRootChapter {
579
581
  }
580
582
 
581
583
  export interface ChapterReference {
582
- author: string
583
- work: string
584
- url: string
584
+ author?: string | null
585
+ work?: string | null
586
+ url?: string | null
587
+ author_vanity?: string | null
588
+ work_vanity?: string | null
589
+ chapter_url?: string | null
585
590
  }
586
591
 
587
592
  export interface CommentRootWorkPrivate {
@@ -1336,7 +1341,7 @@ export interface Paths {
1336
1341
  search?: undefined
1337
1342
  response: Response<Chapter> | ErrorResponse
1338
1343
  },
1339
- "/v2/chapters/{author}/{work}/{url}": {
1344
+ "/v2/chapters/{author_vanity}/{work_vanity}/{chapter_url}": {
1340
1345
  method: "get"
1341
1346
  body?: undefined
1342
1347
  search: PaginationSearch
@@ -1366,7 +1371,7 @@ export interface Paths {
1366
1371
  search: PaginationSearch
1367
1372
  response: PaginatedResponse<Chapters> | ErrorResponse
1368
1373
  },
1369
- "/v2/chapters/{author}/{work}/list": {
1374
+ "/v2/chapters/{author_vanity}/{work_vanity}/list": {
1370
1375
  method: "get"
1371
1376
  body?: undefined
1372
1377
  search: PaginationSearch
package/openapi.json CHANGED
@@ -3368,16 +3368,46 @@
3368
3368
  "type": "object",
3369
3369
  "properties": {
3370
3370
  "author": {
3371
- "type": "string"
3371
+ "anyOf": [
3372
+ {
3373
+ "type": "string"
3374
+ },
3375
+ {
3376
+ "type": "null"
3377
+ }
3378
+ ]
3372
3379
  },
3373
3380
  "vanity": {
3374
- "type": "string"
3381
+ "anyOf": [
3382
+ {
3383
+ "type": "string"
3384
+ },
3385
+ {
3386
+ "type": "null"
3387
+ }
3388
+ ]
3389
+ },
3390
+ "author_vanity": {
3391
+ "anyOf": [
3392
+ {
3393
+ "type": "string"
3394
+ },
3395
+ {
3396
+ "type": "null"
3397
+ }
3398
+ ]
3399
+ },
3400
+ "work_vanity": {
3401
+ "anyOf": [
3402
+ {
3403
+ "type": "string"
3404
+ },
3405
+ {
3406
+ "type": "null"
3407
+ }
3408
+ ]
3375
3409
  }
3376
- },
3377
- "required": [
3378
- "author",
3379
- "vanity"
3380
- ]
3410
+ }
3381
3411
  },
3382
3412
  "FollowsManifest": {
3383
3413
  "type": "object",
@@ -3755,20 +3785,66 @@
3755
3785
  "type": "object",
3756
3786
  "properties": {
3757
3787
  "author": {
3758
- "type": "string"
3788
+ "anyOf": [
3789
+ {
3790
+ "type": "string"
3791
+ },
3792
+ {
3793
+ "type": "null"
3794
+ }
3795
+ ]
3759
3796
  },
3760
3797
  "work": {
3761
- "type": "string"
3798
+ "anyOf": [
3799
+ {
3800
+ "type": "string"
3801
+ },
3802
+ {
3803
+ "type": "null"
3804
+ }
3805
+ ]
3762
3806
  },
3763
3807
  "url": {
3764
- "type": "string"
3808
+ "anyOf": [
3809
+ {
3810
+ "type": "string"
3811
+ },
3812
+ {
3813
+ "type": "null"
3814
+ }
3815
+ ]
3816
+ },
3817
+ "author_vanity": {
3818
+ "anyOf": [
3819
+ {
3820
+ "type": "string"
3821
+ },
3822
+ {
3823
+ "type": "null"
3824
+ }
3825
+ ]
3826
+ },
3827
+ "work_vanity": {
3828
+ "anyOf": [
3829
+ {
3830
+ "type": "string"
3831
+ },
3832
+ {
3833
+ "type": "null"
3834
+ }
3835
+ ]
3836
+ },
3837
+ "chapter_url": {
3838
+ "anyOf": [
3839
+ {
3840
+ "type": "string"
3841
+ },
3842
+ {
3843
+ "type": "null"
3844
+ }
3845
+ ]
3765
3846
  }
3766
- },
3767
- "required": [
3768
- "author",
3769
- "work",
3770
- "url"
3771
- ]
3847
+ }
3772
3848
  },
3773
3849
  "CommentRootWorkPrivate": {
3774
3850
  "type": "object",
@@ -7855,18 +7931,18 @@
7855
7931
  }
7856
7932
  }
7857
7933
  },
7858
- "/v2/chapters/{author}/{work}/{url}": {
7934
+ "/v2/chapters/{author_vanity}/{work_vanity}/{chapter_url}": {
7859
7935
  "parameters": [
7860
7936
  {
7861
- "name": "author",
7937
+ "name": "author_vanity",
7862
7938
  "in": "path"
7863
7939
  },
7864
7940
  {
7865
- "name": "work",
7941
+ "name": "work_vanity",
7866
7942
  "in": "path"
7867
7943
  },
7868
7944
  {
7869
- "name": "url",
7945
+ "name": "chapter_url",
7870
7946
  "in": "path"
7871
7947
  }
7872
7948
  ],
@@ -8198,14 +8274,14 @@
8198
8274
  }
8199
8275
  }
8200
8276
  },
8201
- "/v2/chapters/{author}/{work}/list": {
8277
+ "/v2/chapters/{author_vanity}/{work_vanity}/list": {
8202
8278
  "parameters": [
8203
8279
  {
8204
- "name": "author",
8280
+ "name": "author_vanity",
8205
8281
  "in": "path"
8206
8282
  },
8207
8283
  {
8208
- "name": "work",
8284
+ "name": "work_vanity",
8209
8285
  "in": "path"
8210
8286
  }
8211
8287
  ],
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1126",
3
+ "version": "1.0.1128",
4
4
  "types": "index.d.ts"
5
5
  }