api.fluff4.me 1.0.564 → 1.0.566
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 -10
- package/openapi.json +90 -46
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface Session {
|
|
|
18
18
|
expiry: string
|
|
19
19
|
created: string
|
|
20
20
|
authorisations?: Authorisation[] | null
|
|
21
|
+
partial_login?: SessionPartialLogin | null
|
|
21
22
|
author?: AuthorSelf | null
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -27,6 +28,22 @@ export interface Authorisation {
|
|
|
27
28
|
id: string
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
export interface SessionPartialLogin {
|
|
32
|
+
author: Author
|
|
33
|
+
totp_required?: true | null
|
|
34
|
+
auth_services_required?: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface Author {
|
|
38
|
+
name: string
|
|
39
|
+
time_join: string
|
|
40
|
+
support_link: string
|
|
41
|
+
support_message: string
|
|
42
|
+
word_count: number
|
|
43
|
+
vanity: string
|
|
44
|
+
pronouns?: string | null
|
|
45
|
+
}
|
|
46
|
+
|
|
30
47
|
export interface AuthorSelf {
|
|
31
48
|
name: string
|
|
32
49
|
time_join: string
|
|
@@ -49,16 +66,6 @@ export interface TextBody {
|
|
|
49
66
|
mentions?: Author[] | null
|
|
50
67
|
}
|
|
51
68
|
|
|
52
|
-
export interface Author {
|
|
53
|
-
name: string
|
|
54
|
-
time_join: string
|
|
55
|
-
support_link: string
|
|
56
|
-
support_message: string
|
|
57
|
-
word_count: number
|
|
58
|
-
vanity: string
|
|
59
|
-
pronouns?: string | null
|
|
60
|
-
}
|
|
61
|
-
|
|
62
69
|
export interface PatreonCampaign {
|
|
63
70
|
display_name: string
|
|
64
71
|
service: string
|
package/openapi.json
CHANGED
|
@@ -39,6 +39,16 @@
|
|
|
39
39
|
}
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
|
+
"partial_login": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"$ref": "#/components/schema/SessionPartialLogin"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "null"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
42
52
|
"author": {
|
|
43
53
|
"anyOf": [
|
|
44
54
|
{
|
|
@@ -74,6 +84,86 @@
|
|
|
74
84
|
"id"
|
|
75
85
|
]
|
|
76
86
|
},
|
|
87
|
+
"SessionPartialLogin": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"author": {
|
|
91
|
+
"$ref": "#/components/schema/Author"
|
|
92
|
+
},
|
|
93
|
+
"totp_required": {
|
|
94
|
+
"anyOf": [
|
|
95
|
+
{
|
|
96
|
+
"type": "boolean",
|
|
97
|
+
"enum": [
|
|
98
|
+
true
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "null"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"auth_services_required": {
|
|
107
|
+
"anyOf": [
|
|
108
|
+
{
|
|
109
|
+
"type": "number"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "null"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"required": [
|
|
118
|
+
"author"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"Author": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"name": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1,
|
|
127
|
+
"maxLength": 64
|
|
128
|
+
},
|
|
129
|
+
"time_join": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"support_link": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"maxLength": 128
|
|
135
|
+
},
|
|
136
|
+
"support_message": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"maxLength": 256
|
|
139
|
+
},
|
|
140
|
+
"word_count": {
|
|
141
|
+
"type": "number"
|
|
142
|
+
},
|
|
143
|
+
"vanity": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"maxLength": 32
|
|
146
|
+
},
|
|
147
|
+
"pronouns": {
|
|
148
|
+
"anyOf": [
|
|
149
|
+
{
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "null"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"name",
|
|
160
|
+
"time_join",
|
|
161
|
+
"support_link",
|
|
162
|
+
"support_message",
|
|
163
|
+
"word_count",
|
|
164
|
+
"vanity"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
77
167
|
"AuthorSelf": {
|
|
78
168
|
"type": "object",
|
|
79
169
|
"properties": {
|
|
@@ -217,52 +307,6 @@
|
|
|
217
307
|
"body"
|
|
218
308
|
]
|
|
219
309
|
},
|
|
220
|
-
"Author": {
|
|
221
|
-
"type": "object",
|
|
222
|
-
"properties": {
|
|
223
|
-
"name": {
|
|
224
|
-
"type": "string",
|
|
225
|
-
"minLength": 1,
|
|
226
|
-
"maxLength": 64
|
|
227
|
-
},
|
|
228
|
-
"time_join": {
|
|
229
|
-
"type": "string"
|
|
230
|
-
},
|
|
231
|
-
"support_link": {
|
|
232
|
-
"type": "string",
|
|
233
|
-
"maxLength": 128
|
|
234
|
-
},
|
|
235
|
-
"support_message": {
|
|
236
|
-
"type": "string",
|
|
237
|
-
"maxLength": 256
|
|
238
|
-
},
|
|
239
|
-
"word_count": {
|
|
240
|
-
"type": "number"
|
|
241
|
-
},
|
|
242
|
-
"vanity": {
|
|
243
|
-
"type": "string",
|
|
244
|
-
"maxLength": 32
|
|
245
|
-
},
|
|
246
|
-
"pronouns": {
|
|
247
|
-
"anyOf": [
|
|
248
|
-
{
|
|
249
|
-
"type": "string"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"type": "null"
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"required": [
|
|
258
|
-
"name",
|
|
259
|
-
"time_join",
|
|
260
|
-
"support_link",
|
|
261
|
-
"support_message",
|
|
262
|
-
"word_count",
|
|
263
|
-
"vanity"
|
|
264
|
-
]
|
|
265
|
-
},
|
|
266
310
|
"PatreonCampaign": {
|
|
267
311
|
"type": "object",
|
|
268
312
|
"properties": {
|
package/package.json
CHANGED