@f3liz/rescript-misskey-api 0.6.5 → 0.6.7
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/lib/es6/src/stream/StreamClient.mjs +13 -2
- 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
- package/src/stream/StreamClient.res +14 -2
|
@@ -76,9 +76,9 @@ type postBlockingListRequest = {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
let postBlockingListRequestSchema = S.object(s => {
|
|
79
|
-
limit: s.
|
|
80
|
-
sinceId: s.
|
|
81
|
-
untilId: s.
|
|
79
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
80
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
81
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
82
82
|
})
|
|
83
83
|
|
|
84
84
|
type postBlockingListResponse = array<MisskeyIoComponentSchemas.Blocking.t>
|
|
@@ -170,9 +170,9 @@ type postClipsNotesRequest = {
|
|
|
170
170
|
|
|
171
171
|
let postClipsNotesRequestSchema = S.object(s => {
|
|
172
172
|
clipId: s.field("clipId", S.string),
|
|
173
|
-
limit: s.
|
|
174
|
-
sinceId: s.
|
|
175
|
-
untilId: s.
|
|
173
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
174
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
175
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
176
176
|
})
|
|
177
177
|
|
|
178
178
|
type postClipsNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
@@ -238,9 +238,9 @@ type postFlashMyRequest = {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
let postFlashMyRequestSchema = S.object(s => {
|
|
241
|
-
limit: s.
|
|
242
|
-
sinceId: s.
|
|
243
|
-
untilId: s.
|
|
241
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
242
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
243
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
244
244
|
})
|
|
245
245
|
|
|
246
246
|
type postFlashMyResponse = array<MisskeyIoComponentSchemas.Flash.t>
|
|
@@ -274,9 +274,9 @@ type postFlashMyLikesRequest = {
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
let postFlashMyLikesRequestSchema = S.object(s => {
|
|
277
|
-
limit: s.
|
|
278
|
-
sinceId: s.
|
|
279
|
-
untilId: s.
|
|
277
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
278
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
279
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
280
280
|
})
|
|
281
281
|
|
|
282
282
|
type postFlashMyLikesResponse_1 = {
|
|
@@ -344,9 +344,9 @@ type postIFavoritesRequest = {
|
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
let postIFavoritesRequestSchema = S.object(s => {
|
|
347
|
-
limit: s.
|
|
348
|
-
sinceId: s.
|
|
349
|
-
untilId: s.
|
|
347
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
348
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
349
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
350
350
|
})
|
|
351
351
|
|
|
352
352
|
type postIFavoritesResponse = array<MisskeyIoComponentSchemas.NoteFavorite.t>
|
|
@@ -380,9 +380,9 @@ type postIGalleryLikesRequest = {
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
let postIGalleryLikesRequestSchema = S.object(s => {
|
|
383
|
-
limit: s.
|
|
384
|
-
sinceId: s.
|
|
385
|
-
untilId: s.
|
|
383
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
384
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
385
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
386
386
|
})
|
|
387
387
|
|
|
388
388
|
type postIGalleryLikesResponse_1 = {
|
|
@@ -426,9 +426,9 @@ type postIGalleryPostsRequest = {
|
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
let postIGalleryPostsRequestSchema = S.object(s => {
|
|
429
|
-
limit: s.
|
|
430
|
-
sinceId: s.
|
|
431
|
-
untilId: s.
|
|
429
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
430
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
431
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
432
432
|
})
|
|
433
433
|
|
|
434
434
|
type postIGalleryPostsResponse = array<MisskeyIoComponentSchemas.GalleryPost.t>
|
|
@@ -465,12 +465,12 @@ type postINotificationsRequest = {
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
let postINotificationsRequestSchema = S.object(s => {
|
|
468
|
-
limit: s.
|
|
469
|
-
sinceId: s.
|
|
470
|
-
untilId: s.
|
|
471
|
-
markAsRead: s.
|
|
472
|
-
includeTypes: s.
|
|
473
|
-
excludeTypes: s.
|
|
468
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
469
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
470
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
471
|
+
markAsRead: s.field("markAsRead", S.option(S.bool)),
|
|
472
|
+
includeTypes: s.field("includeTypes", S.option(S.array(S.string))),
|
|
473
|
+
excludeTypes: s.field("excludeTypes", S.option(S.array(S.string))),
|
|
474
474
|
})
|
|
475
475
|
|
|
476
476
|
type postINotificationsResponse = array<MisskeyIoComponentSchemas.Notification.t>
|
|
@@ -507,12 +507,12 @@ type postINotificationsGroupedRequest = {
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
let postINotificationsGroupedRequestSchema = S.object(s => {
|
|
510
|
-
limit: s.
|
|
511
|
-
sinceId: s.
|
|
512
|
-
untilId: s.
|
|
513
|
-
markAsRead: s.
|
|
514
|
-
includeTypes: s.
|
|
515
|
-
excludeTypes: s.
|
|
510
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
511
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
512
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
513
|
+
markAsRead: s.field("markAsRead", S.option(S.bool)),
|
|
514
|
+
includeTypes: s.field("includeTypes", S.option(S.array(S.string))),
|
|
515
|
+
excludeTypes: s.field("excludeTypes", S.option(S.array(S.string))),
|
|
516
516
|
})
|
|
517
517
|
|
|
518
518
|
type postINotificationsGroupedResponse = array<MisskeyIoComponentSchemas.Notification.t>
|
|
@@ -546,9 +546,9 @@ type postIPageLikesRequest = {
|
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
let postIPageLikesRequestSchema = S.object(s => {
|
|
549
|
-
limit: s.
|
|
550
|
-
sinceId: s.
|
|
551
|
-
untilId: s.
|
|
549
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
550
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
551
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
552
552
|
})
|
|
553
553
|
|
|
554
554
|
type postIPageLikesResponse_1 = {
|
|
@@ -592,9 +592,9 @@ type postIPagesRequest = {
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
let postIPagesRequestSchema = S.object(s => {
|
|
595
|
-
limit: s.
|
|
596
|
-
sinceId: s.
|
|
597
|
-
untilId: s.
|
|
595
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
596
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
597
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
598
598
|
})
|
|
599
599
|
|
|
600
600
|
type postIPagesResponse = array<MisskeyIoComponentSchemas.Page.t>
|
|
@@ -661,8 +661,8 @@ type postIPurgeTimelineCacheRequest = {
|
|
|
661
661
|
|
|
662
662
|
let postIPurgeTimelineCacheRequestSchema = S.object(s => {
|
|
663
663
|
type_: s.field("type", S.string),
|
|
664
|
-
listId: s.
|
|
665
|
-
antennaId: s.
|
|
664
|
+
listId: s.field("listId", S.option(S.string)),
|
|
665
|
+
antennaId: s.field("antennaId", S.option(S.string)),
|
|
666
666
|
})
|
|
667
667
|
|
|
668
668
|
type postIPurgeTimelineCacheResponse = unit
|
|
@@ -838,11 +838,11 @@ type postIUpdateRequest = {
|
|
|
838
838
|
let postIUpdateRequest_5Schema = S.object(s => {
|
|
839
839
|
url: s.field("url", S.string),
|
|
840
840
|
fileId: s.field("fileId", S.string),
|
|
841
|
-
description: s.
|
|
841
|
+
description: s.field("description", S.option(S.string)),
|
|
842
842
|
})
|
|
843
843
|
|
|
844
844
|
let postIUpdateRequest_4Schema = S.object(s => {
|
|
845
|
-
name: s.
|
|
845
|
+
name: s.field("name", S.option(S.string)),
|
|
846
846
|
mutualLinks: s.field("mutualLinks", S.array(postIUpdateRequest_5Schema)),
|
|
847
847
|
})
|
|
848
848
|
|
|
@@ -871,54 +871,54 @@ let postIUpdateRequest_2Schema = S.object(s => {
|
|
|
871
871
|
|
|
872
872
|
let postIUpdateRequest_1Schema = S.object(s => {
|
|
873
873
|
id: s.field("id", S.string),
|
|
874
|
-
angle: s.
|
|
875
|
-
flipH: s.
|
|
876
|
-
offsetX: s.
|
|
877
|
-
offsetY: s.
|
|
874
|
+
angle: s.field("angle", S.option(S.float->S.min(0)->S.max(0))),
|
|
875
|
+
flipH: s.field("flipH", S.option(S.bool)),
|
|
876
|
+
offsetX: s.field("offsetX", S.option(S.float->S.min(0)->S.max(0))),
|
|
877
|
+
offsetY: s.field("offsetY", S.option(S.float->S.min(0)->S.max(0))),
|
|
878
878
|
})
|
|
879
879
|
|
|
880
880
|
let postIUpdateRequestSchema = S.object(s => {
|
|
881
|
-
name: s.
|
|
882
|
-
description: s.
|
|
883
|
-
followedMessage: s.
|
|
884
|
-
location: s.
|
|
885
|
-
birthday: s.
|
|
886
|
-
lang: s.
|
|
887
|
-
postingLang: s.
|
|
888
|
-
viewingLangs: s.
|
|
889
|
-
showMediaInAllLanguages: s.
|
|
890
|
-
showHashtagsInAllLanguages: s.
|
|
891
|
-
avatarId: s.
|
|
892
|
-
avatarDecorations: s.
|
|
893
|
-
bannerId: s.
|
|
894
|
-
fields: s.
|
|
895
|
-
isLocked: s.
|
|
896
|
-
isExplorable: s.
|
|
897
|
-
hideOnlineStatus: s.
|
|
898
|
-
publicReactions: s.
|
|
899
|
-
carefulBot: s.
|
|
900
|
-
autoAcceptFollowed: s.
|
|
901
|
-
noCrawle: s.
|
|
902
|
-
preventAiLearning: s.
|
|
903
|
-
requireSigninToViewContents: s.
|
|
904
|
-
makeNotesFollowersOnlyBefore: s.
|
|
905
|
-
makeNotesHiddenBefore: s.
|
|
906
|
-
isBot: s.
|
|
907
|
-
isCat: s.
|
|
908
|
-
injectFeaturedNote: s.
|
|
909
|
-
receiveAnnouncementEmail: s.
|
|
910
|
-
alwaysMarkNsfw: s.
|
|
911
|
-
autoSensitive: s.
|
|
912
|
-
followingVisibility: s.
|
|
913
|
-
followersVisibility: s.
|
|
914
|
-
chatScope: s.
|
|
915
|
-
pinnedPageId: s.
|
|
916
|
-
mutedWords: s.
|
|
917
|
-
mutedInstances: s.
|
|
918
|
-
notificationRecieveConfig: s.
|
|
919
|
-
emailNotificationTypes: s.
|
|
920
|
-
alsoKnownAs: s.
|
|
921
|
-
mutualLinkSections: s.
|
|
881
|
+
name: s.field("name", S.option(S.string->S.min(1)->S.max(50))),
|
|
882
|
+
description: s.field("description", S.option(S.string->S.min(1)->S.max(1500))),
|
|
883
|
+
followedMessage: s.field("followedMessage", S.option(S.string->S.min(1)->S.max(256))),
|
|
884
|
+
location: s.field("location", S.option(S.string->S.min(1)->S.max(50))),
|
|
885
|
+
birthday: s.field("birthday", S.option(S.string->S.pattern(/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/))),
|
|
886
|
+
lang: s.field("lang", S.option(S.string)),
|
|
887
|
+
postingLang: s.field("postingLang", S.option(S.string)),
|
|
888
|
+
viewingLangs: s.field("viewingLangs", S.option(S.array(S.string))),
|
|
889
|
+
showMediaInAllLanguages: s.field("showMediaInAllLanguages", S.option(S.bool)),
|
|
890
|
+
showHashtagsInAllLanguages: s.field("showHashtagsInAllLanguages", S.option(S.bool)),
|
|
891
|
+
avatarId: s.field("avatarId", S.option(S.string)),
|
|
892
|
+
avatarDecorations: s.field("avatarDecorations", S.option(S.array(postIUpdateRequest_1Schema))),
|
|
893
|
+
bannerId: s.field("bannerId", S.option(S.string)),
|
|
894
|
+
fields: s.field("fields", S.option(S.array(postIUpdateRequest_2Schema))),
|
|
895
|
+
isLocked: s.field("isLocked", S.option(S.bool)),
|
|
896
|
+
isExplorable: s.field("isExplorable", S.option(S.bool)),
|
|
897
|
+
hideOnlineStatus: s.field("hideOnlineStatus", S.option(S.bool)),
|
|
898
|
+
publicReactions: s.field("publicReactions", S.option(S.bool)),
|
|
899
|
+
carefulBot: s.field("carefulBot", S.option(S.bool)),
|
|
900
|
+
autoAcceptFollowed: s.field("autoAcceptFollowed", S.option(S.bool)),
|
|
901
|
+
noCrawle: s.field("noCrawle", S.option(S.bool)),
|
|
902
|
+
preventAiLearning: s.field("preventAiLearning", S.option(S.bool)),
|
|
903
|
+
requireSigninToViewContents: s.field("requireSigninToViewContents", S.option(S.bool)),
|
|
904
|
+
makeNotesFollowersOnlyBefore: s.field("makeNotesFollowersOnlyBefore", S.option(S.int)),
|
|
905
|
+
makeNotesHiddenBefore: s.field("makeNotesHiddenBefore", S.option(S.int)),
|
|
906
|
+
isBot: s.field("isBot", S.option(S.bool)),
|
|
907
|
+
isCat: s.field("isCat", S.option(S.bool)),
|
|
908
|
+
injectFeaturedNote: s.field("injectFeaturedNote", S.option(S.bool)),
|
|
909
|
+
receiveAnnouncementEmail: s.field("receiveAnnouncementEmail", S.option(S.bool)),
|
|
910
|
+
alwaysMarkNsfw: s.field("alwaysMarkNsfw", S.option(S.bool)),
|
|
911
|
+
autoSensitive: s.field("autoSensitive", S.option(S.bool)),
|
|
912
|
+
followingVisibility: s.field("followingVisibility", S.option(S.string)),
|
|
913
|
+
followersVisibility: s.field("followersVisibility", S.option(S.string)),
|
|
914
|
+
chatScope: s.field("chatScope", S.option(S.string)),
|
|
915
|
+
pinnedPageId: s.field("pinnedPageId", S.option(S.string)),
|
|
916
|
+
mutedWords: s.field("mutedWords", S.option(S.array(S.array(S.string)))),
|
|
917
|
+
mutedInstances: s.field("mutedInstances", S.option(S.array(S.string))),
|
|
918
|
+
notificationRecieveConfig: s.field("notificationRecieveConfig", S.option(postIUpdateRequest_3Schema)),
|
|
919
|
+
emailNotificationTypes: s.field("emailNotificationTypes", S.option(S.array(S.string))),
|
|
920
|
+
alsoKnownAs: s.field("alsoKnownAs", S.option(S.array(S.string))),
|
|
921
|
+
mutualLinkSections: s.field("mutualLinkSections", S.option(S.array(postIUpdateRequest_4Schema))),
|
|
922
922
|
})
|
|
923
923
|
|
|
924
924
|
type postIUpdateResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
@@ -952,7 +952,7 @@ type postMuteCreateRequest = {
|
|
|
952
952
|
|
|
953
953
|
let postMuteCreateRequestSchema = S.object(s => {
|
|
954
954
|
userId: s.field("userId", S.string),
|
|
955
|
-
expiresAt: s.
|
|
955
|
+
expiresAt: s.field("expiresAt", S.option(S.int)),
|
|
956
956
|
})
|
|
957
957
|
|
|
958
958
|
type postMuteCreateResponse = unit
|
|
@@ -1014,9 +1014,9 @@ type postMuteListRequest = {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
1016
|
let postMuteListRequestSchema = S.object(s => {
|
|
1017
|
-
limit: s.
|
|
1018
|
-
sinceId: s.
|
|
1019
|
-
untilId: s.
|
|
1017
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1018
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1019
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1020
1020
|
})
|
|
1021
1021
|
|
|
1022
1022
|
type postMuteListResponse = array<MisskeyIoComponentSchemas.Muting.t>
|
|
@@ -1049,8 +1049,8 @@ type postMyAppsRequest = {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
1051
|
let postMyAppsRequestSchema = S.object(s => {
|
|
1052
|
-
limit: s.
|
|
1053
|
-
offset: s.
|
|
1052
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1053
|
+
offset: s.field("offset", S.option(S.int)),
|
|
1054
1054
|
})
|
|
1055
1055
|
|
|
1056
1056
|
type postMyAppsResponse = array<MisskeyIoComponentSchemas.App.t>
|
|
@@ -1144,9 +1144,9 @@ type postRenoteMuteListRequest = {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
1146
|
let postRenoteMuteListRequestSchema = S.object(s => {
|
|
1147
|
-
limit: s.
|
|
1148
|
-
sinceId: s.
|
|
1149
|
-
untilId: s.
|
|
1147
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1148
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1149
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1150
1150
|
})
|
|
1151
1151
|
|
|
1152
1152
|
type postRenoteMuteListResponse = array<MisskeyIoComponentSchemas.RenoteMuting.t>
|
|
@@ -1184,7 +1184,7 @@ let postSwRegisterRequestSchema = S.object(s => {
|
|
|
1184
1184
|
endpoint: s.field("endpoint", S.string),
|
|
1185
1185
|
auth: s.field("auth", S.string),
|
|
1186
1186
|
publickey: s.field("publickey", S.string),
|
|
1187
|
-
sendReadMessage: s.
|
|
1187
|
+
sendReadMessage: s.field("sendReadMessage", S.option(S.bool)),
|
|
1188
1188
|
})
|
|
1189
1189
|
|
|
1190
1190
|
type postSwRegisterResponse = {
|
|
@@ -1196,7 +1196,7 @@ type postSwRegisterResponse = {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
1198
|
let postSwRegisterResponseSchema = S.object(s => {
|
|
1199
|
-
state: s.
|
|
1199
|
+
state: s.field("state", S.option(S.string)),
|
|
1200
1200
|
key: s.field("key", S.nullableAsOption(S.string)),
|
|
1201
1201
|
userId: s.field("userId", S.string),
|
|
1202
1202
|
endpoint: s.field("endpoint", S.string),
|
|
@@ -1306,7 +1306,7 @@ type postSwUpdateRegistrationRequest = {
|
|
|
1306
1306
|
|
|
1307
1307
|
let postSwUpdateRegistrationRequestSchema = S.object(s => {
|
|
1308
1308
|
endpoint: s.field("endpoint", S.string),
|
|
1309
|
-
sendReadMessage: s.
|
|
1309
|
+
sendReadMessage: s.field("sendReadMessage", S.option(S.bool)),
|
|
1310
1310
|
})
|
|
1311
1311
|
|
|
1312
1312
|
type postSwUpdateRegistrationResponse = {
|