Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TrackTable b = TrackTable {}
- data SetTableIsEnum b = SetTableIsEnum {
- stieSource :: SourceName
- stieTable :: TableName b
- stieIsEnum :: Bool
- data UntrackTable b = UntrackTable {}
- checkConflictingNode :: forall m. MonadError QErr m => SchemaCache -> Text -> m ()
- runTrackTableQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTable b -> m EncJSON
- data TrackTableV2 b = TrackTableV2 {
- ttv2Table :: TrackTable b
- ttv2Configuration :: TableConfig b
- runTrackTableV2Q :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTableV2 b -> m EncJSON
- data TrackTables b = TrackTables {}
- runTrackTablesQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTables b -> m EncJSON
- data UntrackTables b = UntrackTables {}
- runUntrackTablesQ :: forall b m. (CacheRWM m, QErrM m, MetadataM m, BackendMetadata b, BackendEventTrigger b, MonadIO m) => UntrackTables b -> m EncJSON
- runSetExistingTableIsEnumQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => SetTableIsEnum b -> m EncJSON
- data SetTableCustomization b = SetTableCustomization {}
- data SetTableCustomFields = SetTableCustomFields {}
- runSetTableCustomFieldsQV2 :: (QErrM m, CacheRWM m, MetadataM m) => SetTableCustomFields -> m EncJSON
- runSetTableCustomization :: forall b m. (QErrM m, CacheRWM m, MetadataM m, Backend b) => SetTableCustomization b -> m EncJSON
- runUntrackTableQ :: forall b m. (CacheRWM m, QErrM m, MetadataM m, BackendMetadata b, BackendEventTrigger b, MonadIO m) => UntrackTable b -> m EncJSON
- buildTableCache :: forall arr m b. (ArrowChoice arr, ArrowDistribute arr, ArrowWriter (Seq CollectItem) arr, ArrowCache m arr, MonadIO m, MonadBaseControl IO m, BackendMetadata b) => (SourceName, SourceConfig b, DBTablesMetadata b, [TableBuildInput b], Dependency InvalidationKey, NamingCase, LogicalModels b) `arr` HashMap (TableName b) (TableCoreInfoG b (StructuredColumnInfo b) (ColumnInfo b))
- data SetApolloFederationConfig b = SetApolloFederationConfig {}
- runSetApolloFederationConfig :: forall b m. (QErrM m, CacheRWM m, MetadataM m, Backend b) => SetApolloFederationConfig b -> m EncJSON
Documentation
data TrackTable b Source #
Instances
Backend b => FromJSON (TrackTable b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (TrackTable b) Source # parseJSONList :: Value -> Parser [TrackTable b] Source # | |
Backend b => Show (TrackTable b) Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> TrackTable b -> ShowS # show :: TrackTable b -> String # showList :: [TrackTable b] -> ShowS # | |
Backend b => Eq (TrackTable b) Source # | |
Defined in Hasura.Table.API (==) :: TrackTable b -> TrackTable b -> Bool # (/=) :: TrackTable b -> TrackTable b -> Bool # |
data SetTableIsEnum b Source #
SetTableIsEnum | |
|
Instances
Backend b => FromJSON (SetTableIsEnum b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (SetTableIsEnum b) Source # parseJSONList :: Value -> Parser [SetTableIsEnum b] Source # | |
Show (TableName b) => Show (SetTableIsEnum b) Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> SetTableIsEnum b -> ShowS # show :: SetTableIsEnum b -> String # showList :: [SetTableIsEnum b] -> ShowS # | |
Eq (TableName b) => Eq (SetTableIsEnum b) Source # | |
Defined in Hasura.Table.API (==) :: SetTableIsEnum b -> SetTableIsEnum b -> Bool # (/=) :: SetTableIsEnum b -> SetTableIsEnum b -> Bool # |
data UntrackTable b Source #
Instances
Backend b => FromJSON (UntrackTable b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (UntrackTable b) Source # parseJSONList :: Value -> Parser [UntrackTable b] Source # | |
Backend b => Show (UntrackTable b) Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> UntrackTable b -> ShowS # show :: UntrackTable b -> String # showList :: [UntrackTable b] -> ShowS # | |
Backend b => Eq (UntrackTable b) Source # | |
Defined in Hasura.Table.API (==) :: UntrackTable b -> UntrackTable b -> Bool # (/=) :: UntrackTable b -> UntrackTable b -> Bool # |
checkConflictingNode :: forall m. MonadError QErr m => SchemaCache -> Text -> m () Source #
Check whether a given name would conflict with the current schema by doing an internal introspection
runTrackTableQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTable b -> m EncJSON Source #
data TrackTableV2 b Source #
Instances
Backend b => FromJSON (TrackTableV2 b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (TrackTableV2 b) Source # parseJSONList :: Value -> Parser [TrackTableV2 b] Source # | |
Backend b => Show (TrackTableV2 b) Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> TrackTableV2 b -> ShowS # show :: TrackTableV2 b -> String # showList :: [TrackTableV2 b] -> ShowS # | |
Backend b => Eq (TrackTableV2 b) Source # | |
Defined in Hasura.Table.API (==) :: TrackTableV2 b -> TrackTableV2 b -> Bool # (/=) :: TrackTableV2 b -> TrackTableV2 b -> Bool # |
runTrackTableV2Q :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTableV2 b -> m EncJSON Source #
data TrackTables b Source #
Instances
Backend b => FromJSON (TrackTables b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (TrackTables b) Source # parseJSONList :: Value -> Parser [TrackTables b] Source # |
runTrackTablesQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => TrackTables b -> m EncJSON Source #
data UntrackTables b Source #
Instances
Backend b => FromJSON (UntrackTables b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (UntrackTables b) Source # parseJSONList :: Value -> Parser [UntrackTables b] Source # |
runUntrackTablesQ :: forall b m. (CacheRWM m, QErrM m, MetadataM m, BackendMetadata b, BackendEventTrigger b, MonadIO m) => UntrackTables b -> m EncJSON Source #
runSetExistingTableIsEnumQ :: forall b m. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => SetTableIsEnum b -> m EncJSON Source #
data SetTableCustomization b Source #
SetTableCustomization | |
|
Instances
Backend b => FromJSON (SetTableCustomization b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (SetTableCustomization b) Source # parseJSONList :: Value -> Parser [SetTableCustomization b] Source # | |
Backend b => Show (SetTableCustomization b) Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> SetTableCustomization b -> ShowS # show :: SetTableCustomization b -> String # showList :: [SetTableCustomization b] -> ShowS # | |
Backend b => Eq (SetTableCustomization b) Source # | |
Defined in Hasura.Table.API (==) :: SetTableCustomization b -> SetTableCustomization b -> Bool # (/=) :: SetTableCustomization b -> SetTableCustomization b -> Bool # |
data SetTableCustomFields Source #
Instances
FromJSON SetTableCustomFields Source # | |
Defined in Hasura.Table.API | |
Show SetTableCustomFields Source # | |
Defined in Hasura.Table.API showsPrec :: Int -> SetTableCustomFields -> ShowS # show :: SetTableCustomFields -> String # showList :: [SetTableCustomFields] -> ShowS # | |
Eq SetTableCustomFields Source # | |
Defined in Hasura.Table.API (==) :: SetTableCustomFields -> SetTableCustomFields -> Bool # (/=) :: SetTableCustomFields -> SetTableCustomFields -> Bool # |
runSetTableCustomFieldsQV2 :: (QErrM m, CacheRWM m, MetadataM m) => SetTableCustomFields -> m EncJSON Source #
runSetTableCustomization :: forall b m. (QErrM m, CacheRWM m, MetadataM m, Backend b) => SetTableCustomization b -> m EncJSON Source #
runUntrackTableQ :: forall b m. (CacheRWM m, QErrM m, MetadataM m, BackendMetadata b, BackendEventTrigger b, MonadIO m) => UntrackTable b -> m EncJSON Source #
buildTableCache :: forall arr m b. (ArrowChoice arr, ArrowDistribute arr, ArrowWriter (Seq CollectItem) arr, ArrowCache m arr, MonadIO m, MonadBaseControl IO m, BackendMetadata b) => (SourceName, SourceConfig b, DBTablesMetadata b, [TableBuildInput b], Dependency InvalidationKey, NamingCase, LogicalModels b) `arr` HashMap (TableName b) (TableCoreInfoG b (StructuredColumnInfo b) (ColumnInfo b)) Source #
Builds an initial table cache. Does not fill in permissions or event triggers, and the returned
FieldInfoMap
s only contain columns, not relationships; those pieces of information are filled
in later.
data SetApolloFederationConfig b Source #
SetApolloFederationConfig | |
|
Instances
Backend b => FromJSON (SetApolloFederationConfig b) Source # | |
Defined in Hasura.Table.API parseJSON :: Value -> Parser (SetApolloFederationConfig b) Source # parseJSONList :: Value -> Parser [SetApolloFederationConfig b] Source # |
runSetApolloFederationConfig :: forall b m. (QErrM m, CacheRWM m, MetadataM m, Backend b) => SetApolloFederationConfig b -> m EncJSON Source #