graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Server.API.Metadata

Description

The RQL metadata query ('v1metadata')

Synopsis

Documentation

data RQLMetadataV1 Source #

Constructors

RMAddSource !(AnyBackend AddSource) 
RMDropSource DropSource 
RMRenameSource !RenameSource 
RMUpdateSource !(AnyBackend UpdateSource) 
RMTrackTable !(AnyBackend TrackTableV2) 
RMUntrackTable !(AnyBackend UntrackTable) 
RMSetTableCustomization !(AnyBackend SetTableCustomization) 
RMSetApolloFederationConfig (AnyBackend SetApolloFederationConfig) 
RMPgSetTableIsEnum !SetTableIsEnum 
RMCreateInsertPermission !(AnyBackend (CreatePerm InsPerm)) 
RMCreateSelectPermission !(AnyBackend (CreatePerm SelPerm)) 
RMCreateUpdatePermission !(AnyBackend (CreatePerm UpdPerm)) 
RMCreateDeletePermission !(AnyBackend (CreatePerm DelPerm)) 
RMDropInsertPermission !(AnyBackend DropPerm) 
RMDropSelectPermission !(AnyBackend DropPerm) 
RMDropUpdatePermission !(AnyBackend DropPerm) 
RMDropDeletePermission !(AnyBackend DropPerm) 
RMSetPermissionComment !(AnyBackend SetPermComment) 
RMCreateObjectRelationship !(AnyBackend CreateObjRel) 
RMCreateArrayRelationship !(AnyBackend CreateArrRel) 
RMDropRelationship !(AnyBackend DropRel) 
RMSetRelationshipComment !(AnyBackend SetRelComment) 
RMRenameRelationship !(AnyBackend RenameRel) 
RMCreateRemoteRelationship !(AnyBackend CreateFromSourceRelationship) 
RMUpdateRemoteRelationship !(AnyBackend CreateFromSourceRelationship) 
RMDeleteRemoteRelationship !(AnyBackend DeleteFromSourceRelationship) 
RMTrackFunction !(AnyBackend TrackFunctionV2) 
RMUntrackFunction !(AnyBackend UnTrackFunction) 
RMSetFunctionCustomization (AnyBackend SetFunctionCustomization) 
RMCreateFunctionPermission !(AnyBackend FunctionPermissionArgument) 
RMDropFunctionPermission !(AnyBackend FunctionPermissionArgument) 
RMAddComputedField !(AnyBackend AddComputedField) 
RMDropComputedField !(AnyBackend DropComputedField) 
RMCreateEventTrigger !(AnyBackend (Unvalidated1 CreateEventTriggerQuery)) 
RMDeleteEventTrigger !(AnyBackend DeleteEventTriggerQuery) 
RMRedeliverEvent !(AnyBackend RedeliverEventQuery) 
RMInvokeEventTrigger !(AnyBackend InvokeEventTriggerQuery) 
RMAddRemoteSchema !AddRemoteSchemaQuery 
RMUpdateRemoteSchema !AddRemoteSchemaQuery 
RMRemoveRemoteSchema !RemoteSchemaNameQuery 
RMReloadRemoteSchema !RemoteSchemaNameQuery 
RMIntrospectRemoteSchema !RemoteSchemaNameQuery 
RMAddRemoteSchemaPermissions !AddRemoteSchemaPermission 
RMDropRemoteSchemaPermissions !DropRemoteSchemaPermissions 
RMCreateRemoteSchemaRemoteRelationship CreateRemoteSchemaRemoteRelationship 
RMUpdateRemoteSchemaRemoteRelationship CreateRemoteSchemaRemoteRelationship 
RMDeleteRemoteSchemaRemoteRelationship DeleteRemoteSchemaRemoteRelationship 
RMCreateCronTrigger !(Unvalidated CreateCronTrigger) 
RMDeleteCronTrigger !ScheduledTriggerName 
RMCreateScheduledEvent !CreateScheduledEvent 
RMDeleteScheduledEvent !DeleteScheduledEvent 
RMGetScheduledEvents !GetScheduledEvents 
RMGetEventInvocations !GetEventInvocations 
RMGetCronTriggers 
RMCreateAction !(Unvalidated CreateAction) 
RMDropAction !DropAction 
RMUpdateAction !(Unvalidated UpdateAction) 
RMCreateActionPermission !CreateActionPermission 
RMDropActionPermission !DropActionPermission 
RMCreateQueryCollection !CreateCollection 
RMRenameQueryCollection !RenameCollection 
RMDropQueryCollection !DropCollection 
RMAddQueryToCollection !AddQueryToCollection 
RMDropQueryFromCollection !DropQueryFromCollection 
RMAddCollectionToAllowlist !AllowlistEntry 
RMDropCollectionFromAllowlist !DropCollectionFromAllowlist 
RMUpdateScopeOfCollectionInAllowlist !UpdateScopeOfCollectionInAllowlist 
RMCreateRestEndpoint !CreateEndpoint 
RMDropRestEndpoint !DropEndpoint 
RMDCAddAgent !DCAddAgent 
RMDCDeleteAgent !DCDeleteAgent 
RMListSourceKinds !ListSourceKinds 
RMSetCustomTypes !CustomTypes 
RMSetApiLimits !ApiLimit 
RMRemoveApiLimits 
RMSetMetricsConfig !MetricsConfig 
RMRemoveMetricsConfig 
RMAddInheritedRole !InheritedRole 
RMDropInheritedRole !DropInheritedRole 
RMReplaceMetadata !ReplaceMetadata 
RMExportMetadata !ExportMetadata 
RMClearMetadata !ClearMetadata 
RMReloadMetadata !ReloadMetadata 
RMGetInconsistentMetadata !GetInconsistentMetadata 
RMDropInconsistentMetadata !DropInconsistentMetadata 
RMSetGraphqlSchemaIntrospectionOptions !SetGraphqlIntrospectionOptions 
RMAddHostToTLSAllowlist !AddHostToTLSAllowlist 
RMDropHostFromTLSAllowlist !DropHostFromTLSAllowlist 
RMSetQueryTagsConfig !SetQueryTagsConfig 
RMDumpInternalState !DumpInternalState 
RMGetCatalogState !GetCatalogState 
RMSetCatalogState !SetCatalogState 
RMTestWebhookTransform !(Unvalidated TestWebhookTransform) 
RMBulk [RQLMetadataRequest] 

Instances

Instances details
Generic RQLMetadataV1 Source # 
Instance details

Defined in Hasura.Server.API.Metadata

Associated Types

type Rep RQLMetadataV1 :: Type -> Type #

FromJSON RQLMetadataV1 Source # 
Instance details

Defined in Hasura.Server.API.Metadata

Methods

parseJSON :: Value -> Parser RQLMetadataV1

parseJSONList :: Value -> Parser [RQLMetadataV1]

type Rep RQLMetadataV1 Source # 
Instance details

Defined in Hasura.Server.API.Metadata

parseQueryType :: MonadFail m => Text -> m (AnyBackend BackendSourceKind, Text) Source #

Parse the Metadata API action type returning a tuple of the BackendSourceKind and the action suffix.

For example: "pg_add_source" parses as (PostgresVanillaValue, "add_source")

data RQLMetadata Source #

Instances

Instances details
FromJSON RQLMetadata Source # 
Instance details

Defined in Hasura.Server.API.Metadata

Methods

parseJSON :: Value -> Parser RQLMetadata

parseJSONList :: Value -> Parser [RQLMetadata]