diff --git a/pkg/dwn/Config.pkl.go b/pkg/dwn/Config.pkl.go index 963d9f6a2..f0c8ef0cf 100644 --- a/pkg/dwn/Config.pkl.go +++ b/pkg/dwn/Config.pkl.go @@ -2,13 +2,13 @@ package dwn type Config struct { - Ipfs *IPFS `pkl:"ipfs"` + Ipfs *IPFS `pkl:"ipfs" json:"ipfs,omitempty"` - Sonr *Sonr `pkl:"sonr"` + Sonr *Sonr `pkl:"sonr" json:"sonr,omitempty"` - Motr *Motr `pkl:"motr"` + Motr *Motr `pkl:"motr" json:"motr,omitempty"` - Schema *Schema `pkl:"schema"` + Schema *Schema `pkl:"schema" json:"schema,omitempty"` - ProxyUrl string `pkl:"proxyUrl"` + ProxyUrl string `pkl:"proxyUrl" json:"proxyUrl,omitempty"` } diff --git a/pkg/dwn/IPFS.pkl.go b/pkg/dwn/IPFS.pkl.go index 7f2add580..78084810b 100644 --- a/pkg/dwn/IPFS.pkl.go +++ b/pkg/dwn/IPFS.pkl.go @@ -2,7 +2,7 @@ package dwn type IPFS struct { - ApiUrl string `pkl:"apiUrl"` + ApiUrl string `pkl:"apiUrl" json:"apiUrl,omitempty"` - GatewayUrl string `pkl:"gatewayUrl"` + GatewayUrl string `pkl:"gatewayUrl" json:"gatewayUrl,omitempty"` } diff --git a/pkg/dwn/Motr.pkl.go b/pkg/dwn/Motr.pkl.go index 288159103..bc144efd0 100644 --- a/pkg/dwn/Motr.pkl.go +++ b/pkg/dwn/Motr.pkl.go @@ -2,9 +2,9 @@ package dwn type Motr struct { - Keyshare string `pkl:"keyshare"` + Keyshare string `pkl:"keyshare" json:"keyshare,omitempty"` - Address string `pkl:"address"` + Address string `pkl:"address" json:"address,omitempty"` - Origin string `pkl:"origin"` + Origin string `pkl:"origin" json:"origin,omitempty"` } diff --git a/pkg/dwn/Schema.pkl.go b/pkg/dwn/Schema.pkl.go index 80569916f..e8d4692ac 100644 --- a/pkg/dwn/Schema.pkl.go +++ b/pkg/dwn/Schema.pkl.go @@ -4,19 +4,19 @@ package dwn type Schema struct { Version int `pkl:"version"` - Account string `pkl:"account"` + Account string `pkl:"account" json:"account,omitempty"` - Asset string `pkl:"asset"` + Asset string `pkl:"asset" json:"asset,omitempty"` - Chain string `pkl:"chain"` + Chain string `pkl:"chain" json:"chain,omitempty"` - Credential string `pkl:"credential"` + Credential string `pkl:"credential" json:"credential,omitempty"` - Jwk string `pkl:"jwk"` + Jwk string `pkl:"jwk" json:"jwk,omitempty"` - Grant string `pkl:"grant"` + Grant string `pkl:"grant" json:"grant,omitempty"` - Keyshare string `pkl:"keyshare"` + Keyshare string `pkl:"keyshare" json:"keyshare,omitempty"` - Profile string `pkl:"profile"` + Profile string `pkl:"profile" json:"profile,omitempty"` } diff --git a/pkg/dwn/Sonr.pkl.go b/pkg/dwn/Sonr.pkl.go index 9fec1dc2c..8693af808 100644 --- a/pkg/dwn/Sonr.pkl.go +++ b/pkg/dwn/Sonr.pkl.go @@ -2,13 +2,13 @@ package dwn type Sonr struct { - ApiUrl string `pkl:"apiUrl"` + ApiUrl string `pkl:"apiUrl" json:"apiUrl,omitempty"` - GrpcUrl string `pkl:"grpcUrl"` + GrpcUrl string `pkl:"grpcUrl" json:"grpcUrl,omitempty"` - RpcUrl string `pkl:"rpcUrl"` + RpcUrl string `pkl:"rpcUrl" json:"rpcUrl,omitempty"` - WebSocketUrl string `pkl:"webSocketUrl"` + WebSocketUrl string `pkl:"webSocketUrl" json:"webSocketUrl,omitempty"` - ChainId string `pkl:"chainId"` + ChainId string `pkl:"chainId" json:"chainId,omitempty"` }