api.fluff4.me 1.0.337 → 1.0.339

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 +11 -7
  2. package/openapi.json +63 -17
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -263,10 +263,19 @@ export interface ChapterLite {
263
263
  export type Works = Work[]
264
264
 
265
265
  export interface Follow {
266
+ author?: string | null
267
+ work?: WorkReference | null
268
+ tag?: string | null
269
+ tag_category?: string | null
266
270
  state?: string | null
267
271
  updated: string
268
272
  }
269
273
 
274
+ export interface WorkReference {
275
+ author: string
276
+ vanity: string
277
+ }
278
+
270
279
  export interface FollowsMerged {
271
280
  author: Follow[]
272
281
  work: Follow[]
@@ -469,11 +478,6 @@ export interface Notification {
469
478
  comment?: string | null
470
479
  }
471
480
 
472
- export interface WorkReference {
473
- author: string
474
- vanity: string
475
- }
476
-
477
481
  export interface ChapterReference {
478
482
  author: string
479
483
  work: string
@@ -685,7 +689,7 @@ export interface Paths {
685
689
  "/following/{type}": {
686
690
  method: "get"
687
691
  body?: undefined
688
- response: PaginatedResponse<null> | ErrorResponse
692
+ response: PaginatedResponse<Follow[]> | ErrorResponse
689
693
  },
690
694
  "/follows/{type}/{vanity}": {
691
695
  method: "get"
@@ -725,7 +729,7 @@ export interface Paths {
725
729
  "/ignoring/{type}": {
726
730
  method: "get"
727
731
  body?: undefined
728
- response: PaginatedResponse<null> | ErrorResponse
732
+ response: PaginatedResponse<Follow[]> | ErrorResponse
729
733
  },
730
734
  "/ignores/{type}/{vanity}": {
731
735
  method: "get"
package/openapi.json CHANGED
@@ -1582,6 +1582,46 @@
1582
1582
  "Follow": {
1583
1583
  "type": "object",
1584
1584
  "properties": {
1585
+ "author": {
1586
+ "anyOf": [
1587
+ {
1588
+ "type": "string"
1589
+ },
1590
+ {
1591
+ "type": "null"
1592
+ }
1593
+ ]
1594
+ },
1595
+ "work": {
1596
+ "anyOf": [
1597
+ {
1598
+ "$ref": "#/components/schema/WorkReference"
1599
+ },
1600
+ {
1601
+ "type": "null"
1602
+ }
1603
+ ]
1604
+ },
1605
+ "tag": {
1606
+ "anyOf": [
1607
+ {
1608
+ "type": "string"
1609
+ },
1610
+ {
1611
+ "type": "null"
1612
+ }
1613
+ ]
1614
+ },
1615
+ "tag_category": {
1616
+ "anyOf": [
1617
+ {
1618
+ "type": "string"
1619
+ },
1620
+ {
1621
+ "type": "null"
1622
+ }
1623
+ ]
1624
+ },
1585
1625
  "state": {
1586
1626
  "anyOf": [
1587
1627
  {
@@ -1600,6 +1640,21 @@
1600
1640
  "updated"
1601
1641
  ]
1602
1642
  },
1643
+ "WorkReference": {
1644
+ "type": "object",
1645
+ "properties": {
1646
+ "author": {
1647
+ "type": "string"
1648
+ },
1649
+ "vanity": {
1650
+ "type": "string"
1651
+ }
1652
+ },
1653
+ "required": [
1654
+ "author",
1655
+ "vanity"
1656
+ ]
1657
+ },
1603
1658
  "FollowsMerged": {
1604
1659
  "type": "object",
1605
1660
  "properties": {
@@ -2552,21 +2607,6 @@
2552
2607
  "read"
2553
2608
  ]
2554
2609
  },
2555
- "WorkReference": {
2556
- "type": "object",
2557
- "properties": {
2558
- "author": {
2559
- "type": "string"
2560
- },
2561
- "vanity": {
2562
- "type": "string"
2563
- }
2564
- },
2565
- "required": [
2566
- "author",
2567
- "vanity"
2568
- ]
2569
- },
2570
2610
  "ChapterReference": {
2571
2611
  "type": "object",
2572
2612
  "properties": {
@@ -4164,7 +4204,10 @@
4164
4204
  "type": "object",
4165
4205
  "properties": {
4166
4206
  "data": {
4167
- "$ref": "#/components/schemas/null"
4207
+ "type": "array",
4208
+ "items": {
4209
+ "$ref": "#/components/schema/Follow"
4210
+ }
4168
4211
  },
4169
4212
  "has_more": {
4170
4213
  "type": "boolean"
@@ -4552,7 +4595,10 @@
4552
4595
  "type": "object",
4553
4596
  "properties": {
4554
4597
  "data": {
4555
- "$ref": "#/components/schemas/null"
4598
+ "type": "array",
4599
+ "items": {
4600
+ "$ref": "#/components/schema/Follow"
4601
+ }
4556
4602
  },
4557
4603
  "has_more": {
4558
4604
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.337",
3
+ "version": "1.0.339",
4
4
  "types": "index.d.ts"
5
5
  }