| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hasura.Table.Metadata
Description
In order to avoid circular dependencies while splitting
Metadata into multiple modules, some definitions must be
moved out of that module. This module is the bucket for definitions that have
not been specifically moved elsewhere.
Documentation
data ComputedFieldMetadata b Source #
Constructors
| ComputedFieldMetadata | |
Fields | |
Instances
type Relationships a = InsOrdHashMap RelName a Source #
type ComputedFields b = InsOrdHashMap ComputedFieldName (ComputedFieldMetadata b) Source #
type Permissions a = InsOrdHashMap RoleName a Source #
data TableMetadata b Source #
Constructors
| TableMetadata | |
Fields
| |
Instances
tmUpdatePermissions :: forall b. Lens' (TableMetadata b) (Permissions (UpdPermDef b)) Source #
tmSelectPermissions :: forall b. Lens' (TableMetadata b) (Permissions (SelPermDef b)) Source #
tmRemoteRelationships :: forall b. Lens' (TableMetadata b) RemoteRelationships Source #
tmObjectRelationships :: forall b. Lens' (TableMetadata b) (Relationships (ObjRelDef b)) Source #
tmLogicalModel :: forall b. Lens' (TableMetadata b) (Maybe LogicalModelName) Source #
tmInsertPermissions :: forall b. Lens' (TableMetadata b) (Permissions (InsPermDef b)) Source #
tmEventTriggers :: forall b. Lens' (TableMetadata b) (EventTriggers b) Source #
tmDeletePermissions :: forall b. Lens' (TableMetadata b) (Permissions (DelPermDef b)) Source #
tmConfiguration :: forall b. Lens' (TableMetadata b) (TableConfig b) Source #
tmComputedFields :: forall b. Lens' (TableMetadata b) (ComputedFields b) Source #
tmArrayRelationships :: forall b. Lens' (TableMetadata b) (Relationships (ArrRelDef b)) Source #
tmApolloFederationConfig :: forall b. Lens' (TableMetadata b) (Maybe ApolloFederationConfig) Source #
mkTableMeta :: TableName b -> Bool -> TableConfig b -> TableMetadata b Source #