api.fluff4.me 1.0.459 → 1.0.460
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 +10 -0
- package/openapi.json +40 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -146,6 +146,10 @@ export interface AuthorInsert {
|
|
|
146
146
|
settings?: string | null
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
export interface AuthorUpdateSettingsBody {
|
|
150
|
+
settings: string
|
|
151
|
+
}
|
|
152
|
+
|
|
149
153
|
export interface AuthorResolveSearch {
|
|
150
154
|
authors: string[]
|
|
151
155
|
}
|
|
@@ -653,6 +657,12 @@ export interface Paths {
|
|
|
653
657
|
search?: undefined
|
|
654
658
|
response: Response<AuthorSelf> | ErrorResponse
|
|
655
659
|
},
|
|
660
|
+
"/author/update/settings": {
|
|
661
|
+
method: "post"
|
|
662
|
+
body: AuthorUpdateSettingsBody
|
|
663
|
+
search?: undefined
|
|
664
|
+
response: void | ErrorResponse
|
|
665
|
+
},
|
|
656
666
|
"/author/delete": {
|
|
657
667
|
method: "post"
|
|
658
668
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -741,6 +741,18 @@
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
},
|
|
744
|
+
"AuthorUpdateSettingsBody": {
|
|
745
|
+
"type": "object",
|
|
746
|
+
"properties": {
|
|
747
|
+
"settings": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"maxLength": 65536
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"required": [
|
|
753
|
+
"settings"
|
|
754
|
+
]
|
|
755
|
+
},
|
|
744
756
|
"AuthorResolveSearch": {
|
|
745
757
|
"type": "object",
|
|
746
758
|
"properties": {
|
|
@@ -3466,6 +3478,34 @@
|
|
|
3466
3478
|
}
|
|
3467
3479
|
}
|
|
3468
3480
|
},
|
|
3481
|
+
"/author/update/settings": {
|
|
3482
|
+
"post": {
|
|
3483
|
+
"requestBody": {
|
|
3484
|
+
"content": {
|
|
3485
|
+
"application/json": {
|
|
3486
|
+
"schema": {
|
|
3487
|
+
"$ref": "#/components/schemas/AuthorUpdateSettingsBody"
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
},
|
|
3492
|
+
"responses": {
|
|
3493
|
+
"200": {
|
|
3494
|
+
"description": "200 response"
|
|
3495
|
+
},
|
|
3496
|
+
"default": {
|
|
3497
|
+
"description": "Error",
|
|
3498
|
+
"content": {
|
|
3499
|
+
"application/json": {
|
|
3500
|
+
"schema": {
|
|
3501
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3469
3509
|
"/author/delete": {
|
|
3470
3510
|
"post": {
|
|
3471
3511
|
"responses": {
|
package/package.json
CHANGED