-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package configtypes | ||
|
||
type ChainGroup struct { | ||
Chain string `toml:"chain,omitempty"` | ||
ChainId string `toml:"chainId"` | ||
IpfsGateway string `toml:"ipfsGateway,omitempty"` | ||
KeyEndpoint string `toml:"keyEndpoint,omitempty"` | ||
LocalExplorer string `toml:"localExplorer,omitempty"` | ||
RemoteExplorer string `toml:"remoteExplorer,omitempty"` | ||
RpcProvider string `toml:"rpcProvider"` | ||
Symbol string `toml:"symbol"` | ||
Scrape ScrapeSettings `toml:"scrape"` | ||
Chain string `json:"chain" toml:"chain,omitempty"` | ||
ChainId string `json:"chainId" toml:"chainId"` | ||
IpfsGateway string `json:"ipfsGateway" toml:"ipfsGateway,omitempty"` | ||
KeyEndpoint string `json:"keyEndpoint" toml:"keyEndpoint,omitempty"` | ||
LocalExplorer string `json:"localExplorer" toml:"localExplorer,omitempty"` | ||
RemoteExplorer string `json:"removeExplorer" toml:"remoteExplorer,omitempty"` | ||
RpcProvider string `json:"rpcProvider" toml:"rpcProvider"` | ||
Symbol string `json:"symbol" toml:"symbol"` | ||
Scrape ScrapeSettings `json:"scrape" toml:"scrape"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package configtypes | ||
|
||
type KeyGroup struct { | ||
License string `toml:"license,omitempty"` | ||
ApiKey string `toml:"apiKey"` | ||
Secret string `toml:"secret,omitempty"` | ||
Jwt string `toml:"jwt,omitempty"` | ||
License string `json:"license" toml:"license,omitempty"` | ||
ApiKey string `json:"apiKey" toml:"apiKey"` | ||
Secret string `json:"secret" toml:"secret,omitempty"` | ||
Jwt string `json:"jwt" toml:"jwt,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package configtypes | ||
|
||
type NotifyGroup struct { | ||
Url string `toml:"url" json:"url,omitempty"` | ||
Author string `toml:"author" json:"author,omitempty"` | ||
Url string `json:"url,omitempty" toml:"url"` | ||
Author string `json:"author,omitempty" toml:"author"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package configtypes | ||
|
||
type PinningGroup struct { | ||
GatewayUrl string `toml:"gatewayUrl" comment:"The pinning gateway to query when downloading the unchained index"` | ||
LocalPinUrl string `toml:"localPinUrl" comment:"The local endpoint for the IPFS daemon"` | ||
RemotePinUrl string `toml:"remotePinUrl" comment:"The remote endpoint for pinning on Pinata"` | ||
GatewayUrl string `json:"gatewayUrl" toml:"gatewayUrl" comment:"The pinning gateway to query when downloading the unchained index"` | ||
LocalPinUrl string `json:"localPinUrl" toml:"localPinUrl" comment:"The local endpoint for the IPFS daemon"` | ||
RemotePinUrl string `json:"remotePinUrl" toml:"remotePinUrl" comment:"The remote endpoint for pinning on Pinata"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package configtypes | ||
|
||
type SettingsGroup struct { | ||
CachePath string `toml:"cachePath" comment:"The location of the per chain caches"` | ||
IndexPath string `toml:"indexPath" comment:"The location of the per chain unchained indexes"` | ||
DefaultChain string `toml:"defaultChain" comment:"The default chain to use if none is provided"` | ||
DefaultGateway string `toml:"defaultGateway,omitempty"` | ||
Notify NotifyGroup `toml:"notify"` | ||
CachePath string `json:"cachePath" toml:"cachePath" comment:"The location of the per chain caches"` | ||
IndexPath string `json:"indexPath" toml:"indexPath" comment:"The location of the per chain unchained indexes"` | ||
DefaultChain string `json:"defaultChain" toml:"defaultChain" comment:"The default chain to use if none is provided"` | ||
DefaultGateway string `json:"defaultGateway" toml:"defaultGateway,omitempty"` | ||
Notify NotifyGroup `json:"notify" toml:"notify"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package configtypes | ||
|
||
type UnchainedGroup struct { | ||
PreferredPublisher string `toml:"preferredPublisher,omitempty" comment:"The default publisher of the index if none other is provided"` | ||
SmartContract string `toml:"smartContract,omitempty" comment:"The address of the current version of the Unchained Index"` | ||
PreferredPublisher string `json:"preferredPublisher" toml:"preferredPublisher,omitempty" comment:"The default publisher of the index if none other is provided"` | ||
SmartContract string `json:"smartContract" toml:"smartContract,omitempty" comment:"The address of the current version of the Unchained Index"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package configtypes | ||
|
||
type VersionGroup struct { | ||
Current string `toml:"current" comment:"Do not edit"` | ||
Current string `json:"current" toml:"current" comment:"Do not edit"` | ||
} |