package
Version:
v1.20.0
Opens a new window with list of versions in this module.
Published: Jun 12, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
GQLOnChain = "ON_CHAIN"
GQLOffChain = "OFF_CHAIN"
)
Type is the normalised registry type stored in context.yaml.
const (
OnChain Type = "on-chain"
OffChain Type = "off-chain"
Unknown Type = "unknown"
)
FromGQL maps a GraphQL registry type to the normalised context.yaml value.
Parse converts a raw type string from context.yaml to a Type.
Only the canonical values written by FromGQL are accepted; anything else errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.