@crowi/api-contract 2.0.0-alpha.10 → 2.0.0-alpha.11
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 +111 -47
- package/dist/generated/openapi.d.ts +111 -47
- package/dist/generated/openapi.js.map +1 -1
- package/dist/index.d.mts +1594 -174
- package/dist/index.d.ts +1594 -174
- package/dist/index.js +1328 -860
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1184 -754
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1086,7 +1086,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1086
1086
|
name: string;
|
|
1087
1087
|
email: string;
|
|
1088
1088
|
lang: "en" | "ja";
|
|
1089
|
-
theme: "
|
|
1089
|
+
theme: "light" | "dark" | "system";
|
|
1090
1090
|
image: string | null;
|
|
1091
1091
|
hasPassword: boolean;
|
|
1092
1092
|
createdAt: string;
|
|
@@ -1134,7 +1134,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1134
1134
|
name: string;
|
|
1135
1135
|
email: string;
|
|
1136
1136
|
lang: "en" | "ja";
|
|
1137
|
-
theme: "
|
|
1137
|
+
theme: "light" | "dark" | "system";
|
|
1138
1138
|
image: string | null;
|
|
1139
1139
|
hasPassword: boolean;
|
|
1140
1140
|
createdAt: string;
|
|
@@ -1168,7 +1168,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1168
1168
|
$patch: {
|
|
1169
1169
|
input: {
|
|
1170
1170
|
json: {
|
|
1171
|
-
theme: "
|
|
1171
|
+
theme: "light" | "dark" | "system";
|
|
1172
1172
|
};
|
|
1173
1173
|
};
|
|
1174
1174
|
output: {
|
|
@@ -1183,7 +1183,7 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1183
1183
|
} | {
|
|
1184
1184
|
input: {
|
|
1185
1185
|
json: {
|
|
1186
|
-
theme: "
|
|
1186
|
+
theme: "light" | "dark" | "system";
|
|
1187
1187
|
};
|
|
1188
1188
|
};
|
|
1189
1189
|
output: {
|
|
@@ -1197,12 +1197,12 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1197
1197
|
} | {
|
|
1198
1198
|
input: {
|
|
1199
1199
|
json: {
|
|
1200
|
-
theme: "
|
|
1200
|
+
theme: "light" | "dark" | "system";
|
|
1201
1201
|
};
|
|
1202
1202
|
};
|
|
1203
1203
|
output: {
|
|
1204
1204
|
status: "ok";
|
|
1205
|
-
theme: "
|
|
1205
|
+
theme: "light" | "dark" | "system";
|
|
1206
1206
|
};
|
|
1207
1207
|
outputFormat: "json";
|
|
1208
1208
|
status: 200;
|
|
@@ -1403,7 +1403,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1403
1403
|
codeBlockLanguages?: string[] | undefined;
|
|
1404
1404
|
rawSpaceLinks?: string[] | undefined;
|
|
1405
1405
|
} | undefined;
|
|
1406
|
-
renderedAst?:
|
|
1406
|
+
renderedAst?: {
|
|
1407
|
+
astVersion: 1;
|
|
1408
|
+
root: hono_utils_types.JSONValue;
|
|
1409
|
+
} | {
|
|
1410
|
+
type: "root";
|
|
1411
|
+
children: hono_utils_types.JSONValue[];
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
renderedAstArtifactKey?: string | undefined;
|
|
1407
1414
|
rendererVersion?: string | undefined;
|
|
1408
1415
|
parentRevisionId?: string | null | undefined;
|
|
1409
1416
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -1735,6 +1742,8 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1735
1742
|
};
|
|
1736
1743
|
createdPagesCount: number;
|
|
1737
1744
|
bookmarksCount: number;
|
|
1745
|
+
likesCount: number;
|
|
1746
|
+
commentsCount: number;
|
|
1738
1747
|
recentPages?: {
|
|
1739
1748
|
_id: string;
|
|
1740
1749
|
path: string;
|
|
@@ -1772,7 +1781,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1772
1781
|
codeBlockLanguages?: string[] | undefined;
|
|
1773
1782
|
rawSpaceLinks?: string[] | undefined;
|
|
1774
1783
|
} | undefined;
|
|
1775
|
-
renderedAst?:
|
|
1784
|
+
renderedAst?: {
|
|
1785
|
+
astVersion: 1;
|
|
1786
|
+
root: hono_utils_types.JSONValue;
|
|
1787
|
+
} | {
|
|
1788
|
+
type: "root";
|
|
1789
|
+
children: hono_utils_types.JSONValue[];
|
|
1790
|
+
} | undefined;
|
|
1791
|
+
renderedAstArtifactKey?: string | undefined;
|
|
1776
1792
|
rendererVersion?: string | undefined;
|
|
1777
1793
|
parentRevisionId?: string | null | undefined;
|
|
1778
1794
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -1869,7 +1885,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
1869
1885
|
codeBlockLanguages?: string[] | undefined;
|
|
1870
1886
|
rawSpaceLinks?: string[] | undefined;
|
|
1871
1887
|
} | undefined;
|
|
1872
|
-
renderedAst?:
|
|
1888
|
+
renderedAst?: {
|
|
1889
|
+
astVersion: 1;
|
|
1890
|
+
root: hono_utils_types.JSONValue;
|
|
1891
|
+
} | {
|
|
1892
|
+
type: "root";
|
|
1893
|
+
children: hono_utils_types.JSONValue[];
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
renderedAstArtifactKey?: string | undefined;
|
|
1873
1896
|
rendererVersion?: string | undefined;
|
|
1874
1897
|
parentRevisionId?: string | null | undefined;
|
|
1875
1898
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -2071,7 +2094,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
2071
2094
|
codeBlockLanguages?: string[] | undefined;
|
|
2072
2095
|
rawSpaceLinks?: string[] | undefined;
|
|
2073
2096
|
} | undefined;
|
|
2074
|
-
renderedAst?:
|
|
2097
|
+
renderedAst?: {
|
|
2098
|
+
astVersion: 1;
|
|
2099
|
+
root: hono_utils_types.JSONValue;
|
|
2100
|
+
} | {
|
|
2101
|
+
type: "root";
|
|
2102
|
+
children: hono_utils_types.JSONValue[];
|
|
2103
|
+
} | undefined;
|
|
2104
|
+
renderedAstArtifactKey?: string | undefined;
|
|
2075
2105
|
rendererVersion?: string | undefined;
|
|
2076
2106
|
parentRevisionId?: string | null | undefined;
|
|
2077
2107
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -2263,7 +2293,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
2263
2293
|
codeBlockLanguages?: string[] | undefined;
|
|
2264
2294
|
rawSpaceLinks?: string[] | undefined;
|
|
2265
2295
|
} | undefined;
|
|
2266
|
-
renderedAst?:
|
|
2296
|
+
renderedAst?: {
|
|
2297
|
+
astVersion: 1;
|
|
2298
|
+
root: hono_utils_types.JSONValue;
|
|
2299
|
+
} | {
|
|
2300
|
+
type: "root";
|
|
2301
|
+
children: hono_utils_types.JSONValue[];
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
renderedAstArtifactKey?: string | undefined;
|
|
2267
2304
|
rendererVersion?: string | undefined;
|
|
2268
2305
|
parentRevisionId?: string | null | undefined;
|
|
2269
2306
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -2441,7 +2478,14 @@ declare const appAuthMeUserChain: OpenAPIHono<hono.Env, {
|
|
|
2441
2478
|
codeBlockLanguages?: string[] | undefined;
|
|
2442
2479
|
rawSpaceLinks?: string[] | undefined;
|
|
2443
2480
|
} | undefined;
|
|
2444
|
-
renderedAst?:
|
|
2481
|
+
renderedAst?: {
|
|
2482
|
+
astVersion: 1;
|
|
2483
|
+
root: hono_utils_types.JSONValue;
|
|
2484
|
+
} | {
|
|
2485
|
+
type: "root";
|
|
2486
|
+
children: hono_utils_types.JSONValue[];
|
|
2487
|
+
} | undefined;
|
|
2488
|
+
renderedAstArtifactKey?: string | undefined;
|
|
2445
2489
|
rendererVersion?: string | undefined;
|
|
2446
2490
|
parentRevisionId?: string | null | undefined;
|
|
2447
2491
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -2696,7 +2740,14 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
2696
2740
|
codeBlockLanguages?: string[] | undefined;
|
|
2697
2741
|
rawSpaceLinks?: string[] | undefined;
|
|
2698
2742
|
} | undefined;
|
|
2699
|
-
renderedAst?:
|
|
2743
|
+
renderedAst?: {
|
|
2744
|
+
astVersion: 1;
|
|
2745
|
+
root: hono_utils_types.JSONValue;
|
|
2746
|
+
} | {
|
|
2747
|
+
type: "root";
|
|
2748
|
+
children: hono_utils_types.JSONValue[];
|
|
2749
|
+
} | undefined;
|
|
2750
|
+
renderedAstArtifactKey?: string | undefined;
|
|
2700
2751
|
rendererVersion?: string | undefined;
|
|
2701
2752
|
parentRevisionId?: string | null | undefined;
|
|
2702
2753
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -2867,7 +2918,14 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
2867
2918
|
codeBlockLanguages?: string[] | undefined;
|
|
2868
2919
|
rawSpaceLinks?: string[] | undefined;
|
|
2869
2920
|
} | undefined;
|
|
2870
|
-
renderedAst?:
|
|
2921
|
+
renderedAst?: {
|
|
2922
|
+
astVersion: 1;
|
|
2923
|
+
root: hono_utils_types.JSONValue;
|
|
2924
|
+
} | {
|
|
2925
|
+
type: "root";
|
|
2926
|
+
children: hono_utils_types.JSONValue[];
|
|
2927
|
+
} | undefined;
|
|
2928
|
+
renderedAstArtifactKey?: string | undefined;
|
|
2871
2929
|
rendererVersion?: string | undefined;
|
|
2872
2930
|
parentRevisionId?: string | null | undefined;
|
|
2873
2931
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -3027,7 +3085,14 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
3027
3085
|
codeBlockLanguages?: string[] | undefined;
|
|
3028
3086
|
rawSpaceLinks?: string[] | undefined;
|
|
3029
3087
|
} | undefined;
|
|
3030
|
-
renderedAst?:
|
|
3088
|
+
renderedAst?: {
|
|
3089
|
+
astVersion: 1;
|
|
3090
|
+
root: hono_utils_types.JSONValue;
|
|
3091
|
+
} | {
|
|
3092
|
+
type: "root";
|
|
3093
|
+
children: hono_utils_types.JSONValue[];
|
|
3094
|
+
} | undefined;
|
|
3095
|
+
renderedAstArtifactKey?: string | undefined;
|
|
3031
3096
|
rendererVersion?: string | undefined;
|
|
3032
3097
|
parentRevisionId?: string | null | undefined;
|
|
3033
3098
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -3707,7 +3772,14 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
3707
3772
|
codeBlockLanguages?: string[] | undefined;
|
|
3708
3773
|
rawSpaceLinks?: string[] | undefined;
|
|
3709
3774
|
} | undefined;
|
|
3710
|
-
renderedAst?:
|
|
3775
|
+
renderedAst?: {
|
|
3776
|
+
astVersion: 1;
|
|
3777
|
+
root: hono_utils_types.JSONValue;
|
|
3778
|
+
} | {
|
|
3779
|
+
type: "root";
|
|
3780
|
+
children: hono_utils_types.JSONValue[];
|
|
3781
|
+
} | undefined;
|
|
3782
|
+
renderedAstArtifactKey?: string | undefined;
|
|
3711
3783
|
rendererVersion?: string | undefined;
|
|
3712
3784
|
parentRevisionId?: string | null | undefined;
|
|
3713
3785
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -3821,7 +3893,14 @@ declare const bookmarkBacklinkCommentRevisionChain: OpenAPIHono<hono.Env, {
|
|
|
3821
3893
|
codeBlockLanguages?: string[] | undefined;
|
|
3822
3894
|
rawSpaceLinks?: string[] | undefined;
|
|
3823
3895
|
} | undefined;
|
|
3824
|
-
renderedAst?:
|
|
3896
|
+
renderedAst?: {
|
|
3897
|
+
astVersion: 1;
|
|
3898
|
+
root: hono_utils_types.JSONValue;
|
|
3899
|
+
} | {
|
|
3900
|
+
type: "root";
|
|
3901
|
+
children: hono_utils_types.JSONValue[];
|
|
3902
|
+
} | undefined;
|
|
3903
|
+
renderedAstArtifactKey?: string | undefined;
|
|
3825
3904
|
rendererVersion?: string | undefined;
|
|
3826
3905
|
parentRevisionId?: string | null | undefined;
|
|
3827
3906
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -3965,7 +4044,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
3965
4044
|
codeBlockLanguages?: string[] | undefined;
|
|
3966
4045
|
rawSpaceLinks?: string[] | undefined;
|
|
3967
4046
|
} | undefined;
|
|
3968
|
-
renderedAst?:
|
|
4047
|
+
renderedAst?: {
|
|
4048
|
+
astVersion: 1;
|
|
4049
|
+
root: hono_utils_types.JSONValue;
|
|
4050
|
+
} | {
|
|
4051
|
+
type: "root";
|
|
4052
|
+
children: hono_utils_types.JSONValue[];
|
|
4053
|
+
} | undefined;
|
|
4054
|
+
renderedAstArtifactKey?: string | undefined;
|
|
3969
4055
|
rendererVersion?: string | undefined;
|
|
3970
4056
|
parentRevisionId?: string | null | undefined;
|
|
3971
4057
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4103,7 +4189,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4103
4189
|
codeBlockLanguages?: string[] | undefined;
|
|
4104
4190
|
rawSpaceLinks?: string[] | undefined;
|
|
4105
4191
|
} | undefined;
|
|
4106
|
-
renderedAst?:
|
|
4192
|
+
renderedAst?: {
|
|
4193
|
+
astVersion: 1;
|
|
4194
|
+
root: hono_utils_types.JSONValue;
|
|
4195
|
+
} | {
|
|
4196
|
+
type: "root";
|
|
4197
|
+
children: hono_utils_types.JSONValue[];
|
|
4198
|
+
} | undefined;
|
|
4199
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4107
4200
|
rendererVersion?: string | undefined;
|
|
4108
4201
|
parentRevisionId?: string | null | undefined;
|
|
4109
4202
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4166,6 +4259,7 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4166
4259
|
next: number | null;
|
|
4167
4260
|
offset: number;
|
|
4168
4261
|
};
|
|
4262
|
+
total: number;
|
|
4169
4263
|
portalPage?: {
|
|
4170
4264
|
_id: string;
|
|
4171
4265
|
path: string;
|
|
@@ -4203,7 +4297,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4203
4297
|
codeBlockLanguages?: string[] | undefined;
|
|
4204
4298
|
rawSpaceLinks?: string[] | undefined;
|
|
4205
4299
|
} | undefined;
|
|
4206
|
-
renderedAst?:
|
|
4300
|
+
renderedAst?: {
|
|
4301
|
+
astVersion: 1;
|
|
4302
|
+
root: hono_utils_types.JSONValue;
|
|
4303
|
+
} | {
|
|
4304
|
+
type: "root";
|
|
4305
|
+
children: hono_utils_types.JSONValue[];
|
|
4306
|
+
} | undefined;
|
|
4307
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4207
4308
|
rendererVersion?: string | undefined;
|
|
4208
4309
|
parentRevisionId?: string | null | undefined;
|
|
4209
4310
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4298,7 +4399,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4298
4399
|
codeBlockLanguages?: string[] | undefined;
|
|
4299
4400
|
rawSpaceLinks?: string[] | undefined;
|
|
4300
4401
|
} | undefined;
|
|
4301
|
-
renderedAst?:
|
|
4402
|
+
renderedAst?: {
|
|
4403
|
+
astVersion: 1;
|
|
4404
|
+
root: hono_utils_types.JSONValue;
|
|
4405
|
+
} | {
|
|
4406
|
+
type: "root";
|
|
4407
|
+
children: hono_utils_types.JSONValue[];
|
|
4408
|
+
} | undefined;
|
|
4409
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4302
4410
|
rendererVersion?: string | undefined;
|
|
4303
4411
|
parentRevisionId?: string | null | undefined;
|
|
4304
4412
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4472,7 +4580,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4472
4580
|
codeBlockLanguages?: string[] | undefined;
|
|
4473
4581
|
rawSpaceLinks?: string[] | undefined;
|
|
4474
4582
|
} | undefined;
|
|
4475
|
-
renderedAst?:
|
|
4583
|
+
renderedAst?: {
|
|
4584
|
+
astVersion: 1;
|
|
4585
|
+
root: hono_utils_types.JSONValue;
|
|
4586
|
+
} | {
|
|
4587
|
+
type: "root";
|
|
4588
|
+
children: hono_utils_types.JSONValue[];
|
|
4589
|
+
} | undefined;
|
|
4590
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4476
4591
|
rendererVersion?: string | undefined;
|
|
4477
4592
|
parentRevisionId?: string | null | undefined;
|
|
4478
4593
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4635,7 +4750,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4635
4750
|
codeBlockLanguages?: string[] | undefined;
|
|
4636
4751
|
rawSpaceLinks?: string[] | undefined;
|
|
4637
4752
|
} | undefined;
|
|
4638
|
-
renderedAst?:
|
|
4753
|
+
renderedAst?: {
|
|
4754
|
+
astVersion: 1;
|
|
4755
|
+
root: hono_utils_types.JSONValue;
|
|
4756
|
+
} | {
|
|
4757
|
+
type: "root";
|
|
4758
|
+
children: hono_utils_types.JSONValue[];
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4639
4761
|
rendererVersion?: string | undefined;
|
|
4640
4762
|
parentRevisionId?: string | null | undefined;
|
|
4641
4763
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -4810,7 +4932,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
4810
4932
|
codeBlockLanguages?: string[] | undefined;
|
|
4811
4933
|
rawSpaceLinks?: string[] | undefined;
|
|
4812
4934
|
} | undefined;
|
|
4813
|
-
renderedAst?:
|
|
4935
|
+
renderedAst?: {
|
|
4936
|
+
astVersion: 1;
|
|
4937
|
+
root: hono_utils_types.JSONValue;
|
|
4938
|
+
} | {
|
|
4939
|
+
type: "root";
|
|
4940
|
+
children: hono_utils_types.JSONValue[];
|
|
4941
|
+
} | undefined;
|
|
4942
|
+
renderedAstArtifactKey?: string | undefined;
|
|
4814
4943
|
rendererVersion?: string | undefined;
|
|
4815
4944
|
parentRevisionId?: string | null | undefined;
|
|
4816
4945
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -5121,7 +5250,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
5121
5250
|
codeBlockLanguages?: string[] | undefined;
|
|
5122
5251
|
rawSpaceLinks?: string[] | undefined;
|
|
5123
5252
|
} | undefined;
|
|
5124
|
-
renderedAst?:
|
|
5253
|
+
renderedAst?: {
|
|
5254
|
+
astVersion: 1;
|
|
5255
|
+
root: hono_utils_types.JSONValue;
|
|
5256
|
+
} | {
|
|
5257
|
+
type: "root";
|
|
5258
|
+
children: hono_utils_types.JSONValue[];
|
|
5259
|
+
} | undefined;
|
|
5260
|
+
renderedAstArtifactKey?: string | undefined;
|
|
5125
5261
|
rendererVersion?: string | undefined;
|
|
5126
5262
|
parentRevisionId?: string | null | undefined;
|
|
5127
5263
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -5273,7 +5409,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
5273
5409
|
codeBlockLanguages?: string[] | undefined;
|
|
5274
5410
|
rawSpaceLinks?: string[] | undefined;
|
|
5275
5411
|
} | undefined;
|
|
5276
|
-
renderedAst?:
|
|
5412
|
+
renderedAst?: {
|
|
5413
|
+
astVersion: 1;
|
|
5414
|
+
root: hono_utils_types.JSONValue;
|
|
5415
|
+
} | {
|
|
5416
|
+
type: "root";
|
|
5417
|
+
children: hono_utils_types.JSONValue[];
|
|
5418
|
+
} | undefined;
|
|
5419
|
+
renderedAstArtifactKey?: string | undefined;
|
|
5277
5420
|
rendererVersion?: string | undefined;
|
|
5278
5421
|
parentRevisionId?: string | null | undefined;
|
|
5279
5422
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -5425,7 +5568,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
5425
5568
|
codeBlockLanguages?: string[] | undefined;
|
|
5426
5569
|
rawSpaceLinks?: string[] | undefined;
|
|
5427
5570
|
} | undefined;
|
|
5428
|
-
renderedAst?:
|
|
5571
|
+
renderedAst?: {
|
|
5572
|
+
astVersion: 1;
|
|
5573
|
+
root: hono_utils_types.JSONValue;
|
|
5574
|
+
} | {
|
|
5575
|
+
type: "root";
|
|
5576
|
+
children: hono_utils_types.JSONValue[];
|
|
5577
|
+
} | undefined;
|
|
5578
|
+
renderedAstArtifactKey?: string | undefined;
|
|
5429
5579
|
rendererVersion?: string | undefined;
|
|
5430
5580
|
parentRevisionId?: string | null | undefined;
|
|
5431
5581
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -5725,7 +5875,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
5725
5875
|
codeBlockLanguages?: string[] | undefined;
|
|
5726
5876
|
rawSpaceLinks?: string[] | undefined;
|
|
5727
5877
|
} | undefined;
|
|
5728
|
-
renderedAst?:
|
|
5878
|
+
renderedAst?: {
|
|
5879
|
+
astVersion: 1;
|
|
5880
|
+
root: hono_utils_types.JSONValue;
|
|
5881
|
+
} | {
|
|
5882
|
+
type: "root";
|
|
5883
|
+
children: hono_utils_types.JSONValue[];
|
|
5884
|
+
} | undefined;
|
|
5885
|
+
renderedAstArtifactKey?: string | undefined;
|
|
5729
5886
|
rendererVersion?: string | undefined;
|
|
5730
5887
|
parentRevisionId?: string | null | undefined;
|
|
5731
5888
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -5895,7 +6052,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
5895
6052
|
codeBlockLanguages?: string[] | undefined;
|
|
5896
6053
|
rawSpaceLinks?: string[] | undefined;
|
|
5897
6054
|
} | undefined;
|
|
5898
|
-
renderedAst?:
|
|
6055
|
+
renderedAst?: {
|
|
6056
|
+
astVersion: 1;
|
|
6057
|
+
root: hono_utils_types.JSONValue;
|
|
6058
|
+
} | {
|
|
6059
|
+
type: "root";
|
|
6060
|
+
children: hono_utils_types.JSONValue[];
|
|
6061
|
+
} | undefined;
|
|
6062
|
+
renderedAstArtifactKey?: string | undefined;
|
|
5899
6063
|
rendererVersion?: string | undefined;
|
|
5900
6064
|
parentRevisionId?: string | null | undefined;
|
|
5901
6065
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -6050,7 +6214,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
6050
6214
|
codeBlockLanguages?: string[] | undefined;
|
|
6051
6215
|
rawSpaceLinks?: string[] | undefined;
|
|
6052
6216
|
} | undefined;
|
|
6053
|
-
renderedAst?:
|
|
6217
|
+
renderedAst?: {
|
|
6218
|
+
astVersion: 1;
|
|
6219
|
+
root: hono_utils_types.JSONValue;
|
|
6220
|
+
} | {
|
|
6221
|
+
type: "root";
|
|
6222
|
+
children: hono_utils_types.JSONValue[];
|
|
6223
|
+
} | undefined;
|
|
6224
|
+
renderedAstArtifactKey?: string | undefined;
|
|
6054
6225
|
rendererVersion?: string | undefined;
|
|
6055
6226
|
parentRevisionId?: string | null | undefined;
|
|
6056
6227
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -6233,7 +6404,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
6233
6404
|
codeBlockLanguages?: string[] | undefined;
|
|
6234
6405
|
rawSpaceLinks?: string[] | undefined;
|
|
6235
6406
|
} | undefined;
|
|
6236
|
-
renderedAst?:
|
|
6407
|
+
renderedAst?: {
|
|
6408
|
+
astVersion: 1;
|
|
6409
|
+
root: hono_utils_types.JSONValue;
|
|
6410
|
+
} | {
|
|
6411
|
+
type: "root";
|
|
6412
|
+
children: hono_utils_types.JSONValue[];
|
|
6413
|
+
} | undefined;
|
|
6414
|
+
renderedAstArtifactKey?: string | undefined;
|
|
6237
6415
|
rendererVersion?: string | undefined;
|
|
6238
6416
|
parentRevisionId?: string | null | undefined;
|
|
6239
6417
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -6436,7 +6614,14 @@ declare const pageChain: OpenAPIHono<hono.Env, {
|
|
|
6436
6614
|
};
|
|
6437
6615
|
};
|
|
6438
6616
|
output: {
|
|
6439
|
-
renderedAst
|
|
6617
|
+
renderedAst?: {
|
|
6618
|
+
astVersion: 1;
|
|
6619
|
+
root: hono_utils_types.JSONValue;
|
|
6620
|
+
} | {
|
|
6621
|
+
type: "root";
|
|
6622
|
+
children: hono_utils_types.JSONValue[];
|
|
6623
|
+
} | undefined;
|
|
6624
|
+
renderedAstArtifactKey?: string | undefined;
|
|
6440
6625
|
};
|
|
6441
6626
|
outputFormat: "json";
|
|
6442
6627
|
status: 200;
|
|
@@ -7349,6 +7534,24 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7349
7534
|
};
|
|
7350
7535
|
outputFormat: "json";
|
|
7351
7536
|
status: 413;
|
|
7537
|
+
} | {
|
|
7538
|
+
input: {
|
|
7539
|
+
param: {
|
|
7540
|
+
pageId: string;
|
|
7541
|
+
};
|
|
7542
|
+
} & {
|
|
7543
|
+
form: {
|
|
7544
|
+
file?: any;
|
|
7545
|
+
};
|
|
7546
|
+
};
|
|
7547
|
+
output: {
|
|
7548
|
+
error: {
|
|
7549
|
+
code: "INVALID_PAGE_ID" | "PAGE_NOT_FOUND" | "FILE_MISSING" | "FILE_TOO_LARGE" | "DISALLOWED_MIME" | "INVALID_ATTACHMENT_ID" | "ATTACHMENT_NOT_FOUND" | "FORBIDDEN_FOR_DELETE" | "UPLOAD_FAILED" | "REMOVE_FAILED";
|
|
7550
|
+
message: string;
|
|
7551
|
+
};
|
|
7552
|
+
};
|
|
7553
|
+
outputFormat: "json";
|
|
7554
|
+
status: 415;
|
|
7352
7555
|
};
|
|
7353
7556
|
};
|
|
7354
7557
|
} & {
|
|
@@ -7411,7 +7614,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7411
7614
|
};
|
|
7412
7615
|
};
|
|
7413
7616
|
output: {
|
|
7414
|
-
error: "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7617
|
+
error: "DISALLOWED_MIME" | "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7415
7618
|
message: string;
|
|
7416
7619
|
details?: {
|
|
7417
7620
|
[x: string]: hono_utils_types.JSONValue;
|
|
@@ -7428,7 +7631,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7428
7631
|
};
|
|
7429
7632
|
};
|
|
7430
7633
|
output: {
|
|
7431
|
-
error: "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7634
|
+
error: "DISALLOWED_MIME" | "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7432
7635
|
message: string;
|
|
7433
7636
|
details?: {
|
|
7434
7637
|
[x: string]: hono_utils_types.JSONValue;
|
|
@@ -7445,7 +7648,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7445
7648
|
};
|
|
7446
7649
|
};
|
|
7447
7650
|
output: {
|
|
7448
|
-
error: "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7651
|
+
error: "DISALLOWED_MIME" | "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7449
7652
|
message: string;
|
|
7450
7653
|
details?: {
|
|
7451
7654
|
[x: string]: hono_utils_types.JSONValue;
|
|
@@ -7462,7 +7665,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7462
7665
|
};
|
|
7463
7666
|
};
|
|
7464
7667
|
output: {
|
|
7465
|
-
error: "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7668
|
+
error: "DISALLOWED_MIME" | "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7466
7669
|
message: string;
|
|
7467
7670
|
details?: {
|
|
7468
7671
|
[x: string]: hono_utils_types.JSONValue;
|
|
@@ -7479,7 +7682,7 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7479
7682
|
};
|
|
7480
7683
|
};
|
|
7481
7684
|
output: {
|
|
7482
|
-
error: "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7685
|
+
error: "DISALLOWED_MIME" | "too_large" | "disallowed_type" | "rate_limited" | "no_permission";
|
|
7483
7686
|
message: string;
|
|
7484
7687
|
details?: {
|
|
7485
7688
|
[x: string]: hono_utils_types.JSONValue;
|
|
@@ -7788,7 +7991,14 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
|
|
|
7788
7991
|
codeBlockLanguages?: string[] | undefined;
|
|
7789
7992
|
rawSpaceLinks?: string[] | undefined;
|
|
7790
7993
|
} | undefined;
|
|
7791
|
-
renderedAst?:
|
|
7994
|
+
renderedAst?: {
|
|
7995
|
+
astVersion: 1;
|
|
7996
|
+
root: hono_utils_types.JSONValue;
|
|
7997
|
+
} | {
|
|
7998
|
+
type: "root";
|
|
7999
|
+
children: hono_utils_types.JSONValue[];
|
|
8000
|
+
} | undefined;
|
|
8001
|
+
renderedAstArtifactKey?: string | undefined;
|
|
7792
8002
|
rendererVersion?: string | undefined;
|
|
7793
8003
|
parentRevisionId?: string | null | undefined;
|
|
7794
8004
|
type?: "snapshot" | "incremental" | undefined;
|
|
@@ -15648,9 +15858,9 @@ declare const getProfileRoute: {
|
|
|
15648
15858
|
ja: "ja";
|
|
15649
15859
|
}>;
|
|
15650
15860
|
theme: z.ZodEnum<{
|
|
15651
|
-
system: "system";
|
|
15652
15861
|
light: "light";
|
|
15653
15862
|
dark: "dark";
|
|
15863
|
+
system: "system";
|
|
15654
15864
|
}>;
|
|
15655
15865
|
image: z.ZodNullable<z.ZodString>;
|
|
15656
15866
|
introduction: z.ZodOptional<z.ZodString>;
|
|
@@ -15720,9 +15930,9 @@ declare const updateProfileRoute: {
|
|
|
15720
15930
|
ja: "ja";
|
|
15721
15931
|
}>;
|
|
15722
15932
|
theme: z.ZodEnum<{
|
|
15723
|
-
system: "system";
|
|
15724
15933
|
light: "light";
|
|
15725
15934
|
dark: "dark";
|
|
15935
|
+
system: "system";
|
|
15726
15936
|
}>;
|
|
15727
15937
|
image: z.ZodNullable<z.ZodString>;
|
|
15728
15938
|
introduction: z.ZodOptional<z.ZodString>;
|
|
@@ -15778,9 +15988,9 @@ declare const updateThemeRoute: {
|
|
|
15778
15988
|
'application/json': {
|
|
15779
15989
|
schema: z.ZodObject<{
|
|
15780
15990
|
theme: z.ZodEnum<{
|
|
15781
|
-
system: "system";
|
|
15782
15991
|
light: "light";
|
|
15783
15992
|
dark: "dark";
|
|
15993
|
+
system: "system";
|
|
15784
15994
|
}>;
|
|
15785
15995
|
}, z.core.$strip>;
|
|
15786
15996
|
};
|
|
@@ -15795,9 +16005,9 @@ declare const updateThemeRoute: {
|
|
|
15795
16005
|
schema: z.ZodObject<{
|
|
15796
16006
|
status: z.ZodLiteral<"ok">;
|
|
15797
16007
|
theme: z.ZodEnum<{
|
|
15798
|
-
system: "system";
|
|
15799
16008
|
light: "light";
|
|
15800
16009
|
dark: "dark";
|
|
16010
|
+
system: "system";
|
|
15801
16011
|
}>;
|
|
15802
16012
|
}, z.core.$strip>;
|
|
15803
16013
|
};
|
|
@@ -16063,7 +16273,14 @@ declare const recentlyViewedPagesRoute: {
|
|
|
16063
16273
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16064
16274
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16065
16275
|
}, z.core.$strip>>;
|
|
16066
|
-
renderedAst: z.ZodOptional<z.
|
|
16276
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
16277
|
+
astVersion: z.ZodLiteral<1>;
|
|
16278
|
+
root: z.ZodUnknown;
|
|
16279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16280
|
+
type: z.ZodLiteral<"root">;
|
|
16281
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
16282
|
+
}, z.core.$strip>]>>;
|
|
16283
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
16067
16284
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
16068
16285
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16069
16286
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16193,9 +16410,9 @@ declare const meRoutes: {
|
|
|
16193
16410
|
ja: "ja";
|
|
16194
16411
|
}>;
|
|
16195
16412
|
theme: z.ZodEnum<{
|
|
16196
|
-
system: "system";
|
|
16197
16413
|
light: "light";
|
|
16198
16414
|
dark: "dark";
|
|
16415
|
+
system: "system";
|
|
16199
16416
|
}>;
|
|
16200
16417
|
image: z.ZodNullable<z.ZodString>;
|
|
16201
16418
|
introduction: z.ZodOptional<z.ZodString>;
|
|
@@ -16265,9 +16482,9 @@ declare const meRoutes: {
|
|
|
16265
16482
|
ja: "ja";
|
|
16266
16483
|
}>;
|
|
16267
16484
|
theme: z.ZodEnum<{
|
|
16268
|
-
system: "system";
|
|
16269
16485
|
light: "light";
|
|
16270
16486
|
dark: "dark";
|
|
16487
|
+
system: "system";
|
|
16271
16488
|
}>;
|
|
16272
16489
|
image: z.ZodNullable<z.ZodString>;
|
|
16273
16490
|
introduction: z.ZodOptional<z.ZodString>;
|
|
@@ -16323,9 +16540,9 @@ declare const meRoutes: {
|
|
|
16323
16540
|
'application/json': {
|
|
16324
16541
|
schema: z.ZodObject<{
|
|
16325
16542
|
theme: z.ZodEnum<{
|
|
16326
|
-
system: "system";
|
|
16327
16543
|
light: "light";
|
|
16328
16544
|
dark: "dark";
|
|
16545
|
+
system: "system";
|
|
16329
16546
|
}>;
|
|
16330
16547
|
}, z.core.$strip>;
|
|
16331
16548
|
};
|
|
@@ -16340,9 +16557,9 @@ declare const meRoutes: {
|
|
|
16340
16557
|
schema: z.ZodObject<{
|
|
16341
16558
|
status: z.ZodLiteral<"ok">;
|
|
16342
16559
|
theme: z.ZodEnum<{
|
|
16343
|
-
system: "system";
|
|
16344
16560
|
light: "light";
|
|
16345
16561
|
dark: "dark";
|
|
16562
|
+
system: "system";
|
|
16346
16563
|
}>;
|
|
16347
16564
|
}, z.core.$strip>;
|
|
16348
16565
|
};
|
|
@@ -16608,7 +16825,14 @@ declare const meRoutes: {
|
|
|
16608
16825
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16609
16826
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16610
16827
|
}, z.core.$strip>>;
|
|
16611
|
-
renderedAst: z.ZodOptional<z.
|
|
16828
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
16829
|
+
astVersion: z.ZodLiteral<1>;
|
|
16830
|
+
root: z.ZodUnknown;
|
|
16831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16832
|
+
type: z.ZodLiteral<"root">;
|
|
16833
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
16834
|
+
}, z.core.$strip>]>>;
|
|
16835
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
16612
16836
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
16613
16837
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16614
16838
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18240,6 +18464,8 @@ declare const getUserPageRoute: {
|
|
|
18240
18464
|
}, z.core.$strip>;
|
|
18241
18465
|
createdPagesCount: z.ZodNumber;
|
|
18242
18466
|
bookmarksCount: z.ZodNumber;
|
|
18467
|
+
likesCount: z.ZodNumber;
|
|
18468
|
+
commentsCount: z.ZodNumber;
|
|
18243
18469
|
recentPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18244
18470
|
_id: z.ZodString;
|
|
18245
18471
|
path: z.ZodString;
|
|
@@ -18275,7 +18501,14 @@ declare const getUserPageRoute: {
|
|
|
18275
18501
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18276
18502
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18277
18503
|
}, z.core.$strip>>;
|
|
18278
|
-
renderedAst: z.ZodOptional<z.
|
|
18504
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
18505
|
+
astVersion: z.ZodLiteral<1>;
|
|
18506
|
+
root: z.ZodUnknown;
|
|
18507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18508
|
+
type: z.ZodLiteral<"root">;
|
|
18509
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
18510
|
+
}, z.core.$strip>]>>;
|
|
18511
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
18279
18512
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
18280
18513
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18281
18514
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18383,7 +18616,14 @@ declare const getUserPageRoute: {
|
|
|
18383
18616
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18384
18617
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18385
18618
|
}, z.core.$strip>>;
|
|
18386
|
-
renderedAst: z.ZodOptional<z.
|
|
18619
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
18620
|
+
astVersion: z.ZodLiteral<1>;
|
|
18621
|
+
root: z.ZodUnknown;
|
|
18622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18623
|
+
type: z.ZodLiteral<"root">;
|
|
18624
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
18625
|
+
}, z.core.$strip>]>>;
|
|
18626
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
18387
18627
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
18388
18628
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18389
18629
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18582,7 +18822,14 @@ declare const getUserBookmarksRoute: {
|
|
|
18582
18822
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18583
18823
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18584
18824
|
}, z.core.$strip>>;
|
|
18585
|
-
renderedAst: z.ZodOptional<z.
|
|
18825
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
18826
|
+
astVersion: z.ZodLiteral<1>;
|
|
18827
|
+
root: z.ZodUnknown;
|
|
18828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18829
|
+
type: z.ZodLiteral<"root">;
|
|
18830
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
18831
|
+
}, z.core.$strip>]>>;
|
|
18832
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
18586
18833
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
18587
18834
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18588
18835
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18785,7 +19032,14 @@ declare const getUserPagesRoute: {
|
|
|
18785
19032
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18786
19033
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18787
19034
|
}, z.core.$strip>>;
|
|
18788
|
-
renderedAst: z.ZodOptional<z.
|
|
19035
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
19036
|
+
astVersion: z.ZodLiteral<1>;
|
|
19037
|
+
root: z.ZodUnknown;
|
|
19038
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19039
|
+
type: z.ZodLiteral<"root">;
|
|
19040
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
19041
|
+
}, z.core.$strip>]>>;
|
|
19042
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
18789
19043
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
18790
19044
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18791
19045
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18980,7 +19234,14 @@ declare const getUserSubpagesRoute: {
|
|
|
18980
19234
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18981
19235
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18982
19236
|
}, z.core.$strip>>;
|
|
18983
|
-
renderedAst: z.ZodOptional<z.
|
|
19237
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
19238
|
+
astVersion: z.ZodLiteral<1>;
|
|
19239
|
+
root: z.ZodUnknown;
|
|
19240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19241
|
+
type: z.ZodLiteral<"root">;
|
|
19242
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
19243
|
+
}, z.core.$strip>]>>;
|
|
19244
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
18984
19245
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
18985
19246
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18986
19247
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19246,6 +19507,8 @@ declare const userRoutes: {
|
|
|
19246
19507
|
}, z.core.$strip>;
|
|
19247
19508
|
createdPagesCount: z.ZodNumber;
|
|
19248
19509
|
bookmarksCount: z.ZodNumber;
|
|
19510
|
+
likesCount: z.ZodNumber;
|
|
19511
|
+
commentsCount: z.ZodNumber;
|
|
19249
19512
|
recentPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19250
19513
|
_id: z.ZodString;
|
|
19251
19514
|
path: z.ZodString;
|
|
@@ -19281,7 +19544,14 @@ declare const userRoutes: {
|
|
|
19281
19544
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19282
19545
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19283
19546
|
}, z.core.$strip>>;
|
|
19284
|
-
renderedAst: z.ZodOptional<z.
|
|
19547
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
19548
|
+
astVersion: z.ZodLiteral<1>;
|
|
19549
|
+
root: z.ZodUnknown;
|
|
19550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19551
|
+
type: z.ZodLiteral<"root">;
|
|
19552
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
19553
|
+
}, z.core.$strip>]>>;
|
|
19554
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
19285
19555
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
19286
19556
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19287
19557
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19389,7 +19659,14 @@ declare const userRoutes: {
|
|
|
19389
19659
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19390
19660
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19391
19661
|
}, z.core.$strip>>;
|
|
19392
|
-
renderedAst: z.ZodOptional<z.
|
|
19662
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
19663
|
+
astVersion: z.ZodLiteral<1>;
|
|
19664
|
+
root: z.ZodUnknown;
|
|
19665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19666
|
+
type: z.ZodLiteral<"root">;
|
|
19667
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
19668
|
+
}, z.core.$strip>]>>;
|
|
19669
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
19393
19670
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
19394
19671
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19395
19672
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19588,7 +19865,14 @@ declare const userRoutes: {
|
|
|
19588
19865
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19589
19866
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19590
19867
|
}, z.core.$strip>>;
|
|
19591
|
-
renderedAst: z.ZodOptional<z.
|
|
19868
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
19869
|
+
astVersion: z.ZodLiteral<1>;
|
|
19870
|
+
root: z.ZodUnknown;
|
|
19871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19872
|
+
type: z.ZodLiteral<"root">;
|
|
19873
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
19874
|
+
}, z.core.$strip>]>>;
|
|
19875
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
19592
19876
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
19593
19877
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19594
19878
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19791,7 +20075,14 @@ declare const userRoutes: {
|
|
|
19791
20075
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19792
20076
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19793
20077
|
}, z.core.$strip>>;
|
|
19794
|
-
renderedAst: z.ZodOptional<z.
|
|
20078
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
20079
|
+
astVersion: z.ZodLiteral<1>;
|
|
20080
|
+
root: z.ZodUnknown;
|
|
20081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20082
|
+
type: z.ZodLiteral<"root">;
|
|
20083
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
20084
|
+
}, z.core.$strip>]>>;
|
|
20085
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
19795
20086
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
19796
20087
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19797
20088
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19974,7 +20265,14 @@ declare const userRoutes: {
|
|
|
19974
20265
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19975
20266
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19976
20267
|
}, z.core.$strip>>;
|
|
19977
|
-
renderedAst: z.ZodOptional<z.
|
|
20268
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
20269
|
+
astVersion: z.ZodLiteral<1>;
|
|
20270
|
+
root: z.ZodUnknown;
|
|
20271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20272
|
+
type: z.ZodLiteral<"root">;
|
|
20273
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
20274
|
+
}, z.core.$strip>]>>;
|
|
20275
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
19978
20276
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
19979
20277
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19980
20278
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20258,7 +20556,14 @@ declare const getBookmarkRoute: {
|
|
|
20258
20556
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20259
20557
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20260
20558
|
}, zod_v4_core.$strip>>;
|
|
20261
|
-
renderedAst: zod.ZodOptional<zod.
|
|
20559
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20560
|
+
astVersion: zod.ZodLiteral<1>;
|
|
20561
|
+
root: zod.ZodUnknown;
|
|
20562
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20563
|
+
type: zod.ZodLiteral<"root">;
|
|
20564
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
20565
|
+
}, zod_v4_core.$strip>]>>;
|
|
20566
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
20262
20567
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
20263
20568
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
20264
20569
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -20454,7 +20759,14 @@ declare const listMyBookmarksRoute: {
|
|
|
20454
20759
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20455
20760
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20456
20761
|
}, zod_v4_core.$strip>>;
|
|
20457
|
-
renderedAst: zod.ZodOptional<zod.
|
|
20762
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20763
|
+
astVersion: zod.ZodLiteral<1>;
|
|
20764
|
+
root: zod.ZodUnknown;
|
|
20765
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20766
|
+
type: zod.ZodLiteral<"root">;
|
|
20767
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
20768
|
+
}, zod_v4_core.$strip>]>>;
|
|
20769
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
20458
20770
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
20459
20771
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
20460
20772
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -20648,7 +20960,14 @@ declare const addBookmarkRoute: {
|
|
|
20648
20960
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20649
20961
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20650
20962
|
}, zod_v4_core.$strip>>;
|
|
20651
|
-
renderedAst: zod.ZodOptional<zod.
|
|
20963
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
20964
|
+
astVersion: zod.ZodLiteral<1>;
|
|
20965
|
+
root: zod.ZodUnknown;
|
|
20966
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
20967
|
+
type: zod.ZodLiteral<"root">;
|
|
20968
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
20969
|
+
}, zod_v4_core.$strip>]>>;
|
|
20970
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
20652
20971
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
20653
20972
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
20654
20973
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -20918,7 +21237,14 @@ declare const bookmarkRoutes: {
|
|
|
20918
21237
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20919
21238
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20920
21239
|
}, zod_v4_core.$strip>>;
|
|
20921
|
-
renderedAst: zod.ZodOptional<zod.
|
|
21240
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
21241
|
+
astVersion: zod.ZodLiteral<1>;
|
|
21242
|
+
root: zod.ZodUnknown;
|
|
21243
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
21244
|
+
type: zod.ZodLiteral<"root">;
|
|
21245
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
21246
|
+
}, zod_v4_core.$strip>]>>;
|
|
21247
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
20922
21248
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
20923
21249
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
20924
21250
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -21114,7 +21440,14 @@ declare const bookmarkRoutes: {
|
|
|
21114
21440
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21115
21441
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21116
21442
|
}, zod_v4_core.$strip>>;
|
|
21117
|
-
renderedAst: zod.ZodOptional<zod.
|
|
21443
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
21444
|
+
astVersion: zod.ZodLiteral<1>;
|
|
21445
|
+
root: zod.ZodUnknown;
|
|
21446
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
21447
|
+
type: zod.ZodLiteral<"root">;
|
|
21448
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
21449
|
+
}, zod_v4_core.$strip>]>>;
|
|
21450
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
21118
21451
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
21119
21452
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
21120
21453
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -21308,7 +21641,14 @@ declare const bookmarkRoutes: {
|
|
|
21308
21641
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21309
21642
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21310
21643
|
}, zod_v4_core.$strip>>;
|
|
21311
|
-
renderedAst: zod.ZodOptional<zod.
|
|
21644
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
21645
|
+
astVersion: zod.ZodLiteral<1>;
|
|
21646
|
+
root: zod.ZodUnknown;
|
|
21647
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
21648
|
+
type: zod.ZodLiteral<"root">;
|
|
21649
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
21650
|
+
}, zod_v4_core.$strip>]>>;
|
|
21651
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
21312
21652
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
21313
21653
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
21314
21654
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -22450,7 +22790,14 @@ declare const getRevisionsRoute: {
|
|
|
22450
22790
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22451
22791
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22452
22792
|
}, z.core.$strip>>;
|
|
22453
|
-
renderedAst: z.ZodOptional<z.
|
|
22793
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
22794
|
+
astVersion: z.ZodLiteral<1>;
|
|
22795
|
+
root: z.ZodUnknown;
|
|
22796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22797
|
+
type: z.ZodLiteral<"root">;
|
|
22798
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
22799
|
+
}, z.core.$strip>]>>;
|
|
22800
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
22454
22801
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
22455
22802
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22456
22803
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -22581,7 +22928,14 @@ declare const getRevisionRoute: {
|
|
|
22581
22928
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22582
22929
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22583
22930
|
}, z.core.$strip>>;
|
|
22584
|
-
renderedAst: z.ZodOptional<z.
|
|
22931
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
22932
|
+
astVersion: z.ZodLiteral<1>;
|
|
22933
|
+
root: z.ZodUnknown;
|
|
22934
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22935
|
+
type: z.ZodLiteral<"root">;
|
|
22936
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
22937
|
+
}, z.core.$strip>]>>;
|
|
22938
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
22585
22939
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
22586
22940
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22587
22941
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -22826,7 +23180,14 @@ declare const revisionRoutes: {
|
|
|
22826
23180
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22827
23181
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22828
23182
|
}, z.core.$strip>>;
|
|
22829
|
-
renderedAst: z.ZodOptional<z.
|
|
23183
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
23184
|
+
astVersion: z.ZodLiteral<1>;
|
|
23185
|
+
root: z.ZodUnknown;
|
|
23186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23187
|
+
type: z.ZodLiteral<"root">;
|
|
23188
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
23189
|
+
}, z.core.$strip>]>>;
|
|
23190
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
22830
23191
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
22831
23192
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22832
23193
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -22957,7 +23318,14 @@ declare const revisionRoutes: {
|
|
|
22957
23318
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22958
23319
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22959
23320
|
}, z.core.$strip>>;
|
|
22960
|
-
renderedAst: z.ZodOptional<z.
|
|
23321
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
23322
|
+
astVersion: z.ZodLiteral<1>;
|
|
23323
|
+
root: z.ZodUnknown;
|
|
23324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23325
|
+
type: z.ZodLiteral<"root">;
|
|
23326
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
23327
|
+
}, z.core.$strip>]>>;
|
|
23328
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
22961
23329
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
22962
23330
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22963
23331
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -23396,7 +23764,7 @@ declare const openNotificationRoute: {
|
|
|
23396
23764
|
getRoutingPath(): "/notifications/:id/open";
|
|
23397
23765
|
};
|
|
23398
23766
|
/**
|
|
23399
|
-
* GET /api/
|
|
23767
|
+
* GET /api/notifications/token
|
|
23400
23768
|
*
|
|
23401
23769
|
* Mints the short-lived JWT a browser presents on the
|
|
23402
23770
|
* `/notifications/<userId>` WebSocket handshake. The notifications
|
|
@@ -23969,7 +24337,14 @@ declare const getPageRoute: {
|
|
|
23969
24337
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23970
24338
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23971
24339
|
}, z.core.$strip>>;
|
|
23972
|
-
renderedAst: z.ZodOptional<z.
|
|
24340
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
24341
|
+
astVersion: z.ZodLiteral<1>;
|
|
24342
|
+
root: z.ZodUnknown;
|
|
24343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24344
|
+
type: z.ZodLiteral<"root">;
|
|
24345
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
24346
|
+
}, z.core.$strip>]>>;
|
|
24347
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
23973
24348
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
23974
24349
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23975
24350
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24149,7 +24524,14 @@ declare const listPagesRoute: {
|
|
|
24149
24524
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24150
24525
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24151
24526
|
}, z.core.$strip>>;
|
|
24152
|
-
renderedAst: z.ZodOptional<z.
|
|
24527
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
24528
|
+
astVersion: z.ZodLiteral<1>;
|
|
24529
|
+
root: z.ZodUnknown;
|
|
24530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24531
|
+
type: z.ZodLiteral<"root">;
|
|
24532
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
24533
|
+
}, z.core.$strip>]>>;
|
|
24534
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24153
24535
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24154
24536
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24155
24537
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24260,7 +24642,14 @@ declare const listPagesRoute: {
|
|
|
24260
24642
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24261
24643
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24262
24644
|
}, z.core.$strip>>;
|
|
24263
|
-
renderedAst: z.ZodOptional<z.
|
|
24645
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
24646
|
+
astVersion: z.ZodLiteral<1>;
|
|
24647
|
+
root: z.ZodUnknown;
|
|
24648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24649
|
+
type: z.ZodLiteral<"root">;
|
|
24650
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
24651
|
+
}, z.core.$strip>]>>;
|
|
24652
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24264
24653
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24265
24654
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24266
24655
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24366,7 +24755,14 @@ declare const listPagesRoute: {
|
|
|
24366
24755
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24367
24756
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24368
24757
|
}, z.core.$strip>>;
|
|
24369
|
-
renderedAst: z.ZodOptional<z.
|
|
24758
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
24759
|
+
astVersion: z.ZodLiteral<1>;
|
|
24760
|
+
root: z.ZodUnknown;
|
|
24761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24762
|
+
type: z.ZodLiteral<"root">;
|
|
24763
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
24764
|
+
}, z.core.$strip>]>>;
|
|
24765
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24370
24766
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24371
24767
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24372
24768
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24437,6 +24833,7 @@ declare const listPagesRoute: {
|
|
|
24437
24833
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
24438
24834
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
24439
24835
|
}, z.core.$strip>>>;
|
|
24836
|
+
total: z.ZodNumber;
|
|
24440
24837
|
}, z.core.$strip>;
|
|
24441
24838
|
};
|
|
24442
24839
|
};
|
|
@@ -24579,7 +24976,14 @@ declare const createPageRoute: {
|
|
|
24579
24976
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24580
24977
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24581
24978
|
}, z.core.$strip>>;
|
|
24582
|
-
renderedAst: z.ZodOptional<z.
|
|
24979
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
24980
|
+
astVersion: z.ZodLiteral<1>;
|
|
24981
|
+
root: z.ZodUnknown;
|
|
24982
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24983
|
+
type: z.ZodLiteral<"root">;
|
|
24984
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
24985
|
+
}, z.core.$strip>]>>;
|
|
24986
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24583
24987
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24584
24988
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24585
24989
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24748,7 +25152,14 @@ declare const updatePageRoute: {
|
|
|
24748
25152
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24749
25153
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24750
25154
|
}, z.core.$strip>>;
|
|
24751
|
-
renderedAst: z.ZodOptional<z.
|
|
25155
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
25156
|
+
astVersion: z.ZodLiteral<1>;
|
|
25157
|
+
root: z.ZodUnknown;
|
|
25158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25159
|
+
type: z.ZodLiteral<"root">;
|
|
25160
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
25161
|
+
}, z.core.$strip>]>>;
|
|
25162
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24752
25163
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24753
25164
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24754
25165
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24941,7 +25352,14 @@ declare const setPageGrantRoute: {
|
|
|
24941
25352
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24942
25353
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24943
25354
|
}, z.core.$strip>>;
|
|
24944
|
-
renderedAst: z.ZodOptional<z.
|
|
25355
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
25356
|
+
astVersion: z.ZodLiteral<1>;
|
|
25357
|
+
root: z.ZodUnknown;
|
|
25358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25359
|
+
type: z.ZodLiteral<"root">;
|
|
25360
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
25361
|
+
}, z.core.$strip>]>>;
|
|
25362
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
24945
25363
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
24946
25364
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24947
25365
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25299,7 +25717,14 @@ declare const likePageRoute: {
|
|
|
25299
25717
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25300
25718
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25301
25719
|
}, z.core.$strip>>;
|
|
25302
|
-
renderedAst: z.ZodOptional<z.
|
|
25720
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
25721
|
+
astVersion: z.ZodLiteral<1>;
|
|
25722
|
+
root: z.ZodUnknown;
|
|
25723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25724
|
+
type: z.ZodLiteral<"root">;
|
|
25725
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
25726
|
+
}, z.core.$strip>]>>;
|
|
25727
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
25303
25728
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
25304
25729
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25305
25730
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25478,7 +25903,14 @@ declare const unlikePageRoute: {
|
|
|
25478
25903
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25479
25904
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25480
25905
|
}, z.core.$strip>>;
|
|
25481
|
-
renderedAst: z.ZodOptional<z.
|
|
25906
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
25907
|
+
astVersion: z.ZodLiteral<1>;
|
|
25908
|
+
root: z.ZodUnknown;
|
|
25909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25910
|
+
type: z.ZodLiteral<"root">;
|
|
25911
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
25912
|
+
}, z.core.$strip>]>>;
|
|
25913
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
25482
25914
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
25483
25915
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25484
25916
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25677,7 +26109,14 @@ declare const claimPageLinkAccessRoute: {
|
|
|
25677
26109
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25678
26110
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25679
26111
|
}, z.core.$strip>>;
|
|
25680
|
-
renderedAst: z.ZodOptional<z.
|
|
26112
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26113
|
+
astVersion: z.ZodLiteral<1>;
|
|
26114
|
+
root: z.ZodUnknown;
|
|
26115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26116
|
+
type: z.ZodLiteral<"root">;
|
|
26117
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
26118
|
+
}, z.core.$strip>]>>;
|
|
26119
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
25681
26120
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
25682
26121
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25683
26122
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26015,7 +26454,14 @@ declare const deletePageRoute: {
|
|
|
26015
26454
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26016
26455
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26017
26456
|
}, z.core.$strip>>;
|
|
26018
|
-
renderedAst: z.ZodOptional<z.
|
|
26457
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26458
|
+
astVersion: z.ZodLiteral<1>;
|
|
26459
|
+
root: z.ZodUnknown;
|
|
26460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26461
|
+
type: z.ZodLiteral<"root">;
|
|
26462
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
26463
|
+
}, z.core.$strip>]>>;
|
|
26464
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
26019
26465
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
26020
26466
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26021
26467
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26207,7 +26653,14 @@ declare const revertDeletedPageRoute: {
|
|
|
26207
26653
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26208
26654
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26209
26655
|
}, z.core.$strip>>;
|
|
26210
|
-
renderedAst: z.ZodOptional<z.
|
|
26656
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26657
|
+
astVersion: z.ZodLiteral<1>;
|
|
26658
|
+
root: z.ZodUnknown;
|
|
26659
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26660
|
+
type: z.ZodLiteral<"root">;
|
|
26661
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
26662
|
+
}, z.core.$strip>]>>;
|
|
26663
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
26211
26664
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
26212
26665
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26213
26666
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26387,7 +26840,14 @@ declare const revertToRevisionRoute: {
|
|
|
26387
26840
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26388
26841
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26389
26842
|
}, z.core.$strip>>;
|
|
26390
|
-
renderedAst: z.ZodOptional<z.
|
|
26843
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
26844
|
+
astVersion: z.ZodLiteral<1>;
|
|
26845
|
+
root: z.ZodUnknown;
|
|
26846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26847
|
+
type: z.ZodLiteral<"root">;
|
|
26848
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
26849
|
+
}, z.core.$strip>]>>;
|
|
26850
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
26391
26851
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
26392
26852
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26393
26853
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26570,7 +27030,14 @@ declare const renamePageRoute: {
|
|
|
26570
27030
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26571
27031
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26572
27032
|
}, z.core.$strip>>;
|
|
26573
|
-
renderedAst: z.ZodOptional<z.
|
|
27033
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27034
|
+
astVersion: z.ZodLiteral<1>;
|
|
27035
|
+
root: z.ZodUnknown;
|
|
27036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27037
|
+
type: z.ZodLiteral<"root">;
|
|
27038
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27039
|
+
}, z.core.$strip>]>>;
|
|
27040
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
26574
27041
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
26575
27042
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26576
27043
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26873,7 +27340,14 @@ declare const pageRoutes: {
|
|
|
26873
27340
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26874
27341
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26875
27342
|
}, z.core.$strip>>;
|
|
26876
|
-
renderedAst: z.ZodOptional<z.
|
|
27343
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27344
|
+
astVersion: z.ZodLiteral<1>;
|
|
27345
|
+
root: z.ZodUnknown;
|
|
27346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27347
|
+
type: z.ZodLiteral<"root">;
|
|
27348
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27349
|
+
}, z.core.$strip>]>>;
|
|
27350
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
26877
27351
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
26878
27352
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26879
27353
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27053,7 +27527,14 @@ declare const pageRoutes: {
|
|
|
27053
27527
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27054
27528
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27055
27529
|
}, z.core.$strip>>;
|
|
27056
|
-
renderedAst: z.ZodOptional<z.
|
|
27530
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27531
|
+
astVersion: z.ZodLiteral<1>;
|
|
27532
|
+
root: z.ZodUnknown;
|
|
27533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27534
|
+
type: z.ZodLiteral<"root">;
|
|
27535
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27536
|
+
}, z.core.$strip>]>>;
|
|
27537
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27057
27538
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27058
27539
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27059
27540
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27164,7 +27645,14 @@ declare const pageRoutes: {
|
|
|
27164
27645
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27165
27646
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27166
27647
|
}, z.core.$strip>>;
|
|
27167
|
-
renderedAst: z.ZodOptional<z.
|
|
27648
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27649
|
+
astVersion: z.ZodLiteral<1>;
|
|
27650
|
+
root: z.ZodUnknown;
|
|
27651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27652
|
+
type: z.ZodLiteral<"root">;
|
|
27653
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27654
|
+
}, z.core.$strip>]>>;
|
|
27655
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27168
27656
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27169
27657
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27170
27658
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27270,7 +27758,14 @@ declare const pageRoutes: {
|
|
|
27270
27758
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27271
27759
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27272
27760
|
}, z.core.$strip>>;
|
|
27273
|
-
renderedAst: z.ZodOptional<z.
|
|
27761
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27762
|
+
astVersion: z.ZodLiteral<1>;
|
|
27763
|
+
root: z.ZodUnknown;
|
|
27764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27765
|
+
type: z.ZodLiteral<"root">;
|
|
27766
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27767
|
+
}, z.core.$strip>]>>;
|
|
27768
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27274
27769
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27275
27770
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27276
27771
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27341,6 +27836,7 @@ declare const pageRoutes: {
|
|
|
27341
27836
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
27342
27837
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
27343
27838
|
}, z.core.$strip>>>;
|
|
27839
|
+
total: z.ZodNumber;
|
|
27344
27840
|
}, z.core.$strip>;
|
|
27345
27841
|
};
|
|
27346
27842
|
};
|
|
@@ -27483,7 +27979,14 @@ declare const pageRoutes: {
|
|
|
27483
27979
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27484
27980
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27485
27981
|
}, z.core.$strip>>;
|
|
27486
|
-
renderedAst: z.ZodOptional<z.
|
|
27982
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
27983
|
+
astVersion: z.ZodLiteral<1>;
|
|
27984
|
+
root: z.ZodUnknown;
|
|
27985
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27986
|
+
type: z.ZodLiteral<"root">;
|
|
27987
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
27988
|
+
}, z.core.$strip>]>>;
|
|
27989
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27487
27990
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27488
27991
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27489
27992
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27652,7 +28155,14 @@ declare const pageRoutes: {
|
|
|
27652
28155
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27653
28156
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27654
28157
|
}, z.core.$strip>>;
|
|
27655
|
-
renderedAst: z.ZodOptional<z.
|
|
28158
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
28159
|
+
astVersion: z.ZodLiteral<1>;
|
|
28160
|
+
root: z.ZodUnknown;
|
|
28161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28162
|
+
type: z.ZodLiteral<"root">;
|
|
28163
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
28164
|
+
}, z.core.$strip>]>>;
|
|
28165
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27656
28166
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27657
28167
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27658
28168
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -27845,7 +28355,14 @@ declare const pageRoutes: {
|
|
|
27845
28355
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27846
28356
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27847
28357
|
}, z.core.$strip>>;
|
|
27848
|
-
renderedAst: z.ZodOptional<z.
|
|
28358
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
28359
|
+
astVersion: z.ZodLiteral<1>;
|
|
28360
|
+
root: z.ZodUnknown;
|
|
28361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28362
|
+
type: z.ZodLiteral<"root">;
|
|
28363
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
28364
|
+
}, z.core.$strip>]>>;
|
|
28365
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
27849
28366
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
27850
28367
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27851
28368
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28203,7 +28720,14 @@ declare const pageRoutes: {
|
|
|
28203
28720
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28204
28721
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28205
28722
|
}, z.core.$strip>>;
|
|
28206
|
-
renderedAst: z.ZodOptional<z.
|
|
28723
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
28724
|
+
astVersion: z.ZodLiteral<1>;
|
|
28725
|
+
root: z.ZodUnknown;
|
|
28726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28727
|
+
type: z.ZodLiteral<"root">;
|
|
28728
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
28729
|
+
}, z.core.$strip>]>>;
|
|
28730
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
28207
28731
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
28208
28732
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28209
28733
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28382,7 +28906,14 @@ declare const pageRoutes: {
|
|
|
28382
28906
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28383
28907
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28384
28908
|
}, z.core.$strip>>;
|
|
28385
|
-
renderedAst: z.ZodOptional<z.
|
|
28909
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
28910
|
+
astVersion: z.ZodLiteral<1>;
|
|
28911
|
+
root: z.ZodUnknown;
|
|
28912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28913
|
+
type: z.ZodLiteral<"root">;
|
|
28914
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
28915
|
+
}, z.core.$strip>]>>;
|
|
28916
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
28386
28917
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
28387
28918
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28388
28919
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28581,7 +29112,14 @@ declare const pageRoutes: {
|
|
|
28581
29112
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28582
29113
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28583
29114
|
}, z.core.$strip>>;
|
|
28584
|
-
renderedAst: z.ZodOptional<z.
|
|
29115
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
29116
|
+
astVersion: z.ZodLiteral<1>;
|
|
29117
|
+
root: z.ZodUnknown;
|
|
29118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29119
|
+
type: z.ZodLiteral<"root">;
|
|
29120
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
29121
|
+
}, z.core.$strip>]>>;
|
|
29122
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
28585
29123
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
28586
29124
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28587
29125
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28919,7 +29457,14 @@ declare const pageRoutes: {
|
|
|
28919
29457
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28920
29458
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28921
29459
|
}, z.core.$strip>>;
|
|
28922
|
-
renderedAst: z.ZodOptional<z.
|
|
29460
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
29461
|
+
astVersion: z.ZodLiteral<1>;
|
|
29462
|
+
root: z.ZodUnknown;
|
|
29463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29464
|
+
type: z.ZodLiteral<"root">;
|
|
29465
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
29466
|
+
}, z.core.$strip>]>>;
|
|
29467
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
28923
29468
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
28924
29469
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28925
29470
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -29111,7 +29656,14 @@ declare const pageRoutes: {
|
|
|
29111
29656
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29112
29657
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29113
29658
|
}, z.core.$strip>>;
|
|
29114
|
-
renderedAst: z.ZodOptional<z.
|
|
29659
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
29660
|
+
astVersion: z.ZodLiteral<1>;
|
|
29661
|
+
root: z.ZodUnknown;
|
|
29662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29663
|
+
type: z.ZodLiteral<"root">;
|
|
29664
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
29665
|
+
}, z.core.$strip>]>>;
|
|
29666
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
29115
29667
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
29116
29668
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29117
29669
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -29291,7 +29843,14 @@ declare const pageRoutes: {
|
|
|
29291
29843
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29292
29844
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29293
29845
|
}, z.core.$strip>>;
|
|
29294
|
-
renderedAst: z.ZodOptional<z.
|
|
29846
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
29847
|
+
astVersion: z.ZodLiteral<1>;
|
|
29848
|
+
root: z.ZodUnknown;
|
|
29849
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29850
|
+
type: z.ZodLiteral<"root">;
|
|
29851
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
29852
|
+
}, z.core.$strip>]>>;
|
|
29853
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
29295
29854
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
29296
29855
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29297
29856
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -29474,7 +30033,14 @@ declare const pageRoutes: {
|
|
|
29474
30033
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29475
30034
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29476
30035
|
}, z.core.$strip>>;
|
|
29477
|
-
renderedAst: z.ZodOptional<z.
|
|
30036
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
30037
|
+
astVersion: z.ZodLiteral<1>;
|
|
30038
|
+
root: z.ZodUnknown;
|
|
30039
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30040
|
+
type: z.ZodLiteral<"root">;
|
|
30041
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
30042
|
+
}, z.core.$strip>]>>;
|
|
30043
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
29478
30044
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
29479
30045
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29480
30046
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -29717,7 +30283,14 @@ declare const previewPageRoute: {
|
|
|
29717
30283
|
content: {
|
|
29718
30284
|
'application/json': {
|
|
29719
30285
|
schema: zod.ZodObject<{
|
|
29720
|
-
renderedAst: zod.
|
|
30286
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
30287
|
+
astVersion: zod.ZodLiteral<1>;
|
|
30288
|
+
root: zod.ZodUnknown;
|
|
30289
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
30290
|
+
type: zod.ZodLiteral<"root">;
|
|
30291
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
30292
|
+
}, zod_v4_core.$strip>]>>;
|
|
30293
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
29721
30294
|
}, zod_v4_core.$strip>;
|
|
29722
30295
|
};
|
|
29723
30296
|
};
|
|
@@ -29791,7 +30364,14 @@ declare const pagePreviewRoutes: {
|
|
|
29791
30364
|
content: {
|
|
29792
30365
|
'application/json': {
|
|
29793
30366
|
schema: zod.ZodObject<{
|
|
29794
|
-
renderedAst: zod.
|
|
30367
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
30368
|
+
astVersion: zod.ZodLiteral<1>;
|
|
30369
|
+
root: zod.ZodUnknown;
|
|
30370
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
30371
|
+
type: zod.ZodLiteral<"root">;
|
|
30372
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
30373
|
+
}, zod_v4_core.$strip>]>>;
|
|
30374
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
29795
30375
|
}, zod_v4_core.$strip>;
|
|
29796
30376
|
};
|
|
29797
30377
|
};
|
|
@@ -29872,7 +30452,7 @@ declare const pagePreviewRoutes: {
|
|
|
29872
30452
|
*/
|
|
29873
30453
|
|
|
29874
30454
|
/**
|
|
29875
|
-
* GET /api/
|
|
30455
|
+
* GET /api/pages/:id/yjs-token (RFC-0003 Phase 2)
|
|
29876
30456
|
*
|
|
29877
30457
|
* Mints the short-lived JWT (`wsToken`) the Hocuspocus client
|
|
29878
30458
|
* (`HocuspocusProvider`) presents on connect. Phase 3 wires
|
|
@@ -30097,7 +30677,7 @@ declare const pageCollabRoutes: {
|
|
|
30097
30677
|
*/
|
|
30098
30678
|
|
|
30099
30679
|
/**
|
|
30100
|
-
* GET /api/
|
|
30680
|
+
* GET /api/pages/:id/presence-token (RFC-0005 Phase 1)
|
|
30101
30681
|
*
|
|
30102
30682
|
* Mints the short-lived JWT a page viewer presents on the
|
|
30103
30683
|
* `/presence/:pageId` WebSocket handshake. The presence handler
|
|
@@ -30201,7 +30781,7 @@ declare const getPresenceTokenRoute: {
|
|
|
30201
30781
|
getRoutingPath(): "/pages/:id/presence-token";
|
|
30202
30782
|
};
|
|
30203
30783
|
/**
|
|
30204
|
-
* GET /api/
|
|
30784
|
+
* GET /api/pages/:id/likers (RFC-0005 Phase 3)
|
|
30205
30785
|
*
|
|
30206
30786
|
* Returns the users who have liked the page, backing the "Liked by"
|
|
30207
30787
|
* modal opened from the meta-chip row. Read access to the page is
|
|
@@ -31505,6 +32085,30 @@ declare const addAttachmentRoute: {
|
|
|
31505
32085
|
};
|
|
31506
32086
|
};
|
|
31507
32087
|
};
|
|
32088
|
+
415: {
|
|
32089
|
+
description: string;
|
|
32090
|
+
content: {
|
|
32091
|
+
'application/json': {
|
|
32092
|
+
schema: z.ZodObject<{
|
|
32093
|
+
error: z.ZodObject<{
|
|
32094
|
+
code: z.ZodEnum<{
|
|
32095
|
+
INVALID_PAGE_ID: "INVALID_PAGE_ID";
|
|
32096
|
+
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
32097
|
+
FILE_MISSING: "FILE_MISSING";
|
|
32098
|
+
FILE_TOO_LARGE: "FILE_TOO_LARGE";
|
|
32099
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32100
|
+
INVALID_ATTACHMENT_ID: "INVALID_ATTACHMENT_ID";
|
|
32101
|
+
ATTACHMENT_NOT_FOUND: "ATTACHMENT_NOT_FOUND";
|
|
32102
|
+
FORBIDDEN_FOR_DELETE: "FORBIDDEN_FOR_DELETE";
|
|
32103
|
+
UPLOAD_FAILED: "UPLOAD_FAILED";
|
|
32104
|
+
REMOVE_FAILED: "REMOVE_FAILED";
|
|
32105
|
+
}>;
|
|
32106
|
+
message: z.ZodString;
|
|
32107
|
+
}, z.core.$strip>;
|
|
32108
|
+
}, z.core.$strip>;
|
|
32109
|
+
};
|
|
32110
|
+
};
|
|
32111
|
+
};
|
|
31508
32112
|
500: {
|
|
31509
32113
|
description: string;
|
|
31510
32114
|
content: {
|
|
@@ -31893,6 +32497,7 @@ declare const uploadAttachmentRoute: {
|
|
|
31893
32497
|
'application/json': {
|
|
31894
32498
|
schema: z.ZodObject<{
|
|
31895
32499
|
error: z.ZodEnum<{
|
|
32500
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
31896
32501
|
too_large: "too_large";
|
|
31897
32502
|
disallowed_type: "disallowed_type";
|
|
31898
32503
|
rate_limited: "rate_limited";
|
|
@@ -31924,6 +32529,7 @@ declare const uploadAttachmentRoute: {
|
|
|
31924
32529
|
'application/json': {
|
|
31925
32530
|
schema: z.ZodObject<{
|
|
31926
32531
|
error: z.ZodEnum<{
|
|
32532
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
31927
32533
|
too_large: "too_large";
|
|
31928
32534
|
disallowed_type: "disallowed_type";
|
|
31929
32535
|
rate_limited: "rate_limited";
|
|
@@ -31941,6 +32547,7 @@ declare const uploadAttachmentRoute: {
|
|
|
31941
32547
|
'application/json': {
|
|
31942
32548
|
schema: z.ZodObject<{
|
|
31943
32549
|
error: z.ZodEnum<{
|
|
32550
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
31944
32551
|
too_large: "too_large";
|
|
31945
32552
|
disallowed_type: "disallowed_type";
|
|
31946
32553
|
rate_limited: "rate_limited";
|
|
@@ -31958,6 +32565,7 @@ declare const uploadAttachmentRoute: {
|
|
|
31958
32565
|
'application/json': {
|
|
31959
32566
|
schema: z.ZodObject<{
|
|
31960
32567
|
error: z.ZodEnum<{
|
|
32568
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
31961
32569
|
too_large: "too_large";
|
|
31962
32570
|
disallowed_type: "disallowed_type";
|
|
31963
32571
|
rate_limited: "rate_limited";
|
|
@@ -31975,6 +32583,7 @@ declare const uploadAttachmentRoute: {
|
|
|
31975
32583
|
'application/json': {
|
|
31976
32584
|
schema: z.ZodObject<{
|
|
31977
32585
|
error: z.ZodEnum<{
|
|
32586
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
31978
32587
|
too_large: "too_large";
|
|
31979
32588
|
disallowed_type: "disallowed_type";
|
|
31980
32589
|
rate_limited: "rate_limited";
|
|
@@ -32614,6 +33223,30 @@ declare const attachmentRoutes: {
|
|
|
32614
33223
|
};
|
|
32615
33224
|
};
|
|
32616
33225
|
};
|
|
33226
|
+
415: {
|
|
33227
|
+
description: string;
|
|
33228
|
+
content: {
|
|
33229
|
+
'application/json': {
|
|
33230
|
+
schema: z.ZodObject<{
|
|
33231
|
+
error: z.ZodObject<{
|
|
33232
|
+
code: z.ZodEnum<{
|
|
33233
|
+
INVALID_PAGE_ID: "INVALID_PAGE_ID";
|
|
33234
|
+
PAGE_NOT_FOUND: "PAGE_NOT_FOUND";
|
|
33235
|
+
FILE_MISSING: "FILE_MISSING";
|
|
33236
|
+
FILE_TOO_LARGE: "FILE_TOO_LARGE";
|
|
33237
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
33238
|
+
INVALID_ATTACHMENT_ID: "INVALID_ATTACHMENT_ID";
|
|
33239
|
+
ATTACHMENT_NOT_FOUND: "ATTACHMENT_NOT_FOUND";
|
|
33240
|
+
FORBIDDEN_FOR_DELETE: "FORBIDDEN_FOR_DELETE";
|
|
33241
|
+
UPLOAD_FAILED: "UPLOAD_FAILED";
|
|
33242
|
+
REMOVE_FAILED: "REMOVE_FAILED";
|
|
33243
|
+
}>;
|
|
33244
|
+
message: z.ZodString;
|
|
33245
|
+
}, z.core.$strip>;
|
|
33246
|
+
}, z.core.$strip>;
|
|
33247
|
+
};
|
|
33248
|
+
};
|
|
33249
|
+
};
|
|
32617
33250
|
500: {
|
|
32618
33251
|
description: string;
|
|
32619
33252
|
content: {
|
|
@@ -32683,6 +33316,7 @@ declare const attachmentRoutes: {
|
|
|
32683
33316
|
'application/json': {
|
|
32684
33317
|
schema: z.ZodObject<{
|
|
32685
33318
|
error: z.ZodEnum<{
|
|
33319
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32686
33320
|
too_large: "too_large";
|
|
32687
33321
|
disallowed_type: "disallowed_type";
|
|
32688
33322
|
rate_limited: "rate_limited";
|
|
@@ -32714,6 +33348,7 @@ declare const attachmentRoutes: {
|
|
|
32714
33348
|
'application/json': {
|
|
32715
33349
|
schema: z.ZodObject<{
|
|
32716
33350
|
error: z.ZodEnum<{
|
|
33351
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32717
33352
|
too_large: "too_large";
|
|
32718
33353
|
disallowed_type: "disallowed_type";
|
|
32719
33354
|
rate_limited: "rate_limited";
|
|
@@ -32731,6 +33366,7 @@ declare const attachmentRoutes: {
|
|
|
32731
33366
|
'application/json': {
|
|
32732
33367
|
schema: z.ZodObject<{
|
|
32733
33368
|
error: z.ZodEnum<{
|
|
33369
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32734
33370
|
too_large: "too_large";
|
|
32735
33371
|
disallowed_type: "disallowed_type";
|
|
32736
33372
|
rate_limited: "rate_limited";
|
|
@@ -32748,6 +33384,7 @@ declare const attachmentRoutes: {
|
|
|
32748
33384
|
'application/json': {
|
|
32749
33385
|
schema: z.ZodObject<{
|
|
32750
33386
|
error: z.ZodEnum<{
|
|
33387
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32751
33388
|
too_large: "too_large";
|
|
32752
33389
|
disallowed_type: "disallowed_type";
|
|
32753
33390
|
rate_limited: "rate_limited";
|
|
@@ -32765,6 +33402,7 @@ declare const attachmentRoutes: {
|
|
|
32765
33402
|
'application/json': {
|
|
32766
33403
|
schema: z.ZodObject<{
|
|
32767
33404
|
error: z.ZodEnum<{
|
|
33405
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
32768
33406
|
too_large: "too_large";
|
|
32769
33407
|
disallowed_type: "disallowed_type";
|
|
32770
33408
|
rate_limited: "rate_limited";
|
|
@@ -33136,7 +33774,14 @@ declare const searchPagesRoute: {
|
|
|
33136
33774
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
33137
33775
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
33138
33776
|
}, zod_v4_core.$strip>>;
|
|
33139
|
-
renderedAst: zod.ZodOptional<zod.
|
|
33777
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
33778
|
+
astVersion: zod.ZodLiteral<1>;
|
|
33779
|
+
root: zod.ZodUnknown;
|
|
33780
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
33781
|
+
type: zod.ZodLiteral<"root">;
|
|
33782
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
33783
|
+
}, zod_v4_core.$strip>]>>;
|
|
33784
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
33140
33785
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
33141
33786
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
33142
33787
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -33348,7 +33993,14 @@ declare const searchRoutes: {
|
|
|
33348
33993
|
codeBlockLanguages: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
33349
33994
|
rawSpaceLinks: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
33350
33995
|
}, zod_v4_core.$strip>>;
|
|
33351
|
-
renderedAst: zod.ZodOptional<zod.
|
|
33996
|
+
renderedAst: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
33997
|
+
astVersion: zod.ZodLiteral<1>;
|
|
33998
|
+
root: zod.ZodUnknown;
|
|
33999
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
34000
|
+
type: zod.ZodLiteral<"root">;
|
|
34001
|
+
children: zod.ZodArray<zod.ZodUnknown>;
|
|
34002
|
+
}, zod_v4_core.$strip>]>>;
|
|
34003
|
+
renderedAstArtifactKey: zod.ZodOptional<zod.ZodString>;
|
|
33352
34004
|
rendererVersion: zod.ZodOptional<zod.ZodString>;
|
|
33353
34005
|
parentRevisionId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
33354
34006
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -40512,7 +41164,7 @@ type EncryptionNotConfiguredError = z.infer<typeof EncryptionNotConfiguredErrorS
|
|
|
40512
41164
|
*
|
|
40513
41165
|
* `rendererStylesheets` (feature-renderer-plugin-boundary Phase 1) is the
|
|
40514
41166
|
* boot-time CSS-asset manifest: API-relative absolute paths
|
|
40515
|
-
* (`/api/
|
|
41167
|
+
* (`/api/plugins/<plugin-name>/…`) that renderer plugins registered via
|
|
40516
41168
|
* `RendererRegistry.addStylesheet(path)` AND whose `registerRoutes` mounted
|
|
40517
41169
|
* successfully (see `RendererRegistryImpl.commitStylesheets`,
|
|
40518
41170
|
* `packages/api/src/renderer/registry.ts`) — a plugin whose route mount
|
|
@@ -40552,7 +41204,7 @@ type AppInfoResponse = z.infer<typeof AppInfoResponseSchema>;
|
|
|
40552
41204
|
|
|
40553
41205
|
/**
|
|
40554
41206
|
* The static capability baseline + API surface version advertised at
|
|
40555
|
-
* `GET /api/
|
|
41207
|
+
* `GET /api/app/info` and consumed by the `@crowi/cli` end-user CLI for
|
|
40556
41208
|
* feature detection / version-skew warnings.
|
|
40557
41209
|
*
|
|
40558
41210
|
* These two values are deliberately shared between the API handler
|
|
@@ -40628,7 +41280,7 @@ declare const API_SURFACE_VERSION = "v2";
|
|
|
40628
41280
|
* - `creator` is populated server-side via `Attachment.getListByPageId`
|
|
40629
41281
|
* (or after `Attachment.create()` on the add path) so consumers always
|
|
40630
41282
|
* see the public user shape and never bare ObjectId strings.
|
|
40631
|
-
* - `url` is a relative URL (`/api/
|
|
41283
|
+
* - `url` is a relative URL (`/api/attachments/:id`) computed by the
|
|
40632
41284
|
* handler from the document's `fileUrl` virtual. Browsers fetch the
|
|
40633
41285
|
* stream endpoint via the same origin, so absolute URLs are not needed.
|
|
40634
41286
|
* feature-image-derivative-optimization Phase 2 — this URL now serves the
|
|
@@ -40638,7 +41290,7 @@ declare const API_SURFACE_VERSION = "v2";
|
|
|
40638
41290
|
* `${url}/original` — always resolves to the original bytes regardless of
|
|
40639
41291
|
* `derivatives.display`. Derived, not stored (same as `url`).
|
|
40640
41292
|
* - `inUse` (Phase 7) is `true` when the attachment is referenced by the
|
|
40641
|
-
* page's latest revision body (a `/api/
|
|
41293
|
+
* page's latest revision body (a `/api/attachments/<id>` or legacy
|
|
40642
41294
|
* `/files/<id>` URI). `listAttachments` computes it by scanning the
|
|
40643
41295
|
* latest revision body once; when the revision is missing or empty it
|
|
40644
41296
|
* falls back to `true` for every attachment so files are not hidden
|
|
@@ -40679,7 +41331,7 @@ declare const AttachmentSchema: z.ZodObject<{
|
|
|
40679
41331
|
}, z.core.$strip>;
|
|
40680
41332
|
type Attachment = z.infer<typeof AttachmentSchema>;
|
|
40681
41333
|
/**
|
|
40682
|
-
* Attachment metadata as returned by `GET /api/
|
|
41334
|
+
* Attachment metadata as returned by `GET /api/attachments/:id/meta`.
|
|
40683
41335
|
*
|
|
40684
41336
|
* Identical to `AttachmentSchema` minus `inUse`: the meta endpoint resolves
|
|
40685
41337
|
* a bare attachment id (a body reference carries no page context) and
|
|
@@ -40998,7 +41650,7 @@ declare const AttachmentErrorSchema: z.ZodObject<{
|
|
|
40998
41650
|
}, z.core.$strip>;
|
|
40999
41651
|
type AttachmentError = z.infer<typeof AttachmentErrorSchema>;
|
|
41000
41652
|
/**
|
|
41001
|
-
* RFC-0004 Phase 6 — `POST /api/
|
|
41653
|
+
* RFC-0004 Phase 6 — `POST /api/attachments/upload`.
|
|
41002
41654
|
*
|
|
41003
41655
|
* The editor's paste / drag-and-drop handlers upload a file directly
|
|
41004
41656
|
* (multipart) and immediately splice the returned `url` into the
|
|
@@ -41016,12 +41668,26 @@ declare const UploadAttachmentResponseSchema: z.ZodObject<{
|
|
|
41016
41668
|
}, z.core.$strip>;
|
|
41017
41669
|
type UploadAttachmentResponse = z.infer<typeof UploadAttachmentResponseSchema>;
|
|
41018
41670
|
/**
|
|
41019
|
-
* Error envelope for `POST /api/
|
|
41671
|
+
* Error envelope for `POST /api/attachments/upload`. The `error`
|
|
41020
41672
|
* codes are lowercase + RFC-specified (distinct from the uppercase
|
|
41021
41673
|
* `AttachmentErrorCodeSchema` used by the list / add / delete endpoints)
|
|
41022
41674
|
* because the editor maps each code to a specific user-facing toast:
|
|
41023
41675
|
* - `too_large` — file exceeds the size cap (413).
|
|
41024
|
-
* - `disallowed_type`—
|
|
41676
|
+
* - `disallowed_type`— malformed request (bad multipart body, missing
|
|
41677
|
+
* file, invalid `intent`); a generic 400 bucket
|
|
41678
|
+
* predating feature-attachment-upload-policy, kept
|
|
41679
|
+
* as-is for those unrelated failure modes.
|
|
41680
|
+
* - `DISALLOWED_MIME`— the file's MIME type is outside the unified
|
|
41681
|
+
* upload allow-list (415). Deliberately spelled
|
|
41682
|
+
* the SAME as `AttachmentErrorCodeSchema`'s
|
|
41683
|
+
* `DISALLOWED_MIME` (not lowercased to
|
|
41684
|
+
* `disallowed_mime`) — feature-attachment-upload-policy's
|
|
41685
|
+
* cross-route parity requirement is that a MIME-type
|
|
41686
|
+
* rejection carries an identical code AND message
|
|
41687
|
+
* everywhere it happens (`addAttachment` and
|
|
41688
|
+
* `uploadAttachment` alike), even though the two
|
|
41689
|
+
* endpoints' envelopes otherwise keep their own
|
|
41690
|
+
* established casing convention for unrelated codes.
|
|
41025
41691
|
* - `rate_limited` — per-user upload budget exhausted (429); a
|
|
41026
41692
|
* `Retry-After` header carries the cooldown.
|
|
41027
41693
|
* - `no_permission` — caller cannot write attachments to `pageId` (403).
|
|
@@ -41029,6 +41695,7 @@ type UploadAttachmentResponse = z.infer<typeof UploadAttachmentResponseSchema>;
|
|
|
41029
41695
|
* offending MIME, the size limit) the client may surface verbatim.
|
|
41030
41696
|
*/
|
|
41031
41697
|
declare const UploadAttachmentErrorCodeSchema: z.ZodEnum<{
|
|
41698
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
41032
41699
|
too_large: "too_large";
|
|
41033
41700
|
disallowed_type: "disallowed_type";
|
|
41034
41701
|
rate_limited: "rate_limited";
|
|
@@ -41037,6 +41704,7 @@ declare const UploadAttachmentErrorCodeSchema: z.ZodEnum<{
|
|
|
41037
41704
|
type UploadAttachmentErrorCode = z.infer<typeof UploadAttachmentErrorCodeSchema>;
|
|
41038
41705
|
declare const UploadAttachmentErrorSchema: z.ZodObject<{
|
|
41039
41706
|
error: z.ZodEnum<{
|
|
41707
|
+
DISALLOWED_MIME: "DISALLOWED_MIME";
|
|
41040
41708
|
too_large: "too_large";
|
|
41041
41709
|
disallowed_type: "disallowed_type";
|
|
41042
41710
|
rate_limited: "rate_limited";
|
|
@@ -41047,17 +41715,34 @@ declare const UploadAttachmentErrorSchema: z.ZodObject<{
|
|
|
41047
41715
|
}, z.core.$strip>;
|
|
41048
41716
|
type UploadAttachmentError = z.infer<typeof UploadAttachmentErrorSchema>;
|
|
41049
41717
|
/**
|
|
41050
|
-
*
|
|
41051
|
-
*
|
|
41052
|
-
*
|
|
41053
|
-
*
|
|
41054
|
-
*
|
|
41718
|
+
* feature-attachment-upload-policy — the single "may this be uploaded at
|
|
41719
|
+
* all" allow-list, shared by every upload path: the general page
|
|
41720
|
+
* attachment endpoint (`POST /pages/:pageId/attachments`) and the editor's
|
|
41721
|
+
* paste / drag-and-drop endpoint (`POST /attachments/upload`, both
|
|
41722
|
+
* intents). A file's fate no longer depends on which of the three
|
|
41723
|
+
* affordances (attach button / paste / drag-and-drop) triggered the
|
|
41724
|
+
* upload — see the feature spec's "3 つの独立した問い" design judgment 1.
|
|
41725
|
+
* Per-route/per-intent SIZE caps (paste 10 MB / dnd 50 MB / add 100 MB)
|
|
41726
|
+
* are unchanged and stay in the api handler, independent of this list.
|
|
41727
|
+
*
|
|
41728
|
+
* Deliberately independent of `INLINE_SAFE_MIME`
|
|
41729
|
+
* (`attachment-stream.ts`) — that is a strict security boundary deciding
|
|
41730
|
+
* what may render inline in the browser, updated rarely and separately.
|
|
41731
|
+
* This list decides what may be STORED at all, and can be broad because
|
|
41732
|
+
* everything not on `INLINE_SAFE_MIME` is delivered as a download
|
|
41733
|
+
* regardless of whether it is accepted here.
|
|
41055
41734
|
*
|
|
41056
|
-
*
|
|
41057
|
-
*
|
|
41735
|
+
* Covers: raster + vector images, common document / text formats, office
|
|
41736
|
+
* documents (docx/xlsx/pptx and their legacy doc/xls/ppt forms), archives,
|
|
41737
|
+
* and the audio/video/json/xml/html types `@crowi/cli`'s `attach add` can
|
|
41738
|
+
* declare (`packages/cli/src/lib/media-type.ts`) — the general attach
|
|
41739
|
+
* route had NO check before this feature, so anything CLI could already
|
|
41740
|
+
* send must keep working. `application/octet-stream` (a client that sends
|
|
41741
|
+
* no `Content-Type`, or an unrecognised extension) is intentionally
|
|
41742
|
+
* included: an unknown type is not "clearly undesirable", it is simply
|
|
41743
|
+
* unknown, and it already downloads instead of rendering inline.
|
|
41058
41744
|
*/
|
|
41059
|
-
declare const
|
|
41060
|
-
declare const DND_EXTRA_UPLOAD_MIME: readonly ["application/pdf", "text/plain", "text/markdown", "text/csv", "application/zip"];
|
|
41745
|
+
declare const UPLOAD_ALLOWED_MIME: readonly ["image/png", "image/jpeg", "image/gif", "image/webp", "image/svg+xml", "image/bmp", "image/avif", "image/apng", "image/x-icon", "application/pdf", "text/plain", "text/markdown", "text/csv", "application/json", "application/xml", "text/html", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/zip", "application/gzip", "application/x-tar", "audio/mpeg", "audio/wav", "video/mp4", "video/webm", "video/quicktime", "application/octet-stream"];
|
|
41061
41746
|
|
|
41062
41747
|
/**
|
|
41063
41748
|
* Token-based authentication schemas, shared by the `tokenAuth` Hono
|
|
@@ -41066,7 +41751,7 @@ declare const DND_EXTRA_UPLOAD_MIME: readonly ["application/pdf", "text/plain",
|
|
|
41066
41751
|
* The legacy SSR-style schemas (`LoginRequestSchema`, `LoginResponseSchema`,
|
|
41067
41752
|
* `RegisterRequestSchema`, `RegisterResponseSchema`, `ErrorResponseSchema`)
|
|
41068
41753
|
* that backed the deleted `auth` contract were removed in RFC-0006 Phase 4
|
|
41069
|
-
* Batch 1 — the corresponding `/api/
|
|
41754
|
+
* Batch 1 — the corresponding `/api/login` / `/api/register` paths
|
|
41070
41755
|
* had no production frontend consumer and were dropped wholesale.
|
|
41071
41756
|
*/
|
|
41072
41757
|
|
|
@@ -41112,7 +41797,7 @@ type RegisterPendingResponse = z.infer<typeof RegisterPendingResponseSchema>;
|
|
|
41112
41797
|
|
|
41113
41798
|
/**
|
|
41114
41799
|
* RFC-0004 Phase 5 — schemas for the autocomplete endpoints
|
|
41115
|
-
* (`GET /api/
|
|
41800
|
+
* (`GET /api/users/autocomplete`, `GET /api/pages/autocomplete`).
|
|
41116
41801
|
*
|
|
41117
41802
|
* Autocomplete powers the editor's `@username` / `[[page]]` dropdowns.
|
|
41118
41803
|
* Both endpoints share one query shape and one result shape so the
|
|
@@ -41323,7 +42008,14 @@ declare const BookmarkSchema: z.ZodObject<{
|
|
|
41323
42008
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41324
42009
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41325
42010
|
}, z.core.$strip>>;
|
|
41326
|
-
renderedAst: z.ZodOptional<z.
|
|
42011
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
42012
|
+
astVersion: z.ZodLiteral<1>;
|
|
42013
|
+
root: z.ZodUnknown;
|
|
42014
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42015
|
+
type: z.ZodLiteral<"root">;
|
|
42016
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
42017
|
+
}, z.core.$strip>]>>;
|
|
42018
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
41327
42019
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
41328
42020
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41329
42021
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -41457,7 +42149,14 @@ declare const BookmarkResponseSchema: z.ZodObject<{
|
|
|
41457
42149
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41458
42150
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41459
42151
|
}, z.core.$strip>>;
|
|
41460
|
-
renderedAst: z.ZodOptional<z.
|
|
42152
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
42153
|
+
astVersion: z.ZodLiteral<1>;
|
|
42154
|
+
root: z.ZodUnknown;
|
|
42155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42156
|
+
type: z.ZodLiteral<"root">;
|
|
42157
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
42158
|
+
}, z.core.$strip>]>>;
|
|
42159
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
41461
42160
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
41462
42161
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41463
42162
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -41588,7 +42287,14 @@ declare const ListMyBookmarksResponseSchema: z.ZodObject<{
|
|
|
41588
42287
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41589
42288
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41590
42289
|
}, z.core.$strip>>;
|
|
41591
|
-
renderedAst: z.ZodOptional<z.
|
|
42290
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
42291
|
+
astVersion: z.ZodLiteral<1>;
|
|
42292
|
+
root: z.ZodUnknown;
|
|
42293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42294
|
+
type: z.ZodLiteral<"root">;
|
|
42295
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
42296
|
+
}, z.core.$strip>]>>;
|
|
42297
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
41592
42298
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
41593
42299
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41594
42300
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -41706,7 +42412,7 @@ type RemoveBookmarkResponse = z.infer<typeof RemoveBookmarkResponseSchema>;
|
|
|
41706
42412
|
* the actual ts-rest contracts and Hocuspocus message handlers in
|
|
41707
42413
|
* later phases:
|
|
41708
42414
|
*
|
|
41709
|
-
* - Phase 2 (`GET /api/
|
|
42415
|
+
* - Phase 2 (`GET /api/pages/:id/yjs-token`) consumes
|
|
41710
42416
|
* `WsTokenResponseSchema`.
|
|
41711
42417
|
* - Phase 5 (Hocuspocus custom message handler) consumes
|
|
41712
42418
|
* `CollabSaveMessageSchema` and `CollabSaveErrorSchema`.
|
|
@@ -41759,7 +42465,7 @@ declare const RevisionTypeSchema: z.ZodEnum<{
|
|
|
41759
42465
|
type RevisionType = z.infer<typeof RevisionTypeSchema>;
|
|
41760
42466
|
/**
|
|
41761
42467
|
* Response body of the Phase 2 wsToken endpoint
|
|
41762
|
-
* (`GET /api/
|
|
42468
|
+
* (`GET /api/pages/:id/yjs-token`). The Hocuspocus client
|
|
41763
42469
|
* (`HocuspocusProvider`) takes the `wsToken` and presents it on
|
|
41764
42470
|
* connect; the server validates it via `onAuthenticate`.
|
|
41765
42471
|
*
|
|
@@ -42129,7 +42835,7 @@ declare const ConflictErrorSchema: z.ZodObject<{
|
|
|
42129
42835
|
* clients branch on which subsystem is missing without parsing `message`.
|
|
42130
42836
|
*
|
|
42131
42837
|
* Examples of `feature` values the API surfaces:
|
|
42132
|
-
* - `'search'` — `GET /api/
|
|
42838
|
+
* - `'search'` — `GET /api/search` when no `@crowi/plugin-search-*`
|
|
42133
42839
|
* is installed in the runner project.
|
|
42134
42840
|
* - `'notifier'` (future) — when no slack / chat notifier driver is registered.
|
|
42135
42841
|
* - `'mailer'` (future) — when SMTP transport is not configured.
|
|
@@ -42172,7 +42878,7 @@ type ForbiddenError = z.infer<typeof ForbiddenErrorSchema>;
|
|
|
42172
42878
|
|
|
42173
42879
|
/**
|
|
42174
42880
|
* RFC-0004 Phase 3 — schemas for the drafts endpoints
|
|
42175
|
-
* (`POST` / `GET` / `DELETE` under `/api/
|
|
42881
|
+
* (`POST` / `GET` / `DELETE` under `/api/pages/drafts`).
|
|
42176
42882
|
*
|
|
42177
42883
|
* A *draft* is a `Page` with `status === 'draft'`: a brand-new page in
|
|
42178
42884
|
* progress, visible only to its author until the first save promotes it
|
|
@@ -42180,7 +42886,7 @@ type ForbiddenError = z.infer<typeof ForbiddenErrorSchema>;
|
|
|
42180
42886
|
* wire format and the same-path conflict (409) body.
|
|
42181
42887
|
*/
|
|
42182
42888
|
/**
|
|
42183
|
-
* Request body for `POST /api/
|
|
42889
|
+
* Request body for `POST /api/pages/drafts`.
|
|
42184
42890
|
* `path` is the canonical wiki path the new page will occupy.
|
|
42185
42891
|
* `initialBody` seeds the draft's first revision; defaults to empty.
|
|
42186
42892
|
*/
|
|
@@ -42190,7 +42896,7 @@ declare const CreateDraftRequestSchema: z.ZodObject<{
|
|
|
42190
42896
|
}, z.core.$strip>;
|
|
42191
42897
|
type CreateDraftRequest = z.infer<typeof CreateDraftRequestSchema>;
|
|
42192
42898
|
/**
|
|
42193
|
-
* Success body for `POST /api/
|
|
42899
|
+
* Success body for `POST /api/pages/drafts` (201). Only the new
|
|
42194
42900
|
* `pageId` is returned — the client navigates to `/pages/<id>/edit`
|
|
42195
42901
|
* and the collab session loads the rest.
|
|
42196
42902
|
*/
|
|
@@ -42211,7 +42917,7 @@ declare const DraftConflictOwnerSchema: z.ZodObject<{
|
|
|
42211
42917
|
}, z.core.$strip>;
|
|
42212
42918
|
type DraftConflictOwner = z.infer<typeof DraftConflictOwnerSchema>;
|
|
42213
42919
|
/**
|
|
42214
|
-
* 409 body for `POST /api/
|
|
42920
|
+
* 409 body for `POST /api/pages/drafts` when another user already
|
|
42215
42921
|
* holds a draft at the requested path. `error` is a stable machine
|
|
42216
42922
|
* code; `owner` lets the UI show the contact-the-owner message;
|
|
42217
42923
|
* `message` is a human-readable fallback.
|
|
@@ -42227,7 +42933,7 @@ declare const DraftPathConflictErrorSchema: z.ZodObject<{
|
|
|
42227
42933
|
}, z.core.$strip>;
|
|
42228
42934
|
type DraftPathConflictError = z.infer<typeof DraftPathConflictErrorSchema>;
|
|
42229
42935
|
/**
|
|
42230
|
-
* Generic 400 for `POST /api/
|
|
42936
|
+
* Generic 400 for `POST /api/pages/drafts` — an uncreatable path,
|
|
42231
42937
|
* or a path already occupied by a *published* page (not another
|
|
42232
42938
|
* user's draft, which is the 409 case above).
|
|
42233
42939
|
*/
|
|
@@ -42240,7 +42946,7 @@ declare const DraftBadRequestErrorSchema: z.ZodObject<{
|
|
|
42240
42946
|
}, z.core.$strip>;
|
|
42241
42947
|
type DraftBadRequestError = z.infer<typeof DraftBadRequestErrorSchema>;
|
|
42242
42948
|
/**
|
|
42243
|
-
* 403 / 404 body for `DELETE /api/
|
|
42949
|
+
* 403 / 404 body for `DELETE /api/pages/drafts/:id` — the id is not
|
|
42244
42950
|
* a draft the caller owns. The same generic shape covers both "no such
|
|
42245
42951
|
* draft" and "not your draft" so draft existence is never leaked.
|
|
42246
42952
|
*/
|
|
@@ -42250,7 +42956,7 @@ declare const DraftNotFoundErrorSchema: z.ZodObject<{
|
|
|
42250
42956
|
}, z.core.$strip>;
|
|
42251
42957
|
type DraftNotFoundError = z.infer<typeof DraftNotFoundErrorSchema>;
|
|
42252
42958
|
/**
|
|
42253
|
-
* A single row in `GET /api/
|
|
42959
|
+
* A single row in `GET /api/pages/drafts` — enough for the
|
|
42254
42960
|
* `Creating pages` view: identifiers (`pageId`, `path`), and the two
|
|
42255
42961
|
* timestamps that frame "did I make progress recently or is this stale"
|
|
42256
42962
|
* (`createdAt`, `updatedAt`).
|
|
@@ -42272,7 +42978,7 @@ declare const DraftSummarySchema: z.ZodObject<{
|
|
|
42272
42978
|
}, z.core.$strip>;
|
|
42273
42979
|
type DraftSummary = z.infer<typeof DraftSummarySchema>;
|
|
42274
42980
|
/**
|
|
42275
|
-
* Success body for `GET /api/
|
|
42981
|
+
* Success body for `GET /api/pages/drafts`. Lists only the calling
|
|
42276
42982
|
* user's own drafts, newest first.
|
|
42277
42983
|
*/
|
|
42278
42984
|
declare const ListDraftsResponseSchema: z.ZodObject<{
|
|
@@ -42389,9 +43095,9 @@ declare const LanguageSchema: z.ZodEnum<{
|
|
|
42389
43095
|
}>;
|
|
42390
43096
|
type Language = z.infer<typeof LanguageSchema>;
|
|
42391
43097
|
declare const ThemeSchema: z.ZodEnum<{
|
|
42392
|
-
system: "system";
|
|
42393
43098
|
light: "light";
|
|
42394
43099
|
dark: "dark";
|
|
43100
|
+
system: "system";
|
|
42395
43101
|
}>;
|
|
42396
43102
|
type Theme = z.infer<typeof ThemeSchema>;
|
|
42397
43103
|
declare const UserProfileResponseSchema: z.ZodObject<{
|
|
@@ -42404,9 +43110,9 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
42404
43110
|
ja: "ja";
|
|
42405
43111
|
}>;
|
|
42406
43112
|
theme: z.ZodEnum<{
|
|
42407
|
-
system: "system";
|
|
42408
43113
|
light: "light";
|
|
42409
43114
|
dark: "dark";
|
|
43115
|
+
system: "system";
|
|
42410
43116
|
}>;
|
|
42411
43117
|
image: z.ZodNullable<z.ZodString>;
|
|
42412
43118
|
introduction: z.ZodOptional<z.ZodString>;
|
|
@@ -42428,18 +43134,18 @@ declare const UpdateProfileRequestSchema: z.ZodObject<{
|
|
|
42428
43134
|
type UpdateProfileRequest = z.infer<typeof UpdateProfileRequestSchema>;
|
|
42429
43135
|
declare const UpdateThemeRequestSchema: z.ZodObject<{
|
|
42430
43136
|
theme: z.ZodEnum<{
|
|
42431
|
-
system: "system";
|
|
42432
43137
|
light: "light";
|
|
42433
43138
|
dark: "dark";
|
|
43139
|
+
system: "system";
|
|
42434
43140
|
}>;
|
|
42435
43141
|
}, z.core.$strip>;
|
|
42436
43142
|
type UpdateThemeRequest = z.infer<typeof UpdateThemeRequestSchema>;
|
|
42437
43143
|
declare const ThemeUpdateResponseSchema: z.ZodObject<{
|
|
42438
43144
|
status: z.ZodLiteral<"ok">;
|
|
42439
43145
|
theme: z.ZodEnum<{
|
|
42440
|
-
system: "system";
|
|
42441
43146
|
light: "light";
|
|
42442
43147
|
dark: "dark";
|
|
43148
|
+
system: "system";
|
|
42443
43149
|
}>;
|
|
42444
43150
|
}, z.core.$strip>;
|
|
42445
43151
|
type ThemeUpdateResponse = z.infer<typeof ThemeUpdateResponseSchema>;
|
|
@@ -42517,7 +43223,14 @@ declare const RecentlyViewedPagesResponseSchema: z.ZodObject<{
|
|
|
42517
43223
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42518
43224
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42519
43225
|
}, z.core.$strip>>;
|
|
42520
|
-
renderedAst: z.ZodOptional<z.
|
|
43226
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
43227
|
+
astVersion: z.ZodLiteral<1>;
|
|
43228
|
+
root: z.ZodUnknown;
|
|
43229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43230
|
+
type: z.ZodLiteral<"root">;
|
|
43231
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
43232
|
+
}, z.core.$strip>]>>;
|
|
43233
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
42521
43234
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
42522
43235
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42523
43236
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -42815,7 +43528,7 @@ declare const NotificationNotFoundErrorSchema: z.ZodObject<{
|
|
|
42815
43528
|
}, z.core.$strip>;
|
|
42816
43529
|
type NotificationNotFoundError = z.infer<typeof NotificationNotFoundErrorSchema>;
|
|
42817
43530
|
/**
|
|
42818
|
-
* Response body of `GET /api/
|
|
43531
|
+
* Response body of `GET /api/notifications/token`.
|
|
42819
43532
|
*
|
|
42820
43533
|
* Used by the browser to authenticate the `/notifications/<userId>` WebSocket
|
|
42821
43534
|
* handshake that fans out per-user notification invalidation signals
|
|
@@ -43150,7 +43863,7 @@ declare const GRANT_TYPES_SUPPORTED: readonly ["authorization_code", "refresh_to
|
|
|
43150
43863
|
* `GET /.well-known/oauth-authorization-server` response (RFC 8414). Lets
|
|
43151
43864
|
* CLIs / SDKs auto-discover endpoints. `authorization_endpoint` is the
|
|
43152
43865
|
* **web** consent screen origin; `token_endpoint` / `revocation_endpoint`
|
|
43153
|
-
* are the `/api/
|
|
43866
|
+
* are the `/api/oauth/*` API (the two live on different base URLs —
|
|
43154
43867
|
* RFC-0010, PHASE3-Q6). `device_authorization_endpoint` is optional so
|
|
43155
43868
|
* Phase 4 can add it without a schema break.
|
|
43156
43869
|
*/
|
|
@@ -43282,7 +43995,14 @@ declare const RevisionSchema: z.ZodObject<{
|
|
|
43282
43995
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43283
43996
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43284
43997
|
}, z.core.$strip>>;
|
|
43285
|
-
renderedAst: z.ZodOptional<z.
|
|
43998
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
43999
|
+
astVersion: z.ZodLiteral<1>;
|
|
44000
|
+
root: z.ZodUnknown;
|
|
44001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44002
|
+
type: z.ZodLiteral<"root">;
|
|
44003
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44004
|
+
}, z.core.$strip>]>>;
|
|
44005
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43286
44006
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43287
44007
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43288
44008
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43351,7 +44071,14 @@ declare const PageSchema: z.ZodObject<{
|
|
|
43351
44071
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43352
44072
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43353
44073
|
}, z.core.$strip>>;
|
|
43354
|
-
renderedAst: z.ZodOptional<z.
|
|
44074
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44075
|
+
astVersion: z.ZodLiteral<1>;
|
|
44076
|
+
root: z.ZodUnknown;
|
|
44077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44078
|
+
type: z.ZodLiteral<"root">;
|
|
44079
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44080
|
+
}, z.core.$strip>]>>;
|
|
44081
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43355
44082
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43356
44083
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43357
44084
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43478,7 +44205,14 @@ declare const PageWithRevisionSchema: z.ZodObject<{
|
|
|
43478
44205
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43479
44206
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43480
44207
|
}, z.core.$strip>>;
|
|
43481
|
-
renderedAst: z.ZodOptional<z.
|
|
44208
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44209
|
+
astVersion: z.ZodLiteral<1>;
|
|
44210
|
+
root: z.ZodUnknown;
|
|
44211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44212
|
+
type: z.ZodLiteral<"root">;
|
|
44213
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44214
|
+
}, z.core.$strip>]>>;
|
|
44215
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43482
44216
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43483
44217
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43484
44218
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43592,7 +44326,14 @@ declare const GetPageResponseSchema: z.ZodObject<{
|
|
|
43592
44326
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43593
44327
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43594
44328
|
}, z.core.$strip>>;
|
|
43595
|
-
renderedAst: z.ZodOptional<z.
|
|
44329
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44330
|
+
astVersion: z.ZodLiteral<1>;
|
|
44331
|
+
root: z.ZodUnknown;
|
|
44332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44333
|
+
type: z.ZodLiteral<"root">;
|
|
44334
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44335
|
+
}, z.core.$strip>]>>;
|
|
44336
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43596
44337
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43597
44338
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43598
44339
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43701,7 +44442,14 @@ declare const ClaimPageLinkAccessResponseSchema: z.ZodObject<{
|
|
|
43701
44442
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43702
44443
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43703
44444
|
}, z.core.$strip>>;
|
|
43704
|
-
renderedAst: z.ZodOptional<z.
|
|
44445
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44446
|
+
astVersion: z.ZodLiteral<1>;
|
|
44447
|
+
root: z.ZodUnknown;
|
|
44448
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44449
|
+
type: z.ZodLiteral<"root">;
|
|
44450
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44451
|
+
}, z.core.$strip>]>>;
|
|
44452
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43705
44453
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43706
44454
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43707
44455
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43816,7 +44564,14 @@ declare const ListPagesResponseSchema: z.ZodObject<{
|
|
|
43816
44564
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43817
44565
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43818
44566
|
}, z.core.$strip>>;
|
|
43819
|
-
renderedAst: z.ZodOptional<z.
|
|
44567
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44568
|
+
astVersion: z.ZodLiteral<1>;
|
|
44569
|
+
root: z.ZodUnknown;
|
|
44570
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44571
|
+
type: z.ZodLiteral<"root">;
|
|
44572
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44573
|
+
}, z.core.$strip>]>>;
|
|
44574
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43820
44575
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43821
44576
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43822
44577
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -43927,7 +44682,14 @@ declare const ListPagesResponseSchema: z.ZodObject<{
|
|
|
43927
44682
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43928
44683
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43929
44684
|
}, z.core.$strip>>;
|
|
43930
|
-
renderedAst: z.ZodOptional<z.
|
|
44685
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44686
|
+
astVersion: z.ZodLiteral<1>;
|
|
44687
|
+
root: z.ZodUnknown;
|
|
44688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44689
|
+
type: z.ZodLiteral<"root">;
|
|
44690
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44691
|
+
}, z.core.$strip>]>>;
|
|
44692
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
43931
44693
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
43932
44694
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43933
44695
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -44033,7 +44795,14 @@ declare const ListPagesResponseSchema: z.ZodObject<{
|
|
|
44033
44795
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44034
44796
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44035
44797
|
}, z.core.$strip>>;
|
|
44036
|
-
renderedAst: z.ZodOptional<z.
|
|
44798
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44799
|
+
astVersion: z.ZodLiteral<1>;
|
|
44800
|
+
root: z.ZodUnknown;
|
|
44801
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44802
|
+
type: z.ZodLiteral<"root">;
|
|
44803
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44804
|
+
}, z.core.$strip>]>>;
|
|
44805
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
44037
44806
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
44038
44807
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44039
44808
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -44104,6 +44873,7 @@ declare const ListPagesResponseSchema: z.ZodObject<{
|
|
|
44104
44873
|
likerCount: z.ZodOptional<z.ZodNumber>;
|
|
44105
44874
|
seenUsersCount: z.ZodOptional<z.ZodNumber>;
|
|
44106
44875
|
}, z.core.$strip>>>;
|
|
44876
|
+
total: z.ZodNumber;
|
|
44107
44877
|
}, z.core.$strip>;
|
|
44108
44878
|
type ListPagesResponse = z.infer<typeof ListPagesResponseSchema>;
|
|
44109
44879
|
declare const PageChildSegmentSchema: z.ZodObject<{
|
|
@@ -44215,7 +44985,14 @@ declare const RenamePageResponseSchema: z.ZodObject<{
|
|
|
44215
44985
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44216
44986
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44217
44987
|
}, z.core.$strip>>;
|
|
44218
|
-
renderedAst: z.ZodOptional<z.
|
|
44988
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
44989
|
+
astVersion: z.ZodLiteral<1>;
|
|
44990
|
+
root: z.ZodUnknown;
|
|
44991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44992
|
+
type: z.ZodLiteral<"root">;
|
|
44993
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
44994
|
+
}, z.core.$strip>]>>;
|
|
44995
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
44219
44996
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
44220
44997
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44221
44998
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -44389,13 +45166,22 @@ declare const PreviewPageRequestSchema: z.ZodObject<{
|
|
|
44389
45166
|
type PreviewPageRequest = z.infer<typeof PreviewPageRequestSchema>;
|
|
44390
45167
|
/**
|
|
44391
45168
|
* Response shape mirrors the `renderedAst` carried on a populated
|
|
44392
|
-
* revision
|
|
44393
|
-
* `RevisionSchema.renderedAst`
|
|
44394
|
-
*
|
|
44395
|
-
* client
|
|
45169
|
+
* revision (RFC-0023): the same envelope-or-bare-Root union as
|
|
45170
|
+
* `RevisionSchema.renderedAst` — preview does NOT go through
|
|
45171
|
+
* `RevisionSchema`, so it must carry the union independently or the
|
|
45172
|
+
* declared-client (v1) preview response would never surface in the
|
|
45173
|
+
* contract types. `renderedAstArtifactKey` is a per-response nonce
|
|
45174
|
+
* here (preview output is never a stored artifact).
|
|
44396
45175
|
*/
|
|
44397
45176
|
declare const PreviewPageResponseSchema: z.ZodObject<{
|
|
44398
|
-
renderedAst: z.
|
|
45177
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
45178
|
+
astVersion: z.ZodLiteral<1>;
|
|
45179
|
+
root: z.ZodUnknown;
|
|
45180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45181
|
+
type: z.ZodLiteral<"root">;
|
|
45182
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
45183
|
+
}, z.core.$strip>]>>;
|
|
45184
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
44399
45185
|
}, z.core.$strip>;
|
|
44400
45186
|
type PreviewPageResponse = z.infer<typeof PreviewPageResponseSchema>;
|
|
44401
45187
|
|
|
@@ -44435,7 +45221,7 @@ type ResetPasswordRequest = z.infer<typeof ResetPasswordRequestSchema>;
|
|
|
44435
45221
|
*
|
|
44436
45222
|
* Two surfaces are described here:
|
|
44437
45223
|
*
|
|
44438
|
-
* - the HTTP `GET /api/
|
|
45224
|
+
* - the HTTP `GET /api/pages/:id/presence-token` response
|
|
44439
45225
|
* (`PresenceTokenResponseSchema` / `PresenceTokenPayloadSchema`),
|
|
44440
45226
|
* - the WebSocket `/presence/:pageId` message envelope
|
|
44441
45227
|
* (`PresenceClientMessageSchema` / `PresenceServerMessageSchema`).
|
|
@@ -44447,7 +45233,7 @@ type ResetPasswordRequest = z.infer<typeof ResetPasswordRequestSchema>;
|
|
|
44447
45233
|
* never be replayed against the presence channel and vice versa.
|
|
44448
45234
|
*/
|
|
44449
45235
|
/**
|
|
44450
|
-
* Response body of `GET /api/
|
|
45236
|
+
* Response body of `GET /api/pages/:id/presence-token`.
|
|
44451
45237
|
*
|
|
44452
45238
|
* - `token` — short-lived JWT (5 min) the browser presents on
|
|
44453
45239
|
* the `/presence/:pageId?token=` WebSocket connect.
|
|
@@ -44639,7 +45425,7 @@ declare const PresenceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
44639
45425
|
}, z.core.$strip>], "type">;
|
|
44640
45426
|
type PresenceServerMessage = z.infer<typeof PresenceServerMessageSchema>;
|
|
44641
45427
|
/**
|
|
44642
|
-
* RFC-0005 Phase 3 — `GET /api/
|
|
45428
|
+
* RFC-0005 Phase 3 — `GET /api/pages/:id/likers`.
|
|
44643
45429
|
*
|
|
44644
45430
|
* A single entry in the "liked by" list. Sourced from the page's
|
|
44645
45431
|
* `liker` ObjectId array (the authoritative set of who liked the
|
|
@@ -44657,7 +45443,7 @@ declare const LikerSchema: z.ZodObject<{
|
|
|
44657
45443
|
}, z.core.$strip>;
|
|
44658
45444
|
type Liker = z.infer<typeof LikerSchema>;
|
|
44659
45445
|
/**
|
|
44660
|
-
* Response body of `GET /api/
|
|
45446
|
+
* Response body of `GET /api/pages/:id/likers`.
|
|
44661
45447
|
*
|
|
44662
45448
|
* - `users` — the liker list, newest-liked first when `likedAt`
|
|
44663
45449
|
* is known (entries without a timestamp sort last).
|
|
@@ -44675,12 +45461,588 @@ declare const LikersResponseSchema: z.ZodObject<{
|
|
|
44675
45461
|
totalCount: z.ZodNumber;
|
|
44676
45462
|
}, z.core.$strip>;
|
|
44677
45463
|
type LikersResponse = z.infer<typeof LikersResponseSchema>;
|
|
44678
|
-
/** Query schema of `GET /api/
|
|
45464
|
+
/** Query schema of `GET /api/pages/:id/likers`. */
|
|
44679
45465
|
declare const GetLikersRequestSchema: z.ZodObject<{
|
|
44680
45466
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
44681
45467
|
}, z.core.$strip>;
|
|
44682
45468
|
type GetLikersRequest = z.infer<typeof GetLikersRequestSchema>;
|
|
44683
45469
|
|
|
45470
|
+
/**
|
|
45471
|
+
* RFC-0023 / feature-rendered-ast-wire-contract — the `renderedAst`
|
|
45472
|
+
* wire contract.
|
|
45473
|
+
*
|
|
45474
|
+
* Two independent layers live in this file:
|
|
45475
|
+
*
|
|
45476
|
+
* 1. **The OpenAPI-facing wire union** (`RenderedAstValueSchema`):
|
|
45477
|
+
* `RenderedAstEnvelopeOpenApiSchema | LooseRenderedAstRootSchema`.
|
|
45478
|
+
* The envelope member keeps `root` as `z.unknown()` at the OpenAPI
|
|
45479
|
+
* layer — this is the design doc §2's *documented fallback*: the
|
|
45480
|
+
* strict recursive discriminated union below is not flowed into the
|
|
45481
|
+
* OpenAPI generator (recursive `z.lazy` unions do not serialise
|
|
45482
|
+
* cleanly), and the legacy member is intentionally loose anyway.
|
|
45483
|
+
* The strict validation's effective enforcement points — the server
|
|
45484
|
+
* walker (`packages/api/src/renderer/sanitize-ast.ts`) and the iOS
|
|
45485
|
+
* decoder — are unaffected by this choice.
|
|
45486
|
+
*
|
|
45487
|
+
* 2. **The strict schemas + node registry** (`RenderedAstNodeSchema`,
|
|
45488
|
+
* `RENDERED_AST_NODE_DEFS`, sidecar schemas): the single authority
|
|
45489
|
+
* both the api-side sanitising walker (projection input + post-walk
|
|
45490
|
+
* `.parse()` assertion) and the dispatch sidecar mapper reference.
|
|
45491
|
+
*
|
|
45492
|
+
* The **legacy branch is unvalidated by contract** (design doc §2): a
|
|
45493
|
+
* request that does not declare `X-Crowi-Ast-Version: 1` receives the
|
|
45494
|
+
* stored bare mdast `Root` verbatim — no depth / byte / mediaType /
|
|
45495
|
+
* base64 / URL-scheme limit is ever applied to it, and
|
|
45496
|
+
* `LooseRenderedAstRootSchema` is deliberately NOT an alias of the
|
|
45497
|
+
* strict union (third-party `addUnifiedPlugin` / `addNodeRenderer`
|
|
45498
|
+
* nodes with arbitrary `type` strings are *expected* in legacy
|
|
45499
|
+
* responses). This loose member is permanent for as long as the web
|
|
45500
|
+
* client exists (design doc §9).
|
|
45501
|
+
*/
|
|
45502
|
+
/** Contract generation of the typed AST wire shape. Single integer, not semver. */
|
|
45503
|
+
declare const CURRENT_AST_VERSION: 1;
|
|
45504
|
+
/**
|
|
45505
|
+
* Coarse input-side DoS gate for `sanitizeAst` — measured on the raw
|
|
45506
|
+
* stored AST (pre-projection). Also the per-AST component of the
|
|
45507
|
+
* save-time revision size guard (design doc §10) so a stored AST can
|
|
45508
|
+
* never trip this gate on read.
|
|
45509
|
+
*/
|
|
45510
|
+
declare const AST_INPUT_LIMIT_BYTES: number;
|
|
45511
|
+
/** Output-side (post-projection) envelope budget — warn threshold. */
|
|
45512
|
+
declare const AST_OUTPUT_WARN_BYTES: number;
|
|
45513
|
+
/** Output-side (post-projection) envelope budget — node-degrade threshold. Never fails the whole envelope. */
|
|
45514
|
+
declare const AST_OUTPUT_BUDGET_BYTES: number;
|
|
45515
|
+
/** Iterative pre-pass tree depth limit (never rely on zod recursion for this). */
|
|
45516
|
+
declare const AST_MAX_TREE_DEPTH = 64;
|
|
45517
|
+
/** Iterative pre-pass depth limit for `data.hChildren` hast subtrees. */
|
|
45518
|
+
declare const AST_MAX_HAST_DEPTH = 16;
|
|
45519
|
+
/** base64 char cap for embedded diagram payloads (≈100KB decoded via the 4/3 expansion). */
|
|
45520
|
+
declare const AST_MAX_IMAGE_BASE64_CHARS = 140000;
|
|
45521
|
+
/** Free-form string value cap on wire nodes (`text.value`, `code.value`, `html.value`, TeX source, ...). */
|
|
45522
|
+
declare const AST_MAX_VALUE_CHARS = 200000;
|
|
45523
|
+
/**
|
|
45524
|
+
* Bounded `data.hProperties`. Explicit keys cover the shipped
|
|
45525
|
+
* producers (heading anchors, emoji a11y, preview scroll-sync, image
|
|
45526
|
+
* display attributes); the bounded catchall is the escape valve for
|
|
45527
|
+
* future HTML-attribute-like additions. The 4096-char string cap is
|
|
45528
|
+
* safe because no shipped producer ever puts a large payload into
|
|
45529
|
+
* `hProperties` — base64 diagrams / shiki HTML live inside `html`
|
|
45530
|
+
* node *values*, never here.
|
|
45531
|
+
*/
|
|
45532
|
+
declare const HPropertiesSchema: z.ZodObject<{
|
|
45533
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45534
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45535
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45536
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45537
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45538
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45539
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45540
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45541
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45542
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>;
|
|
45543
|
+
/** Bounded hast subset allowed inside `data.hChildren` (e.g. remark-emoji's accessible text child). */
|
|
45544
|
+
type HChild = {
|
|
45545
|
+
type: 'raw';
|
|
45546
|
+
value: string;
|
|
45547
|
+
} | {
|
|
45548
|
+
type: 'text';
|
|
45549
|
+
value: string;
|
|
45550
|
+
} | {
|
|
45551
|
+
type: 'element';
|
|
45552
|
+
tagName: string;
|
|
45553
|
+
properties?: Record<string, unknown>;
|
|
45554
|
+
children: HChild[];
|
|
45555
|
+
};
|
|
45556
|
+
declare const HChildSchema: z.ZodType<HChild>;
|
|
45557
|
+
declare const HChildrenSchema: z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>;
|
|
45558
|
+
declare const HNameSchema: z.ZodString;
|
|
45559
|
+
/** Common `data` every node type may optionally carry (design doc §4). */
|
|
45560
|
+
declare const HastHintDataSchema: z.ZodObject<{
|
|
45561
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45562
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45563
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45564
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45565
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45566
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45567
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45568
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45569
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45570
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45571
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45572
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45573
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45574
|
+
}, z.core.$strip>;
|
|
45575
|
+
type HastHintData = z.infer<typeof HastHintDataSchema>;
|
|
45576
|
+
declare const CrowiDimensionSchema: z.ZodNumber;
|
|
45577
|
+
declare const CrowiImagePayloadSchema: z.ZodObject<{
|
|
45578
|
+
mediaType: z.ZodEnum<{
|
|
45579
|
+
"image/png": "image/png";
|
|
45580
|
+
"image/svg+xml": "image/svg+xml";
|
|
45581
|
+
}>;
|
|
45582
|
+
base64: z.ZodString;
|
|
45583
|
+
width: z.ZodNumber;
|
|
45584
|
+
height: z.ZodNumber;
|
|
45585
|
+
}, z.core.$strip>;
|
|
45586
|
+
type CrowiImagePayload = z.infer<typeof CrowiImagePayloadSchema>;
|
|
45587
|
+
declare const ShikiTokenStyleSchema: z.ZodObject<{
|
|
45588
|
+
color: z.ZodString;
|
|
45589
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45590
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45591
|
+
bold: "bold";
|
|
45592
|
+
italic: "italic";
|
|
45593
|
+
underline: "underline";
|
|
45594
|
+
strikethrough: "strikethrough";
|
|
45595
|
+
}>>>;
|
|
45596
|
+
}, z.core.$strip>;
|
|
45597
|
+
declare const ShikiTokenSchema: z.ZodObject<{
|
|
45598
|
+
content: z.ZodString;
|
|
45599
|
+
light: z.ZodObject<{
|
|
45600
|
+
color: z.ZodString;
|
|
45601
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45602
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45603
|
+
bold: "bold";
|
|
45604
|
+
italic: "italic";
|
|
45605
|
+
underline: "underline";
|
|
45606
|
+
strikethrough: "strikethrough";
|
|
45607
|
+
}>>>;
|
|
45608
|
+
}, z.core.$strip>;
|
|
45609
|
+
dark: z.ZodObject<{
|
|
45610
|
+
color: z.ZodString;
|
|
45611
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45612
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45613
|
+
bold: "bold";
|
|
45614
|
+
italic: "italic";
|
|
45615
|
+
underline: "underline";
|
|
45616
|
+
strikethrough: "strikethrough";
|
|
45617
|
+
}>>>;
|
|
45618
|
+
}, z.core.$strip>;
|
|
45619
|
+
}, z.core.$strip>;
|
|
45620
|
+
type ShikiToken = z.infer<typeof ShikiTokenSchema>;
|
|
45621
|
+
declare const ShikiTokenLinesSchema: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
45622
|
+
content: z.ZodString;
|
|
45623
|
+
light: z.ZodObject<{
|
|
45624
|
+
color: z.ZodString;
|
|
45625
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45626
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45627
|
+
bold: "bold";
|
|
45628
|
+
italic: "italic";
|
|
45629
|
+
underline: "underline";
|
|
45630
|
+
strikethrough: "strikethrough";
|
|
45631
|
+
}>>>;
|
|
45632
|
+
}, z.core.$strip>;
|
|
45633
|
+
dark: z.ZodObject<{
|
|
45634
|
+
color: z.ZodString;
|
|
45635
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45636
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45637
|
+
bold: "bold";
|
|
45638
|
+
italic: "italic";
|
|
45639
|
+
underline: "underline";
|
|
45640
|
+
strikethrough: "strikethrough";
|
|
45641
|
+
}>>>;
|
|
45642
|
+
}, z.core.$strip>;
|
|
45643
|
+
}, z.core.$strip>>>;
|
|
45644
|
+
declare const CrowiCodeSidecarSchema: z.ZodObject<{
|
|
45645
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
45646
|
+
value: z.ZodString;
|
|
45647
|
+
tokens: z.ZodArray<z.ZodArray<z.ZodObject<{
|
|
45648
|
+
content: z.ZodString;
|
|
45649
|
+
light: z.ZodObject<{
|
|
45650
|
+
color: z.ZodString;
|
|
45651
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45652
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45653
|
+
bold: "bold";
|
|
45654
|
+
italic: "italic";
|
|
45655
|
+
underline: "underline";
|
|
45656
|
+
strikethrough: "strikethrough";
|
|
45657
|
+
}>>>;
|
|
45658
|
+
}, z.core.$strip>;
|
|
45659
|
+
dark: z.ZodObject<{
|
|
45660
|
+
color: z.ZodString;
|
|
45661
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
45662
|
+
fontStyle: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
45663
|
+
bold: "bold";
|
|
45664
|
+
italic: "italic";
|
|
45665
|
+
underline: "underline";
|
|
45666
|
+
strikethrough: "strikethrough";
|
|
45667
|
+
}>>>;
|
|
45668
|
+
}, z.core.$strip>;
|
|
45669
|
+
}, z.core.$strip>>>;
|
|
45670
|
+
}, z.core.$strip>;
|
|
45671
|
+
type CrowiCodeSidecar = z.infer<typeof CrowiCodeSidecarSchema>;
|
|
45672
|
+
declare const CrowiMathSidecarSchema: z.ZodObject<{
|
|
45673
|
+
tex: z.ZodString;
|
|
45674
|
+
display: z.ZodBoolean;
|
|
45675
|
+
}, z.core.$strip>;
|
|
45676
|
+
type CrowiMathSidecar = z.infer<typeof CrowiMathSidecarSchema>;
|
|
45677
|
+
declare const CrowiDiagramSidecarSchema: z.ZodObject<{
|
|
45678
|
+
kind: z.ZodEnum<{
|
|
45679
|
+
mermaid: "mermaid";
|
|
45680
|
+
plantuml: "plantuml";
|
|
45681
|
+
}>;
|
|
45682
|
+
diagramType: z.ZodOptional<z.ZodString>;
|
|
45683
|
+
alt: z.ZodString;
|
|
45684
|
+
image: z.ZodObject<{
|
|
45685
|
+
mediaType: z.ZodEnum<{
|
|
45686
|
+
"image/png": "image/png";
|
|
45687
|
+
"image/svg+xml": "image/svg+xml";
|
|
45688
|
+
}>;
|
|
45689
|
+
base64: z.ZodString;
|
|
45690
|
+
width: z.ZodNumber;
|
|
45691
|
+
height: z.ZodNumber;
|
|
45692
|
+
}, z.core.$strip>;
|
|
45693
|
+
}, z.core.$strip>;
|
|
45694
|
+
type CrowiDiagramSidecar = z.infer<typeof CrowiDiagramSidecarSchema>;
|
|
45695
|
+
declare const CrowiLinkCardSidecarSchema: z.ZodObject<{
|
|
45696
|
+
url: z.ZodString;
|
|
45697
|
+
title: z.ZodOptional<z.ZodString>;
|
|
45698
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45699
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
45700
|
+
url: z.ZodString;
|
|
45701
|
+
}, z.core.$strip>>;
|
|
45702
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
45703
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
45704
|
+
}, z.core.$strip>;
|
|
45705
|
+
type CrowiLinkCardSidecar = z.infer<typeof CrowiLinkCardSidecarSchema>;
|
|
45706
|
+
/**
|
|
45707
|
+
* The 13 placeholder kinds: the 8 render-error codes + the 2 cache
|
|
45708
|
+
* size-limit rejects + the per-run dispatch cap + the 2 validation
|
|
45709
|
+
* kinds. `validation-failed` is node-level (a known type failed a value
|
|
45710
|
+
* constraint); `envelope-invalid` is the envelope-level collapse
|
|
45711
|
+
* (design doc §7) — a distinct kind so clients can tell them apart
|
|
45712
|
+
* structurally without special-casing either.
|
|
45713
|
+
*/
|
|
45714
|
+
declare const CrowiPlaceholderKindSchema: z.ZodEnum<{
|
|
45715
|
+
"error-auth": "error-auth";
|
|
45716
|
+
"error-rate-limit": "error-rate-limit";
|
|
45717
|
+
"error-not-found": "error-not-found";
|
|
45718
|
+
"error-network": "error-network";
|
|
45719
|
+
"error-timeout": "error-timeout";
|
|
45720
|
+
"error-unknown": "error-unknown";
|
|
45721
|
+
"error-blocked": "error-blocked";
|
|
45722
|
+
"error-busy": "error-busy";
|
|
45723
|
+
"size-limit-entry": "size-limit-entry";
|
|
45724
|
+
"size-limit-page": "size-limit-page";
|
|
45725
|
+
"dispatch-limit": "dispatch-limit";
|
|
45726
|
+
"validation-failed": "validation-failed";
|
|
45727
|
+
"envelope-invalid": "envelope-invalid";
|
|
45728
|
+
}>;
|
|
45729
|
+
type CrowiPlaceholderKind = z.infer<typeof CrowiPlaceholderKindSchema>;
|
|
45730
|
+
/** Mirror of `@crowi/plugin-api`'s `Reservation` union (that package must not depend on this one). */
|
|
45731
|
+
declare const ReservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45732
|
+
variant: z.ZodLiteral<"fixed">;
|
|
45733
|
+
widthPx: z.ZodOptional<z.ZodNumber>;
|
|
45734
|
+
heightPx: z.ZodNumber;
|
|
45735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45736
|
+
variant: z.ZodLiteral<"aspect">;
|
|
45737
|
+
aspectRatio: z.ZodNumber;
|
|
45738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45739
|
+
variant: z.ZodLiteral<"card">;
|
|
45740
|
+
size: z.ZodEnum<{
|
|
45741
|
+
small: "small";
|
|
45742
|
+
medium: "medium";
|
|
45743
|
+
large: "large";
|
|
45744
|
+
}>;
|
|
45745
|
+
}, z.core.$strip>], "variant">;
|
|
45746
|
+
type ReservationShape = z.infer<typeof ReservationSchema>;
|
|
45747
|
+
declare const CrowiPlaceholderSidecarSchema: z.ZodObject<{
|
|
45748
|
+
kind: z.ZodEnum<{
|
|
45749
|
+
"error-auth": "error-auth";
|
|
45750
|
+
"error-rate-limit": "error-rate-limit";
|
|
45751
|
+
"error-not-found": "error-not-found";
|
|
45752
|
+
"error-network": "error-network";
|
|
45753
|
+
"error-timeout": "error-timeout";
|
|
45754
|
+
"error-unknown": "error-unknown";
|
|
45755
|
+
"error-blocked": "error-blocked";
|
|
45756
|
+
"error-busy": "error-busy";
|
|
45757
|
+
"size-limit-entry": "size-limit-entry";
|
|
45758
|
+
"size-limit-page": "size-limit-page";
|
|
45759
|
+
"dispatch-limit": "dispatch-limit";
|
|
45760
|
+
"validation-failed": "validation-failed";
|
|
45761
|
+
"envelope-invalid": "envelope-invalid";
|
|
45762
|
+
}>;
|
|
45763
|
+
label: z.ZodString;
|
|
45764
|
+
reservation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45765
|
+
variant: z.ZodLiteral<"fixed">;
|
|
45766
|
+
widthPx: z.ZodOptional<z.ZodNumber>;
|
|
45767
|
+
heightPx: z.ZodNumber;
|
|
45768
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45769
|
+
variant: z.ZodLiteral<"aspect">;
|
|
45770
|
+
aspectRatio: z.ZodNumber;
|
|
45771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45772
|
+
variant: z.ZodLiteral<"card">;
|
|
45773
|
+
size: z.ZodEnum<{
|
|
45774
|
+
small: "small";
|
|
45775
|
+
medium: "medium";
|
|
45776
|
+
large: "large";
|
|
45777
|
+
}>;
|
|
45778
|
+
}, z.core.$strip>], "variant">;
|
|
45779
|
+
}, z.core.$strip>;
|
|
45780
|
+
type CrowiPlaceholderSidecar = z.infer<typeof CrowiPlaceholderSidecarSchema>;
|
|
45781
|
+
/** The sidecar keys a producer may stamp on an `html` node's `data`. Exactly one per node. */
|
|
45782
|
+
declare const SIDECAR_KEYS: readonly ["crowiCode", "crowiMath", "crowiDiagram", "crowiLinkCard", "crowiPlaceholder"];
|
|
45783
|
+
type SidecarKey = (typeof SIDECAR_KEYS)[number];
|
|
45784
|
+
/** Where a node may appear. `listItems` / `tableRows` / `tableCells` are the structural positions. */
|
|
45785
|
+
type AstPlacement = 'flow' | 'phrasing' | 'both' | 'listItems' | 'tableRows' | 'tableCells';
|
|
45786
|
+
/** What a node's `children` array contains (`none` = leaf; children are dropped). */
|
|
45787
|
+
type AstChildModel = 'flow' | 'phrasing' | 'listItems' | 'tableRows' | 'tableCells' | 'none';
|
|
45788
|
+
/** Structural view of a zod safeParse the walker consumes without depending on zod generics. */
|
|
45789
|
+
interface AstFieldsValidator {
|
|
45790
|
+
safeParse(value: unknown): {
|
|
45791
|
+
success: true;
|
|
45792
|
+
data: Record<string, unknown>;
|
|
45793
|
+
} | {
|
|
45794
|
+
success: false;
|
|
45795
|
+
error: unknown;
|
|
45796
|
+
};
|
|
45797
|
+
}
|
|
45798
|
+
interface RenderedAstNodeDef {
|
|
45799
|
+
placement: AstPlacement;
|
|
45800
|
+
childModel: AstChildModel;
|
|
45801
|
+
/** Own (non-`type` / non-`data` / non-`children`) fields, nullability per `@types/mdast`. */
|
|
45802
|
+
fields: AstFieldsValidator;
|
|
45803
|
+
}
|
|
45804
|
+
/**
|
|
45805
|
+
* The closed type registry (design doc §3). Applies ONLY to
|
|
45806
|
+
* `X-Crowi-Ast-Version: 1` envelope generation — legacy responses never
|
|
45807
|
+
* consult it, and third-party `x-<plugin>-<type>` nodes are opaque-ised
|
|
45808
|
+
* by design (the web keeps rendering them through `mdast-util-to-hast`'s
|
|
45809
|
+
* generic `data.hName` fallback on the legacy branch).
|
|
45810
|
+
*/
|
|
45811
|
+
declare const RENDERED_AST_NODE_DEFS: Readonly<Record<string, RenderedAstNodeDef>>;
|
|
45812
|
+
/** A validated v1 wire node. Loose TS view; the runtime shape is pinned by the schema. */
|
|
45813
|
+
type RenderedAstNode = {
|
|
45814
|
+
type: string;
|
|
45815
|
+
} & Record<string, unknown>;
|
|
45816
|
+
declare const RenderedAstNodeSchema: z.ZodType<unknown>;
|
|
45817
|
+
declare const CrowiDiagramNodeSchema: z.ZodObject<{
|
|
45818
|
+
kind: z.ZodEnum<{
|
|
45819
|
+
mermaid: "mermaid";
|
|
45820
|
+
plantuml: "plantuml";
|
|
45821
|
+
}>;
|
|
45822
|
+
diagramType: z.ZodOptional<z.ZodString>;
|
|
45823
|
+
alt: z.ZodString;
|
|
45824
|
+
image: z.ZodObject<{
|
|
45825
|
+
mediaType: z.ZodEnum<{
|
|
45826
|
+
"image/png": "image/png";
|
|
45827
|
+
"image/svg+xml": "image/svg+xml";
|
|
45828
|
+
}>;
|
|
45829
|
+
base64: z.ZodString;
|
|
45830
|
+
width: z.ZodNumber;
|
|
45831
|
+
height: z.ZodNumber;
|
|
45832
|
+
}, z.core.$strip>;
|
|
45833
|
+
type: z.ZodLiteral<"crowiDiagram">;
|
|
45834
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45835
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45836
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45837
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45838
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45839
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45840
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45841
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45842
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45843
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45844
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45845
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45846
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45847
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45848
|
+
}, z.core.$strip>>;
|
|
45849
|
+
}, z.core.$strip>;
|
|
45850
|
+
declare const CrowiLinkCardNodeSchema: z.ZodObject<{
|
|
45851
|
+
url: z.ZodString;
|
|
45852
|
+
title: z.ZodOptional<z.ZodString>;
|
|
45853
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45854
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
45855
|
+
url: z.ZodString;
|
|
45856
|
+
}, z.core.$strip>>;
|
|
45857
|
+
siteName: z.ZodOptional<z.ZodString>;
|
|
45858
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
45859
|
+
type: z.ZodLiteral<"crowiLinkCard">;
|
|
45860
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45861
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45862
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45863
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45864
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45865
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45866
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45867
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45868
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45869
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45870
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45871
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45872
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45873
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45874
|
+
}, z.core.$strip>>;
|
|
45875
|
+
}, z.core.$strip>;
|
|
45876
|
+
declare const CrowiPlaceholderNodeSchema: z.ZodObject<{
|
|
45877
|
+
kind: z.ZodEnum<{
|
|
45878
|
+
"error-auth": "error-auth";
|
|
45879
|
+
"error-rate-limit": "error-rate-limit";
|
|
45880
|
+
"error-not-found": "error-not-found";
|
|
45881
|
+
"error-network": "error-network";
|
|
45882
|
+
"error-timeout": "error-timeout";
|
|
45883
|
+
"error-unknown": "error-unknown";
|
|
45884
|
+
"error-blocked": "error-blocked";
|
|
45885
|
+
"error-busy": "error-busy";
|
|
45886
|
+
"size-limit-entry": "size-limit-entry";
|
|
45887
|
+
"size-limit-page": "size-limit-page";
|
|
45888
|
+
"dispatch-limit": "dispatch-limit";
|
|
45889
|
+
"validation-failed": "validation-failed";
|
|
45890
|
+
"envelope-invalid": "envelope-invalid";
|
|
45891
|
+
}>;
|
|
45892
|
+
label: z.ZodString;
|
|
45893
|
+
reservation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45894
|
+
variant: z.ZodLiteral<"fixed">;
|
|
45895
|
+
widthPx: z.ZodOptional<z.ZodNumber>;
|
|
45896
|
+
heightPx: z.ZodNumber;
|
|
45897
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45898
|
+
variant: z.ZodLiteral<"aspect">;
|
|
45899
|
+
aspectRatio: z.ZodNumber;
|
|
45900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45901
|
+
variant: z.ZodLiteral<"card">;
|
|
45902
|
+
size: z.ZodEnum<{
|
|
45903
|
+
small: "small";
|
|
45904
|
+
medium: "medium";
|
|
45905
|
+
large: "large";
|
|
45906
|
+
}>;
|
|
45907
|
+
}, z.core.$strip>], "variant">;
|
|
45908
|
+
type: z.ZodLiteral<"crowiPlaceholder">;
|
|
45909
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45910
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45911
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45912
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45913
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45914
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45915
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45916
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45917
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45918
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45919
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45920
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45921
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45922
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45923
|
+
}, z.core.$strip>>;
|
|
45924
|
+
}, z.core.$strip>;
|
|
45925
|
+
declare const CrowiOpaqueNodeSchema: z.ZodObject<{
|
|
45926
|
+
reason: z.ZodEnum<{
|
|
45927
|
+
"unknown-type": "unknown-type";
|
|
45928
|
+
"invalid-shape": "invalid-shape";
|
|
45929
|
+
"invalid-position": "invalid-position";
|
|
45930
|
+
}>;
|
|
45931
|
+
originalType: z.ZodOptional<z.ZodString>;
|
|
45932
|
+
type: z.ZodLiteral<"crowiOpaque">;
|
|
45933
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45934
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45935
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45936
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45937
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45938
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45939
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45940
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45941
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45942
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45943
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45944
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45945
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45946
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45947
|
+
}, z.core.$strip>>;
|
|
45948
|
+
}, z.core.$strip>;
|
|
45949
|
+
declare const RenderedAstRootSchema: z.ZodObject<{
|
|
45950
|
+
type: z.ZodLiteral<"root">;
|
|
45951
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45952
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45953
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45955
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45956
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45957
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45958
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45959
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45960
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45961
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45962
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45963
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45964
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45965
|
+
}, z.core.$strip>>;
|
|
45966
|
+
children: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
45967
|
+
}, z.core.$strip>;
|
|
45968
|
+
/**
|
|
45969
|
+
* The strict v1 envelope: what `sanitizeAst` produces and what the iOS
|
|
45970
|
+
* decoder consumes. NOT flowed into OpenAPI (see the module doc
|
|
45971
|
+
* comment's fallback note); the OpenAPI representation of the envelope
|
|
45972
|
+
* is `RenderedAstEnvelopeOpenApiSchema` below.
|
|
45973
|
+
*/
|
|
45974
|
+
declare const RenderedAstEnvelopeSchema: z.ZodObject<{
|
|
45975
|
+
astVersion: z.ZodLiteral<1>;
|
|
45976
|
+
root: z.ZodObject<{
|
|
45977
|
+
type: z.ZodLiteral<"root">;
|
|
45978
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
45979
|
+
hName: z.ZodOptional<z.ZodString>;
|
|
45980
|
+
hProperties: z.ZodOptional<z.ZodObject<{
|
|
45981
|
+
id: z.ZodOptional<z.ZodString>;
|
|
45982
|
+
className: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45983
|
+
role: z.ZodOptional<z.ZodString>;
|
|
45984
|
+
ariaLabel: z.ZodOptional<z.ZodString>;
|
|
45985
|
+
'data-source-line': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
45986
|
+
'data-crowi-image-align': z.ZodOptional<z.ZodString>;
|
|
45987
|
+
'data-crowi-image-float': z.ZodOptional<z.ZodString>;
|
|
45988
|
+
'data-crowi-image-width': z.ZodOptional<z.ZodString>;
|
|
45989
|
+
'data-crowi-image-height': z.ZodOptional<z.ZodString>;
|
|
45990
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>>>;
|
|
45991
|
+
hChildren: z.ZodOptional<z.ZodArray<z.ZodType<HChild, unknown, z.core.$ZodTypeInternals<HChild, unknown>>>>;
|
|
45992
|
+
}, z.core.$strip>>;
|
|
45993
|
+
children: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
45994
|
+
}, z.core.$strip>;
|
|
45995
|
+
}, z.core.$strip>;
|
|
45996
|
+
/** OpenAPI representation of the v1 envelope (documented fallback: `root` stays loose at this layer). */
|
|
45997
|
+
declare const RenderedAstEnvelopeOpenApiSchema: z.ZodObject<{
|
|
45998
|
+
astVersion: z.ZodLiteral<1>;
|
|
45999
|
+
root: z.ZodUnknown;
|
|
46000
|
+
}, z.core.$strip>;
|
|
46001
|
+
/**
|
|
46002
|
+
* The shape the declaration-less (legacy) branch actually returns:
|
|
46003
|
+
* the stored bare mdast `Root`, verbatim and **unvalidated**.
|
|
46004
|
+
* Intentionally loose and intentionally NOT an alias of the strict
|
|
46005
|
+
* union — see the module doc comment.
|
|
46006
|
+
*/
|
|
46007
|
+
declare const LooseRenderedAstRootSchema: z.ZodObject<{
|
|
46008
|
+
type: z.ZodLiteral<"root">;
|
|
46009
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46010
|
+
}, z.core.$strip>;
|
|
46011
|
+
/** What `renderedAst` response fields carry: v1 envelope (declared clients) or bare Root (everyone else). */
|
|
46012
|
+
declare const RenderedAstValueSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
46013
|
+
astVersion: z.ZodLiteral<1>;
|
|
46014
|
+
root: z.ZodUnknown;
|
|
46015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46016
|
+
type: z.ZodLiteral<"root">;
|
|
46017
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46018
|
+
}, z.core.$strip>]>;
|
|
46019
|
+
type RenderedAstValue = z.infer<typeof RenderedAstValueSchema>;
|
|
46020
|
+
/**
|
|
46021
|
+
* Response-identity key for the served AST artifact (design doc §14):
|
|
46022
|
+
* `rendererVersion` when the stored AST was served verbatim, a
|
|
46023
|
+
* per-response nonce when the tree was modified (pending-marker retry)
|
|
46024
|
+
* or recomputed (freshness mismatch). The web render memo keys on
|
|
46025
|
+
* `[revisionId, renderedAstArtifactKey]`.
|
|
46026
|
+
*/
|
|
46027
|
+
declare const RenderedAstArtifactKeySchema: z.ZodString;
|
|
46028
|
+
/**
|
|
46029
|
+
* Unwrap a `renderedAst` response value to a bare mdast-`Root`-shaped
|
|
46030
|
+
* object, or `undefined` when there is nothing renderable.
|
|
46031
|
+
*
|
|
46032
|
+
* In normal operation the web always receives the bare Root branch —
|
|
46033
|
+
* the envelope branch is pure belt-and-suspenders against a future
|
|
46034
|
+
* header-emitting mistake or a misconfigured reverse cache.
|
|
46035
|
+
*/
|
|
46036
|
+
declare function unwrapRenderedAst(value: unknown): unknown | undefined;
|
|
46037
|
+
/** Strict envelope type (walker output / decoder input). */
|
|
46038
|
+
interface RenderedAstEnvelope {
|
|
46039
|
+
astVersion: typeof CURRENT_AST_VERSION;
|
|
46040
|
+
root: {
|
|
46041
|
+
type: 'root';
|
|
46042
|
+
children: unknown[];
|
|
46043
|
+
} & Record<string, unknown>;
|
|
46044
|
+
}
|
|
46045
|
+
|
|
44684
46046
|
/**
|
|
44685
46047
|
* Revision meta schema - lightweight (no body) for list endpoints.
|
|
44686
46048
|
*
|
|
@@ -44820,7 +46182,14 @@ declare const GetRevisionResponseSchema: z.ZodObject<{
|
|
|
44820
46182
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44821
46183
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44822
46184
|
}, z.core.$strip>>;
|
|
44823
|
-
renderedAst: z.ZodOptional<z.
|
|
46185
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46186
|
+
astVersion: z.ZodLiteral<1>;
|
|
46187
|
+
root: z.ZodUnknown;
|
|
46188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46189
|
+
type: z.ZodLiteral<"root">;
|
|
46190
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46191
|
+
}, z.core.$strip>]>>;
|
|
46192
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
44824
46193
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
44825
46194
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44826
46195
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -44891,7 +46260,14 @@ declare const GetRevisionsResponseSchema: z.ZodObject<{
|
|
|
44891
46260
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44892
46261
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44893
46262
|
}, z.core.$strip>>;
|
|
44894
|
-
renderedAst: z.ZodOptional<z.
|
|
46263
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46264
|
+
astVersion: z.ZodLiteral<1>;
|
|
46265
|
+
root: z.ZodUnknown;
|
|
46266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46267
|
+
type: z.ZodLiteral<"root">;
|
|
46268
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46269
|
+
}, z.core.$strip>]>>;
|
|
46270
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
44895
46271
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
44896
46272
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44897
46273
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -44951,7 +46327,7 @@ declare const SearchPageTypeSchema: z.ZodEnum<{
|
|
|
44951
46327
|
}>;
|
|
44952
46328
|
type SearchPageType = z.infer<typeof SearchPageTypeSchema>;
|
|
44953
46329
|
/**
|
|
44954
|
-
* Request schema for `GET /api/
|
|
46330
|
+
* Request schema for `GET /api/search`.
|
|
44955
46331
|
*
|
|
44956
46332
|
* - `q` is required and must be non-empty (legacy parity with
|
|
44957
46333
|
* `controllers/search.ts:!keyword`).
|
|
@@ -45021,7 +46397,14 @@ declare const SearchHitSchema: z.ZodObject<{
|
|
|
45021
46397
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45022
46398
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45023
46399
|
}, z.core.$strip>>;
|
|
45024
|
-
renderedAst: z.ZodOptional<z.
|
|
46400
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46401
|
+
astVersion: z.ZodLiteral<1>;
|
|
46402
|
+
root: z.ZodUnknown;
|
|
46403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46404
|
+
type: z.ZodLiteral<"root">;
|
|
46405
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46406
|
+
}, z.core.$strip>]>>;
|
|
46407
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45025
46408
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45026
46409
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45027
46410
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45095,7 +46478,7 @@ declare const SearchHitSchema: z.ZodObject<{
|
|
|
45095
46478
|
}, z.core.$strip>;
|
|
45096
46479
|
type SearchHit = z.infer<typeof SearchHitSchema>;
|
|
45097
46480
|
/**
|
|
45098
|
-
* Response schema for `GET /api/
|
|
46481
|
+
* Response schema for `GET /api/search`.
|
|
45099
46482
|
*
|
|
45100
46483
|
* - `meta.total` is the total number of matches across all pages (driver-reported).
|
|
45101
46484
|
* - `meta.results` is the count in this response page (= `data.length`).
|
|
@@ -45148,7 +46531,14 @@ declare const SearchPagesResponseSchema: z.ZodObject<{
|
|
|
45148
46531
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45149
46532
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45150
46533
|
}, z.core.$strip>>;
|
|
45151
|
-
renderedAst: z.ZodOptional<z.
|
|
46534
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46535
|
+
astVersion: z.ZodLiteral<1>;
|
|
46536
|
+
root: z.ZodUnknown;
|
|
46537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46538
|
+
type: z.ZodLiteral<"root">;
|
|
46539
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46540
|
+
}, z.core.$strip>]>>;
|
|
46541
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45152
46542
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45153
46543
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45154
46544
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45301,6 +46691,8 @@ declare const UserPageResponseSchema: z.ZodObject<{
|
|
|
45301
46691
|
}, z.core.$strip>;
|
|
45302
46692
|
createdPagesCount: z.ZodNumber;
|
|
45303
46693
|
bookmarksCount: z.ZodNumber;
|
|
46694
|
+
likesCount: z.ZodNumber;
|
|
46695
|
+
commentsCount: z.ZodNumber;
|
|
45304
46696
|
recentPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45305
46697
|
_id: z.ZodString;
|
|
45306
46698
|
path: z.ZodString;
|
|
@@ -45336,7 +46728,14 @@ declare const UserPageResponseSchema: z.ZodObject<{
|
|
|
45336
46728
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45337
46729
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45338
46730
|
}, z.core.$strip>>;
|
|
45339
|
-
renderedAst: z.ZodOptional<z.
|
|
46731
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46732
|
+
astVersion: z.ZodLiteral<1>;
|
|
46733
|
+
root: z.ZodUnknown;
|
|
46734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46735
|
+
type: z.ZodLiteral<"root">;
|
|
46736
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46737
|
+
}, z.core.$strip>]>>;
|
|
46738
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45340
46739
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45341
46740
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45342
46741
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45444,7 +46843,14 @@ declare const UserPageResponseSchema: z.ZodObject<{
|
|
|
45444
46843
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45445
46844
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45446
46845
|
}, z.core.$strip>>;
|
|
45447
|
-
renderedAst: z.ZodOptional<z.
|
|
46846
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46847
|
+
astVersion: z.ZodLiteral<1>;
|
|
46848
|
+
root: z.ZodUnknown;
|
|
46849
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46850
|
+
type: z.ZodLiteral<"root">;
|
|
46851
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46852
|
+
}, z.core.$strip>]>>;
|
|
46853
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45448
46854
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45449
46855
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45450
46856
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45575,7 +46981,14 @@ declare const UserBookmarksResponseSchema: z.ZodObject<{
|
|
|
45575
46981
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45576
46982
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45577
46983
|
}, z.core.$strip>>;
|
|
45578
|
-
renderedAst: z.ZodOptional<z.
|
|
46984
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
46985
|
+
astVersion: z.ZodLiteral<1>;
|
|
46986
|
+
root: z.ZodUnknown;
|
|
46987
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46988
|
+
type: z.ZodLiteral<"root">;
|
|
46989
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
46990
|
+
}, z.core.$strip>]>>;
|
|
46991
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45579
46992
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45580
46993
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45581
46994
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45710,7 +47123,14 @@ declare const UserPagesResponseSchema: z.ZodObject<{
|
|
|
45710
47123
|
codeBlockLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45711
47124
|
rawSpaceLinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45712
47125
|
}, z.core.$strip>>;
|
|
45713
|
-
renderedAst: z.ZodOptional<z.
|
|
47126
|
+
renderedAst: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
47127
|
+
astVersion: z.ZodLiteral<1>;
|
|
47128
|
+
root: z.ZodUnknown;
|
|
47129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47130
|
+
type: z.ZodLiteral<"root">;
|
|
47131
|
+
children: z.ZodArray<z.ZodUnknown>;
|
|
47132
|
+
}, z.core.$strip>]>>;
|
|
47133
|
+
renderedAstArtifactKey: z.ZodOptional<z.ZodString>;
|
|
45714
47134
|
rendererVersion: z.ZodOptional<z.ZodString>;
|
|
45715
47135
|
parentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45716
47136
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -45936,4 +47356,4 @@ declare const WS_CLOSE_CODES: {
|
|
|
45936
47356
|
};
|
|
45937
47357
|
type WsCloseCode = (typeof WS_CLOSE_CODES)[keyof typeof WS_CLOSE_CODES];
|
|
45938
47358
|
|
|
45939
|
-
export { ALL_CAPABILITIES, 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 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 Capability, CapabilitySchema, type ClaimPageLinkAccessResponse, ClaimPageLinkAccessResponseSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientInfoResponse, ClientInfoResponseSchema, 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, DYNAMIC_CAPABILITIES, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, IMAGE_UPLOAD_MIME, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type UserSubpagesRequest, UserSubpagesRequestSchema, type ValidationError, ValidationErrorSchema, WS_CLOSE_CODES, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsCloseCode, 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, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, 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, getUserSubpagesRoute, 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 };
|
|
47359
|
+
export { ALL_CAPABILITIES, ALL_SCOPES, API_SURFACE_VERSION, AST_INPUT_LIMIT_BYTES, AST_MAX_HAST_DEPTH, AST_MAX_IMAGE_BASE64_CHARS, AST_MAX_TREE_DEPTH, AST_MAX_VALUE_CHARS, AST_OUTPUT_BUDGET_BYTES, AST_OUTPUT_WARN_BYTES, 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 ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type AstChildModel, type AstFieldsValidator, type AstPlacement, 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, CURRENT_AST_VERSION, type Capability, CapabilitySchema, type ClaimPageLinkAccessResponse, ClaimPageLinkAccessResponseSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientInfoResponse, ClientInfoResponseSchema, 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 CrowiCodeSidecar, CrowiCodeSidecarSchema, CrowiDiagramNodeSchema, type CrowiDiagramSidecar, CrowiDiagramSidecarSchema, CrowiDimensionSchema, type CrowiImagePayload, CrowiImagePayloadSchema, CrowiLinkCardNodeSchema, type CrowiLinkCardSidecar, CrowiLinkCardSidecarSchema, type CrowiMathSidecar, CrowiMathSidecarSchema, CrowiOpaqueNodeSchema, type CrowiPlaceholderKind, CrowiPlaceholderKindSchema, CrowiPlaceholderNodeSchema, type CrowiPlaceholderSidecar, CrowiPlaceholderSidecarSchema, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DYNAMIC_CAPABILITIES, 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, type HChild, HChildSchema, HChildrenSchema, HNameSchema, HPropertiesSchema, type HastHintData, HastHintDataSchema, 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, LooseRenderedAstRootSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, RENDERED_AST_NODE_DEFS, 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, RenderedAstArtifactKeySchema, type RenderedAstEnvelope, RenderedAstEnvelopeOpenApiSchema, RenderedAstEnvelopeSchema, type RenderedAstNode, type RenderedAstNodeDef, RenderedAstNodeSchema, RenderedAstRootSchema, type RenderedAstValue, RenderedAstValueSchema, ReservationSchema, type ReservationShape, 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, SIDECAR_KEYS, 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 ShikiToken, ShikiTokenLinesSchema, ShikiTokenSchema, ShikiTokenStyleSchema, type SidecarKey, 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, UPLOAD_ALLOWED_MIME, 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 UserSubpagesRequest, UserSubpagesRequestSchema, type ValidationError, ValidationErrorSchema, WS_CLOSE_CODES, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsCloseCode, 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, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, 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, getUserSubpagesRoute, 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, unwrapRenderedAst, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
|