api.fluff4.me 1.0.385 → 1.0.387

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 CHANGED
@@ -246,7 +246,7 @@ export interface ChapterUpdateBody {
246
246
 
247
247
  export interface ChapterReorderBody {
248
248
  relative_to: string
249
- position: string
249
+ position: "before" | "after"
250
250
  }
251
251
 
252
252
  export type Chapters = ChapterLite[]
@@ -704,19 +704,19 @@ export interface Paths {
704
704
  search?: undefined
705
705
  response: void | ErrorResponse
706
706
  },
707
- "/work/{author}/{vanity}/chapter/{url}/reorder": {
707
+ "/work/{author}/{work}/chapter/{url}/reorder": {
708
708
  method: "post"
709
709
  body: ChapterReorderBody
710
710
  search?: undefined
711
711
  response: void | ErrorResponse
712
712
  },
713
- "/work/{author}/{vanity}/chapter/{url}/react/{type}": {
713
+ "/work/{author}/{work}/chapter/{url}/react/{type}": {
714
714
  method: "post"
715
715
  body?: undefined
716
716
  search?: undefined
717
717
  response: void | ErrorResponse
718
718
  },
719
- "/work/{author}/{vanity}/chapter/{url}/unreact": {
719
+ "/work/{author}/{work}/chapter/{url}/unreact": {
720
720
  method: "post"
721
721
  body?: undefined
722
722
  search?: undefined
package/openapi.json CHANGED
@@ -1514,7 +1514,11 @@
1514
1514
  "type": "string"
1515
1515
  },
1516
1516
  "position": {
1517
- "type": "string"
1517
+ "type": "string",
1518
+ "enum": [
1519
+ "before",
1520
+ "after"
1521
+ ]
1518
1522
  }
1519
1523
  },
1520
1524
  "required": [
@@ -3900,14 +3904,14 @@
3900
3904
  }
3901
3905
  }
3902
3906
  },
3903
- "/work/{author}/{vanity}/chapter/{url}/reorder": {
3907
+ "/work/{author}/{work}/chapter/{url}/reorder": {
3904
3908
  "parameters": [
3905
3909
  {
3906
3910
  "name": "author",
3907
3911
  "in": "path"
3908
3912
  },
3909
3913
  {
3910
- "name": "vanity",
3914
+ "name": "work",
3911
3915
  "in": "path"
3912
3916
  },
3913
3917
  {
@@ -3942,14 +3946,14 @@
3942
3946
  }
3943
3947
  }
3944
3948
  },
3945
- "/work/{author}/{vanity}/chapter/{url}/react/{type}": {
3949
+ "/work/{author}/{work}/chapter/{url}/react/{type}": {
3946
3950
  "parameters": [
3947
3951
  {
3948
3952
  "name": "author",
3949
3953
  "in": "path"
3950
3954
  },
3951
3955
  {
3952
- "name": "vanity",
3956
+ "name": "work",
3953
3957
  "in": "path"
3954
3958
  },
3955
3959
  {
@@ -3979,14 +3983,14 @@
3979
3983
  }
3980
3984
  }
3981
3985
  },
3982
- "/work/{author}/{vanity}/chapter/{url}/unreact": {
3986
+ "/work/{author}/{work}/chapter/{url}/unreact": {
3983
3987
  "parameters": [
3984
3988
  {
3985
3989
  "name": "author",
3986
3990
  "in": "path"
3987
3991
  },
3988
3992
  {
3989
- "name": "vanity",
3993
+ "name": "work",
3990
3994
  "in": "path"
3991
3995
  },
3992
3996
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.385",
3
+ "version": "1.0.387",
4
4
  "types": "index.d.ts"
5
5
  }