api.fluff4.me 1.0.373 → 1.0.375

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 +14 -5
  2. package/openapi.json +83 -15
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -260,6 +260,15 @@ export interface ChapterLite {
260
260
  work: string
261
261
  }
262
262
 
263
+ export interface WorkResolveSearch {
264
+ works: WorkReference[]
265
+ }
266
+
267
+ export interface WorkReference {
268
+ author: string
269
+ vanity: string
270
+ }
271
+
263
272
  export type Works = Work[]
264
273
 
265
274
  export interface Follow {
@@ -271,11 +280,6 @@ export interface Follow {
271
280
  updated: string
272
281
  }
273
282
 
274
- export interface WorkReference {
275
- author: string
276
- vanity: string
277
- }
278
-
279
283
  export interface FollowsManifest {
280
284
  following: {
281
285
  author: Follow[]
@@ -685,6 +689,11 @@ export interface Paths {
685
689
  body?: undefined
686
690
  response: PaginatedResponse<Chapter> | ErrorResponse
687
691
  },
692
+ "/work/resolve": {
693
+ method: "get"
694
+ body?: undefined
695
+ response: Response<Work[]> | ErrorResponse
696
+ },
688
697
  "/works/{author}": {
689
698
  method: "get"
690
699
  body?: undefined
package/openapi.json CHANGED
@@ -1586,6 +1586,35 @@
1586
1586
  "work"
1587
1587
  ]
1588
1588
  },
1589
+ "WorkResolveSearch": {
1590
+ "type": "object",
1591
+ "properties": {
1592
+ "works": {
1593
+ "type": "array",
1594
+ "items": {
1595
+ "$ref": "#/components/schema/WorkReference"
1596
+ }
1597
+ }
1598
+ },
1599
+ "required": [
1600
+ "works"
1601
+ ]
1602
+ },
1603
+ "WorkReference": {
1604
+ "type": "object",
1605
+ "properties": {
1606
+ "author": {
1607
+ "type": "string"
1608
+ },
1609
+ "vanity": {
1610
+ "type": "string"
1611
+ }
1612
+ },
1613
+ "required": [
1614
+ "author",
1615
+ "vanity"
1616
+ ]
1617
+ },
1589
1618
  "Works": {
1590
1619
  "type": "array",
1591
1620
  "items": {
@@ -1653,21 +1682,6 @@
1653
1682
  "updated"
1654
1683
  ]
1655
1684
  },
1656
- "WorkReference": {
1657
- "type": "object",
1658
- "properties": {
1659
- "author": {
1660
- "type": "string"
1661
- },
1662
- "vanity": {
1663
- "type": "string"
1664
- }
1665
- },
1666
- "required": [
1667
- "author",
1668
- "vanity"
1669
- ]
1670
- },
1671
1685
  "FollowsManifest": {
1672
1686
  "type": "object",
1673
1687
  "properties": {
@@ -4122,6 +4136,60 @@
4122
4136
  }
4123
4137
  }
4124
4138
  },
4139
+ "/work/resolve": {
4140
+ "get": {
4141
+ "parameters": [
4142
+ {
4143
+ "name": "works",
4144
+ "in": "query",
4145
+ "required": true,
4146
+ "content": {
4147
+ "application/json": {
4148
+ "schema": {
4149
+ "type": "array",
4150
+ "items": {
4151
+ "$ref": "#/components/schema/WorkReference"
4152
+ }
4153
+ }
4154
+ }
4155
+ }
4156
+ }
4157
+ ],
4158
+ "responses": {
4159
+ "200": {
4160
+ "description": "200 response",
4161
+ "content": {
4162
+ "application/json": {
4163
+ "schema": {
4164
+ "type": "object",
4165
+ "properties": {
4166
+ "data": {
4167
+ "type": "array",
4168
+ "items": {
4169
+ "$ref": "#/components/schema/Work"
4170
+ }
4171
+ }
4172
+ },
4173
+ "required": [
4174
+ "data"
4175
+ ]
4176
+ }
4177
+ }
4178
+ }
4179
+ },
4180
+ "default": {
4181
+ "description": "Error",
4182
+ "content": {
4183
+ "application/json": {
4184
+ "schema": {
4185
+ "$ref": "#/components/schemas/ErrorResponse"
4186
+ }
4187
+ }
4188
+ }
4189
+ }
4190
+ }
4191
+ }
4192
+ },
4125
4193
  "/works/{author}": {
4126
4194
  "parameters": [
4127
4195
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.373",
3
+ "version": "1.0.375",
4
4
  "types": "index.d.ts"
5
5
  }