@crowi/api-contract 2.0.0-alpha.19 → 2.0.0-alpha.20
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 +100 -204
- package/dist/generated/openapi.d.ts +100 -204
- package/dist/generated/openapi.js.map +1 -1
- package/dist/index.d.mts +352 -614
- package/dist/index.d.ts +352 -614
- package/dist/index.js +61 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -2618,7 +2618,6 @@ interface paths {
|
|
|
2618
2618
|
image?: string | null;
|
|
2619
2619
|
createdAt: string;
|
|
2620
2620
|
} | null;
|
|
2621
|
-
liker?: string[];
|
|
2622
2621
|
/** @default 0 */
|
|
2623
2622
|
commentCount: number;
|
|
2624
2623
|
extended?: {
|
|
@@ -2629,8 +2628,9 @@ interface paths {
|
|
|
2629
2628
|
currentRevision?: string | null;
|
|
2630
2629
|
yjsCheckpointAt?: string | null;
|
|
2631
2630
|
latestRevision?: string;
|
|
2632
|
-
likerCount
|
|
2633
|
-
seenUsersCount
|
|
2631
|
+
likerCount: number;
|
|
2632
|
+
seenUsersCount: number;
|
|
2633
|
+
isLiked: boolean;
|
|
2634
2634
|
}[];
|
|
2635
2635
|
};
|
|
2636
2636
|
};
|
|
@@ -3905,7 +3905,6 @@ interface paths {
|
|
|
3905
3905
|
image?: string | null;
|
|
3906
3906
|
createdAt: string;
|
|
3907
3907
|
} | null;
|
|
3908
|
-
liker?: string[];
|
|
3909
3908
|
/** @default 0 */
|
|
3910
3909
|
commentCount: number;
|
|
3911
3910
|
extended?: {
|
|
@@ -3916,8 +3915,9 @@ interface paths {
|
|
|
3916
3915
|
currentRevision?: string | null;
|
|
3917
3916
|
yjsCheckpointAt?: string | null;
|
|
3918
3917
|
latestRevision?: string;
|
|
3919
|
-
likerCount
|
|
3920
|
-
seenUsersCount
|
|
3918
|
+
likerCount: number;
|
|
3919
|
+
seenUsersCount: number;
|
|
3920
|
+
isLiked: boolean;
|
|
3921
3921
|
}[];
|
|
3922
3922
|
recentBookmarks?: {
|
|
3923
3923
|
_id: string;
|
|
@@ -4013,7 +4013,6 @@ interface paths {
|
|
|
4013
4013
|
image?: string | null;
|
|
4014
4014
|
createdAt: string;
|
|
4015
4015
|
} | null;
|
|
4016
|
-
liker?: string[];
|
|
4017
4016
|
/** @default 0 */
|
|
4018
4017
|
commentCount: number;
|
|
4019
4018
|
extended?: {
|
|
@@ -4024,8 +4023,9 @@ interface paths {
|
|
|
4024
4023
|
currentRevision?: string | null;
|
|
4025
4024
|
yjsCheckpointAt?: string | null;
|
|
4026
4025
|
latestRevision?: string;
|
|
4027
|
-
likerCount
|
|
4028
|
-
seenUsersCount
|
|
4026
|
+
likerCount: number;
|
|
4027
|
+
seenUsersCount: number;
|
|
4028
|
+
isLiked: boolean;
|
|
4029
4029
|
};
|
|
4030
4030
|
user: string | {
|
|
4031
4031
|
_id: string;
|
|
@@ -4228,7 +4228,6 @@ interface paths {
|
|
|
4228
4228
|
image?: string | null;
|
|
4229
4229
|
createdAt: string;
|
|
4230
4230
|
} | null;
|
|
4231
|
-
liker?: string[];
|
|
4232
4231
|
/** @default 0 */
|
|
4233
4232
|
commentCount: number;
|
|
4234
4233
|
extended?: {
|
|
@@ -4239,8 +4238,9 @@ interface paths {
|
|
|
4239
4238
|
currentRevision?: string | null;
|
|
4240
4239
|
yjsCheckpointAt?: string | null;
|
|
4241
4240
|
latestRevision?: string;
|
|
4242
|
-
likerCount
|
|
4243
|
-
seenUsersCount
|
|
4241
|
+
likerCount: number;
|
|
4242
|
+
seenUsersCount: number;
|
|
4243
|
+
isLiked: boolean;
|
|
4244
4244
|
};
|
|
4245
4245
|
user: string | {
|
|
4246
4246
|
_id: string;
|
|
@@ -4447,7 +4447,6 @@ interface paths {
|
|
|
4447
4447
|
image?: string | null;
|
|
4448
4448
|
createdAt: string;
|
|
4449
4449
|
} | null;
|
|
4450
|
-
liker?: string[];
|
|
4451
4450
|
/** @default 0 */
|
|
4452
4451
|
commentCount: number;
|
|
4453
4452
|
extended?: {
|
|
@@ -4458,8 +4457,9 @@ interface paths {
|
|
|
4458
4457
|
currentRevision?: string | null;
|
|
4459
4458
|
yjsCheckpointAt?: string | null;
|
|
4460
4459
|
latestRevision?: string;
|
|
4461
|
-
likerCount
|
|
4462
|
-
seenUsersCount
|
|
4460
|
+
likerCount: number;
|
|
4461
|
+
seenUsersCount: number;
|
|
4462
|
+
isLiked: boolean;
|
|
4463
4463
|
}[];
|
|
4464
4464
|
pager: {
|
|
4465
4465
|
prev: number | null;
|
|
@@ -4650,7 +4650,6 @@ interface paths {
|
|
|
4650
4650
|
image?: string | null;
|
|
4651
4651
|
createdAt: string;
|
|
4652
4652
|
} | null;
|
|
4653
|
-
liker?: string[];
|
|
4654
4653
|
/** @default 0 */
|
|
4655
4654
|
commentCount: number;
|
|
4656
4655
|
extended?: {
|
|
@@ -4661,8 +4660,9 @@ interface paths {
|
|
|
4661
4660
|
currentRevision?: string | null;
|
|
4662
4661
|
yjsCheckpointAt?: string | null;
|
|
4663
4662
|
latestRevision?: string;
|
|
4664
|
-
likerCount
|
|
4665
|
-
seenUsersCount
|
|
4663
|
+
likerCount: number;
|
|
4664
|
+
seenUsersCount: number;
|
|
4665
|
+
isLiked: boolean;
|
|
4666
4666
|
}[];
|
|
4667
4667
|
pager: {
|
|
4668
4668
|
prev: number | null;
|
|
@@ -4876,7 +4876,7 @@ interface paths {
|
|
|
4876
4876
|
};
|
|
4877
4877
|
requestBody?: never;
|
|
4878
4878
|
responses: {
|
|
4879
|
-
/** @description Bookmark for the page (or null when not bookmarked) */
|
|
4879
|
+
/** @description Bookmark for the page (or null when not bookmarked). `page` is a bare page id — this route never populates the page (feature-page-relations-collections D-2). */
|
|
4880
4880
|
200: {
|
|
4881
4881
|
headers: {
|
|
4882
4882
|
[name: string]: unknown;
|
|
@@ -4885,112 +4885,7 @@ interface paths {
|
|
|
4885
4885
|
"application/json": {
|
|
4886
4886
|
bookmark: {
|
|
4887
4887
|
_id: string;
|
|
4888
|
-
page:
|
|
4889
|
-
_id: string;
|
|
4890
|
-
path: string;
|
|
4891
|
-
revision?: string | {
|
|
4892
|
-
_id: string;
|
|
4893
|
-
path: string;
|
|
4894
|
-
body: string;
|
|
4895
|
-
/** @default markdown */
|
|
4896
|
-
format: string;
|
|
4897
|
-
author?: {
|
|
4898
|
-
_id: string;
|
|
4899
|
-
id?: string;
|
|
4900
|
-
username: string;
|
|
4901
|
-
name: string;
|
|
4902
|
-
/** Format: email */
|
|
4903
|
-
email: string;
|
|
4904
|
-
image?: string | null;
|
|
4905
|
-
createdAt: string;
|
|
4906
|
-
} | null;
|
|
4907
|
-
createdAt: string;
|
|
4908
|
-
meta?: {
|
|
4909
|
-
toc?: {
|
|
4910
|
-
level: number;
|
|
4911
|
-
text: string;
|
|
4912
|
-
anchorId: string;
|
|
4913
|
-
}[];
|
|
4914
|
-
wikiLinks?: {
|
|
4915
|
-
raw: string;
|
|
4916
|
-
target: string;
|
|
4917
|
-
displayText?: string;
|
|
4918
|
-
}[];
|
|
4919
|
-
mentions?: {
|
|
4920
|
-
username: string;
|
|
4921
|
-
}[];
|
|
4922
|
-
codeBlockLanguages?: string[];
|
|
4923
|
-
rawSpaceLinks?: string[];
|
|
4924
|
-
};
|
|
4925
|
-
renderedAst?: components["schemas"]["RenderedAstEnvelope"] | components["schemas"]["LegacyRenderedAstRoot"];
|
|
4926
|
-
renderedAstArtifactKey?: string;
|
|
4927
|
-
rendererVersion?: string;
|
|
4928
|
-
parentRevisionId?: string | null;
|
|
4929
|
-
/** @enum {string} */
|
|
4930
|
-
type?: "snapshot" | "incremental";
|
|
4931
|
-
savedBy?: string | {
|
|
4932
|
-
_id: string;
|
|
4933
|
-
id?: string;
|
|
4934
|
-
username: string;
|
|
4935
|
-
name: string;
|
|
4936
|
-
/** Format: email */
|
|
4937
|
-
email: string;
|
|
4938
|
-
image?: string | null;
|
|
4939
|
-
createdAt: string;
|
|
4940
|
-
} | null;
|
|
4941
|
-
contributors?: (string | {
|
|
4942
|
-
_id: string;
|
|
4943
|
-
id?: string;
|
|
4944
|
-
username: string;
|
|
4945
|
-
name: string;
|
|
4946
|
-
/** Format: email */
|
|
4947
|
-
email: string;
|
|
4948
|
-
image?: string | null;
|
|
4949
|
-
createdAt: string;
|
|
4950
|
-
})[];
|
|
4951
|
-
message?: string;
|
|
4952
|
-
/** @enum {string} */
|
|
4953
|
-
editVia?: "web" | "oauth" | "pat";
|
|
4954
|
-
};
|
|
4955
|
-
redirectTo?: string | null;
|
|
4956
|
-
/** @enum {string|null} */
|
|
4957
|
-
status?: "wip" | "published" | "deleted" | "deprecated" | "draft" | null;
|
|
4958
|
-
grant?: number;
|
|
4959
|
-
grantedUsers?: string[];
|
|
4960
|
-
creator?: string | {
|
|
4961
|
-
_id: string;
|
|
4962
|
-
id?: string;
|
|
4963
|
-
username: string;
|
|
4964
|
-
name: string;
|
|
4965
|
-
/** Format: email */
|
|
4966
|
-
email: string;
|
|
4967
|
-
image?: string | null;
|
|
4968
|
-
createdAt: string;
|
|
4969
|
-
} | null;
|
|
4970
|
-
lastUpdateUser?: string | {
|
|
4971
|
-
_id: string;
|
|
4972
|
-
id?: string;
|
|
4973
|
-
username: string;
|
|
4974
|
-
name: string;
|
|
4975
|
-
/** Format: email */
|
|
4976
|
-
email: string;
|
|
4977
|
-
image?: string | null;
|
|
4978
|
-
createdAt: string;
|
|
4979
|
-
} | null;
|
|
4980
|
-
liker?: string[];
|
|
4981
|
-
/** @default 0 */
|
|
4982
|
-
commentCount: number;
|
|
4983
|
-
extended?: {
|
|
4984
|
-
[key: string]: unknown;
|
|
4985
|
-
};
|
|
4986
|
-
createdAt: string;
|
|
4987
|
-
updatedAt?: string;
|
|
4988
|
-
currentRevision?: string | null;
|
|
4989
|
-
yjsCheckpointAt?: string | null;
|
|
4990
|
-
latestRevision?: string;
|
|
4991
|
-
likerCount?: number;
|
|
4992
|
-
seenUsersCount?: number;
|
|
4993
|
-
};
|
|
4888
|
+
page: string | null;
|
|
4994
4889
|
user: string | {
|
|
4995
4890
|
_id: string;
|
|
4996
4891
|
id?: string;
|
|
@@ -5178,7 +5073,6 @@ interface paths {
|
|
|
5178
5073
|
image?: string | null;
|
|
5179
5074
|
createdAt: string;
|
|
5180
5075
|
} | null;
|
|
5181
|
-
liker?: string[];
|
|
5182
5076
|
/** @default 0 */
|
|
5183
5077
|
commentCount: number;
|
|
5184
5078
|
extended?: {
|
|
@@ -5189,8 +5083,9 @@ interface paths {
|
|
|
5189
5083
|
currentRevision?: string | null;
|
|
5190
5084
|
yjsCheckpointAt?: string | null;
|
|
5191
5085
|
latestRevision?: string;
|
|
5192
|
-
likerCount
|
|
5193
|
-
seenUsersCount
|
|
5086
|
+
likerCount: number;
|
|
5087
|
+
seenUsersCount: number;
|
|
5088
|
+
isLiked: boolean;
|
|
5194
5089
|
};
|
|
5195
5090
|
user: string | {
|
|
5196
5091
|
_id: string;
|
|
@@ -5465,7 +5360,6 @@ interface paths {
|
|
|
5465
5360
|
image?: string | null;
|
|
5466
5361
|
createdAt: string;
|
|
5467
5362
|
} | null;
|
|
5468
|
-
liker?: string[];
|
|
5469
5363
|
/** @default 0 */
|
|
5470
5364
|
commentCount: number;
|
|
5471
5365
|
extended?: {
|
|
@@ -5476,8 +5370,9 @@ interface paths {
|
|
|
5476
5370
|
currentRevision?: string | null;
|
|
5477
5371
|
yjsCheckpointAt?: string | null;
|
|
5478
5372
|
latestRevision?: string;
|
|
5479
|
-
likerCount
|
|
5480
|
-
seenUsersCount
|
|
5373
|
+
likerCount: number;
|
|
5374
|
+
seenUsersCount: number;
|
|
5375
|
+
isLiked: boolean;
|
|
5481
5376
|
};
|
|
5482
5377
|
user: string | {
|
|
5483
5378
|
_id: string;
|
|
@@ -6637,7 +6532,6 @@ interface paths {
|
|
|
6637
6532
|
image?: string | null;
|
|
6638
6533
|
createdAt: string;
|
|
6639
6534
|
} | null;
|
|
6640
|
-
liker?: string[];
|
|
6641
6535
|
/** @default 0 */
|
|
6642
6536
|
commentCount: number;
|
|
6643
6537
|
extended?: {
|
|
@@ -6648,8 +6542,9 @@ interface paths {
|
|
|
6648
6542
|
currentRevision?: string | null;
|
|
6649
6543
|
yjsCheckpointAt?: string | null;
|
|
6650
6544
|
latestRevision?: string;
|
|
6651
|
-
likerCount
|
|
6652
|
-
seenUsersCount
|
|
6545
|
+
likerCount: number;
|
|
6546
|
+
seenUsersCount: number;
|
|
6547
|
+
isLiked: boolean;
|
|
6653
6548
|
};
|
|
6654
6549
|
};
|
|
6655
6550
|
};
|
|
@@ -6839,7 +6734,6 @@ interface paths {
|
|
|
6839
6734
|
image?: string | null;
|
|
6840
6735
|
createdAt: string;
|
|
6841
6736
|
} | null;
|
|
6842
|
-
liker?: string[];
|
|
6843
6737
|
/** @default 0 */
|
|
6844
6738
|
commentCount: number;
|
|
6845
6739
|
extended?: {
|
|
@@ -6850,8 +6744,9 @@ interface paths {
|
|
|
6850
6744
|
currentRevision?: string | null;
|
|
6851
6745
|
yjsCheckpointAt?: string | null;
|
|
6852
6746
|
latestRevision?: string;
|
|
6853
|
-
likerCount
|
|
6854
|
-
seenUsersCount
|
|
6747
|
+
likerCount: number;
|
|
6748
|
+
seenUsersCount: number;
|
|
6749
|
+
isLiked: boolean;
|
|
6855
6750
|
};
|
|
6856
6751
|
};
|
|
6857
6752
|
};
|
|
@@ -7037,7 +6932,6 @@ interface paths {
|
|
|
7037
6932
|
image?: string | null;
|
|
7038
6933
|
createdAt: string;
|
|
7039
6934
|
} | null;
|
|
7040
|
-
liker?: string[];
|
|
7041
6935
|
/** @default 0 */
|
|
7042
6936
|
commentCount: number;
|
|
7043
6937
|
extended?: {
|
|
@@ -7048,8 +6942,9 @@ interface paths {
|
|
|
7048
6942
|
currentRevision?: string | null;
|
|
7049
6943
|
yjsCheckpointAt?: string | null;
|
|
7050
6944
|
latestRevision?: string;
|
|
7051
|
-
likerCount
|
|
7052
|
-
seenUsersCount
|
|
6945
|
+
likerCount: number;
|
|
6946
|
+
seenUsersCount: number;
|
|
6947
|
+
isLiked: boolean;
|
|
7053
6948
|
};
|
|
7054
6949
|
};
|
|
7055
6950
|
};
|
|
@@ -7206,7 +7101,6 @@ interface paths {
|
|
|
7206
7101
|
image?: string | null;
|
|
7207
7102
|
createdAt: string;
|
|
7208
7103
|
} | null;
|
|
7209
|
-
liker?: string[];
|
|
7210
7104
|
/** @default 0 */
|
|
7211
7105
|
commentCount: number;
|
|
7212
7106
|
extended?: {
|
|
@@ -7217,8 +7111,9 @@ interface paths {
|
|
|
7217
7111
|
currentRevision?: string | null;
|
|
7218
7112
|
yjsCheckpointAt?: string | null;
|
|
7219
7113
|
latestRevision?: string;
|
|
7220
|
-
likerCount
|
|
7221
|
-
seenUsersCount
|
|
7114
|
+
likerCount: number;
|
|
7115
|
+
seenUsersCount: number;
|
|
7116
|
+
isLiked: boolean;
|
|
7222
7117
|
};
|
|
7223
7118
|
};
|
|
7224
7119
|
};
|
|
@@ -7441,7 +7336,6 @@ interface paths {
|
|
|
7441
7336
|
image?: string | null;
|
|
7442
7337
|
createdAt: string;
|
|
7443
7338
|
} | null;
|
|
7444
|
-
liker?: string[];
|
|
7445
7339
|
/** @default 0 */
|
|
7446
7340
|
commentCount: number;
|
|
7447
7341
|
extended?: {
|
|
@@ -7452,8 +7346,9 @@ interface paths {
|
|
|
7452
7346
|
currentRevision?: string | null;
|
|
7453
7347
|
yjsCheckpointAt?: string | null;
|
|
7454
7348
|
latestRevision?: string;
|
|
7455
|
-
likerCount
|
|
7456
|
-
seenUsersCount
|
|
7349
|
+
likerCount: number;
|
|
7350
|
+
seenUsersCount: number;
|
|
7351
|
+
isLiked: boolean;
|
|
7457
7352
|
}[];
|
|
7458
7353
|
pager: {
|
|
7459
7354
|
prev: number | null;
|
|
@@ -7552,7 +7447,6 @@ interface paths {
|
|
|
7552
7447
|
image?: string | null;
|
|
7553
7448
|
createdAt: string;
|
|
7554
7449
|
} | null;
|
|
7555
|
-
liker?: string[];
|
|
7556
7450
|
/** @default 0 */
|
|
7557
7451
|
commentCount: number;
|
|
7558
7452
|
extended?: {
|
|
@@ -7563,8 +7457,9 @@ interface paths {
|
|
|
7563
7457
|
currentRevision?: string | null;
|
|
7564
7458
|
yjsCheckpointAt?: string | null;
|
|
7565
7459
|
latestRevision?: string;
|
|
7566
|
-
likerCount
|
|
7567
|
-
seenUsersCount
|
|
7460
|
+
likerCount: number;
|
|
7461
|
+
seenUsersCount: number;
|
|
7462
|
+
isLiked: boolean;
|
|
7568
7463
|
} | null;
|
|
7569
7464
|
contentPage?: {
|
|
7570
7465
|
_id: string;
|
|
@@ -7658,7 +7553,6 @@ interface paths {
|
|
|
7658
7553
|
image?: string | null;
|
|
7659
7554
|
createdAt: string;
|
|
7660
7555
|
} | null;
|
|
7661
|
-
liker?: string[];
|
|
7662
7556
|
/** @default 0 */
|
|
7663
7557
|
commentCount: number;
|
|
7664
7558
|
extended?: {
|
|
@@ -7669,8 +7563,9 @@ interface paths {
|
|
|
7669
7563
|
currentRevision?: string | null;
|
|
7670
7564
|
yjsCheckpointAt?: string | null;
|
|
7671
7565
|
latestRevision?: string;
|
|
7672
|
-
likerCount
|
|
7673
|
-
seenUsersCount
|
|
7566
|
+
likerCount: number;
|
|
7567
|
+
seenUsersCount: number;
|
|
7568
|
+
isLiked: boolean;
|
|
7674
7569
|
} | null;
|
|
7675
7570
|
total: number;
|
|
7676
7571
|
};
|
|
@@ -7710,11 +7605,12 @@ interface paths {
|
|
|
7710
7605
|
path?: never;
|
|
7711
7606
|
cookie?: never;
|
|
7712
7607
|
};
|
|
7713
|
-
/** List
|
|
7608
|
+
/** List child segments under a portal path, up to `depth` levels (sidebar tree) */
|
|
7714
7609
|
get: {
|
|
7715
7610
|
parameters: {
|
|
7716
7611
|
query: {
|
|
7717
7612
|
path: string;
|
|
7613
|
+
depth?: number;
|
|
7718
7614
|
};
|
|
7719
7615
|
header?: never;
|
|
7720
7616
|
path?: never;
|
|
@@ -7722,7 +7618,7 @@ interface paths {
|
|
|
7722
7618
|
};
|
|
7723
7619
|
requestBody?: never;
|
|
7724
7620
|
responses: {
|
|
7725
|
-
/** @description
|
|
7621
|
+
/** @description Child segments under the path, depth-first with siblings alphabetical, spanning `depth` levels (default 1). Flat — a row's own `path` places it in the tree. */
|
|
7726
7622
|
200: {
|
|
7727
7623
|
headers: {
|
|
7728
7624
|
[name: string]: unknown;
|
|
@@ -7901,7 +7797,6 @@ interface paths {
|
|
|
7901
7797
|
image?: string | null;
|
|
7902
7798
|
createdAt: string;
|
|
7903
7799
|
} | null;
|
|
7904
|
-
liker?: string[];
|
|
7905
7800
|
/** @default 0 */
|
|
7906
7801
|
commentCount: number;
|
|
7907
7802
|
extended?: {
|
|
@@ -7912,8 +7807,9 @@ interface paths {
|
|
|
7912
7807
|
currentRevision?: string | null;
|
|
7913
7808
|
yjsCheckpointAt?: string | null;
|
|
7914
7809
|
latestRevision?: string;
|
|
7915
|
-
likerCount
|
|
7916
|
-
seenUsersCount
|
|
7810
|
+
likerCount: number;
|
|
7811
|
+
seenUsersCount: number;
|
|
7812
|
+
isLiked: boolean;
|
|
7917
7813
|
};
|
|
7918
7814
|
};
|
|
7919
7815
|
};
|
|
@@ -8192,7 +8088,7 @@ interface paths {
|
|
|
8192
8088
|
};
|
|
8193
8089
|
get?: never;
|
|
8194
8090
|
put?: never;
|
|
8195
|
-
/** Add the current user to the page
|
|
8091
|
+
/** Add the current user to the page like relation */
|
|
8196
8092
|
post: {
|
|
8197
8093
|
parameters: {
|
|
8198
8094
|
query?: never;
|
|
@@ -8208,7 +8104,7 @@ interface paths {
|
|
|
8208
8104
|
};
|
|
8209
8105
|
};
|
|
8210
8106
|
responses: {
|
|
8211
|
-
/** @description The page
|
|
8107
|
+
/** @description The page, viewer-scoped: `likerCount` / `seenUsersCount` are the current relation counts (not a liker ID array — feature-page-relations-collections D-2), `isLiked` reflects the caller's own membership as of this response. */
|
|
8212
8108
|
200: {
|
|
8213
8109
|
headers: {
|
|
8214
8110
|
[name: string]: unknown;
|
|
@@ -8307,7 +8203,6 @@ interface paths {
|
|
|
8307
8203
|
image?: string | null;
|
|
8308
8204
|
createdAt: string;
|
|
8309
8205
|
} | null;
|
|
8310
|
-
liker?: string[];
|
|
8311
8206
|
/** @default 0 */
|
|
8312
8207
|
commentCount: number;
|
|
8313
8208
|
extended?: {
|
|
@@ -8318,8 +8213,9 @@ interface paths {
|
|
|
8318
8213
|
currentRevision?: string | null;
|
|
8319
8214
|
yjsCheckpointAt?: string | null;
|
|
8320
8215
|
latestRevision?: string;
|
|
8321
|
-
likerCount
|
|
8322
|
-
seenUsersCount
|
|
8216
|
+
likerCount: number;
|
|
8217
|
+
seenUsersCount: number;
|
|
8218
|
+
isLiked: boolean;
|
|
8323
8219
|
};
|
|
8324
8220
|
};
|
|
8325
8221
|
};
|
|
@@ -8389,7 +8285,7 @@ interface paths {
|
|
|
8389
8285
|
};
|
|
8390
8286
|
get?: never;
|
|
8391
8287
|
put?: never;
|
|
8392
|
-
/** Remove the current user from the page
|
|
8288
|
+
/** Remove the current user from the page like relation */
|
|
8393
8289
|
post: {
|
|
8394
8290
|
parameters: {
|
|
8395
8291
|
query?: never;
|
|
@@ -8405,7 +8301,7 @@ interface paths {
|
|
|
8405
8301
|
};
|
|
8406
8302
|
};
|
|
8407
8303
|
responses: {
|
|
8408
|
-
/** @description The page
|
|
8304
|
+
/** @description The page, viewer-scoped: `likerCount` / `seenUsersCount` are the current relation counts (not a liker ID array — feature-page-relations-collections D-2), `isLiked` reflects the caller's own membership as of this response. */
|
|
8409
8305
|
200: {
|
|
8410
8306
|
headers: {
|
|
8411
8307
|
[name: string]: unknown;
|
|
@@ -8504,7 +8400,6 @@ interface paths {
|
|
|
8504
8400
|
image?: string | null;
|
|
8505
8401
|
createdAt: string;
|
|
8506
8402
|
} | null;
|
|
8507
|
-
liker?: string[];
|
|
8508
8403
|
/** @default 0 */
|
|
8509
8404
|
commentCount: number;
|
|
8510
8405
|
extended?: {
|
|
@@ -8515,8 +8410,9 @@ interface paths {
|
|
|
8515
8410
|
currentRevision?: string | null;
|
|
8516
8411
|
yjsCheckpointAt?: string | null;
|
|
8517
8412
|
latestRevision?: string;
|
|
8518
|
-
likerCount
|
|
8519
|
-
seenUsersCount
|
|
8413
|
+
likerCount: number;
|
|
8414
|
+
seenUsersCount: number;
|
|
8415
|
+
isLiked: boolean;
|
|
8520
8416
|
};
|
|
8521
8417
|
};
|
|
8522
8418
|
};
|
|
@@ -8701,7 +8597,6 @@ interface paths {
|
|
|
8701
8597
|
image?: string | null;
|
|
8702
8598
|
createdAt: string;
|
|
8703
8599
|
} | null;
|
|
8704
|
-
liker?: string[];
|
|
8705
8600
|
/** @default 0 */
|
|
8706
8601
|
commentCount: number;
|
|
8707
8602
|
extended?: {
|
|
@@ -8712,8 +8607,9 @@ interface paths {
|
|
|
8712
8607
|
currentRevision?: string | null;
|
|
8713
8608
|
yjsCheckpointAt?: string | null;
|
|
8714
8609
|
latestRevision?: string;
|
|
8715
|
-
likerCount
|
|
8716
|
-
seenUsersCount
|
|
8610
|
+
likerCount: number;
|
|
8611
|
+
seenUsersCount: number;
|
|
8612
|
+
isLiked: boolean;
|
|
8717
8613
|
};
|
|
8718
8614
|
granted: boolean;
|
|
8719
8615
|
};
|
|
@@ -9105,7 +9001,6 @@ interface paths {
|
|
|
9105
9001
|
image?: string | null;
|
|
9106
9002
|
createdAt: string;
|
|
9107
9003
|
} | null;
|
|
9108
|
-
liker?: string[];
|
|
9109
9004
|
/** @default 0 */
|
|
9110
9005
|
commentCount: number;
|
|
9111
9006
|
extended?: {
|
|
@@ -9116,8 +9011,9 @@ interface paths {
|
|
|
9116
9011
|
currentRevision?: string | null;
|
|
9117
9012
|
yjsCheckpointAt?: string | null;
|
|
9118
9013
|
latestRevision?: string;
|
|
9119
|
-
likerCount
|
|
9120
|
-
seenUsersCount
|
|
9014
|
+
likerCount: number;
|
|
9015
|
+
seenUsersCount: number;
|
|
9016
|
+
isLiked: boolean;
|
|
9121
9017
|
};
|
|
9122
9018
|
};
|
|
9123
9019
|
};
|
|
@@ -9335,7 +9231,6 @@ interface paths {
|
|
|
9335
9231
|
image?: string | null;
|
|
9336
9232
|
createdAt: string;
|
|
9337
9233
|
} | null;
|
|
9338
|
-
liker?: string[];
|
|
9339
9234
|
/** @default 0 */
|
|
9340
9235
|
commentCount: number;
|
|
9341
9236
|
extended?: {
|
|
@@ -9346,8 +9241,9 @@ interface paths {
|
|
|
9346
9241
|
currentRevision?: string | null;
|
|
9347
9242
|
yjsCheckpointAt?: string | null;
|
|
9348
9243
|
latestRevision?: string;
|
|
9349
|
-
likerCount
|
|
9350
|
-
seenUsersCount
|
|
9244
|
+
likerCount: number;
|
|
9245
|
+
seenUsersCount: number;
|
|
9246
|
+
isLiked: boolean;
|
|
9351
9247
|
};
|
|
9352
9248
|
};
|
|
9353
9249
|
};
|
|
@@ -9537,7 +9433,6 @@ interface paths {
|
|
|
9537
9433
|
image?: string | null;
|
|
9538
9434
|
createdAt: string;
|
|
9539
9435
|
} | null;
|
|
9540
|
-
liker?: string[];
|
|
9541
9436
|
/** @default 0 */
|
|
9542
9437
|
commentCount: number;
|
|
9543
9438
|
extended?: {
|
|
@@ -9548,8 +9443,9 @@ interface paths {
|
|
|
9548
9443
|
currentRevision?: string | null;
|
|
9549
9444
|
yjsCheckpointAt?: string | null;
|
|
9550
9445
|
latestRevision?: string;
|
|
9551
|
-
likerCount
|
|
9552
|
-
seenUsersCount
|
|
9446
|
+
likerCount: number;
|
|
9447
|
+
seenUsersCount: number;
|
|
9448
|
+
isLiked: boolean;
|
|
9553
9449
|
};
|
|
9554
9450
|
renamed_count: number;
|
|
9555
9451
|
};
|
|
@@ -10101,7 +9997,7 @@ interface paths {
|
|
|
10101
9997
|
};
|
|
10102
9998
|
requestBody?: never;
|
|
10103
9999
|
responses: {
|
|
10104
|
-
/** @description Liker list (newest-liked first when known) with full totalCount */
|
|
10000
|
+
/** @description Liker list (newest-liked first when known) with full totalCount. Sourced from the `likes` relation collection; `likedAt` falls back to a best-effort `ACTION_LIKE` Activity join only for a migrated row with a null relation timestamp (feature-page-relations-collections D-1/D-3). */
|
|
10105
10001
|
200: {
|
|
10106
10002
|
headers: {
|
|
10107
10003
|
[name: string]: unknown;
|
|
@@ -11668,7 +11564,6 @@ interface paths {
|
|
|
11668
11564
|
image?: string | null;
|
|
11669
11565
|
createdAt: string;
|
|
11670
11566
|
} | null;
|
|
11671
|
-
liker?: string[];
|
|
11672
11567
|
/** @default 0 */
|
|
11673
11568
|
commentCount: number;
|
|
11674
11569
|
extended?: {
|
|
@@ -11679,8 +11574,9 @@ interface paths {
|
|
|
11679
11574
|
currentRevision?: string | null;
|
|
11680
11575
|
yjsCheckpointAt?: string | null;
|
|
11681
11576
|
latestRevision?: string;
|
|
11682
|
-
likerCount
|
|
11683
|
-
seenUsersCount
|
|
11577
|
+
likerCount: number;
|
|
11578
|
+
seenUsersCount: number;
|
|
11579
|
+
isLiked: boolean;
|
|
11684
11580
|
};
|
|
11685
11581
|
}[];
|
|
11686
11582
|
};
|
|
@@ -16679,7 +16575,6 @@ interface components {
|
|
|
16679
16575
|
image?: string | null;
|
|
16680
16576
|
createdAt: string;
|
|
16681
16577
|
} | null;
|
|
16682
|
-
liker?: string[];
|
|
16683
16578
|
/** @default 0 */
|
|
16684
16579
|
commentCount: number;
|
|
16685
16580
|
extended?: {
|
|
@@ -16690,8 +16585,9 @@ interface components {
|
|
|
16690
16585
|
currentRevision?: string | null;
|
|
16691
16586
|
yjsCheckpointAt?: string | null;
|
|
16692
16587
|
latestRevision?: string;
|
|
16693
|
-
likerCount
|
|
16694
|
-
seenUsersCount
|
|
16588
|
+
likerCount: number;
|
|
16589
|
+
seenUsersCount: number;
|
|
16590
|
+
isLiked: boolean;
|
|
16695
16591
|
};
|
|
16696
16592
|
RenderedAstEnvelope: {
|
|
16697
16593
|
/** @enum {number} */
|
|
@@ -16795,7 +16691,6 @@ interface components {
|
|
|
16795
16691
|
image?: string | null;
|
|
16796
16692
|
createdAt: string;
|
|
16797
16693
|
} | null;
|
|
16798
|
-
liker?: string[];
|
|
16799
16694
|
/** @default 0 */
|
|
16800
16695
|
commentCount: number;
|
|
16801
16696
|
extended?: {
|
|
@@ -16806,8 +16701,9 @@ interface components {
|
|
|
16806
16701
|
currentRevision?: string | null;
|
|
16807
16702
|
yjsCheckpointAt?: string | null;
|
|
16808
16703
|
latestRevision?: string;
|
|
16809
|
-
likerCount
|
|
16810
|
-
seenUsersCount
|
|
16704
|
+
likerCount: number;
|
|
16705
|
+
seenUsersCount: number;
|
|
16706
|
+
isLiked: boolean;
|
|
16811
16707
|
};
|
|
16812
16708
|
Revision: {
|
|
16813
16709
|
_id: string;
|
|
@@ -17022,7 +16918,6 @@ interface components {
|
|
|
17022
16918
|
image?: string | null;
|
|
17023
16919
|
createdAt: string;
|
|
17024
16920
|
} | null;
|
|
17025
|
-
liker?: string[];
|
|
17026
16921
|
/** @default 0 */
|
|
17027
16922
|
commentCount: number;
|
|
17028
16923
|
extended?: {
|
|
@@ -17033,8 +16928,9 @@ interface components {
|
|
|
17033
16928
|
currentRevision?: string | null;
|
|
17034
16929
|
yjsCheckpointAt?: string | null;
|
|
17035
16930
|
latestRevision?: string;
|
|
17036
|
-
likerCount
|
|
17037
|
-
seenUsersCount
|
|
16931
|
+
likerCount: number;
|
|
16932
|
+
seenUsersCount: number;
|
|
16933
|
+
isLiked: boolean;
|
|
17038
16934
|
}[];
|
|
17039
16935
|
pager: {
|
|
17040
16936
|
prev: number | null;
|
|
@@ -17133,7 +17029,6 @@ interface components {
|
|
|
17133
17029
|
image?: string | null;
|
|
17134
17030
|
createdAt: string;
|
|
17135
17031
|
} | null;
|
|
17136
|
-
liker?: string[];
|
|
17137
17032
|
/** @default 0 */
|
|
17138
17033
|
commentCount: number;
|
|
17139
17034
|
extended?: {
|
|
@@ -17144,8 +17039,9 @@ interface components {
|
|
|
17144
17039
|
currentRevision?: string | null;
|
|
17145
17040
|
yjsCheckpointAt?: string | null;
|
|
17146
17041
|
latestRevision?: string;
|
|
17147
|
-
likerCount
|
|
17148
|
-
seenUsersCount
|
|
17042
|
+
likerCount: number;
|
|
17043
|
+
seenUsersCount: number;
|
|
17044
|
+
isLiked: boolean;
|
|
17149
17045
|
} | null;
|
|
17150
17046
|
contentPage?: {
|
|
17151
17047
|
_id: string;
|
|
@@ -17239,7 +17135,6 @@ interface components {
|
|
|
17239
17135
|
image?: string | null;
|
|
17240
17136
|
createdAt: string;
|
|
17241
17137
|
} | null;
|
|
17242
|
-
liker?: string[];
|
|
17243
17138
|
/** @default 0 */
|
|
17244
17139
|
commentCount: number;
|
|
17245
17140
|
extended?: {
|
|
@@ -17250,8 +17145,9 @@ interface components {
|
|
|
17250
17145
|
currentRevision?: string | null;
|
|
17251
17146
|
yjsCheckpointAt?: string | null;
|
|
17252
17147
|
latestRevision?: string;
|
|
17253
|
-
likerCount
|
|
17254
|
-
seenUsersCount
|
|
17148
|
+
likerCount: number;
|
|
17149
|
+
seenUsersCount: number;
|
|
17150
|
+
isLiked: boolean;
|
|
17255
17151
|
} | null;
|
|
17256
17152
|
total: number;
|
|
17257
17153
|
};
|
|
@@ -17348,7 +17244,6 @@ interface components {
|
|
|
17348
17244
|
image?: string | null;
|
|
17349
17245
|
createdAt: string;
|
|
17350
17246
|
} | null;
|
|
17351
|
-
liker?: string[];
|
|
17352
17247
|
/** @default 0 */
|
|
17353
17248
|
commentCount: number;
|
|
17354
17249
|
extended?: {
|
|
@@ -17359,8 +17254,9 @@ interface components {
|
|
|
17359
17254
|
currentRevision?: string | null;
|
|
17360
17255
|
yjsCheckpointAt?: string | null;
|
|
17361
17256
|
latestRevision?: string;
|
|
17362
|
-
likerCount
|
|
17363
|
-
seenUsersCount
|
|
17257
|
+
likerCount: number;
|
|
17258
|
+
seenUsersCount: number;
|
|
17259
|
+
isLiked: boolean;
|
|
17364
17260
|
};
|
|
17365
17261
|
};
|
|
17366
17262
|
UpdatePageRequest: {
|
|
@@ -17506,7 +17402,6 @@ interface components {
|
|
|
17506
17402
|
image?: string | null;
|
|
17507
17403
|
createdAt: string;
|
|
17508
17404
|
} | null;
|
|
17509
|
-
liker?: string[];
|
|
17510
17405
|
/** @default 0 */
|
|
17511
17406
|
commentCount: number;
|
|
17512
17407
|
extended?: {
|
|
@@ -17517,8 +17412,9 @@ interface components {
|
|
|
17517
17412
|
currentRevision?: string | null;
|
|
17518
17413
|
yjsCheckpointAt?: string | null;
|
|
17519
17414
|
latestRevision?: string;
|
|
17520
|
-
likerCount
|
|
17521
|
-
seenUsersCount
|
|
17415
|
+
likerCount: number;
|
|
17416
|
+
seenUsersCount: number;
|
|
17417
|
+
isLiked: boolean;
|
|
17522
17418
|
}[];
|
|
17523
17419
|
};
|
|
17524
17420
|
Attachment: {
|