@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
|
@@ -78,11 +78,11 @@ type postBlockingListRequest = {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
let postBlockingListRequestSchema = S.object(s => {
|
|
81
|
-
limit: s.
|
|
82
|
-
sinceId: s.
|
|
83
|
-
untilId: s.
|
|
84
|
-
sinceDate: s.
|
|
85
|
-
untilDate: s.
|
|
81
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
82
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
83
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
84
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
85
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
86
86
|
})
|
|
87
87
|
|
|
88
88
|
type postBlockingListResponse = array<KokonectLinkComponentSchemas.Blocking.t>
|
|
@@ -121,12 +121,12 @@ type postClipsNotesRequest = {
|
|
|
121
121
|
|
|
122
122
|
let postClipsNotesRequestSchema = S.object(s => {
|
|
123
123
|
clipId: s.field("clipId", S.string),
|
|
124
|
-
limit: s.
|
|
125
|
-
sinceId: s.
|
|
126
|
-
untilId: s.
|
|
127
|
-
sinceDate: s.
|
|
128
|
-
untilDate: s.
|
|
129
|
-
search: s.
|
|
124
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
125
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
126
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
127
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
128
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
129
|
+
search: s.field("search", S.option(S.string->S.min(1)->S.max(100))),
|
|
130
130
|
})
|
|
131
131
|
|
|
132
132
|
type postClipsNotesResponse = array<KokonectLinkComponentSchemas.Note.t>
|
|
@@ -162,11 +162,11 @@ type postFlashMyRequest = {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
let postFlashMyRequestSchema = S.object(s => {
|
|
165
|
-
limit: s.
|
|
166
|
-
sinceId: s.
|
|
167
|
-
untilId: s.
|
|
168
|
-
sinceDate: s.
|
|
169
|
-
untilDate: s.
|
|
165
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
166
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
167
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
168
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
169
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
170
170
|
})
|
|
171
171
|
|
|
172
172
|
type postFlashMyResponse = array<KokonectLinkComponentSchemas.Flash.t>
|
|
@@ -203,12 +203,12 @@ type postFlashMyLikesRequest = {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
let postFlashMyLikesRequestSchema = S.object(s => {
|
|
206
|
-
limit: s.
|
|
207
|
-
sinceId: s.
|
|
208
|
-
untilId: s.
|
|
209
|
-
sinceDate: s.
|
|
210
|
-
untilDate: s.
|
|
211
|
-
search: s.
|
|
206
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
207
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
208
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
209
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
210
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
211
|
+
search: s.field("search", S.option(S.string->S.min(1)->S.max(100))),
|
|
212
212
|
})
|
|
213
213
|
|
|
214
214
|
type postFlashMyLikesResponse_1 = {
|
|
@@ -308,11 +308,11 @@ type postIFavoritesRequest = {
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
let postIFavoritesRequestSchema = S.object(s => {
|
|
311
|
-
limit: s.
|
|
312
|
-
sinceId: s.
|
|
313
|
-
untilId: s.
|
|
314
|
-
sinceDate: s.
|
|
315
|
-
untilDate: s.
|
|
311
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
312
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
313
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
314
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
315
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
316
316
|
})
|
|
317
317
|
|
|
318
318
|
type postIFavoritesResponse = array<KokonectLinkComponentSchemas.NoteFavorite.t>
|
|
@@ -388,11 +388,11 @@ type postIGalleryLikesRequest = {
|
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
let postIGalleryLikesRequestSchema = S.object(s => {
|
|
391
|
-
limit: s.
|
|
392
|
-
sinceId: s.
|
|
393
|
-
untilId: s.
|
|
394
|
-
sinceDate: s.
|
|
395
|
-
untilDate: s.
|
|
391
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
392
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
393
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
394
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
395
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
396
396
|
})
|
|
397
397
|
|
|
398
398
|
type postIGalleryLikesResponse_1 = {
|
|
@@ -438,11 +438,11 @@ type postIGalleryPostsRequest = {
|
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
let postIGalleryPostsRequestSchema = S.object(s => {
|
|
441
|
-
limit: s.
|
|
442
|
-
sinceId: s.
|
|
443
|
-
untilId: s.
|
|
444
|
-
sinceDate: s.
|
|
445
|
-
untilDate: s.
|
|
441
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
442
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
443
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
444
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
445
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
446
446
|
})
|
|
447
447
|
|
|
448
448
|
type postIGalleryPostsResponse = array<KokonectLinkComponentSchemas.GalleryPost.t>
|
|
@@ -481,14 +481,14 @@ type postINotificationsRequest = {
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
let postINotificationsRequestSchema = S.object(s => {
|
|
484
|
-
limit: s.
|
|
485
|
-
sinceId: s.
|
|
486
|
-
untilId: s.
|
|
487
|
-
sinceDate: s.
|
|
488
|
-
untilDate: s.
|
|
489
|
-
markAsRead: s.
|
|
490
|
-
includeTypes: s.
|
|
491
|
-
excludeTypes: s.
|
|
484
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
485
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
486
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
487
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
488
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
489
|
+
markAsRead: s.field("markAsRead", S.option(S.bool)),
|
|
490
|
+
includeTypes: s.field("includeTypes", S.option(S.array(S.string))),
|
|
491
|
+
excludeTypes: s.field("excludeTypes", S.option(S.array(S.string))),
|
|
492
492
|
})
|
|
493
493
|
|
|
494
494
|
type postINotificationsResponse = array<KokonectLinkComponentSchemas.Notification.t>
|
|
@@ -527,14 +527,14 @@ type postINotificationsGroupedRequest = {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
let postINotificationsGroupedRequestSchema = S.object(s => {
|
|
530
|
-
limit: s.
|
|
531
|
-
sinceId: s.
|
|
532
|
-
untilId: s.
|
|
533
|
-
sinceDate: s.
|
|
534
|
-
untilDate: s.
|
|
535
|
-
markAsRead: s.
|
|
536
|
-
includeTypes: s.
|
|
537
|
-
excludeTypes: s.
|
|
530
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
531
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
532
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
533
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
534
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
535
|
+
markAsRead: s.field("markAsRead", S.option(S.bool)),
|
|
536
|
+
includeTypes: s.field("includeTypes", S.option(S.array(S.string))),
|
|
537
|
+
excludeTypes: s.field("excludeTypes", S.option(S.array(S.string))),
|
|
538
538
|
})
|
|
539
539
|
|
|
540
540
|
type postINotificationsGroupedResponse = array<KokonectLinkComponentSchemas.Notification.t>
|
|
@@ -570,11 +570,11 @@ type postIPageLikesRequest = {
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
let postIPageLikesRequestSchema = S.object(s => {
|
|
573
|
-
limit: s.
|
|
574
|
-
sinceId: s.
|
|
575
|
-
untilId: s.
|
|
576
|
-
sinceDate: s.
|
|
577
|
-
untilDate: s.
|
|
573
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
574
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
575
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
576
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
577
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
578
578
|
})
|
|
579
579
|
|
|
580
580
|
type postIPageLikesResponse_1 = {
|
|
@@ -620,11 +620,11 @@ type postIPagesRequest = {
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
let postIPagesRequestSchema = S.object(s => {
|
|
623
|
-
limit: s.
|
|
624
|
-
sinceId: s.
|
|
625
|
-
untilId: s.
|
|
626
|
-
sinceDate: s.
|
|
627
|
-
untilDate: s.
|
|
623
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
624
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
625
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
626
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
627
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
628
628
|
})
|
|
629
629
|
|
|
630
630
|
type postIPagesResponse = array<KokonectLinkComponentSchemas.Page.t>
|
|
@@ -821,54 +821,54 @@ let postIUpdateRequest_2Schema = S.object(s => {
|
|
|
821
821
|
|
|
822
822
|
let postIUpdateRequest_1Schema = S.object(s => {
|
|
823
823
|
id: s.field("id", S.string),
|
|
824
|
-
angle: s.
|
|
825
|
-
flipH: s.
|
|
826
|
-
offsetX: s.
|
|
827
|
-
offsetY: s.
|
|
828
|
-
scale: s.
|
|
829
|
-
opacity: s.
|
|
824
|
+
angle: s.field("angle", S.option(S.float->S.min(0)->S.max(0))),
|
|
825
|
+
flipH: s.field("flipH", S.option(S.bool)),
|
|
826
|
+
offsetX: s.field("offsetX", S.option(S.float->S.min(0)->S.max(0))),
|
|
827
|
+
offsetY: s.field("offsetY", S.option(S.float->S.min(0)->S.max(0))),
|
|
828
|
+
scale: s.field("scale", S.option(S.float->S.min(0)->S.max(1))),
|
|
829
|
+
opacity: s.field("opacity", S.option(S.float->S.min(0)->S.max(1))),
|
|
830
830
|
})
|
|
831
831
|
|
|
832
832
|
let postIUpdateRequestSchema = S.object(s => {
|
|
833
|
-
name: s.
|
|
834
|
-
description: s.
|
|
835
|
-
followedMessage: s.
|
|
836
|
-
location: s.
|
|
837
|
-
birthday: s.
|
|
838
|
-
lang: s.
|
|
839
|
-
avatarId: s.
|
|
840
|
-
avatarDecorations: s.
|
|
841
|
-
bannerId: s.
|
|
842
|
-
fields: s.
|
|
843
|
-
isLocked: s.
|
|
844
|
-
isExplorable: s.
|
|
845
|
-
hideOnlineStatus: s.
|
|
846
|
-
publicReactions: s.
|
|
847
|
-
carefulBot: s.
|
|
848
|
-
autoAcceptFollowed: s.
|
|
849
|
-
noCrawle: s.
|
|
850
|
-
preventAiLearning: s.
|
|
851
|
-
requireSigninToViewContents: s.
|
|
852
|
-
makeNotesFollowersOnlyBefore: s.
|
|
853
|
-
makeNotesHiddenBefore: s.
|
|
854
|
-
isBot: s.
|
|
855
|
-
isCat: s.
|
|
856
|
-
injectFeaturedNote: s.
|
|
857
|
-
receiveAnnouncementEmail: s.
|
|
858
|
-
alwaysMarkNsfw: s.
|
|
859
|
-
autoSensitive: s.
|
|
860
|
-
followingVisibility: s.
|
|
861
|
-
followersVisibility: s.
|
|
862
|
-
chatScope: s.
|
|
863
|
-
pinnedPageId: s.
|
|
864
|
-
mutedWords: s.
|
|
865
|
-
hardMutedWords: s.
|
|
866
|
-
mutedInstances: s.
|
|
867
|
-
notificationRecieveConfig: s.
|
|
868
|
-
emailNotificationTypes: s.
|
|
869
|
-
alsoKnownAs: s.
|
|
870
|
-
setFederationAvatarShape: s.
|
|
871
|
-
isSquareAvatars: s.
|
|
833
|
+
name: s.field("name", S.option(S.string->S.min(1)->S.max(50))),
|
|
834
|
+
description: s.field("description", S.option(S.string->S.min(1)->S.max(1500))),
|
|
835
|
+
followedMessage: s.field("followedMessage", S.option(S.string->S.min(1)->S.max(256))),
|
|
836
|
+
location: s.field("location", S.option(S.string->S.min(1)->S.max(50))),
|
|
837
|
+
birthday: s.field("birthday", S.option(S.string->S.pattern(/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/))),
|
|
838
|
+
lang: s.field("lang", S.option(S.string)),
|
|
839
|
+
avatarId: s.field("avatarId", S.option(S.string)),
|
|
840
|
+
avatarDecorations: s.field("avatarDecorations", S.option(S.array(postIUpdateRequest_1Schema))),
|
|
841
|
+
bannerId: s.field("bannerId", S.option(S.string)),
|
|
842
|
+
fields: s.field("fields", S.option(S.array(postIUpdateRequest_2Schema))),
|
|
843
|
+
isLocked: s.field("isLocked", S.option(S.bool)),
|
|
844
|
+
isExplorable: s.field("isExplorable", S.option(S.bool)),
|
|
845
|
+
hideOnlineStatus: s.field("hideOnlineStatus", S.option(S.bool)),
|
|
846
|
+
publicReactions: s.field("publicReactions", S.option(S.bool)),
|
|
847
|
+
carefulBot: s.field("carefulBot", S.option(S.bool)),
|
|
848
|
+
autoAcceptFollowed: s.field("autoAcceptFollowed", S.option(S.bool)),
|
|
849
|
+
noCrawle: s.field("noCrawle", S.option(S.bool)),
|
|
850
|
+
preventAiLearning: s.field("preventAiLearning", S.option(S.bool)),
|
|
851
|
+
requireSigninToViewContents: s.field("requireSigninToViewContents", S.option(S.bool)),
|
|
852
|
+
makeNotesFollowersOnlyBefore: s.field("makeNotesFollowersOnlyBefore", S.option(S.int)),
|
|
853
|
+
makeNotesHiddenBefore: s.field("makeNotesHiddenBefore", S.option(S.int)),
|
|
854
|
+
isBot: s.field("isBot", S.option(S.bool)),
|
|
855
|
+
isCat: s.field("isCat", S.option(S.bool)),
|
|
856
|
+
injectFeaturedNote: s.field("injectFeaturedNote", S.option(S.bool)),
|
|
857
|
+
receiveAnnouncementEmail: s.field("receiveAnnouncementEmail", S.option(S.bool)),
|
|
858
|
+
alwaysMarkNsfw: s.field("alwaysMarkNsfw", S.option(S.bool)),
|
|
859
|
+
autoSensitive: s.field("autoSensitive", S.option(S.bool)),
|
|
860
|
+
followingVisibility: s.field("followingVisibility", S.option(S.string)),
|
|
861
|
+
followersVisibility: s.field("followersVisibility", S.option(S.string)),
|
|
862
|
+
chatScope: s.field("chatScope", S.option(S.string)),
|
|
863
|
+
pinnedPageId: s.field("pinnedPageId", S.option(S.string)),
|
|
864
|
+
mutedWords: s.field("mutedWords", S.option(S.array(S.array(S.string)))),
|
|
865
|
+
hardMutedWords: s.field("hardMutedWords", S.option(S.array(S.array(S.string)))),
|
|
866
|
+
mutedInstances: s.field("mutedInstances", S.option(S.array(S.string))),
|
|
867
|
+
notificationRecieveConfig: s.field("notificationRecieveConfig", S.option(postIUpdateRequest_3Schema)),
|
|
868
|
+
emailNotificationTypes: s.field("emailNotificationTypes", S.option(S.array(S.string))),
|
|
869
|
+
alsoKnownAs: s.field("alsoKnownAs", S.option(S.array(S.string))),
|
|
870
|
+
setFederationAvatarShape: s.field("setFederationAvatarShape", S.option(S.bool)),
|
|
871
|
+
isSquareAvatars: s.field("isSquareAvatars", S.option(S.bool)),
|
|
872
872
|
})
|
|
873
873
|
|
|
874
874
|
type postIUpdateResponse = KokonectLinkComponentSchemas.MeDetailed.t
|
|
@@ -901,8 +901,8 @@ type postIUpdateAutoDeleteSettingsRequest = {
|
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
let postIUpdateAutoDeleteSettingsRequestSchema = S.object(s => {
|
|
904
|
-
autoDeleteNotesAfterDays: s.
|
|
905
|
-
autoDeleteKeepFavorites: s.
|
|
904
|
+
autoDeleteNotesAfterDays: s.field("autoDeleteNotesAfterDays", S.option(S.float->S.min(1)->S.max(3650))),
|
|
905
|
+
autoDeleteKeepFavorites: s.field("autoDeleteKeepFavorites", S.option(S.bool)),
|
|
906
906
|
})
|
|
907
907
|
|
|
908
908
|
type postIUpdateAutoDeleteSettingsResponse = unit
|
|
@@ -934,9 +934,9 @@ type postIUserGroupInvitesRequest = {
|
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
let postIUserGroupInvitesRequestSchema = S.object(s => {
|
|
937
|
-
limit: s.
|
|
938
|
-
sinceId: s.
|
|
939
|
-
untilId: s.
|
|
937
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
938
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
939
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
940
940
|
})
|
|
941
941
|
|
|
942
942
|
type postIUserGroupInvitesResponse_1 = {
|
|
@@ -982,11 +982,11 @@ type postMuteListRequest = {
|
|
|
982
982
|
}
|
|
983
983
|
|
|
984
984
|
let postMuteListRequestSchema = S.object(s => {
|
|
985
|
-
limit: s.
|
|
986
|
-
sinceId: s.
|
|
987
|
-
untilId: s.
|
|
988
|
-
sinceDate: s.
|
|
989
|
-
untilDate: s.
|
|
985
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
986
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
987
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
988
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
989
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
990
990
|
})
|
|
991
991
|
|
|
992
992
|
type postMuteListResponse = array<KokonectLinkComponentSchemas.Muting.t>
|
|
@@ -1022,11 +1022,11 @@ type postRenoteMuteListRequest = {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
let postRenoteMuteListRequestSchema = S.object(s => {
|
|
1025
|
-
limit: s.
|
|
1026
|
-
sinceId: s.
|
|
1027
|
-
untilId: s.
|
|
1028
|
-
sinceDate: s.
|
|
1029
|
-
untilDate: s.
|
|
1025
|
+
limit: s.field("limit", S.option(S.int->S.min(1)->S.max(100))),
|
|
1026
|
+
sinceId: s.field("sinceId", S.option(S.string)),
|
|
1027
|
+
untilId: s.field("untilId", S.option(S.string)),
|
|
1028
|
+
sinceDate: s.field("sinceDate", S.option(S.int)),
|
|
1029
|
+
untilDate: s.field("untilDate", S.option(S.int)),
|
|
1030
1030
|
})
|
|
1031
1031
|
|
|
1032
1032
|
type postRenoteMuteListResponse = array<KokonectLinkComponentSchemas.RenoteMuting.t>
|