api.fluff4.me 1.0.324 → 1.0.326
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 +23 -12
- package/openapi.json +96 -62
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -28,6 +28,18 @@ export interface Authorisation {
|
|
|
28
28
|
id: string
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
export interface AuthorFull {
|
|
32
|
+
name: string
|
|
33
|
+
time_join: string
|
|
34
|
+
support_link: string
|
|
35
|
+
support_message: string
|
|
36
|
+
word_count: number
|
|
37
|
+
vanity: string
|
|
38
|
+
pronouns?: string | null
|
|
39
|
+
description: TextBody
|
|
40
|
+
patreon_tiers?: Tier[] | null
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
export interface TextBody {
|
|
32
44
|
body: string
|
|
33
45
|
mentions?: Author[] | null
|
|
@@ -94,18 +106,6 @@ export interface AuthorCreateBody {
|
|
|
94
106
|
feedback_preference_typos?: boolean | null
|
|
95
107
|
}
|
|
96
108
|
|
|
97
|
-
export interface AuthorFull {
|
|
98
|
-
name: string
|
|
99
|
-
time_join: string
|
|
100
|
-
support_link: string
|
|
101
|
-
support_message: string
|
|
102
|
-
word_count: number
|
|
103
|
-
vanity: string
|
|
104
|
-
pronouns?: string | null
|
|
105
|
-
description: TextBody
|
|
106
|
-
patreon_tiers?: Tier[] | null
|
|
107
|
-
}
|
|
108
|
-
|
|
109
109
|
export interface AuthorInsert {
|
|
110
110
|
name?: string | null
|
|
111
111
|
vanity?: string | null
|
|
@@ -471,6 +471,17 @@ export interface Notification {
|
|
|
471
471
|
comment?: string | null
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
export interface WorkReference {
|
|
475
|
+
author: string
|
|
476
|
+
vanity: string
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export interface ChapterReference {
|
|
480
|
+
author: string
|
|
481
|
+
work: string
|
|
482
|
+
url: string
|
|
483
|
+
}
|
|
484
|
+
|
|
474
485
|
export interface NotificationCount {
|
|
475
486
|
unread_notification_count: number
|
|
476
487
|
notification_time_last_modified: string
|
package/openapi.json
CHANGED
|
@@ -87,6 +87,68 @@
|
|
|
87
87
|
"id"
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
+
"AuthorFull": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"name": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"maxLength": 64
|
|
96
|
+
},
|
|
97
|
+
"time_join": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"support_link": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"maxLength": 128
|
|
103
|
+
},
|
|
104
|
+
"support_message": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"maxLength": 256
|
|
107
|
+
},
|
|
108
|
+
"word_count": {
|
|
109
|
+
"type": "number"
|
|
110
|
+
},
|
|
111
|
+
"vanity": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"maxLength": 32
|
|
114
|
+
},
|
|
115
|
+
"pronouns": {
|
|
116
|
+
"anyOf": [
|
|
117
|
+
{
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "null"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"description": {
|
|
126
|
+
"$ref": "#/components/schema/TextBody"
|
|
127
|
+
},
|
|
128
|
+
"patreon_tiers": {
|
|
129
|
+
"anyOf": [
|
|
130
|
+
{
|
|
131
|
+
"type": "array",
|
|
132
|
+
"items": {
|
|
133
|
+
"$ref": "#/components/schema/Tier"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "null"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": [
|
|
143
|
+
"name",
|
|
144
|
+
"time_join",
|
|
145
|
+
"support_link",
|
|
146
|
+
"support_message",
|
|
147
|
+
"word_count",
|
|
148
|
+
"vanity",
|
|
149
|
+
"description"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
90
152
|
"TextBody": {
|
|
91
153
|
"type": "object",
|
|
92
154
|
"properties": {
|
|
@@ -415,68 +477,6 @@
|
|
|
415
477
|
"vanity"
|
|
416
478
|
]
|
|
417
479
|
},
|
|
418
|
-
"AuthorFull": {
|
|
419
|
-
"type": "object",
|
|
420
|
-
"properties": {
|
|
421
|
-
"name": {
|
|
422
|
-
"type": "string",
|
|
423
|
-
"maxLength": 64
|
|
424
|
-
},
|
|
425
|
-
"time_join": {
|
|
426
|
-
"type": "string"
|
|
427
|
-
},
|
|
428
|
-
"support_link": {
|
|
429
|
-
"type": "string",
|
|
430
|
-
"maxLength": 128
|
|
431
|
-
},
|
|
432
|
-
"support_message": {
|
|
433
|
-
"type": "string",
|
|
434
|
-
"maxLength": 256
|
|
435
|
-
},
|
|
436
|
-
"word_count": {
|
|
437
|
-
"type": "number"
|
|
438
|
-
},
|
|
439
|
-
"vanity": {
|
|
440
|
-
"type": "string",
|
|
441
|
-
"maxLength": 32
|
|
442
|
-
},
|
|
443
|
-
"pronouns": {
|
|
444
|
-
"anyOf": [
|
|
445
|
-
{
|
|
446
|
-
"type": "string"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"type": "null"
|
|
450
|
-
}
|
|
451
|
-
]
|
|
452
|
-
},
|
|
453
|
-
"description": {
|
|
454
|
-
"$ref": "#/components/schema/TextBody"
|
|
455
|
-
},
|
|
456
|
-
"patreon_tiers": {
|
|
457
|
-
"anyOf": [
|
|
458
|
-
{
|
|
459
|
-
"type": "array",
|
|
460
|
-
"items": {
|
|
461
|
-
"$ref": "#/components/schema/Tier"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"type": "null"
|
|
466
|
-
}
|
|
467
|
-
]
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"required": [
|
|
471
|
-
"name",
|
|
472
|
-
"time_join",
|
|
473
|
-
"support_link",
|
|
474
|
-
"support_message",
|
|
475
|
-
"word_count",
|
|
476
|
-
"vanity",
|
|
477
|
-
"description"
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
480
|
"AuthorInsert": {
|
|
481
481
|
"type": "object",
|
|
482
482
|
"properties": {
|
|
@@ -2526,6 +2526,40 @@
|
|
|
2526
2526
|
"read"
|
|
2527
2527
|
]
|
|
2528
2528
|
},
|
|
2529
|
+
"WorkReference": {
|
|
2530
|
+
"type": "object",
|
|
2531
|
+
"properties": {
|
|
2532
|
+
"author": {
|
|
2533
|
+
"type": "string"
|
|
2534
|
+
},
|
|
2535
|
+
"vanity": {
|
|
2536
|
+
"type": "string"
|
|
2537
|
+
}
|
|
2538
|
+
},
|
|
2539
|
+
"required": [
|
|
2540
|
+
"author",
|
|
2541
|
+
"vanity"
|
|
2542
|
+
]
|
|
2543
|
+
},
|
|
2544
|
+
"ChapterReference": {
|
|
2545
|
+
"type": "object",
|
|
2546
|
+
"properties": {
|
|
2547
|
+
"author": {
|
|
2548
|
+
"type": "string"
|
|
2549
|
+
},
|
|
2550
|
+
"work": {
|
|
2551
|
+
"type": "string"
|
|
2552
|
+
},
|
|
2553
|
+
"url": {
|
|
2554
|
+
"type": "string"
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
"required": [
|
|
2558
|
+
"author",
|
|
2559
|
+
"work",
|
|
2560
|
+
"url"
|
|
2561
|
+
]
|
|
2562
|
+
},
|
|
2529
2563
|
"NotificationCount": {
|
|
2530
2564
|
"type": "object",
|
|
2531
2565
|
"properties": {
|
package/package.json
CHANGED