@towns-labs/proto 2.0.12 → 2.0.13
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/gen/apps_pb.d.ts +114 -0
- package/dist/gen/apps_pb.d.ts.map +1 -1
- package/dist/gen/apps_pb.js +21 -1
- package/dist/gen/apps_pb.js.map +1 -1
- package/dist/gen/notifications_pb.d.ts +21 -356
- package/dist/gen/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications_pb.js +28 -159
- package/dist/gen/notifications_pb.js.map +1 -1
- package/dist/gen/protocol_pb.d.ts +0 -721
- package/dist/gen/protocol_pb.d.ts.map +1 -1
- package/dist/gen/protocol_pb.js +121 -236
- package/dist/gen/protocol_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -181,18 +181,6 @@ export type StreamEvent = Message<"river.StreamEvent"> & {
|
|
|
181
181
|
*/
|
|
182
182
|
value: MemberPayload;
|
|
183
183
|
case: "memberPayload";
|
|
184
|
-
} | {
|
|
185
|
-
/**
|
|
186
|
-
* @generated from field: river.SpacePayload space_payload = 102;
|
|
187
|
-
*/
|
|
188
|
-
value: SpacePayload;
|
|
189
|
-
case: "spacePayload";
|
|
190
|
-
} | {
|
|
191
|
-
/**
|
|
192
|
-
* @generated from field: river.ChannelPayload channel_payload = 103;
|
|
193
|
-
*/
|
|
194
|
-
value: ChannelPayload;
|
|
195
|
-
case: "channelPayload";
|
|
196
184
|
} | {
|
|
197
185
|
/**
|
|
198
186
|
* @generated from field: river.UserPayload user_payload = 104;
|
|
@@ -223,24 +211,12 @@ export type StreamEvent = Message<"river.StreamEvent"> & {
|
|
|
223
211
|
*/
|
|
224
212
|
value: MediaPayload;
|
|
225
213
|
case: "mediaPayload";
|
|
226
|
-
} | {
|
|
227
|
-
/**
|
|
228
|
-
* @generated from field: river.DmChannelPayload dm_channel_payload = 109;
|
|
229
|
-
*/
|
|
230
|
-
value: DmChannelPayload;
|
|
231
|
-
case: "dmChannelPayload";
|
|
232
214
|
} | {
|
|
233
215
|
/**
|
|
234
216
|
* @generated from field: river.GdmChannelPayload gdm_channel_payload = 110;
|
|
235
217
|
*/
|
|
236
218
|
value: GdmChannelPayload;
|
|
237
219
|
case: "gdmChannelPayload";
|
|
238
|
-
} | {
|
|
239
|
-
/**
|
|
240
|
-
* @generated from field: river.MetadataPayload metadata_payload = 111;
|
|
241
|
-
*/
|
|
242
|
-
value: MetadataPayload;
|
|
243
|
-
case: "metadataPayload";
|
|
244
220
|
} | {
|
|
245
221
|
case: undefined;
|
|
246
222
|
value?: undefined;
|
|
@@ -360,30 +336,6 @@ export type MemberPayload = Message<"river.MemberPayload"> & {
|
|
|
360
336
|
*/
|
|
361
337
|
value: MemberPayload_KeyFulfillment;
|
|
362
338
|
case: "keyFulfillment";
|
|
363
|
-
} | {
|
|
364
|
-
/**
|
|
365
|
-
* @generated from field: river.EncryptedData username = 4;
|
|
366
|
-
*/
|
|
367
|
-
value: EncryptedData;
|
|
368
|
-
case: "username";
|
|
369
|
-
} | {
|
|
370
|
-
/**
|
|
371
|
-
* @generated from field: river.EncryptedData display_name = 5;
|
|
372
|
-
*/
|
|
373
|
-
value: EncryptedData;
|
|
374
|
-
case: "displayName";
|
|
375
|
-
} | {
|
|
376
|
-
/**
|
|
377
|
-
* @generated from field: bytes ens_address = 6;
|
|
378
|
-
*/
|
|
379
|
-
value: Uint8Array;
|
|
380
|
-
case: "ensAddress";
|
|
381
|
-
} | {
|
|
382
|
-
/**
|
|
383
|
-
* @generated from field: river.MemberPayload.Nft nft = 7;
|
|
384
|
-
*/
|
|
385
|
-
value: MemberPayload_Nft;
|
|
386
|
-
case: "nft";
|
|
387
339
|
} | {
|
|
388
340
|
/**
|
|
389
341
|
* @generated from field: river.MemberPayload.Pin pin = 8;
|
|
@@ -474,22 +426,6 @@ export type MemberPayload_Snapshot_Member = Message<"river.MemberPayload.Snapsho
|
|
|
474
426
|
* @generated from field: repeated river.MemberPayload.KeySolicitation solicitations = 4;
|
|
475
427
|
*/
|
|
476
428
|
solicitations: MemberPayload_KeySolicitation[];
|
|
477
|
-
/**
|
|
478
|
-
* @generated from field: river.WrappedEncryptedData username = 5;
|
|
479
|
-
*/
|
|
480
|
-
username?: WrappedEncryptedData;
|
|
481
|
-
/**
|
|
482
|
-
* @generated from field: river.WrappedEncryptedData display_name = 6;
|
|
483
|
-
*/
|
|
484
|
-
displayName?: WrappedEncryptedData;
|
|
485
|
-
/**
|
|
486
|
-
* @generated from field: bytes ens_address = 7;
|
|
487
|
-
*/
|
|
488
|
-
ensAddress: Uint8Array;
|
|
489
|
-
/**
|
|
490
|
-
* @generated from field: river.MemberPayload.Nft nft = 8;
|
|
491
|
-
*/
|
|
492
|
-
nft?: MemberPayload_Nft;
|
|
493
429
|
/**
|
|
494
430
|
* tips sent by this user: map<currency, amount>
|
|
495
431
|
*
|
|
@@ -626,28 +562,6 @@ export type MemberPayload_KeyFulfillment = Message<"river.MemberPayload.KeyFulfi
|
|
|
626
562
|
* Use `create(MemberPayload_KeyFulfillmentSchema)` to create a new message.
|
|
627
563
|
*/
|
|
628
564
|
export declare const MemberPayload_KeyFulfillmentSchema: GenMessage<MemberPayload_KeyFulfillment>;
|
|
629
|
-
/**
|
|
630
|
-
* @generated from message river.MemberPayload.Nft
|
|
631
|
-
*/
|
|
632
|
-
export type MemberPayload_Nft = Message<"river.MemberPayload.Nft"> & {
|
|
633
|
-
/**
|
|
634
|
-
* @generated from field: int32 chain_id = 1;
|
|
635
|
-
*/
|
|
636
|
-
chainId: number;
|
|
637
|
-
/**
|
|
638
|
-
* @generated from field: bytes contract_address = 2;
|
|
639
|
-
*/
|
|
640
|
-
contractAddress: Uint8Array;
|
|
641
|
-
/**
|
|
642
|
-
* @generated from field: bytes token_id = 3;
|
|
643
|
-
*/
|
|
644
|
-
tokenId: Uint8Array;
|
|
645
|
-
};
|
|
646
|
-
/**
|
|
647
|
-
* Describes the message river.MemberPayload.Nft.
|
|
648
|
-
* Use `create(MemberPayload_NftSchema)` to create a new message.
|
|
649
|
-
*/
|
|
650
|
-
export declare const MemberPayload_NftSchema: GenMessage<MemberPayload_Nft>;
|
|
651
565
|
/**
|
|
652
566
|
* @generated from message river.MemberPayload.SnappedPin
|
|
653
567
|
*/
|
|
@@ -730,440 +644,6 @@ export type MemberPayload_MemberBlockchainTransaction = Message<"river.MemberPay
|
|
|
730
644
|
* Use `create(MemberPayload_MemberBlockchainTransactionSchema)` to create a new message.
|
|
731
645
|
*/
|
|
732
646
|
export declare const MemberPayload_MemberBlockchainTransactionSchema: GenMessage<MemberPayload_MemberBlockchainTransaction>;
|
|
733
|
-
/**
|
|
734
|
-
* *
|
|
735
|
-
* SpacePayload
|
|
736
|
-
*
|
|
737
|
-
* @generated from message river.SpacePayload
|
|
738
|
-
*/
|
|
739
|
-
export type SpacePayload = Message<"river.SpacePayload"> & {
|
|
740
|
-
/**
|
|
741
|
-
* @generated from oneof river.SpacePayload.content
|
|
742
|
-
*/
|
|
743
|
-
content: {
|
|
744
|
-
/**
|
|
745
|
-
* @generated from field: river.SpacePayload.Inception inception = 1;
|
|
746
|
-
*/
|
|
747
|
-
value: SpacePayload_Inception;
|
|
748
|
-
case: "inception";
|
|
749
|
-
} | {
|
|
750
|
-
/**
|
|
751
|
-
* @generated from field: river.SpacePayload.ChannelUpdate channel = 2;
|
|
752
|
-
*/
|
|
753
|
-
value: SpacePayload_ChannelUpdate;
|
|
754
|
-
case: "channel";
|
|
755
|
-
} | {
|
|
756
|
-
/**
|
|
757
|
-
* @generated from field: river.EncryptedData space_image = 3;
|
|
758
|
-
*/
|
|
759
|
-
value: EncryptedData;
|
|
760
|
-
case: "spaceImage";
|
|
761
|
-
} | {
|
|
762
|
-
/**
|
|
763
|
-
* @generated from field: river.SpacePayload.UpdateChannelAutojoin update_channel_autojoin = 4;
|
|
764
|
-
*/
|
|
765
|
-
value: SpacePayload_UpdateChannelAutojoin;
|
|
766
|
-
case: "updateChannelAutojoin";
|
|
767
|
-
} | {
|
|
768
|
-
/**
|
|
769
|
-
* @generated from field: river.SpacePayload.UpdateChannelHideUserJoinLeaveEvents update_channel_hide_user_join_leave_events = 5;
|
|
770
|
-
*/
|
|
771
|
-
value: SpacePayload_UpdateChannelHideUserJoinLeaveEvents;
|
|
772
|
-
case: "updateChannelHideUserJoinLeaveEvents";
|
|
773
|
-
} | {
|
|
774
|
-
case: undefined;
|
|
775
|
-
value?: undefined;
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
/**
|
|
779
|
-
* Describes the message river.SpacePayload.
|
|
780
|
-
* Use `create(SpacePayloadSchema)` to create a new message.
|
|
781
|
-
*/
|
|
782
|
-
export declare const SpacePayloadSchema: GenMessage<SpacePayload>;
|
|
783
|
-
/**
|
|
784
|
-
* @generated from message river.SpacePayload.Snapshot
|
|
785
|
-
*/
|
|
786
|
-
export type SpacePayload_Snapshot = Message<"river.SpacePayload.Snapshot"> & {
|
|
787
|
-
/**
|
|
788
|
-
* inception
|
|
789
|
-
*
|
|
790
|
-
* @generated from field: river.SpacePayload.Inception inception = 1;
|
|
791
|
-
*/
|
|
792
|
-
inception?: SpacePayload_Inception;
|
|
793
|
-
/**
|
|
794
|
-
* channels: sorted by channel_id
|
|
795
|
-
*
|
|
796
|
-
* @generated from field: repeated river.SpacePayload.ChannelMetadata channels = 2;
|
|
797
|
-
*/
|
|
798
|
-
channels: SpacePayload_ChannelMetadata[];
|
|
799
|
-
/**
|
|
800
|
-
* @generated from field: river.SpacePayload.SnappedSpaceImage space_image = 3;
|
|
801
|
-
*/
|
|
802
|
-
spaceImage?: SpacePayload_SnappedSpaceImage;
|
|
803
|
-
};
|
|
804
|
-
/**
|
|
805
|
-
* Describes the message river.SpacePayload.Snapshot.
|
|
806
|
-
* Use `create(SpacePayload_SnapshotSchema)` to create a new message.
|
|
807
|
-
*/
|
|
808
|
-
export declare const SpacePayload_SnapshotSchema: GenMessage<SpacePayload_Snapshot>;
|
|
809
|
-
/**
|
|
810
|
-
* @generated from message river.SpacePayload.SnappedSpaceImage
|
|
811
|
-
*/
|
|
812
|
-
export type SpacePayload_SnappedSpaceImage = Message<"river.SpacePayload.SnappedSpaceImage"> & {
|
|
813
|
-
/**
|
|
814
|
-
* @generated from field: bytes creator_address = 1;
|
|
815
|
-
*/
|
|
816
|
-
creatorAddress: Uint8Array;
|
|
817
|
-
/**
|
|
818
|
-
* @generated from field: river.EncryptedData data = 2;
|
|
819
|
-
*/
|
|
820
|
-
data?: EncryptedData;
|
|
821
|
-
/**
|
|
822
|
-
* @generated from field: int64 event_num = 3;
|
|
823
|
-
*/
|
|
824
|
-
eventNum: bigint;
|
|
825
|
-
/**
|
|
826
|
-
* @generated from field: bytes event_hash = 4;
|
|
827
|
-
*/
|
|
828
|
-
eventHash: Uint8Array;
|
|
829
|
-
};
|
|
830
|
-
/**
|
|
831
|
-
* Describes the message river.SpacePayload.SnappedSpaceImage.
|
|
832
|
-
* Use `create(SpacePayload_SnappedSpaceImageSchema)` to create a new message.
|
|
833
|
-
*/
|
|
834
|
-
export declare const SpacePayload_SnappedSpaceImageSchema: GenMessage<SpacePayload_SnappedSpaceImage>;
|
|
835
|
-
/**
|
|
836
|
-
* @generated from message river.SpacePayload.Inception
|
|
837
|
-
*/
|
|
838
|
-
export type SpacePayload_Inception = Message<"river.SpacePayload.Inception"> & {
|
|
839
|
-
/**
|
|
840
|
-
* @generated from field: bytes stream_id = 1;
|
|
841
|
-
*/
|
|
842
|
-
streamId: Uint8Array;
|
|
843
|
-
/**
|
|
844
|
-
* @generated from field: river.StreamSettings settings = 2;
|
|
845
|
-
*/
|
|
846
|
-
settings?: StreamSettings;
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* Describes the message river.SpacePayload.Inception.
|
|
850
|
-
* Use `create(SpacePayload_InceptionSchema)` to create a new message.
|
|
851
|
-
*/
|
|
852
|
-
export declare const SpacePayload_InceptionSchema: GenMessage<SpacePayload_Inception>;
|
|
853
|
-
/**
|
|
854
|
-
* @generated from message river.SpacePayload.ChannelSettings
|
|
855
|
-
*/
|
|
856
|
-
export type SpacePayload_ChannelSettings = Message<"river.SpacePayload.ChannelSettings"> & {
|
|
857
|
-
/**
|
|
858
|
-
* @generated from field: bool autojoin = 1;
|
|
859
|
-
*/
|
|
860
|
-
autojoin: boolean;
|
|
861
|
-
/**
|
|
862
|
-
* @generated from field: bool hide_user_join_leave_events = 2;
|
|
863
|
-
*/
|
|
864
|
-
hideUserJoinLeaveEvents: boolean;
|
|
865
|
-
};
|
|
866
|
-
/**
|
|
867
|
-
* Describes the message river.SpacePayload.ChannelSettings.
|
|
868
|
-
* Use `create(SpacePayload_ChannelSettingsSchema)` to create a new message.
|
|
869
|
-
*/
|
|
870
|
-
export declare const SpacePayload_ChannelSettingsSchema: GenMessage<SpacePayload_ChannelSettings>;
|
|
871
|
-
/**
|
|
872
|
-
* @generated from message river.SpacePayload.ChannelMetadata
|
|
873
|
-
*/
|
|
874
|
-
export type SpacePayload_ChannelMetadata = Message<"river.SpacePayload.ChannelMetadata"> & {
|
|
875
|
-
/**
|
|
876
|
-
* @generated from field: river.ChannelOp op = 1;
|
|
877
|
-
*/
|
|
878
|
-
op: ChannelOp;
|
|
879
|
-
/**
|
|
880
|
-
* @generated from field: bytes channel_id = 2;
|
|
881
|
-
*/
|
|
882
|
-
channelId: Uint8Array;
|
|
883
|
-
/**
|
|
884
|
-
* @generated from field: river.EventRef origin_event = 3;
|
|
885
|
-
*/
|
|
886
|
-
originEvent?: EventRef;
|
|
887
|
-
/**
|
|
888
|
-
* @generated from field: int64 updated_at_event_num = 6;
|
|
889
|
-
*/
|
|
890
|
-
updatedAtEventNum: bigint;
|
|
891
|
-
/**
|
|
892
|
-
* @generated from field: river.SpacePayload.ChannelSettings settings = 7;
|
|
893
|
-
*/
|
|
894
|
-
settings?: SpacePayload_ChannelSettings;
|
|
895
|
-
};
|
|
896
|
-
/**
|
|
897
|
-
* Describes the message river.SpacePayload.ChannelMetadata.
|
|
898
|
-
* Use `create(SpacePayload_ChannelMetadataSchema)` to create a new message.
|
|
899
|
-
*/
|
|
900
|
-
export declare const SpacePayload_ChannelMetadataSchema: GenMessage<SpacePayload_ChannelMetadata>;
|
|
901
|
-
/**
|
|
902
|
-
* @generated from message river.SpacePayload.ChannelUpdate
|
|
903
|
-
*/
|
|
904
|
-
export type SpacePayload_ChannelUpdate = Message<"river.SpacePayload.ChannelUpdate"> & {
|
|
905
|
-
/**
|
|
906
|
-
* @generated from field: river.ChannelOp op = 1;
|
|
907
|
-
*/
|
|
908
|
-
op: ChannelOp;
|
|
909
|
-
/**
|
|
910
|
-
* @generated from field: bytes channel_id = 2;
|
|
911
|
-
*/
|
|
912
|
-
channelId: Uint8Array;
|
|
913
|
-
/**
|
|
914
|
-
* @generated from field: river.EventRef origin_event = 3;
|
|
915
|
-
*/
|
|
916
|
-
originEvent?: EventRef;
|
|
917
|
-
/**
|
|
918
|
-
* @generated from field: river.SpacePayload.ChannelSettings settings = 6;
|
|
919
|
-
*/
|
|
920
|
-
settings?: SpacePayload_ChannelSettings;
|
|
921
|
-
};
|
|
922
|
-
/**
|
|
923
|
-
* Describes the message river.SpacePayload.ChannelUpdate.
|
|
924
|
-
* Use `create(SpacePayload_ChannelUpdateSchema)` to create a new message.
|
|
925
|
-
*/
|
|
926
|
-
export declare const SpacePayload_ChannelUpdateSchema: GenMessage<SpacePayload_ChannelUpdate>;
|
|
927
|
-
/**
|
|
928
|
-
* @generated from message river.SpacePayload.UpdateChannelAutojoin
|
|
929
|
-
*/
|
|
930
|
-
export type SpacePayload_UpdateChannelAutojoin = Message<"river.SpacePayload.UpdateChannelAutojoin"> & {
|
|
931
|
-
/**
|
|
932
|
-
* @generated from field: bytes channel_id = 1;
|
|
933
|
-
*/
|
|
934
|
-
channelId: Uint8Array;
|
|
935
|
-
/**
|
|
936
|
-
* @generated from field: bool autojoin = 2;
|
|
937
|
-
*/
|
|
938
|
-
autojoin: boolean;
|
|
939
|
-
};
|
|
940
|
-
/**
|
|
941
|
-
* Describes the message river.SpacePayload.UpdateChannelAutojoin.
|
|
942
|
-
* Use `create(SpacePayload_UpdateChannelAutojoinSchema)` to create a new message.
|
|
943
|
-
*/
|
|
944
|
-
export declare const SpacePayload_UpdateChannelAutojoinSchema: GenMessage<SpacePayload_UpdateChannelAutojoin>;
|
|
945
|
-
/**
|
|
946
|
-
* @generated from message river.SpacePayload.UpdateChannelHideUserJoinLeaveEvents
|
|
947
|
-
*/
|
|
948
|
-
export type SpacePayload_UpdateChannelHideUserJoinLeaveEvents = Message<"river.SpacePayload.UpdateChannelHideUserJoinLeaveEvents"> & {
|
|
949
|
-
/**
|
|
950
|
-
* @generated from field: bytes channel_id = 1;
|
|
951
|
-
*/
|
|
952
|
-
channelId: Uint8Array;
|
|
953
|
-
/**
|
|
954
|
-
* @generated from field: bool hide_user_join_leave_events = 2;
|
|
955
|
-
*/
|
|
956
|
-
hideUserJoinLeaveEvents: boolean;
|
|
957
|
-
};
|
|
958
|
-
/**
|
|
959
|
-
* Describes the message river.SpacePayload.UpdateChannelHideUserJoinLeaveEvents.
|
|
960
|
-
* Use `create(SpacePayload_UpdateChannelHideUserJoinLeaveEventsSchema)` to create a new message.
|
|
961
|
-
*/
|
|
962
|
-
export declare const SpacePayload_UpdateChannelHideUserJoinLeaveEventsSchema: GenMessage<SpacePayload_UpdateChannelHideUserJoinLeaveEvents>;
|
|
963
|
-
/**
|
|
964
|
-
* *
|
|
965
|
-
* ChannelPayload
|
|
966
|
-
*
|
|
967
|
-
* @generated from message river.ChannelPayload
|
|
968
|
-
*/
|
|
969
|
-
export type ChannelPayload = Message<"river.ChannelPayload"> & {
|
|
970
|
-
/**
|
|
971
|
-
* @generated from oneof river.ChannelPayload.content
|
|
972
|
-
*/
|
|
973
|
-
content: {
|
|
974
|
-
/**
|
|
975
|
-
* @generated from field: river.ChannelPayload.Inception inception = 1;
|
|
976
|
-
*/
|
|
977
|
-
value: ChannelPayload_Inception;
|
|
978
|
-
case: "inception";
|
|
979
|
-
} | {
|
|
980
|
-
/**
|
|
981
|
-
* @generated from field: river.EncryptedData message = 2;
|
|
982
|
-
*/
|
|
983
|
-
value: EncryptedData;
|
|
984
|
-
case: "message";
|
|
985
|
-
} | {
|
|
986
|
-
/**
|
|
987
|
-
* @generated from field: river.Redaction redaction = 3;
|
|
988
|
-
*/
|
|
989
|
-
value: Redaction;
|
|
990
|
-
case: "redaction";
|
|
991
|
-
} | {
|
|
992
|
-
/**
|
|
993
|
-
* @generated from field: google.protobuf.Any custom = 4;
|
|
994
|
-
*/
|
|
995
|
-
value: Any;
|
|
996
|
-
case: "custom";
|
|
997
|
-
} | {
|
|
998
|
-
/**
|
|
999
|
-
* @generated from field: river.InteractionRequest interaction_request = 5;
|
|
1000
|
-
*/
|
|
1001
|
-
value: InteractionRequest;
|
|
1002
|
-
case: "interactionRequest";
|
|
1003
|
-
} | {
|
|
1004
|
-
/**
|
|
1005
|
-
* @generated from field: river.InteractionResponse interaction_response = 6;
|
|
1006
|
-
*/
|
|
1007
|
-
value: InteractionResponse;
|
|
1008
|
-
case: "interactionResponse";
|
|
1009
|
-
} | {
|
|
1010
|
-
case: undefined;
|
|
1011
|
-
value?: undefined;
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
/**
|
|
1015
|
-
* Describes the message river.ChannelPayload.
|
|
1016
|
-
* Use `create(ChannelPayloadSchema)` to create a new message.
|
|
1017
|
-
*/
|
|
1018
|
-
export declare const ChannelPayloadSchema: GenMessage<ChannelPayload>;
|
|
1019
|
-
/**
|
|
1020
|
-
* @generated from message river.ChannelPayload.Snapshot
|
|
1021
|
-
*/
|
|
1022
|
-
export type ChannelPayload_Snapshot = Message<"river.ChannelPayload.Snapshot"> & {
|
|
1023
|
-
/**
|
|
1024
|
-
* inception
|
|
1025
|
-
*
|
|
1026
|
-
* @generated from field: river.ChannelPayload.Inception inception = 1;
|
|
1027
|
-
*/
|
|
1028
|
-
inception?: ChannelPayload_Inception;
|
|
1029
|
-
};
|
|
1030
|
-
/**
|
|
1031
|
-
* Describes the message river.ChannelPayload.Snapshot.
|
|
1032
|
-
* Use `create(ChannelPayload_SnapshotSchema)` to create a new message.
|
|
1033
|
-
*/
|
|
1034
|
-
export declare const ChannelPayload_SnapshotSchema: GenMessage<ChannelPayload_Snapshot>;
|
|
1035
|
-
/**
|
|
1036
|
-
* @generated from message river.ChannelPayload.Inception
|
|
1037
|
-
*/
|
|
1038
|
-
export type ChannelPayload_Inception = Message<"river.ChannelPayload.Inception"> & {
|
|
1039
|
-
/**
|
|
1040
|
-
* @generated from field: bytes stream_id = 1;
|
|
1041
|
-
*/
|
|
1042
|
-
streamId: Uint8Array;
|
|
1043
|
-
/**
|
|
1044
|
-
* @generated from field: river.StreamSettings settings = 5;
|
|
1045
|
-
*/
|
|
1046
|
-
settings?: StreamSettings;
|
|
1047
|
-
/**
|
|
1048
|
-
* @generated from field: river.SpacePayload.ChannelSettings channel_settings = 7;
|
|
1049
|
-
*/
|
|
1050
|
-
channelSettings?: SpacePayload_ChannelSettings;
|
|
1051
|
-
};
|
|
1052
|
-
/**
|
|
1053
|
-
* Describes the message river.ChannelPayload.Inception.
|
|
1054
|
-
* Use `create(ChannelPayload_InceptionSchema)` to create a new message.
|
|
1055
|
-
*/
|
|
1056
|
-
export declare const ChannelPayload_InceptionSchema: GenMessage<ChannelPayload_Inception>;
|
|
1057
|
-
/**
|
|
1058
|
-
* *
|
|
1059
|
-
* DmChannelPayload
|
|
1060
|
-
*
|
|
1061
|
-
* @generated from message river.DmChannelPayload
|
|
1062
|
-
*/
|
|
1063
|
-
export type DmChannelPayload = Message<"river.DmChannelPayload"> & {
|
|
1064
|
-
/**
|
|
1065
|
-
* @generated from oneof river.DmChannelPayload.content
|
|
1066
|
-
*/
|
|
1067
|
-
content: {
|
|
1068
|
-
/**
|
|
1069
|
-
* @generated from field: river.DmChannelPayload.Inception inception = 1;
|
|
1070
|
-
*/
|
|
1071
|
-
value: DmChannelPayload_Inception;
|
|
1072
|
-
case: "inception";
|
|
1073
|
-
} | {
|
|
1074
|
-
/**
|
|
1075
|
-
* @generated from field: river.EncryptedData message = 3;
|
|
1076
|
-
*/
|
|
1077
|
-
value: EncryptedData;
|
|
1078
|
-
case: "message";
|
|
1079
|
-
} | {
|
|
1080
|
-
/**
|
|
1081
|
-
* @generated from field: google.protobuf.Any custom = 4;
|
|
1082
|
-
*/
|
|
1083
|
-
value: Any;
|
|
1084
|
-
case: "custom";
|
|
1085
|
-
} | {
|
|
1086
|
-
/**
|
|
1087
|
-
* @generated from field: river.Redaction redaction = 5;
|
|
1088
|
-
*/
|
|
1089
|
-
value: Redaction;
|
|
1090
|
-
case: "redaction";
|
|
1091
|
-
} | {
|
|
1092
|
-
/**
|
|
1093
|
-
* @generated from field: river.InteractionRequest interaction_request = 6;
|
|
1094
|
-
*/
|
|
1095
|
-
value: InteractionRequest;
|
|
1096
|
-
case: "interactionRequest";
|
|
1097
|
-
} | {
|
|
1098
|
-
/**
|
|
1099
|
-
* @generated from field: river.InteractionResponse interaction_response = 7;
|
|
1100
|
-
*/
|
|
1101
|
-
value: InteractionResponse;
|
|
1102
|
-
case: "interactionResponse";
|
|
1103
|
-
} | {
|
|
1104
|
-
case: undefined;
|
|
1105
|
-
value?: undefined;
|
|
1106
|
-
};
|
|
1107
|
-
};
|
|
1108
|
-
/**
|
|
1109
|
-
* Describes the message river.DmChannelPayload.
|
|
1110
|
-
* Use `create(DmChannelPayloadSchema)` to create a new message.
|
|
1111
|
-
*/
|
|
1112
|
-
export declare const DmChannelPayloadSchema: GenMessage<DmChannelPayload>;
|
|
1113
|
-
/**
|
|
1114
|
-
* @generated from message river.DmChannelPayload.Snapshot
|
|
1115
|
-
*/
|
|
1116
|
-
export type DmChannelPayload_Snapshot = Message<"river.DmChannelPayload.Snapshot"> & {
|
|
1117
|
-
/**
|
|
1118
|
-
* @generated from field: river.DmChannelPayload.Inception inception = 1;
|
|
1119
|
-
*/
|
|
1120
|
-
inception?: DmChannelPayload_Inception;
|
|
1121
|
-
};
|
|
1122
|
-
/**
|
|
1123
|
-
* Describes the message river.DmChannelPayload.Snapshot.
|
|
1124
|
-
* Use `create(DmChannelPayload_SnapshotSchema)` to create a new message.
|
|
1125
|
-
*/
|
|
1126
|
-
export declare const DmChannelPayload_SnapshotSchema: GenMessage<DmChannelPayload_Snapshot>;
|
|
1127
|
-
/**
|
|
1128
|
-
* @generated from message river.DmChannelPayload.Inception
|
|
1129
|
-
*/
|
|
1130
|
-
export type DmChannelPayload_Inception = Message<"river.DmChannelPayload.Inception"> & {
|
|
1131
|
-
/**
|
|
1132
|
-
* @generated from field: bytes stream_id = 1;
|
|
1133
|
-
*/
|
|
1134
|
-
streamId: Uint8Array;
|
|
1135
|
-
/**
|
|
1136
|
-
* @generated from field: bytes first_party_address = 2;
|
|
1137
|
-
*/
|
|
1138
|
-
firstPartyAddress: Uint8Array;
|
|
1139
|
-
/**
|
|
1140
|
-
* @generated from field: bytes second_party_address = 3;
|
|
1141
|
-
*/
|
|
1142
|
-
secondPartyAddress: Uint8Array;
|
|
1143
|
-
/**
|
|
1144
|
-
* @generated from field: river.StreamSettings settings = 4;
|
|
1145
|
-
*/
|
|
1146
|
-
settings?: StreamSettings;
|
|
1147
|
-
/**
|
|
1148
|
-
* App contract address for first party if they are a bot/app.
|
|
1149
|
-
* When set, indicates a bot-to-user DM and enables app installation checks.
|
|
1150
|
-
*
|
|
1151
|
-
* @generated from field: optional bytes first_party_app_address = 5;
|
|
1152
|
-
*/
|
|
1153
|
-
firstPartyAppAddress?: Uint8Array;
|
|
1154
|
-
/**
|
|
1155
|
-
* App contract address for second party if they are a bot/app.
|
|
1156
|
-
* When set, indicates a user-to-bot DM and enables app installation checks.
|
|
1157
|
-
*
|
|
1158
|
-
* @generated from field: optional bytes second_party_app_address = 6;
|
|
1159
|
-
*/
|
|
1160
|
-
secondPartyAppAddress?: Uint8Array;
|
|
1161
|
-
};
|
|
1162
|
-
/**
|
|
1163
|
-
* Describes the message river.DmChannelPayload.Inception.
|
|
1164
|
-
* Use `create(DmChannelPayload_InceptionSchema)` to create a new message.
|
|
1165
|
-
*/
|
|
1166
|
-
export declare const DmChannelPayload_InceptionSchema: GenMessage<DmChannelPayload_Inception>;
|
|
1167
647
|
/**
|
|
1168
648
|
* *
|
|
1169
649
|
* GdmChannelPayload
|
|
@@ -2086,183 +1566,6 @@ export type MediaPayload_Chunk = Message<"river.MediaPayload.Chunk"> & {
|
|
|
2086
1566
|
* Use `create(MediaPayload_ChunkSchema)` to create a new message.
|
|
2087
1567
|
*/
|
|
2088
1568
|
export declare const MediaPayload_ChunkSchema: GenMessage<MediaPayload_Chunk>;
|
|
2089
|
-
/**
|
|
2090
|
-
* @generated from message river.StreamRecord
|
|
2091
|
-
*/
|
|
2092
|
-
export type StreamRecord = Message<"river.StreamRecord"> & {
|
|
2093
|
-
/**
|
|
2094
|
-
* @generated from field: bytes stream_id = 1;
|
|
2095
|
-
*/
|
|
2096
|
-
streamId: Uint8Array;
|
|
2097
|
-
/**
|
|
2098
|
-
* @generated from field: bytes last_miniblock_hash = 2;
|
|
2099
|
-
*/
|
|
2100
|
-
lastMiniblockHash: Uint8Array;
|
|
2101
|
-
/**
|
|
2102
|
-
* @generated from field: int64 last_miniblock_num = 3;
|
|
2103
|
-
*/
|
|
2104
|
-
lastMiniblockNum: bigint;
|
|
2105
|
-
/**
|
|
2106
|
-
* @generated from field: repeated bytes nodes = 4;
|
|
2107
|
-
*/
|
|
2108
|
-
nodes: Uint8Array[];
|
|
2109
|
-
/**
|
|
2110
|
-
* @generated from field: int64 replication_factor = 5;
|
|
2111
|
-
*/
|
|
2112
|
-
replicationFactor: bigint;
|
|
2113
|
-
};
|
|
2114
|
-
/**
|
|
2115
|
-
* Describes the message river.StreamRecord.
|
|
2116
|
-
* Use `create(StreamRecordSchema)` to create a new message.
|
|
2117
|
-
*/
|
|
2118
|
-
export declare const StreamRecordSchema: GenMessage<StreamRecord>;
|
|
2119
|
-
/**
|
|
2120
|
-
* @generated from message river.MetadataPayload
|
|
2121
|
-
*/
|
|
2122
|
-
export type MetadataPayload = Message<"river.MetadataPayload"> & {
|
|
2123
|
-
/**
|
|
2124
|
-
* @generated from oneof river.MetadataPayload.content
|
|
2125
|
-
*/
|
|
2126
|
-
content: {
|
|
2127
|
-
/**
|
|
2128
|
-
* @generated from field: river.MetadataPayload.Inception inception = 1;
|
|
2129
|
-
*/
|
|
2130
|
-
value: MetadataPayload_Inception;
|
|
2131
|
-
case: "inception";
|
|
2132
|
-
} | {
|
|
2133
|
-
/**
|
|
2134
|
-
* @generated from field: river.MetadataPayload.NewStream new_stream = 2;
|
|
2135
|
-
*/
|
|
2136
|
-
value: MetadataPayload_NewStream;
|
|
2137
|
-
case: "newStream";
|
|
2138
|
-
} | {
|
|
2139
|
-
/**
|
|
2140
|
-
* @generated from field: river.MetadataPayload.LastMiniblockUpdate last_miniblock_update = 3;
|
|
2141
|
-
*/
|
|
2142
|
-
value: MetadataPayload_LastMiniblockUpdate;
|
|
2143
|
-
case: "lastMiniblockUpdate";
|
|
2144
|
-
} | {
|
|
2145
|
-
/**
|
|
2146
|
-
* @generated from field: river.MetadataPayload.PlacementUpdate placement_update = 4;
|
|
2147
|
-
*/
|
|
2148
|
-
value: MetadataPayload_PlacementUpdate;
|
|
2149
|
-
case: "placementUpdate";
|
|
2150
|
-
} | {
|
|
2151
|
-
case: undefined;
|
|
2152
|
-
value?: undefined;
|
|
2153
|
-
};
|
|
2154
|
-
};
|
|
2155
|
-
/**
|
|
2156
|
-
* Describes the message river.MetadataPayload.
|
|
2157
|
-
* Use `create(MetadataPayloadSchema)` to create a new message.
|
|
2158
|
-
*/
|
|
2159
|
-
export declare const MetadataPayloadSchema: GenMessage<MetadataPayload>;
|
|
2160
|
-
/**
|
|
2161
|
-
* @generated from message river.MetadataPayload.Snapshot
|
|
2162
|
-
*/
|
|
2163
|
-
export type MetadataPayload_Snapshot = Message<"river.MetadataPayload.Snapshot"> & {
|
|
2164
|
-
/**
|
|
2165
|
-
* @generated from field: river.MetadataPayload.Inception inception = 1;
|
|
2166
|
-
*/
|
|
2167
|
-
inception?: MetadataPayload_Inception;
|
|
2168
|
-
/**
|
|
2169
|
-
* @generated from field: repeated river.StreamRecord streams = 2;
|
|
2170
|
-
*/
|
|
2171
|
-
streams: StreamRecord[];
|
|
2172
|
-
};
|
|
2173
|
-
/**
|
|
2174
|
-
* Describes the message river.MetadataPayload.Snapshot.
|
|
2175
|
-
* Use `create(MetadataPayload_SnapshotSchema)` to create a new message.
|
|
2176
|
-
*/
|
|
2177
|
-
export declare const MetadataPayload_SnapshotSchema: GenMessage<MetadataPayload_Snapshot>;
|
|
2178
|
-
/**
|
|
2179
|
-
* @generated from message river.MetadataPayload.Inception
|
|
2180
|
-
*/
|
|
2181
|
-
export type MetadataPayload_Inception = Message<"river.MetadataPayload.Inception"> & {
|
|
2182
|
-
/**
|
|
2183
|
-
* @generated from field: bytes stream_id = 1;
|
|
2184
|
-
*/
|
|
2185
|
-
streamId: Uint8Array;
|
|
2186
|
-
/**
|
|
2187
|
-
* @generated from field: river.StreamSettings settings = 2;
|
|
2188
|
-
*/
|
|
2189
|
-
settings?: StreamSettings;
|
|
2190
|
-
};
|
|
2191
|
-
/**
|
|
2192
|
-
* Describes the message river.MetadataPayload.Inception.
|
|
2193
|
-
* Use `create(MetadataPayload_InceptionSchema)` to create a new message.
|
|
2194
|
-
*/
|
|
2195
|
-
export declare const MetadataPayload_InceptionSchema: GenMessage<MetadataPayload_Inception>;
|
|
2196
|
-
/**
|
|
2197
|
-
* @generated from message river.MetadataPayload.NewStream
|
|
2198
|
-
*/
|
|
2199
|
-
export type MetadataPayload_NewStream = Message<"river.MetadataPayload.NewStream"> & {
|
|
2200
|
-
/**
|
|
2201
|
-
* @generated from field: bytes stream_id = 1;
|
|
2202
|
-
*/
|
|
2203
|
-
streamId: Uint8Array;
|
|
2204
|
-
/**
|
|
2205
|
-
* @generated from field: bytes genesis_miniblock_hash = 2;
|
|
2206
|
-
*/
|
|
2207
|
-
genesisMiniblockHash: Uint8Array;
|
|
2208
|
-
/**
|
|
2209
|
-
* @generated from field: repeated bytes nodes = 3;
|
|
2210
|
-
*/
|
|
2211
|
-
nodes: Uint8Array[];
|
|
2212
|
-
/**
|
|
2213
|
-
* @generated from field: int64 replication_factor = 4;
|
|
2214
|
-
*/
|
|
2215
|
-
replicationFactor: bigint;
|
|
2216
|
-
};
|
|
2217
|
-
/**
|
|
2218
|
-
* Describes the message river.MetadataPayload.NewStream.
|
|
2219
|
-
* Use `create(MetadataPayload_NewStreamSchema)` to create a new message.
|
|
2220
|
-
*/
|
|
2221
|
-
export declare const MetadataPayload_NewStreamSchema: GenMessage<MetadataPayload_NewStream>;
|
|
2222
|
-
/**
|
|
2223
|
-
* @generated from message river.MetadataPayload.LastMiniblockUpdate
|
|
2224
|
-
*/
|
|
2225
|
-
export type MetadataPayload_LastMiniblockUpdate = Message<"river.MetadataPayload.LastMiniblockUpdate"> & {
|
|
2226
|
-
/**
|
|
2227
|
-
* @generated from field: bytes stream_id = 1;
|
|
2228
|
-
*/
|
|
2229
|
-
streamId: Uint8Array;
|
|
2230
|
-
/**
|
|
2231
|
-
* @generated from field: bytes last_miniblock_hash = 2;
|
|
2232
|
-
*/
|
|
2233
|
-
lastMiniblockHash: Uint8Array;
|
|
2234
|
-
/**
|
|
2235
|
-
* @generated from field: int64 last_miniblock_num = 3;
|
|
2236
|
-
*/
|
|
2237
|
-
lastMiniblockNum: bigint;
|
|
2238
|
-
};
|
|
2239
|
-
/**
|
|
2240
|
-
* Describes the message river.MetadataPayload.LastMiniblockUpdate.
|
|
2241
|
-
* Use `create(MetadataPayload_LastMiniblockUpdateSchema)` to create a new message.
|
|
2242
|
-
*/
|
|
2243
|
-
export declare const MetadataPayload_LastMiniblockUpdateSchema: GenMessage<MetadataPayload_LastMiniblockUpdate>;
|
|
2244
|
-
/**
|
|
2245
|
-
* @generated from message river.MetadataPayload.PlacementUpdate
|
|
2246
|
-
*/
|
|
2247
|
-
export type MetadataPayload_PlacementUpdate = Message<"river.MetadataPayload.PlacementUpdate"> & {
|
|
2248
|
-
/**
|
|
2249
|
-
* @generated from field: bytes stream_id = 1;
|
|
2250
|
-
*/
|
|
2251
|
-
streamId: Uint8Array;
|
|
2252
|
-
/**
|
|
2253
|
-
* @generated from field: repeated bytes nodes = 2;
|
|
2254
|
-
*/
|
|
2255
|
-
nodes: Uint8Array[];
|
|
2256
|
-
/**
|
|
2257
|
-
* @generated from field: int64 replication_factor = 3;
|
|
2258
|
-
*/
|
|
2259
|
-
replicationFactor: bigint;
|
|
2260
|
-
};
|
|
2261
|
-
/**
|
|
2262
|
-
* Describes the message river.MetadataPayload.PlacementUpdate.
|
|
2263
|
-
* Use `create(MetadataPayload_PlacementUpdateSchema)` to create a new message.
|
|
2264
|
-
*/
|
|
2265
|
-
export declare const MetadataPayload_PlacementUpdateSchema: GenMessage<MetadataPayload_PlacementUpdate>;
|
|
2266
1569
|
/**
|
|
2267
1570
|
* *
|
|
2268
1571
|
* Snapshot contains a summary of all state events up to the most recent miniblock
|
|
@@ -2284,18 +1587,6 @@ export type Snapshot = Message<"river.Snapshot"> & {
|
|
|
2284
1587
|
* @generated from oneof river.Snapshot.content
|
|
2285
1588
|
*/
|
|
2286
1589
|
content: {
|
|
2287
|
-
/**
|
|
2288
|
-
* @generated from field: river.SpacePayload.Snapshot space_content = 101;
|
|
2289
|
-
*/
|
|
2290
|
-
value: SpacePayload_Snapshot;
|
|
2291
|
-
case: "spaceContent";
|
|
2292
|
-
} | {
|
|
2293
|
-
/**
|
|
2294
|
-
* @generated from field: river.ChannelPayload.Snapshot channel_content = 102;
|
|
2295
|
-
*/
|
|
2296
|
-
value: ChannelPayload_Snapshot;
|
|
2297
|
-
case: "channelContent";
|
|
2298
|
-
} | {
|
|
2299
1590
|
/**
|
|
2300
1591
|
* @generated from field: river.UserPayload.Snapshot user_content = 103;
|
|
2301
1592
|
*/
|
|
@@ -2319,12 +1610,6 @@ export type Snapshot = Message<"river.Snapshot"> & {
|
|
|
2319
1610
|
*/
|
|
2320
1611
|
value: MediaPayload_Snapshot;
|
|
2321
1612
|
case: "mediaContent";
|
|
2322
|
-
} | {
|
|
2323
|
-
/**
|
|
2324
|
-
* @generated from field: river.DmChannelPayload.Snapshot dm_channel_content = 107;
|
|
2325
|
-
*/
|
|
2326
|
-
value: DmChannelPayload_Snapshot;
|
|
2327
|
-
case: "dmChannelContent";
|
|
2328
1613
|
} | {
|
|
2329
1614
|
/**
|
|
2330
1615
|
* @generated from field: river.GdmChannelPayload.Snapshot gdm_channel_content = 108;
|
|
@@ -2337,12 +1622,6 @@ export type Snapshot = Message<"river.Snapshot"> & {
|
|
|
2337
1622
|
*/
|
|
2338
1623
|
value: UserInboxPayload_Snapshot;
|
|
2339
1624
|
case: "userInboxContent";
|
|
2340
|
-
} | {
|
|
2341
|
-
/**
|
|
2342
|
-
* @generated from field: river.MetadataPayload.Snapshot metadata_content = 110;
|
|
2343
|
-
*/
|
|
2344
|
-
value: MetadataPayload_Snapshot;
|
|
2345
|
-
case: "metadataContent";
|
|
2346
1625
|
} | {
|
|
2347
1626
|
case: undefined;
|
|
2348
1627
|
value?: undefined;
|