@crowi/api-contract 2.0.0-alpha.0 → 2.0.0-alpha.2
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 +566 -3
- package/dist/generated/openapi.d.ts +566 -3
- package/dist/generated/openapi.js.map +1 -1
- package/dist/index.d.mts +1740 -250
- package/dist/index.d.ts +1740 -250
- package/dist/index.js +283 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +275 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { hc } from 'hono/client';
|
|
|
24
24
|
*
|
|
25
25
|
* Keep this list alphabetised within each group for easy scanning.
|
|
26
26
|
*/
|
|
27
|
-
declare const ERROR_CODES: readonly ["AUTHENTICATION_REQUIRED", "ADMIN_REQUIRED", "THIRD_PARTY_AUTH_REQUIRED", "USER_REGISTERED", "USER_SUSPENDED", "USER_INVITED", "USER_NOT_ACTIVE", "EMAIL_NOT_CONFIRMED", "INTERNAL_ERROR", "VALIDATION_ERROR", "INVALID_REQUEST", "NOT_FOUND", "CONFLICT", "SERVICE_UNAVAILABLE", "APPLICATION_NOT_INSTALLED", "INVALID_PAGE_ID", "PAGE_NOT_FOUND", "PAGE_NOT_GRANTED", "PAGE_REVISION_ERROR", "INVALID_GRANT", "COMMENT_NOT_FOUND", "NOTIFICATION_NOT_FOUND", "USER_NOT_FOUND", "USER_EXISTS", "USERNAME_TAKEN", "EMAIL_TAKEN", "EMAIL_NOT_ALLOWED", "INVALID_ACTIVATION_TOKEN", "INVALID_INVITE_TOKEN", "INVITE_ALREADY_ACCEPTED", "INVALID_RESET_TOKEN", "INVALID_EMAIL_CHANGE_TOKEN", "INVALID_CREDENTIALS", "REFRESH_TOKEN_REQUIRED", "REGISTRATION_CLOSED", "ENCRYPTION_NOT_CONFIGURED", "MAIL_TEST_FAILED", "PLUGIN_NOT_FOUND", "PLUGIN_CONFIG_VALIDATION_FAILED"];
|
|
27
|
+
declare const ERROR_CODES: readonly ["AUTHENTICATION_REQUIRED", "ADMIN_REQUIRED", "THIRD_PARTY_AUTH_REQUIRED", "USER_REGISTERED", "USER_SUSPENDED", "USER_INVITED", "USER_NOT_ACTIVE", "EMAIL_NOT_CONFIRMED", "INTERNAL_ERROR", "VALIDATION_ERROR", "INVALID_REQUEST", "NOT_FOUND", "CONFLICT", "SERVICE_UNAVAILABLE", "APPLICATION_NOT_INSTALLED", "INVALID_PAGE_ID", "PAGE_NOT_FOUND", "PAGE_NOT_GRANTED", "PAGE_REVISION_ERROR", "PAGE_TWIN_EXISTS", "INVALID_GRANT", "COMMENT_NOT_FOUND", "NOTIFICATION_NOT_FOUND", "USER_NOT_FOUND", "USER_EXISTS", "USERNAME_TAKEN", "EMAIL_TAKEN", "EMAIL_NOT_ALLOWED", "INVALID_ACTIVATION_TOKEN", "INVALID_INVITE_TOKEN", "INVITE_ALREADY_ACCEPTED", "INVALID_RESET_TOKEN", "INVALID_EMAIL_CHANGE_TOKEN", "INVALID_CREDENTIALS", "REFRESH_TOKEN_REQUIRED", "REGISTRATION_CLOSED", "ENCRYPTION_NOT_CONFIGURED", "MAIL_TEST_FAILED", "PLUGIN_NOT_FOUND", "PLUGIN_CONFIG_VALIDATION_FAILED"];
|
|
28
28
|
declare const ErrorCodeSchema: z.ZodEnum<{
|
|
29
29
|
AUTHENTICATION_REQUIRED: "AUTHENTICATION_REQUIRED";
|
|
30
30
|
ADMIN_REQUIRED: "ADMIN_REQUIRED";
|
|
@@ -45,6 +45,7 @@ declare const ErrorCodeSchema: z.ZodEnum<{
|
|
|
45
45
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
46
46
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
47
47
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
48
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
48
49
|
INVALID_GRANT: "INVALID_GRANT";
|
|
49
50
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
50
51
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -68,6 +69,64 @@ declare const ErrorCodeSchema: z.ZodEnum<{
|
|
|
68
69
|
}>;
|
|
69
70
|
type ErrorCode = (typeof ERROR_CODES)[number];
|
|
70
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Canonical HTML5 element name set + a helper for stripping HTML tags from
|
|
74
|
+
* arbitrary text.
|
|
75
|
+
*
|
|
76
|
+
* This lives in the shared `@crowi/api-contract` package because BOTH sides of
|
|
77
|
+
* the wall need the SAME strip logic:
|
|
78
|
+
*
|
|
79
|
+
* - the api renderer (`renderer/core/headings.ts`) slugs a heading's anchor
|
|
80
|
+
* id from the HTML-stripped heading text, and
|
|
81
|
+
* - the web TOC (`components/page-view/page-toc.tsx`) strips the same tags
|
|
82
|
+
* out of the displayed label at render time.
|
|
83
|
+
*
|
|
84
|
+
* Keeping the set + the `stripKnownHtmlTags` regex here means anchor-id
|
|
85
|
+
* generation (server) and label display (client) can never diverge. The api
|
|
86
|
+
* migration layer (`wikilink-format`'s detection gate) also imports the set
|
|
87
|
+
* from here.
|
|
88
|
+
*
|
|
89
|
+
* Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element — the full
|
|
90
|
+
* standard element list as of the HTML Living Standard.
|
|
91
|
+
*
|
|
92
|
+
* `h1`..`h6` are listed explicitly. The deprecated/obsolete presentational
|
|
93
|
+
* elements `font` / `center` / `marquee` / `blink` / `applet` are included on
|
|
94
|
+
* purpose: they no longer appear in the MDN current element list but still
|
|
95
|
+
* occur in real legacy wiki content (e.g. `### <font color="1a73e8">…</font>`
|
|
96
|
+
* headings), so `</font>` etc. MUST be treated as close tags rather than
|
|
97
|
+
* rewritten to `[[/font]]` by `wikilink-format`.
|
|
98
|
+
*
|
|
99
|
+
* The set is kept a SUPERSET of the web body renderer's inline-kept HTML tag
|
|
100
|
+
* allow-list (`packages/web/src/components/editor/known-tags.ts`'s
|
|
101
|
+
* `HTML_TAGS`): a tag the body renders inline (e.g. `<strike>` / `<tt>` /
|
|
102
|
+
* `<big>` / `<acronym>` / `<nobr>` / `<search>` …) must also be stripped from a
|
|
103
|
+
* TOC label so the displayed label matches the rendered body text. The
|
|
104
|
+
* cross-guard test in `html-elements.test.ts` fails if the body adds an inline
|
|
105
|
+
* tag this set misses. (SVG tags are camelCase and never appear as inline
|
|
106
|
+
* heading markup, so they are intentionally NOT mirrored here.)
|
|
107
|
+
*/
|
|
108
|
+
declare const KNOWN_HTML_ELEMENTS: ReadonlySet<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Upper bound on the input `stripKnownHtmlTags` will actually scan. A TOC label
|
|
111
|
+
* / heading text is never legitimately longer than this; anything above it is
|
|
112
|
+
* pathological input (e.g. a malformed `<i<i<i…` run designed to make the
|
|
113
|
+
* attribute scan backtrack). Returning such input unchanged keeps the helper
|
|
114
|
+
* O(1) on adversarial input and protects the synchronous SAVE path (run per
|
|
115
|
+
* heading, on the event loop) and the per-TOC-entry client render path.
|
|
116
|
+
*/
|
|
117
|
+
declare const STRIP_KNOWN_HTML_TAGS_MAX_LENGTH = 4096;
|
|
118
|
+
/**
|
|
119
|
+
* Remove every `<elem …>` / `</elem>` / `<elem/>` substring whose name is a
|
|
120
|
+
* known HTML element, case-insensitively. Text that merely contains a `<`
|
|
121
|
+
* (`price < 100`) or an unknown tag-like token (`Using List<int> in C#`) is
|
|
122
|
+
* returned unchanged.
|
|
123
|
+
*
|
|
124
|
+
* Inputs longer than `STRIP_KNOWN_HTML_TAGS_MAX_LENGTH` are returned unchanged
|
|
125
|
+
* WITHOUT running the regex — a heading / TOC label is never that long, and the
|
|
126
|
+
* cap is the cheap defence against a crafted long run blocking the event loop.
|
|
127
|
+
*/
|
|
128
|
+
declare function stripKnownHtmlTags(text: string): string;
|
|
129
|
+
|
|
71
130
|
declare const getAppInfoRoute: {
|
|
72
131
|
method: "get";
|
|
73
132
|
path: "/app/info";
|
|
@@ -81,6 +140,10 @@ declare const getAppInfoRoute: {
|
|
|
81
140
|
schema: zod.ZodObject<{
|
|
82
141
|
title: zod.ZodNullable<zod.ZodString>;
|
|
83
142
|
confidential: zod.ZodNullable<zod.ZodString>;
|
|
143
|
+
version: zod.ZodString;
|
|
144
|
+
apiVersion: zod.ZodString;
|
|
145
|
+
capabilities: zod.ZodArray<zod.ZodString>;
|
|
146
|
+
canSelfRegister: zod.ZodBoolean;
|
|
84
147
|
}, zod_v4_core.$strip>;
|
|
85
148
|
};
|
|
86
149
|
};
|
|
@@ -116,6 +179,10 @@ declare const appRoutes: {
|
|
|
116
179
|
schema: zod.ZodObject<{
|
|
117
180
|
title: zod.ZodNullable<zod.ZodString>;
|
|
118
181
|
confidential: zod.ZodNullable<zod.ZodString>;
|
|
182
|
+
version: zod.ZodString;
|
|
183
|
+
apiVersion: zod.ZodString;
|
|
184
|
+
capabilities: zod.ZodArray<zod.ZodString>;
|
|
185
|
+
canSelfRegister: zod.ZodBoolean;
|
|
119
186
|
}, zod_v4_core.$strip>;
|
|
120
187
|
};
|
|
121
188
|
};
|
|
@@ -436,6 +503,7 @@ declare const tokenLoginRoute: {
|
|
|
436
503
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
437
504
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
438
505
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
506
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
439
507
|
INVALID_GRANT: "INVALID_GRANT";
|
|
440
508
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
441
509
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -490,6 +558,7 @@ declare const tokenLoginRoute: {
|
|
|
490
558
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
491
559
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
492
560
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
561
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
493
562
|
INVALID_GRANT: "INVALID_GRANT";
|
|
494
563
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
495
564
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -608,6 +677,7 @@ declare const tokenRegisterRoute: {
|
|
|
608
677
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
609
678
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
610
679
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
680
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
611
681
|
INVALID_GRANT: "INVALID_GRANT";
|
|
612
682
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
613
683
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -662,6 +732,7 @@ declare const tokenRegisterRoute: {
|
|
|
662
732
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
663
733
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
664
734
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
735
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
665
736
|
INVALID_GRANT: "INVALID_GRANT";
|
|
666
737
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
667
738
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -716,6 +787,7 @@ declare const tokenRegisterRoute: {
|
|
|
716
787
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
717
788
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
718
789
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
790
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
719
791
|
INVALID_GRANT: "INVALID_GRANT";
|
|
720
792
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
721
793
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -838,6 +910,7 @@ declare const tokenRefreshRoute: {
|
|
|
838
910
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
839
911
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
840
912
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
913
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
841
914
|
INVALID_GRANT: "INVALID_GRANT";
|
|
842
915
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
843
916
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -906,6 +979,7 @@ declare const tokenRefreshRoute: {
|
|
|
906
979
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
907
980
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
908
981
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
982
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
909
983
|
INVALID_GRANT: "INVALID_GRANT";
|
|
910
984
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
911
985
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1136,6 +1210,7 @@ declare const tokenAuthRoutes: {
|
|
|
1136
1210
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1137
1211
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1138
1212
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1213
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1139
1214
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1140
1215
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1141
1216
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1190,6 +1265,7 @@ declare const tokenAuthRoutes: {
|
|
|
1190
1265
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1191
1266
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1192
1267
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1268
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1193
1269
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1194
1270
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1195
1271
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1308,6 +1384,7 @@ declare const tokenAuthRoutes: {
|
|
|
1308
1384
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1309
1385
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1310
1386
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1387
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1311
1388
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1312
1389
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1313
1390
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1362,6 +1439,7 @@ declare const tokenAuthRoutes: {
|
|
|
1362
1439
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1363
1440
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1364
1441
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1442
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1365
1443
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1366
1444
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1367
1445
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1416,6 +1494,7 @@ declare const tokenAuthRoutes: {
|
|
|
1416
1494
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1417
1495
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1418
1496
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1497
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1419
1498
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1420
1499
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1421
1500
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1538,6 +1617,7 @@ declare const tokenAuthRoutes: {
|
|
|
1538
1617
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1539
1618
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1540
1619
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1620
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1541
1621
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1542
1622
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1543
1623
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1606,6 +1686,7 @@ declare const tokenAuthRoutes: {
|
|
|
1606
1686
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1607
1687
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1608
1688
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1689
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1609
1690
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1610
1691
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1611
1692
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1820,6 +1901,7 @@ declare const invitePreviewRoute: {
|
|
|
1820
1901
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1821
1902
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1822
1903
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1904
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1823
1905
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1824
1906
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1825
1907
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1874,6 +1956,7 @@ declare const invitePreviewRoute: {
|
|
|
1874
1956
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1875
1957
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1876
1958
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
1959
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1877
1960
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1878
1961
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1879
1962
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -1985,6 +2068,7 @@ declare const acceptInviteRoute: {
|
|
|
1985
2068
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
1986
2069
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
1987
2070
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2071
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
1988
2072
|
INVALID_GRANT: "INVALID_GRANT";
|
|
1989
2073
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
1990
2074
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2039,6 +2123,7 @@ declare const acceptInviteRoute: {
|
|
|
2039
2123
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2040
2124
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2041
2125
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2126
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2042
2127
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2043
2128
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2044
2129
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2093,6 +2178,7 @@ declare const acceptInviteRoute: {
|
|
|
2093
2178
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2094
2179
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2095
2180
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2181
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2096
2182
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2097
2183
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2098
2184
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2147,6 +2233,7 @@ declare const acceptInviteRoute: {
|
|
|
2147
2233
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2148
2234
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2149
2235
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2236
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2150
2237
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2151
2238
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2152
2239
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2240,6 +2327,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2240
2327
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2241
2328
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2242
2329
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2330
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2243
2331
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2244
2332
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2245
2333
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2294,6 +2382,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2294
2382
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2295
2383
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2296
2384
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2385
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2297
2386
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2298
2387
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2299
2388
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2405,6 +2494,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2405
2494
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2406
2495
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2407
2496
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2497
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2408
2498
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2409
2499
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2410
2500
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2459,6 +2549,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2459
2549
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2460
2550
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2461
2551
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2552
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2462
2553
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2463
2554
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2464
2555
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2513,6 +2604,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2513
2604
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2514
2605
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2515
2606
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2607
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2516
2608
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2517
2609
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2518
2610
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2567,6 +2659,7 @@ declare const inviteAcceptRoutes: {
|
|
|
2567
2659
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2568
2660
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2569
2661
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2662
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2570
2663
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2571
2664
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2572
2665
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2667,6 +2760,7 @@ declare const forgotPasswordRoute: {
|
|
|
2667
2760
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2668
2761
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2669
2762
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2763
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2670
2764
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2671
2765
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2672
2766
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2759,6 +2853,7 @@ declare const validateResetTokenRoute: {
|
|
|
2759
2853
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2760
2854
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2761
2855
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2856
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2762
2857
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2763
2858
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2764
2859
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2868,6 +2963,7 @@ declare const selfResetPasswordRoute: {
|
|
|
2868
2963
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2869
2964
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2870
2965
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
2966
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2871
2967
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2872
2968
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2873
2969
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2922,6 +3018,7 @@ declare const selfResetPasswordRoute: {
|
|
|
2922
3018
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2923
3019
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2924
3020
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3021
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2925
3022
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2926
3023
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2927
3024
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -2976,6 +3073,7 @@ declare const selfResetPasswordRoute: {
|
|
|
2976
3073
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
2977
3074
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
2978
3075
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3076
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
2979
3077
|
INVALID_GRANT: "INVALID_GRANT";
|
|
2980
3078
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
2981
3079
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3075,6 +3173,7 @@ declare const passwordResetRoutes: {
|
|
|
3075
3173
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3076
3174
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3077
3175
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3176
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3078
3177
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3079
3178
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3080
3179
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3167,6 +3266,7 @@ declare const passwordResetRoutes: {
|
|
|
3167
3266
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3168
3267
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3169
3268
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3269
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3170
3270
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3171
3271
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3172
3272
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3276,6 +3376,7 @@ declare const passwordResetRoutes: {
|
|
|
3276
3376
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3277
3377
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3278
3378
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3379
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3279
3380
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3280
3381
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3281
3382
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3330,6 +3431,7 @@ declare const passwordResetRoutes: {
|
|
|
3330
3431
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3331
3432
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3332
3433
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3434
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3333
3435
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3334
3436
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3335
3437
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3384,6 +3486,7 @@ declare const passwordResetRoutes: {
|
|
|
3384
3486
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3385
3487
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3386
3488
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3489
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3387
3490
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3388
3491
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3389
3492
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3478,6 +3581,7 @@ declare const validateActivationTokenRoute: {
|
|
|
3478
3581
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3479
3582
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3480
3583
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3584
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3481
3585
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3482
3586
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3483
3587
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3586,6 +3690,7 @@ declare const activateAccountRoute: {
|
|
|
3586
3690
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3587
3691
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3588
3692
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3693
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3589
3694
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3590
3695
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3591
3696
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3640,6 +3745,7 @@ declare const activateAccountRoute: {
|
|
|
3640
3745
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3641
3746
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3642
3747
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3748
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3643
3749
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3644
3750
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3645
3751
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3733,6 +3839,7 @@ declare const activationRoutes: {
|
|
|
3733
3839
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3734
3840
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3735
3841
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3842
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3736
3843
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3737
3844
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3738
3845
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3841,6 +3948,7 @@ declare const activationRoutes: {
|
|
|
3841
3948
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3842
3949
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3843
3950
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
3951
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3844
3952
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3845
3953
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3846
3954
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3895,6 +4003,7 @@ declare const activationRoutes: {
|
|
|
3895
4003
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3896
4004
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3897
4005
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4006
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3898
4007
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3899
4008
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3900
4009
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -3990,6 +4099,7 @@ declare const validateEmailChangeTokenRoute: {
|
|
|
3990
4099
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
3991
4100
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
3992
4101
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4102
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
3993
4103
|
INVALID_GRANT: "INVALID_GRANT";
|
|
3994
4104
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
3995
4105
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4089,6 +4199,7 @@ declare const confirmEmailChangeRoute: {
|
|
|
4089
4199
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4090
4200
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4091
4201
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4202
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4092
4203
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4093
4204
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4094
4205
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4143,6 +4254,7 @@ declare const confirmEmailChangeRoute: {
|
|
|
4143
4254
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4144
4255
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4145
4256
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4257
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4146
4258
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4147
4259
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4148
4260
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4197,6 +4309,7 @@ declare const confirmEmailChangeRoute: {
|
|
|
4197
4309
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4198
4310
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4199
4311
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4312
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4200
4313
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4201
4314
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4202
4315
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4291,6 +4404,7 @@ declare const emailChangeRoutes: {
|
|
|
4291
4404
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4292
4405
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4293
4406
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4407
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4294
4408
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4295
4409
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4296
4410
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4390,6 +4504,7 @@ declare const emailChangeRoutes: {
|
|
|
4390
4504
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4391
4505
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4392
4506
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4507
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4393
4508
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4394
4509
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4395
4510
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4444,6 +4559,7 @@ declare const emailChangeRoutes: {
|
|
|
4444
4559
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4445
4560
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4446
4561
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4562
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4447
4563
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4448
4564
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4449
4565
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -4498,6 +4614,7 @@ declare const emailChangeRoutes: {
|
|
|
4498
4614
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
4499
4615
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
4500
4616
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
4617
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
4501
4618
|
INVALID_GRANT: "INVALID_GRANT";
|
|
4502
4619
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
4503
4620
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -12431,6 +12548,7 @@ declare const listPagesRoute: {
|
|
|
12431
12548
|
asc: "asc";
|
|
12432
12549
|
desc: "desc";
|
|
12433
12550
|
}>>>;
|
|
12551
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
12434
12552
|
}, z.core.$strip>;
|
|
12435
12553
|
};
|
|
12436
12554
|
responses: {
|
|
@@ -12654,6 +12772,111 @@ declare const listPagesRoute: {
|
|
|
12654
12772
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
12655
12773
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
12656
12774
|
}, z.core.$strip>>>;
|
|
12775
|
+
contentPage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12776
|
+
_id: z.ZodString;
|
|
12777
|
+
path: z.ZodString;
|
|
12778
|
+
revision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12779
|
+
_id: z.ZodString;
|
|
12780
|
+
path: z.ZodString;
|
|
12781
|
+
body: z.ZodString;
|
|
12782
|
+
format: z.ZodDefault<z.ZodString>;
|
|
12783
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12784
|
+
_id: z.ZodString;
|
|
12785
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12786
|
+
username: z.ZodString;
|
|
12787
|
+
name: z.ZodString;
|
|
12788
|
+
email: z.ZodString;
|
|
12789
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12790
|
+
createdAt: z.ZodString;
|
|
12791
|
+
}, z.core.$strip>>>;
|
|
12792
|
+
createdAt: z.ZodString;
|
|
12793
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
12794
|
+
toc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12795
|
+
level: z.ZodNumber;
|
|
12796
|
+
text: z.ZodString;
|
|
12797
|
+
anchorId: z.ZodString;
|
|
12798
|
+
}, z.core.$strip>>>;
|
|
12799
|
+
wikiLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12800
|
+
raw: z.ZodString;
|
|
12801
|
+
target: z.ZodString;
|
|
12802
|
+
displayText: z.ZodOptional<z.ZodString>;
|
|
12803
|
+
}, z.core.$strip>>>;
|
|
12804
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12805
|
+
username: z.ZodString;
|
|
12806
|
+
}, z.core.$strip>>>;
|
|
12807
|
+
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12808
|
+
}, z.core.$strip>>;
|
|
12809
|
+
renderedAst: z.ZodOptional<z.ZodUnknown>;
|
|
12810
|
+
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
12811
|
+
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12812
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
12813
|
+
snapshot: "snapshot";
|
|
12814
|
+
incremental: "incremental";
|
|
12815
|
+
}>>;
|
|
12816
|
+
savedBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12817
|
+
_id: z.ZodString;
|
|
12818
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12819
|
+
username: z.ZodString;
|
|
12820
|
+
name: z.ZodString;
|
|
12821
|
+
email: z.ZodString;
|
|
12822
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12823
|
+
createdAt: z.ZodString;
|
|
12824
|
+
}, z.core.$strip>]>>>;
|
|
12825
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12826
|
+
_id: z.ZodString;
|
|
12827
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12828
|
+
username: z.ZodString;
|
|
12829
|
+
name: z.ZodString;
|
|
12830
|
+
email: z.ZodString;
|
|
12831
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12832
|
+
createdAt: z.ZodString;
|
|
12833
|
+
}, z.core.$strip>]>>>;
|
|
12834
|
+
message: z.ZodOptional<z.ZodString>;
|
|
12835
|
+
editVia: z.ZodOptional<z.ZodEnum<{
|
|
12836
|
+
web: "web";
|
|
12837
|
+
oauth: "oauth";
|
|
12838
|
+
pat: "pat";
|
|
12839
|
+
}>>;
|
|
12840
|
+
}, z.core.$strip>]>>;
|
|
12841
|
+
redirectTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12842
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
12843
|
+
deprecated: "deprecated";
|
|
12844
|
+
wip: "wip";
|
|
12845
|
+
published: "published";
|
|
12846
|
+
deleted: "deleted";
|
|
12847
|
+
draft: "draft";
|
|
12848
|
+
}>>>;
|
|
12849
|
+
grant: z.ZodOptional<z.ZodNumber>;
|
|
12850
|
+
grantedUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12851
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12852
|
+
_id: z.ZodString;
|
|
12853
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12854
|
+
username: z.ZodString;
|
|
12855
|
+
name: z.ZodString;
|
|
12856
|
+
email: z.ZodString;
|
|
12857
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12858
|
+
createdAt: z.ZodString;
|
|
12859
|
+
}, z.core.$strip>]>>>;
|
|
12860
|
+
lastUpdateUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
12861
|
+
_id: z.ZodString;
|
|
12862
|
+
id: z.ZodOptional<z.ZodString>;
|
|
12863
|
+
username: z.ZodString;
|
|
12864
|
+
name: z.ZodString;
|
|
12865
|
+
email: z.ZodString;
|
|
12866
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12867
|
+
createdAt: z.ZodString;
|
|
12868
|
+
}, z.core.$strip>]>>>;
|
|
12869
|
+
liker: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12870
|
+
commentCount: z.ZodDefault<z.ZodNumber>;
|
|
12871
|
+
extended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12872
|
+
createdAt: z.ZodString;
|
|
12873
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12874
|
+
currentRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12875
|
+
yjsCheckpointAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12876
|
+
latestRevision: z.ZodOptional<z.ZodString>;
|
|
12877
|
+
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
12878
|
+
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
12879
|
+
}, z.core.$strip>>>;
|
|
12657
12880
|
}, z.core.$strip>;
|
|
12658
12881
|
};
|
|
12659
12882
|
};
|
|
@@ -14313,9 +14536,9 @@ declare const revertDeletedPageRoute: {
|
|
|
14313
14536
|
} & {
|
|
14314
14537
|
getRoutingPath(): "/pages/revert";
|
|
14315
14538
|
};
|
|
14316
|
-
declare const
|
|
14539
|
+
declare const revertToRevisionRoute: {
|
|
14317
14540
|
method: "post";
|
|
14318
|
-
path: "/pages/
|
|
14541
|
+
path: "/pages/revert-to-revision";
|
|
14319
14542
|
tags: string[];
|
|
14320
14543
|
security: {
|
|
14321
14544
|
bearerAuth: never[];
|
|
@@ -14327,10 +14550,7 @@ declare const renamePageRoute: {
|
|
|
14327
14550
|
'application/json': {
|
|
14328
14551
|
schema: z.ZodObject<{
|
|
14329
14552
|
page_id: z.ZodString;
|
|
14330
|
-
|
|
14331
|
-
revision_id: z.ZodOptional<z.ZodString>;
|
|
14332
|
-
create_redirect: z.ZodOptional<z.ZodBoolean>;
|
|
14333
|
-
include_descendants: z.ZodOptional<z.ZodBoolean>;
|
|
14553
|
+
revision_id: z.ZodString;
|
|
14334
14554
|
}, z.core.$strip>;
|
|
14335
14555
|
};
|
|
14336
14556
|
};
|
|
@@ -14447,7 +14667,6 @@ declare const renamePageRoute: {
|
|
|
14447
14667
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
14448
14668
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
14449
14669
|
}, z.core.$strip>;
|
|
14450
|
-
renamed_count: z.ZodNumber;
|
|
14451
14670
|
}, z.core.$strip>;
|
|
14452
14671
|
};
|
|
14453
14672
|
};
|
|
@@ -14456,22 +14675,12 @@ declare const renamePageRoute: {
|
|
|
14456
14675
|
description: string;
|
|
14457
14676
|
content: {
|
|
14458
14677
|
'application/json': {
|
|
14459
|
-
schema: z.
|
|
14678
|
+
schema: z.ZodObject<{
|
|
14460
14679
|
error: z.ZodObject<{
|
|
14461
14680
|
code: z.ZodString;
|
|
14462
14681
|
message: z.ZodString;
|
|
14463
14682
|
}, z.core.$strip>;
|
|
14464
|
-
}, z.core.$strip
|
|
14465
|
-
error: z.ZodObject<{
|
|
14466
|
-
code: z.ZodLiteral<"PAGE_RENAME_TREE_FAILED">;
|
|
14467
|
-
message: z.ZodString;
|
|
14468
|
-
conflicts: z.ZodArray<z.ZodObject<{
|
|
14469
|
-
path: z.ZodString;
|
|
14470
|
-
reasons: z.ZodArray<z.ZodString>;
|
|
14471
|
-
}, z.core.$strip>>;
|
|
14472
|
-
partial: z.ZodOptional<z.ZodBoolean>;
|
|
14473
|
-
}, z.core.$strip>;
|
|
14474
|
-
}, z.core.$strip>]>;
|
|
14683
|
+
}, z.core.$strip>;
|
|
14475
14684
|
};
|
|
14476
14685
|
};
|
|
14477
14686
|
};
|
|
@@ -14502,26 +14711,13 @@ declare const renamePageRoute: {
|
|
|
14502
14711
|
};
|
|
14503
14712
|
};
|
|
14504
14713
|
};
|
|
14505
|
-
409: {
|
|
14506
|
-
description: string;
|
|
14507
|
-
content: {
|
|
14508
|
-
'application/json': {
|
|
14509
|
-
schema: z.ZodObject<{
|
|
14510
|
-
error: z.ZodObject<{
|
|
14511
|
-
code: z.ZodLiteral<"PAGE_REVISION_ERROR">;
|
|
14512
|
-
message: z.ZodString;
|
|
14513
|
-
}, z.core.$strip>;
|
|
14514
|
-
}, z.core.$strip>;
|
|
14515
|
-
};
|
|
14516
|
-
};
|
|
14517
|
-
};
|
|
14518
14714
|
};
|
|
14519
14715
|
} & {
|
|
14520
|
-
getRoutingPath(): "/pages/
|
|
14716
|
+
getRoutingPath(): "/pages/revert-to-revision";
|
|
14521
14717
|
};
|
|
14522
|
-
declare const
|
|
14718
|
+
declare const renamePageRoute: {
|
|
14523
14719
|
method: "post";
|
|
14524
|
-
path: "/pages/rename
|
|
14720
|
+
path: "/pages/rename";
|
|
14525
14721
|
tags: string[];
|
|
14526
14722
|
security: {
|
|
14527
14723
|
bearerAuth: never[];
|
|
@@ -14532,7 +14728,213 @@ declare const renameSubtreeRoute: {
|
|
|
14532
14728
|
content: {
|
|
14533
14729
|
'application/json': {
|
|
14534
14730
|
schema: z.ZodObject<{
|
|
14535
|
-
|
|
14731
|
+
page_id: z.ZodString;
|
|
14732
|
+
new_path: z.ZodString;
|
|
14733
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
14734
|
+
create_redirect: z.ZodOptional<z.ZodBoolean>;
|
|
14735
|
+
include_descendants: z.ZodOptional<z.ZodBoolean>;
|
|
14736
|
+
}, z.core.$strip>;
|
|
14737
|
+
};
|
|
14738
|
+
};
|
|
14739
|
+
};
|
|
14740
|
+
};
|
|
14741
|
+
responses: {
|
|
14742
|
+
200: {
|
|
14743
|
+
description: string;
|
|
14744
|
+
content: {
|
|
14745
|
+
'application/json': {
|
|
14746
|
+
schema: z.ZodObject<{
|
|
14747
|
+
page: z.ZodObject<{
|
|
14748
|
+
_id: z.ZodString;
|
|
14749
|
+
path: z.ZodString;
|
|
14750
|
+
revision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14751
|
+
_id: z.ZodString;
|
|
14752
|
+
path: z.ZodString;
|
|
14753
|
+
body: z.ZodString;
|
|
14754
|
+
format: z.ZodDefault<z.ZodString>;
|
|
14755
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14756
|
+
_id: z.ZodString;
|
|
14757
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14758
|
+
username: z.ZodString;
|
|
14759
|
+
name: z.ZodString;
|
|
14760
|
+
email: z.ZodString;
|
|
14761
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14762
|
+
createdAt: z.ZodString;
|
|
14763
|
+
}, z.core.$strip>>>;
|
|
14764
|
+
createdAt: z.ZodString;
|
|
14765
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
14766
|
+
toc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14767
|
+
level: z.ZodNumber;
|
|
14768
|
+
text: z.ZodString;
|
|
14769
|
+
anchorId: z.ZodString;
|
|
14770
|
+
}, z.core.$strip>>>;
|
|
14771
|
+
wikiLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14772
|
+
raw: z.ZodString;
|
|
14773
|
+
target: z.ZodString;
|
|
14774
|
+
displayText: z.ZodOptional<z.ZodString>;
|
|
14775
|
+
}, z.core.$strip>>>;
|
|
14776
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14777
|
+
username: z.ZodString;
|
|
14778
|
+
}, z.core.$strip>>>;
|
|
14779
|
+
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14780
|
+
}, z.core.$strip>>;
|
|
14781
|
+
renderedAst: z.ZodOptional<z.ZodUnknown>;
|
|
14782
|
+
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
14783
|
+
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14784
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
14785
|
+
snapshot: "snapshot";
|
|
14786
|
+
incremental: "incremental";
|
|
14787
|
+
}>>;
|
|
14788
|
+
savedBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14789
|
+
_id: z.ZodString;
|
|
14790
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14791
|
+
username: z.ZodString;
|
|
14792
|
+
name: z.ZodString;
|
|
14793
|
+
email: z.ZodString;
|
|
14794
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14795
|
+
createdAt: z.ZodString;
|
|
14796
|
+
}, z.core.$strip>]>>>;
|
|
14797
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14798
|
+
_id: z.ZodString;
|
|
14799
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14800
|
+
username: z.ZodString;
|
|
14801
|
+
name: z.ZodString;
|
|
14802
|
+
email: z.ZodString;
|
|
14803
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14804
|
+
createdAt: z.ZodString;
|
|
14805
|
+
}, z.core.$strip>]>>>;
|
|
14806
|
+
message: z.ZodOptional<z.ZodString>;
|
|
14807
|
+
editVia: z.ZodOptional<z.ZodEnum<{
|
|
14808
|
+
web: "web";
|
|
14809
|
+
oauth: "oauth";
|
|
14810
|
+
pat: "pat";
|
|
14811
|
+
}>>;
|
|
14812
|
+
}, z.core.$strip>]>>;
|
|
14813
|
+
redirectTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14814
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
14815
|
+
deprecated: "deprecated";
|
|
14816
|
+
wip: "wip";
|
|
14817
|
+
published: "published";
|
|
14818
|
+
deleted: "deleted";
|
|
14819
|
+
draft: "draft";
|
|
14820
|
+
}>>>;
|
|
14821
|
+
grant: z.ZodOptional<z.ZodNumber>;
|
|
14822
|
+
grantedUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14823
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14824
|
+
_id: z.ZodString;
|
|
14825
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14826
|
+
username: z.ZodString;
|
|
14827
|
+
name: z.ZodString;
|
|
14828
|
+
email: z.ZodString;
|
|
14829
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14830
|
+
createdAt: z.ZodString;
|
|
14831
|
+
}, z.core.$strip>]>>>;
|
|
14832
|
+
lastUpdateUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14833
|
+
_id: z.ZodString;
|
|
14834
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14835
|
+
username: z.ZodString;
|
|
14836
|
+
name: z.ZodString;
|
|
14837
|
+
email: z.ZodString;
|
|
14838
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14839
|
+
createdAt: z.ZodString;
|
|
14840
|
+
}, z.core.$strip>]>>>;
|
|
14841
|
+
liker: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14842
|
+
commentCount: z.ZodDefault<z.ZodNumber>;
|
|
14843
|
+
extended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14844
|
+
createdAt: z.ZodString;
|
|
14845
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14846
|
+
currentRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14847
|
+
yjsCheckpointAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14848
|
+
latestRevision: z.ZodOptional<z.ZodString>;
|
|
14849
|
+
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
14850
|
+
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
14851
|
+
}, z.core.$strip>;
|
|
14852
|
+
renamed_count: z.ZodNumber;
|
|
14853
|
+
}, z.core.$strip>;
|
|
14854
|
+
};
|
|
14855
|
+
};
|
|
14856
|
+
};
|
|
14857
|
+
400: {
|
|
14858
|
+
description: string;
|
|
14859
|
+
content: {
|
|
14860
|
+
'application/json': {
|
|
14861
|
+
schema: z.ZodUnion<readonly [z.ZodObject<{
|
|
14862
|
+
error: z.ZodObject<{
|
|
14863
|
+
code: z.ZodString;
|
|
14864
|
+
message: z.ZodString;
|
|
14865
|
+
}, z.core.$strip>;
|
|
14866
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14867
|
+
error: z.ZodObject<{
|
|
14868
|
+
code: z.ZodLiteral<"PAGE_RENAME_TREE_FAILED">;
|
|
14869
|
+
message: z.ZodString;
|
|
14870
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
14871
|
+
path: z.ZodString;
|
|
14872
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
14873
|
+
}, z.core.$strip>>;
|
|
14874
|
+
partial: z.ZodOptional<z.ZodBoolean>;
|
|
14875
|
+
}, z.core.$strip>;
|
|
14876
|
+
}, z.core.$strip>]>;
|
|
14877
|
+
};
|
|
14878
|
+
};
|
|
14879
|
+
};
|
|
14880
|
+
401: {
|
|
14881
|
+
description: string;
|
|
14882
|
+
content: {
|
|
14883
|
+
'application/json': {
|
|
14884
|
+
schema: z.ZodObject<{
|
|
14885
|
+
error: z.ZodObject<{
|
|
14886
|
+
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
14887
|
+
message: z.ZodLiteral<"Authentication is required">;
|
|
14888
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
14889
|
+
}, z.core.$strip>;
|
|
14890
|
+
}, z.core.$strip>;
|
|
14891
|
+
};
|
|
14892
|
+
};
|
|
14893
|
+
};
|
|
14894
|
+
404: {
|
|
14895
|
+
description: string;
|
|
14896
|
+
content: {
|
|
14897
|
+
'application/json': {
|
|
14898
|
+
schema: z.ZodObject<{
|
|
14899
|
+
error: z.ZodObject<{
|
|
14900
|
+
code: z.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
14901
|
+
message: z.ZodLiteral<"Page not found">;
|
|
14902
|
+
}, z.core.$strip>;
|
|
14903
|
+
}, z.core.$strip>;
|
|
14904
|
+
};
|
|
14905
|
+
};
|
|
14906
|
+
};
|
|
14907
|
+
409: {
|
|
14908
|
+
description: string;
|
|
14909
|
+
content: {
|
|
14910
|
+
'application/json': {
|
|
14911
|
+
schema: z.ZodObject<{
|
|
14912
|
+
error: z.ZodObject<{
|
|
14913
|
+
code: z.ZodLiteral<"PAGE_REVISION_ERROR">;
|
|
14914
|
+
message: z.ZodString;
|
|
14915
|
+
}, z.core.$strip>;
|
|
14916
|
+
}, z.core.$strip>;
|
|
14917
|
+
};
|
|
14918
|
+
};
|
|
14919
|
+
};
|
|
14920
|
+
};
|
|
14921
|
+
} & {
|
|
14922
|
+
getRoutingPath(): "/pages/rename";
|
|
14923
|
+
};
|
|
14924
|
+
declare const renameSubtreeRoute: {
|
|
14925
|
+
method: "post";
|
|
14926
|
+
path: "/pages/rename-subtree";
|
|
14927
|
+
tags: string[];
|
|
14928
|
+
security: {
|
|
14929
|
+
bearerAuth: never[];
|
|
14930
|
+
}[];
|
|
14931
|
+
summary: string;
|
|
14932
|
+
request: {
|
|
14933
|
+
body: {
|
|
14934
|
+
content: {
|
|
14935
|
+
'application/json': {
|
|
14936
|
+
schema: z.ZodObject<{
|
|
14937
|
+
old_path: z.ZodString;
|
|
14536
14938
|
new_path: z.ZodString;
|
|
14537
14939
|
create_redirect: z.ZodOptional<z.ZodBoolean>;
|
|
14538
14940
|
}, z.core.$strip>;
|
|
@@ -14801,6 +15203,7 @@ declare const pageRoutes: {
|
|
|
14801
15203
|
asc: "asc";
|
|
14802
15204
|
desc: "desc";
|
|
14803
15205
|
}>>>;
|
|
15206
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
14804
15207
|
}, z.core.$strip>;
|
|
14805
15208
|
};
|
|
14806
15209
|
responses: {
|
|
@@ -15024,6 +15427,111 @@ declare const pageRoutes: {
|
|
|
15024
15427
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
15025
15428
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
15026
15429
|
}, z.core.$strip>>>;
|
|
15430
|
+
contentPage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15431
|
+
_id: z.ZodString;
|
|
15432
|
+
path: z.ZodString;
|
|
15433
|
+
revision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15434
|
+
_id: z.ZodString;
|
|
15435
|
+
path: z.ZodString;
|
|
15436
|
+
body: z.ZodString;
|
|
15437
|
+
format: z.ZodDefault<z.ZodString>;
|
|
15438
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15439
|
+
_id: z.ZodString;
|
|
15440
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15441
|
+
username: z.ZodString;
|
|
15442
|
+
name: z.ZodString;
|
|
15443
|
+
email: z.ZodString;
|
|
15444
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15445
|
+
createdAt: z.ZodString;
|
|
15446
|
+
}, z.core.$strip>>>;
|
|
15447
|
+
createdAt: z.ZodString;
|
|
15448
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
15449
|
+
toc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15450
|
+
level: z.ZodNumber;
|
|
15451
|
+
text: z.ZodString;
|
|
15452
|
+
anchorId: z.ZodString;
|
|
15453
|
+
}, z.core.$strip>>>;
|
|
15454
|
+
wikiLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15455
|
+
raw: z.ZodString;
|
|
15456
|
+
target: z.ZodString;
|
|
15457
|
+
displayText: z.ZodOptional<z.ZodString>;
|
|
15458
|
+
}, z.core.$strip>>>;
|
|
15459
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15460
|
+
username: z.ZodString;
|
|
15461
|
+
}, z.core.$strip>>>;
|
|
15462
|
+
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15463
|
+
}, z.core.$strip>>;
|
|
15464
|
+
renderedAst: z.ZodOptional<z.ZodUnknown>;
|
|
15465
|
+
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
15466
|
+
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15467
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
15468
|
+
snapshot: "snapshot";
|
|
15469
|
+
incremental: "incremental";
|
|
15470
|
+
}>>;
|
|
15471
|
+
savedBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15472
|
+
_id: z.ZodString;
|
|
15473
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15474
|
+
username: z.ZodString;
|
|
15475
|
+
name: z.ZodString;
|
|
15476
|
+
email: z.ZodString;
|
|
15477
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15478
|
+
createdAt: z.ZodString;
|
|
15479
|
+
}, z.core.$strip>]>>>;
|
|
15480
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15481
|
+
_id: z.ZodString;
|
|
15482
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15483
|
+
username: z.ZodString;
|
|
15484
|
+
name: z.ZodString;
|
|
15485
|
+
email: z.ZodString;
|
|
15486
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15487
|
+
createdAt: z.ZodString;
|
|
15488
|
+
}, z.core.$strip>]>>>;
|
|
15489
|
+
message: z.ZodOptional<z.ZodString>;
|
|
15490
|
+
editVia: z.ZodOptional<z.ZodEnum<{
|
|
15491
|
+
web: "web";
|
|
15492
|
+
oauth: "oauth";
|
|
15493
|
+
pat: "pat";
|
|
15494
|
+
}>>;
|
|
15495
|
+
}, z.core.$strip>]>>;
|
|
15496
|
+
redirectTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15497
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15498
|
+
deprecated: "deprecated";
|
|
15499
|
+
wip: "wip";
|
|
15500
|
+
published: "published";
|
|
15501
|
+
deleted: "deleted";
|
|
15502
|
+
draft: "draft";
|
|
15503
|
+
}>>>;
|
|
15504
|
+
grant: z.ZodOptional<z.ZodNumber>;
|
|
15505
|
+
grantedUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15506
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15507
|
+
_id: z.ZodString;
|
|
15508
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15509
|
+
username: z.ZodString;
|
|
15510
|
+
name: z.ZodString;
|
|
15511
|
+
email: z.ZodString;
|
|
15512
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15513
|
+
createdAt: z.ZodString;
|
|
15514
|
+
}, z.core.$strip>]>>>;
|
|
15515
|
+
lastUpdateUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
15516
|
+
_id: z.ZodString;
|
|
15517
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15518
|
+
username: z.ZodString;
|
|
15519
|
+
name: z.ZodString;
|
|
15520
|
+
email: z.ZodString;
|
|
15521
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15522
|
+
createdAt: z.ZodString;
|
|
15523
|
+
}, z.core.$strip>]>>>;
|
|
15524
|
+
liker: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15525
|
+
commentCount: z.ZodDefault<z.ZodNumber>;
|
|
15526
|
+
extended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15527
|
+
createdAt: z.ZodString;
|
|
15528
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15529
|
+
currentRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15530
|
+
yjsCheckpointAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15531
|
+
latestRevision: z.ZodOptional<z.ZodString>;
|
|
15532
|
+
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
15533
|
+
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
15534
|
+
}, z.core.$strip>>>;
|
|
15027
15535
|
}, z.core.$strip>;
|
|
15028
15536
|
};
|
|
15029
15537
|
};
|
|
@@ -16310,11 +16818,204 @@ declare const pageRoutes: {
|
|
|
16310
16818
|
};
|
|
16311
16819
|
};
|
|
16312
16820
|
} & {
|
|
16313
|
-
getRoutingPath(): "/pages/watch";
|
|
16821
|
+
getRoutingPath(): "/pages/watch";
|
|
16822
|
+
};
|
|
16823
|
+
deletePageRoute: {
|
|
16824
|
+
method: "delete";
|
|
16825
|
+
path: "/pages";
|
|
16826
|
+
tags: string[];
|
|
16827
|
+
security: {
|
|
16828
|
+
bearerAuth: never[];
|
|
16829
|
+
}[];
|
|
16830
|
+
summary: string;
|
|
16831
|
+
request: {
|
|
16832
|
+
body: {
|
|
16833
|
+
content: {
|
|
16834
|
+
'application/json': {
|
|
16835
|
+
schema: z.ZodObject<{
|
|
16836
|
+
page_id: z.ZodString;
|
|
16837
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
16838
|
+
completely: z.ZodOptional<z.ZodBoolean>;
|
|
16839
|
+
}, z.core.$strip>;
|
|
16840
|
+
};
|
|
16841
|
+
};
|
|
16842
|
+
};
|
|
16843
|
+
};
|
|
16844
|
+
responses: {
|
|
16845
|
+
200: {
|
|
16846
|
+
description: string;
|
|
16847
|
+
content: {
|
|
16848
|
+
'application/json': {
|
|
16849
|
+
schema: z.ZodObject<{
|
|
16850
|
+
page: z.ZodObject<{
|
|
16851
|
+
_id: z.ZodString;
|
|
16852
|
+
path: z.ZodString;
|
|
16853
|
+
revision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16854
|
+
_id: z.ZodString;
|
|
16855
|
+
path: z.ZodString;
|
|
16856
|
+
body: z.ZodString;
|
|
16857
|
+
format: z.ZodDefault<z.ZodString>;
|
|
16858
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16859
|
+
_id: z.ZodString;
|
|
16860
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16861
|
+
username: z.ZodString;
|
|
16862
|
+
name: z.ZodString;
|
|
16863
|
+
email: z.ZodString;
|
|
16864
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16865
|
+
createdAt: z.ZodString;
|
|
16866
|
+
}, z.core.$strip>>>;
|
|
16867
|
+
createdAt: z.ZodString;
|
|
16868
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
16869
|
+
toc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16870
|
+
level: z.ZodNumber;
|
|
16871
|
+
text: z.ZodString;
|
|
16872
|
+
anchorId: z.ZodString;
|
|
16873
|
+
}, z.core.$strip>>>;
|
|
16874
|
+
wikiLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16875
|
+
raw: z.ZodString;
|
|
16876
|
+
target: z.ZodString;
|
|
16877
|
+
displayText: z.ZodOptional<z.ZodString>;
|
|
16878
|
+
}, z.core.$strip>>>;
|
|
16879
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16880
|
+
username: z.ZodString;
|
|
16881
|
+
}, z.core.$strip>>>;
|
|
16882
|
+
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16883
|
+
}, z.core.$strip>>;
|
|
16884
|
+
renderedAst: z.ZodOptional<z.ZodUnknown>;
|
|
16885
|
+
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
16886
|
+
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16887
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
16888
|
+
snapshot: "snapshot";
|
|
16889
|
+
incremental: "incremental";
|
|
16890
|
+
}>>;
|
|
16891
|
+
savedBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16892
|
+
_id: z.ZodString;
|
|
16893
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16894
|
+
username: z.ZodString;
|
|
16895
|
+
name: z.ZodString;
|
|
16896
|
+
email: z.ZodString;
|
|
16897
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16898
|
+
createdAt: z.ZodString;
|
|
16899
|
+
}, z.core.$strip>]>>>;
|
|
16900
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16901
|
+
_id: z.ZodString;
|
|
16902
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16903
|
+
username: z.ZodString;
|
|
16904
|
+
name: z.ZodString;
|
|
16905
|
+
email: z.ZodString;
|
|
16906
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16907
|
+
createdAt: z.ZodString;
|
|
16908
|
+
}, z.core.$strip>]>>>;
|
|
16909
|
+
message: z.ZodOptional<z.ZodString>;
|
|
16910
|
+
editVia: z.ZodOptional<z.ZodEnum<{
|
|
16911
|
+
web: "web";
|
|
16912
|
+
oauth: "oauth";
|
|
16913
|
+
pat: "pat";
|
|
16914
|
+
}>>;
|
|
16915
|
+
}, z.core.$strip>]>>;
|
|
16916
|
+
redirectTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16917
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16918
|
+
deprecated: "deprecated";
|
|
16919
|
+
wip: "wip";
|
|
16920
|
+
published: "published";
|
|
16921
|
+
deleted: "deleted";
|
|
16922
|
+
draft: "draft";
|
|
16923
|
+
}>>>;
|
|
16924
|
+
grant: z.ZodOptional<z.ZodNumber>;
|
|
16925
|
+
grantedUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16926
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16927
|
+
_id: z.ZodString;
|
|
16928
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16929
|
+
username: z.ZodString;
|
|
16930
|
+
name: z.ZodString;
|
|
16931
|
+
email: z.ZodString;
|
|
16932
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16933
|
+
createdAt: z.ZodString;
|
|
16934
|
+
}, z.core.$strip>]>>>;
|
|
16935
|
+
lastUpdateUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
16936
|
+
_id: z.ZodString;
|
|
16937
|
+
id: z.ZodOptional<z.ZodString>;
|
|
16938
|
+
username: z.ZodString;
|
|
16939
|
+
name: z.ZodString;
|
|
16940
|
+
email: z.ZodString;
|
|
16941
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16942
|
+
createdAt: z.ZodString;
|
|
16943
|
+
}, z.core.$strip>]>>>;
|
|
16944
|
+
liker: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16945
|
+
commentCount: z.ZodDefault<z.ZodNumber>;
|
|
16946
|
+
extended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16947
|
+
createdAt: z.ZodString;
|
|
16948
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16949
|
+
currentRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16950
|
+
yjsCheckpointAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16951
|
+
latestRevision: z.ZodOptional<z.ZodString>;
|
|
16952
|
+
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
16953
|
+
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
16954
|
+
}, z.core.$strip>;
|
|
16955
|
+
}, z.core.$strip>;
|
|
16956
|
+
};
|
|
16957
|
+
};
|
|
16958
|
+
};
|
|
16959
|
+
400: {
|
|
16960
|
+
description: string;
|
|
16961
|
+
content: {
|
|
16962
|
+
'application/json': {
|
|
16963
|
+
schema: z.ZodObject<{
|
|
16964
|
+
error: z.ZodObject<{
|
|
16965
|
+
code: z.ZodString;
|
|
16966
|
+
message: z.ZodString;
|
|
16967
|
+
}, z.core.$strip>;
|
|
16968
|
+
}, z.core.$strip>;
|
|
16969
|
+
};
|
|
16970
|
+
};
|
|
16971
|
+
};
|
|
16972
|
+
401: {
|
|
16973
|
+
description: string;
|
|
16974
|
+
content: {
|
|
16975
|
+
'application/json': {
|
|
16976
|
+
schema: z.ZodObject<{
|
|
16977
|
+
error: z.ZodObject<{
|
|
16978
|
+
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
16979
|
+
message: z.ZodLiteral<"Authentication is required">;
|
|
16980
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
16981
|
+
}, z.core.$strip>;
|
|
16982
|
+
}, z.core.$strip>;
|
|
16983
|
+
};
|
|
16984
|
+
};
|
|
16985
|
+
};
|
|
16986
|
+
404: {
|
|
16987
|
+
description: string;
|
|
16988
|
+
content: {
|
|
16989
|
+
'application/json': {
|
|
16990
|
+
schema: z.ZodObject<{
|
|
16991
|
+
error: z.ZodObject<{
|
|
16992
|
+
code: z.ZodLiteral<"PAGE_NOT_FOUND">;
|
|
16993
|
+
message: z.ZodLiteral<"Page not found">;
|
|
16994
|
+
}, z.core.$strip>;
|
|
16995
|
+
}, z.core.$strip>;
|
|
16996
|
+
};
|
|
16997
|
+
};
|
|
16998
|
+
};
|
|
16999
|
+
409: {
|
|
17000
|
+
description: string;
|
|
17001
|
+
content: {
|
|
17002
|
+
'application/json': {
|
|
17003
|
+
schema: z.ZodObject<{
|
|
17004
|
+
error: z.ZodObject<{
|
|
17005
|
+
code: z.ZodLiteral<"PAGE_REVISION_ERROR">;
|
|
17006
|
+
message: z.ZodString;
|
|
17007
|
+
}, z.core.$strip>;
|
|
17008
|
+
}, z.core.$strip>;
|
|
17009
|
+
};
|
|
17010
|
+
};
|
|
17011
|
+
};
|
|
17012
|
+
};
|
|
17013
|
+
} & {
|
|
17014
|
+
getRoutingPath(): "/pages";
|
|
16314
17015
|
};
|
|
16315
|
-
|
|
16316
|
-
method: "
|
|
16317
|
-
path: "/pages";
|
|
17016
|
+
revertDeletedPageRoute: {
|
|
17017
|
+
method: "post";
|
|
17018
|
+
path: "/pages/revert";
|
|
16318
17019
|
tags: string[];
|
|
16319
17020
|
security: {
|
|
16320
17021
|
bearerAuth: never[];
|
|
@@ -16326,8 +17027,6 @@ declare const pageRoutes: {
|
|
|
16326
17027
|
'application/json': {
|
|
16327
17028
|
schema: z.ZodObject<{
|
|
16328
17029
|
page_id: z.ZodString;
|
|
16329
|
-
revision_id: z.ZodOptional<z.ZodString>;
|
|
16330
|
-
completely: z.ZodOptional<z.ZodBoolean>;
|
|
16331
17030
|
}, z.core.$strip>;
|
|
16332
17031
|
};
|
|
16333
17032
|
};
|
|
@@ -16488,26 +17187,13 @@ declare const pageRoutes: {
|
|
|
16488
17187
|
};
|
|
16489
17188
|
};
|
|
16490
17189
|
};
|
|
16491
|
-
409: {
|
|
16492
|
-
description: string;
|
|
16493
|
-
content: {
|
|
16494
|
-
'application/json': {
|
|
16495
|
-
schema: z.ZodObject<{
|
|
16496
|
-
error: z.ZodObject<{
|
|
16497
|
-
code: z.ZodLiteral<"PAGE_REVISION_ERROR">;
|
|
16498
|
-
message: z.ZodString;
|
|
16499
|
-
}, z.core.$strip>;
|
|
16500
|
-
}, z.core.$strip>;
|
|
16501
|
-
};
|
|
16502
|
-
};
|
|
16503
|
-
};
|
|
16504
17190
|
};
|
|
16505
17191
|
} & {
|
|
16506
|
-
getRoutingPath(): "/pages";
|
|
17192
|
+
getRoutingPath(): "/pages/revert";
|
|
16507
17193
|
};
|
|
16508
|
-
|
|
17194
|
+
revertToRevisionRoute: {
|
|
16509
17195
|
method: "post";
|
|
16510
|
-
path: "/pages/revert";
|
|
17196
|
+
path: "/pages/revert-to-revision";
|
|
16511
17197
|
tags: string[];
|
|
16512
17198
|
security: {
|
|
16513
17199
|
bearerAuth: never[];
|
|
@@ -16519,6 +17205,7 @@ declare const pageRoutes: {
|
|
|
16519
17205
|
'application/json': {
|
|
16520
17206
|
schema: z.ZodObject<{
|
|
16521
17207
|
page_id: z.ZodString;
|
|
17208
|
+
revision_id: z.ZodString;
|
|
16522
17209
|
}, z.core.$strip>;
|
|
16523
17210
|
};
|
|
16524
17211
|
};
|
|
@@ -16681,7 +17368,7 @@ declare const pageRoutes: {
|
|
|
16681
17368
|
};
|
|
16682
17369
|
};
|
|
16683
17370
|
} & {
|
|
16684
|
-
getRoutingPath(): "/pages/revert";
|
|
17371
|
+
getRoutingPath(): "/pages/revert-to-revision";
|
|
16685
17372
|
};
|
|
16686
17373
|
renamePageRoute: {
|
|
16687
17374
|
method: "post";
|
|
@@ -25088,11 +25775,243 @@ declare const makeAdminRoute: {
|
|
|
25088
25775
|
};
|
|
25089
25776
|
};
|
|
25090
25777
|
} & {
|
|
25091
|
-
getRoutingPath(): "/admin/users/:id/admin";
|
|
25778
|
+
getRoutingPath(): "/admin/users/:id/admin";
|
|
25779
|
+
};
|
|
25780
|
+
declare const removeFromAdminRoute: {
|
|
25781
|
+
method: "delete";
|
|
25782
|
+
path: "/admin/users/{id}/admin";
|
|
25783
|
+
tags: string[];
|
|
25784
|
+
security: {
|
|
25785
|
+
bearerAuth: never[];
|
|
25786
|
+
}[];
|
|
25787
|
+
summary: string;
|
|
25788
|
+
request: {
|
|
25789
|
+
params: z.ZodObject<{
|
|
25790
|
+
id: z.ZodString;
|
|
25791
|
+
}, z.core.$strip>;
|
|
25792
|
+
};
|
|
25793
|
+
responses: {
|
|
25794
|
+
200: {
|
|
25795
|
+
description: string;
|
|
25796
|
+
content: {
|
|
25797
|
+
'application/json': {
|
|
25798
|
+
schema: z.ZodObject<{
|
|
25799
|
+
user: z.ZodObject<{
|
|
25800
|
+
_id: z.ZodString;
|
|
25801
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25802
|
+
username: z.ZodString;
|
|
25803
|
+
name: z.ZodString;
|
|
25804
|
+
email: z.ZodString;
|
|
25805
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25806
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
25807
|
+
createdAt: z.ZodString;
|
|
25808
|
+
admin: z.ZodOptional<z.ZodBoolean>;
|
|
25809
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
25810
|
+
readonly REGISTERED: 1;
|
|
25811
|
+
readonly ACTIVE: 2;
|
|
25812
|
+
readonly SUSPENDED: 3;
|
|
25813
|
+
readonly DELETED: 4;
|
|
25814
|
+
readonly INVITED: 5;
|
|
25815
|
+
}>>;
|
|
25816
|
+
}, z.core.$strip>;
|
|
25817
|
+
}, z.core.$strip>;
|
|
25818
|
+
};
|
|
25819
|
+
};
|
|
25820
|
+
};
|
|
25821
|
+
400: {
|
|
25822
|
+
description: string;
|
|
25823
|
+
content: {
|
|
25824
|
+
'application/json': {
|
|
25825
|
+
schema: z.ZodObject<{
|
|
25826
|
+
error: z.ZodObject<{
|
|
25827
|
+
code: z.ZodLiteral<"VALIDATION_ERROR">;
|
|
25828
|
+
message: z.ZodString;
|
|
25829
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
25830
|
+
fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
25831
|
+
formErrors: z.ZodArray<z.ZodString>;
|
|
25832
|
+
}, z.core.$strip>>;
|
|
25833
|
+
}, z.core.$strip>;
|
|
25834
|
+
}, z.core.$strip>;
|
|
25835
|
+
};
|
|
25836
|
+
};
|
|
25837
|
+
};
|
|
25838
|
+
401: {
|
|
25839
|
+
description: string;
|
|
25840
|
+
content: {
|
|
25841
|
+
'application/json': {
|
|
25842
|
+
schema: z.ZodObject<{
|
|
25843
|
+
error: z.ZodObject<{
|
|
25844
|
+
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
25845
|
+
message: z.ZodLiteral<"Authentication is required">;
|
|
25846
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25847
|
+
}, z.core.$strip>;
|
|
25848
|
+
}, z.core.$strip>;
|
|
25849
|
+
};
|
|
25850
|
+
};
|
|
25851
|
+
};
|
|
25852
|
+
403: {
|
|
25853
|
+
description: string;
|
|
25854
|
+
content: {
|
|
25855
|
+
'application/json': {
|
|
25856
|
+
schema: z.ZodObject<{
|
|
25857
|
+
error: z.ZodObject<{
|
|
25858
|
+
code: z.ZodLiteral<"ADMIN_REQUIRED">;
|
|
25859
|
+
message: z.ZodLiteral<"Admin permission required">;
|
|
25860
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25861
|
+
}, z.core.$strip>;
|
|
25862
|
+
}, z.core.$strip>;
|
|
25863
|
+
};
|
|
25864
|
+
};
|
|
25865
|
+
};
|
|
25866
|
+
404: {
|
|
25867
|
+
description: string;
|
|
25868
|
+
content: {
|
|
25869
|
+
'application/json': {
|
|
25870
|
+
schema: z.ZodObject<{
|
|
25871
|
+
error: z.ZodObject<{
|
|
25872
|
+
code: z.ZodLiteral<"NOT_FOUND">;
|
|
25873
|
+
message: z.ZodString;
|
|
25874
|
+
}, z.core.$strip>;
|
|
25875
|
+
}, z.core.$strip>;
|
|
25876
|
+
};
|
|
25877
|
+
};
|
|
25878
|
+
};
|
|
25879
|
+
500: {
|
|
25880
|
+
description: string;
|
|
25881
|
+
content: {
|
|
25882
|
+
'application/json': {
|
|
25883
|
+
schema: z.ZodObject<{
|
|
25884
|
+
error: z.ZodObject<{
|
|
25885
|
+
code: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
25886
|
+
message: z.ZodLiteral<"Internal server error">;
|
|
25887
|
+
}, z.core.$strip>;
|
|
25888
|
+
}, z.core.$strip>;
|
|
25889
|
+
};
|
|
25890
|
+
};
|
|
25891
|
+
};
|
|
25892
|
+
};
|
|
25893
|
+
} & {
|
|
25894
|
+
getRoutingPath(): "/admin/users/:id/admin";
|
|
25895
|
+
};
|
|
25896
|
+
declare const activateUserRoute: {
|
|
25897
|
+
method: "put";
|
|
25898
|
+
path: "/admin/users/{id}/status/active";
|
|
25899
|
+
tags: string[];
|
|
25900
|
+
security: {
|
|
25901
|
+
bearerAuth: never[];
|
|
25902
|
+
}[];
|
|
25903
|
+
summary: string;
|
|
25904
|
+
request: {
|
|
25905
|
+
params: z.ZodObject<{
|
|
25906
|
+
id: z.ZodString;
|
|
25907
|
+
}, z.core.$strip>;
|
|
25908
|
+
};
|
|
25909
|
+
responses: {
|
|
25910
|
+
200: {
|
|
25911
|
+
description: string;
|
|
25912
|
+
content: {
|
|
25913
|
+
'application/json': {
|
|
25914
|
+
schema: z.ZodObject<{
|
|
25915
|
+
user: z.ZodObject<{
|
|
25916
|
+
_id: z.ZodString;
|
|
25917
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25918
|
+
username: z.ZodString;
|
|
25919
|
+
name: z.ZodString;
|
|
25920
|
+
email: z.ZodString;
|
|
25921
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25922
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
25923
|
+
createdAt: z.ZodString;
|
|
25924
|
+
admin: z.ZodOptional<z.ZodBoolean>;
|
|
25925
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
25926
|
+
readonly REGISTERED: 1;
|
|
25927
|
+
readonly ACTIVE: 2;
|
|
25928
|
+
readonly SUSPENDED: 3;
|
|
25929
|
+
readonly DELETED: 4;
|
|
25930
|
+
readonly INVITED: 5;
|
|
25931
|
+
}>>;
|
|
25932
|
+
}, z.core.$strip>;
|
|
25933
|
+
}, z.core.$strip>;
|
|
25934
|
+
};
|
|
25935
|
+
};
|
|
25936
|
+
};
|
|
25937
|
+
400: {
|
|
25938
|
+
description: string;
|
|
25939
|
+
content: {
|
|
25940
|
+
'application/json': {
|
|
25941
|
+
schema: z.ZodObject<{
|
|
25942
|
+
error: z.ZodObject<{
|
|
25943
|
+
code: z.ZodLiteral<"VALIDATION_ERROR">;
|
|
25944
|
+
message: z.ZodString;
|
|
25945
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
25946
|
+
fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
25947
|
+
formErrors: z.ZodArray<z.ZodString>;
|
|
25948
|
+
}, z.core.$strip>>;
|
|
25949
|
+
}, z.core.$strip>;
|
|
25950
|
+
}, z.core.$strip>;
|
|
25951
|
+
};
|
|
25952
|
+
};
|
|
25953
|
+
};
|
|
25954
|
+
401: {
|
|
25955
|
+
description: string;
|
|
25956
|
+
content: {
|
|
25957
|
+
'application/json': {
|
|
25958
|
+
schema: z.ZodObject<{
|
|
25959
|
+
error: z.ZodObject<{
|
|
25960
|
+
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
25961
|
+
message: z.ZodLiteral<"Authentication is required">;
|
|
25962
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25963
|
+
}, z.core.$strip>;
|
|
25964
|
+
}, z.core.$strip>;
|
|
25965
|
+
};
|
|
25966
|
+
};
|
|
25967
|
+
};
|
|
25968
|
+
403: {
|
|
25969
|
+
description: string;
|
|
25970
|
+
content: {
|
|
25971
|
+
'application/json': {
|
|
25972
|
+
schema: z.ZodObject<{
|
|
25973
|
+
error: z.ZodObject<{
|
|
25974
|
+
code: z.ZodLiteral<"ADMIN_REQUIRED">;
|
|
25975
|
+
message: z.ZodLiteral<"Admin permission required">;
|
|
25976
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25977
|
+
}, z.core.$strip>;
|
|
25978
|
+
}, z.core.$strip>;
|
|
25979
|
+
};
|
|
25980
|
+
};
|
|
25981
|
+
};
|
|
25982
|
+
404: {
|
|
25983
|
+
description: string;
|
|
25984
|
+
content: {
|
|
25985
|
+
'application/json': {
|
|
25986
|
+
schema: z.ZodObject<{
|
|
25987
|
+
error: z.ZodObject<{
|
|
25988
|
+
code: z.ZodLiteral<"NOT_FOUND">;
|
|
25989
|
+
message: z.ZodString;
|
|
25990
|
+
}, z.core.$strip>;
|
|
25991
|
+
}, z.core.$strip>;
|
|
25992
|
+
};
|
|
25993
|
+
};
|
|
25994
|
+
};
|
|
25995
|
+
500: {
|
|
25996
|
+
description: string;
|
|
25997
|
+
content: {
|
|
25998
|
+
'application/json': {
|
|
25999
|
+
schema: z.ZodObject<{
|
|
26000
|
+
error: z.ZodObject<{
|
|
26001
|
+
code: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
26002
|
+
message: z.ZodLiteral<"Internal server error">;
|
|
26003
|
+
}, z.core.$strip>;
|
|
26004
|
+
}, z.core.$strip>;
|
|
26005
|
+
};
|
|
26006
|
+
};
|
|
26007
|
+
};
|
|
26008
|
+
};
|
|
26009
|
+
} & {
|
|
26010
|
+
getRoutingPath(): "/admin/users/:id/status/active";
|
|
25092
26011
|
};
|
|
25093
|
-
declare const
|
|
25094
|
-
method: "
|
|
25095
|
-
path: "/admin/users/{id}/
|
|
26012
|
+
declare const suspendUserRoute: {
|
|
26013
|
+
method: "put";
|
|
26014
|
+
path: "/admin/users/{id}/status/suspended";
|
|
25096
26015
|
tags: string[];
|
|
25097
26016
|
security: {
|
|
25098
26017
|
bearerAuth: never[];
|
|
@@ -25204,11 +26123,11 @@ declare const removeFromAdminRoute: {
|
|
|
25204
26123
|
};
|
|
25205
26124
|
};
|
|
25206
26125
|
} & {
|
|
25207
|
-
getRoutingPath(): "/admin/users/:id/
|
|
26126
|
+
getRoutingPath(): "/admin/users/:id/status/suspended";
|
|
25208
26127
|
};
|
|
25209
|
-
declare const
|
|
25210
|
-
method: "
|
|
25211
|
-
path: "/admin/users/{id}/
|
|
26128
|
+
declare const resetPasswordRoute: {
|
|
26129
|
+
method: "post";
|
|
26130
|
+
path: "/admin/users/{id}/reset-password";
|
|
25212
26131
|
tags: string[];
|
|
25213
26132
|
security: {
|
|
25214
26133
|
bearerAuth: never[];
|
|
@@ -25243,6 +26162,7 @@ declare const activateUserRoute: {
|
|
|
25243
26162
|
readonly INVITED: 5;
|
|
25244
26163
|
}>>;
|
|
25245
26164
|
}, z.core.$strip>;
|
|
26165
|
+
newPassword: z.ZodString;
|
|
25246
26166
|
}, z.core.$strip>;
|
|
25247
26167
|
};
|
|
25248
26168
|
};
|
|
@@ -25320,11 +26240,11 @@ declare const activateUserRoute: {
|
|
|
25320
26240
|
};
|
|
25321
26241
|
};
|
|
25322
26242
|
} & {
|
|
25323
|
-
getRoutingPath(): "/admin/users/:id/
|
|
26243
|
+
getRoutingPath(): "/admin/users/:id/reset-password";
|
|
25324
26244
|
};
|
|
25325
|
-
declare const
|
|
25326
|
-
method: "
|
|
25327
|
-
path: "/admin/users/{id}/
|
|
26245
|
+
declare const resendInviteRoute: {
|
|
26246
|
+
method: "post";
|
|
26247
|
+
path: "/admin/users/{id}/resend-invite";
|
|
25328
26248
|
tags: string[];
|
|
25329
26249
|
security: {
|
|
25330
26250
|
bearerAuth: never[];
|
|
@@ -25421,117 +26341,13 @@ declare const suspendUserRoute: {
|
|
|
25421
26341
|
};
|
|
25422
26342
|
};
|
|
25423
26343
|
};
|
|
25424
|
-
|
|
25425
|
-
description: string;
|
|
25426
|
-
content: {
|
|
25427
|
-
'application/json': {
|
|
25428
|
-
schema: z.ZodObject<{
|
|
25429
|
-
error: z.ZodObject<{
|
|
25430
|
-
code: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
25431
|
-
message: z.ZodLiteral<"Internal server error">;
|
|
25432
|
-
}, z.core.$strip>;
|
|
25433
|
-
}, z.core.$strip>;
|
|
25434
|
-
};
|
|
25435
|
-
};
|
|
25436
|
-
};
|
|
25437
|
-
};
|
|
25438
|
-
} & {
|
|
25439
|
-
getRoutingPath(): "/admin/users/:id/status/suspended";
|
|
25440
|
-
};
|
|
25441
|
-
declare const resetPasswordRoute: {
|
|
25442
|
-
method: "post";
|
|
25443
|
-
path: "/admin/users/{id}/reset-password";
|
|
25444
|
-
tags: string[];
|
|
25445
|
-
security: {
|
|
25446
|
-
bearerAuth: never[];
|
|
25447
|
-
}[];
|
|
25448
|
-
summary: string;
|
|
25449
|
-
request: {
|
|
25450
|
-
params: z.ZodObject<{
|
|
25451
|
-
id: z.ZodString;
|
|
25452
|
-
}, z.core.$strip>;
|
|
25453
|
-
};
|
|
25454
|
-
responses: {
|
|
25455
|
-
200: {
|
|
25456
|
-
description: string;
|
|
25457
|
-
content: {
|
|
25458
|
-
'application/json': {
|
|
25459
|
-
schema: z.ZodObject<{
|
|
25460
|
-
user: z.ZodObject<{
|
|
25461
|
-
_id: z.ZodString;
|
|
25462
|
-
id: z.ZodOptional<z.ZodString>;
|
|
25463
|
-
username: z.ZodString;
|
|
25464
|
-
name: z.ZodString;
|
|
25465
|
-
email: z.ZodString;
|
|
25466
|
-
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25467
|
-
introduction: z.ZodOptional<z.ZodString>;
|
|
25468
|
-
createdAt: z.ZodString;
|
|
25469
|
-
admin: z.ZodOptional<z.ZodBoolean>;
|
|
25470
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
25471
|
-
readonly REGISTERED: 1;
|
|
25472
|
-
readonly ACTIVE: 2;
|
|
25473
|
-
readonly SUSPENDED: 3;
|
|
25474
|
-
readonly DELETED: 4;
|
|
25475
|
-
readonly INVITED: 5;
|
|
25476
|
-
}>>;
|
|
25477
|
-
}, z.core.$strip>;
|
|
25478
|
-
newPassword: z.ZodString;
|
|
25479
|
-
}, z.core.$strip>;
|
|
25480
|
-
};
|
|
25481
|
-
};
|
|
25482
|
-
};
|
|
25483
|
-
400: {
|
|
25484
|
-
description: string;
|
|
25485
|
-
content: {
|
|
25486
|
-
'application/json': {
|
|
25487
|
-
schema: z.ZodObject<{
|
|
25488
|
-
error: z.ZodObject<{
|
|
25489
|
-
code: z.ZodLiteral<"VALIDATION_ERROR">;
|
|
25490
|
-
message: z.ZodString;
|
|
25491
|
-
details: z.ZodOptional<z.ZodObject<{
|
|
25492
|
-
fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
25493
|
-
formErrors: z.ZodArray<z.ZodString>;
|
|
25494
|
-
}, z.core.$strip>>;
|
|
25495
|
-
}, z.core.$strip>;
|
|
25496
|
-
}, z.core.$strip>;
|
|
25497
|
-
};
|
|
25498
|
-
};
|
|
25499
|
-
};
|
|
25500
|
-
401: {
|
|
25501
|
-
description: string;
|
|
25502
|
-
content: {
|
|
25503
|
-
'application/json': {
|
|
25504
|
-
schema: z.ZodObject<{
|
|
25505
|
-
error: z.ZodObject<{
|
|
25506
|
-
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
25507
|
-
message: z.ZodLiteral<"Authentication is required">;
|
|
25508
|
-
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25509
|
-
}, z.core.$strip>;
|
|
25510
|
-
}, z.core.$strip>;
|
|
25511
|
-
};
|
|
25512
|
-
};
|
|
25513
|
-
};
|
|
25514
|
-
403: {
|
|
25515
|
-
description: string;
|
|
25516
|
-
content: {
|
|
25517
|
-
'application/json': {
|
|
25518
|
-
schema: z.ZodObject<{
|
|
25519
|
-
error: z.ZodObject<{
|
|
25520
|
-
code: z.ZodLiteral<"ADMIN_REQUIRED">;
|
|
25521
|
-
message: z.ZodLiteral<"Admin permission required">;
|
|
25522
|
-
redirectTo: z.ZodOptional<z.ZodString>;
|
|
25523
|
-
}, z.core.$strip>;
|
|
25524
|
-
}, z.core.$strip>;
|
|
25525
|
-
};
|
|
25526
|
-
};
|
|
25527
|
-
};
|
|
25528
|
-
404: {
|
|
26344
|
+
409: {
|
|
25529
26345
|
description: string;
|
|
25530
26346
|
content: {
|
|
25531
26347
|
'application/json': {
|
|
25532
26348
|
schema: z.ZodObject<{
|
|
25533
26349
|
error: z.ZodObject<{
|
|
25534
|
-
code: z.ZodLiteral<"
|
|
26350
|
+
code: z.ZodLiteral<"CONFLICT">;
|
|
25535
26351
|
message: z.ZodString;
|
|
25536
26352
|
}, z.core.$strip>;
|
|
25537
26353
|
}, z.core.$strip>;
|
|
@@ -25553,7 +26369,7 @@ declare const resetPasswordRoute: {
|
|
|
25553
26369
|
};
|
|
25554
26370
|
};
|
|
25555
26371
|
} & {
|
|
25556
|
-
getRoutingPath(): "/admin/users/:id/
|
|
26372
|
+
getRoutingPath(): "/admin/users/:id/resend-invite";
|
|
25557
26373
|
};
|
|
25558
26374
|
declare const updateUserEmailRoute: {
|
|
25559
26375
|
method: "put";
|
|
@@ -26878,6 +27694,135 @@ declare const adminUsersRoutes: {
|
|
|
26878
27694
|
} & {
|
|
26879
27695
|
getRoutingPath(): "/admin/users/:id/reset-password";
|
|
26880
27696
|
};
|
|
27697
|
+
resendInviteRoute: {
|
|
27698
|
+
method: "post";
|
|
27699
|
+
path: "/admin/users/{id}/resend-invite";
|
|
27700
|
+
tags: string[];
|
|
27701
|
+
security: {
|
|
27702
|
+
bearerAuth: never[];
|
|
27703
|
+
}[];
|
|
27704
|
+
summary: string;
|
|
27705
|
+
request: {
|
|
27706
|
+
params: z.ZodObject<{
|
|
27707
|
+
id: z.ZodString;
|
|
27708
|
+
}, z.core.$strip>;
|
|
27709
|
+
};
|
|
27710
|
+
responses: {
|
|
27711
|
+
200: {
|
|
27712
|
+
description: string;
|
|
27713
|
+
content: {
|
|
27714
|
+
'application/json': {
|
|
27715
|
+
schema: z.ZodObject<{
|
|
27716
|
+
user: z.ZodObject<{
|
|
27717
|
+
_id: z.ZodString;
|
|
27718
|
+
id: z.ZodOptional<z.ZodString>;
|
|
27719
|
+
username: z.ZodString;
|
|
27720
|
+
name: z.ZodString;
|
|
27721
|
+
email: z.ZodString;
|
|
27722
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27723
|
+
introduction: z.ZodOptional<z.ZodString>;
|
|
27724
|
+
createdAt: z.ZodString;
|
|
27725
|
+
admin: z.ZodOptional<z.ZodBoolean>;
|
|
27726
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
27727
|
+
readonly REGISTERED: 1;
|
|
27728
|
+
readonly ACTIVE: 2;
|
|
27729
|
+
readonly SUSPENDED: 3;
|
|
27730
|
+
readonly DELETED: 4;
|
|
27731
|
+
readonly INVITED: 5;
|
|
27732
|
+
}>>;
|
|
27733
|
+
}, z.core.$strip>;
|
|
27734
|
+
}, z.core.$strip>;
|
|
27735
|
+
};
|
|
27736
|
+
};
|
|
27737
|
+
};
|
|
27738
|
+
400: {
|
|
27739
|
+
description: string;
|
|
27740
|
+
content: {
|
|
27741
|
+
'application/json': {
|
|
27742
|
+
schema: z.ZodObject<{
|
|
27743
|
+
error: z.ZodObject<{
|
|
27744
|
+
code: z.ZodLiteral<"VALIDATION_ERROR">;
|
|
27745
|
+
message: z.ZodString;
|
|
27746
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
27747
|
+
fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
27748
|
+
formErrors: z.ZodArray<z.ZodString>;
|
|
27749
|
+
}, z.core.$strip>>;
|
|
27750
|
+
}, z.core.$strip>;
|
|
27751
|
+
}, z.core.$strip>;
|
|
27752
|
+
};
|
|
27753
|
+
};
|
|
27754
|
+
};
|
|
27755
|
+
401: {
|
|
27756
|
+
description: string;
|
|
27757
|
+
content: {
|
|
27758
|
+
'application/json': {
|
|
27759
|
+
schema: z.ZodObject<{
|
|
27760
|
+
error: z.ZodObject<{
|
|
27761
|
+
code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
|
|
27762
|
+
message: z.ZodLiteral<"Authentication is required">;
|
|
27763
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
27764
|
+
}, z.core.$strip>;
|
|
27765
|
+
}, z.core.$strip>;
|
|
27766
|
+
};
|
|
27767
|
+
};
|
|
27768
|
+
};
|
|
27769
|
+
403: {
|
|
27770
|
+
description: string;
|
|
27771
|
+
content: {
|
|
27772
|
+
'application/json': {
|
|
27773
|
+
schema: z.ZodObject<{
|
|
27774
|
+
error: z.ZodObject<{
|
|
27775
|
+
code: z.ZodLiteral<"ADMIN_REQUIRED">;
|
|
27776
|
+
message: z.ZodLiteral<"Admin permission required">;
|
|
27777
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
27778
|
+
}, z.core.$strip>;
|
|
27779
|
+
}, z.core.$strip>;
|
|
27780
|
+
};
|
|
27781
|
+
};
|
|
27782
|
+
};
|
|
27783
|
+
404: {
|
|
27784
|
+
description: string;
|
|
27785
|
+
content: {
|
|
27786
|
+
'application/json': {
|
|
27787
|
+
schema: z.ZodObject<{
|
|
27788
|
+
error: z.ZodObject<{
|
|
27789
|
+
code: z.ZodLiteral<"NOT_FOUND">;
|
|
27790
|
+
message: z.ZodString;
|
|
27791
|
+
}, z.core.$strip>;
|
|
27792
|
+
}, z.core.$strip>;
|
|
27793
|
+
};
|
|
27794
|
+
};
|
|
27795
|
+
};
|
|
27796
|
+
409: {
|
|
27797
|
+
description: string;
|
|
27798
|
+
content: {
|
|
27799
|
+
'application/json': {
|
|
27800
|
+
schema: z.ZodObject<{
|
|
27801
|
+
error: z.ZodObject<{
|
|
27802
|
+
code: z.ZodLiteral<"CONFLICT">;
|
|
27803
|
+
message: z.ZodString;
|
|
27804
|
+
}, z.core.$strip>;
|
|
27805
|
+
}, z.core.$strip>;
|
|
27806
|
+
};
|
|
27807
|
+
};
|
|
27808
|
+
};
|
|
27809
|
+
500: {
|
|
27810
|
+
description: string;
|
|
27811
|
+
content: {
|
|
27812
|
+
'application/json': {
|
|
27813
|
+
schema: z.ZodObject<{
|
|
27814
|
+
error: z.ZodObject<{
|
|
27815
|
+
code: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
27816
|
+
message: z.ZodLiteral<"Internal server error">;
|
|
27817
|
+
}, z.core.$strip>;
|
|
27818
|
+
}, z.core.$strip>;
|
|
27819
|
+
};
|
|
27820
|
+
};
|
|
27821
|
+
};
|
|
27822
|
+
};
|
|
27823
|
+
} & {
|
|
27824
|
+
getRoutingPath(): "/admin/users/:id/resend-invite";
|
|
27825
|
+
};
|
|
26881
27826
|
updateUserEmailRoute: {
|
|
26882
27827
|
method: "put";
|
|
26883
27828
|
path: "/admin/users/{id}/email";
|
|
@@ -27201,6 +28146,10 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27201
28146
|
output: {
|
|
27202
28147
|
title: string | null;
|
|
27203
28148
|
confidential: string | null;
|
|
28149
|
+
version: string;
|
|
28150
|
+
apiVersion: string;
|
|
28151
|
+
capabilities: string[];
|
|
28152
|
+
canSelfRegister: boolean;
|
|
27204
28153
|
};
|
|
27205
28154
|
outputFormat: "json";
|
|
27206
28155
|
status: 200;
|
|
@@ -27344,7 +28293,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27344
28293
|
};
|
|
27345
28294
|
output: {
|
|
27346
28295
|
error: {
|
|
27347
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28296
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27348
28297
|
message: string;
|
|
27349
28298
|
details?: any;
|
|
27350
28299
|
};
|
|
@@ -27360,7 +28309,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27360
28309
|
};
|
|
27361
28310
|
output: {
|
|
27362
28311
|
error: {
|
|
27363
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28312
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27364
28313
|
message: string;
|
|
27365
28314
|
details?: any;
|
|
27366
28315
|
};
|
|
@@ -27415,7 +28364,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27415
28364
|
};
|
|
27416
28365
|
output: {
|
|
27417
28366
|
error: {
|
|
27418
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28367
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27419
28368
|
message: string;
|
|
27420
28369
|
details?: any;
|
|
27421
28370
|
};
|
|
@@ -27465,7 +28414,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27465
28414
|
};
|
|
27466
28415
|
output: {
|
|
27467
28416
|
error: {
|
|
27468
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28417
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27469
28418
|
message: string;
|
|
27470
28419
|
details?: any;
|
|
27471
28420
|
};
|
|
@@ -27483,7 +28432,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27483
28432
|
};
|
|
27484
28433
|
output: {
|
|
27485
28434
|
error: {
|
|
27486
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28435
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27487
28436
|
message: string;
|
|
27488
28437
|
details?: any;
|
|
27489
28438
|
};
|
|
@@ -27516,7 +28465,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27516
28465
|
};
|
|
27517
28466
|
output: {
|
|
27518
28467
|
error: {
|
|
27519
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28468
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27520
28469
|
message: string;
|
|
27521
28470
|
details?: any;
|
|
27522
28471
|
};
|
|
@@ -27531,7 +28480,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27531
28480
|
};
|
|
27532
28481
|
output: {
|
|
27533
28482
|
error: {
|
|
27534
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28483
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27535
28484
|
message: string;
|
|
27536
28485
|
details?: any;
|
|
27537
28486
|
};
|
|
@@ -27605,7 +28554,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27605
28554
|
};
|
|
27606
28555
|
output: {
|
|
27607
28556
|
error: {
|
|
27608
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28557
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27609
28558
|
message: string;
|
|
27610
28559
|
details?: any;
|
|
27611
28560
|
};
|
|
@@ -27623,7 +28572,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27623
28572
|
};
|
|
27624
28573
|
output: {
|
|
27625
28574
|
error: {
|
|
27626
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28575
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27627
28576
|
message: string;
|
|
27628
28577
|
details?: any;
|
|
27629
28578
|
};
|
|
@@ -27641,7 +28590,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27641
28590
|
};
|
|
27642
28591
|
output: {
|
|
27643
28592
|
error: {
|
|
27644
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28593
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27645
28594
|
message: string;
|
|
27646
28595
|
details?: any;
|
|
27647
28596
|
};
|
|
@@ -27659,7 +28608,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27659
28608
|
};
|
|
27660
28609
|
output: {
|
|
27661
28610
|
error: {
|
|
27662
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28611
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27663
28612
|
message: string;
|
|
27664
28613
|
details?: any;
|
|
27665
28614
|
};
|
|
@@ -27692,7 +28641,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27692
28641
|
};
|
|
27693
28642
|
output: {
|
|
27694
28643
|
error: {
|
|
27695
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28644
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27696
28645
|
message: string;
|
|
27697
28646
|
details?: any;
|
|
27698
28647
|
};
|
|
@@ -27736,7 +28685,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27736
28685
|
};
|
|
27737
28686
|
output: {
|
|
27738
28687
|
error: {
|
|
27739
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28688
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27740
28689
|
message: string;
|
|
27741
28690
|
details?: any;
|
|
27742
28691
|
};
|
|
@@ -27804,7 +28753,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27804
28753
|
};
|
|
27805
28754
|
output: {
|
|
27806
28755
|
error: {
|
|
27807
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28756
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27808
28757
|
message: string;
|
|
27809
28758
|
details?: any;
|
|
27810
28759
|
};
|
|
@@ -27820,7 +28769,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27820
28769
|
};
|
|
27821
28770
|
output: {
|
|
27822
28771
|
error: {
|
|
27823
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28772
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27824
28773
|
message: string;
|
|
27825
28774
|
details?: any;
|
|
27826
28775
|
};
|
|
@@ -27836,7 +28785,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27836
28785
|
};
|
|
27837
28786
|
output: {
|
|
27838
28787
|
error: {
|
|
27839
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28788
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27840
28789
|
message: string;
|
|
27841
28790
|
details?: any;
|
|
27842
28791
|
};
|
|
@@ -27869,7 +28818,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27869
28818
|
};
|
|
27870
28819
|
output: {
|
|
27871
28820
|
error: {
|
|
27872
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28821
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27873
28822
|
message: string;
|
|
27874
28823
|
details?: any;
|
|
27875
28824
|
};
|
|
@@ -27934,7 +28883,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27934
28883
|
};
|
|
27935
28884
|
output: {
|
|
27936
28885
|
error: {
|
|
27937
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28886
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27938
28887
|
message: string;
|
|
27939
28888
|
details?: any;
|
|
27940
28889
|
};
|
|
@@ -27949,7 +28898,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27949
28898
|
};
|
|
27950
28899
|
output: {
|
|
27951
28900
|
error: {
|
|
27952
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28901
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27953
28902
|
message: string;
|
|
27954
28903
|
details?: any;
|
|
27955
28904
|
};
|
|
@@ -27982,7 +28931,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
27982
28931
|
};
|
|
27983
28932
|
output: {
|
|
27984
28933
|
error: {
|
|
27985
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28934
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
27986
28935
|
message: string;
|
|
27987
28936
|
details?: any;
|
|
27988
28937
|
};
|
|
@@ -28027,7 +28976,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28027
28976
|
};
|
|
28028
28977
|
output: {
|
|
28029
28978
|
error: {
|
|
28030
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28979
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28031
28980
|
message: string;
|
|
28032
28981
|
details?: any;
|
|
28033
28982
|
};
|
|
@@ -28042,7 +28991,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28042
28991
|
};
|
|
28043
28992
|
output: {
|
|
28044
28993
|
error: {
|
|
28045
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28994
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28046
28995
|
message: string;
|
|
28047
28996
|
details?: any;
|
|
28048
28997
|
};
|
|
@@ -28057,7 +29006,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28057
29006
|
};
|
|
28058
29007
|
output: {
|
|
28059
29008
|
error: {
|
|
28060
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
29009
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28061
29010
|
message: string;
|
|
28062
29011
|
details?: any;
|
|
28063
29012
|
};
|
|
@@ -28123,7 +29072,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28123
29072
|
};
|
|
28124
29073
|
output: {
|
|
28125
29074
|
error: {
|
|
28126
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
29075
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28127
29076
|
message: string;
|
|
28128
29077
|
details?: any;
|
|
28129
29078
|
};
|
|
@@ -28138,7 +29087,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28138
29087
|
};
|
|
28139
29088
|
output: {
|
|
28140
29089
|
error: {
|
|
28141
|
-
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
29090
|
+
code: "AUTHENTICATION_REQUIRED" | "ADMIN_REQUIRED" | "THIRD_PARTY_AUTH_REQUIRED" | "USER_REGISTERED" | "USER_SUSPENDED" | "USER_INVITED" | "USER_NOT_ACTIVE" | "EMAIL_NOT_CONFIRMED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INVALID_REQUEST" | "NOT_FOUND" | "CONFLICT" | "SERVICE_UNAVAILABLE" | "APPLICATION_NOT_INSTALLED" | "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "PAGE_NOT_GRANTED" | "PAGE_REVISION_ERROR" | "PAGE_TWIN_EXISTS" | "INVALID_GRANT" | "COMMENT_NOT_FOUND" | "NOTIFICATION_NOT_FOUND" | "USER_NOT_FOUND" | "USER_EXISTS" | "USERNAME_TAKEN" | "EMAIL_TAKEN" | "EMAIL_NOT_ALLOWED" | "INVALID_ACTIVATION_TOKEN" | "INVALID_INVITE_TOKEN" | "INVITE_ALREADY_ACCEPTED" | "INVALID_RESET_TOKEN" | "INVALID_EMAIL_CHANGE_TOKEN" | "INVALID_CREDENTIALS" | "REFRESH_TOKEN_REQUIRED" | "REGISTRATION_CLOSED" | "ENCRYPTION_NOT_CONFIGURED" | "MAIL_TEST_FAILED" | "PLUGIN_NOT_FOUND" | "PLUGIN_CONFIG_VALIDATION_FAILED";
|
|
28142
29091
|
message: string;
|
|
28143
29092
|
details?: any;
|
|
28144
29093
|
};
|
|
@@ -28909,7 +29858,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
28909
29858
|
image?: string | null | undefined;
|
|
28910
29859
|
introduction?: string | undefined;
|
|
28911
29860
|
admin?: boolean | undefined;
|
|
28912
|
-
status?:
|
|
29861
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
28913
29862
|
};
|
|
28914
29863
|
createdPagesCount: number;
|
|
28915
29864
|
bookmarksCount: number;
|
|
@@ -29113,7 +30062,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
29113
30062
|
image?: string | null | undefined;
|
|
29114
30063
|
introduction?: string | undefined;
|
|
29115
30064
|
admin?: boolean | undefined;
|
|
29116
|
-
status?:
|
|
30065
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
29117
30066
|
};
|
|
29118
30067
|
createdAt: string;
|
|
29119
30068
|
}[] | undefined;
|
|
@@ -29314,7 +30263,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
29314
30263
|
image?: string | null | undefined;
|
|
29315
30264
|
introduction?: string | undefined;
|
|
29316
30265
|
admin?: boolean | undefined;
|
|
29317
|
-
status?:
|
|
30266
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
29318
30267
|
};
|
|
29319
30268
|
createdAt: string;
|
|
29320
30269
|
}[];
|
|
@@ -29712,7 +30661,7 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
29712
30661
|
image?: string | null | undefined;
|
|
29713
30662
|
introduction?: string | undefined;
|
|
29714
30663
|
admin?: boolean | undefined;
|
|
29715
|
-
status?:
|
|
30664
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
29716
30665
|
};
|
|
29717
30666
|
createdAt: string;
|
|
29718
30667
|
} | null;
|
|
@@ -29882,7 +30831,7 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
29882
30831
|
image?: string | null | undefined;
|
|
29883
30832
|
introduction?: string | undefined;
|
|
29884
30833
|
admin?: boolean | undefined;
|
|
29885
|
-
status?:
|
|
30834
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
29886
30835
|
};
|
|
29887
30836
|
createdAt: string;
|
|
29888
30837
|
}[];
|
|
@@ -30041,7 +30990,7 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
30041
30990
|
image?: string | null | undefined;
|
|
30042
30991
|
introduction?: string | undefined;
|
|
30043
30992
|
admin?: boolean | undefined;
|
|
30044
|
-
status?:
|
|
30993
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
30045
30994
|
};
|
|
30046
30995
|
createdAt: string;
|
|
30047
30996
|
} | null;
|
|
@@ -30185,7 +31134,7 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
30185
31134
|
image?: string | null | undefined;
|
|
30186
31135
|
introduction?: string | undefined;
|
|
30187
31136
|
admin?: boolean | undefined;
|
|
30188
|
-
status?:
|
|
31137
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
30189
31138
|
} | null | undefined;
|
|
30190
31139
|
};
|
|
30191
31140
|
updatedAt: string;
|
|
@@ -30936,6 +31885,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
30936
31885
|
include_deleted?: unknown;
|
|
30937
31886
|
sort?: "path" | "createdAt" | "updatedAt" | undefined;
|
|
30938
31887
|
order?: "asc" | "desc" | undefined;
|
|
31888
|
+
revision_id?: string | undefined;
|
|
30939
31889
|
};
|
|
30940
31890
|
};
|
|
30941
31891
|
output: {
|
|
@@ -30957,6 +31907,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
30957
31907
|
include_deleted?: unknown;
|
|
30958
31908
|
sort?: "path" | "createdAt" | "updatedAt" | undefined;
|
|
30959
31909
|
order?: "asc" | "desc" | undefined;
|
|
31910
|
+
revision_id?: string | undefined;
|
|
30960
31911
|
};
|
|
30961
31912
|
};
|
|
30962
31913
|
output: {
|
|
@@ -31153,6 +32104,100 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
31153
32104
|
likerCount?: number | undefined;
|
|
31154
32105
|
seenUsersCount?: number | undefined;
|
|
31155
32106
|
} | null | undefined;
|
|
32107
|
+
contentPage?: {
|
|
32108
|
+
_id: string;
|
|
32109
|
+
path: string;
|
|
32110
|
+
commentCount: number;
|
|
32111
|
+
createdAt: string;
|
|
32112
|
+
revision?: string | {
|
|
32113
|
+
_id: string;
|
|
32114
|
+
path: string;
|
|
32115
|
+
body: string;
|
|
32116
|
+
format: string;
|
|
32117
|
+
createdAt: string;
|
|
32118
|
+
author?: {
|
|
32119
|
+
_id: string;
|
|
32120
|
+
username: string;
|
|
32121
|
+
name: string;
|
|
32122
|
+
email: string;
|
|
32123
|
+
createdAt: string;
|
|
32124
|
+
id?: string | undefined;
|
|
32125
|
+
image?: string | null | undefined;
|
|
32126
|
+
} | null | undefined;
|
|
32127
|
+
meta?: {
|
|
32128
|
+
toc?: {
|
|
32129
|
+
level: number;
|
|
32130
|
+
text: string;
|
|
32131
|
+
anchorId: string;
|
|
32132
|
+
}[] | undefined;
|
|
32133
|
+
wikiLinks?: {
|
|
32134
|
+
raw: string;
|
|
32135
|
+
target: string;
|
|
32136
|
+
displayText?: string | undefined;
|
|
32137
|
+
}[] | undefined;
|
|
32138
|
+
mentions?: {
|
|
32139
|
+
username: string;
|
|
32140
|
+
}[] | undefined;
|
|
32141
|
+
codeBlockLanguages?: string[] | undefined;
|
|
32142
|
+
} | undefined;
|
|
32143
|
+
renderedAst?: hono_utils_types.JSONValue | undefined;
|
|
32144
|
+
rendererVersion?: string | undefined;
|
|
32145
|
+
parentRevisionId?: string | null | undefined;
|
|
32146
|
+
type?: "snapshot" | "incremental" | undefined;
|
|
32147
|
+
savedBy?: string | {
|
|
32148
|
+
_id: string;
|
|
32149
|
+
username: string;
|
|
32150
|
+
name: string;
|
|
32151
|
+
email: string;
|
|
32152
|
+
createdAt: string;
|
|
32153
|
+
id?: string | undefined;
|
|
32154
|
+
image?: string | null | undefined;
|
|
32155
|
+
} | null | undefined;
|
|
32156
|
+
contributors?: (string | {
|
|
32157
|
+
_id: string;
|
|
32158
|
+
username: string;
|
|
32159
|
+
name: string;
|
|
32160
|
+
email: string;
|
|
32161
|
+
createdAt: string;
|
|
32162
|
+
id?: string | undefined;
|
|
32163
|
+
image?: string | null | undefined;
|
|
32164
|
+
})[] | undefined;
|
|
32165
|
+
message?: string | undefined;
|
|
32166
|
+
editVia?: "web" | "oauth" | "pat" | undefined;
|
|
32167
|
+
} | undefined;
|
|
32168
|
+
redirectTo?: string | null | undefined;
|
|
32169
|
+
status?: "deprecated" | "wip" | "published" | "deleted" | "draft" | null | undefined;
|
|
32170
|
+
grant?: number | undefined;
|
|
32171
|
+
grantedUsers?: string[] | undefined;
|
|
32172
|
+
creator?: string | {
|
|
32173
|
+
_id: string;
|
|
32174
|
+
username: string;
|
|
32175
|
+
name: string;
|
|
32176
|
+
email: string;
|
|
32177
|
+
createdAt: string;
|
|
32178
|
+
id?: string | undefined;
|
|
32179
|
+
image?: string | null | undefined;
|
|
32180
|
+
} | null | undefined;
|
|
32181
|
+
lastUpdateUser?: string | {
|
|
32182
|
+
_id: string;
|
|
32183
|
+
username: string;
|
|
32184
|
+
name: string;
|
|
32185
|
+
email: string;
|
|
32186
|
+
createdAt: string;
|
|
32187
|
+
id?: string | undefined;
|
|
32188
|
+
image?: string | null | undefined;
|
|
32189
|
+
} | null | undefined;
|
|
32190
|
+
liker?: string[] | undefined;
|
|
32191
|
+
extended?: {
|
|
32192
|
+
[x: string]: any;
|
|
32193
|
+
} | undefined;
|
|
32194
|
+
updatedAt?: string | undefined;
|
|
32195
|
+
currentRevision?: string | null | undefined;
|
|
32196
|
+
yjsCheckpointAt?: string | null | undefined;
|
|
32197
|
+
latestRevision?: string | undefined;
|
|
32198
|
+
likerCount?: number | undefined;
|
|
32199
|
+
seenUsersCount?: number | undefined;
|
|
32200
|
+
} | null | undefined;
|
|
31156
32201
|
};
|
|
31157
32202
|
outputFormat: "json";
|
|
31158
32203
|
status: 200;
|
|
@@ -31734,7 +32779,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
31734
32779
|
image?: string | null | undefined;
|
|
31735
32780
|
introduction?: string | undefined;
|
|
31736
32781
|
admin?: boolean | undefined;
|
|
31737
|
-
status?:
|
|
32782
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
31738
32783
|
}[];
|
|
31739
32784
|
seenUsersCount: number;
|
|
31740
32785
|
};
|
|
@@ -31808,7 +32853,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
31808
32853
|
image?: string | null | undefined;
|
|
31809
32854
|
introduction?: string | undefined;
|
|
31810
32855
|
admin?: boolean | undefined;
|
|
31811
|
-
status?:
|
|
32856
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
31812
32857
|
}[];
|
|
31813
32858
|
seenUsersCount: number;
|
|
31814
32859
|
};
|
|
@@ -32383,8 +33428,175 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
32383
33428
|
input: {
|
|
32384
33429
|
json: {
|
|
32385
33430
|
page_id: string;
|
|
32386
|
-
revision_id?: string | undefined;
|
|
32387
|
-
completely?: boolean | undefined;
|
|
33431
|
+
revision_id?: string | undefined;
|
|
33432
|
+
completely?: boolean | undefined;
|
|
33433
|
+
};
|
|
33434
|
+
};
|
|
33435
|
+
output: {
|
|
33436
|
+
error: {
|
|
33437
|
+
code: string;
|
|
33438
|
+
message: string;
|
|
33439
|
+
};
|
|
33440
|
+
};
|
|
33441
|
+
outputFormat: "json";
|
|
33442
|
+
status: 400;
|
|
33443
|
+
} | {
|
|
33444
|
+
input: {
|
|
33445
|
+
json: {
|
|
33446
|
+
page_id: string;
|
|
33447
|
+
revision_id?: string | undefined;
|
|
33448
|
+
completely?: boolean | undefined;
|
|
33449
|
+
};
|
|
33450
|
+
};
|
|
33451
|
+
output: {
|
|
33452
|
+
error: {
|
|
33453
|
+
code: "PAGE_REVISION_ERROR";
|
|
33454
|
+
message: string;
|
|
33455
|
+
};
|
|
33456
|
+
};
|
|
33457
|
+
outputFormat: "json";
|
|
33458
|
+
status: 409;
|
|
33459
|
+
};
|
|
33460
|
+
};
|
|
33461
|
+
} & {
|
|
33462
|
+
"/pages/revert": {
|
|
33463
|
+
$post: {
|
|
33464
|
+
input: {
|
|
33465
|
+
json: {
|
|
33466
|
+
page_id: string;
|
|
33467
|
+
};
|
|
33468
|
+
};
|
|
33469
|
+
output: {
|
|
33470
|
+
error: {
|
|
33471
|
+
code: "AUTHENTICATION_REQUIRED";
|
|
33472
|
+
message: "Authentication is required";
|
|
33473
|
+
redirectTo?: string | undefined;
|
|
33474
|
+
};
|
|
33475
|
+
};
|
|
33476
|
+
outputFormat: "json";
|
|
33477
|
+
status: 401;
|
|
33478
|
+
} | {
|
|
33479
|
+
input: {
|
|
33480
|
+
json: {
|
|
33481
|
+
page_id: string;
|
|
33482
|
+
};
|
|
33483
|
+
};
|
|
33484
|
+
output: {
|
|
33485
|
+
error: {
|
|
33486
|
+
code: "PAGE_NOT_FOUND";
|
|
33487
|
+
message: "Page not found";
|
|
33488
|
+
};
|
|
33489
|
+
};
|
|
33490
|
+
outputFormat: "json";
|
|
33491
|
+
status: 404;
|
|
33492
|
+
} | {
|
|
33493
|
+
input: {
|
|
33494
|
+
json: {
|
|
33495
|
+
page_id: string;
|
|
33496
|
+
};
|
|
33497
|
+
};
|
|
33498
|
+
output: {
|
|
33499
|
+
page: {
|
|
33500
|
+
_id: string;
|
|
33501
|
+
path: string;
|
|
33502
|
+
commentCount: number;
|
|
33503
|
+
createdAt: string;
|
|
33504
|
+
revision?: string | {
|
|
33505
|
+
_id: string;
|
|
33506
|
+
path: string;
|
|
33507
|
+
body: string;
|
|
33508
|
+
format: string;
|
|
33509
|
+
createdAt: string;
|
|
33510
|
+
author?: {
|
|
33511
|
+
_id: string;
|
|
33512
|
+
username: string;
|
|
33513
|
+
name: string;
|
|
33514
|
+
email: string;
|
|
33515
|
+
createdAt: string;
|
|
33516
|
+
id?: string | undefined;
|
|
33517
|
+
image?: string | null | undefined;
|
|
33518
|
+
} | null | undefined;
|
|
33519
|
+
meta?: {
|
|
33520
|
+
toc?: {
|
|
33521
|
+
level: number;
|
|
33522
|
+
text: string;
|
|
33523
|
+
anchorId: string;
|
|
33524
|
+
}[] | undefined;
|
|
33525
|
+
wikiLinks?: {
|
|
33526
|
+
raw: string;
|
|
33527
|
+
target: string;
|
|
33528
|
+
displayText?: string | undefined;
|
|
33529
|
+
}[] | undefined;
|
|
33530
|
+
mentions?: {
|
|
33531
|
+
username: string;
|
|
33532
|
+
}[] | undefined;
|
|
33533
|
+
codeBlockLanguages?: string[] | undefined;
|
|
33534
|
+
} | undefined;
|
|
33535
|
+
renderedAst?: hono_utils_types.JSONValue | undefined;
|
|
33536
|
+
rendererVersion?: string | undefined;
|
|
33537
|
+
parentRevisionId?: string | null | undefined;
|
|
33538
|
+
type?: "snapshot" | "incremental" | undefined;
|
|
33539
|
+
savedBy?: string | {
|
|
33540
|
+
_id: string;
|
|
33541
|
+
username: string;
|
|
33542
|
+
name: string;
|
|
33543
|
+
email: string;
|
|
33544
|
+
createdAt: string;
|
|
33545
|
+
id?: string | undefined;
|
|
33546
|
+
image?: string | null | undefined;
|
|
33547
|
+
} | null | undefined;
|
|
33548
|
+
contributors?: (string | {
|
|
33549
|
+
_id: string;
|
|
33550
|
+
username: string;
|
|
33551
|
+
name: string;
|
|
33552
|
+
email: string;
|
|
33553
|
+
createdAt: string;
|
|
33554
|
+
id?: string | undefined;
|
|
33555
|
+
image?: string | null | undefined;
|
|
33556
|
+
})[] | undefined;
|
|
33557
|
+
message?: string | undefined;
|
|
33558
|
+
editVia?: "web" | "oauth" | "pat" | undefined;
|
|
33559
|
+
} | undefined;
|
|
33560
|
+
redirectTo?: string | null | undefined;
|
|
33561
|
+
status?: "deprecated" | "wip" | "published" | "deleted" | "draft" | null | undefined;
|
|
33562
|
+
grant?: number | undefined;
|
|
33563
|
+
grantedUsers?: string[] | undefined;
|
|
33564
|
+
creator?: string | {
|
|
33565
|
+
_id: string;
|
|
33566
|
+
username: string;
|
|
33567
|
+
name: string;
|
|
33568
|
+
email: string;
|
|
33569
|
+
createdAt: string;
|
|
33570
|
+
id?: string | undefined;
|
|
33571
|
+
image?: string | null | undefined;
|
|
33572
|
+
} | null | undefined;
|
|
33573
|
+
lastUpdateUser?: string | {
|
|
33574
|
+
_id: string;
|
|
33575
|
+
username: string;
|
|
33576
|
+
name: string;
|
|
33577
|
+
email: string;
|
|
33578
|
+
createdAt: string;
|
|
33579
|
+
id?: string | undefined;
|
|
33580
|
+
image?: string | null | undefined;
|
|
33581
|
+
} | null | undefined;
|
|
33582
|
+
liker?: string[] | undefined;
|
|
33583
|
+
extended?: {
|
|
33584
|
+
[x: string]: any;
|
|
33585
|
+
} | undefined;
|
|
33586
|
+
updatedAt?: string | undefined;
|
|
33587
|
+
currentRevision?: string | null | undefined;
|
|
33588
|
+
yjsCheckpointAt?: string | null | undefined;
|
|
33589
|
+
latestRevision?: string | undefined;
|
|
33590
|
+
likerCount?: number | undefined;
|
|
33591
|
+
seenUsersCount?: number | undefined;
|
|
33592
|
+
};
|
|
33593
|
+
};
|
|
33594
|
+
outputFormat: "json";
|
|
33595
|
+
status: 200;
|
|
33596
|
+
} | {
|
|
33597
|
+
input: {
|
|
33598
|
+
json: {
|
|
33599
|
+
page_id: string;
|
|
32388
33600
|
};
|
|
32389
33601
|
};
|
|
32390
33602
|
output: {
|
|
@@ -32395,30 +33607,15 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
32395
33607
|
};
|
|
32396
33608
|
outputFormat: "json";
|
|
32397
33609
|
status: 400;
|
|
32398
|
-
} | {
|
|
32399
|
-
input: {
|
|
32400
|
-
json: {
|
|
32401
|
-
page_id: string;
|
|
32402
|
-
revision_id?: string | undefined;
|
|
32403
|
-
completely?: boolean | undefined;
|
|
32404
|
-
};
|
|
32405
|
-
};
|
|
32406
|
-
output: {
|
|
32407
|
-
error: {
|
|
32408
|
-
code: "PAGE_REVISION_ERROR";
|
|
32409
|
-
message: string;
|
|
32410
|
-
};
|
|
32411
|
-
};
|
|
32412
|
-
outputFormat: "json";
|
|
32413
|
-
status: 409;
|
|
32414
33610
|
};
|
|
32415
33611
|
};
|
|
32416
33612
|
} & {
|
|
32417
|
-
"/pages/revert": {
|
|
33613
|
+
"/pages/revert-to-revision": {
|
|
32418
33614
|
$post: {
|
|
32419
33615
|
input: {
|
|
32420
33616
|
json: {
|
|
32421
33617
|
page_id: string;
|
|
33618
|
+
revision_id: string;
|
|
32422
33619
|
};
|
|
32423
33620
|
};
|
|
32424
33621
|
output: {
|
|
@@ -32434,6 +33631,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
32434
33631
|
input: {
|
|
32435
33632
|
json: {
|
|
32436
33633
|
page_id: string;
|
|
33634
|
+
revision_id: string;
|
|
32437
33635
|
};
|
|
32438
33636
|
};
|
|
32439
33637
|
output: {
|
|
@@ -32448,6 +33646,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
32448
33646
|
input: {
|
|
32449
33647
|
json: {
|
|
32450
33648
|
page_id: string;
|
|
33649
|
+
revision_id: string;
|
|
32451
33650
|
};
|
|
32452
33651
|
};
|
|
32453
33652
|
output: {
|
|
@@ -32552,6 +33751,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
32552
33751
|
input: {
|
|
32553
33752
|
json: {
|
|
32554
33753
|
page_id: string;
|
|
33754
|
+
revision_id: string;
|
|
32555
33755
|
};
|
|
32556
33756
|
};
|
|
32557
33757
|
output: {
|
|
@@ -33454,7 +34654,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33454
34654
|
image?: string | null | undefined;
|
|
33455
34655
|
introduction?: string | undefined;
|
|
33456
34656
|
admin?: boolean | undefined;
|
|
33457
|
-
status?:
|
|
34657
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33458
34658
|
};
|
|
33459
34659
|
filePath: string;
|
|
33460
34660
|
fileName: string;
|
|
@@ -33479,7 +34679,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33479
34679
|
image?: string | null | undefined;
|
|
33480
34680
|
introduction?: string | undefined;
|
|
33481
34681
|
admin?: boolean | undefined;
|
|
33482
|
-
status?:
|
|
34682
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33483
34683
|
};
|
|
33484
34684
|
filePath: string;
|
|
33485
34685
|
fileName: string;
|
|
@@ -33503,7 +34703,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33503
34703
|
image?: string | null | undefined;
|
|
33504
34704
|
introduction?: string | undefined;
|
|
33505
34705
|
admin?: boolean | undefined;
|
|
33506
|
-
status?:
|
|
34706
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33507
34707
|
};
|
|
33508
34708
|
}[];
|
|
33509
34709
|
}[];
|
|
@@ -33619,7 +34819,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33619
34819
|
image?: string | null | undefined;
|
|
33620
34820
|
introduction?: string | undefined;
|
|
33621
34821
|
admin?: boolean | undefined;
|
|
33622
|
-
status?:
|
|
34822
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33623
34823
|
};
|
|
33624
34824
|
filePath: string;
|
|
33625
34825
|
fileName: string;
|
|
@@ -33716,7 +34916,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33716
34916
|
image?: string | null | undefined;
|
|
33717
34917
|
introduction?: string | undefined;
|
|
33718
34918
|
admin?: boolean | undefined;
|
|
33719
|
-
status?:
|
|
34919
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33720
34920
|
};
|
|
33721
34921
|
filePath: string;
|
|
33722
34922
|
fileName: string;
|
|
@@ -33985,7 +35185,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
33985
35185
|
image?: string | null | undefined;
|
|
33986
35186
|
introduction?: string | undefined;
|
|
33987
35187
|
admin?: boolean | undefined;
|
|
33988
|
-
status?:
|
|
35188
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
33989
35189
|
};
|
|
33990
35190
|
page: string;
|
|
33991
35191
|
url: string;
|
|
@@ -34457,7 +35657,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
34457
35657
|
image?: string | null | undefined;
|
|
34458
35658
|
introduction?: string | undefined;
|
|
34459
35659
|
admin?: boolean | undefined;
|
|
34460
|
-
status?:
|
|
35660
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
34461
35661
|
}[];
|
|
34462
35662
|
createdAt: string;
|
|
34463
35663
|
}[];
|
|
@@ -34628,7 +35828,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
34628
35828
|
image?: string | null | undefined;
|
|
34629
35829
|
introduction?: string | undefined;
|
|
34630
35830
|
admin?: boolean | undefined;
|
|
34631
|
-
status?:
|
|
35831
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
34632
35832
|
}[];
|
|
34633
35833
|
createdAt: string;
|
|
34634
35834
|
};
|
|
@@ -35374,7 +36574,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
35374
36574
|
image?: string | null | undefined;
|
|
35375
36575
|
introduction?: string | undefined;
|
|
35376
36576
|
admin?: boolean | undefined;
|
|
35377
|
-
status?:
|
|
36577
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
35378
36578
|
}[];
|
|
35379
36579
|
pager: {
|
|
35380
36580
|
page: number;
|
|
@@ -35454,7 +36654,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
35454
36654
|
image?: string | null | undefined;
|
|
35455
36655
|
introduction?: string | undefined;
|
|
35456
36656
|
admin?: boolean | undefined;
|
|
35457
|
-
status?:
|
|
36657
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
35458
36658
|
}[];
|
|
35459
36659
|
};
|
|
35460
36660
|
outputFormat: "json";
|
|
@@ -35725,7 +36925,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
35725
36925
|
image?: string | null | undefined;
|
|
35726
36926
|
introduction?: string | undefined;
|
|
35727
36927
|
admin?: boolean | undefined;
|
|
35728
|
-
status?:
|
|
36928
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
35729
36929
|
};
|
|
35730
36930
|
};
|
|
35731
36931
|
outputFormat: "json";
|
|
@@ -35848,7 +37048,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
35848
37048
|
image?: string | null | undefined;
|
|
35849
37049
|
introduction?: string | undefined;
|
|
35850
37050
|
admin?: boolean | undefined;
|
|
35851
|
-
status?:
|
|
37051
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
35852
37052
|
};
|
|
35853
37053
|
};
|
|
35854
37054
|
outputFormat: "json";
|
|
@@ -35952,7 +37152,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
35952
37152
|
image?: string | null | undefined;
|
|
35953
37153
|
introduction?: string | undefined;
|
|
35954
37154
|
admin?: boolean | undefined;
|
|
35955
|
-
status?:
|
|
37155
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
35956
37156
|
};
|
|
35957
37157
|
};
|
|
35958
37158
|
outputFormat: "json";
|
|
@@ -36056,7 +37256,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
36056
37256
|
image?: string | null | undefined;
|
|
36057
37257
|
introduction?: string | undefined;
|
|
36058
37258
|
admin?: boolean | undefined;
|
|
36059
|
-
status?:
|
|
37259
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
36060
37260
|
};
|
|
36061
37261
|
};
|
|
36062
37262
|
outputFormat: "json";
|
|
@@ -36160,7 +37360,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
36160
37360
|
image?: string | null | undefined;
|
|
36161
37361
|
introduction?: string | undefined;
|
|
36162
37362
|
admin?: boolean | undefined;
|
|
36163
|
-
status?:
|
|
37363
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
36164
37364
|
};
|
|
36165
37365
|
};
|
|
36166
37366
|
outputFormat: "json";
|
|
@@ -36264,7 +37464,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
36264
37464
|
image?: string | null | undefined;
|
|
36265
37465
|
introduction?: string | undefined;
|
|
36266
37466
|
admin?: boolean | undefined;
|
|
36267
|
-
status?:
|
|
37467
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
36268
37468
|
};
|
|
36269
37469
|
newPassword: string;
|
|
36270
37470
|
};
|
|
@@ -36272,6 +37472,124 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
36272
37472
|
status: 200;
|
|
36273
37473
|
};
|
|
36274
37474
|
};
|
|
37475
|
+
} & {
|
|
37476
|
+
"/admin/users/:id/resend-invite": {
|
|
37477
|
+
$post: {
|
|
37478
|
+
input: {
|
|
37479
|
+
param: {
|
|
37480
|
+
id: string;
|
|
37481
|
+
};
|
|
37482
|
+
};
|
|
37483
|
+
output: {
|
|
37484
|
+
error: {
|
|
37485
|
+
code: "INTERNAL_ERROR";
|
|
37486
|
+
message: "Internal server error";
|
|
37487
|
+
};
|
|
37488
|
+
};
|
|
37489
|
+
outputFormat: "json";
|
|
37490
|
+
status: 500;
|
|
37491
|
+
} | {
|
|
37492
|
+
input: {
|
|
37493
|
+
param: {
|
|
37494
|
+
id: string;
|
|
37495
|
+
};
|
|
37496
|
+
};
|
|
37497
|
+
output: {
|
|
37498
|
+
error: {
|
|
37499
|
+
code: "AUTHENTICATION_REQUIRED";
|
|
37500
|
+
message: "Authentication is required";
|
|
37501
|
+
redirectTo?: string | undefined;
|
|
37502
|
+
};
|
|
37503
|
+
};
|
|
37504
|
+
outputFormat: "json";
|
|
37505
|
+
status: 401;
|
|
37506
|
+
} | {
|
|
37507
|
+
input: {
|
|
37508
|
+
param: {
|
|
37509
|
+
id: string;
|
|
37510
|
+
};
|
|
37511
|
+
};
|
|
37512
|
+
output: {
|
|
37513
|
+
error: {
|
|
37514
|
+
code: "NOT_FOUND";
|
|
37515
|
+
message: string;
|
|
37516
|
+
};
|
|
37517
|
+
};
|
|
37518
|
+
outputFormat: "json";
|
|
37519
|
+
status: 404;
|
|
37520
|
+
} | {
|
|
37521
|
+
input: {
|
|
37522
|
+
param: {
|
|
37523
|
+
id: string;
|
|
37524
|
+
};
|
|
37525
|
+
};
|
|
37526
|
+
output: {
|
|
37527
|
+
error: {
|
|
37528
|
+
code: "VALIDATION_ERROR";
|
|
37529
|
+
message: string;
|
|
37530
|
+
details?: {
|
|
37531
|
+
fieldErrors: {
|
|
37532
|
+
[x: string]: string[];
|
|
37533
|
+
};
|
|
37534
|
+
formErrors: string[];
|
|
37535
|
+
} | undefined;
|
|
37536
|
+
};
|
|
37537
|
+
};
|
|
37538
|
+
outputFormat: "json";
|
|
37539
|
+
status: 400;
|
|
37540
|
+
} | {
|
|
37541
|
+
input: {
|
|
37542
|
+
param: {
|
|
37543
|
+
id: string;
|
|
37544
|
+
};
|
|
37545
|
+
};
|
|
37546
|
+
output: {
|
|
37547
|
+
error: {
|
|
37548
|
+
code: "ADMIN_REQUIRED";
|
|
37549
|
+
message: "Admin permission required";
|
|
37550
|
+
redirectTo?: string | undefined;
|
|
37551
|
+
};
|
|
37552
|
+
};
|
|
37553
|
+
outputFormat: "json";
|
|
37554
|
+
status: 403;
|
|
37555
|
+
} | {
|
|
37556
|
+
input: {
|
|
37557
|
+
param: {
|
|
37558
|
+
id: string;
|
|
37559
|
+
};
|
|
37560
|
+
};
|
|
37561
|
+
output: {
|
|
37562
|
+
user: {
|
|
37563
|
+
_id: string;
|
|
37564
|
+
username: string;
|
|
37565
|
+
name: string;
|
|
37566
|
+
email: string;
|
|
37567
|
+
createdAt: string;
|
|
37568
|
+
id?: string | undefined;
|
|
37569
|
+
image?: string | null | undefined;
|
|
37570
|
+
introduction?: string | undefined;
|
|
37571
|
+
admin?: boolean | undefined;
|
|
37572
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
37573
|
+
};
|
|
37574
|
+
};
|
|
37575
|
+
outputFormat: "json";
|
|
37576
|
+
status: 200;
|
|
37577
|
+
} | {
|
|
37578
|
+
input: {
|
|
37579
|
+
param: {
|
|
37580
|
+
id: string;
|
|
37581
|
+
};
|
|
37582
|
+
};
|
|
37583
|
+
output: {
|
|
37584
|
+
error: {
|
|
37585
|
+
code: "CONFLICT";
|
|
37586
|
+
message: string;
|
|
37587
|
+
};
|
|
37588
|
+
};
|
|
37589
|
+
outputFormat: "json";
|
|
37590
|
+
status: 409;
|
|
37591
|
+
};
|
|
37592
|
+
};
|
|
36275
37593
|
} & {
|
|
36276
37594
|
"/admin/users/:id/email": {
|
|
36277
37595
|
$put: {
|
|
@@ -36393,7 +37711,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
|
|
|
36393
37711
|
image?: string | null | undefined;
|
|
36394
37712
|
introduction?: string | undefined;
|
|
36395
37713
|
admin?: boolean | undefined;
|
|
36396
|
-
status?:
|
|
37714
|
+
status?: 2 | 1 | 3 | 4 | 5 | undefined;
|
|
36397
37715
|
};
|
|
36398
37716
|
};
|
|
36399
37717
|
outputFormat: "json";
|
|
@@ -37315,13 +38633,73 @@ declare const createClient: (baseUrl: string, options?: ClientOptions) => CrowiA
|
|
|
37315
38633
|
* sets in admin (`app:confidential`). It is `null` when unset/empty; when
|
|
37316
38634
|
* present the web shell renders it as an always-on header banner so the
|
|
37317
38635
|
* notice shows on screenshots / printouts (corporate IT requirement).
|
|
38636
|
+
*
|
|
38637
|
+
* `version` is the running Crowi server version (the `@crowi/api` package
|
|
38638
|
+
* version). `apiVersion` is the API surface version (currently `"v2"`).
|
|
38639
|
+
* `capabilities` is a coarse list of subsystems the server exposes —
|
|
38640
|
+
* unconditionally-compiled features plus dynamically-detected ones
|
|
38641
|
+
* (e.g. `"search"` only when a search driver is active). Together these
|
|
38642
|
+
* three fields are the version-skew / feature-detection signal the
|
|
38643
|
+
* `@crowi/cli` end-user CLI reads from this public, unauthenticated
|
|
38644
|
+
* endpoint. The CLI parses them leniently: an older server that omits
|
|
38645
|
+
* them degrades to a static baseline with version-skew warnings
|
|
38646
|
+
* suppressed.
|
|
38647
|
+
*
|
|
38648
|
+
* `canSelfRegister` tells the unauthenticated login / register pages
|
|
38649
|
+
* whether self-service registration is open, so the web can hide the
|
|
38650
|
+
* `/register` form (and the login → register link) up front instead of
|
|
38651
|
+
* letting users fill the form and only learn it is closed on a 403. It is
|
|
38652
|
+
* `true` for the `Open` / `Restricted` registration modes and `false` for
|
|
38653
|
+
* `Closed` (invite-only). Only the boolean is exposed — the internal mode
|
|
38654
|
+
* string (whose stored value is the historical `Resricted` typo) is never
|
|
38655
|
+
* surfaced. The API still enforces the real guard (403
|
|
38656
|
+
* `REGISTRATION_CLOSED` on `POST /auth/register`); this flag is a UX hint
|
|
38657
|
+
* the front-end may fail-open on.
|
|
37318
38658
|
*/
|
|
37319
38659
|
declare const AppInfoResponseSchema: z.ZodObject<{
|
|
37320
38660
|
title: z.ZodNullable<z.ZodString>;
|
|
37321
38661
|
confidential: z.ZodNullable<z.ZodString>;
|
|
38662
|
+
version: z.ZodString;
|
|
38663
|
+
apiVersion: z.ZodString;
|
|
38664
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
38665
|
+
canSelfRegister: z.ZodBoolean;
|
|
37322
38666
|
}, z.core.$strip>;
|
|
37323
38667
|
type AppInfoResponse = z.infer<typeof AppInfoResponseSchema>;
|
|
37324
38668
|
|
|
38669
|
+
/**
|
|
38670
|
+
* The static capability baseline + API surface version advertised at
|
|
38671
|
+
* `GET /api/v2/app/info` and consumed by the `@crowi/cli` end-user CLI for
|
|
38672
|
+
* feature detection / version-skew warnings.
|
|
38673
|
+
*
|
|
38674
|
+
* These two values are deliberately shared between the API handler
|
|
38675
|
+
* (`packages/api/src/hono/handlers/app.ts`) and the CLI
|
|
38676
|
+
* (`packages/cli/src/lib/capability.ts`) so the "always-on" set and the
|
|
38677
|
+
* floor version can never drift apart silently. Dynamically-detected
|
|
38678
|
+
* capabilities (e.g. `search`, `collab`) are NOT listed here — the handler
|
|
38679
|
+
* appends those at runtime based on live server state.
|
|
38680
|
+
*
|
|
38681
|
+
* NOTE: this is the source of truth for the coarse *capability vocabulary*,
|
|
38682
|
+
* not for OAuth grant support itself — the canonical OAuth registry is
|
|
38683
|
+
* `GRANT_TYPES_SUPPORTED` (`schemas/oauth-endpoints.ts`) + the `S256` PKCE
|
|
38684
|
+
* method, surfaced by the RFC 8414 discovery document. The `oauth:*` tags
|
|
38685
|
+
* below mirror those from the CLI's angle and MUST be kept in sync with them
|
|
38686
|
+
* (e.g. if a grant is ever gated/removed, update both).
|
|
38687
|
+
*/
|
|
38688
|
+
/**
|
|
38689
|
+
* Subsystems unconditionally compiled into `@crowi/api`. An old CLI talking
|
|
38690
|
+
* to a new server, and a new CLI talking to a server that omits
|
|
38691
|
+
* `capabilities`, both degrade to this baseline. OAuth (RFC-0010) is fully
|
|
38692
|
+
* landed and the page / comment / bookmark / attachment / notification
|
|
38693
|
+
* handlers are always mounted, so these are always-on.
|
|
38694
|
+
*/
|
|
38695
|
+
declare const STATIC_CAPABILITIES: readonly ["oauth", "oauth:auth-code", "oauth:device", "oauth:pkce", "pat", "pages", "comments", "bookmarks", "attachments", "notifications"];
|
|
38696
|
+
/**
|
|
38697
|
+
* The API surface version advertised in `app/info.apiVersion` and the
|
|
38698
|
+
* version the CLI is built against (the "v2 floor"). A mismatch drives a
|
|
38699
|
+
* WARN-ONLY skew note in the CLI — never a refusal.
|
|
38700
|
+
*/
|
|
38701
|
+
declare const API_SURFACE_VERSION = "v2";
|
|
38702
|
+
|
|
37325
38703
|
/**
|
|
37326
38704
|
* Token-based authentication schemas, shared by the `tokenAuth` Hono
|
|
37327
38705
|
* contract (`packages/api-contract/src/contracts/tokenAuth.ts`).
|
|
@@ -37541,6 +38919,7 @@ declare const ApiErrorSchema: z.ZodObject<{
|
|
|
37541
38919
|
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
37542
38920
|
PAGE_NOT_GRANTED: "PAGE_NOT_GRANTED";
|
|
37543
38921
|
PAGE_REVISION_ERROR: "PAGE_REVISION_ERROR";
|
|
38922
|
+
PAGE_TWIN_EXISTS: "PAGE_TWIN_EXISTS";
|
|
37544
38923
|
INVALID_GRANT: "INVALID_GRANT";
|
|
37545
38924
|
COMMENT_NOT_FOUND: "COMMENT_NOT_FOUND";
|
|
37546
38925
|
NOTIFICATION_NOT_FOUND: "NOTIFICATION_NOT_FOUND";
|
|
@@ -38755,6 +40134,7 @@ declare const ListPagesRequestSchema: z.ZodObject<{
|
|
|
38755
40134
|
asc: "asc";
|
|
38756
40135
|
desc: "desc";
|
|
38757
40136
|
}>>>;
|
|
40137
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
38758
40138
|
}, z.core.$strip>;
|
|
38759
40139
|
type ListPagesRequest = z.infer<typeof ListPagesRequestSchema>;
|
|
38760
40140
|
type ListPagesSort = ListPagesRequest['sort'];
|
|
@@ -38980,6 +40360,111 @@ declare const ListPagesResponseSchema: z.ZodObject<{
|
|
|
38980
40360
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
38981
40361
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
38982
40362
|
}, z.core.$strip>>>;
|
|
40363
|
+
contentPage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40364
|
+
_id: z.ZodString;
|
|
40365
|
+
path: z.ZodString;
|
|
40366
|
+
revision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40367
|
+
_id: z.ZodString;
|
|
40368
|
+
path: z.ZodString;
|
|
40369
|
+
body: z.ZodString;
|
|
40370
|
+
format: z.ZodDefault<z.ZodString>;
|
|
40371
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40372
|
+
_id: z.ZodString;
|
|
40373
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40374
|
+
username: z.ZodString;
|
|
40375
|
+
name: z.ZodString;
|
|
40376
|
+
email: z.ZodString;
|
|
40377
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40378
|
+
createdAt: z.ZodString;
|
|
40379
|
+
}, z.core.$strip>>>;
|
|
40380
|
+
createdAt: z.ZodString;
|
|
40381
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
40382
|
+
toc: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40383
|
+
level: z.ZodNumber;
|
|
40384
|
+
text: z.ZodString;
|
|
40385
|
+
anchorId: z.ZodString;
|
|
40386
|
+
}, z.core.$strip>>>;
|
|
40387
|
+
wikiLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40388
|
+
raw: z.ZodString;
|
|
40389
|
+
target: z.ZodString;
|
|
40390
|
+
displayText: z.ZodOptional<z.ZodString>;
|
|
40391
|
+
}, z.core.$strip>>>;
|
|
40392
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40393
|
+
username: z.ZodString;
|
|
40394
|
+
}, z.core.$strip>>>;
|
|
40395
|
+
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40396
|
+
}, z.core.$strip>>;
|
|
40397
|
+
renderedAst: z.ZodOptional<z.ZodUnknown>;
|
|
40398
|
+
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
40399
|
+
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40400
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
40401
|
+
snapshot: "snapshot";
|
|
40402
|
+
incremental: "incremental";
|
|
40403
|
+
}>>;
|
|
40404
|
+
savedBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40405
|
+
_id: z.ZodString;
|
|
40406
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40407
|
+
username: z.ZodString;
|
|
40408
|
+
name: z.ZodString;
|
|
40409
|
+
email: z.ZodString;
|
|
40410
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40411
|
+
createdAt: z.ZodString;
|
|
40412
|
+
}, z.core.$strip>]>>>;
|
|
40413
|
+
contributors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40414
|
+
_id: z.ZodString;
|
|
40415
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40416
|
+
username: z.ZodString;
|
|
40417
|
+
name: z.ZodString;
|
|
40418
|
+
email: z.ZodString;
|
|
40419
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40420
|
+
createdAt: z.ZodString;
|
|
40421
|
+
}, z.core.$strip>]>>>;
|
|
40422
|
+
message: z.ZodOptional<z.ZodString>;
|
|
40423
|
+
editVia: z.ZodOptional<z.ZodEnum<{
|
|
40424
|
+
web: "web";
|
|
40425
|
+
oauth: "oauth";
|
|
40426
|
+
pat: "pat";
|
|
40427
|
+
}>>;
|
|
40428
|
+
}, z.core.$strip>]>>;
|
|
40429
|
+
redirectTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40430
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
40431
|
+
deprecated: "deprecated";
|
|
40432
|
+
wip: "wip";
|
|
40433
|
+
published: "published";
|
|
40434
|
+
deleted: "deleted";
|
|
40435
|
+
draft: "draft";
|
|
40436
|
+
}>>>;
|
|
40437
|
+
grant: z.ZodOptional<z.ZodNumber>;
|
|
40438
|
+
grantedUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40439
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40440
|
+
_id: z.ZodString;
|
|
40441
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40442
|
+
username: z.ZodString;
|
|
40443
|
+
name: z.ZodString;
|
|
40444
|
+
email: z.ZodString;
|
|
40445
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40446
|
+
createdAt: z.ZodString;
|
|
40447
|
+
}, z.core.$strip>]>>>;
|
|
40448
|
+
lastUpdateUser: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
40449
|
+
_id: z.ZodString;
|
|
40450
|
+
id: z.ZodOptional<z.ZodString>;
|
|
40451
|
+
username: z.ZodString;
|
|
40452
|
+
name: z.ZodString;
|
|
40453
|
+
email: z.ZodString;
|
|
40454
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40455
|
+
createdAt: z.ZodString;
|
|
40456
|
+
}, z.core.$strip>]>>>;
|
|
40457
|
+
liker: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40458
|
+
commentCount: z.ZodDefault<z.ZodNumber>;
|
|
40459
|
+
extended: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
40460
|
+
createdAt: z.ZodString;
|
|
40461
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
40462
|
+
currentRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40463
|
+
yjsCheckpointAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40464
|
+
latestRevision: z.ZodOptional<z.ZodString>;
|
|
40465
|
+
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
40466
|
+
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
40467
|
+
}, z.core.$strip>>>;
|
|
38983
40468
|
}, z.core.$strip>;
|
|
38984
40469
|
type ListPagesResponse = z.infer<typeof ListPagesResponseSchema>;
|
|
38985
40470
|
declare const PageChildSegmentSchema: z.ZodObject<{
|
|
@@ -39017,6 +40502,11 @@ declare const UpdatePageRequestSchema: z.ZodObject<{
|
|
|
39017
40502
|
grant: z.ZodOptional<z.ZodNumber>;
|
|
39018
40503
|
}, z.core.$strip>;
|
|
39019
40504
|
type UpdatePageRequest = z.infer<typeof UpdatePageRequestSchema>;
|
|
40505
|
+
declare const RevertToRevisionRequestSchema: z.ZodObject<{
|
|
40506
|
+
page_id: z.ZodString;
|
|
40507
|
+
revision_id: z.ZodString;
|
|
40508
|
+
}, z.core.$strip>;
|
|
40509
|
+
type RevertToRevisionRequest = z.infer<typeof RevertToRevisionRequestSchema>;
|
|
39020
40510
|
declare const SetPageGrantRequestSchema: z.ZodObject<{
|
|
39021
40511
|
page_id: z.ZodString;
|
|
39022
40512
|
grant: z.ZodNumber;
|
|
@@ -42232,4 +43722,4 @@ declare const SearchPagesResponseSchema: z.ZodObject<{
|
|
|
42232
43722
|
}, z.core.$strip>;
|
|
42233
43723
|
type SearchPagesResponse = z.infer<typeof SearchPagesResponseSchema>;
|
|
42234
43724
|
|
|
42235
|
-
export { ALL_SCOPES, 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, 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 Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, 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, resetPasswordRoute, revertDeletedPageRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, 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 };
|
|
43725
|
+
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 };
|