mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
* fix: update commitizen version * feat: add WASM build tags to db actions * feat: Update all actions to follow `AddAsset` for error handling * feat: remove database dependency in dwn and motr commands * feat: add basic info form to registration view * feat: implement basic browser navigation component * refactor: move database related files to middleware * fix: remove unused test command * fix: update source directory for buf-publish workflow
77 lines
1.5 KiB
Go
77 lines
1.5 KiB
Go
// Code generated from Pkl module `txns`. DO NOT EDIT.
|
|
package txns
|
|
|
|
import "github.com/apple/pkl-go/pkl"
|
|
|
|
type MsgDidRegisterService interface {
|
|
Msg
|
|
|
|
GetController() string
|
|
|
|
GetOriginUri() string
|
|
|
|
GetScopes() *pkl.Object
|
|
|
|
GetDescription() string
|
|
|
|
GetServiceEndpoints() map[string]string
|
|
|
|
GetMetadata() *pkl.Object
|
|
|
|
GetToken() *pkl.Object
|
|
}
|
|
|
|
var _ MsgDidRegisterService = (*MsgDidRegisterServiceImpl)(nil)
|
|
|
|
type MsgDidRegisterServiceImpl struct {
|
|
// The type URL for the message
|
|
TypeUrl string `pkl:"typeUrl"`
|
|
|
|
Controller string `pkl:"controller"`
|
|
|
|
OriginUri string `pkl:"originUri"`
|
|
|
|
Scopes *pkl.Object `pkl:"scopes"`
|
|
|
|
Description string `pkl:"description"`
|
|
|
|
ServiceEndpoints map[string]string `pkl:"serviceEndpoints"`
|
|
|
|
Metadata *pkl.Object `pkl:"metadata"`
|
|
|
|
Token *pkl.Object `pkl:"token"`
|
|
}
|
|
|
|
// The type URL for the message
|
|
func (rcv *MsgDidRegisterServiceImpl) GetTypeUrl() string {
|
|
return rcv.TypeUrl
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetController() string {
|
|
return rcv.Controller
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetOriginUri() string {
|
|
return rcv.OriginUri
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetScopes() *pkl.Object {
|
|
return rcv.Scopes
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetDescription() string {
|
|
return rcv.Description
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetServiceEndpoints() map[string]string {
|
|
return rcv.ServiceEndpoints
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetMetadata() *pkl.Object {
|
|
return rcv.Metadata
|
|
}
|
|
|
|
func (rcv *MsgDidRegisterServiceImpl) GetToken() *pkl.Object {
|
|
return rcv.Token
|
|
}
|