From ab7f30a4eb47da7d434d5951003a3b76ad7679b3 Mon Sep 17 00:00:00 2001 From: rtso <8248583+rtso@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:17:04 -0500 Subject: [PATCH] update hasura metadata --- hasura-api/metadata-json/unified.json | 42 ++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/hasura-api/metadata-json/unified.json b/hasura-api/metadata-json/unified.json index 40fea42f..1659c6ff 100644 --- a/hasura-api/metadata-json/unified.json +++ b/hasura-api/metadata-json/unified.json @@ -1,5 +1,5 @@ { - "resource_version": 38, + "resource_version": 9999, "metadata": { "version": 3, "sources": [ @@ -2327,6 +2327,9 @@ "columns": [ "block_height", "entry_function_id_str", + "entry_function_contract_address", + "entry_function_module_name", + "entry_function_function_name", "epoch", "expiration_timestamp_secs", "gas_unit_price", @@ -2359,6 +2362,43 @@ } } ], + "query_collections": [ + { + "name": "allowed-queries", + "definition": { + "queries": [ + { + "name": "processor_status_for_probe", + "query": "query MyQuery {\n processor_status {\n last_success_version\n processor\n last_transaction_timestamp\n }\n}" + } + ] + } + } + ], + "allowlist": [ + { + "collection": "allowed-queries", + "scope": { + "global": true + } + } + ], + "rest_endpoints": [ + { + "comment": "Only for use by the Cloud Run probes.", + "definition": { + "query": { + "collection_name": "allowed-queries", + "query_name": "processor_status_for_probe" + } + }, + "methods": [ + "GET" + ], + "name": "processor_status_for_probe", + "url": "processor_status_for_probe" + } + ], "api_limits": { "depth_limit": { "global": 5,