@crowi/api-contract 2.0.0-alpha.5 → 2.0.0-alpha.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/dist/generated/openapi.d.mts +16 -0
- package/dist/generated/openapi.d.ts +16 -0
- package/dist/generated/openapi.js.map +1 -1
- package/dist/index.d.mts +148 -20
- package/dist/index.d.ts +148 -20
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10281,6 +10281,19 @@ declare const listCommentsRoute: {
|
|
|
10281
10281
|
};
|
|
10282
10282
|
};
|
|
10283
10283
|
};
|
|
10284
|
+
404: {
|
|
10285
|
+
description: string;
|
|
10286
|
+
content: {
|
|
10287
|
+
'application/json': {
|
|
10288
|
+
schema: zod.ZodObject<{
|
|
10289
|
+
error: zod.ZodObject<{
|
|
10290
|
+
code: zod.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
10291
|
+
message: zod.ZodLiteral<"Page not found">;
|
|
10292
|
+
}, zod_v4_core.$strip>;
|
|
10293
|
+
}, zod_v4_core.$strip>;
|
|
10294
|
+
};
|
|
10295
|
+
};
|
|
10296
|
+
};
|
|
10284
10297
|
};
|
|
10285
10298
|
} & {
|
|
10286
10299
|
getRoutingPath(): "/comments";
|
|
@@ -10536,6 +10549,19 @@ declare const commentRoutes: {
|
|
|
10536
10549
|
};
|
|
10537
10550
|
};
|
|
10538
10551
|
};
|
|
10552
|
+
404: {
|
|
10553
|
+
description: string;
|
|
10554
|
+
content: {
|
|
10555
|
+
'application/json': {
|
|
10556
|
+
schema: zod.ZodObject<{
|
|
10557
|
+
error: zod.ZodObject<{
|
|
10558
|
+
code: zod.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
10559
|
+
message: zod.ZodLiteral<"Page not found">;
|
|
10560
|
+
}, zod_v4_core.$strip>;
|
|
10561
|
+
}, zod_v4_core.$strip>;
|
|
10562
|
+
};
|
|
10563
|
+
};
|
|
10564
|
+
};
|
|
10539
10565
|
};
|
|
10540
10566
|
} & {
|
|
10541
10567
|
getRoutingPath(): "/comments";
|
|
@@ -31212,6 +31238,21 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31212
31238
|
};
|
|
31213
31239
|
outputFormat: "json";
|
|
31214
31240
|
status: 400;
|
|
31241
|
+
} | {
|
|
31242
|
+
input: {
|
|
31243
|
+
query: {
|
|
31244
|
+
page_id?: string | undefined;
|
|
31245
|
+
revision_id?: string | undefined;
|
|
31246
|
+
};
|
|
31247
|
+
};
|
|
31248
|
+
output: {
|
|
31249
|
+
error: {
|
|
31250
|
+
code: "PAGE_NOT_FOUND";
|
|
31251
|
+
message: "Page not found";
|
|
31252
|
+
};
|
|
31253
|
+
};
|
|
31254
|
+
outputFormat: "json";
|
|
31255
|
+
status: 404;
|
|
31215
31256
|
};
|
|
31216
31257
|
};
|
|
31217
31258
|
} & {
|
|
@@ -31251,6 +31292,23 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31251
31292
|
};
|
|
31252
31293
|
outputFormat: "json";
|
|
31253
31294
|
status: 400;
|
|
31295
|
+
} | {
|
|
31296
|
+
input: {
|
|
31297
|
+
json: {
|
|
31298
|
+
page_id: string;
|
|
31299
|
+
revision_id: string;
|
|
31300
|
+
comment: string;
|
|
31301
|
+
comment_position?: number | undefined;
|
|
31302
|
+
};
|
|
31303
|
+
};
|
|
31304
|
+
output: {
|
|
31305
|
+
error: {
|
|
31306
|
+
code: "PAGE_NOT_FOUND";
|
|
31307
|
+
message: "Page not found";
|
|
31308
|
+
};
|
|
31309
|
+
};
|
|
31310
|
+
outputFormat: "json";
|
|
31311
|
+
status: 404;
|
|
31254
31312
|
} | {
|
|
31255
31313
|
input: {
|
|
31256
31314
|
json: {
|
|
@@ -31282,23 +31340,6 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31282
31340
|
};
|
|
31283
31341
|
outputFormat: "json";
|
|
31284
31342
|
status: 200;
|
|
31285
|
-
} | {
|
|
31286
|
-
input: {
|
|
31287
|
-
json: {
|
|
31288
|
-
page_id: string;
|
|
31289
|
-
revision_id: string;
|
|
31290
|
-
comment: string;
|
|
31291
|
-
comment_position?: number | undefined;
|
|
31292
|
-
};
|
|
31293
|
-
};
|
|
31294
|
-
output: {
|
|
31295
|
-
error: {
|
|
31296
|
-
code: "PAGE_NOT_FOUND";
|
|
31297
|
-
message: "Page not found";
|
|
31298
|
-
};
|
|
31299
|
-
};
|
|
31300
|
-
outputFormat: "json";
|
|
31301
|
-
status: 404;
|
|
31302
31343
|
};
|
|
31303
31344
|
};
|
|
31304
31345
|
} & {
|
|
@@ -42937,7 +42978,79 @@ declare const PresenceViewersMessageSchema: z.ZodObject<{
|
|
|
42937
42978
|
}, z.core.$strip>>;
|
|
42938
42979
|
}, z.core.$strip>;
|
|
42939
42980
|
type PresenceViewersMessage = z.infer<typeof PresenceViewersMessageSchema>;
|
|
42940
|
-
|
|
42981
|
+
/**
|
|
42982
|
+
* Server → client message: a new revision was saved for the page being
|
|
42983
|
+
* viewed (feature-live-page-content-sync, RFC-0003 §v2.1 read-side
|
|
42984
|
+
* soft-refresh). Rides the same `/presence/<pageId>` channel as the
|
|
42985
|
+
* viewer-list broadcast so no second WebSocket is opened.
|
|
42986
|
+
*
|
|
42987
|
+
* The payload deliberately carries only *identity* — `pageId`,
|
|
42988
|
+
* `revisionId`, and who saved it — never the body or `renderedAst`.
|
|
42989
|
+
* Shipping the body over the presence channel would leak a private
|
|
42990
|
+
* page's content to every connected viewer socket; instead the client
|
|
42991
|
+
* fetches the new revision from the permission-checked
|
|
42992
|
+
* `GET /pages/revisions/{id}` endpoint (404 when grant is missing), so
|
|
42993
|
+
* body access stays gated by the same authorization as a normal read.
|
|
42994
|
+
*
|
|
42995
|
+
* - `revisionId` — the newly-saved revision's `_id`; the client
|
|
42996
|
+
* fetches its body to swap the content in place.
|
|
42997
|
+
* - `editorUserId` — who saved. The client suppresses its own
|
|
42998
|
+
* saves (`editorUserId === selfUserId`).
|
|
42999
|
+
* - `editorDisplayName`— shown in the "updated by …" banner.
|
|
43000
|
+
*/
|
|
43001
|
+
declare const PresencePageUpdatedMessageSchema: z.ZodObject<{
|
|
43002
|
+
type: z.ZodLiteral<"page-updated">;
|
|
43003
|
+
pageId: z.ZodString;
|
|
43004
|
+
revisionId: z.ZodString;
|
|
43005
|
+
editorUserId: z.ZodString;
|
|
43006
|
+
editorDisplayName: z.ZodString;
|
|
43007
|
+
}, z.core.$strip>;
|
|
43008
|
+
type PresencePageUpdatedMessage = z.infer<typeof PresencePageUpdatedMessageSchema>;
|
|
43009
|
+
/**
|
|
43010
|
+
* Server → client message: a comment was added to / removed from the
|
|
43011
|
+
* page being viewed (feature-live-page-comment-sync). Rides the same
|
|
43012
|
+
* `/presence/<pageId>` channel as the viewer-list + page-updated
|
|
43013
|
+
* broadcasts so no second WebSocket is opened — the sibling of
|
|
43014
|
+
* `page-updated`, but the target is the comment list rather than the
|
|
43015
|
+
* body revision.
|
|
43016
|
+
*
|
|
43017
|
+
* Like `page-updated`, the payload carries only *identity* — never the
|
|
43018
|
+
* comment body. Shipping a comment's text over the presence channel
|
|
43019
|
+
* would leak a private page's discussion to every connected viewer
|
|
43020
|
+
* socket; instead the client re-fetches from the permission-checked
|
|
43021
|
+
* `GET /comments?page_id=`, so comment access stays gated by the same
|
|
43022
|
+
* authorization as a normal read.
|
|
43023
|
+
*
|
|
43024
|
+
* - `changeType` — `'added'` (a new comment) or `'removed'` (deleted).
|
|
43025
|
+
* - `commentId` — the affected comment's `_id`. Advisory only: the
|
|
43026
|
+
* client re-fetches the whole list and derives the
|
|
43027
|
+
* new-comment highlight from a client-side seen-set
|
|
43028
|
+
* diff, so a dropped / duplicated frame is harmless.
|
|
43029
|
+
* - `actorUserId` — who added the comment, present only for `'added'`.
|
|
43030
|
+
* The client suppresses its own posts
|
|
43031
|
+
* (`actorUserId === selfUserId`). Absent for
|
|
43032
|
+
* `'removed'` (the deleter is not known at the model
|
|
43033
|
+
* event layer; a redundant re-fetch is idempotent).
|
|
43034
|
+
*/
|
|
43035
|
+
declare const PresenceCommentChangedMessageSchema: z.ZodObject<{
|
|
43036
|
+
type: z.ZodLiteral<"comment-changed">;
|
|
43037
|
+
pageId: z.ZodString;
|
|
43038
|
+
changeType: z.ZodEnum<{
|
|
43039
|
+
added: "added";
|
|
43040
|
+
removed: "removed";
|
|
43041
|
+
}>;
|
|
43042
|
+
commentId: z.ZodString;
|
|
43043
|
+
actorUserId: z.ZodOptional<z.ZodString>;
|
|
43044
|
+
}, z.core.$strip>;
|
|
43045
|
+
type PresenceCommentChangedMessage = z.infer<typeof PresenceCommentChangedMessageSchema>;
|
|
43046
|
+
/**
|
|
43047
|
+
* Discriminated union of every server → client presence frame. The
|
|
43048
|
+
* client parses inbound frames with this and switches on `type`:
|
|
43049
|
+
* `'viewers'` drives the live-presence row, `'page-updated'` drives the
|
|
43050
|
+
* read-side soft-refresh banner, `'comment-changed'` drives the live
|
|
43051
|
+
* comment append / removal.
|
|
43052
|
+
*/
|
|
43053
|
+
declare const PresenceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
42941
43054
|
type: z.ZodLiteral<"viewers">;
|
|
42942
43055
|
viewers: z.ZodArray<z.ZodObject<{
|
|
42943
43056
|
userId: z.ZodString;
|
|
@@ -42947,7 +43060,22 @@ declare const PresenceServerMessageSchema: z.ZodObject<{
|
|
|
42947
43060
|
isEditing: z.ZodBoolean;
|
|
42948
43061
|
joinedAt: z.ZodNumber;
|
|
42949
43062
|
}, z.core.$strip>>;
|
|
42950
|
-
}, z.core.$strip
|
|
43063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43064
|
+
type: z.ZodLiteral<"page-updated">;
|
|
43065
|
+
pageId: z.ZodString;
|
|
43066
|
+
revisionId: z.ZodString;
|
|
43067
|
+
editorUserId: z.ZodString;
|
|
43068
|
+
editorDisplayName: z.ZodString;
|
|
43069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43070
|
+
type: z.ZodLiteral<"comment-changed">;
|
|
43071
|
+
pageId: z.ZodString;
|
|
43072
|
+
changeType: z.ZodEnum<{
|
|
43073
|
+
added: "added";
|
|
43074
|
+
removed: "removed";
|
|
43075
|
+
}>;
|
|
43076
|
+
commentId: z.ZodString;
|
|
43077
|
+
actorUserId: z.ZodOptional<z.ZodString>;
|
|
43078
|
+
}, z.core.$strip>], "type">;
|
|
42951
43079
|
type PresenceServerMessage = z.infer<typeof PresenceServerMessageSchema>;
|
|
42952
43080
|
/**
|
|
42953
43081
|
* RFC-0005 Phase 3 — `GET /api/v2/pages/:id/likers`.
|
|
@@ -43746,4 +43874,4 @@ declare const SearchPagesResponseSchema: z.ZodObject<{
|
|
|
43746
43874
|
}, z.core.$strip>;
|
|
43747
43875
|
type SearchPagesResponse = z.infer<typeof SearchPagesResponseSchema>;
|
|
43748
43876
|
|
|
43749
|
-
export { ALL_SCOPES, API_SURFACE_VERSION, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type AppType, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DND_EXTRA_UPLOAD_MIME, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, IMAGE_UPLOAD_MIME, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type ValidationError, ValidationErrorSchema, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
|
|
43877
|
+
export { ALL_SCOPES, API_SURFACE_VERSION, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type AppType, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DND_EXTRA_UPLOAD_MIME, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, IMAGE_UPLOAD_MIME, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type ValidationError, ValidationErrorSchema, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
|
package/dist/index.d.ts
CHANGED
|
@@ -10281,6 +10281,19 @@ declare const listCommentsRoute: {
|
|
|
10281
10281
|
};
|
|
10282
10282
|
};
|
|
10283
10283
|
};
|
|
10284
|
+
404: {
|
|
10285
|
+
description: string;
|
|
10286
|
+
content: {
|
|
10287
|
+
'application/json': {
|
|
10288
|
+
schema: zod.ZodObject<{
|
|
10289
|
+
error: zod.ZodObject<{
|
|
10290
|
+
code: zod.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
10291
|
+
message: zod.ZodLiteral<"Page not found">;
|
|
10292
|
+
}, zod_v4_core.$strip>;
|
|
10293
|
+
}, zod_v4_core.$strip>;
|
|
10294
|
+
};
|
|
10295
|
+
};
|
|
10296
|
+
};
|
|
10284
10297
|
};
|
|
10285
10298
|
} & {
|
|
10286
10299
|
getRoutingPath(): "/comments";
|
|
@@ -10536,6 +10549,19 @@ declare const commentRoutes: {
|
|
|
10536
10549
|
};
|
|
10537
10550
|
};
|
|
10538
10551
|
};
|
|
10552
|
+
404: {
|
|
10553
|
+
description: string;
|
|
10554
|
+
content: {
|
|
10555
|
+
'application/json': {
|
|
10556
|
+
schema: zod.ZodObject<{
|
|
10557
|
+
error: zod.ZodObject<{
|
|
10558
|
+
code: zod.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
10559
|
+
message: zod.ZodLiteral<"Page not found">;
|
|
10560
|
+
}, zod_v4_core.$strip>;
|
|
10561
|
+
}, zod_v4_core.$strip>;
|
|
10562
|
+
};
|
|
10563
|
+
};
|
|
10564
|
+
};
|
|
10539
10565
|
};
|
|
10540
10566
|
} & {
|
|
10541
10567
|
getRoutingPath(): "/comments";
|
|
@@ -31212,6 +31238,21 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31212
31238
|
};
|
|
31213
31239
|
outputFormat: "json";
|
|
31214
31240
|
status: 400;
|
|
31241
|
+
} | {
|
|
31242
|
+
input: {
|
|
31243
|
+
query: {
|
|
31244
|
+
page_id?: string | undefined;
|
|
31245
|
+
revision_id?: string | undefined;
|
|
31246
|
+
};
|
|
31247
|
+
};
|
|
31248
|
+
output: {
|
|
31249
|
+
error: {
|
|
31250
|
+
code: "PAGE_NOT_FOUND";
|
|
31251
|
+
message: "Page not found";
|
|
31252
|
+
};
|
|
31253
|
+
};
|
|
31254
|
+
outputFormat: "json";
|
|
31255
|
+
status: 404;
|
|
31215
31256
|
};
|
|
31216
31257
|
};
|
|
31217
31258
|
} & {
|
|
@@ -31251,6 +31292,23 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31251
31292
|
};
|
|
31252
31293
|
outputFormat: "json";
|
|
31253
31294
|
status: 400;
|
|
31295
|
+
} | {
|
|
31296
|
+
input: {
|
|
31297
|
+
json: {
|
|
31298
|
+
page_id: string;
|
|
31299
|
+
revision_id: string;
|
|
31300
|
+
comment: string;
|
|
31301
|
+
comment_position?: number | undefined;
|
|
31302
|
+
};
|
|
31303
|
+
};
|
|
31304
|
+
output: {
|
|
31305
|
+
error: {
|
|
31306
|
+
code: "PAGE_NOT_FOUND";
|
|
31307
|
+
message: "Page not found";
|
|
31308
|
+
};
|
|
31309
|
+
};
|
|
31310
|
+
outputFormat: "json";
|
|
31311
|
+
status: 404;
|
|
31254
31312
|
} | {
|
|
31255
31313
|
input: {
|
|
31256
31314
|
json: {
|
|
@@ -31282,23 +31340,6 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
31282
31340
|
};
|
|
31283
31341
|
outputFormat: "json";
|
|
31284
31342
|
status: 200;
|
|
31285
|
-
} | {
|
|
31286
|
-
input: {
|
|
31287
|
-
json: {
|
|
31288
|
-
page_id: string;
|
|
31289
|
-
revision_id: string;
|
|
31290
|
-
comment: string;
|
|
31291
|
-
comment_position?: number | undefined;
|
|
31292
|
-
};
|
|
31293
|
-
};
|
|
31294
|
-
output: {
|
|
31295
|
-
error: {
|
|
31296
|
-
code: "PAGE_NOT_FOUND";
|
|
31297
|
-
message: "Page not found";
|
|
31298
|
-
};
|
|
31299
|
-
};
|
|
31300
|
-
outputFormat: "json";
|
|
31301
|
-
status: 404;
|
|
31302
31343
|
};
|
|
31303
31344
|
};
|
|
31304
31345
|
} & {
|
|
@@ -42937,7 +42978,79 @@ declare const PresenceViewersMessageSchema: z.ZodObject<{
|
|
|
42937
42978
|
}, z.core.$strip>>;
|
|
42938
42979
|
}, z.core.$strip>;
|
|
42939
42980
|
type PresenceViewersMessage = z.infer<typeof PresenceViewersMessageSchema>;
|
|
42940
|
-
|
|
42981
|
+
/**
|
|
42982
|
+
* Server → client message: a new revision was saved for the page being
|
|
42983
|
+
* viewed (feature-live-page-content-sync, RFC-0003 §v2.1 read-side
|
|
42984
|
+
* soft-refresh). Rides the same `/presence/<pageId>` channel as the
|
|
42985
|
+
* viewer-list broadcast so no second WebSocket is opened.
|
|
42986
|
+
*
|
|
42987
|
+
* The payload deliberately carries only *identity* — `pageId`,
|
|
42988
|
+
* `revisionId`, and who saved it — never the body or `renderedAst`.
|
|
42989
|
+
* Shipping the body over the presence channel would leak a private
|
|
42990
|
+
* page's content to every connected viewer socket; instead the client
|
|
42991
|
+
* fetches the new revision from the permission-checked
|
|
42992
|
+
* `GET /pages/revisions/{id}` endpoint (404 when grant is missing), so
|
|
42993
|
+
* body access stays gated by the same authorization as a normal read.
|
|
42994
|
+
*
|
|
42995
|
+
* - `revisionId` — the newly-saved revision's `_id`; the client
|
|
42996
|
+
* fetches its body to swap the content in place.
|
|
42997
|
+
* - `editorUserId` — who saved. The client suppresses its own
|
|
42998
|
+
* saves (`editorUserId === selfUserId`).
|
|
42999
|
+
* - `editorDisplayName`— shown in the "updated by …" banner.
|
|
43000
|
+
*/
|
|
43001
|
+
declare const PresencePageUpdatedMessageSchema: z.ZodObject<{
|
|
43002
|
+
type: z.ZodLiteral<"page-updated">;
|
|
43003
|
+
pageId: z.ZodString;
|
|
43004
|
+
revisionId: z.ZodString;
|
|
43005
|
+
editorUserId: z.ZodString;
|
|
43006
|
+
editorDisplayName: z.ZodString;
|
|
43007
|
+
}, z.core.$strip>;
|
|
43008
|
+
type PresencePageUpdatedMessage = z.infer<typeof PresencePageUpdatedMessageSchema>;
|
|
43009
|
+
/**
|
|
43010
|
+
* Server → client message: a comment was added to / removed from the
|
|
43011
|
+
* page being viewed (feature-live-page-comment-sync). Rides the same
|
|
43012
|
+
* `/presence/<pageId>` channel as the viewer-list + page-updated
|
|
43013
|
+
* broadcasts so no second WebSocket is opened — the sibling of
|
|
43014
|
+
* `page-updated`, but the target is the comment list rather than the
|
|
43015
|
+
* body revision.
|
|
43016
|
+
*
|
|
43017
|
+
* Like `page-updated`, the payload carries only *identity* — never the
|
|
43018
|
+
* comment body. Shipping a comment's text over the presence channel
|
|
43019
|
+
* would leak a private page's discussion to every connected viewer
|
|
43020
|
+
* socket; instead the client re-fetches from the permission-checked
|
|
43021
|
+
* `GET /comments?page_id=`, so comment access stays gated by the same
|
|
43022
|
+
* authorization as a normal read.
|
|
43023
|
+
*
|
|
43024
|
+
* - `changeType` — `'added'` (a new comment) or `'removed'` (deleted).
|
|
43025
|
+
* - `commentId` — the affected comment's `_id`. Advisory only: the
|
|
43026
|
+
* client re-fetches the whole list and derives the
|
|
43027
|
+
* new-comment highlight from a client-side seen-set
|
|
43028
|
+
* diff, so a dropped / duplicated frame is harmless.
|
|
43029
|
+
* - `actorUserId` — who added the comment, present only for `'added'`.
|
|
43030
|
+
* The client suppresses its own posts
|
|
43031
|
+
* (`actorUserId === selfUserId`). Absent for
|
|
43032
|
+
* `'removed'` (the deleter is not known at the model
|
|
43033
|
+
* event layer; a redundant re-fetch is idempotent).
|
|
43034
|
+
*/
|
|
43035
|
+
declare const PresenceCommentChangedMessageSchema: z.ZodObject<{
|
|
43036
|
+
type: z.ZodLiteral<"comment-changed">;
|
|
43037
|
+
pageId: z.ZodString;
|
|
43038
|
+
changeType: z.ZodEnum<{
|
|
43039
|
+
added: "added";
|
|
43040
|
+
removed: "removed";
|
|
43041
|
+
}>;
|
|
43042
|
+
commentId: z.ZodString;
|
|
43043
|
+
actorUserId: z.ZodOptional<z.ZodString>;
|
|
43044
|
+
}, z.core.$strip>;
|
|
43045
|
+
type PresenceCommentChangedMessage = z.infer<typeof PresenceCommentChangedMessageSchema>;
|
|
43046
|
+
/**
|
|
43047
|
+
* Discriminated union of every server → client presence frame. The
|
|
43048
|
+
* client parses inbound frames with this and switches on `type`:
|
|
43049
|
+
* `'viewers'` drives the live-presence row, `'page-updated'` drives the
|
|
43050
|
+
* read-side soft-refresh banner, `'comment-changed'` drives the live
|
|
43051
|
+
* comment append / removal.
|
|
43052
|
+
*/
|
|
43053
|
+
declare const PresenceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
42941
43054
|
type: z.ZodLiteral<"viewers">;
|
|
42942
43055
|
viewers: z.ZodArray<z.ZodObject<{
|
|
42943
43056
|
userId: z.ZodString;
|
|
@@ -42947,7 +43060,22 @@ declare const PresenceServerMessageSchema: z.ZodObject<{
|
|
|
42947
43060
|
isEditing: z.ZodBoolean;
|
|
42948
43061
|
joinedAt: z.ZodNumber;
|
|
42949
43062
|
}, z.core.$strip>>;
|
|
42950
|
-
}, z.core.$strip
|
|
43063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43064
|
+
type: z.ZodLiteral<"page-updated">;
|
|
43065
|
+
pageId: z.ZodString;
|
|
43066
|
+
revisionId: z.ZodString;
|
|
43067
|
+
editorUserId: z.ZodString;
|
|
43068
|
+
editorDisplayName: z.ZodString;
|
|
43069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43070
|
+
type: z.ZodLiteral<"comment-changed">;
|
|
43071
|
+
pageId: z.ZodString;
|
|
43072
|
+
changeType: z.ZodEnum<{
|
|
43073
|
+
added: "added";
|
|
43074
|
+
removed: "removed";
|
|
43075
|
+
}>;
|
|
43076
|
+
commentId: z.ZodString;
|
|
43077
|
+
actorUserId: z.ZodOptional<z.ZodString>;
|
|
43078
|
+
}, z.core.$strip>], "type">;
|
|
42951
43079
|
type PresenceServerMessage = z.infer<typeof PresenceServerMessageSchema>;
|
|
42952
43080
|
/**
|
|
42953
43081
|
* RFC-0005 Phase 3 — `GET /api/v2/pages/:id/likers`.
|
|
@@ -43746,4 +43874,4 @@ declare const SearchPagesResponseSchema: z.ZodObject<{
|
|
|
43746
43874
|
}, z.core.$strip>;
|
|
43747
43875
|
type SearchPagesResponse = z.infer<typeof SearchPagesResponseSchema>;
|
|
43748
43876
|
|
|
43749
|
-
export { ALL_SCOPES, API_SURFACE_VERSION, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type AppType, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DND_EXTRA_UPLOAD_MIME, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, IMAGE_UPLOAD_MIME, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type ValidationError, ValidationErrorSchema, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
|
|
43877
|
+
export { ALL_SCOPES, API_SURFACE_VERSION, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type AppType, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DND_EXTRA_UPLOAD_MIME, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, IMAGE_UPLOAD_MIME, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type ValidationError, ValidationErrorSchema, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
|
package/dist/index.js
CHANGED
|
@@ -207,7 +207,9 @@ __export(index_exports, {
|
|
|
207
207
|
PluginInfoSchema: () => PluginInfoSchema,
|
|
208
208
|
PluginNotFoundErrorSchema: () => PluginNotFoundErrorSchema,
|
|
209
209
|
PresenceClientMessageSchema: () => PresenceClientMessageSchema,
|
|
210
|
+
PresenceCommentChangedMessageSchema: () => PresenceCommentChangedMessageSchema,
|
|
210
211
|
PresenceHeartbeatMessageSchema: () => PresenceHeartbeatMessageSchema,
|
|
212
|
+
PresencePageUpdatedMessageSchema: () => PresencePageUpdatedMessageSchema,
|
|
211
213
|
PresenceServerMessageSchema: () => PresenceServerMessageSchema,
|
|
212
214
|
PresenceTokenPayloadSchema: () => PresenceTokenPayloadSchema,
|
|
213
215
|
PresenceTokenResponseSchema: () => PresenceTokenResponseSchema,
|
|
@@ -3040,6 +3042,10 @@ var listCommentsRoute = (0, import_zod_openapi34.createRoute)({
|
|
|
3040
3042
|
401: {
|
|
3041
3043
|
description: "Authentication required",
|
|
3042
3044
|
content: { "application/json": { schema: AuthenticationRequiredErrorSchema } }
|
|
3045
|
+
},
|
|
3046
|
+
404: {
|
|
3047
|
+
description: "Page / revision not found, or the caller cannot access it (existence hidden)",
|
|
3048
|
+
content: { "application/json": { schema: PageNotFoundErrorSchema } }
|
|
3043
3049
|
}
|
|
3044
3050
|
}
|
|
3045
3051
|
});
|
|
@@ -4144,7 +4150,25 @@ var PresenceViewersMessageSchema = import_zod_openapi43.z.object({
|
|
|
4144
4150
|
type: import_zod_openapi43.z.literal("viewers"),
|
|
4145
4151
|
viewers: import_zod_openapi43.z.array(PresenceViewerSchema)
|
|
4146
4152
|
});
|
|
4147
|
-
var
|
|
4153
|
+
var PresencePageUpdatedMessageSchema = import_zod_openapi43.z.object({
|
|
4154
|
+
type: import_zod_openapi43.z.literal("page-updated"),
|
|
4155
|
+
pageId: import_zod_openapi43.z.string(),
|
|
4156
|
+
revisionId: import_zod_openapi43.z.string(),
|
|
4157
|
+
editorUserId: import_zod_openapi43.z.string(),
|
|
4158
|
+
editorDisplayName: import_zod_openapi43.z.string()
|
|
4159
|
+
});
|
|
4160
|
+
var PresenceCommentChangedMessageSchema = import_zod_openapi43.z.object({
|
|
4161
|
+
type: import_zod_openapi43.z.literal("comment-changed"),
|
|
4162
|
+
pageId: import_zod_openapi43.z.string(),
|
|
4163
|
+
changeType: import_zod_openapi43.z.enum(["added", "removed"]),
|
|
4164
|
+
commentId: import_zod_openapi43.z.string(),
|
|
4165
|
+
actorUserId: import_zod_openapi43.z.string().optional()
|
|
4166
|
+
});
|
|
4167
|
+
var PresenceServerMessageSchema = import_zod_openapi43.z.discriminatedUnion("type", [
|
|
4168
|
+
PresenceViewersMessageSchema,
|
|
4169
|
+
PresencePageUpdatedMessageSchema,
|
|
4170
|
+
PresenceCommentChangedMessageSchema
|
|
4171
|
+
]);
|
|
4148
4172
|
var LikerSchema = import_zod_openapi43.z.object({
|
|
4149
4173
|
id: import_zod_openapi43.z.string(),
|
|
4150
4174
|
username: import_zod_openapi43.z.string(),
|
|
@@ -6846,7 +6870,9 @@ var MailTokenPayloadSchema = import_zod_openapi73.z.object({
|
|
|
6846
6870
|
PluginInfoSchema,
|
|
6847
6871
|
PluginNotFoundErrorSchema,
|
|
6848
6872
|
PresenceClientMessageSchema,
|
|
6873
|
+
PresenceCommentChangedMessageSchema,
|
|
6849
6874
|
PresenceHeartbeatMessageSchema,
|
|
6875
|
+
PresencePageUpdatedMessageSchema,
|
|
6850
6876
|
PresenceServerMessageSchema,
|
|
6851
6877
|
PresenceTokenPayloadSchema,
|
|
6852
6878
|
PresenceTokenResponseSchema,
|