making struct public

This commit is contained in:
Gabriel mermelstein 2025-01-15 18:13:47 +01:00
parent fc57ed9cd9
commit 7cc330f147
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -13,7 +13,7 @@ type StoreQueryRequest struct {
PaginationLimit *uint64 `json:"pagination_limit,omitempty"`
}
type storeMessageResponse struct {
type StoreMessageResponse struct {
WakuMessage tmpWakuMessageJson `json:"message"`
PubsubTopic string `json:"pubsubTopic"`
MessageHash MessageHash `json:"messageHash"`
@ -23,6 +23,6 @@ type StoreQueryResponse struct {
RequestId string `json:"requestId,omitempty"`
StatusCode *uint32 `json:"statusCode,omitempty"`
StatusDesc string `json:"statusDesc,omitempty"`
Messages []storeMessageResponse `json:"messages,omitempty"`
Messages []StoreMessageResponse `json:"messages,omitempty"`
PaginationCursor MessageHash `json:"paginationCursor,omitempty"`
}