@hasura/metadata-api
Version:
Hasura GraphQL Engine Metadata API types
60 lines (59 loc) • 2.11 kB
TypeScript
export type MetadataV2 = {
/**
* action definitions which extend Hasura's schema with custom business logic using custom queries and mutations
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
actions?: Array<any>;
/**
* safe GraphQL operations - when allow lists are enabled only these operations are allowed
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
allowlist?: Array<any>;
/**
* reliably trigger HTTP endpoints to run custom business logic periodically based on a cron schedule
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
cron_triggers?: Array<any>;
/**
* custom type definitions
*
*
* object with unspecified properties - this is a placeholder that will eventually be replaced with a more detailed description
*/
custom_types?: any;
/**
* user-defined SQL functions
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
functions?: Array<any>;
/**
* group queries using query collections
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
query_collections?: Array<any>;
/**
* merge remote GraphQL schemas and provide a unified GraphQL API
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
remote_schemas?: Array<any>;
/**
* configured database tables
*
*
* array of values of unspecified type - this is a placeholder that will eventually be replaced with a more detailed description
*/
tables: Array<any>;
version: 2;
};