api.fluff4.me 1.0.984 → 1.0.986
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 +17 -12
- package/openapi.json +91 -26
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -118,13 +118,9 @@ export interface WorkMetadata {
|
|
|
118
118
|
license?: WorkLicense | null
|
|
119
119
|
patreon?: PatreonRestriction | null
|
|
120
120
|
lock_reason?: string | null
|
|
121
|
-
frequency?:
|
|
122
|
-
| {
|
|
123
|
-
amount: number
|
|
124
|
-
interval: number
|
|
125
|
-
}
|
|
126
|
-
| null
|
|
121
|
+
frequency?: Frequency | null
|
|
127
122
|
recently_updated: boolean
|
|
123
|
+
bookmarks?: Bookmarks | null
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
export type WorkStatus = "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
@@ -146,6 +142,19 @@ export interface PatreonCampaignMetadata {
|
|
|
146
142
|
url: string
|
|
147
143
|
}
|
|
148
144
|
|
|
145
|
+
export interface Frequency {
|
|
146
|
+
amount: number
|
|
147
|
+
interval: number
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface Bookmarks {
|
|
151
|
+
url_first: string
|
|
152
|
+
url_next?: string | null
|
|
153
|
+
url_read_furthest?: string | null
|
|
154
|
+
url_read_last?: string | null
|
|
155
|
+
read_completed?: true | null
|
|
156
|
+
}
|
|
157
|
+
|
|
149
158
|
export interface Role {
|
|
150
159
|
name: string
|
|
151
160
|
description?: string | null
|
|
@@ -268,13 +277,9 @@ export interface Work {
|
|
|
268
277
|
license?: WorkLicense | null
|
|
269
278
|
patreon?: PatreonRestriction | null
|
|
270
279
|
lock_reason?: string | null
|
|
271
|
-
frequency?:
|
|
272
|
-
| {
|
|
273
|
-
amount: number
|
|
274
|
-
interval: number
|
|
275
|
-
}
|
|
276
|
-
| null
|
|
280
|
+
frequency?: Frequency | null
|
|
277
281
|
recently_updated: boolean
|
|
282
|
+
bookmarks?: Bookmarks | null
|
|
278
283
|
synopsis: MentionsBody
|
|
279
284
|
custom_tags?: CustomTag[] | null
|
|
280
285
|
last_chapter: string
|
package/openapi.json
CHANGED
|
@@ -603,19 +603,7 @@
|
|
|
603
603
|
"frequency": {
|
|
604
604
|
"anyOf": [
|
|
605
605
|
{
|
|
606
|
-
"
|
|
607
|
-
"properties": {
|
|
608
|
-
"amount": {
|
|
609
|
-
"type": "number"
|
|
610
|
-
},
|
|
611
|
-
"interval": {
|
|
612
|
-
"type": "number"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
"required": [
|
|
616
|
-
"amount",
|
|
617
|
-
"interval"
|
|
618
|
-
]
|
|
606
|
+
"$ref": "#/components/schema/Frequency"
|
|
619
607
|
},
|
|
620
608
|
{
|
|
621
609
|
"type": "null"
|
|
@@ -624,6 +612,16 @@
|
|
|
624
612
|
},
|
|
625
613
|
"recently_updated": {
|
|
626
614
|
"type": "boolean"
|
|
615
|
+
},
|
|
616
|
+
"bookmarks": {
|
|
617
|
+
"anyOf": [
|
|
618
|
+
{
|
|
619
|
+
"$ref": "#/components/schema/Bookmarks"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"type": "null"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
627
625
|
}
|
|
628
626
|
},
|
|
629
627
|
"required": [
|
|
@@ -705,6 +703,75 @@
|
|
|
705
703
|
"url"
|
|
706
704
|
]
|
|
707
705
|
},
|
|
706
|
+
"Frequency": {
|
|
707
|
+
"type": "object",
|
|
708
|
+
"properties": {
|
|
709
|
+
"amount": {
|
|
710
|
+
"type": "number"
|
|
711
|
+
},
|
|
712
|
+
"interval": {
|
|
713
|
+
"type": "number"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
"required": [
|
|
717
|
+
"amount",
|
|
718
|
+
"interval"
|
|
719
|
+
]
|
|
720
|
+
},
|
|
721
|
+
"Bookmarks": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"url_first": {
|
|
725
|
+
"type": "string"
|
|
726
|
+
},
|
|
727
|
+
"url_next": {
|
|
728
|
+
"anyOf": [
|
|
729
|
+
{
|
|
730
|
+
"type": "string"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"type": "null"
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
"url_read_furthest": {
|
|
738
|
+
"anyOf": [
|
|
739
|
+
{
|
|
740
|
+
"type": "string"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"type": "null"
|
|
744
|
+
}
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"url_read_last": {
|
|
748
|
+
"anyOf": [
|
|
749
|
+
{
|
|
750
|
+
"type": "string"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"type": "null"
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
"read_completed": {
|
|
758
|
+
"anyOf": [
|
|
759
|
+
{
|
|
760
|
+
"type": "boolean",
|
|
761
|
+
"enum": [
|
|
762
|
+
true
|
|
763
|
+
]
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"type": "null"
|
|
767
|
+
}
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"required": [
|
|
772
|
+
"url_first"
|
|
773
|
+
]
|
|
774
|
+
},
|
|
708
775
|
"Role": {
|
|
709
776
|
"type": "object",
|
|
710
777
|
"properties": {
|
|
@@ -1466,19 +1533,7 @@
|
|
|
1466
1533
|
"frequency": {
|
|
1467
1534
|
"anyOf": [
|
|
1468
1535
|
{
|
|
1469
|
-
"
|
|
1470
|
-
"properties": {
|
|
1471
|
-
"amount": {
|
|
1472
|
-
"type": "number"
|
|
1473
|
-
},
|
|
1474
|
-
"interval": {
|
|
1475
|
-
"type": "number"
|
|
1476
|
-
}
|
|
1477
|
-
},
|
|
1478
|
-
"required": [
|
|
1479
|
-
"amount",
|
|
1480
|
-
"interval"
|
|
1481
|
-
]
|
|
1536
|
+
"$ref": "#/components/schema/Frequency"
|
|
1482
1537
|
},
|
|
1483
1538
|
{
|
|
1484
1539
|
"type": "null"
|
|
@@ -1488,6 +1543,16 @@
|
|
|
1488
1543
|
"recently_updated": {
|
|
1489
1544
|
"type": "boolean"
|
|
1490
1545
|
},
|
|
1546
|
+
"bookmarks": {
|
|
1547
|
+
"anyOf": [
|
|
1548
|
+
{
|
|
1549
|
+
"$ref": "#/components/schema/Bookmarks"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"type": "null"
|
|
1553
|
+
}
|
|
1554
|
+
]
|
|
1555
|
+
},
|
|
1491
1556
|
"synopsis": {
|
|
1492
1557
|
"$ref": "#/components/schema/MentionsBody"
|
|
1493
1558
|
},
|
package/package.json
CHANGED