api.fluff4.me 1.0.375 → 1.0.376

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
@@ -136,6 +136,10 @@ export interface AuthorInsert {
136
136
  feedback_preference_typos?: boolean | null
137
137
  }
138
138
 
139
+ export interface AuthorResolveSearch {
140
+ authors: string[]
141
+ }
142
+
139
143
  export interface WorkFull {
140
144
  name: string
141
145
  description: string
@@ -619,6 +623,11 @@ export interface Paths {
619
623
  body?: undefined
620
624
  response: void | ErrorResponse
621
625
  },
626
+ "/author/resolve": {
627
+ method: "get"
628
+ body?: undefined
629
+ response: Response<Author[]> | ErrorResponse
630
+ },
622
631
  "/work/create": {
623
632
  method: "post"
624
633
  body: WorkCreateBody
package/openapi.json CHANGED
@@ -709,6 +709,20 @@
709
709
  }
710
710
  }
711
711
  },
712
+ "AuthorResolveSearch": {
713
+ "type": "object",
714
+ "properties": {
715
+ "authors": {
716
+ "type": "array",
717
+ "items": {
718
+ "type": "string"
719
+ }
720
+ }
721
+ },
722
+ "required": [
723
+ "authors"
724
+ ]
725
+ },
712
726
  "WorkFull": {
713
727
  "type": "object",
714
728
  "properties": {
@@ -3370,6 +3384,60 @@
3370
3384
  }
3371
3385
  }
3372
3386
  },
3387
+ "/author/resolve": {
3388
+ "get": {
3389
+ "parameters": [
3390
+ {
3391
+ "name": "authors",
3392
+ "in": "query",
3393
+ "required": true,
3394
+ "content": {
3395
+ "application/json": {
3396
+ "schema": {
3397
+ "type": "array",
3398
+ "items": {
3399
+ "type": "string"
3400
+ }
3401
+ }
3402
+ }
3403
+ }
3404
+ }
3405
+ ],
3406
+ "responses": {
3407
+ "200": {
3408
+ "description": "200 response",
3409
+ "content": {
3410
+ "application/json": {
3411
+ "schema": {
3412
+ "type": "object",
3413
+ "properties": {
3414
+ "data": {
3415
+ "type": "array",
3416
+ "items": {
3417
+ "$ref": "#/components/schema/Author"
3418
+ }
3419
+ }
3420
+ },
3421
+ "required": [
3422
+ "data"
3423
+ ]
3424
+ }
3425
+ }
3426
+ }
3427
+ },
3428
+ "default": {
3429
+ "description": "Error",
3430
+ "content": {
3431
+ "application/json": {
3432
+ "schema": {
3433
+ "$ref": "#/components/schemas/ErrorResponse"
3434
+ }
3435
+ }
3436
+ }
3437
+ }
3438
+ }
3439
+ }
3440
+ },
3373
3441
  "/work/create": {
3374
3442
  "post": {
3375
3443
  "requestBody": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.375",
3
+ "version": "1.0.376",
4
4
  "types": "index.d.ts"
5
5
  }