diff --git a/codegen.yml b/codegen.yml index f7283ce..803a3ac 100644 --- a/codegen.yml +++ b/codegen.yml @@ -1,5 +1,5 @@ overwrite: true -schema: "https://api.thegraph.com/subgraphs/name/kleros/kleros-display-gnosis" +schema: "https://api.studio.thegraph.com/query/61738/kleros-display-mainnet/version/latest" documents: "schemas/**/*.graphql" generates: ./src/generated/graphql.ts: diff --git a/graphql.schema.json b/graphql.schema.json index 9332b41..0c9ca92 100644 --- a/graphql.schema.json +++ b/graphql.schema.json @@ -8,6 +8,29 @@ "name": "Subscription" }, "types": [ + { + "kind": "ENUM", + "name": "Aggregation_interval", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "day", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hour", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "ArbitrableHistory", @@ -1232,18 +1255,6 @@ "name": "Court", "description": null, "fields": [ - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "hiddenVotes", "description": null, @@ -1273,12 +1284,12 @@ "deprecationReason": null }, { - "name": "name", + "name": "metadata", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "CourtMetadata", "ofType": null }, "isDeprecated": false, @@ -1297,7 +1308,7 @@ "deprecationReason": null }, { - "name": "requiredSkills", + "name": "summary", "description": null, "args": [], "type": { @@ -1309,7 +1320,38 @@ "deprecationReason": null }, { - "name": "summary", + "name": "timesPerPeriod", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "BigInt", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CourtMetadata", + "description": null, + "fields": [ + { + "name": "description", "description": null, "args": [], "type": { @@ -1321,24 +1363,44 @@ "deprecationReason": null }, { - "name": "timesPerPeriod", + "name": "id", "description": null, "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiredSkills", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -1348,7 +1410,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "Court_filter", + "name": "CourtMetadata_filter", "description": null, "fields": null, "inputFields": [ @@ -1372,7 +1434,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "Court_filter", + "name": "CourtMetadata_filter", "ofType": null } }, @@ -1637,11 +1699,11 @@ "deprecationReason": null }, { - "name": "hiddenVotes", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -1649,7 +1711,31 @@ "deprecationReason": null }, { - "name": "hiddenVotes_in", + "name": "id_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id_in", "description": null, "type": { "kind": "LIST", @@ -1659,7 +1745,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } } @@ -1669,11 +1755,11 @@ "deprecationReason": null }, { - "name": "hiddenVotes_not", + "name": "id_lt", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -1681,7 +1767,31 @@ "deprecationReason": null }, { - "name": "hiddenVotes_not_in", + "name": "id_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id_not", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id_not_in", "description": null, "type": { "kind": "LIST", @@ -1691,7 +1801,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } } @@ -1701,7 +1811,7 @@ "deprecationReason": null }, { - "name": "id", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -1713,7 +1823,7 @@ "deprecationReason": null }, { - "name": "id_contains", + "name": "name_contains", "description": null, "type": { "kind": "SCALAR", @@ -1725,7 +1835,7 @@ "deprecationReason": null }, { - "name": "id_contains_nocase", + "name": "name_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1737,7 +1847,7 @@ "deprecationReason": null }, { - "name": "id_ends_with", + "name": "name_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -1749,7 +1859,7 @@ "deprecationReason": null }, { - "name": "id_ends_with_nocase", + "name": "name_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1761,7 +1871,7 @@ "deprecationReason": null }, { - "name": "id_gt", + "name": "name_gt", "description": null, "type": { "kind": "SCALAR", @@ -1773,7 +1883,7 @@ "deprecationReason": null }, { - "name": "id_gte", + "name": "name_gte", "description": null, "type": { "kind": "SCALAR", @@ -1785,7 +1895,7 @@ "deprecationReason": null }, { - "name": "id_in", + "name": "name_in", "description": null, "type": { "kind": "LIST", @@ -1805,7 +1915,7 @@ "deprecationReason": null }, { - "name": "id_lt", + "name": "name_lt", "description": null, "type": { "kind": "SCALAR", @@ -1817,7 +1927,7 @@ "deprecationReason": null }, { - "name": "id_lte", + "name": "name_lte", "description": null, "type": { "kind": "SCALAR", @@ -1829,7 +1939,7 @@ "deprecationReason": null }, { - "name": "id_not", + "name": "name_not", "description": null, "type": { "kind": "SCALAR", @@ -1841,7 +1951,7 @@ "deprecationReason": null }, { - "name": "id_not_contains", + "name": "name_not_contains", "description": null, "type": { "kind": "SCALAR", @@ -1853,7 +1963,7 @@ "deprecationReason": null }, { - "name": "id_not_contains_nocase", + "name": "name_not_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1865,7 +1975,7 @@ "deprecationReason": null }, { - "name": "id_not_ends_with", + "name": "name_not_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -1877,7 +1987,7 @@ "deprecationReason": null }, { - "name": "id_not_ends_with_nocase", + "name": "name_not_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1889,7 +1999,7 @@ "deprecationReason": null }, { - "name": "id_not_in", + "name": "name_not_in", "description": null, "type": { "kind": "LIST", @@ -1909,7 +2019,7 @@ "deprecationReason": null }, { - "name": "id_not_starts_with", + "name": "name_not_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -1921,7 +2031,7 @@ "deprecationReason": null }, { - "name": "id_not_starts_with_nocase", + "name": "name_not_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1933,7 +2043,7 @@ "deprecationReason": null }, { - "name": "id_starts_with", + "name": "name_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -1945,7 +2055,7 @@ "deprecationReason": null }, { - "name": "id_starts_with_nocase", + "name": "name_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1957,7 +2067,23 @@ "deprecationReason": null }, { - "name": "name", + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CourtMetadata_filter", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiredSkills", "description": null, "type": { "kind": "SCALAR", @@ -1969,7 +2095,7 @@ "deprecationReason": null }, { - "name": "name_contains", + "name": "requiredSkills_contains", "description": null, "type": { "kind": "SCALAR", @@ -1981,7 +2107,7 @@ "deprecationReason": null }, { - "name": "name_contains_nocase", + "name": "requiredSkills_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -1993,7 +2119,7 @@ "deprecationReason": null }, { - "name": "name_ends_with", + "name": "requiredSkills_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2005,7 +2131,7 @@ "deprecationReason": null }, { - "name": "name_ends_with_nocase", + "name": "requiredSkills_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2017,7 +2143,7 @@ "deprecationReason": null }, { - "name": "name_gt", + "name": "requiredSkills_gt", "description": null, "type": { "kind": "SCALAR", @@ -2029,7 +2155,7 @@ "deprecationReason": null }, { - "name": "name_gte", + "name": "requiredSkills_gte", "description": null, "type": { "kind": "SCALAR", @@ -2041,7 +2167,7 @@ "deprecationReason": null }, { - "name": "name_in", + "name": "requiredSkills_in", "description": null, "type": { "kind": "LIST", @@ -2061,7 +2187,7 @@ "deprecationReason": null }, { - "name": "name_lt", + "name": "requiredSkills_lt", "description": null, "type": { "kind": "SCALAR", @@ -2073,7 +2199,7 @@ "deprecationReason": null }, { - "name": "name_lte", + "name": "requiredSkills_lte", "description": null, "type": { "kind": "SCALAR", @@ -2085,7 +2211,7 @@ "deprecationReason": null }, { - "name": "name_not", + "name": "requiredSkills_not", "description": null, "type": { "kind": "SCALAR", @@ -2097,7 +2223,7 @@ "deprecationReason": null }, { - "name": "name_not_contains", + "name": "requiredSkills_not_contains", "description": null, "type": { "kind": "SCALAR", @@ -2109,7 +2235,7 @@ "deprecationReason": null }, { - "name": "name_not_contains_nocase", + "name": "requiredSkills_not_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2121,7 +2247,7 @@ "deprecationReason": null }, { - "name": "name_not_ends_with", + "name": "requiredSkills_not_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2133,7 +2259,7 @@ "deprecationReason": null }, { - "name": "name_not_ends_with_nocase", + "name": "requiredSkills_not_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2145,7 +2271,7 @@ "deprecationReason": null }, { - "name": "name_not_in", + "name": "requiredSkills_not_in", "description": null, "type": { "kind": "LIST", @@ -2165,7 +2291,7 @@ "deprecationReason": null }, { - "name": "name_not_starts_with", + "name": "requiredSkills_not_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2177,7 +2303,7 @@ "deprecationReason": null }, { - "name": "name_not_starts_with_nocase", + "name": "requiredSkills_not_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2189,7 +2315,7 @@ "deprecationReason": null }, { - "name": "name_starts_with", + "name": "requiredSkills_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2201,7 +2327,7 @@ "deprecationReason": null }, { - "name": "name_starts_with_nocase", + "name": "requiredSkills_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2211,9 +2337,67 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "CourtMetadata_orderBy", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "description", + "description": null, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "or", + "name": "id", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "requiredSkills", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "Court_filter", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_change_block", + "description": "Filter for the block changed event.", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockChangedFilter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "and", "description": null, "type": { "kind": "LIST", @@ -2229,7 +2413,71 @@ "deprecationReason": null }, { - "name": "policy", + "name": "hiddenVotes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hiddenVotes_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hiddenVotes_not", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hiddenVotes_not_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -2241,7 +2489,7 @@ "deprecationReason": null }, { - "name": "policy_contains", + "name": "id_contains", "description": null, "type": { "kind": "SCALAR", @@ -2253,7 +2501,7 @@ "deprecationReason": null }, { - "name": "policy_contains_nocase", + "name": "id_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2265,7 +2513,7 @@ "deprecationReason": null }, { - "name": "policy_ends_with", + "name": "id_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2277,7 +2525,7 @@ "deprecationReason": null }, { - "name": "policy_ends_with_nocase", + "name": "id_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2289,7 +2537,7 @@ "deprecationReason": null }, { - "name": "policy_gt", + "name": "id_gt", "description": null, "type": { "kind": "SCALAR", @@ -2301,7 +2549,7 @@ "deprecationReason": null }, { - "name": "policy_gte", + "name": "id_gte", "description": null, "type": { "kind": "SCALAR", @@ -2313,7 +2561,7 @@ "deprecationReason": null }, { - "name": "policy_in", + "name": "id_in", "description": null, "type": { "kind": "LIST", @@ -2333,7 +2581,7 @@ "deprecationReason": null }, { - "name": "policy_lt", + "name": "id_lt", "description": null, "type": { "kind": "SCALAR", @@ -2345,7 +2593,7 @@ "deprecationReason": null }, { - "name": "policy_lte", + "name": "id_lte", "description": null, "type": { "kind": "SCALAR", @@ -2357,7 +2605,7 @@ "deprecationReason": null }, { - "name": "policy_not", + "name": "id_not", "description": null, "type": { "kind": "SCALAR", @@ -2369,7 +2617,7 @@ "deprecationReason": null }, { - "name": "policy_not_contains", + "name": "id_not_contains", "description": null, "type": { "kind": "SCALAR", @@ -2381,7 +2629,7 @@ "deprecationReason": null }, { - "name": "policy_not_contains_nocase", + "name": "id_not_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2393,7 +2641,7 @@ "deprecationReason": null }, { - "name": "policy_not_ends_with", + "name": "id_not_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2405,7 +2653,7 @@ "deprecationReason": null }, { - "name": "policy_not_ends_with_nocase", + "name": "id_not_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2417,7 +2665,7 @@ "deprecationReason": null }, { - "name": "policy_not_in", + "name": "id_not_in", "description": null, "type": { "kind": "LIST", @@ -2437,7 +2685,7 @@ "deprecationReason": null }, { - "name": "policy_not_starts_with", + "name": "id_not_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2449,7 +2697,7 @@ "deprecationReason": null }, { - "name": "policy_not_starts_with_nocase", + "name": "id_not_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2461,7 +2709,7 @@ "deprecationReason": null }, { - "name": "policy_starts_with", + "name": "id_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2473,7 +2721,7 @@ "deprecationReason": null }, { - "name": "policy_starts_with_nocase", + "name": "id_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2485,7 +2733,7 @@ "deprecationReason": null }, { - "name": "requiredSkills", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", @@ -2497,7 +2745,19 @@ "deprecationReason": null }, { - "name": "requiredSkills_contains", + "name": "metadata_", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "CourtMetadata_filter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "metadata_contains", "description": null, "type": { "kind": "SCALAR", @@ -2509,7 +2769,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_contains_nocase", + "name": "metadata_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2521,7 +2781,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_ends_with", + "name": "metadata_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2533,7 +2793,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_ends_with_nocase", + "name": "metadata_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2545,7 +2805,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_gt", + "name": "metadata_gt", "description": null, "type": { "kind": "SCALAR", @@ -2557,7 +2817,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_gte", + "name": "metadata_gte", "description": null, "type": { "kind": "SCALAR", @@ -2569,7 +2829,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_in", + "name": "metadata_in", "description": null, "type": { "kind": "LIST", @@ -2589,7 +2849,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_lt", + "name": "metadata_lt", "description": null, "type": { "kind": "SCALAR", @@ -2601,7 +2861,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_lte", + "name": "metadata_lte", "description": null, "type": { "kind": "SCALAR", @@ -2613,7 +2873,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not", + "name": "metadata_not", "description": null, "type": { "kind": "SCALAR", @@ -2625,7 +2885,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_contains", + "name": "metadata_not_contains", "description": null, "type": { "kind": "SCALAR", @@ -2637,7 +2897,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_contains_nocase", + "name": "metadata_not_contains_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2649,7 +2909,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_ends_with", + "name": "metadata_not_ends_with", "description": null, "type": { "kind": "SCALAR", @@ -2661,7 +2921,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_ends_with_nocase", + "name": "metadata_not_ends_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2673,7 +2933,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_in", + "name": "metadata_not_in", "description": null, "type": { "kind": "LIST", @@ -2693,7 +2953,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_starts_with", + "name": "metadata_not_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2705,7 +2965,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_not_starts_with_nocase", + "name": "metadata_not_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -2717,7 +2977,7 @@ "deprecationReason": null }, { - "name": "requiredSkills_starts_with", + "name": "metadata_starts_with", "description": null, "type": { "kind": "SCALAR", @@ -2729,7 +2989,279 @@ "deprecationReason": null }, { - "name": "requiredSkills_starts_with_nocase", + "name": "metadata_starts_with_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Court_filter", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_contains_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_ends_with", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_ends_with_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_contains_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_ends_with", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_ends_with_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_starts_with", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_not_starts_with_nocase", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_starts_with", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy_starts_with_nocase", "description": null, "type": { "kind": "SCALAR", @@ -3130,37 +3662,49 @@ "interfaces": null, "enumValues": [ { - "name": "description", + "name": "hiddenVotes", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "hiddenVotes", + "name": "metadata", "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "metadata__description", "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "metadata__id", "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "policy", + "name": "metadata__name", "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "requiredSkills", + "name": "metadata__requiredSkills", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "policy", "description": null, "isDeprecated": false, "deprecationReason": null @@ -5977,12 +6521,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "court__description", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "court__hiddenVotes", "description": null, @@ -5995,24 +6533,12 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "court__name", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "court__policy", "description": null, "isDeprecated": false, "deprecationReason": null }, - { - "name": "court__requiredSkills", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "court__summary", "description": null, @@ -9035,7 +9561,234 @@ "description": null, "type": { "kind": "ENUM", - "name": "ArbitrableHistory_orderBy", + "name": "ArbitrableHistory_orderBy", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderDirection", + "description": null, + "type": { + "kind": "ENUM", + "name": "OrderDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "skip", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "0", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subgraphError", + "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "_SubgraphErrorPolicy_", + "ofType": null + } + }, + "defaultValue": "deny", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "ArbitrableHistory_filter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ArbitrableHistory", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "arbitrableHistory", + "description": null, + "args": [ + { + "name": "block", + "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "type": { + "kind": "INPUT_OBJECT", + "name": "Block_height", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subgraphError", + "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "_SubgraphErrorPolicy_", + "ofType": null + } + }, + "defaultValue": "deny", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ArbitrableHistory", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "counter", + "description": null, + "args": [ + { + "name": "block", + "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "type": { + "kind": "INPUT_OBJECT", + "name": "Block_height", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subgraphError", + "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "_SubgraphErrorPolicy_", + "ofType": null + } + }, + "defaultValue": "deny", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Counter", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "counters", + "description": null, + "args": [ + { + "name": "block", + "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "type": { + "kind": "INPUT_OBJECT", + "name": "Block_height", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "100", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderBy", + "description": null, + "type": { + "kind": "ENUM", + "name": "Counter_orderBy", "ofType": null }, "defaultValue": null, @@ -9087,7 +9840,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "ArbitrableHistory_filter", + "name": "Counter_filter", "ofType": null }, "defaultValue": null, @@ -9106,7 +9859,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ArbitrableHistory", + "name": "Counter", "ofType": null } } @@ -9116,7 +9869,7 @@ "deprecationReason": null }, { - "name": "arbitrableHistory", + "name": "court", "description": null, "args": [ { @@ -9166,14 +9919,14 @@ ], "type": { "kind": "OBJECT", - "name": "ArbitrableHistory", + "name": "Court", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "counter", + "name": "courtMetadata", "description": null, "args": [ { @@ -9223,14 +9976,14 @@ ], "type": { "kind": "OBJECT", - "name": "Counter", + "name": "CourtMetadata", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "counters", + "name": "courtMetadata_collection", "description": null, "args": [ { @@ -9262,7 +10015,7 @@ "description": null, "type": { "kind": "ENUM", - "name": "Counter_orderBy", + "name": "CourtMetadata_orderBy", "ofType": null }, "defaultValue": null, @@ -9314,7 +10067,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "Counter_filter", + "name": "CourtMetadata_filter", "ofType": null }, "defaultValue": null, @@ -9333,7 +10086,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Counter", + "name": "CourtMetadata", "ofType": null } } @@ -9342,63 +10095,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "court", - "description": null, - "args": [ - { - "name": "block", - "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", - "type": { - "kind": "INPUT_OBJECT", - "name": "Block_height", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subgraphError", - "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "_SubgraphErrorPolicy_", - "ofType": null - } - }, - "defaultValue": "deny", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Court", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "courts", "description": null, @@ -12294,6 +12990,176 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "courtMetadata", + "description": null, + "args": [ + { + "name": "block", + "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "type": { + "kind": "INPUT_OBJECT", + "name": "Block_height", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subgraphError", + "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "_SubgraphErrorPolicy_", + "ofType": null + } + }, + "defaultValue": "deny", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CourtMetadata", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "courtMetadata_collection", + "description": null, + "args": [ + { + "name": "block", + "description": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "type": { + "kind": "INPUT_OBJECT", + "name": "Block_height", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "100", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderBy", + "description": null, + "type": { + "kind": "ENUM", + "name": "CourtMetadata_orderBy", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orderDirection", + "description": null, + "type": { + "kind": "ENUM", + "name": "OrderDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "skip", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "0", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subgraphError", + "description": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "_SubgraphErrorPolicy_", + "ofType": null + } + }, + "defaultValue": "deny", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "CourtMetadata_filter", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CourtMetadata", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "courts", "description": null, @@ -13773,6 +14639,16 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "Timestamp", + "description": "A string representation of microseconds UNIX timestamp (16 digits)\n", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "TokenAndETHShift", @@ -17033,6 +17909,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "parentHash", + "description": "The hash of the parent block", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Bytes", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "timestamp", "description": "Integer representation of the timestamp stored in blocks for the chain", diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts index dd39dce..75f2b8f 100644 --- a/src/generated/graphql.ts +++ b/src/generated/graphql.ts @@ -19,8 +19,14 @@ export type Scalars = { BigInt: { input: any; output: any; } Bytes: { input: any; output: any; } Int8: { input: any; output: any; } + Timestamp: { input: any; output: any; } }; +export enum Aggregation_Interval { + Day = 'day', + Hour = 'hour' +} + export type ArbitrableHistory = { __typename?: 'ArbitrableHistory'; disputes: Array; @@ -139,20 +145,26 @@ export enum Counter_OrderBy { export type Court = { __typename?: 'Court'; - description?: Maybe; hiddenVotes?: Maybe; id: Scalars['String']['output']; - name?: Maybe; + metadata?: Maybe; policy?: Maybe; - requiredSkills?: Maybe; summary?: Maybe; timesPerPeriod?: Maybe>; }; -export type Court_Filter = { +export type CourtMetadata = { + __typename?: 'CourtMetadata'; + description?: Maybe; + id: Scalars['ID']['output']; + name?: Maybe; + requiredSkills?: Maybe; +}; + +export type CourtMetadata_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; + and?: InputMaybe>>; description?: InputMaybe; description_contains?: InputMaybe; description_contains_nocase?: InputMaybe; @@ -173,6 +185,68 @@ export type Court_Filter = { description_not_starts_with_nocase?: InputMaybe; description_starts_with?: InputMaybe; description_starts_with_nocase?: InputMaybe; + id?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not?: InputMaybe; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_gt?: InputMaybe; + name_gte?: InputMaybe; + name_in?: InputMaybe>; + name_lt?: InputMaybe; + name_lte?: InputMaybe; + name_not?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + name_not_in?: InputMaybe>; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; + requiredSkills?: InputMaybe; + requiredSkills_contains?: InputMaybe; + requiredSkills_contains_nocase?: InputMaybe; + requiredSkills_ends_with?: InputMaybe; + requiredSkills_ends_with_nocase?: InputMaybe; + requiredSkills_gt?: InputMaybe; + requiredSkills_gte?: InputMaybe; + requiredSkills_in?: InputMaybe>; + requiredSkills_lt?: InputMaybe; + requiredSkills_lte?: InputMaybe; + requiredSkills_not?: InputMaybe; + requiredSkills_not_contains?: InputMaybe; + requiredSkills_not_contains_nocase?: InputMaybe; + requiredSkills_not_ends_with?: InputMaybe; + requiredSkills_not_ends_with_nocase?: InputMaybe; + requiredSkills_not_in?: InputMaybe>; + requiredSkills_not_starts_with?: InputMaybe; + requiredSkills_not_starts_with_nocase?: InputMaybe; + requiredSkills_starts_with?: InputMaybe; + requiredSkills_starts_with_nocase?: InputMaybe; +}; + +export enum CourtMetadata_OrderBy { + Description = 'description', + Id = 'id', + Name = 'name', + RequiredSkills = 'requiredSkills' +} + +export type Court_Filter = { + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; hiddenVotes?: InputMaybe; hiddenVotes_in?: InputMaybe>; hiddenVotes_not?: InputMaybe; @@ -197,26 +271,27 @@ export type Court_Filter = { id_not_starts_with_nocase?: InputMaybe; id_starts_with?: InputMaybe; id_starts_with_nocase?: InputMaybe; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; + metadata?: InputMaybe; + metadata_?: InputMaybe; + metadata_contains?: InputMaybe; + metadata_contains_nocase?: InputMaybe; + metadata_ends_with?: InputMaybe; + metadata_ends_with_nocase?: InputMaybe; + metadata_gt?: InputMaybe; + metadata_gte?: InputMaybe; + metadata_in?: InputMaybe>; + metadata_lt?: InputMaybe; + metadata_lte?: InputMaybe; + metadata_not?: InputMaybe; + metadata_not_contains?: InputMaybe; + metadata_not_contains_nocase?: InputMaybe; + metadata_not_ends_with?: InputMaybe; + metadata_not_ends_with_nocase?: InputMaybe; + metadata_not_in?: InputMaybe>; + metadata_not_starts_with?: InputMaybe; + metadata_not_starts_with_nocase?: InputMaybe; + metadata_starts_with?: InputMaybe; + metadata_starts_with_nocase?: InputMaybe; or?: InputMaybe>>; policy?: InputMaybe; policy_contains?: InputMaybe; @@ -238,26 +313,6 @@ export type Court_Filter = { policy_not_starts_with_nocase?: InputMaybe; policy_starts_with?: InputMaybe; policy_starts_with_nocase?: InputMaybe; - requiredSkills?: InputMaybe; - requiredSkills_contains?: InputMaybe; - requiredSkills_contains_nocase?: InputMaybe; - requiredSkills_ends_with?: InputMaybe; - requiredSkills_ends_with_nocase?: InputMaybe; - requiredSkills_gt?: InputMaybe; - requiredSkills_gte?: InputMaybe; - requiredSkills_in?: InputMaybe>; - requiredSkills_lt?: InputMaybe; - requiredSkills_lte?: InputMaybe; - requiredSkills_not?: InputMaybe; - requiredSkills_not_contains?: InputMaybe; - requiredSkills_not_contains_nocase?: InputMaybe; - requiredSkills_not_ends_with?: InputMaybe; - requiredSkills_not_ends_with_nocase?: InputMaybe; - requiredSkills_not_in?: InputMaybe>; - requiredSkills_not_starts_with?: InputMaybe; - requiredSkills_not_starts_with_nocase?: InputMaybe; - requiredSkills_starts_with?: InputMaybe; - requiredSkills_starts_with_nocase?: InputMaybe; summary?: InputMaybe; summary_contains?: InputMaybe; summary_contains_nocase?: InputMaybe; @@ -287,12 +342,14 @@ export type Court_Filter = { }; export enum Court_OrderBy { - Description = 'description', HiddenVotes = 'hiddenVotes', Id = 'id', - Name = 'name', + Metadata = 'metadata', + MetadataDescription = 'metadata__description', + MetadataId = 'metadata__id', + MetadataName = 'metadata__name', + MetadataRequiredSkills = 'metadata__requiredSkills', Policy = 'policy', - RequiredSkills = 'requiredSkills', Summary = 'summary', TimesPerPeriod = 'timesPerPeriod' } @@ -513,12 +570,9 @@ export enum Dispute_OrderBy { ArbitrableHistoryMetaEvidence = 'arbitrableHistory__metaEvidence', Arbitrated = 'arbitrated', Court = 'court', - CourtDescription = 'court__description', CourtHiddenVotes = 'court__hiddenVotes', CourtId = 'court__id', - CourtName = 'court__name', CourtPolicy = 'court__policy', - CourtRequiredSkills = 'court__requiredSkills', CourtSummary = 'court__summary', CreatedAtBlock = 'createdAtBlock', CurrentRound = 'currentRound', @@ -817,6 +871,8 @@ export type Query = { counter?: Maybe; counters: Array; court?: Maybe; + courtMetadata?: Maybe; + courtMetadata_collection: Array; courts: Array; dispute?: Maybe; disputes: Array; @@ -885,6 +941,24 @@ export type QueryCourtArgs = { }; +export type QueryCourtMetadataArgs = { + block?: InputMaybe; + id: Scalars['ID']['input']; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QueryCourtMetadata_CollectionArgs = { + block?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + skip?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; + where?: InputMaybe; +}; + + export type QueryCourtsArgs = { block?: InputMaybe; first?: InputMaybe; @@ -1135,6 +1209,8 @@ export type Subscription = { counter?: Maybe; counters: Array; court?: Maybe; + courtMetadata?: Maybe; + courtMetadata_collection: Array; courts: Array; dispute?: Maybe; disputes: Array; @@ -1203,6 +1279,24 @@ export type SubscriptionCourtArgs = { }; +export type SubscriptionCourtMetadataArgs = { + block?: InputMaybe; + id: Scalars['ID']['input']; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionCourtMetadata_CollectionArgs = { + block?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + skip?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; + where?: InputMaybe; +}; + + export type SubscriptionCourtsArgs = { block?: InputMaybe; first?: InputMaybe; @@ -1656,6 +1750,8 @@ export type _Block_ = { hash?: Maybe; /** The block number */ number: Scalars['Int']['output']; + /** The hash of the parent block */ + parentHash?: Maybe; /** Integer representation of the timestamp stored in blocks for the chain */ timestamp?: Maybe; };