Skip to main content

src/webql/compiler/reference.gleam

/// A stable node declaration reference.
pub type Node {
  Node(Int)
}

/// A stable supernode declaration reference.
pub type Supernode {
  Supernode(Int)
}

/// A stable edge reference.
pub type Edge {
  Edge(Int)
}

/// A stable document reference.
pub type Document {
  Document(Int)
}

/// A stable schema operation reference.
pub type Operation {
  Operation(Int)
}

/// A stable graph parameter declaration reference.
pub type Parameter {
  Parameter(Int)
}

/// A stable graph return declaration reference.
pub type Return {
  Return(Int)
}

/// A stable edge input endpoint reference.
pub type Input {
  Input(Int)
}

/// A stable edge output endpoint reference.
pub type Output {
  Output(Int)
}

/// A stable port reference.
pub type Port {
  Port(Int)
}