Module

Prospero.Metadata

Package
purescript-prospero
Repository
rowtype-yoga/purescript-prospero

#HasGqlDescription Source

#HasGqlDeprecated Source

#IsGql Source

class IsGql :: Type -> Symbol -> Type -> Constraintclass IsGql kind name a | a -> kind name

#Object Source

data Object

#Enum Source

data Enum

#Union Source

data Union

#Interface Source

#Scalar Source

data Scalar

#InputObject Source

#HasGqlCost Source

class HasGqlCost ty  where

Members

Instances

#Described Source

#described Source

described :: forall @desc a. a -> Described desc a

#Deprecated Source

newtype Deprecated :: Symbol -> Type -> Typenewtype Deprecated reason a

Instances

#deprecated Source

deprecated :: forall @reason a. a -> Deprecated reason a

#Defaulted Source

#defaulted Source

defaulted :: forall @value a. a -> Defaulted value a

#Cost Source

newtype Cost :: Int -> Type -> Typenewtype Cost cost a

Instances

#cost Source

cost :: forall @cost a. a -> Cost cost a

#MaxAge Source

newtype MaxAge :: Int -> TimeUnit -> Type -> Typenewtype MaxAge n unit a

Instances

#maxAge Source

maxAge :: forall @n @unit a. a -> MaxAge n unit a

#TimeUnit Source

#Seconds Source

#Minutes Source

#Hours Source

data Hours :: TimeUnitdata Hours

Instances

#private Source

private :: forall a. a -> Private a

#Named Source

newtype Named :: Symbol -> Type -> Typenewtype Named gqlName a

Instances

#named Source

named :: forall @gqlName a. a -> Named gqlName a

#Name Source

newtype Name :: Symbol -> Type -> Typenewtype Name name a

Instances

#nameType Source

nameType :: forall @name a. a -> Name name a

#Excluded Source

newtype Excluded a

Instances

#excluded Source

excluded :: forall a. a -> Excluded a

#HasGqlExcluded Source

class HasGqlExcluded ty  where

Members

Instances

#HasGqlName Source

class HasGqlName ty  where

Members

Instances

#CacheHint Source

type CacheHint = { isPrivate :: Boolean, maxAge :: Maybe Seconds }

#GqlObject_ Source

newtype GqlObject_ :: Symbol -> Type -> Typenewtype GqlObject_ name a

Constructors

Instances

#type (!) Source

Operator alias for Prospero.Metadata.GqlObject_ (right-associative / precedence 5)

#GqlEnum_ Source

newtype GqlEnum_ :: Symbol -> Type -> Typenewtype GqlEnum_ name a

Constructors

Instances

#GqlUnion_ Source

newtype GqlUnion_ :: Symbol -> Type -> Typenewtype GqlUnion_ name a

Constructors

Instances

#GqlInputObject_ Source

newtype GqlInputObject_ :: Symbol -> Type -> Typenewtype GqlInputObject_ name a

Constructors

Instances