api.fluff4.me 1.0.250 → 1.0.251

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 +10 -0
  2. package/openapi.json +57 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -187,6 +187,11 @@ export interface ChapterUpdateBody {
187
187
  custom_tags?: string[] | null
188
188
  }
189
189
 
190
+ export interface ChapterReorderBody {
191
+ relative_to: string
192
+ position: string
193
+ }
194
+
190
195
  export interface CommentWithAuthor {
191
196
  parent_id?: string | null
192
197
  body?: TextBody | null
@@ -561,6 +566,11 @@ export interface Paths {
561
566
  body?: undefined
562
567
  response: void | ErrorResponse
563
568
  },
569
+ "/work/{author}/{vanity}/chapter/{url}/reorder": {
570
+ method: "post"
571
+ body: ChapterReorderBody
572
+ response: void | ErrorResponse
573
+ },
564
574
  "/work/{author}/{vanity}/chapter/{url}/comment/add": {
565
575
  method: "post"
566
576
  body: CommentCreateBody
package/openapi.json CHANGED
@@ -1069,6 +1069,21 @@
1069
1069
  }
1070
1070
  }
1071
1071
  },
1072
+ "ChapterReorderBody": {
1073
+ "type": "object",
1074
+ "properties": {
1075
+ "relative_to": {
1076
+ "type": "string"
1077
+ },
1078
+ "position": {
1079
+ "type": "string"
1080
+ }
1081
+ },
1082
+ "required": [
1083
+ "relative_to",
1084
+ "position"
1085
+ ]
1086
+ },
1072
1087
  "CommentWithAuthor": {
1073
1088
  "type": "object",
1074
1089
  "properties": {
@@ -3123,6 +3138,48 @@
3123
3138
  }
3124
3139
  }
3125
3140
  },
3141
+ "/work/{author}/{vanity}/chapter/{url}/reorder": {
3142
+ "parameters": [
3143
+ {
3144
+ "name": "author",
3145
+ "in": "path"
3146
+ },
3147
+ {
3148
+ "name": "vanity",
3149
+ "in": "path"
3150
+ },
3151
+ {
3152
+ "name": "url",
3153
+ "in": "path"
3154
+ }
3155
+ ],
3156
+ "post": {
3157
+ "requestBody": {
3158
+ "content": {
3159
+ "application/json": {
3160
+ "schema": {
3161
+ "$ref": "#/components/schemas/ChapterReorderBody"
3162
+ }
3163
+ }
3164
+ }
3165
+ },
3166
+ "responses": {
3167
+ "200": {
3168
+ "description": "200 response"
3169
+ },
3170
+ "default": {
3171
+ "description": "Error",
3172
+ "content": {
3173
+ "application/json": {
3174
+ "schema": {
3175
+ "$ref": "#/components/schemas/ErrorResponse"
3176
+ }
3177
+ }
3178
+ }
3179
+ }
3180
+ }
3181
+ }
3182
+ },
3126
3183
  "/work/{author}/{vanity}/chapter/{url}/comment/add": {
3127
3184
  "parameters": [
3128
3185
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.250",
3
+ "version": "1.0.251",
4
4
  "types": "index.d.ts"
5
5
  }