api.fluff4.me 1.0.1080 → 1.0.1082

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 +6 -5
  2. package/openapi.json +22 -15
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1093,11 +1093,17 @@ export interface Shelves {
1093
1093
  }
1094
1094
 
1095
1095
  export interface ShelvesPreviewResponse {
1096
+ recommendations: Recommendation[]
1096
1097
  shelves: ShelvesPreview[]
1097
1098
  authors: AuthorMetadata[]
1098
1099
  works: WorkMetadata[]
1099
1100
  }
1100
1101
 
1102
+ export interface Recommendation {
1103
+ recommendation: Comment
1104
+ work: WorkReference
1105
+ }
1106
+
1101
1107
  export interface ShelvesPreview {
1102
1108
  shelf_id: string
1103
1109
  shelf_order: number
@@ -1132,11 +1138,6 @@ export interface RecommendationsSearchSchema {
1132
1138
  following_only?: boolean | null
1133
1139
  }
1134
1140
 
1135
- export interface Recommendation {
1136
- recommendation: Comment
1137
- work: WorkReference
1138
- }
1139
-
1140
1141
  export interface ErrorResponse {
1141
1142
  code: number
1142
1143
  detail?: string | null
package/openapi.json CHANGED
@@ -6479,6 +6479,12 @@
6479
6479
  "ShelvesPreviewResponse": {
6480
6480
  "type": "object",
6481
6481
  "properties": {
6482
+ "recommendations": {
6483
+ "type": "array",
6484
+ "items": {
6485
+ "$ref": "#/components/schema/Recommendation"
6486
+ }
6487
+ },
6482
6488
  "shelves": {
6483
6489
  "type": "array",
6484
6490
  "items": {
@@ -6499,11 +6505,27 @@
6499
6505
  }
6500
6506
  },
6501
6507
  "required": [
6508
+ "recommendations",
6502
6509
  "shelves",
6503
6510
  "authors",
6504
6511
  "works"
6505
6512
  ]
6506
6513
  },
6514
+ "Recommendation": {
6515
+ "type": "object",
6516
+ "properties": {
6517
+ "recommendation": {
6518
+ "$ref": "#/components/schema/Comment"
6519
+ },
6520
+ "work": {
6521
+ "$ref": "#/components/schema/WorkReference"
6522
+ }
6523
+ },
6524
+ "required": [
6525
+ "recommendation",
6526
+ "work"
6527
+ ]
6528
+ },
6507
6529
  "ShelvesPreview": {
6508
6530
  "type": "object",
6509
6531
  "properties": {
@@ -6652,21 +6674,6 @@
6652
6674
  }
6653
6675
  }
6654
6676
  },
6655
- "Recommendation": {
6656
- "type": "object",
6657
- "properties": {
6658
- "recommendation": {
6659
- "$ref": "#/components/schema/Comment"
6660
- },
6661
- "work": {
6662
- "$ref": "#/components/schema/WorkReference"
6663
- }
6664
- },
6665
- "required": [
6666
- "recommendation",
6667
- "work"
6668
- ]
6669
- },
6670
6677
  "ErrorResponse": {
6671
6678
  "type": "object",
6672
6679
  "properties": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1080",
3
+ "version": "1.0.1082",
4
4
  "types": "index.d.ts"
5
5
  }