@f3liz/rescript-misskey-api 0.6.3 → 0.6.4
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 +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAdmin.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAntennas.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkApp.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAuth.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChannels.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkCharts.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChat.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkClips.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDefault.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDrive.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFederation.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlash.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlashs.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFollowing.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGallery.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGroups.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkHashtags.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkLists.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkMeta.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotes.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotifications.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkPages.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkRole.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkUsers.mjs +3 -1
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkWebhooks.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAccount.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAdmin.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAntennas.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoApp.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAuth.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoChannels.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoCharts.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClip.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClips.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoComponentSchemas.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDefault.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDrive.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFederation.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlash.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlashs.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFollowing.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoGallery.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoHashtags.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoLists.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoMeta.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNonProductive.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotes.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotifications.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoPages.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoReactions.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoResetPassword.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoRole.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoUsers.mjs +3 -1
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoWebhooks.mjs +3 -1
- package/package.json +1 -1
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkAuth.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkComponentSchemas.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkFlashs.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkGroups.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +1 -0
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoApp.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoClip.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoClips.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoComponentSchemas.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoFlashs.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoLists.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoPages.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoReactions.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoResetPassword.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoRole.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +1 -0
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +1 -0
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postBlockingCreateRequestSchema = S.object(s => ({
|
|
7
9
|
userId: s.f("userId", S.string)
|
|
8
10
|
}));
|
|
@@ -494,4 +496,4 @@ export {
|
|
|
494
496
|
postVerifyEmailRequestSchema,
|
|
495
497
|
postVerifyEmail,
|
|
496
498
|
}
|
|
497
|
-
/*
|
|
499
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAdminAbuseReportNotificationRecipientCreateRequestSchema = S.object(s => ({
|
|
7
9
|
isActive: s.f("isActive", S.bool),
|
|
8
10
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 255, undefined)),
|
|
@@ -1271,4 +1273,4 @@ export {
|
|
|
1271
1273
|
postV2AdminEmojiListResponseSchema,
|
|
1272
1274
|
postV2AdminEmojiList,
|
|
1273
1275
|
}
|
|
1274
|
-
/*
|
|
1276
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAntennasCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined)),
|
|
8
10
|
src: s.f("src", S.string),
|
|
@@ -72,4 +74,4 @@ export {
|
|
|
72
74
|
postAntennasUpdateResponseSchema,
|
|
73
75
|
postAntennasUpdate,
|
|
74
76
|
}
|
|
75
|
-
/*
|
|
77
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAppCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.string),
|
|
8
10
|
description: s.f("description", S.string),
|
|
@@ -36,4 +38,4 @@ export {
|
|
|
36
38
|
postAppShowResponseSchema,
|
|
37
39
|
postAppShow,
|
|
38
40
|
}
|
|
39
|
-
/*
|
|
41
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAuthSessionShowRequestSchema = S.object(s => ({
|
|
7
9
|
token: s.f("token", S.string)
|
|
8
10
|
}));
|
|
@@ -41,4 +43,4 @@ export {
|
|
|
41
43
|
postAuthSessionUserkeyResponseSchema,
|
|
42
44
|
postAuthSessionUserkey,
|
|
43
45
|
}
|
|
44
|
-
/*
|
|
46
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postChannelsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 128, undefined)),
|
|
8
10
|
description: s.fieldOr("description", S.nullableAsOption(S.max(S.min(S.string, 1, undefined), 2048, undefined)), undefined),
|
|
@@ -116,4 +118,4 @@ export {
|
|
|
116
118
|
postChannelsUpdateResponseSchema,
|
|
117
119
|
postChannelsUpdate,
|
|
118
120
|
}
|
|
119
|
-
/*
|
|
121
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let getChartsFederationRequestSchema = S.object(s => ({
|
|
6
8
|
span: s.f("span", S.string),
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 500, undefined)), undefined),
|
|
@@ -56,4 +58,4 @@ export {
|
|
|
56
58
|
postChartsFederationResponseSchema,
|
|
57
59
|
postChartsFederation,
|
|
58
60
|
}
|
|
59
|
-
/*
|
|
61
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postChatHistoryRequestSchema = S.object(s => ({
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
8
10
|
room: s.fieldOr("room", S.nullableAsOption(S.bool), undefined)
|
|
@@ -391,4 +393,4 @@ export {
|
|
|
391
393
|
postChatRoomsUpdateResponseSchema,
|
|
392
394
|
postChatRoomsUpdate,
|
|
393
395
|
}
|
|
394
|
-
/*
|
|
396
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postClipsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined)),
|
|
8
10
|
isPublic: s.fieldOr("isPublic", S.nullableAsOption(S.bool), undefined),
|
|
@@ -70,4 +72,4 @@ export {
|
|
|
70
72
|
postClipsUpdateResponseSchema,
|
|
71
73
|
postClipsUpdate,
|
|
72
74
|
}
|
|
73
|
-
/*
|
|
75
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let userLite_3Schema = S.object(s => ({
|
|
6
8
|
name: s.f("name", S.string),
|
|
7
9
|
iconUrl: s.f("iconUrl", S.nullableAsOption(S.string)),
|
|
@@ -1536,4 +1538,4 @@ export {
|
|
|
1536
1538
|
User,
|
|
1537
1539
|
$$Error,
|
|
1538
1540
|
}
|
|
1539
|
-
/*
|
|
1541
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postIClaimAchievementRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.string)
|
|
8
10
|
}));
|
|
@@ -158,4 +160,4 @@ export {
|
|
|
158
160
|
postUsersListsCreateFromPublicResponseSchema,
|
|
159
161
|
postUsersListsCreateFromPublic,
|
|
160
162
|
}
|
|
161
|
-
/*
|
|
163
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postDriveFilesRequestSchema = S.object(s => ({
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
8
10
|
sinceId: s.fieldOr("sinceId", S.nullableAsOption(S.string), undefined),
|
|
@@ -213,4 +215,4 @@ export {
|
|
|
213
215
|
postDriveStreamResponseSchema,
|
|
214
216
|
postDriveStream,
|
|
215
217
|
}
|
|
216
|
-
/*
|
|
218
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postFederationFollowersRequestSchema = S.object(s => ({
|
|
7
9
|
host: s.f("host", S.string),
|
|
8
10
|
sinceId: s.fieldOr("sinceId", S.nullableAsOption(S.string), undefined),
|
|
@@ -132,4 +134,4 @@ export {
|
|
|
132
134
|
postFederationUsersResponseSchema,
|
|
133
135
|
postFederationUsers,
|
|
134
136
|
}
|
|
135
|
-
/*
|
|
137
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postFlashCreateRequestSchema = S.object(s => ({
|
|
7
9
|
title: s.f("title", S.string),
|
|
8
10
|
summary: s.f("summary", S.string),
|
|
@@ -58,4 +60,4 @@ export {
|
|
|
58
60
|
postFlashSearchResponseSchema,
|
|
59
61
|
postFlashSearch,
|
|
60
62
|
}
|
|
61
|
-
/*
|
|
63
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postFlashShowRequestSchema = S.object(s => ({
|
|
7
9
|
flashId: s.f("flashId", S.string)
|
|
8
10
|
}));
|
|
@@ -19,4 +21,4 @@ export {
|
|
|
19
21
|
postFlashShowResponseSchema,
|
|
20
22
|
postFlashShow,
|
|
21
23
|
}
|
|
22
|
-
/*
|
|
24
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postFollowingCreateRequestSchema = S.object(s => ({
|
|
7
9
|
userId: s.f("userId", S.string),
|
|
8
10
|
withReplies: s.fieldOr("withReplies", S.nullableAsOption(S.bool), undefined)
|
|
@@ -128,4 +130,4 @@ export {
|
|
|
128
130
|
postFollowingUpdateResponseSchema,
|
|
129
131
|
postFollowingUpdate,
|
|
130
132
|
}
|
|
131
|
-
/*
|
|
133
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postGalleryPostsRequestSchema = S.object(s => ({
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
8
10
|
sinceId: s.fieldOr("sinceId", S.nullableAsOption(S.string), undefined),
|
|
@@ -72,4 +74,4 @@ export {
|
|
|
72
74
|
postGalleryPostsUpdateResponseSchema,
|
|
73
75
|
postGalleryPostsUpdate,
|
|
74
76
|
}
|
|
75
|
-
/*
|
|
77
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postUsersGroupsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined))
|
|
8
10
|
}));
|
|
@@ -147,4 +149,4 @@ export {
|
|
|
147
149
|
postUsersGroupsUpdateResponseSchema,
|
|
148
150
|
postUsersGroupsUpdate,
|
|
149
151
|
}
|
|
150
|
-
/*
|
|
152
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postHashtagsShowRequestSchema = S.object(s => ({
|
|
7
9
|
tag: s.f("tag", S.string)
|
|
8
10
|
}));
|
|
@@ -37,4 +39,4 @@ export {
|
|
|
37
39
|
postHashtagsUsersResponseSchema,
|
|
38
40
|
postHashtagsUsers,
|
|
39
41
|
}
|
|
40
|
-
/*
|
|
42
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postUsersListsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined))
|
|
8
10
|
}));
|
|
@@ -64,4 +66,4 @@ export {
|
|
|
64
66
|
postUsersListsUpdateResponseSchema,
|
|
65
67
|
postUsersListsUpdate,
|
|
66
68
|
}
|
|
67
|
-
/*
|
|
69
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAdminMetaResponse_1Schema = S.object(s => ({
|
|
7
9
|
software: s.f("software", S.string),
|
|
8
10
|
versionRange: s.f("versionRange", S.string)
|
|
@@ -329,4 +331,4 @@ export {
|
|
|
329
331
|
postServerInfoResponseSchema,
|
|
330
332
|
postServerInfo,
|
|
331
333
|
}
|
|
332
|
-
/*
|
|
334
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postChannelsTimelineRequestSchema = S.object(s => ({
|
|
7
9
|
channelId: s.f("channelId", S.string),
|
|
8
10
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
@@ -730,4 +732,4 @@ export {
|
|
|
730
732
|
postNotesUserListTimelineResponseSchema,
|
|
731
733
|
postNotesUserListTimeline,
|
|
732
734
|
}
|
|
733
|
-
/*
|
|
735
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let postNotificationsCreateRequestSchema = S.object(s => ({
|
|
6
8
|
body: s.f("body", S.string),
|
|
7
9
|
header: s.fieldOr("header", S.nullableAsOption(S.string), undefined),
|
|
@@ -17,4 +19,4 @@ export {
|
|
|
17
19
|
postNotificationsCreateRequestSchema,
|
|
18
20
|
postNotificationsCreate,
|
|
19
21
|
}
|
|
20
|
-
/*
|
|
22
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postPagesCreateRequestSchema = S.object(s => ({
|
|
7
9
|
title: s.f("title", S.string),
|
|
8
10
|
name: s.f("name", S.pattern(S.min(S.string, 1, undefined), /^[^\s:\/?#\[\]@!$&'()*+,;=\\%\x00-\x20]{1,256}$/, undefined)),
|
|
@@ -67,4 +69,4 @@ export {
|
|
|
67
69
|
postPagesUpdateRequestSchema,
|
|
68
70
|
postPagesUpdate,
|
|
69
71
|
}
|
|
70
|
-
/*
|
|
72
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postRolesNotesRequestSchema = S.object(s => ({
|
|
7
9
|
roleId: s.f("roleId", S.string),
|
|
8
10
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
@@ -63,4 +65,4 @@ export {
|
|
|
63
65
|
postRolesUsersResponseSchema,
|
|
64
66
|
postRolesUsers,
|
|
65
67
|
}
|
|
66
|
-
/*
|
|
68
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postUsersRequestSchema = S.object(s => ({
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 100, undefined)), undefined),
|
|
8
10
|
offset: s.fieldOr("offset", S.nullableAsOption(S.int), undefined),
|
|
@@ -221,4 +223,4 @@ export {
|
|
|
221
223
|
postUsersTranslateResponseSchema,
|
|
222
224
|
postUsersTranslate,
|
|
223
225
|
}
|
|
224
|
-
/*
|
|
226
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as KokonectLinkComponentSchemas from "./KokonectLinkComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAdminSystemWebhookTestRequest_1Schema = S.object(s => ({
|
|
7
9
|
url: s.fieldOr("url", S.nullableAsOption(S.string), undefined),
|
|
8
10
|
secret: s.fieldOr("secret", S.nullableAsOption(S.string), undefined)
|
|
@@ -57,4 +59,4 @@ export {
|
|
|
57
59
|
postIWebhooksTestRequestSchema,
|
|
58
60
|
postIWebhooksTest,
|
|
59
61
|
}
|
|
60
|
-
/*
|
|
62
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postBlockingCreateRequestSchema = S.object(s => ({
|
|
7
9
|
userId: s.f("userId", S.string)
|
|
8
10
|
}));
|
|
@@ -605,4 +607,4 @@ export {
|
|
|
605
607
|
postUsersUpdateMemoRequestSchema,
|
|
606
608
|
postUsersUpdateMemo,
|
|
607
609
|
}
|
|
608
|
-
/*
|
|
610
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAdminAbuseReportResolverCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.min(S.string, 1, undefined)),
|
|
8
10
|
targetUserPattern: s.f("targetUserPattern", S.nullableAsOption(S.string)),
|
|
@@ -2050,4 +2052,4 @@ export {
|
|
|
2050
2052
|
postV2AdminEmojiListResponseSchema,
|
|
2051
2053
|
postV2AdminEmojiList,
|
|
2052
2054
|
}
|
|
2053
|
-
/*
|
|
2055
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAntennasCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined)),
|
|
8
10
|
src: s.f("src", S.string),
|
|
@@ -108,4 +110,4 @@ export {
|
|
|
108
110
|
postAntennasUpdateResponseSchema,
|
|
109
111
|
postAntennasUpdate,
|
|
110
112
|
}
|
|
111
|
-
/*
|
|
113
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAppCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.string),
|
|
8
10
|
description: s.f("description", S.string),
|
|
@@ -36,4 +38,4 @@ export {
|
|
|
36
38
|
postAppShowResponseSchema,
|
|
37
39
|
postAppShow,
|
|
38
40
|
}
|
|
39
|
-
/*
|
|
41
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAuthAcceptRequestSchema = S.object(s => ({
|
|
7
9
|
token: s.f("token", S.string)
|
|
8
10
|
}));
|
|
@@ -89,4 +91,4 @@ export {
|
|
|
89
91
|
postMiauthGenTokenResponseSchema,
|
|
90
92
|
postMiauthGenToken,
|
|
91
93
|
}
|
|
92
|
-
/*
|
|
94
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postChannelsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 128, undefined)),
|
|
8
10
|
description: s.fieldOr("description", S.nullableAsOption(S.max(S.min(S.string, 1, undefined), 2048, undefined)), undefined),
|
|
@@ -178,4 +180,4 @@ export {
|
|
|
178
180
|
postChannelsUpdateResponseSchema,
|
|
179
181
|
postChannelsUpdate,
|
|
180
182
|
}
|
|
181
|
-
/*
|
|
183
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let getChartsActiveUsersRequestSchema = S.object(s => ({
|
|
6
8
|
span: s.f("span", S.string),
|
|
7
9
|
limit: s.fieldOr("limit", S.nullableAsOption(S.max(S.min(S.int, 1, undefined), 500, undefined)), undefined),
|
|
@@ -724,4 +726,4 @@ export {
|
|
|
724
726
|
postChartsUsersResponseSchema,
|
|
725
727
|
postChartsUsers,
|
|
726
728
|
}
|
|
727
|
-
/*
|
|
729
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let postClipsFavoriteRequestSchema = S.object(s => ({
|
|
6
8
|
clipId: s.f("clipId", S.string)
|
|
7
9
|
}));
|
|
@@ -26,4 +28,4 @@ export {
|
|
|
26
28
|
postClipsUnfavoriteRequestSchema,
|
|
27
29
|
postClipsUnfavorite,
|
|
28
30
|
}
|
|
29
|
-
/*
|
|
31
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postClipsCreateRequestSchema = S.object(s => ({
|
|
7
9
|
name: s.f("name", S.max(S.min(S.string, 1, undefined), 100, undefined)),
|
|
8
10
|
isPublic: s.fieldOr("isPublic", S.nullableAsOption(S.bool), undefined),
|
|
@@ -85,4 +87,4 @@ export {
|
|
|
85
87
|
postNotesClipsResponseSchema,
|
|
86
88
|
postNotesClips,
|
|
87
89
|
}
|
|
88
|
-
/*
|
|
90
|
+
/* Not a pure module */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
|
|
5
|
+
S.enableJson();
|
|
6
|
+
|
|
5
7
|
let schema = S.object(s => ({
|
|
6
8
|
id: s.f("id", S.string),
|
|
7
9
|
createdAt: s.f("createdAt", S.string),
|
|
@@ -1520,4 +1522,4 @@ export {
|
|
|
1520
1522
|
User,
|
|
1521
1523
|
$$Error,
|
|
1522
1524
|
}
|
|
1523
|
-
/*
|
|
1525
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postAdminEmojiImportZipRequestSchema = S.object(s => ({
|
|
7
9
|
fileId: s.f("fileId", S.string)
|
|
8
10
|
}));
|
|
@@ -768,4 +770,4 @@ export {
|
|
|
768
770
|
postUsersListsUnfavoriteRequestSchema,
|
|
769
771
|
postUsersListsUnfavorite,
|
|
770
772
|
}
|
|
771
|
-
/*
|
|
773
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postDriveResponseSchema = S.object(s => ({
|
|
7
9
|
capacity: s.f("capacity", S.float),
|
|
8
10
|
usage: s.f("usage", S.float)
|
|
@@ -279,4 +281,4 @@ export {
|
|
|
279
281
|
postDriveStreamResponseSchema,
|
|
280
282
|
postDriveStream,
|
|
281
283
|
}
|
|
282
|
-
/*
|
|
284
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postApGetRequestSchema = S.object(s => ({
|
|
7
9
|
uri: s.f("uri", S.string)
|
|
8
10
|
}));
|
|
@@ -201,4 +203,4 @@ export {
|
|
|
201
203
|
postFederationUsersResponseSchema,
|
|
202
204
|
postFederationUsers,
|
|
203
205
|
}
|
|
204
|
-
/*
|
|
206
|
+
/* Not a pure module */
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import * as S from "sury/lib/es6/src/S.mjs";
|
|
4
4
|
import * as MisskeyIoComponentSchemas from "./MisskeyIoComponentSchemas.mjs";
|
|
5
5
|
|
|
6
|
+
S.enableJson();
|
|
7
|
+
|
|
6
8
|
let postFlashCreateRequestSchema = S.object(s => ({
|
|
7
9
|
title: s.f("title", S.string),
|
|
8
10
|
summary: s.f("summary", S.string),
|
|
@@ -76,4 +78,4 @@ export {
|
|
|
76
78
|
postFlashUpdateRequestSchema,
|
|
77
79
|
postFlashUpdate,
|
|
78
80
|
}
|
|
79
|
-
/*
|
|
81
|
+
/* Not a pure module */
|