api.fluff4.me 1.0.204 → 1.0.206
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 +4 -4
- package/openapi.json +4 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export interface AuthorCreateBody {
|
|
|
79
79
|
name: string
|
|
80
80
|
vanity: string
|
|
81
81
|
description?: string | null
|
|
82
|
-
support_link?:
|
|
82
|
+
support_link?: null
|
|
83
83
|
support_message?: string | null
|
|
84
84
|
pronouns?: string | null
|
|
85
85
|
}
|
|
@@ -95,11 +95,11 @@ export interface AuthorFull {
|
|
|
95
95
|
description: TextBody
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export interface
|
|
98
|
+
export interface AuthorInsert {
|
|
99
99
|
name?: string | null
|
|
100
100
|
vanity?: string | null
|
|
101
101
|
description?: string | null
|
|
102
|
-
support_link?:
|
|
102
|
+
support_link?: null
|
|
103
103
|
support_message?: string | null
|
|
104
104
|
pronouns?: string | null
|
|
105
105
|
}
|
|
@@ -483,7 +483,7 @@ export interface Paths {
|
|
|
483
483
|
},
|
|
484
484
|
"/author/update": {
|
|
485
485
|
method: "post"
|
|
486
|
-
body:
|
|
486
|
+
body: AuthorInsert
|
|
487
487
|
response: Response<AuthorAuthorised> | ErrorResponse
|
|
488
488
|
},
|
|
489
489
|
"/author/delete": {
|
package/openapi.json
CHANGED
|
@@ -308,8 +308,7 @@
|
|
|
308
308
|
"support_link": {
|
|
309
309
|
"anyOf": [
|
|
310
310
|
{
|
|
311
|
-
"
|
|
312
|
-
"maxLength": 128
|
|
311
|
+
"$ref": "#/components/schema/null"
|
|
313
312
|
},
|
|
314
313
|
{
|
|
315
314
|
"type": "null"
|
|
@@ -393,7 +392,7 @@
|
|
|
393
392
|
"description"
|
|
394
393
|
]
|
|
395
394
|
},
|
|
396
|
-
"
|
|
395
|
+
"AuthorInsert": {
|
|
397
396
|
"type": "object",
|
|
398
397
|
"properties": {
|
|
399
398
|
"name": {
|
|
@@ -432,8 +431,7 @@
|
|
|
432
431
|
"support_link": {
|
|
433
432
|
"anyOf": [
|
|
434
433
|
{
|
|
435
|
-
"
|
|
436
|
-
"maxLength": 128
|
|
434
|
+
"$ref": "#/components/schema/null"
|
|
437
435
|
},
|
|
438
436
|
{
|
|
439
437
|
"type": "null"
|
|
@@ -2486,7 +2484,7 @@
|
|
|
2486
2484
|
"content": {
|
|
2487
2485
|
"application/json": {
|
|
2488
2486
|
"schema": {
|
|
2489
|
-
"$ref": "#/components/schemas/
|
|
2487
|
+
"$ref": "#/components/schemas/AuthorInsert"
|
|
2490
2488
|
}
|
|
2491
2489
|
}
|
|
2492
2490
|
}
|
package/package.json
CHANGED