PublicNav
Nav is an item within a navigational heirarchy of some kind, most often viewed as a menu.
type PublicNav {
demandHqId: ID!
href: String!
label: String!
navId: ID!
navLevel: Int!
navType: String!
navs(
after: String
before: String
first: Int
last: Int
): PublicNavConnection!
parentNavId: ID
position: Int
storefrontId: ID!
}
Fields
PublicNav.demandHqId
● ID!
non-null scalar
PublicNav.href
● String!
non-null scalar
Where this Nav link should lead to. Can be an absolute or relative url. 768 character limit.
PublicNav.label
● String!
non-null scalar
The label for this Nav, limit 64 characters.
PublicNav.navId
● ID!
non-null scalar
PublicNav.navLevel
● Int!
non-null scalar
A number, representing where this Nav resides in the heirarchy. Immutable, and limited to 0 through 6. 0 is the top level, 1 is the second level, etc.
PublicNav.navType
● String!
non-null scalar
A string indicating the purpose of this Nav hierarchy, must match parentNav if applicable. Limit 128 characters.
PublicNav.navs
● PublicNavConnection!
non-null object
List Child Navs for a Nav.
Requires the publicnav/read permission.
PublicNav.navs.after
●String
scalarReturns the elements in the list that come after the specified cursor.
PublicNav.navs.before
● String
scalar
Returns the elements in the list that come before the specified cursor.
PublicNav.navs.first
● Int
scalar
Returns the first n elements from the list.
PublicNav.navs.last
● Int
scalar
Returns the last n elements from the list.
PublicNav.parentNavId
● ID
scalar
All Navs besides the root (Level 0) have a parentNavId. Immutable.
PublicNav.position
● Int
scalar
Where this Nav should be located with respect to other Navs. Need not be sequential or unique.
PublicNav.storefrontId
● ID!
non-null scalar
Member of
PublicNavConnection
object ● PublicNavEdge
object