api.fluff4.me 1.0.338 → 1.0.340

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 +9 -5
  2. package/openapi.json +55 -15
  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
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": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.338",
3
+ "version": "1.0.340",
4
4
  "types": "index.d.ts"
5
5
  }