@f3liz/rescript-misskey-api 0.6.5 → 0.6.6
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/lib/es6/src/generated/kokonect-link/api/KokonectLinkAccount.mjs +123 -123
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAdmin.mjs +307 -307
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAntennas.mjs +18 -18
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkApp.mjs +1 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChannels.mjs +29 -29
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkCharts.mjs +4 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChat.mjs +47 -47
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkClips.mjs +10 -10
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.mjs +145 -145
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDefault.mjs +18 -18
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDrive.mjs +44 -44
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFederation.mjs +31 -31
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlash.mjs +6 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFollowing.mjs +13 -13
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGallery.mjs +11 -11
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkHashtags.mjs +3 -3
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkLists.mjs +8 -8
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkMeta.mjs +14 -14
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotes.mjs +247 -247
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotifications.mjs +2 -2
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkPages.mjs +13 -13
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkRole.mjs +10 -10
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkUsers.mjs +51 -51
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkWebhooks.mjs +6 -6
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAccount.mjs +100 -100
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAdmin.mjs +360 -360
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAntennas.mjs +21 -21
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoApp.mjs +1 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAuth.mjs +3 -3
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoChannels.mjs +23 -23
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoCharts.mjs +48 -48
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClips.mjs +5 -5
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoComponentSchemas.mjs +122 -122
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDefault.mjs +42 -42
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDrive.mjs +39 -39
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFederation.mjs +33 -33
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlash.mjs +8 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFollowing.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoGallery.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoHashtags.mjs +11 -11
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoLists.mjs +9 -9
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoMeta.mjs +85 -85
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNonProductive.mjs +8 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotes.mjs +147 -147
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotifications.mjs +2 -2
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoPages.mjs +18 -18
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoRole.mjs +9 -9
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoUsers.mjs +69 -69
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoWebhooks.mjs +12 -12
- package/package.json +2 -2
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +123 -123
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +307 -307
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +1 -1
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +29 -29
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +4 -4
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +47 -47
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +10 -10
- package/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.res +145 -145
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +44 -44
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +31 -31
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +13 -13
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +11 -11
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +3 -3
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +8 -8
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +14 -14
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +247 -247
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +2 -2
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +13 -13
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +10 -10
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +51 -51
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +6 -6
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +100 -100
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +359 -359
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +21 -21
- package/src/generated/misskey-io/api/MisskeyIoApp.res +1 -1
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +3 -3
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +23 -23
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +48 -48
- package/src/generated/misskey-io/api/MisskeyIoClips.res +5 -5
- package/src/generated/misskey-io/api/MisskeyIoComponentSchemas.res +122 -122
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +42 -42
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +39 -39
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +33 -33
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +8 -8
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +11 -11
- package/src/generated/misskey-io/api/MisskeyIoLists.res +9 -9
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +85 -85
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +8 -8
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +147 -147
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +2 -2
- package/src/generated/misskey-io/api/MisskeyIoPages.res +18 -18
- package/src/generated/misskey-io/api/MisskeyIoRole.res +9 -9
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +69 -69
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +12 -12
|
@@ -23,16 +23,16 @@ type postAntennasCreateRequest = {
|
|
|
23
23
|
let postAntennasCreateRequestSchema = S.object(s => {
|
|
24
24
|
name: s.field("name", S.string->S.min(1)->S.max(100)),
|
|
25
25
|
src: s.field("src", S.string),
|
|
26
|
-
userListId: s.
|
|
26
|
+
userListId: s.field("userListId", S.option(S.string)),
|
|
27
27
|
keywords: s.field("keywords", S.array(S.array(S.string))),
|
|
28
28
|
excludeKeywords: s.field("excludeKeywords", S.array(S.array(S.string))),
|
|
29
29
|
users: s.field("users", S.array(S.string)),
|
|
30
30
|
caseSensitive: s.field("caseSensitive", S.bool),
|
|
31
|
-
localOnly: s.
|
|
32
|
-
excludeBots: s.
|
|
31
|
+
localOnly: s.field("localOnly", S.option(S.bool)),
|
|
32
|
+
excludeBots: s.field("excludeBots", S.option(S.bool)),
|
|
33
33
|
withReplies: s.field("withReplies", S.bool),
|
|
34
34
|
withFile: s.field("withFile", S.bool),
|
|
35
|
-
excludeNotesInSensitiveChannel: s.
|
|
35
|
+
excludeNotesInSensitiveChannel: s.field("excludeNotesInSensitiveChannel", S.option(S.bool)),
|
|
36
36
|
})
|
|
37
37
|
|
|
38
38
|
type postAntennasCreateResponse = MisskeyIoComponentSchemas.Antenna.t
|
|
@@ -124,11 +124,11 @@ type postAntennasNotesRequest = {
|
|
|
124
124
|
|
|
125
125
|
let postAntennasNotesRequestSchema = S.object(s => {
|
|
126
126
|
antennaId: s.field("antennaId", S.string),
|
|
127
|
-
limit: s.
|
|
128
|
-
sinceId: s.
|
|
129
|
-
untilId: s.
|
|
130
|
-
sinceDate: s.
|
|
131
|
-
untilDate: s.
|
|
127
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
128
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
129
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
130
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
131
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
132
132
|
})
|
|
133
133
|
|
|
134
134
|
type postAntennasNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
@@ -205,18 +205,18 @@ type postAntennasUpdateRequest = {
|
|
|
205
205
|
|
|
206
206
|
let postAntennasUpdateRequestSchema = S.object(s => {
|
|
207
207
|
antennaId: s.field("antennaId", S.string),
|
|
208
|
-
name: s.
|
|
209
|
-
src: s.
|
|
210
|
-
userListId: s.
|
|
211
|
-
keywords: s.
|
|
212
|
-
excludeKeywords: s.
|
|
213
|
-
users: s.
|
|
214
|
-
caseSensitive: s.
|
|
215
|
-
localOnly: s.
|
|
216
|
-
excludeBots: s.
|
|
217
|
-
withReplies: s.
|
|
218
|
-
withFile: s.
|
|
219
|
-
excludeNotesInSensitiveChannel: s.
|
|
208
|
+
name: s.field("name", S.option(S.string->S.min(1)->S.max(100))),
|
|
209
|
+
src: s.field("src", S.option(S.string)),
|
|
210
|
+
userListId: s.field("userListId", S.option(S.string)),
|
|
211
|
+
keywords: s.field("keywords", S.option(S.array(S.array(S.string)))),
|
|
212
|
+
excludeKeywords: s.field("excludeKeywords", S.option(S.array(S.array(S.string)))),
|
|
213
|
+
users: s.field("users", S.option(S.array(S.string))),
|
|
214
|
+
caseSensitive: s.field("caseSensitive", S.option(S.bool)),
|
|
215
|
+
localOnly: s.field("localOnly", S.option(S.bool)),
|
|
216
|
+
excludeBots: s.field("excludeBots", S.option(S.bool)),
|
|
217
|
+
withReplies: s.field("withReplies", S.option(S.bool)),
|
|
218
|
+
withFile: s.field("withFile", S.option(S.bool)),
|
|
219
|
+
excludeNotesInSensitiveChannel: s.field("excludeNotesInSensitiveChannel", S.option(S.bool)),
|
|
220
220
|
})
|
|
221
221
|
|
|
222
222
|
type postAntennasUpdateResponse = MisskeyIoComponentSchemas.Antenna.t
|
|
@@ -16,7 +16,7 @@ let postAppCreateRequestSchema = S.object(s => {
|
|
|
16
16
|
name: s.field("name", S.string),
|
|
17
17
|
description: s.field("description", S.string),
|
|
18
18
|
permission: s.field("permission", S.array(S.string)),
|
|
19
|
-
callbackUrl: s.
|
|
19
|
+
callbackUrl: s.field("callbackUrl", S.option(S.string)),
|
|
20
20
|
})
|
|
21
21
|
|
|
22
22
|
type postAppCreateResponse = MisskeyIoComponentSchemas.App.t
|
|
@@ -164,9 +164,9 @@ type postMiauthGenTokenRequest = {
|
|
|
164
164
|
|
|
165
165
|
let postMiauthGenTokenRequestSchema = S.object(s => {
|
|
166
166
|
session: s.field("session", S.nullableAsOption(S.string)),
|
|
167
|
-
name: s.
|
|
168
|
-
description: s.
|
|
169
|
-
iconUrl: s.
|
|
167
|
+
name: s.field("name", S.option(S.string)),
|
|
168
|
+
description: s.field("description", S.option(S.string)),
|
|
169
|
+
iconUrl: s.field("iconUrl", S.option(S.string)),
|
|
170
170
|
permission: s.field("permission", S.array(S.string)),
|
|
171
171
|
})
|
|
172
172
|
|
|
@@ -16,11 +16,11 @@ type postChannelsCreateRequest = {
|
|
|
16
16
|
|
|
17
17
|
let postChannelsCreateRequestSchema = S.object(s => {
|
|
18
18
|
name: s.field("name", S.string->S.min(1)->S.max(128)),
|
|
19
|
-
description: s.
|
|
20
|
-
bannerId: s.
|
|
21
|
-
color: s.
|
|
22
|
-
isSensitive: s.
|
|
23
|
-
allowRenoteToExternal: s.
|
|
19
|
+
description: s.field("description", S.option(S.string->S.min(1)->S.max(2048))),
|
|
20
|
+
bannerId: s.field("bannerId", S.option(S.string)),
|
|
21
|
+
color: s.field("color", S.option(S.string->S.min(1)->S.max(16))),
|
|
22
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
23
|
+
allowRenoteToExternal: s.field("allowRenoteToExternal", S.option(S.bool)),
|
|
24
24
|
})
|
|
25
25
|
|
|
26
26
|
type postChannelsCreateResponse = MisskeyIoComponentSchemas.Channel.t
|
|
@@ -162,9 +162,9 @@ type postChannelsFollowedRequest = {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
let postChannelsFollowedRequestSchema = S.object(s => {
|
|
165
|
-
sinceId: s.
|
|
166
|
-
untilId: s.
|
|
167
|
-
limit: s.
|
|
165
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
166
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
167
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
168
168
|
})
|
|
169
169
|
|
|
170
170
|
type postChannelsFollowedResponse = array<MisskeyIoComponentSchemas.Channel.t>
|
|
@@ -222,9 +222,9 @@ type postChannelsOwnedRequest = {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
let postChannelsOwnedRequestSchema = S.object(s => {
|
|
225
|
-
sinceId: s.
|
|
226
|
-
untilId: s.
|
|
227
|
-
limit: s.
|
|
225
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
226
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
227
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
228
228
|
})
|
|
229
229
|
|
|
230
230
|
type postChannelsOwnedResponse = array<MisskeyIoComponentSchemas.Channel.t>
|
|
@@ -261,10 +261,10 @@ type postChannelsSearchRequest = {
|
|
|
261
261
|
|
|
262
262
|
let postChannelsSearchRequestSchema = S.object(s => {
|
|
263
263
|
query: s.field("query", S.string),
|
|
264
|
-
type_: s.
|
|
265
|
-
sinceId: s.
|
|
266
|
-
untilId: s.
|
|
267
|
-
limit: s.
|
|
264
|
+
type_: s.field("type", S.option(S.string)),
|
|
265
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
266
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
267
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
268
268
|
})
|
|
269
269
|
|
|
270
270
|
type postChannelsSearchResponse = array<MisskeyIoComponentSchemas.Channel.t>
|
|
@@ -397,14 +397,14 @@ type postChannelsUpdateRequest = {
|
|
|
397
397
|
|
|
398
398
|
let postChannelsUpdateRequestSchema = S.object(s => {
|
|
399
399
|
channelId: s.field("channelId", S.string),
|
|
400
|
-
name: s.
|
|
401
|
-
description: s.
|
|
402
|
-
bannerId: s.
|
|
403
|
-
isArchived: s.
|
|
404
|
-
pinnedNoteIds: s.
|
|
405
|
-
color: s.
|
|
406
|
-
isSensitive: s.
|
|
407
|
-
allowRenoteToExternal: s.
|
|
400
|
+
name: s.field("name", S.option(S.string->S.min(1)->S.max(128))),
|
|
401
|
+
description: s.field("description", S.option(S.string->S.min(1)->S.max(2048))),
|
|
402
|
+
bannerId: s.field("bannerId", S.option(S.string)),
|
|
403
|
+
isArchived: s.field("isArchived", S.option(S.bool)),
|
|
404
|
+
pinnedNoteIds: s.field("pinnedNoteIds", S.option(S.array(S.string))),
|
|
405
|
+
color: s.field("color", S.option(S.string->S.min(1)->S.max(16))),
|
|
406
|
+
isSensitive: s.field("isSensitive", S.option(S.bool)),
|
|
407
|
+
allowRenoteToExternal: s.field("allowRenoteToExternal", S.option(S.bool)),
|
|
408
408
|
})
|
|
409
409
|
|
|
410
410
|
type postChannelsUpdateResponse = MisskeyIoComponentSchemas.Channel.t
|
|
@@ -13,8 +13,8 @@ type getChartsActiveUsersRequest = {
|
|
|
13
13
|
|
|
14
14
|
let getChartsActiveUsersRequestSchema = S.object(s => {
|
|
15
15
|
span: s.field("span", S.string),
|
|
16
|
-
limit: s.
|
|
17
|
-
offset: s.
|
|
16
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
17
|
+
offset: s.field("offset", S.option(S.int)),
|
|
18
18
|
})
|
|
19
19
|
|
|
20
20
|
type getChartsActiveUsersResponse = {
|
|
@@ -69,8 +69,8 @@ type postChartsActiveUsersRequest = {
|
|
|
69
69
|
|
|
70
70
|
let postChartsActiveUsersRequestSchema = S.object(s => {
|
|
71
71
|
span: s.field("span", S.string),
|
|
72
|
-
limit: s.
|
|
73
|
-
offset: s.
|
|
72
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
73
|
+
offset: s.field("offset", S.option(S.int)),
|
|
74
74
|
})
|
|
75
75
|
|
|
76
76
|
type postChartsActiveUsersResponse = {
|
|
@@ -125,8 +125,8 @@ type getChartsApRequestRequest = {
|
|
|
125
125
|
|
|
126
126
|
let getChartsApRequestRequestSchema = S.object(s => {
|
|
127
127
|
span: s.field("span", S.string),
|
|
128
|
-
limit: s.
|
|
129
|
-
offset: s.
|
|
128
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
129
|
+
offset: s.field("offset", S.option(S.int)),
|
|
130
130
|
})
|
|
131
131
|
|
|
132
132
|
type getChartsApRequestResponse = {
|
|
@@ -169,8 +169,8 @@ type postChartsApRequestRequest = {
|
|
|
169
169
|
|
|
170
170
|
let postChartsApRequestRequestSchema = S.object(s => {
|
|
171
171
|
span: s.field("span", S.string),
|
|
172
|
-
limit: s.
|
|
173
|
-
offset: s.
|
|
172
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
173
|
+
offset: s.field("offset", S.option(S.int)),
|
|
174
174
|
})
|
|
175
175
|
|
|
176
176
|
type postChartsApRequestResponse = {
|
|
@@ -213,8 +213,8 @@ type getChartsDriveRequest = {
|
|
|
213
213
|
|
|
214
214
|
let getChartsDriveRequestSchema = S.object(s => {
|
|
215
215
|
span: s.field("span", S.string),
|
|
216
|
-
limit: s.
|
|
217
|
-
offset: s.
|
|
216
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
217
|
+
offset: s.field("offset", S.option(S.int)),
|
|
218
218
|
})
|
|
219
219
|
|
|
220
220
|
type getChartsDriveResponse_1 = {
|
|
@@ -269,8 +269,8 @@ type postChartsDriveRequest = {
|
|
|
269
269
|
|
|
270
270
|
let postChartsDriveRequestSchema = S.object(s => {
|
|
271
271
|
span: s.field("span", S.string),
|
|
272
|
-
limit: s.
|
|
273
|
-
offset: s.
|
|
272
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
273
|
+
offset: s.field("offset", S.option(S.int)),
|
|
274
274
|
})
|
|
275
275
|
|
|
276
276
|
type postChartsDriveResponse_1 = {
|
|
@@ -325,8 +325,8 @@ type getChartsFederationRequest = {
|
|
|
325
325
|
|
|
326
326
|
let getChartsFederationRequestSchema = S.object(s => {
|
|
327
327
|
span: s.field("span", S.string),
|
|
328
|
-
limit: s.
|
|
329
|
-
offset: s.
|
|
328
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
329
|
+
offset: s.field("offset", S.option(S.int)),
|
|
330
330
|
})
|
|
331
331
|
|
|
332
332
|
type getChartsFederationResponse = {
|
|
@@ -379,8 +379,8 @@ type postChartsFederationRequest = {
|
|
|
379
379
|
|
|
380
380
|
let postChartsFederationRequestSchema = S.object(s => {
|
|
381
381
|
span: s.field("span", S.string),
|
|
382
|
-
limit: s.
|
|
383
|
-
offset: s.
|
|
382
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
383
|
+
offset: s.field("offset", S.option(S.int)),
|
|
384
384
|
})
|
|
385
385
|
|
|
386
386
|
type postChartsFederationResponse = {
|
|
@@ -434,8 +434,8 @@ type getChartsInstanceRequest = {
|
|
|
434
434
|
|
|
435
435
|
let getChartsInstanceRequestSchema = S.object(s => {
|
|
436
436
|
span: s.field("span", S.string),
|
|
437
|
-
limit: s.
|
|
438
|
-
offset: s.
|
|
437
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
438
|
+
offset: s.field("offset", S.option(S.int)),
|
|
439
439
|
host: s.field("host", S.string),
|
|
440
440
|
})
|
|
441
441
|
|
|
@@ -554,8 +554,8 @@ type postChartsInstanceRequest = {
|
|
|
554
554
|
|
|
555
555
|
let postChartsInstanceRequestSchema = S.object(s => {
|
|
556
556
|
span: s.field("span", S.string),
|
|
557
|
-
limit: s.
|
|
558
|
-
offset: s.
|
|
557
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
558
|
+
offset: s.field("offset", S.option(S.int)),
|
|
559
559
|
host: s.field("host", S.string),
|
|
560
560
|
})
|
|
561
561
|
|
|
@@ -673,8 +673,8 @@ type getChartsNotesRequest = {
|
|
|
673
673
|
|
|
674
674
|
let getChartsNotesRequestSchema = S.object(s => {
|
|
675
675
|
span: s.field("span", S.string),
|
|
676
|
-
limit: s.
|
|
677
|
-
offset: s.
|
|
676
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
677
|
+
offset: s.field("offset", S.option(S.int)),
|
|
678
678
|
})
|
|
679
679
|
|
|
680
680
|
type getChartsNotesResponse_2 = {
|
|
@@ -743,8 +743,8 @@ type postChartsNotesRequest = {
|
|
|
743
743
|
|
|
744
744
|
let postChartsNotesRequestSchema = S.object(s => {
|
|
745
745
|
span: s.field("span", S.string),
|
|
746
|
-
limit: s.
|
|
747
|
-
offset: s.
|
|
746
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
747
|
+
offset: s.field("offset", S.option(S.int)),
|
|
748
748
|
})
|
|
749
749
|
|
|
750
750
|
type postChartsNotesResponse_2 = {
|
|
@@ -814,8 +814,8 @@ type getChartsUserDriveRequest = {
|
|
|
814
814
|
|
|
815
815
|
let getChartsUserDriveRequestSchema = S.object(s => {
|
|
816
816
|
span: s.field("span", S.string),
|
|
817
|
-
limit: s.
|
|
818
|
-
offset: s.
|
|
817
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
818
|
+
offset: s.field("offset", S.option(S.int)),
|
|
819
819
|
userId: s.field("userId", S.string),
|
|
820
820
|
})
|
|
821
821
|
|
|
@@ -866,8 +866,8 @@ type postChartsUserDriveRequest = {
|
|
|
866
866
|
|
|
867
867
|
let postChartsUserDriveRequestSchema = S.object(s => {
|
|
868
868
|
span: s.field("span", S.string),
|
|
869
|
-
limit: s.
|
|
870
|
-
offset: s.
|
|
869
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
870
|
+
offset: s.field("offset", S.option(S.int)),
|
|
871
871
|
userId: s.field("userId", S.string),
|
|
872
872
|
})
|
|
873
873
|
|
|
@@ -918,8 +918,8 @@ type getChartsUserFollowingRequest = {
|
|
|
918
918
|
|
|
919
919
|
let getChartsUserFollowingRequestSchema = S.object(s => {
|
|
920
920
|
span: s.field("span", S.string),
|
|
921
|
-
limit: s.
|
|
922
|
-
offset: s.
|
|
921
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
922
|
+
offset: s.field("offset", S.option(S.int)),
|
|
923
923
|
userId: s.field("userId", S.string),
|
|
924
924
|
})
|
|
925
925
|
|
|
@@ -984,8 +984,8 @@ type postChartsUserFollowingRequest = {
|
|
|
984
984
|
|
|
985
985
|
let postChartsUserFollowingRequestSchema = S.object(s => {
|
|
986
986
|
span: s.field("span", S.string),
|
|
987
|
-
limit: s.
|
|
988
|
-
offset: s.
|
|
987
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
988
|
+
offset: s.field("offset", S.option(S.int)),
|
|
989
989
|
userId: s.field("userId", S.string),
|
|
990
990
|
})
|
|
991
991
|
|
|
@@ -1050,8 +1050,8 @@ type getChartsUserNotesRequest = {
|
|
|
1050
1050
|
|
|
1051
1051
|
let getChartsUserNotesRequestSchema = S.object(s => {
|
|
1052
1052
|
span: s.field("span", S.string),
|
|
1053
|
-
limit: s.
|
|
1054
|
-
offset: s.
|
|
1053
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1054
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1055
1055
|
userId: s.field("userId", S.string),
|
|
1056
1056
|
})
|
|
1057
1057
|
|
|
@@ -1112,8 +1112,8 @@ type postChartsUserNotesRequest = {
|
|
|
1112
1112
|
|
|
1113
1113
|
let postChartsUserNotesRequestSchema = S.object(s => {
|
|
1114
1114
|
span: s.field("span", S.string),
|
|
1115
|
-
limit: s.
|
|
1116
|
-
offset: s.
|
|
1115
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1116
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1117
1117
|
userId: s.field("userId", S.string),
|
|
1118
1118
|
})
|
|
1119
1119
|
|
|
@@ -1174,8 +1174,8 @@ type getChartsUserPvRequest = {
|
|
|
1174
1174
|
|
|
1175
1175
|
let getChartsUserPvRequestSchema = S.object(s => {
|
|
1176
1176
|
span: s.field("span", S.string),
|
|
1177
|
-
limit: s.
|
|
1178
|
-
offset: s.
|
|
1177
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1178
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1179
1179
|
userId: s.field("userId", S.string),
|
|
1180
1180
|
})
|
|
1181
1181
|
|
|
@@ -1228,8 +1228,8 @@ type postChartsUserPvRequest = {
|
|
|
1228
1228
|
|
|
1229
1229
|
let postChartsUserPvRequestSchema = S.object(s => {
|
|
1230
1230
|
span: s.field("span", S.string),
|
|
1231
|
-
limit: s.
|
|
1232
|
-
offset: s.
|
|
1231
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1232
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1233
1233
|
userId: s.field("userId", S.string),
|
|
1234
1234
|
})
|
|
1235
1235
|
|
|
@@ -1282,8 +1282,8 @@ type getChartsUserReactionsRequest = {
|
|
|
1282
1282
|
|
|
1283
1283
|
let getChartsUserReactionsRequestSchema = S.object(s => {
|
|
1284
1284
|
span: s.field("span", S.string),
|
|
1285
|
-
limit: s.
|
|
1286
|
-
offset: s.
|
|
1285
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1286
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1287
1287
|
userId: s.field("userId", S.string),
|
|
1288
1288
|
})
|
|
1289
1289
|
|
|
@@ -1334,8 +1334,8 @@ type postChartsUserReactionsRequest = {
|
|
|
1334
1334
|
|
|
1335
1335
|
let postChartsUserReactionsRequestSchema = S.object(s => {
|
|
1336
1336
|
span: s.field("span", S.string),
|
|
1337
|
-
limit: s.
|
|
1338
|
-
offset: s.
|
|
1337
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1338
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1339
1339
|
userId: s.field("userId", S.string),
|
|
1340
1340
|
})
|
|
1341
1341
|
|
|
@@ -1385,8 +1385,8 @@ type getChartsUsersRequest = {
|
|
|
1385
1385
|
|
|
1386
1386
|
let getChartsUsersRequestSchema = S.object(s => {
|
|
1387
1387
|
span: s.field("span", S.string),
|
|
1388
|
-
limit: s.
|
|
1389
|
-
offset: s.
|
|
1388
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1389
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1390
1390
|
})
|
|
1391
1391
|
|
|
1392
1392
|
type getChartsUsersResponse_1 = {
|
|
@@ -1439,8 +1439,8 @@ type postChartsUsersRequest = {
|
|
|
1439
1439
|
|
|
1440
1440
|
let postChartsUsersRequestSchema = S.object(s => {
|
|
1441
1441
|
span: s.field("span", S.string),
|
|
1442
|
-
limit: s.
|
|
1443
|
-
offset: s.
|
|
1442
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(500))),
|
|
1443
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1444
1444
|
})
|
|
1445
1445
|
|
|
1446
1446
|
type postChartsUsersResponse_1 = {
|
|
@@ -13,8 +13,8 @@ type postClipsCreateRequest = {
|
|
|
13
13
|
|
|
14
14
|
let postClipsCreateRequestSchema = S.object(s => {
|
|
15
15
|
name: s.field("name", S.string->S.min(1)->S.max(100)),
|
|
16
|
-
isPublic: s.
|
|
17
|
-
description: s.
|
|
16
|
+
isPublic: s.field("isPublic", S.option(S.bool)),
|
|
17
|
+
description: s.field("description", S.option(S.string->S.max(2048))),
|
|
18
18
|
})
|
|
19
19
|
|
|
20
20
|
type postClipsCreateResponse = MisskeyIoComponentSchemas.Clip.t
|
|
@@ -136,9 +136,9 @@ type postClipsUpdateRequest = {
|
|
|
136
136
|
|
|
137
137
|
let postClipsUpdateRequestSchema = S.object(s => {
|
|
138
138
|
clipId: s.field("clipId", S.string),
|
|
139
|
-
name: s.
|
|
140
|
-
isPublic: s.
|
|
141
|
-
description: s.
|
|
139
|
+
name: s.field("name", S.option(S.string->S.min(1)->S.max(100))),
|
|
140
|
+
isPublic: s.field("isPublic", S.option(S.bool)),
|
|
141
|
+
description: s.field("description", S.option(S.string->S.max(2048))),
|
|
142
142
|
})
|
|
143
143
|
|
|
144
144
|
type postClipsUpdateResponse = MisskeyIoComponentSchemas.Clip.t
|