@polymarket/bindings 0.11.0 → 0.13.0
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/chunk-2FRDSBWY.js +2 -0
- package/dist/chunk-2FRDSBWY.js.map +1 -0
- package/dist/{chunk-RGWF46B7.js → chunk-3IZ4N7C2.js} +2 -2
- package/dist/{chunk-RGWF46B7.js.map → chunk-3IZ4N7C2.js.map} +1 -1
- package/dist/chunk-Z6SGQXSJ.js +2 -0
- package/dist/chunk-Z6SGQXSJ.js.map +1 -0
- package/dist/clob/index.d.ts +15 -10
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/combos/index.js +1 -1
- package/dist/{comment-C-jBbhp7.d.ts → comment-CKJIqOZS.d.ts} +372 -2
- package/dist/data/index.d.ts +211 -12
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.d.ts +16 -1
- package/dist/gamma/index.js +1 -1
- package/dist/gamma/index.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/dist/{orders-CAELACaR.d.ts → orders-BV68_6ST.d.ts} +1150 -72
- package/dist/perps/index.d.ts +993 -9
- package/dist/perps/index.js +1 -1
- package/dist/perps/index.js.map +1 -1
- package/dist/relayer/index.js +1 -1
- package/dist/subscriptions/index.d.ts +748 -98
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-NILFT6EF.js +0 -2
- package/dist/chunk-NILFT6EF.js.map +0 -1
- package/dist/chunk-V3FFOW6W.js +0 -2
- package/dist/chunk-V3FFOW6W.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommentId, CommentParentEntityType, EventId, SeriesId, IsoDateTimeString, ImageOptimizationId, TokenId, BaseUnits } from './index.js';
|
|
1
|
+
import { CommentId, CommentParentEntityType, EventId, SeriesId, IsoDateTimeString, ImageOptimizationId, TokenId, BaseUnits, PaginationCursor } from './index.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
declare const CommentPositionSchema: z.ZodObject<{
|
|
@@ -565,11 +565,381 @@ declare const ListCommentsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
565
565
|
reactionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
566
566
|
tradeAsset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
|
+
declare const ListCommentsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
569
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
570
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<CommentId, string>>;
|
|
571
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof CommentParentEntityType>>>;
|
|
573
|
+
parentEntityID: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<SeriesId, string>>]>>>;
|
|
574
|
+
parentCommentID: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CommentId, string>>>>;
|
|
575
|
+
userAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
|
+
replyAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
578
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
579
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
580
|
+
id: z.ZodString;
|
|
581
|
+
commentID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
582
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
583
|
+
providerMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
584
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
|
+
mediaType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
586
|
+
altText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
588
|
+
}, z.core.$strip>>>>;
|
|
589
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
590
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
pseudonym: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
|
+
displayUsernamePublic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
593
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
594
|
+
isMod: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
595
|
+
isCreator: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
596
|
+
proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
baseAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
profileImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
profileImageOptimized: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
600
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ImageOptimizationId, string>>;
|
|
601
|
+
imageUrlSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
602
|
+
imageUrlOptimized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
603
|
+
imageSizeKbSource: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
604
|
+
imageSizeKbOptimized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
605
|
+
imageOptimizedComplete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
606
|
+
imageOptimizedLastUpdated: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
607
|
+
relID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
608
|
+
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
609
|
+
relname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
610
|
+
}, z.core.$strip>>>;
|
|
611
|
+
positions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
612
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
|
|
613
|
+
positionSize: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<BaseUnits, string>>>>;
|
|
614
|
+
}, z.core.$strip>>>>;
|
|
615
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
616
|
+
wallet: string | null | undefined;
|
|
617
|
+
name?: string | null | undefined;
|
|
618
|
+
pseudonym?: string | null | undefined;
|
|
619
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
620
|
+
bio?: string | null | undefined;
|
|
621
|
+
isMod?: boolean | null | undefined;
|
|
622
|
+
isCreator?: boolean | null | undefined;
|
|
623
|
+
baseAddress?: string | null | undefined;
|
|
624
|
+
profileImage?: string | null | undefined;
|
|
625
|
+
profileImageOptimized?: {
|
|
626
|
+
id: ImageOptimizationId;
|
|
627
|
+
imageUrlSource?: string | null | undefined;
|
|
628
|
+
imageUrlOptimized?: string | null | undefined;
|
|
629
|
+
imageSizeKbSource?: number | null | undefined;
|
|
630
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
631
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
632
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
633
|
+
relID?: number | null | undefined;
|
|
634
|
+
field?: string | null | undefined;
|
|
635
|
+
relname?: string | null | undefined;
|
|
636
|
+
} | null | undefined;
|
|
637
|
+
positions?: {
|
|
638
|
+
tokenId?: TokenId | null | undefined;
|
|
639
|
+
positionSize?: BaseUnits | null | undefined;
|
|
640
|
+
}[] | null | undefined;
|
|
641
|
+
}, {
|
|
642
|
+
name?: string | null | undefined;
|
|
643
|
+
pseudonym?: string | null | undefined;
|
|
644
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
645
|
+
bio?: string | null | undefined;
|
|
646
|
+
isMod?: boolean | null | undefined;
|
|
647
|
+
isCreator?: boolean | null | undefined;
|
|
648
|
+
proxyWallet?: string | null | undefined;
|
|
649
|
+
baseAddress?: string | null | undefined;
|
|
650
|
+
profileImage?: string | null | undefined;
|
|
651
|
+
profileImageOptimized?: {
|
|
652
|
+
id: ImageOptimizationId;
|
|
653
|
+
imageUrlSource?: string | null | undefined;
|
|
654
|
+
imageUrlOptimized?: string | null | undefined;
|
|
655
|
+
imageSizeKbSource?: number | null | undefined;
|
|
656
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
657
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
658
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
659
|
+
relID?: number | null | undefined;
|
|
660
|
+
field?: string | null | undefined;
|
|
661
|
+
relname?: string | null | undefined;
|
|
662
|
+
} | null | undefined;
|
|
663
|
+
positions?: {
|
|
664
|
+
tokenId?: TokenId | null | undefined;
|
|
665
|
+
positionSize?: BaseUnits | null | undefined;
|
|
666
|
+
}[] | null | undefined;
|
|
667
|
+
}>>>>;
|
|
668
|
+
reactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
669
|
+
id: z.ZodString;
|
|
670
|
+
commentID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
671
|
+
reactionType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ReactionType>>>;
|
|
672
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
673
|
+
userAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
674
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
675
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
676
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
677
|
+
pseudonym: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
678
|
+
displayUsernamePublic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
679
|
+
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
680
|
+
isMod: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
681
|
+
isCreator: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
682
|
+
proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
683
|
+
baseAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
684
|
+
profileImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
685
|
+
profileImageOptimized: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
686
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ImageOptimizationId, string>>;
|
|
687
|
+
imageUrlSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
688
|
+
imageUrlOptimized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
+
imageSizeKbSource: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
690
|
+
imageSizeKbOptimized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
691
|
+
imageOptimizedComplete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
692
|
+
imageOptimizedLastUpdated: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
693
|
+
relID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
694
|
+
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
695
|
+
relname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
696
|
+
}, z.core.$strip>>>;
|
|
697
|
+
positions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
698
|
+
tokenId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
|
|
699
|
+
positionSize: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<BaseUnits, string>>>>;
|
|
700
|
+
}, z.core.$strip>>>>;
|
|
701
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
702
|
+
wallet: string | null | undefined;
|
|
703
|
+
name?: string | null | undefined;
|
|
704
|
+
pseudonym?: string | null | undefined;
|
|
705
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
706
|
+
bio?: string | null | undefined;
|
|
707
|
+
isMod?: boolean | null | undefined;
|
|
708
|
+
isCreator?: boolean | null | undefined;
|
|
709
|
+
baseAddress?: string | null | undefined;
|
|
710
|
+
profileImage?: string | null | undefined;
|
|
711
|
+
profileImageOptimized?: {
|
|
712
|
+
id: ImageOptimizationId;
|
|
713
|
+
imageUrlSource?: string | null | undefined;
|
|
714
|
+
imageUrlOptimized?: string | null | undefined;
|
|
715
|
+
imageSizeKbSource?: number | null | undefined;
|
|
716
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
717
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
718
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
719
|
+
relID?: number | null | undefined;
|
|
720
|
+
field?: string | null | undefined;
|
|
721
|
+
relname?: string | null | undefined;
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
positions?: {
|
|
724
|
+
tokenId?: TokenId | null | undefined;
|
|
725
|
+
positionSize?: BaseUnits | null | undefined;
|
|
726
|
+
}[] | null | undefined;
|
|
727
|
+
}, {
|
|
728
|
+
name?: string | null | undefined;
|
|
729
|
+
pseudonym?: string | null | undefined;
|
|
730
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
731
|
+
bio?: string | null | undefined;
|
|
732
|
+
isMod?: boolean | null | undefined;
|
|
733
|
+
isCreator?: boolean | null | undefined;
|
|
734
|
+
proxyWallet?: string | null | undefined;
|
|
735
|
+
baseAddress?: string | null | undefined;
|
|
736
|
+
profileImage?: string | null | undefined;
|
|
737
|
+
profileImageOptimized?: {
|
|
738
|
+
id: ImageOptimizationId;
|
|
739
|
+
imageUrlSource?: string | null | undefined;
|
|
740
|
+
imageUrlOptimized?: string | null | undefined;
|
|
741
|
+
imageSizeKbSource?: number | null | undefined;
|
|
742
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
743
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
744
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
745
|
+
relID?: number | null | undefined;
|
|
746
|
+
field?: string | null | undefined;
|
|
747
|
+
relname?: string | null | undefined;
|
|
748
|
+
} | null | undefined;
|
|
749
|
+
positions?: {
|
|
750
|
+
tokenId?: TokenId | null | undefined;
|
|
751
|
+
positionSize?: BaseUnits | null | undefined;
|
|
752
|
+
}[] | null | undefined;
|
|
753
|
+
}>>>>;
|
|
754
|
+
}, z.core.$strip>>>>;
|
|
755
|
+
reportCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
756
|
+
reactionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
757
|
+
tradeAsset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
|
+
}, z.core.$strip>>;
|
|
759
|
+
next_cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
|
|
760
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
761
|
+
items: {
|
|
762
|
+
id: CommentId;
|
|
763
|
+
body?: string | null | undefined;
|
|
764
|
+
parentEntityType?: CommentParentEntityType | null | undefined;
|
|
765
|
+
parentEntityID?: EventId | SeriesId | null | undefined;
|
|
766
|
+
parentCommentID?: CommentId | null | undefined;
|
|
767
|
+
userAddress?: string | null | undefined;
|
|
768
|
+
replyAddress?: string | null | undefined;
|
|
769
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
770
|
+
updatedAt?: IsoDateTimeString | null | undefined;
|
|
771
|
+
media?: {
|
|
772
|
+
id: string;
|
|
773
|
+
commentID?: number | null | undefined;
|
|
774
|
+
provider?: string | null | undefined;
|
|
775
|
+
providerMediaId?: string | null | undefined;
|
|
776
|
+
url?: string | null | undefined;
|
|
777
|
+
mediaType?: string | null | undefined;
|
|
778
|
+
altText?: string | null | undefined;
|
|
779
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
780
|
+
}[] | null | undefined;
|
|
781
|
+
profile?: {
|
|
782
|
+
wallet: string | null | undefined;
|
|
783
|
+
name?: string | null | undefined;
|
|
784
|
+
pseudonym?: string | null | undefined;
|
|
785
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
786
|
+
bio?: string | null | undefined;
|
|
787
|
+
isMod?: boolean | null | undefined;
|
|
788
|
+
isCreator?: boolean | null | undefined;
|
|
789
|
+
baseAddress?: string | null | undefined;
|
|
790
|
+
profileImage?: string | null | undefined;
|
|
791
|
+
profileImageOptimized?: {
|
|
792
|
+
id: ImageOptimizationId;
|
|
793
|
+
imageUrlSource?: string | null | undefined;
|
|
794
|
+
imageUrlOptimized?: string | null | undefined;
|
|
795
|
+
imageSizeKbSource?: number | null | undefined;
|
|
796
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
797
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
798
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
799
|
+
relID?: number | null | undefined;
|
|
800
|
+
field?: string | null | undefined;
|
|
801
|
+
relname?: string | null | undefined;
|
|
802
|
+
} | null | undefined;
|
|
803
|
+
positions?: {
|
|
804
|
+
tokenId?: TokenId | null | undefined;
|
|
805
|
+
positionSize?: BaseUnits | null | undefined;
|
|
806
|
+
}[] | null | undefined;
|
|
807
|
+
} | null | undefined;
|
|
808
|
+
reactions?: {
|
|
809
|
+
id: string;
|
|
810
|
+
commentID?: number | null | undefined;
|
|
811
|
+
reactionType?: ReactionType.Heart | null | undefined;
|
|
812
|
+
icon?: string | null | undefined;
|
|
813
|
+
userAddress?: string | null | undefined;
|
|
814
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
815
|
+
profile?: {
|
|
816
|
+
wallet: string | null | undefined;
|
|
817
|
+
name?: string | null | undefined;
|
|
818
|
+
pseudonym?: string | null | undefined;
|
|
819
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
820
|
+
bio?: string | null | undefined;
|
|
821
|
+
isMod?: boolean | null | undefined;
|
|
822
|
+
isCreator?: boolean | null | undefined;
|
|
823
|
+
baseAddress?: string | null | undefined;
|
|
824
|
+
profileImage?: string | null | undefined;
|
|
825
|
+
profileImageOptimized?: {
|
|
826
|
+
id: ImageOptimizationId;
|
|
827
|
+
imageUrlSource?: string | null | undefined;
|
|
828
|
+
imageUrlOptimized?: string | null | undefined;
|
|
829
|
+
imageSizeKbSource?: number | null | undefined;
|
|
830
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
831
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
832
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
833
|
+
relID?: number | null | undefined;
|
|
834
|
+
field?: string | null | undefined;
|
|
835
|
+
relname?: string | null | undefined;
|
|
836
|
+
} | null | undefined;
|
|
837
|
+
positions?: {
|
|
838
|
+
tokenId?: TokenId | null | undefined;
|
|
839
|
+
positionSize?: BaseUnits | null | undefined;
|
|
840
|
+
}[] | null | undefined;
|
|
841
|
+
} | null | undefined;
|
|
842
|
+
}[] | null | undefined;
|
|
843
|
+
reportCount?: number | null | undefined;
|
|
844
|
+
reactionCount?: number | null | undefined;
|
|
845
|
+
tradeAsset?: string | null | undefined;
|
|
846
|
+
}[];
|
|
847
|
+
nextCursor: PaginationCursor | undefined;
|
|
848
|
+
}, {
|
|
849
|
+
comments: {
|
|
850
|
+
id: CommentId;
|
|
851
|
+
body?: string | null | undefined;
|
|
852
|
+
parentEntityType?: CommentParentEntityType | null | undefined;
|
|
853
|
+
parentEntityID?: EventId | SeriesId | null | undefined;
|
|
854
|
+
parentCommentID?: CommentId | null | undefined;
|
|
855
|
+
userAddress?: string | null | undefined;
|
|
856
|
+
replyAddress?: string | null | undefined;
|
|
857
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
858
|
+
updatedAt?: IsoDateTimeString | null | undefined;
|
|
859
|
+
media?: {
|
|
860
|
+
id: string;
|
|
861
|
+
commentID?: number | null | undefined;
|
|
862
|
+
provider?: string | null | undefined;
|
|
863
|
+
providerMediaId?: string | null | undefined;
|
|
864
|
+
url?: string | null | undefined;
|
|
865
|
+
mediaType?: string | null | undefined;
|
|
866
|
+
altText?: string | null | undefined;
|
|
867
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
868
|
+
}[] | null | undefined;
|
|
869
|
+
profile?: {
|
|
870
|
+
wallet: string | null | undefined;
|
|
871
|
+
name?: string | null | undefined;
|
|
872
|
+
pseudonym?: string | null | undefined;
|
|
873
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
874
|
+
bio?: string | null | undefined;
|
|
875
|
+
isMod?: boolean | null | undefined;
|
|
876
|
+
isCreator?: boolean | null | undefined;
|
|
877
|
+
baseAddress?: string | null | undefined;
|
|
878
|
+
profileImage?: string | null | undefined;
|
|
879
|
+
profileImageOptimized?: {
|
|
880
|
+
id: ImageOptimizationId;
|
|
881
|
+
imageUrlSource?: string | null | undefined;
|
|
882
|
+
imageUrlOptimized?: string | null | undefined;
|
|
883
|
+
imageSizeKbSource?: number | null | undefined;
|
|
884
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
885
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
886
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
887
|
+
relID?: number | null | undefined;
|
|
888
|
+
field?: string | null | undefined;
|
|
889
|
+
relname?: string | null | undefined;
|
|
890
|
+
} | null | undefined;
|
|
891
|
+
positions?: {
|
|
892
|
+
tokenId?: TokenId | null | undefined;
|
|
893
|
+
positionSize?: BaseUnits | null | undefined;
|
|
894
|
+
}[] | null | undefined;
|
|
895
|
+
} | null | undefined;
|
|
896
|
+
reactions?: {
|
|
897
|
+
id: string;
|
|
898
|
+
commentID?: number | null | undefined;
|
|
899
|
+
reactionType?: ReactionType.Heart | null | undefined;
|
|
900
|
+
icon?: string | null | undefined;
|
|
901
|
+
userAddress?: string | null | undefined;
|
|
902
|
+
createdAt?: IsoDateTimeString | null | undefined;
|
|
903
|
+
profile?: {
|
|
904
|
+
wallet: string | null | undefined;
|
|
905
|
+
name?: string | null | undefined;
|
|
906
|
+
pseudonym?: string | null | undefined;
|
|
907
|
+
displayUsernamePublic?: boolean | null | undefined;
|
|
908
|
+
bio?: string | null | undefined;
|
|
909
|
+
isMod?: boolean | null | undefined;
|
|
910
|
+
isCreator?: boolean | null | undefined;
|
|
911
|
+
baseAddress?: string | null | undefined;
|
|
912
|
+
profileImage?: string | null | undefined;
|
|
913
|
+
profileImageOptimized?: {
|
|
914
|
+
id: ImageOptimizationId;
|
|
915
|
+
imageUrlSource?: string | null | undefined;
|
|
916
|
+
imageUrlOptimized?: string | null | undefined;
|
|
917
|
+
imageSizeKbSource?: number | null | undefined;
|
|
918
|
+
imageSizeKbOptimized?: number | null | undefined;
|
|
919
|
+
imageOptimizedComplete?: boolean | null | undefined;
|
|
920
|
+
imageOptimizedLastUpdated?: IsoDateTimeString | null | undefined;
|
|
921
|
+
relID?: number | null | undefined;
|
|
922
|
+
field?: string | null | undefined;
|
|
923
|
+
relname?: string | null | undefined;
|
|
924
|
+
} | null | undefined;
|
|
925
|
+
positions?: {
|
|
926
|
+
tokenId?: TokenId | null | undefined;
|
|
927
|
+
positionSize?: BaseUnits | null | undefined;
|
|
928
|
+
}[] | null | undefined;
|
|
929
|
+
} | null | undefined;
|
|
930
|
+
}[] | null | undefined;
|
|
931
|
+
reportCount?: number | null | undefined;
|
|
932
|
+
reactionCount?: number | null | undefined;
|
|
933
|
+
tradeAsset?: string | null | undefined;
|
|
934
|
+
}[];
|
|
935
|
+
next_cursor?: PaginationCursor | undefined;
|
|
936
|
+
}>>;
|
|
568
937
|
type Comment = z.infer<typeof CommentSchema>;
|
|
569
938
|
type CommentMedia = z.infer<typeof CommentMediaSchema>;
|
|
570
939
|
type CommentPosition = z.infer<typeof CommentPositionSchema>;
|
|
571
940
|
type CommentProfile = z.infer<typeof CommentProfileSchema>;
|
|
572
941
|
type Reaction = z.infer<typeof ReactionSchema>;
|
|
573
942
|
type ListCommentsResponse = z.infer<typeof ListCommentsResponseSchema>;
|
|
943
|
+
type ListCommentsKeysetResponse = z.infer<typeof ListCommentsKeysetResponseSchema>;
|
|
574
944
|
|
|
575
|
-
export { type Comment as C, type
|
|
945
|
+
export { type Comment as C, type ListCommentsKeysetResponse as L, ReactionType as R, type CommentMedia as a, CommentMediaSchema as b, type CommentPosition as c, CommentPositionSchema as d, type CommentProfile as e, CommentProfileSchema as f, CommentSchema as g, ListCommentsKeysetResponseSchema as h, type ListCommentsResponse as i, ListCommentsResponseSchema as j, type Reaction as k, ReactionSchema as l, ReactionTypeSchema as m };
|