@mx-space/api-client 3.8.0 → 4.0.0-next.1

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/index.d.mts CHANGED
@@ -126,17 +126,13 @@ declare class AckController<ResponseWrapper> implements IController {
126
126
  //#endregion
127
127
  //#region ../../apps/core/src/constants/db.constant.d.ts
128
128
  declare enum CollectionRefTypes {
129
- Post = "posts",
130
- Note = "notes",
131
- Page = "pages",
132
- Recently = "recentlies"
129
+ Post = "post",
130
+ Note = "note",
131
+ Page = "page",
132
+ Recently = "recently"
133
133
  }
134
134
  //#endregion
135
135
  //#region models/base.d.ts
136
- interface Count {
137
- read: number;
138
- like: number;
139
- }
140
136
  interface Image {
141
137
  height: number;
142
138
  width: number;
@@ -157,33 +153,6 @@ interface PaginateResult<T> {
157
153
  data: T[];
158
154
  pagination: Pager;
159
155
  }
160
- interface BaseModel {
161
- created: string;
162
- id: string;
163
- }
164
- interface BaseCommentIndexModel extends BaseModel {
165
- commentsIndex?: number;
166
- allowComment: boolean;
167
- }
168
- interface TextBaseModelMarkdown extends BaseCommentIndexModel {
169
- title: string;
170
- text: string;
171
- contentFormat?: 'markdown';
172
- content?: undefined;
173
- images?: Image[];
174
- modified: string | null;
175
- meta?: Record<string, any> | null;
176
- }
177
- interface TextBaseModelLexical extends BaseCommentIndexModel {
178
- title: string;
179
- text?: string;
180
- contentFormat: 'lexical';
181
- content: string;
182
- images?: Image[];
183
- modified: string | null;
184
- meta?: Record<string, any> | null;
185
- }
186
- type TextBaseModel = TextBaseModelMarkdown | TextBaseModelLexical;
187
156
  type ModelWithLiked<T> = T & {
188
157
  liked: boolean;
189
158
  };
@@ -206,33 +175,80 @@ type ModelWithTranslation<T> = T & {
206
175
  };
207
176
  //#endregion
208
177
  //#region models/post.d.ts
209
- type PostModel = TextBaseModel & {
178
+ type PostContentFormat = 'markdown' | 'lexical';
179
+ interface PostModelMarkdown {
180
+ id: string;
181
+ createdAt: string;
182
+ modifiedAt: string | null;
183
+ title: string;
184
+ text: string;
185
+ contentFormat?: 'markdown';
186
+ content?: undefined;
187
+ meta?: Record<string, any> | null;
210
188
  summary?: string | null;
211
189
  copyright: boolean;
212
190
  tags: string[];
213
- count: Count;
214
191
  slug: string;
215
192
  categoryId: string;
216
- images: Image[];
217
- category: CategoryModel$1;
218
- pin?: string | null;
219
- pinOrder?: number;
220
- related?: Pick<PostModel, 'id' | 'category' | 'categoryId' | 'created' | 'modified' | 'title' | 'slug' | 'summary'>[];
221
- };
193
+ category: CategoryModel;
194
+ images?: Image[];
195
+ isPublished: boolean;
196
+ readCount: number;
197
+ likeCount: number;
198
+ pinAt?: string | null;
199
+ pinOrder?: number | null;
200
+ related?: PostRelatedSummary[];
201
+ }
202
+ interface PostModelLexical {
203
+ id: string;
204
+ createdAt: string;
205
+ modifiedAt: string | null;
206
+ title: string;
207
+ text?: string;
208
+ contentFormat: 'lexical';
209
+ content: string;
210
+ meta?: Record<string, any> | null;
211
+ summary?: string | null;
212
+ copyright: boolean;
213
+ tags: string[];
214
+ slug: string;
215
+ categoryId: string;
216
+ category: CategoryModel;
217
+ images?: Image[];
218
+ isPublished: boolean;
219
+ readCount: number;
220
+ likeCount: number;
221
+ pinAt?: string | null;
222
+ pinOrder?: number | null;
223
+ related?: PostRelatedSummary[];
224
+ }
225
+ type PostModel = PostModelMarkdown | PostModelLexical;
226
+ interface PostRelatedSummary {
227
+ id: string;
228
+ title: string;
229
+ slug: string;
230
+ summary: string | null;
231
+ categoryId: string;
232
+ category?: CategoryModel;
233
+ createdAt: string;
234
+ modifiedAt: string | null;
235
+ }
222
236
  //#endregion
223
237
  //#region models/category.d.ts
224
238
  declare enum CategoryType {
225
239
  Category = 0,
226
240
  Tag = 1
227
241
  }
228
- interface CategoryModel$1 extends BaseModel {
242
+ interface CategoryModel {
243
+ id: string;
244
+ createdAt: string;
229
245
  type: CategoryType;
230
- count: number;
231
246
  slug: string;
232
247
  name: string;
248
+ count?: number;
233
249
  }
234
- type CategoryChildPost = Pick<PostModel, 'id' | 'title' | 'slug' | 'modified' | 'created' | 'summary' | 'tags' | 'pin' | 'count' | 'images'>;
235
- type CategoryWithChildrenModel = CategoryModel$1 & {
250
+ type CategoryChildPost = Pick<PostModel, 'id' | 'title' | 'slug' | 'modifiedAt' | 'createdAt' | 'tags' | 'pinAt' | 'readCount' | 'likeCount'>;
251
+ type CategoryWithChildrenModel = CategoryModel & {
236
252
  children: CategoryChildPost[]; /** Aggregated tag-name → post-count for posts under this category. */
237
253
  tagsSum?: Array<{
238
254
  name: string;
@@ -246,7 +262,7 @@ interface TagModel {
246
262
  count: number;
247
263
  name: string;
248
264
  }
249
- type TagDetailPost = Pick<PostModel, 'id' | 'title' | 'slug' | 'category' | 'created' | 'modified' | 'summary' | 'tags' | 'pin' | 'count'>;
265
+ type TagDetailPost = Pick<PostModel, 'id' | 'title' | 'slug' | 'category' | 'createdAt' | 'modifiedAt' | 'summary' | 'tags' | 'pinAt' | 'readCount' | 'likeCount'>;
250
266
  //#endregion
251
267
  //#region models/activity.d.ts
252
268
  interface ActivityPresence {
@@ -264,21 +280,21 @@ interface RoomOmittedNote {
264
280
  title: string;
265
281
  nid: number;
266
282
  id: string;
267
- created: string;
283
+ createdAt: string;
268
284
  }
269
285
  interface RoomOmittedPage {
270
286
  title: string;
271
287
  slug: string;
272
288
  id: string;
273
- created: string;
289
+ createdAt: string;
274
290
  }
275
291
  interface RoomOmittedPost {
276
292
  slug: string;
277
293
  title: string;
278
294
  categoryId: string;
279
- category: CategoryModel$1;
295
+ category: CategoryModel;
280
296
  id: string;
281
- created: string;
297
+ createdAt: string;
282
298
  }
283
299
  interface RoomsData {
284
300
  rooms: string[];
@@ -299,7 +315,7 @@ interface RecentActivities {
299
315
  note: RecentNote[];
300
316
  }
301
317
  interface RecentComment {
302
- created: string;
318
+ createdAt: string;
303
319
  author: string;
304
320
  text: string;
305
321
  id: string;
@@ -314,7 +330,7 @@ interface RecentComment {
314
330
  };
315
331
  }
316
332
  interface RecentLike {
317
- created: string;
333
+ createdAt: string;
318
334
  id: string;
319
335
  type: CollectionRefTypes.Post | CollectionRefTypes.Note;
320
336
  nid?: number;
@@ -323,16 +339,16 @@ interface RecentLike {
323
339
  }
324
340
  interface RecentNote {
325
341
  id: string;
326
- created: string;
342
+ createdAt: string;
327
343
  title: string;
328
- modified: string;
344
+ modifiedAt: string | null;
329
345
  nid: number;
330
346
  }
331
347
  interface RecentPost {
332
348
  id: string;
333
- created: string;
349
+ createdAt: string;
334
350
  title: string;
335
- modified: string;
351
+ modifiedAt: string | null;
336
352
  slug: string;
337
353
  category?: {
338
354
  slug: string;
@@ -344,7 +360,7 @@ interface RecentRecent {
344
360
  content: string;
345
361
  up: number;
346
362
  down: number;
347
- created: string;
363
+ createdAt: string;
348
364
  }
349
365
  interface LastYearPublication {
350
366
  posts: PostsItem[];
@@ -352,7 +368,7 @@ interface LastYearPublication {
352
368
  }
353
369
  interface PostsItem {
354
370
  id: string;
355
- created: string;
371
+ createdAt: string;
356
372
  title: string;
357
373
  slug: string;
358
374
  categoryId: string;
@@ -363,11 +379,11 @@ interface Category {
363
379
  type: number;
364
380
  name: string;
365
381
  slug: string;
366
- created: string;
382
+ createdAt: string;
367
383
  }
368
384
  interface NotesItem {
369
385
  id: string;
370
- created: string;
386
+ createdAt: string;
371
387
  title: string;
372
388
  mood: string;
373
389
  weather: string;
@@ -376,33 +392,43 @@ interface NotesItem {
376
392
  }
377
393
  //#endregion
378
394
  //#region models/topic.d.ts
379
- interface TopicModel extends BaseModel {
380
- description?: string;
381
- introduce: string;
395
+ interface TopicModel {
396
+ id: string;
397
+ createdAt: string;
382
398
  name: string;
383
399
  slug: string;
384
- icon?: string;
400
+ description: string;
401
+ introduce: string | null;
402
+ icon: string | null;
385
403
  }
386
404
  //#endregion
387
405
  //#region models/note.d.ts
388
- type NoteModel = TextBaseModel & {
406
+ interface NoteModel {
407
+ id: string;
408
+ nid: number;
409
+ title: string;
410
+ slug?: string | null;
411
+ text: string;
412
+ content?: string | null;
413
+ contentFormat: 'markdown' | 'lexical';
414
+ images?: Image[] | null;
415
+ meta?: Record<string, any> | null;
389
416
  isPublished: boolean;
390
- count: {
391
- read: number;
392
- like: number;
393
- };
394
- mood?: string;
395
- weather?: string;
396
- bookmark?: boolean;
397
- publicAt?: Date;
417
+ hasPassword: boolean;
398
418
  password?: string | null;
399
- nid: number;
400
- slug?: string;
401
- location?: string;
402
- coordinates?: Coordinate;
403
- topic?: TopicModel;
404
- topicId?: string;
405
- };
419
+ publicAt?: string | Date | null;
420
+ mood?: string | null;
421
+ weather?: string | null;
422
+ bookmark: boolean;
423
+ coordinates?: Coordinate | null;
424
+ location?: string | null;
425
+ readCount: number;
426
+ likeCount: number;
427
+ topicId?: string | null;
428
+ topic?: TopicModel | null;
429
+ createdAt: string;
430
+ modifiedAt: string | null;
431
+ }
406
432
  interface Coordinate {
407
433
  latitude: number;
408
434
  longitude: number;
@@ -424,10 +450,12 @@ interface NoteWrappedWithLikedAndTranslationPayload {
424
450
  }
425
451
  //#endregion
426
452
  //#region models/say.d.ts
427
- interface SayModel extends BaseModel {
453
+ interface SayModel {
454
+ id: string;
455
+ createdAt: string;
428
456
  text: string;
429
- source?: string;
430
- author?: string;
457
+ source: string | null;
458
+ author: string | null;
431
459
  }
432
460
  //#endregion
433
461
  //#region models/setting.d.ts
@@ -512,26 +540,30 @@ interface IConfig {
512
540
  declare type IConfigKeys = keyof IConfig;
513
541
  //#endregion
514
542
  //#region models/user.d.ts
515
- interface UserModel extends BaseModel {
516
- introduce: string;
517
- mail: string;
518
- url: string;
519
- name: string;
520
- socialIds: Record<string, string>;
543
+ interface UserModel {
544
+ id: string;
545
+ createdAt: string;
521
546
  username: string;
522
- modified: string;
523
- v: number;
524
- lastLoginTime: string;
525
- lastLoginIp?: string;
547
+ name: string;
526
548
  avatar: string;
527
- postID: string;
549
+ mail: string;
550
+ introduce?: string;
551
+ url?: string;
552
+ socialIds?: Record<string, string>;
553
+ lastLoginTime?: string;
554
+ lastLoginIp?: string | null;
555
+ role?: 'owner' | 'reader';
556
+ email?: string;
557
+ image?: string;
558
+ handle?: string;
559
+ displayUsername?: string;
528
560
  }
529
561
  type TLogin = {
530
562
  token: string;
531
563
  expiresIn: number;
532
564
  lastLoginTime: null | string;
533
565
  lastLoginIp?: null | string;
534
- } & Pick<UserModel, 'name' | 'username' | 'created' | 'url' | 'mail' | 'avatar' | 'id'>;
566
+ } & Pick<UserModel, 'name' | 'username' | 'createdAt' | 'url' | 'mail' | 'avatar' | 'id'>;
535
567
  type BetterAuthUserRole = 'owner' | 'reader';
536
568
  interface BetterAuthUser {
537
569
  id: string;
@@ -612,8 +644,8 @@ interface Url {
612
644
  serverUrl: string;
613
645
  webUrl: string;
614
646
  }
615
- interface AggregateTopNote extends Pick<NoteModel, 'id' | 'title' | 'created' | 'nid' | 'images' | 'mood' | 'weather'> {}
616
- interface AggregateTopPost extends Pick<PostModel, 'id' | 'slug' | 'created' | 'title' | 'category' | 'images' | 'summary'> {}
647
+ interface AggregateTopNote extends Pick<NoteModel, 'id' | 'title' | 'createdAt' | 'nid' | 'images' | 'mood' | 'weather'> {}
648
+ interface AggregateTopPost extends Pick<PostModel, 'id' | 'slug' | 'createdAt' | 'title' | 'category' | 'images' | 'summary'> {}
617
649
  interface AggregateTop {
618
650
  notes: AggregateTopNote[];
619
651
  posts: AggregateTopPost[];
@@ -624,15 +656,15 @@ declare enum TimelineType {
624
656
  Note = 1
625
657
  }
626
658
  interface TimelineData {
627
- notes?: Pick<NoteModel, 'id' | 'nid' | 'title' | 'weather' | 'mood' | 'created' | 'modified' | 'bookmark'>[];
628
- posts?: (Pick<PostModel, 'id' | 'title' | 'slug' | 'created' | 'modified' | 'category'> & {
659
+ notes?: Pick<NoteModel, 'id' | 'nid' | 'title' | 'weather' | 'mood' | 'createdAt' | 'modifiedAt' | 'bookmark'>[];
660
+ posts?: (Pick<PostModel, 'id' | 'title' | 'slug' | 'createdAt' | 'modifiedAt' | 'category'> & {
629
661
  url: string;
630
662
  })[];
631
663
  }
632
- interface LatestPostItem extends Pick<PostModel, 'id' | 'title' | 'slug' | 'created' | 'modified' | 'tags'> {
664
+ interface LatestPostItem extends Pick<PostModel, 'id' | 'title' | 'slug' | 'createdAt' | 'modifiedAt' | 'tags'> {
633
665
  category: Pick<CategoryModel, 'name' | 'slug'> | null;
634
666
  }
635
- interface LatestNoteItem extends Pick<NoteModel, 'id' | 'title' | 'nid' | 'created' | 'modified' | 'mood' | 'weather' | 'bookmark'> {}
667
+ interface LatestNoteItem extends Pick<NoteModel, 'id' | 'title' | 'nid' | 'createdAt' | 'modifiedAt' | 'mood' | 'weather' | 'bookmark'> {}
636
668
  interface LatestData {
637
669
  posts?: LatestPostItem[];
638
670
  notes?: LatestNoteItem[];
@@ -665,15 +697,15 @@ interface AggregateStat {
665
697
  //#region models/ai.d.ts
666
698
  interface AISummaryModel {
667
699
  id: string;
668
- created: string;
700
+ createdAt: string;
669
701
  summary: string;
670
702
  hash: string;
671
703
  refId: string;
672
- lang: string;
704
+ lang: string | null;
673
705
  }
674
706
  interface AITranslationModel {
675
707
  id: string;
676
- created: string;
708
+ createdAt: string;
677
709
  hash: string;
678
710
  refId: string;
679
711
  refType: string;
@@ -681,11 +713,13 @@ interface AITranslationModel {
681
713
  sourceLang: string;
682
714
  title: string;
683
715
  text: string;
684
- subtitle?: string;
685
- summary?: string;
686
- tags?: string[];
687
- aiModel?: string;
688
- aiProvider?: string;
716
+ subtitle: string | null;
717
+ summary: string | null;
718
+ tags: string[];
719
+ aiModel: string | null;
720
+ aiProvider: string | null;
721
+ contentFormat: string | null;
722
+ content: string | null;
689
723
  }
690
724
  interface AIDeepReadingModel {
691
725
  id: string;
@@ -723,19 +757,15 @@ type AITranslationStreamEvent = {
723
757
  };
724
758
  interface AIInsightsModel {
725
759
  id: string;
726
- created: string;
727
- updated?: string;
760
+ createdAt: string;
728
761
  hash: string;
729
762
  refId: string;
730
763
  lang: string;
731
764
  content: string;
732
765
  isTranslation: boolean;
733
- sourceInsightsId?: string;
734
- sourceLang?: string;
735
- modelInfo?: {
736
- provider: string;
737
- model: string;
738
- };
766
+ sourceInsightsId: string | null;
767
+ sourceLang: string | null;
768
+ modelInfo: Record<string, unknown> | null;
739
769
  }
740
770
  type AIInsightsStreamEvent = {
741
771
  type: 'token';
@@ -760,29 +790,44 @@ interface AuthUser {
760
790
  }
761
791
  //#endregion
762
792
  //#region models/comment.d.ts
763
- interface CommentModel extends BaseModel {
793
+ /**
794
+ * 评论父级预览:仅暴露列表/详情中渲染父评论引用所需之最小字段。
795
+ * 服务端有意去 ip/mail/agent 等 PII,故不可与 CommentModel 通用。
796
+ */
797
+ interface CommentParentPreview {
798
+ id: string;
799
+ author: string | null;
800
+ text: string;
801
+ isDeleted: boolean;
802
+ }
803
+ interface CommentModel {
804
+ id: string;
805
+ createdAt: string;
764
806
  refType: CollectionRefTypes;
765
- ref: string;
807
+ refId: string;
766
808
  state: number;
767
- author: string;
809
+ author: string | null;
768
810
  text: string;
769
- mail?: string;
770
- url?: string;
771
- ip?: string;
772
- agent?: string;
773
- pin?: boolean;
774
- avatar: string;
775
- parentCommentId?: string | null;
776
- rootCommentId?: string | null;
777
- replyCount?: number;
778
- latestReplyAt?: string | null;
779
- isDeleted?: boolean;
780
- deletedAt?: string;
781
- isWhispers?: boolean;
782
- location?: string;
783
- authProvider?: string;
784
- readerId?: string;
785
- editedAt?: string;
811
+ mail: string | null;
812
+ url: string | null;
813
+ ip: string | null;
814
+ agent: string | null;
815
+ pin: boolean;
816
+ avatar: string | null;
817
+ parentCommentId: string | null;
818
+ rootCommentId: string | null;
819
+ replyCount: number;
820
+ latestReplyAt: string | null;
821
+ isDeleted: boolean;
822
+ deletedAt: string | null;
823
+ isWhispers: boolean;
824
+ location: string | null;
825
+ authProvider: string | null;
826
+ readerId: string | null;
827
+ editedAt: string | null;
828
+ anchor: Record<string, unknown> | null;
829
+ /** 仅 list/detail 端点附加(服务端 attachParentPreview 之结果)。 */
830
+ parent?: CommentParentPreview | null;
786
831
  }
787
832
  interface CommentReplyWindow {
788
833
  total: number;
@@ -807,7 +852,7 @@ interface CommentRef {
807
852
  categoryId?: string;
808
853
  slug: string;
809
854
  title: string;
810
- category?: CategoryModel$1;
855
+ category?: CategoryModel;
811
856
  }
812
857
  declare enum CommentState {
813
858
  Unread = 0,
@@ -827,15 +872,17 @@ declare enum LinkState {
827
872
  Banned = 3,
828
873
  Reject = 4
829
874
  }
830
- interface LinkModel extends BaseModel {
875
+ interface LinkModel {
876
+ id: string;
877
+ createdAt: string;
831
878
  name: string;
832
879
  url: string;
833
- avatar: string;
834
- description?: string;
880
+ avatar: string | null;
881
+ description: string | null;
835
882
  type: LinkType;
836
883
  state: LinkState;
837
884
  hide: boolean;
838
- email: string;
885
+ email: string | null;
839
886
  }
840
887
  //#endregion
841
888
  //#region models/page.d.ts
@@ -844,25 +891,52 @@ declare enum EnumPageType {
844
891
  'html' = "html",
845
892
  'frame' = "frame"
846
893
  }
847
- type PageModel = TextBaseModel & {
848
- created: string;
894
+ interface PageModelMarkdown {
895
+ id: string;
896
+ createdAt: string;
897
+ modifiedAt: string | null;
898
+ title: string;
849
899
  slug: string;
850
- subtitle?: string;
900
+ subtitle?: string | null;
901
+ text: string;
902
+ contentFormat?: 'markdown';
903
+ content?: undefined;
904
+ meta?: Record<string, any> | null;
905
+ images?: Image[];
851
906
  order?: number;
852
907
  type?: EnumPageType;
853
908
  options?: object;
854
- };
909
+ }
910
+ interface PageModelLexical {
911
+ id: string;
912
+ createdAt: string;
913
+ modifiedAt: string | null;
914
+ title: string;
915
+ slug: string;
916
+ subtitle?: string | null;
917
+ text?: string;
918
+ contentFormat: 'lexical';
919
+ content: string;
920
+ meta?: Record<string, any> | null;
921
+ images?: Image[];
922
+ order?: number;
923
+ type?: EnumPageType;
924
+ options?: object;
925
+ }
926
+ type PageModel = PageModelMarkdown | PageModelLexical;
855
927
  //#endregion
856
928
  //#region models/project.d.ts
857
- interface ProjectModel extends BaseModel {
929
+ interface ProjectModel {
930
+ id: string;
931
+ createdAt: string;
858
932
  name: string;
859
- previewUrl?: string;
860
- docUrl?: string;
861
- projectUrl?: string;
862
- images?: string[];
863
933
  description: string;
864
- avatar?: string;
865
- text: string;
934
+ previewUrl: string | null;
935
+ docUrl: string | null;
936
+ projectUrl: string | null;
937
+ images: string[] | null;
938
+ avatar: string | null;
939
+ text: string | null;
866
940
  }
867
941
  //#endregion
868
942
  //#region models/reader.d.ts
@@ -876,14 +950,27 @@ interface ReaderModel {
876
950
  //#endregion
877
951
  //#region models/recently.d.ts
878
952
  declare enum RecentlyRefTypes {
879
- Post = "Post",
880
- Note = "Note",
881
- Page = "Page"
953
+ Post = "post",
954
+ Note = "note",
955
+ Page = "page",
956
+ Recently = "recently"
882
957
  }
883
958
  type RecentlyRefType = {
884
959
  title: string;
885
960
  url: string;
886
961
  };
962
+ /**
963
+ * 服务端 attachRef 注入:when `refType`/`refId` 指向 post/note/page/recently,
964
+ * 列表/详情会附此扁形 summary;orphan ref(目标已删)则为 null。
965
+ */
966
+ interface RecentlyRefSummary {
967
+ id: string;
968
+ type: RecentlyRefTypes;
969
+ title?: string;
970
+ slug?: string | null;
971
+ nid?: number;
972
+ url?: string;
973
+ }
887
974
  declare enum RecentlyTypeEnum {
888
975
  Text = "text",
889
976
  Book = "book",
@@ -948,37 +1035,50 @@ interface CodeMetadata {
948
1035
  platform?: string;
949
1036
  }
950
1037
  type RecentlyMetadata = BookMetadata | MediaMetadata | MusicMetadata | GithubMetadata | LinkMetadata | AcademicMetadata | CodeMetadata;
951
- interface RecentlyModel extends BaseCommentIndexModel {
1038
+ interface RecentlyModel {
1039
+ id: string;
1040
+ createdAt: string;
1041
+ modifiedAt: string | null;
952
1042
  content: string;
953
1043
  type: RecentlyTypeEnum;
954
- metadata?: RecentlyMetadata;
955
- ref?: RecentlyRefType & {
956
- [key: string]: any;
957
- };
958
- refId?: string;
959
- refType?: RecentlyRefTypes;
1044
+ metadata: RecentlyMetadata | null;
1045
+ refType: RecentlyRefTypes;
1046
+ refId: string | null;
1047
+ ref?: RecentlyRefSummary | null;
960
1048
  up: number;
961
1049
  down: number;
962
- modified?: string;
1050
+ commentsIndex: number;
1051
+ allowComment: boolean;
963
1052
  }
964
1053
  //#endregion
965
1054
  //#region models/snippet.d.ts
966
1055
  declare enum SnippetType {
967
1056
  JSON = "json",
1057
+ JSON5 = "json5",
968
1058
  Function = "function",
969
1059
  Text = "text",
970
1060
  YAML = "yaml"
971
1061
  }
972
- interface SnippetModel<T = unknown> extends BaseModel {
1062
+ interface SnippetModel<T = unknown> {
1063
+ id: string;
1064
+ createdAt: string;
1065
+ updatedAt: string | null;
973
1066
  type: SnippetType;
974
1067
  private: boolean;
975
1068
  raw: string;
976
1069
  name: string;
977
1070
  reference: string;
978
- comment?: string;
979
- metatype?: string;
980
- schema?: string;
981
- data: T;
1071
+ comment?: string | null;
1072
+ metatype?: string | null;
1073
+ schema?: string | null;
1074
+ method?: string | null;
1075
+ customPath?: string | null;
1076
+ /** Encrypted on list endpoints; cleared key-value object on detail endpoints. */
1077
+ secret?: string | Record<string, unknown> | null;
1078
+ enable: boolean;
1079
+ builtIn: boolean;
1080
+ compiledCode?: string | null;
1081
+ data?: T;
982
1082
  }
983
1083
  //#endregion
984
1084
  //#region ../../apps/core/src/modules/subscribe/subscribe.constant.d.ts
@@ -1266,11 +1366,11 @@ declare class AIController<ResponseWrapper> implements IController {
1266
1366
  data: AISummaryModel;
1267
1367
  }) ? T_1 extends unknown ? {
1268
1368
  id: string;
1269
- created: string;
1369
+ created_at: string;
1270
1370
  summary: string;
1271
1371
  hash: string;
1272
1372
  ref_id: string;
1273
- lang: string;
1373
+ lang: string | null;
1274
1374
  } : T_1 : never : never;
1275
1375
  } : ResponseWrapper;
1276
1376
  $request: {
@@ -1301,11 +1401,11 @@ declare class AIController<ResponseWrapper> implements IController {
1301
1401
  data: AISummaryModel;
1302
1402
  }) ? T_1 extends unknown ? {
1303
1403
  id: string;
1304
- created: string;
1404
+ created_at: string;
1305
1405
  summary: string;
1306
1406
  hash: string;
1307
1407
  ref_id: string;
1308
- lang: string;
1408
+ lang: string | null;
1309
1409
  } : T_1 : never : never;
1310
1410
  } : ResponseWrapper;
1311
1411
  $request: {
@@ -1385,7 +1485,7 @@ declare class AIController<ResponseWrapper> implements IController {
1385
1485
  data: AITranslationModel;
1386
1486
  }) ? T_1 extends unknown ? {
1387
1487
  id: string;
1388
- created: string;
1488
+ created_at: string;
1389
1489
  hash: string;
1390
1490
  ref_id: string;
1391
1491
  ref_type: string;
@@ -1393,11 +1493,13 @@ declare class AIController<ResponseWrapper> implements IController {
1393
1493
  source_lang: string;
1394
1494
  title: string;
1395
1495
  text: string;
1396
- subtitle?: string | undefined;
1397
- summary?: string | undefined;
1398
- tags?: string[] | undefined;
1399
- ai_model?: string | undefined;
1400
- ai_provider?: string | undefined;
1496
+ subtitle: string | null;
1497
+ summary: string | null;
1498
+ tags: string[];
1499
+ ai_model: string | null;
1500
+ ai_provider: string | null;
1501
+ content_format: string | null;
1502
+ content: string | null;
1401
1503
  } : T_1 : never : never;
1402
1504
  } : ResponseWrapper;
1403
1505
  $request: {
@@ -1596,19 +1698,15 @@ declare class AIController<ResponseWrapper> implements IController {
1596
1698
  data: AIInsightsModel | null;
1597
1699
  }) ? T_1 extends unknown ? {
1598
1700
  id: string;
1599
- created: string;
1600
- updated?: string | undefined;
1701
+ created_at: string;
1601
1702
  hash: string;
1602
1703
  ref_id: string;
1603
1704
  lang: string;
1604
1705
  content: string;
1605
1706
  is_translation: boolean;
1606
- source_insights_id?: string | undefined;
1607
- source_lang?: string | undefined;
1608
- model_info?: {
1609
- provider: string;
1610
- model: string;
1611
- } | undefined;
1707
+ source_insights_id: string | null;
1708
+ source_lang: string | null;
1709
+ model_info: Record<string, unknown> | null;
1612
1710
  } : T_1 : never : never;
1613
1711
  } : ResponseWrapper;
1614
1712
  $request: {
@@ -1659,14 +1757,14 @@ declare class CategoryController<ResponseWrapper> implements IController {
1659
1757
  constructor(client: HTTPClient);
1660
1758
  get proxy(): IRequestHandler<ResponseWrapper>;
1661
1759
  getAllCategories(): RequestProxyResult<{
1662
- data: CategoryModel$1[];
1760
+ data: CategoryModel[];
1663
1761
  }, ResponseWrapper>;
1664
1762
  getAllTags(): RequestProxyResult<{
1665
1763
  data: TagModel[];
1666
1764
  }, ResponseWrapper>;
1667
1765
  getCategoryDetail(id: string): Promise<ResponseProxyExtraRaw<CategoryWithChildrenModel>>;
1668
1766
  getCategoryDetail(ids: string[]): Promise<ResponseProxyExtraRaw<Map<string, CategoryWithChildrenModel>>>;
1669
- getCategoryByIdOrSlug(idOrSlug: string): Promise<CategoryModel$1 & {
1767
+ getCategoryByIdOrSlug(idOrSlug: string): Promise<CategoryModel & {
1670
1768
  children: CategoryChildPost[];
1671
1769
  tagsSum?: Array<{
1672
1770
  name: string;
@@ -1692,12 +1790,12 @@ declare class CategoryController<ResponseWrapper> implements IController {
1692
1790
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
1693
1791
  data: CategoryWithChildrenModel;
1694
1792
  }) ? T_1 extends unknown ? {
1793
+ id: string;
1794
+ created_at: string;
1695
1795
  type: CategoryType;
1696
- count: number;
1697
1796
  slug: string;
1698
1797
  name: string;
1699
- created: string;
1700
- id: string;
1798
+ count?: number | undefined;
1701
1799
  children: CategoryChildPost[];
1702
1800
  tags_sum?: {
1703
1801
  name: string;
@@ -1820,19 +1918,27 @@ declare class CommentController<ResponseWrapper> implements IController {
1820
1918
  * 根据 comment id 获取评论,包括子评论
1821
1919
  */
1822
1920
  getById(id: string): RequestProxyResult<CommentModel & {
1823
- ref: string;
1921
+ parent: CommentParentPreview | null;
1922
+ children?: CommentModel[];
1923
+ reader?: ReaderModel;
1824
1924
  }, ResponseWrapper, ResponseWrapper extends unknown ? {
1825
1925
  [key: string]: any;
1826
1926
  data: CommentModel & {
1827
- ref: string;
1927
+ parent: CommentParentPreview | null;
1928
+ children?: CommentModel[];
1929
+ reader?: ReaderModel;
1828
1930
  };
1829
1931
  } : ResponseWrapper extends {
1830
1932
  data: CommentModel & {
1831
- ref: string;
1933
+ parent: CommentParentPreview | null;
1934
+ children?: CommentModel[];
1935
+ reader?: ReaderModel;
1832
1936
  };
1833
1937
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
1834
1938
  data: CommentModel & {
1835
- ref: string;
1939
+ parent: CommentParentPreview | null;
1940
+ children?: CommentModel[];
1941
+ reader?: ReaderModel;
1836
1942
  };
1837
1943
  }>;
1838
1944
  /**
@@ -1842,27 +1948,19 @@ declare class CommentController<ResponseWrapper> implements IController {
1842
1948
  getByRefId(refId: string, params?: PaginationParams & {
1843
1949
  sort?: 'pinned' | 'newest' | 'oldest';
1844
1950
  around?: string;
1845
- }): RequestProxyResult<PaginateResult<CommentThreadItem & {
1846
- ref: string;
1847
- }> & {
1951
+ }): RequestProxyResult<PaginateResult<CommentThreadItem> & {
1848
1952
  readers: Record<string, ReaderModel>;
1849
1953
  }, ResponseWrapper, ResponseWrapper extends unknown ? {
1850
1954
  [key: string]: any;
1851
- data: PaginateResult<CommentThreadItem & {
1852
- ref: string;
1853
- }> & {
1955
+ data: PaginateResult<CommentThreadItem> & {
1854
1956
  readers: Record<string, ReaderModel>;
1855
1957
  };
1856
1958
  } : ResponseWrapper extends {
1857
- data: PaginateResult<CommentThreadItem & {
1858
- ref: string;
1859
- }> & {
1959
+ data: PaginateResult<CommentThreadItem> & {
1860
1960
  readers: Record<string, ReaderModel>;
1861
1961
  };
1862
1962
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
1863
- data: PaginateResult<CommentThreadItem & {
1864
- ref: string;
1865
- }> & {
1963
+ data: PaginateResult<CommentThreadItem> & {
1866
1964
  readers: Record<string, ReaderModel>;
1867
1965
  };
1868
1966
  }>;
@@ -2008,7 +2106,7 @@ declare module '@mx-space/api-client' {
2008
2106
  type NoteListOptions = {
2009
2107
  select?: SelectFields<keyof NoteModel>;
2010
2108
  year?: number;
2011
- sortBy?: 'weather' | 'mood' | 'title' | 'created' | 'modified';
2109
+ sortBy?: 'weather' | 'mood' | 'title' | 'createdAt' | 'modifiedAt';
2012
2110
  sortOrder?: 1 | -1;
2013
2111
  lang?: string;
2014
2112
  withSummary?: boolean;
@@ -2026,7 +2124,7 @@ type NoteMiddleListOptions = {
2026
2124
  type NoteTopicListOptions = SortOptions & {
2027
2125
  lang?: string;
2028
2126
  };
2029
- type NoteTimelineItem = Pick<NoteModel, 'id' | 'title' | 'nid' | 'slug' | 'created' | 'isPublished'> & {
2127
+ type NoteTimelineItem = Pick<NoteModel, 'id' | 'title' | 'nid' | 'slug' | 'createdAt' | 'isPublished'> & {
2030
2128
  isTranslated?: boolean;
2031
2129
  translationMeta?: TranslationMeta;
2032
2130
  };
@@ -2317,7 +2415,7 @@ declare module '@mx-space/api-client' {
2317
2415
  }
2318
2416
  type PageListOptions = {
2319
2417
  select?: SelectFields<keyof PageModel>;
2320
- sortBy?: 'order' | 'subtitle' | 'title' | 'created' | 'modified';
2418
+ sortBy?: 'order' | 'subtitle' | 'title' | 'createdAt' | 'modifiedAt';
2321
2419
  sortOrder?: 1 | -1;
2322
2420
  };
2323
2421
  declare class PageController<ResponseWrapper> implements IController {
@@ -2374,7 +2472,7 @@ declare module '@mx-space/api-client' {
2374
2472
  type PostListOptions = {
2375
2473
  select?: SelectFields<keyof PostModel>;
2376
2474
  year?: number;
2377
- sortBy?: 'categoryId' | 'title' | 'created' | 'modified';
2475
+ sortBy?: 'categoryId' | 'title' | 'createdAt' | 'modifiedAt' | 'pinAt';
2378
2476
  sortOrder?: 1 | -1;
2379
2477
  truncate?: number; /** 语言代码,用于获取翻译版本 */
2380
2478
  lang?: string;
@@ -2486,44 +2584,28 @@ declare class RecentlyController<ResponseWrapper> implements IController {
2486
2584
  /**
2487
2585
  * 获取最新一条
2488
2586
  */
2489
- getLatestOne(): RequestProxyResult<RecentlyModel & {
2490
- comments: number;
2491
- }, ResponseWrapper, ResponseWrapper extends unknown ? {
2587
+ getLatestOne(): RequestProxyResult<RecentlyModel | null, ResponseWrapper, ResponseWrapper extends unknown ? {
2492
2588
  [key: string]: any;
2493
- data: RecentlyModel & {
2494
- comments: number;
2495
- };
2589
+ data: RecentlyModel | null;
2496
2590
  } : ResponseWrapper extends {
2497
- data: RecentlyModel & {
2498
- comments: number;
2499
- };
2591
+ data: RecentlyModel | null;
2500
2592
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
2501
- data: RecentlyModel & {
2502
- comments: number;
2503
- };
2593
+ data: RecentlyModel | null;
2504
2594
  }>;
2505
2595
  getAll(): RequestProxyResult<{
2506
- data: RecentlyModel[] & {
2507
- comments: number;
2508
- };
2596
+ data: RecentlyModel[];
2509
2597
  }, ResponseWrapper, ResponseWrapper extends unknown ? {
2510
2598
  [key: string]: any;
2511
2599
  data: {
2512
- data: RecentlyModel[] & {
2513
- comments: number;
2514
- };
2600
+ data: RecentlyModel[];
2515
2601
  };
2516
2602
  } : ResponseWrapper extends {
2517
2603
  data: {
2518
- data: RecentlyModel[] & {
2519
- comments: number;
2520
- };
2604
+ data: RecentlyModel[];
2521
2605
  };
2522
2606
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
2523
2607
  data: {
2524
- data: RecentlyModel[] & {
2525
- comments: number;
2526
- };
2608
+ data: RecentlyModel[];
2527
2609
  };
2528
2610
  }>;
2529
2611
  getList({
@@ -2535,44 +2617,28 @@ declare class RecentlyController<ResponseWrapper> implements IController {
2535
2617
  after?: string | undefined;
2536
2618
  size?: number | number;
2537
2619
  }): RequestProxyResult<{
2538
- data: RecentlyModel[] & {
2539
- comments: number;
2540
- };
2620
+ data: RecentlyModel[];
2541
2621
  }, ResponseWrapper, ResponseWrapper extends unknown ? {
2542
2622
  [key: string]: any;
2543
2623
  data: {
2544
- data: RecentlyModel[] & {
2545
- comments: number;
2546
- };
2624
+ data: RecentlyModel[];
2547
2625
  };
2548
2626
  } : ResponseWrapper extends {
2549
2627
  data: {
2550
- data: RecentlyModel[] & {
2551
- comments: number;
2552
- };
2628
+ data: RecentlyModel[];
2553
2629
  };
2554
2630
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
2555
2631
  data: {
2556
- data: RecentlyModel[] & {
2557
- comments: number;
2558
- };
2632
+ data: RecentlyModel[];
2559
2633
  };
2560
2634
  }>;
2561
- getById(id: string): RequestProxyResult<RecentlyModel & {
2562
- comments: number;
2563
- }, ResponseWrapper, ResponseWrapper extends unknown ? {
2635
+ getById(id: string): RequestProxyResult<RecentlyModel, ResponseWrapper, ResponseWrapper extends unknown ? {
2564
2636
  [key: string]: any;
2565
- data: RecentlyModel & {
2566
- comments: number;
2567
- };
2637
+ data: RecentlyModel;
2568
2638
  } : ResponseWrapper extends {
2569
- data: RecentlyModel & {
2570
- comments: number;
2571
- };
2639
+ data: RecentlyModel;
2572
2640
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
2573
- data: RecentlyModel & {
2574
- comments: number;
2575
- };
2641
+ data: RecentlyModel;
2576
2642
  }>;
2577
2643
  /** 表态:点赞,点踩 */
2578
2644
  attitude(id: string, attitude: RecentlyAttitudeEnum): RequestProxyResult<{
@@ -2649,38 +2715,38 @@ declare class SearchController<ResponseWrapper> implements IController {
2649
2715
  name: string;
2650
2716
  constructor(client: HTTPClient);
2651
2717
  get proxy(): IRequestHandler<ResponseWrapper>;
2652
- search(type: 'note', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<NoteModel, 'modified' | 'id' | 'title' | 'created' | 'nid'> & SearchResultHighlight>, ResponseWrapper>>;
2653
- search(type: 'post', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<PostModel, 'modified' | 'id' | 'title' | 'created' | 'slug' | 'category'> & SearchResultHighlight>, ResponseWrapper>>;
2654
- search(type: 'page', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<PageModel, 'modified' | 'id' | 'title' | 'created' | 'slug'> & SearchResultHighlight>, ResponseWrapper>>;
2655
- searchAll(keyword: string, options?: SearchOption): RequestProxyResult<RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2718
+ search(type: 'note', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<NoteModel, 'modifiedAt' | 'id' | 'title' | 'createdAt' | 'nid'> & SearchResultHighlight>, ResponseWrapper>>;
2719
+ search(type: 'post', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<PostModel, 'modifiedAt' | 'id' | 'title' | 'createdAt' | 'slug' | 'category'> & SearchResultHighlight>, ResponseWrapper>>;
2720
+ search(type: 'page', keyword: string, options?: SearchOption): Promise<RequestProxyResult<PaginateResult<Pick<PageModel, 'modifiedAt' | 'id' | 'title' | 'createdAt' | 'slug'> & SearchResultHighlight>, ResponseWrapper>>;
2721
+ searchAll(keyword: string, options?: SearchOption): RequestProxyResult<RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2656
2722
  type: "post";
2657
- }) | (Pick<NoteModel, "id" | "created" | "title" | "modified" | "nid"> & SearchResultHighlight & {
2723
+ }) | (Pick<NoteModel, "id" | "title" | "modifiedAt" | "createdAt" | "nid"> & SearchResultHighlight & {
2658
2724
  type: "note";
2659
- }) | (Pick<PageModel, "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2725
+ }) | (Pick<PageModel, "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2660
2726
  type: "page";
2661
2727
  })>, ResponseWrapper>, ResponseWrapper, ResponseWrapper extends unknown ? {
2662
2728
  [key: string]: any;
2663
- data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2729
+ data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2664
2730
  type: "post";
2665
- }) | (Pick<NoteModel, "id" | "created" | "title" | "modified" | "nid"> & SearchResultHighlight & {
2731
+ }) | (Pick<NoteModel, "id" | "title" | "modifiedAt" | "createdAt" | "nid"> & SearchResultHighlight & {
2666
2732
  type: "note";
2667
- }) | (Pick<PageModel, "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2733
+ }) | (Pick<PageModel, "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2668
2734
  type: "page";
2669
2735
  })>, ResponseWrapper>;
2670
2736
  } : ResponseWrapper extends {
2671
- data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2737
+ data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2672
2738
  type: "post";
2673
- }) | (Pick<NoteModel, "id" | "created" | "title" | "modified" | "nid"> & SearchResultHighlight & {
2739
+ }) | (Pick<NoteModel, "id" | "title" | "modifiedAt" | "createdAt" | "nid"> & SearchResultHighlight & {
2674
2740
  type: "note";
2675
- }) | (Pick<PageModel, "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2741
+ }) | (Pick<PageModel, "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2676
2742
  type: "page";
2677
2743
  })>, ResponseWrapper>;
2678
2744
  } ? ResponseWrapper : Omit<ResponseWrapper, "data"> & {
2679
- data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2745
+ data: RequestProxyResult<PaginateResult<(Pick<PostModel, "category" | "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2680
2746
  type: "post";
2681
- }) | (Pick<NoteModel, "id" | "created" | "title" | "modified" | "nid"> & SearchResultHighlight & {
2747
+ }) | (Pick<NoteModel, "id" | "title" | "modifiedAt" | "createdAt" | "nid"> & SearchResultHighlight & {
2682
2748
  type: "note";
2683
- }) | (Pick<PageModel, "id" | "created" | "title" | "slug" | "modified"> & SearchResultHighlight & {
2749
+ }) | (Pick<PageModel, "id" | "title" | "slug" | "modifiedAt" | "createdAt"> & SearchResultHighlight & {
2684
2750
  type: "page";
2685
2751
  })>, ResponseWrapper>;
2686
2752
  }>;
@@ -2824,4 +2890,4 @@ declare const allControllerNames: readonly ["ai", "ack", "activity", "aggregate"
2824
2890
  */
2825
2891
  declare const camelcaseKeys: <T = any>(obj: any) => T;
2826
2892
  //#endregion
2827
- export { AIController, AIDeepReadingModel, AIInsightsModel, AIInsightsStreamEvent, AISummaryModel, AISummaryStreamEvent, AITranslationModel, AITranslationStreamEvent, AcademicMetadata, AckController, ActivityController, ActivityPresence, AdminExtraModel, AggregateAIConfig, AggregateController, AggregateRoot, AggregateRootWithTheme, AggregateSiteInfo, AggregateStat, AggregateTop, AggregateTopNote, AggregateTopPost, AnonymousCommentDto, AuthUser, BackupOptionsModel, BaiduSearchOptionsModel, BaseCommentIndexModel, BaseModel, BetterAuthSession, BetterAuthSessionResult, BetterAuthSignInResult, BetterAuthUser, BetterAuthUserRole, BingSearchOptionsModel, BookMetadata, CategoryChildPost, CategoryController, CategoryEntries, CategoryModel$1 as CategoryModel, CategoryType, CategoryWithChildrenModel, CheckLoggedResult, CodeMetadata, CollectionRefTypes, CommentController, CommentDto, CommentModel, CommentOptionsModel, CommentRef, CommentReplyWindow, CommentState, CommentThreadItem, CommentThreadReplies, CommentUploadConfigDto, CommentUploadResultDto, Coordinate, Count, EnumPageType, GithubMetadata, type HTTPClient, IConfig, IConfigKeys, type IRequestAdapter, Image, LastYearPublication, LatestCombinedItem, LatestData, LatestNoteItem, LatestPostItem, LinkController, LinkMetadata, LinkModel, LinkState, LinkType, MailOptionsModel, MediaMetadata, ModelWithLiked, ModelWithTranslation, MusicMetadata, NoteController, type NoteMiddleListOptions, NoteModel, type NoteTimelineItem, type NoteTopicListItem, type NoteTopicListOptions, NoteWrappedPayload, NoteWrappedWithLikedAndTranslationPayload, NoteWrappedWithLikedPayload, OwnerAllowLoginResult, OwnerSessionResult, PageController, PageModel, Pager, PaginateResult, PostController, type PostListItem, type PostListOptions, PostModel, ProjectController, ProjectModel, ReaderCommentDto, ReaderModel, RecentActivities, RecentComment, RecentLike, RecentNote, RecentPost, RecentRecent, RecentlyAttitudeEnum, RecentlyAttitudeResultEnum, RecentlyController, RecentlyMetadata, RecentlyModel, RecentlyRefType, RecentlyRefTypes, RecentlyTypeEnum, RequestError, RoomOmittedNote, RoomOmittedPage, RoomOmittedPost, RoomsData, SayController, SayModel, SearchController, SeoOptionModel, ServerlessController, SnippetController, SnippetModel, SnippetType, SubscribeAllBit, SubscribeController, SubscribeNoteCreateBit, SubscribePostCreateBit, SubscribeRecentCreateBit, SubscribeSayCreateBit, SubscribeType, SubscribeTypeToBitMap, TLogin, TagDetailPost, TagModel, TextBaseModel, TextBaseModelLexical, TextBaseModelMarkdown, ThirdPartyServiceIntegrationModel, TimelineData, TimelineType, TopicController, TopicModel, TranslationMeta, Url, UrlOptionModel, UserController, UserModel, allControllerNames, allControllers, createClient, createClient as default, camelcaseKeys as simpleCamelcaseKeys };
2893
+ export { AIController, AIDeepReadingModel, AIInsightsModel, AIInsightsStreamEvent, AISummaryModel, AISummaryStreamEvent, AITranslationModel, AITranslationStreamEvent, AcademicMetadata, AckController, ActivityController, ActivityPresence, AdminExtraModel, AggregateAIConfig, AggregateController, AggregateRoot, AggregateRootWithTheme, AggregateSiteInfo, AggregateStat, AggregateTop, AggregateTopNote, AggregateTopPost, AnonymousCommentDto, AuthUser, BackupOptionsModel, BaiduSearchOptionsModel, BetterAuthSession, BetterAuthSessionResult, BetterAuthSignInResult, BetterAuthUser, BetterAuthUserRole, BingSearchOptionsModel, BookMetadata, CategoryChildPost, CategoryController, CategoryEntries, CategoryModel, CategoryType, CategoryWithChildrenModel, CheckLoggedResult, CodeMetadata, CollectionRefTypes, CommentController, CommentDto, CommentModel, CommentOptionsModel, CommentParentPreview, CommentRef, CommentReplyWindow, CommentState, CommentThreadItem, CommentThreadReplies, CommentUploadConfigDto, CommentUploadResultDto, Coordinate, EnumPageType, GithubMetadata, type HTTPClient, IConfig, IConfigKeys, type IRequestAdapter, Image, LastYearPublication, LatestCombinedItem, LatestData, LatestNoteItem, LatestPostItem, LinkController, LinkMetadata, LinkModel, LinkState, LinkType, MailOptionsModel, MediaMetadata, ModelWithLiked, ModelWithTranslation, MusicMetadata, NoteController, type NoteMiddleListOptions, NoteModel, type NoteTimelineItem, type NoteTopicListItem, type NoteTopicListOptions, NoteWrappedPayload, NoteWrappedWithLikedAndTranslationPayload, NoteWrappedWithLikedPayload, OwnerAllowLoginResult, OwnerSessionResult, PageController, PageModel, PageModelLexical, PageModelMarkdown, Pager, PaginateResult, PostContentFormat, PostController, type PostListItem, type PostListOptions, PostModel, PostModelLexical, PostModelMarkdown, PostRelatedSummary, ProjectController, ProjectModel, ReaderCommentDto, ReaderModel, RecentActivities, RecentComment, RecentLike, RecentNote, RecentPost, RecentRecent, RecentlyAttitudeEnum, RecentlyAttitudeResultEnum, RecentlyController, RecentlyMetadata, RecentlyModel, RecentlyRefSummary, RecentlyRefType, RecentlyRefTypes, RecentlyTypeEnum, RequestError, RoomOmittedNote, RoomOmittedPage, RoomOmittedPost, RoomsData, SayController, SayModel, SearchController, SeoOptionModel, ServerlessController, SnippetController, SnippetModel, SnippetType, SubscribeAllBit, SubscribeController, SubscribeNoteCreateBit, SubscribePostCreateBit, SubscribeRecentCreateBit, SubscribeSayCreateBit, SubscribeType, SubscribeTypeToBitMap, TLogin, TagDetailPost, TagModel, ThirdPartyServiceIntegrationModel, TimelineData, TimelineType, TopicController, TopicModel, TranslationMeta, Url, UrlOptionModel, UserController, UserModel, allControllerNames, allControllers, createClient, createClient as default, camelcaseKeys as simpleCamelcaseKeys };