diff --git a/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql b/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql deleted file mode 100644 index eb5c73b6e..000000000 --- a/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql +++ /dev/null @@ -1,6 +0,0 @@ -query GetBitmapsExact($block_date: date, $receiver_ids: [String!], $limit: Int, $offset: Int) { - darunrs_near_bitmap_v5_actions_index(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_in: $receiver_ids}}}) { - bitmap - first_block_height - } -} diff --git a/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql b/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql deleted file mode 100644 index d742d0556..000000000 --- a/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql +++ /dev/null @@ -1,6 +0,0 @@ -query GetBitmapsWildcard($block_date: date, $receiver_ids: String, $limit: Int, $offset: Int) { - darunrs_near_bitmap_v5_actions_index(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_regex: $receiver_ids}}}) { - bitmap - first_block_height - } -} diff --git a/block-streamer/graphql/darunrs_near/schema.graphql b/block-streamer/graphql/darunrs_near/schema.graphql deleted file mode 100644 index 4d27d2019..000000000 --- a/block-streamer/graphql/darunrs_near/schema.graphql +++ /dev/null @@ -1,6178 +0,0 @@ -schema { - query: query_root - mutation: mutation_root - subscription: subscription_root -} - -"""whether this query should be cached (Hasura Cloud only)""" -directive @cached( - """measured in seconds""" - ttl: Int! = 60 - - """refresh the cache entry""" - refresh: Boolean! = false -) on QUERY - -""" -Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. -""" -input Int_comparison_exp { - _eq: Int - _gt: Int - _gte: Int - _in: [Int!] - _is_null: Boolean - _lt: Int - _lte: Int - _neq: Int - _nin: [Int!] -} - -""" -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. -""" -input String_comparison_exp { - _eq: String - _gt: String - _gte: String - - """does the column match the given case-insensitive pattern""" - _ilike: String - _in: [String!] - - """ - does the column match the given POSIX regular expression, case insensitive - """ - _iregex: String - _is_null: Boolean - - """does the column match the given pattern""" - _like: String - _lt: String - _lte: String - _neq: String - - """does the column NOT match the given case-insensitive pattern""" - _nilike: String - _nin: [String!] - - """ - does the column NOT match the given POSIX regular expression, case insensitive - """ - _niregex: String - - """does the column NOT match the given pattern""" - _nlike: String - - """ - does the column NOT match the given POSIX regular expression, case sensitive - """ - _nregex: String - - """does the column NOT match the given SQL regular expression""" - _nsimilar: String - - """ - does the column match the given POSIX regular expression, case sensitive - """ - _regex: String - - """does the column match the given SQL regular expression""" - _similar: String -} - -scalar bigint - -""" -Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. -""" -input bigint_comparison_exp { - _eq: bigint - _gt: bigint - _gte: bigint - _in: [bigint!] - _is_null: Boolean - _lt: bigint - _lte: bigint - _neq: bigint - _nin: [bigint!] -} - -"""ordering argument of a cursor""" -enum cursor_ordering { - """ascending ordering of the cursor""" - ASC - - """descending ordering of the cursor""" - DESC -} - -""" -columns and relationships of "darunrs_near_benchmark_indexer.indexer_storage" -""" -type darunrs_near_benchmark_indexer_indexer_storage { - function_name: String! - key_name: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_benchmark_indexer.indexer_storage" -""" -type darunrs_near_benchmark_indexer_indexer_storage_aggregate { - aggregate: darunrs_near_benchmark_indexer_indexer_storage_aggregate_fields - nodes: [darunrs_near_benchmark_indexer_indexer_storage!]! -} - -""" -aggregate fields of "darunrs_near_benchmark_indexer.indexer_storage" -""" -type darunrs_near_benchmark_indexer_indexer_storage_aggregate_fields { - count(columns: [darunrs_near_benchmark_indexer_indexer_storage_select_column!], distinct: Boolean): Int! - max: darunrs_near_benchmark_indexer_indexer_storage_max_fields - min: darunrs_near_benchmark_indexer_indexer_storage_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.indexer_storage". All fields are combined with a logical 'AND'. -""" -input darunrs_near_benchmark_indexer_indexer_storage_bool_exp { - _and: [darunrs_near_benchmark_indexer_indexer_storage_bool_exp!] - _not: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - _or: [darunrs_near_benchmark_indexer_indexer_storage_bool_exp!] - function_name: String_comparison_exp - key_name: String_comparison_exp - value: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_benchmark_indexer_indexer_storage_max_fields { - function_name: String - key_name: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_benchmark_indexer_indexer_storage_min_fields { - function_name: String - key_name: String - value: String -} - -""" -Ordering options when selecting data from "darunrs_near_benchmark_indexer.indexer_storage". -""" -input darunrs_near_benchmark_indexer_indexer_storage_order_by { - function_name: order_by - key_name: order_by - value: order_by -} - -""" -select columns of table "darunrs_near_benchmark_indexer.indexer_storage" -""" -enum darunrs_near_benchmark_indexer_indexer_storage_select_column { - """column name""" - function_name - - """column name""" - key_name - - """column name""" - value -} - -""" -Streaming cursor of the table "darunrs_near_benchmark_indexer_indexer_storage" -""" -input darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_value_input { - function_name: String - key_name: String - value: String -} - -""" -columns and relationships of "darunrs_near_benchmark_indexer.sys_logs" -""" -type darunrs_near_benchmark_indexer_sys_logs { - block_height: numeric - date: date! - id: bigint! - level: String! - message: String! - timestamp: timestamp! - type: String! -} - -""" -aggregated selection of "darunrs_near_benchmark_indexer.sys_logs" -""" -type darunrs_near_benchmark_indexer_sys_logs_aggregate { - aggregate: darunrs_near_benchmark_indexer_sys_logs_aggregate_fields - nodes: [darunrs_near_benchmark_indexer_sys_logs!]! -} - -""" -aggregate fields of "darunrs_near_benchmark_indexer.sys_logs" -""" -type darunrs_near_benchmark_indexer_sys_logs_aggregate_fields { - avg: darunrs_near_benchmark_indexer_sys_logs_avg_fields - count(columns: [darunrs_near_benchmark_indexer_sys_logs_select_column!], distinct: Boolean): Int! - max: darunrs_near_benchmark_indexer_sys_logs_max_fields - min: darunrs_near_benchmark_indexer_sys_logs_min_fields - stddev: darunrs_near_benchmark_indexer_sys_logs_stddev_fields - stddev_pop: darunrs_near_benchmark_indexer_sys_logs_stddev_pop_fields - stddev_samp: darunrs_near_benchmark_indexer_sys_logs_stddev_samp_fields - sum: darunrs_near_benchmark_indexer_sys_logs_sum_fields - var_pop: darunrs_near_benchmark_indexer_sys_logs_var_pop_fields - var_samp: darunrs_near_benchmark_indexer_sys_logs_var_samp_fields - variance: darunrs_near_benchmark_indexer_sys_logs_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_benchmark_indexer_sys_logs_avg_fields { - block_height: Float - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.sys_logs". All fields are combined with a logical 'AND'. -""" -input darunrs_near_benchmark_indexer_sys_logs_bool_exp { - _and: [darunrs_near_benchmark_indexer_sys_logs_bool_exp!] - _not: darunrs_near_benchmark_indexer_sys_logs_bool_exp - _or: [darunrs_near_benchmark_indexer_sys_logs_bool_exp!] - block_height: numeric_comparison_exp - date: date_comparison_exp - id: bigint_comparison_exp - level: String_comparison_exp - message: String_comparison_exp - timestamp: timestamp_comparison_exp - type: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_benchmark_indexer_sys_logs_max_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate min on columns""" -type darunrs_near_benchmark_indexer_sys_logs_min_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -""" -Ordering options when selecting data from "darunrs_near_benchmark_indexer.sys_logs". -""" -input darunrs_near_benchmark_indexer_sys_logs_order_by { - block_height: order_by - date: order_by - id: order_by - level: order_by - message: order_by - timestamp: order_by - type: order_by -} - -""" -select columns of table "darunrs_near_benchmark_indexer.sys_logs" -""" -enum darunrs_near_benchmark_indexer_sys_logs_select_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -"""aggregate stddev on columns""" -type darunrs_near_benchmark_indexer_sys_logs_stddev_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_benchmark_indexer_sys_logs_stddev_pop_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_benchmark_indexer_sys_logs_stddev_samp_fields { - block_height: Float - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_benchmark_indexer_sys_logs" -""" -input darunrs_near_benchmark_indexer_sys_logs_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_benchmark_indexer_sys_logs_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_benchmark_indexer_sys_logs_stream_cursor_value_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate sum on columns""" -type darunrs_near_benchmark_indexer_sys_logs_sum_fields { - block_height: numeric - id: bigint -} - -"""aggregate var_pop on columns""" -type darunrs_near_benchmark_indexer_sys_logs_var_pop_fields { - block_height: Float - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_benchmark_indexer_sys_logs_var_samp_fields { - block_height: Float - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_benchmark_indexer_sys_logs_variance_fields { - block_height: Float - id: Float -} - -""" -columns and relationships of "darunrs_near_benchmark_indexer.sys_metadata" -""" -type darunrs_near_benchmark_indexer_sys_metadata { - attribute: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_benchmark_indexer.sys_metadata" -""" -type darunrs_near_benchmark_indexer_sys_metadata_aggregate { - aggregate: darunrs_near_benchmark_indexer_sys_metadata_aggregate_fields - nodes: [darunrs_near_benchmark_indexer_sys_metadata!]! -} - -""" -aggregate fields of "darunrs_near_benchmark_indexer.sys_metadata" -""" -type darunrs_near_benchmark_indexer_sys_metadata_aggregate_fields { - count(columns: [darunrs_near_benchmark_indexer_sys_metadata_select_column!], distinct: Boolean): Int! - max: darunrs_near_benchmark_indexer_sys_metadata_max_fields - min: darunrs_near_benchmark_indexer_sys_metadata_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.sys_metadata". All fields are combined with a logical 'AND'. -""" -input darunrs_near_benchmark_indexer_sys_metadata_bool_exp { - _and: [darunrs_near_benchmark_indexer_sys_metadata_bool_exp!] - _not: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - _or: [darunrs_near_benchmark_indexer_sys_metadata_bool_exp!] - attribute: String_comparison_exp - value: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_benchmark_indexer_sys_metadata_max_fields { - attribute: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_benchmark_indexer_sys_metadata_min_fields { - attribute: String - value: String -} - -""" -Ordering options when selecting data from "darunrs_near_benchmark_indexer.sys_metadata". -""" -input darunrs_near_benchmark_indexer_sys_metadata_order_by { - attribute: order_by - value: order_by -} - -""" -select columns of table "darunrs_near_benchmark_indexer.sys_metadata" -""" -enum darunrs_near_benchmark_indexer_sys_metadata_select_column { - """column name""" - attribute - - """column name""" - value -} - -""" -Streaming cursor of the table "darunrs_near_benchmark_indexer_sys_metadata" -""" -input darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_value_input { - attribute: String - value: String -} - -""" -columns and relationships of "darunrs_near_bitmap_v3.actions_index" -""" -type darunrs_near_bitmap_v3_actions_index { - bitmap: String! - block_date: String! - first_block_height: numeric! - last_elias_gamma_start_bit: numeric! - max_index: numeric! - receiver_id: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v3.actions_index" -""" -type darunrs_near_bitmap_v3_actions_index_aggregate { - aggregate: darunrs_near_bitmap_v3_actions_index_aggregate_fields - nodes: [darunrs_near_bitmap_v3_actions_index!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v3.actions_index" -""" -type darunrs_near_bitmap_v3_actions_index_aggregate_fields { - avg: darunrs_near_bitmap_v3_actions_index_avg_fields - count(columns: [darunrs_near_bitmap_v3_actions_index_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v3_actions_index_max_fields - min: darunrs_near_bitmap_v3_actions_index_min_fields - stddev: darunrs_near_bitmap_v3_actions_index_stddev_fields - stddev_pop: darunrs_near_bitmap_v3_actions_index_stddev_pop_fields - stddev_samp: darunrs_near_bitmap_v3_actions_index_stddev_samp_fields - sum: darunrs_near_bitmap_v3_actions_index_sum_fields - var_pop: darunrs_near_bitmap_v3_actions_index_var_pop_fields - var_samp: darunrs_near_bitmap_v3_actions_index_var_samp_fields - variance: darunrs_near_bitmap_v3_actions_index_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_bitmap_v3_actions_index_avg_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.actions_index". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v3_actions_index_bool_exp { - _and: [darunrs_near_bitmap_v3_actions_index_bool_exp!] - _not: darunrs_near_bitmap_v3_actions_index_bool_exp - _or: [darunrs_near_bitmap_v3_actions_index_bool_exp!] - bitmap: String_comparison_exp - block_date: String_comparison_exp - first_block_height: numeric_comparison_exp - last_elias_gamma_start_bit: numeric_comparison_exp - max_index: numeric_comparison_exp - receiver_id: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_bitmap_v3.actions_index" -""" -enum darunrs_near_bitmap_v3_actions_index_constraint { - """ - unique or primary key constraint on columns "receiver_id", "block_date" - """ - actions_index_pkey -} - -""" -input type for incrementing numeric columns in table "darunrs_near_bitmap_v3.actions_index" -""" -input darunrs_near_bitmap_v3_actions_index_inc_input { - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric -} - -""" -input type for inserting data into table "darunrs_near_bitmap_v3.actions_index" -""" -input darunrs_near_bitmap_v3_actions_index_insert_input { - bitmap: String - block_date: String - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric - receiver_id: String -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v3_actions_index_max_fields { - bitmap: String - block_date: String - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric - receiver_id: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v3_actions_index_min_fields { - bitmap: String - block_date: String - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric - receiver_id: String -} - -""" -response of any mutation on the table "darunrs_near_bitmap_v3.actions_index" -""" -type darunrs_near_bitmap_v3_actions_index_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_bitmap_v3_actions_index!]! -} - -""" -on_conflict condition type for table "darunrs_near_bitmap_v3.actions_index" -""" -input darunrs_near_bitmap_v3_actions_index_on_conflict { - constraint: darunrs_near_bitmap_v3_actions_index_constraint! - update_columns: [darunrs_near_bitmap_v3_actions_index_update_column!]! = [] - where: darunrs_near_bitmap_v3_actions_index_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v3.actions_index". -""" -input darunrs_near_bitmap_v3_actions_index_order_by { - bitmap: order_by - block_date: order_by - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -""" -primary key columns input for table: darunrs_near_bitmap_v3.actions_index -""" -input darunrs_near_bitmap_v3_actions_index_pk_columns_input { - block_date: String! - receiver_id: String! -} - -""" -select columns of table "darunrs_near_bitmap_v3.actions_index" -""" -enum darunrs_near_bitmap_v3_actions_index_select_column { - """column name""" - bitmap - - """column name""" - block_date - - """column name""" - first_block_height - - """column name""" - last_elias_gamma_start_bit - - """column name""" - max_index - - """column name""" - receiver_id -} - -""" -input type for updating data in table "darunrs_near_bitmap_v3.actions_index" -""" -input darunrs_near_bitmap_v3_actions_index_set_input { - bitmap: String - block_date: String - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric - receiver_id: String -} - -"""aggregate stddev on columns""" -type darunrs_near_bitmap_v3_actions_index_stddev_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_bitmap_v3_actions_index_stddev_pop_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_bitmap_v3_actions_index_stddev_samp_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v3_actions_index" -""" -input darunrs_near_bitmap_v3_actions_index_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v3_actions_index_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v3_actions_index_stream_cursor_value_input { - bitmap: String - block_date: String - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric - receiver_id: String -} - -"""aggregate sum on columns""" -type darunrs_near_bitmap_v3_actions_index_sum_fields { - first_block_height: numeric - last_elias_gamma_start_bit: numeric - max_index: numeric -} - -""" -update columns of table "darunrs_near_bitmap_v3.actions_index" -""" -enum darunrs_near_bitmap_v3_actions_index_update_column { - """column name""" - bitmap - - """column name""" - block_date - - """column name""" - first_block_height - - """column name""" - last_elias_gamma_start_bit - - """column name""" - max_index - - """column name""" - receiver_id -} - -input darunrs_near_bitmap_v3_actions_index_updates { - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_actions_index_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_actions_index_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp! -} - -"""aggregate var_pop on columns""" -type darunrs_near_bitmap_v3_actions_index_var_pop_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_bitmap_v3_actions_index_var_samp_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -"""aggregate variance on columns""" -type darunrs_near_bitmap_v3_actions_index_variance_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float -} - -""" -columns and relationships of "darunrs_near_bitmap_v3.sys_logs" -""" -type darunrs_near_bitmap_v3_sys_logs { - block_height: numeric - date: date! - id: bigint! - level: String! - message: String! - timestamp: timestamp! - type: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v3.sys_logs" -""" -type darunrs_near_bitmap_v3_sys_logs_aggregate { - aggregate: darunrs_near_bitmap_v3_sys_logs_aggregate_fields - nodes: [darunrs_near_bitmap_v3_sys_logs!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v3.sys_logs" -""" -type darunrs_near_bitmap_v3_sys_logs_aggregate_fields { - avg: darunrs_near_bitmap_v3_sys_logs_avg_fields - count(columns: [darunrs_near_bitmap_v3_sys_logs_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v3_sys_logs_max_fields - min: darunrs_near_bitmap_v3_sys_logs_min_fields - stddev: darunrs_near_bitmap_v3_sys_logs_stddev_fields - stddev_pop: darunrs_near_bitmap_v3_sys_logs_stddev_pop_fields - stddev_samp: darunrs_near_bitmap_v3_sys_logs_stddev_samp_fields - sum: darunrs_near_bitmap_v3_sys_logs_sum_fields - var_pop: darunrs_near_bitmap_v3_sys_logs_var_pop_fields - var_samp: darunrs_near_bitmap_v3_sys_logs_var_samp_fields - variance: darunrs_near_bitmap_v3_sys_logs_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_bitmap_v3_sys_logs_avg_fields { - block_height: Float - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.sys_logs". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v3_sys_logs_bool_exp { - _and: [darunrs_near_bitmap_v3_sys_logs_bool_exp!] - _not: darunrs_near_bitmap_v3_sys_logs_bool_exp - _or: [darunrs_near_bitmap_v3_sys_logs_bool_exp!] - block_height: numeric_comparison_exp - date: date_comparison_exp - id: bigint_comparison_exp - level: String_comparison_exp - message: String_comparison_exp - timestamp: timestamp_comparison_exp - type: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_bitmap_v3.sys_logs" -""" -enum darunrs_near_bitmap_v3_sys_logs_constraint { - """ - unique or primary key constraint on columns "id", "date" - """ - sys_logs_pkey -} - -""" -input type for incrementing numeric columns in table "darunrs_near_bitmap_v3.sys_logs" -""" -input darunrs_near_bitmap_v3_sys_logs_inc_input { - block_height: numeric - id: bigint -} - -""" -input type for inserting data into table "darunrs_near_bitmap_v3.sys_logs" -""" -input darunrs_near_bitmap_v3_sys_logs_insert_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v3_sys_logs_max_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v3_sys_logs_min_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -""" -response of any mutation on the table "darunrs_near_bitmap_v3.sys_logs" -""" -type darunrs_near_bitmap_v3_sys_logs_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_bitmap_v3_sys_logs!]! -} - -""" -on_conflict condition type for table "darunrs_near_bitmap_v3.sys_logs" -""" -input darunrs_near_bitmap_v3_sys_logs_on_conflict { - constraint: darunrs_near_bitmap_v3_sys_logs_constraint! - update_columns: [darunrs_near_bitmap_v3_sys_logs_update_column!]! = [] - where: darunrs_near_bitmap_v3_sys_logs_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v3.sys_logs". -""" -input darunrs_near_bitmap_v3_sys_logs_order_by { - block_height: order_by - date: order_by - id: order_by - level: order_by - message: order_by - timestamp: order_by - type: order_by -} - -"""primary key columns input for table: darunrs_near_bitmap_v3.sys_logs""" -input darunrs_near_bitmap_v3_sys_logs_pk_columns_input { - date: date! - id: bigint! -} - -""" -select columns of table "darunrs_near_bitmap_v3.sys_logs" -""" -enum darunrs_near_bitmap_v3_sys_logs_select_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -""" -input type for updating data in table "darunrs_near_bitmap_v3.sys_logs" -""" -input darunrs_near_bitmap_v3_sys_logs_set_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate stddev on columns""" -type darunrs_near_bitmap_v3_sys_logs_stddev_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_bitmap_v3_sys_logs_stddev_pop_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_bitmap_v3_sys_logs_stddev_samp_fields { - block_height: Float - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v3_sys_logs" -""" -input darunrs_near_bitmap_v3_sys_logs_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v3_sys_logs_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v3_sys_logs_stream_cursor_value_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate sum on columns""" -type darunrs_near_bitmap_v3_sys_logs_sum_fields { - block_height: numeric - id: bigint -} - -""" -update columns of table "darunrs_near_bitmap_v3.sys_logs" -""" -enum darunrs_near_bitmap_v3_sys_logs_update_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -input darunrs_near_bitmap_v3_sys_logs_updates { - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_logs_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp! -} - -"""aggregate var_pop on columns""" -type darunrs_near_bitmap_v3_sys_logs_var_pop_fields { - block_height: Float - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_bitmap_v3_sys_logs_var_samp_fields { - block_height: Float - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_bitmap_v3_sys_logs_variance_fields { - block_height: Float - id: Float -} - -""" -columns and relationships of "darunrs_near_bitmap_v3.sys_metadata" -""" -type darunrs_near_bitmap_v3_sys_metadata { - attribute: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v3.sys_metadata" -""" -type darunrs_near_bitmap_v3_sys_metadata_aggregate { - aggregate: darunrs_near_bitmap_v3_sys_metadata_aggregate_fields - nodes: [darunrs_near_bitmap_v3_sys_metadata!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v3.sys_metadata" -""" -type darunrs_near_bitmap_v3_sys_metadata_aggregate_fields { - count(columns: [darunrs_near_bitmap_v3_sys_metadata_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v3_sys_metadata_max_fields - min: darunrs_near_bitmap_v3_sys_metadata_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.sys_metadata". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v3_sys_metadata_bool_exp { - _and: [darunrs_near_bitmap_v3_sys_metadata_bool_exp!] - _not: darunrs_near_bitmap_v3_sys_metadata_bool_exp - _or: [darunrs_near_bitmap_v3_sys_metadata_bool_exp!] - attribute: String_comparison_exp - value: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_bitmap_v3.sys_metadata" -""" -enum darunrs_near_bitmap_v3_sys_metadata_constraint { - """ - unique or primary key constraint on columns "attribute" - """ - sys_metadata_pkey -} - -""" -input type for inserting data into table "darunrs_near_bitmap_v3.sys_metadata" -""" -input darunrs_near_bitmap_v3_sys_metadata_insert_input { - attribute: String - value: String -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v3_sys_metadata_max_fields { - attribute: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v3_sys_metadata_min_fields { - attribute: String - value: String -} - -""" -response of any mutation on the table "darunrs_near_bitmap_v3.sys_metadata" -""" -type darunrs_near_bitmap_v3_sys_metadata_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_bitmap_v3_sys_metadata!]! -} - -""" -on_conflict condition type for table "darunrs_near_bitmap_v3.sys_metadata" -""" -input darunrs_near_bitmap_v3_sys_metadata_on_conflict { - constraint: darunrs_near_bitmap_v3_sys_metadata_constraint! - update_columns: [darunrs_near_bitmap_v3_sys_metadata_update_column!]! = [] - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v3.sys_metadata". -""" -input darunrs_near_bitmap_v3_sys_metadata_order_by { - attribute: order_by - value: order_by -} - -""" -primary key columns input for table: darunrs_near_bitmap_v3.sys_metadata -""" -input darunrs_near_bitmap_v3_sys_metadata_pk_columns_input { - attribute: String! -} - -""" -select columns of table "darunrs_near_bitmap_v3.sys_metadata" -""" -enum darunrs_near_bitmap_v3_sys_metadata_select_column { - """column name""" - attribute - - """column name""" - value -} - -""" -input type for updating data in table "darunrs_near_bitmap_v3.sys_metadata" -""" -input darunrs_near_bitmap_v3_sys_metadata_set_input { - attribute: String - value: String -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v3_sys_metadata" -""" -input darunrs_near_bitmap_v3_sys_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v3_sys_metadata_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v3_sys_metadata_stream_cursor_value_input { - attribute: String - value: String -} - -""" -update columns of table "darunrs_near_bitmap_v3.sys_metadata" -""" -enum darunrs_near_bitmap_v3_sys_metadata_update_column { - """column name""" - attribute - - """column name""" - value -} - -input darunrs_near_bitmap_v3_sys_metadata_updates { - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_metadata_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! -} - -""" -columns and relationships of "darunrs_near_bitmap_v5.actions_index" -""" -type darunrs_near_bitmap_v5_actions_index { - bitmap: String! - block_date: date! - first_block_height: Int! - last_elias_gamma_start_bit: Int! - max_index: Int! - - """An object relationship""" - receiver: darunrs_near_bitmap_v5_receivers! - receiver_id: bigint! -} - -""" -aggregated selection of "darunrs_near_bitmap_v5.actions_index" -""" -type darunrs_near_bitmap_v5_actions_index_aggregate { - aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_fields - nodes: [darunrs_near_bitmap_v5_actions_index!]! -} - -input darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp { - count: darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp_count -} - -input darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp_count { - arguments: [darunrs_near_bitmap_v5_actions_index_select_column!] - distinct: Boolean - filter: darunrs_near_bitmap_v5_actions_index_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "darunrs_near_bitmap_v5.actions_index" -""" -type darunrs_near_bitmap_v5_actions_index_aggregate_fields { - avg: darunrs_near_bitmap_v5_actions_index_avg_fields - count(columns: [darunrs_near_bitmap_v5_actions_index_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v5_actions_index_max_fields - min: darunrs_near_bitmap_v5_actions_index_min_fields - stddev: darunrs_near_bitmap_v5_actions_index_stddev_fields - stddev_pop: darunrs_near_bitmap_v5_actions_index_stddev_pop_fields - stddev_samp: darunrs_near_bitmap_v5_actions_index_stddev_samp_fields - sum: darunrs_near_bitmap_v5_actions_index_sum_fields - var_pop: darunrs_near_bitmap_v5_actions_index_var_pop_fields - var_samp: darunrs_near_bitmap_v5_actions_index_var_samp_fields - variance: darunrs_near_bitmap_v5_actions_index_variance_fields -} - -""" -order by aggregate values of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_aggregate_order_by { - avg: darunrs_near_bitmap_v5_actions_index_avg_order_by - count: order_by - max: darunrs_near_bitmap_v5_actions_index_max_order_by - min: darunrs_near_bitmap_v5_actions_index_min_order_by - stddev: darunrs_near_bitmap_v5_actions_index_stddev_order_by - stddev_pop: darunrs_near_bitmap_v5_actions_index_stddev_pop_order_by - stddev_samp: darunrs_near_bitmap_v5_actions_index_stddev_samp_order_by - sum: darunrs_near_bitmap_v5_actions_index_sum_order_by - var_pop: darunrs_near_bitmap_v5_actions_index_var_pop_order_by - var_samp: darunrs_near_bitmap_v5_actions_index_var_samp_order_by - variance: darunrs_near_bitmap_v5_actions_index_variance_order_by -} - -"""aggregate avg on columns""" -type darunrs_near_bitmap_v5_actions_index_avg_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by avg() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_avg_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.actions_index". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v5_actions_index_bool_exp { - _and: [darunrs_near_bitmap_v5_actions_index_bool_exp!] - _not: darunrs_near_bitmap_v5_actions_index_bool_exp - _or: [darunrs_near_bitmap_v5_actions_index_bool_exp!] - bitmap: String_comparison_exp - block_date: date_comparison_exp - first_block_height: Int_comparison_exp - last_elias_gamma_start_bit: Int_comparison_exp - max_index: Int_comparison_exp - receiver: darunrs_near_bitmap_v5_receivers_bool_exp - receiver_id: bigint_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v5_actions_index_max_fields { - bitmap: String - block_date: date - first_block_height: Int - last_elias_gamma_start_bit: Int - max_index: Int - receiver_id: bigint -} - -""" -order by max() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_max_order_by { - bitmap: order_by - block_date: order_by - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v5_actions_index_min_fields { - bitmap: String - block_date: date - first_block_height: Int - last_elias_gamma_start_bit: Int - max_index: Int - receiver_id: bigint -} - -""" -order by min() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_min_order_by { - bitmap: order_by - block_date: order_by - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v5.actions_index". -""" -input darunrs_near_bitmap_v5_actions_index_order_by { - bitmap: order_by - block_date: order_by - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver: darunrs_near_bitmap_v5_receivers_order_by - receiver_id: order_by -} - -""" -select columns of table "darunrs_near_bitmap_v5.actions_index" -""" -enum darunrs_near_bitmap_v5_actions_index_select_column { - """column name""" - bitmap - - """column name""" - block_date - - """column name""" - first_block_height - - """column name""" - last_elias_gamma_start_bit - - """column name""" - max_index - - """column name""" - receiver_id -} - -"""aggregate stddev on columns""" -type darunrs_near_bitmap_v5_actions_index_stddev_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by stddev() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_stddev_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_bitmap_v5_actions_index_stddev_pop_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by stddev_pop() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_stddev_pop_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_bitmap_v5_actions_index_stddev_samp_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by stddev_samp() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_stddev_samp_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v5_actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v5_actions_index_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v5_actions_index_stream_cursor_value_input { - bitmap: String - block_date: date - first_block_height: Int - last_elias_gamma_start_bit: Int - max_index: Int - receiver_id: bigint -} - -"""aggregate sum on columns""" -type darunrs_near_bitmap_v5_actions_index_sum_fields { - first_block_height: Int - last_elias_gamma_start_bit: Int - max_index: Int - receiver_id: bigint -} - -""" -order by sum() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_sum_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate var_pop on columns""" -type darunrs_near_bitmap_v5_actions_index_var_pop_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by var_pop() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_var_pop_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate var_samp on columns""" -type darunrs_near_bitmap_v5_actions_index_var_samp_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by var_samp() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_var_samp_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -"""aggregate variance on columns""" -type darunrs_near_bitmap_v5_actions_index_variance_fields { - first_block_height: Float - last_elias_gamma_start_bit: Float - max_index: Float - receiver_id: Float -} - -""" -order by variance() on columns of table "darunrs_near_bitmap_v5.actions_index" -""" -input darunrs_near_bitmap_v5_actions_index_variance_order_by { - first_block_height: order_by - last_elias_gamma_start_bit: order_by - max_index: order_by - receiver_id: order_by -} - -""" -columns and relationships of "darunrs_near_bitmap_v5.receivers" -""" -type darunrs_near_bitmap_v5_receivers { - """An array relationship""" - actions_index( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): [darunrs_near_bitmap_v5_actions_index!]! - - """An aggregate relationship""" - actions_index_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): darunrs_near_bitmap_v5_actions_index_aggregate! - id: bigint! - receiver: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v5.receivers" -""" -type darunrs_near_bitmap_v5_receivers_aggregate { - aggregate: darunrs_near_bitmap_v5_receivers_aggregate_fields - nodes: [darunrs_near_bitmap_v5_receivers!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v5.receivers" -""" -type darunrs_near_bitmap_v5_receivers_aggregate_fields { - avg: darunrs_near_bitmap_v5_receivers_avg_fields - count(columns: [darunrs_near_bitmap_v5_receivers_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v5_receivers_max_fields - min: darunrs_near_bitmap_v5_receivers_min_fields - stddev: darunrs_near_bitmap_v5_receivers_stddev_fields - stddev_pop: darunrs_near_bitmap_v5_receivers_stddev_pop_fields - stddev_samp: darunrs_near_bitmap_v5_receivers_stddev_samp_fields - sum: darunrs_near_bitmap_v5_receivers_sum_fields - var_pop: darunrs_near_bitmap_v5_receivers_var_pop_fields - var_samp: darunrs_near_bitmap_v5_receivers_var_samp_fields - variance: darunrs_near_bitmap_v5_receivers_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_bitmap_v5_receivers_avg_fields { - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.receivers". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v5_receivers_bool_exp { - _and: [darunrs_near_bitmap_v5_receivers_bool_exp!] - _not: darunrs_near_bitmap_v5_receivers_bool_exp - _or: [darunrs_near_bitmap_v5_receivers_bool_exp!] - actions_index: darunrs_near_bitmap_v5_actions_index_bool_exp - actions_index_aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp - id: bigint_comparison_exp - receiver: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v5_receivers_max_fields { - id: bigint - receiver: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v5_receivers_min_fields { - id: bigint - receiver: String -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v5.receivers". -""" -input darunrs_near_bitmap_v5_receivers_order_by { - actions_index_aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_order_by - id: order_by - receiver: order_by -} - -""" -select columns of table "darunrs_near_bitmap_v5.receivers" -""" -enum darunrs_near_bitmap_v5_receivers_select_column { - """column name""" - id - - """column name""" - receiver -} - -"""aggregate stddev on columns""" -type darunrs_near_bitmap_v5_receivers_stddev_fields { - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_bitmap_v5_receivers_stddev_pop_fields { - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_bitmap_v5_receivers_stddev_samp_fields { - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v5_receivers" -""" -input darunrs_near_bitmap_v5_receivers_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v5_receivers_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v5_receivers_stream_cursor_value_input { - id: bigint - receiver: String -} - -"""aggregate sum on columns""" -type darunrs_near_bitmap_v5_receivers_sum_fields { - id: bigint -} - -"""aggregate var_pop on columns""" -type darunrs_near_bitmap_v5_receivers_var_pop_fields { - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_bitmap_v5_receivers_var_samp_fields { - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_bitmap_v5_receivers_variance_fields { - id: Float -} - -""" -columns and relationships of "darunrs_near_bitmap_v5.sys_logs" -""" -type darunrs_near_bitmap_v5_sys_logs { - block_height: numeric - date: date! - id: bigint! - level: String! - message: String! - timestamp: timestamp! - type: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v5.sys_logs" -""" -type darunrs_near_bitmap_v5_sys_logs_aggregate { - aggregate: darunrs_near_bitmap_v5_sys_logs_aggregate_fields - nodes: [darunrs_near_bitmap_v5_sys_logs!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v5.sys_logs" -""" -type darunrs_near_bitmap_v5_sys_logs_aggregate_fields { - avg: darunrs_near_bitmap_v5_sys_logs_avg_fields - count(columns: [darunrs_near_bitmap_v5_sys_logs_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v5_sys_logs_max_fields - min: darunrs_near_bitmap_v5_sys_logs_min_fields - stddev: darunrs_near_bitmap_v5_sys_logs_stddev_fields - stddev_pop: darunrs_near_bitmap_v5_sys_logs_stddev_pop_fields - stddev_samp: darunrs_near_bitmap_v5_sys_logs_stddev_samp_fields - sum: darunrs_near_bitmap_v5_sys_logs_sum_fields - var_pop: darunrs_near_bitmap_v5_sys_logs_var_pop_fields - var_samp: darunrs_near_bitmap_v5_sys_logs_var_samp_fields - variance: darunrs_near_bitmap_v5_sys_logs_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_bitmap_v5_sys_logs_avg_fields { - block_height: Float - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.sys_logs". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v5_sys_logs_bool_exp { - _and: [darunrs_near_bitmap_v5_sys_logs_bool_exp!] - _not: darunrs_near_bitmap_v5_sys_logs_bool_exp - _or: [darunrs_near_bitmap_v5_sys_logs_bool_exp!] - block_height: numeric_comparison_exp - date: date_comparison_exp - id: bigint_comparison_exp - level: String_comparison_exp - message: String_comparison_exp - timestamp: timestamp_comparison_exp - type: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v5_sys_logs_max_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v5_sys_logs_min_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v5.sys_logs". -""" -input darunrs_near_bitmap_v5_sys_logs_order_by { - block_height: order_by - date: order_by - id: order_by - level: order_by - message: order_by - timestamp: order_by - type: order_by -} - -""" -select columns of table "darunrs_near_bitmap_v5.sys_logs" -""" -enum darunrs_near_bitmap_v5_sys_logs_select_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -"""aggregate stddev on columns""" -type darunrs_near_bitmap_v5_sys_logs_stddev_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_bitmap_v5_sys_logs_stddev_pop_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_bitmap_v5_sys_logs_stddev_samp_fields { - block_height: Float - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v5_sys_logs" -""" -input darunrs_near_bitmap_v5_sys_logs_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v5_sys_logs_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v5_sys_logs_stream_cursor_value_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate sum on columns""" -type darunrs_near_bitmap_v5_sys_logs_sum_fields { - block_height: numeric - id: bigint -} - -"""aggregate var_pop on columns""" -type darunrs_near_bitmap_v5_sys_logs_var_pop_fields { - block_height: Float - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_bitmap_v5_sys_logs_var_samp_fields { - block_height: Float - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_bitmap_v5_sys_logs_variance_fields { - block_height: Float - id: Float -} - -""" -columns and relationships of "darunrs_near_bitmap_v5.sys_metadata" -""" -type darunrs_near_bitmap_v5_sys_metadata { - attribute: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_bitmap_v5.sys_metadata" -""" -type darunrs_near_bitmap_v5_sys_metadata_aggregate { - aggregate: darunrs_near_bitmap_v5_sys_metadata_aggregate_fields - nodes: [darunrs_near_bitmap_v5_sys_metadata!]! -} - -""" -aggregate fields of "darunrs_near_bitmap_v5.sys_metadata" -""" -type darunrs_near_bitmap_v5_sys_metadata_aggregate_fields { - count(columns: [darunrs_near_bitmap_v5_sys_metadata_select_column!], distinct: Boolean): Int! - max: darunrs_near_bitmap_v5_sys_metadata_max_fields - min: darunrs_near_bitmap_v5_sys_metadata_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.sys_metadata". All fields are combined with a logical 'AND'. -""" -input darunrs_near_bitmap_v5_sys_metadata_bool_exp { - _and: [darunrs_near_bitmap_v5_sys_metadata_bool_exp!] - _not: darunrs_near_bitmap_v5_sys_metadata_bool_exp - _or: [darunrs_near_bitmap_v5_sys_metadata_bool_exp!] - attribute: String_comparison_exp - value: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_bitmap_v5_sys_metadata_max_fields { - attribute: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_bitmap_v5_sys_metadata_min_fields { - attribute: String - value: String -} - -""" -Ordering options when selecting data from "darunrs_near_bitmap_v5.sys_metadata". -""" -input darunrs_near_bitmap_v5_sys_metadata_order_by { - attribute: order_by - value: order_by -} - -""" -select columns of table "darunrs_near_bitmap_v5.sys_metadata" -""" -enum darunrs_near_bitmap_v5_sys_metadata_select_column { - """column name""" - attribute - - """column name""" - value -} - -""" -Streaming cursor of the table "darunrs_near_bitmap_v5_sys_metadata" -""" -input darunrs_near_bitmap_v5_sys_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_bitmap_v5_sys_metadata_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_bitmap_v5_sys_metadata_stream_cursor_value_input { - attribute: String - value: String -} - -""" -columns and relationships of "darunrs_near_social_feed_test.comments" -""" -type darunrs_near_social_feed_test_comments { - account_id: String! - block_height: numeric! - block_timestamp: numeric! - content: String! - id: Int! - - """An object relationship""" - post: darunrs_near_social_feed_test_posts! - post_id: Int! - receipt_id: String! -} - -""" -aggregated selection of "darunrs_near_social_feed_test.comments" -""" -type darunrs_near_social_feed_test_comments_aggregate { - aggregate: darunrs_near_social_feed_test_comments_aggregate_fields - nodes: [darunrs_near_social_feed_test_comments!]! -} - -input darunrs_near_social_feed_test_comments_aggregate_bool_exp { - count: darunrs_near_social_feed_test_comments_aggregate_bool_exp_count -} - -input darunrs_near_social_feed_test_comments_aggregate_bool_exp_count { - arguments: [darunrs_near_social_feed_test_comments_select_column!] - distinct: Boolean - filter: darunrs_near_social_feed_test_comments_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "darunrs_near_social_feed_test.comments" -""" -type darunrs_near_social_feed_test_comments_aggregate_fields { - avg: darunrs_near_social_feed_test_comments_avg_fields - count(columns: [darunrs_near_social_feed_test_comments_select_column!], distinct: Boolean): Int! - max: darunrs_near_social_feed_test_comments_max_fields - min: darunrs_near_social_feed_test_comments_min_fields - stddev: darunrs_near_social_feed_test_comments_stddev_fields - stddev_pop: darunrs_near_social_feed_test_comments_stddev_pop_fields - stddev_samp: darunrs_near_social_feed_test_comments_stddev_samp_fields - sum: darunrs_near_social_feed_test_comments_sum_fields - var_pop: darunrs_near_social_feed_test_comments_var_pop_fields - var_samp: darunrs_near_social_feed_test_comments_var_samp_fields - variance: darunrs_near_social_feed_test_comments_variance_fields -} - -""" -order by aggregate values of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_aggregate_order_by { - avg: darunrs_near_social_feed_test_comments_avg_order_by - count: order_by - max: darunrs_near_social_feed_test_comments_max_order_by - min: darunrs_near_social_feed_test_comments_min_order_by - stddev: darunrs_near_social_feed_test_comments_stddev_order_by - stddev_pop: darunrs_near_social_feed_test_comments_stddev_pop_order_by - stddev_samp: darunrs_near_social_feed_test_comments_stddev_samp_order_by - sum: darunrs_near_social_feed_test_comments_sum_order_by - var_pop: darunrs_near_social_feed_test_comments_var_pop_order_by - var_samp: darunrs_near_social_feed_test_comments_var_samp_order_by - variance: darunrs_near_social_feed_test_comments_variance_order_by -} - -"""aggregate avg on columns""" -type darunrs_near_social_feed_test_comments_avg_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by avg() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_avg_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -""" -Boolean expression to filter rows from the table "darunrs_near_social_feed_test.comments". All fields are combined with a logical 'AND'. -""" -input darunrs_near_social_feed_test_comments_bool_exp { - _and: [darunrs_near_social_feed_test_comments_bool_exp!] - _not: darunrs_near_social_feed_test_comments_bool_exp - _or: [darunrs_near_social_feed_test_comments_bool_exp!] - account_id: String_comparison_exp - block_height: numeric_comparison_exp - block_timestamp: numeric_comparison_exp - content: String_comparison_exp - id: Int_comparison_exp - post: darunrs_near_social_feed_test_posts_bool_exp - post_id: Int_comparison_exp - receipt_id: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_social_feed_test_comments_max_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - content: String - id: Int - post_id: Int - receipt_id: String -} - -""" -order by max() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_max_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - content: order_by - id: order_by - post_id: order_by - receipt_id: order_by -} - -"""aggregate min on columns""" -type darunrs_near_social_feed_test_comments_min_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - content: String - id: Int - post_id: Int - receipt_id: String -} - -""" -order by min() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_min_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - content: order_by - id: order_by - post_id: order_by - receipt_id: order_by -} - -""" -Ordering options when selecting data from "darunrs_near_social_feed_test.comments". -""" -input darunrs_near_social_feed_test_comments_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - content: order_by - id: order_by - post: darunrs_near_social_feed_test_posts_order_by - post_id: order_by - receipt_id: order_by -} - -""" -select columns of table "darunrs_near_social_feed_test.comments" -""" -enum darunrs_near_social_feed_test_comments_select_column { - """column name""" - account_id - - """column name""" - block_height - - """column name""" - block_timestamp - - """column name""" - content - - """column name""" - id - - """column name""" - post_id - - """column name""" - receipt_id -} - -"""aggregate stddev on columns""" -type darunrs_near_social_feed_test_comments_stddev_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by stddev() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_stddev_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_social_feed_test_comments_stddev_pop_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by stddev_pop() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_stddev_pop_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_social_feed_test_comments_stddev_samp_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by stddev_samp() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_stddev_samp_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -""" -Streaming cursor of the table "darunrs_near_social_feed_test_comments" -""" -input darunrs_near_social_feed_test_comments_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_social_feed_test_comments_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_social_feed_test_comments_stream_cursor_value_input { - account_id: String - block_height: numeric - block_timestamp: numeric - content: String - id: Int - post_id: Int - receipt_id: String -} - -"""aggregate sum on columns""" -type darunrs_near_social_feed_test_comments_sum_fields { - block_height: numeric - block_timestamp: numeric - id: Int - post_id: Int -} - -""" -order by sum() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_sum_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -"""aggregate var_pop on columns""" -type darunrs_near_social_feed_test_comments_var_pop_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by var_pop() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_var_pop_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -"""aggregate var_samp on columns""" -type darunrs_near_social_feed_test_comments_var_samp_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by var_samp() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_var_samp_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -"""aggregate variance on columns""" -type darunrs_near_social_feed_test_comments_variance_fields { - block_height: Float - block_timestamp: Float - id: Float - post_id: Float -} - -""" -order by variance() on columns of table "darunrs_near_social_feed_test.comments" -""" -input darunrs_near_social_feed_test_comments_variance_order_by { - block_height: order_by - block_timestamp: order_by - id: order_by - post_id: order_by -} - -""" -columns and relationships of "darunrs_near_social_feed_test.post_likes" -""" -type darunrs_near_social_feed_test_post_likes { - account_id: String! - block_height: numeric - block_timestamp: numeric! - - """An object relationship""" - post: darunrs_near_social_feed_test_posts! - post_id: Int! - receipt_id: String! -} - -""" -aggregated selection of "darunrs_near_social_feed_test.post_likes" -""" -type darunrs_near_social_feed_test_post_likes_aggregate { - aggregate: darunrs_near_social_feed_test_post_likes_aggregate_fields - nodes: [darunrs_near_social_feed_test_post_likes!]! -} - -input darunrs_near_social_feed_test_post_likes_aggregate_bool_exp { - count: darunrs_near_social_feed_test_post_likes_aggregate_bool_exp_count -} - -input darunrs_near_social_feed_test_post_likes_aggregate_bool_exp_count { - arguments: [darunrs_near_social_feed_test_post_likes_select_column!] - distinct: Boolean - filter: darunrs_near_social_feed_test_post_likes_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "darunrs_near_social_feed_test.post_likes" -""" -type darunrs_near_social_feed_test_post_likes_aggregate_fields { - avg: darunrs_near_social_feed_test_post_likes_avg_fields - count(columns: [darunrs_near_social_feed_test_post_likes_select_column!], distinct: Boolean): Int! - max: darunrs_near_social_feed_test_post_likes_max_fields - min: darunrs_near_social_feed_test_post_likes_min_fields - stddev: darunrs_near_social_feed_test_post_likes_stddev_fields - stddev_pop: darunrs_near_social_feed_test_post_likes_stddev_pop_fields - stddev_samp: darunrs_near_social_feed_test_post_likes_stddev_samp_fields - sum: darunrs_near_social_feed_test_post_likes_sum_fields - var_pop: darunrs_near_social_feed_test_post_likes_var_pop_fields - var_samp: darunrs_near_social_feed_test_post_likes_var_samp_fields - variance: darunrs_near_social_feed_test_post_likes_variance_fields -} - -""" -order by aggregate values of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_aggregate_order_by { - avg: darunrs_near_social_feed_test_post_likes_avg_order_by - count: order_by - max: darunrs_near_social_feed_test_post_likes_max_order_by - min: darunrs_near_social_feed_test_post_likes_min_order_by - stddev: darunrs_near_social_feed_test_post_likes_stddev_order_by - stddev_pop: darunrs_near_social_feed_test_post_likes_stddev_pop_order_by - stddev_samp: darunrs_near_social_feed_test_post_likes_stddev_samp_order_by - sum: darunrs_near_social_feed_test_post_likes_sum_order_by - var_pop: darunrs_near_social_feed_test_post_likes_var_pop_order_by - var_samp: darunrs_near_social_feed_test_post_likes_var_samp_order_by - variance: darunrs_near_social_feed_test_post_likes_variance_order_by -} - -"""aggregate avg on columns""" -type darunrs_near_social_feed_test_post_likes_avg_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by avg() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_avg_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -""" -Boolean expression to filter rows from the table "darunrs_near_social_feed_test.post_likes". All fields are combined with a logical 'AND'. -""" -input darunrs_near_social_feed_test_post_likes_bool_exp { - _and: [darunrs_near_social_feed_test_post_likes_bool_exp!] - _not: darunrs_near_social_feed_test_post_likes_bool_exp - _or: [darunrs_near_social_feed_test_post_likes_bool_exp!] - account_id: String_comparison_exp - block_height: numeric_comparison_exp - block_timestamp: numeric_comparison_exp - post: darunrs_near_social_feed_test_posts_bool_exp - post_id: Int_comparison_exp - receipt_id: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_social_feed_test_post_likes_max_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - post_id: Int - receipt_id: String -} - -""" -order by max() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_max_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - post_id: order_by - receipt_id: order_by -} - -"""aggregate min on columns""" -type darunrs_near_social_feed_test_post_likes_min_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - post_id: Int - receipt_id: String -} - -""" -order by min() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_min_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - post_id: order_by - receipt_id: order_by -} - -""" -Ordering options when selecting data from "darunrs_near_social_feed_test.post_likes". -""" -input darunrs_near_social_feed_test_post_likes_order_by { - account_id: order_by - block_height: order_by - block_timestamp: order_by - post: darunrs_near_social_feed_test_posts_order_by - post_id: order_by - receipt_id: order_by -} - -""" -select columns of table "darunrs_near_social_feed_test.post_likes" -""" -enum darunrs_near_social_feed_test_post_likes_select_column { - """column name""" - account_id - - """column name""" - block_height - - """column name""" - block_timestamp - - """column name""" - post_id - - """column name""" - receipt_id -} - -"""aggregate stddev on columns""" -type darunrs_near_social_feed_test_post_likes_stddev_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by stddev() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_stddev_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_social_feed_test_post_likes_stddev_pop_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by stddev_pop() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_stddev_pop_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_social_feed_test_post_likes_stddev_samp_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by stddev_samp() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_stddev_samp_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -""" -Streaming cursor of the table "darunrs_near_social_feed_test_post_likes" -""" -input darunrs_near_social_feed_test_post_likes_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_social_feed_test_post_likes_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_social_feed_test_post_likes_stream_cursor_value_input { - account_id: String - block_height: numeric - block_timestamp: numeric - post_id: Int - receipt_id: String -} - -"""aggregate sum on columns""" -type darunrs_near_social_feed_test_post_likes_sum_fields { - block_height: numeric - block_timestamp: numeric - post_id: Int -} - -""" -order by sum() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_sum_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -"""aggregate var_pop on columns""" -type darunrs_near_social_feed_test_post_likes_var_pop_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by var_pop() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_var_pop_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -"""aggregate var_samp on columns""" -type darunrs_near_social_feed_test_post_likes_var_samp_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by var_samp() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_var_samp_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -"""aggregate variance on columns""" -type darunrs_near_social_feed_test_post_likes_variance_fields { - block_height: Float - block_timestamp: Float - post_id: Float -} - -""" -order by variance() on columns of table "darunrs_near_social_feed_test.post_likes" -""" -input darunrs_near_social_feed_test_post_likes_variance_order_by { - block_height: order_by - block_timestamp: order_by - post_id: order_by -} - -""" -columns and relationships of "darunrs_near_social_feed_test.posts" -""" -type darunrs_near_social_feed_test_posts { - account_id: String! - accounts_liked( - """JSON select path""" - path: String - ): jsonb! - block_height: numeric! - block_timestamp: numeric! - - """An array relationship""" - comments( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): [darunrs_near_social_feed_test_comments!]! - - """An aggregate relationship""" - comments_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): darunrs_near_social_feed_test_comments_aggregate! - content: String! - id: Int! - last_comment_timestamp: numeric - - """An array relationship""" - post_likes( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): [darunrs_near_social_feed_test_post_likes!]! - - """An aggregate relationship""" - post_likes_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): darunrs_near_social_feed_test_post_likes_aggregate! - receipt_id: String! -} - -""" -aggregated selection of "darunrs_near_social_feed_test.posts" -""" -type darunrs_near_social_feed_test_posts_aggregate { - aggregate: darunrs_near_social_feed_test_posts_aggregate_fields - nodes: [darunrs_near_social_feed_test_posts!]! -} - -""" -aggregate fields of "darunrs_near_social_feed_test.posts" -""" -type darunrs_near_social_feed_test_posts_aggregate_fields { - avg: darunrs_near_social_feed_test_posts_avg_fields - count(columns: [darunrs_near_social_feed_test_posts_select_column!], distinct: Boolean): Int! - max: darunrs_near_social_feed_test_posts_max_fields - min: darunrs_near_social_feed_test_posts_min_fields - stddev: darunrs_near_social_feed_test_posts_stddev_fields - stddev_pop: darunrs_near_social_feed_test_posts_stddev_pop_fields - stddev_samp: darunrs_near_social_feed_test_posts_stddev_samp_fields - sum: darunrs_near_social_feed_test_posts_sum_fields - var_pop: darunrs_near_social_feed_test_posts_var_pop_fields - var_samp: darunrs_near_social_feed_test_posts_var_samp_fields - variance: darunrs_near_social_feed_test_posts_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_social_feed_test_posts_avg_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_social_feed_test.posts". All fields are combined with a logical 'AND'. -""" -input darunrs_near_social_feed_test_posts_bool_exp { - _and: [darunrs_near_social_feed_test_posts_bool_exp!] - _not: darunrs_near_social_feed_test_posts_bool_exp - _or: [darunrs_near_social_feed_test_posts_bool_exp!] - account_id: String_comparison_exp - accounts_liked: jsonb_comparison_exp - block_height: numeric_comparison_exp - block_timestamp: numeric_comparison_exp - comments: darunrs_near_social_feed_test_comments_bool_exp - comments_aggregate: darunrs_near_social_feed_test_comments_aggregate_bool_exp - content: String_comparison_exp - id: Int_comparison_exp - last_comment_timestamp: numeric_comparison_exp - post_likes: darunrs_near_social_feed_test_post_likes_bool_exp - post_likes_aggregate: darunrs_near_social_feed_test_post_likes_aggregate_bool_exp - receipt_id: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_social_feed_test_posts_max_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - content: String - id: Int - last_comment_timestamp: numeric - receipt_id: String -} - -"""aggregate min on columns""" -type darunrs_near_social_feed_test_posts_min_fields { - account_id: String - block_height: numeric - block_timestamp: numeric - content: String - id: Int - last_comment_timestamp: numeric - receipt_id: String -} - -""" -Ordering options when selecting data from "darunrs_near_social_feed_test.posts". -""" -input darunrs_near_social_feed_test_posts_order_by { - account_id: order_by - accounts_liked: order_by - block_height: order_by - block_timestamp: order_by - comments_aggregate: darunrs_near_social_feed_test_comments_aggregate_order_by - content: order_by - id: order_by - last_comment_timestamp: order_by - post_likes_aggregate: darunrs_near_social_feed_test_post_likes_aggregate_order_by - receipt_id: order_by -} - -""" -select columns of table "darunrs_near_social_feed_test.posts" -""" -enum darunrs_near_social_feed_test_posts_select_column { - """column name""" - account_id - - """column name""" - accounts_liked - - """column name""" - block_height - - """column name""" - block_timestamp - - """column name""" - content - - """column name""" - id - - """column name""" - last_comment_timestamp - - """column name""" - receipt_id -} - -"""aggregate stddev on columns""" -type darunrs_near_social_feed_test_posts_stddev_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_social_feed_test_posts_stddev_pop_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_social_feed_test_posts_stddev_samp_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -""" -Streaming cursor of the table "darunrs_near_social_feed_test_posts" -""" -input darunrs_near_social_feed_test_posts_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_social_feed_test_posts_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_social_feed_test_posts_stream_cursor_value_input { - account_id: String - accounts_liked: jsonb - block_height: numeric - block_timestamp: numeric - content: String - id: Int - last_comment_timestamp: numeric - receipt_id: String -} - -"""aggregate sum on columns""" -type darunrs_near_social_feed_test_posts_sum_fields { - block_height: numeric - block_timestamp: numeric - id: Int - last_comment_timestamp: numeric -} - -"""aggregate var_pop on columns""" -type darunrs_near_social_feed_test_posts_var_pop_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_social_feed_test_posts_var_samp_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -"""aggregate variance on columns""" -type darunrs_near_social_feed_test_posts_variance_fields { - block_height: Float - block_timestamp: Float - id: Float - last_comment_timestamp: Float -} - -""" -columns and relationships of "darunrs_near_social_feed_test.sys_logs" -""" -type darunrs_near_social_feed_test_sys_logs { - block_height: numeric - date: date! - id: bigint! - level: String! - message: String! - timestamp: timestamp! - type: String! -} - -""" -aggregated selection of "darunrs_near_social_feed_test.sys_logs" -""" -type darunrs_near_social_feed_test_sys_logs_aggregate { - aggregate: darunrs_near_social_feed_test_sys_logs_aggregate_fields - nodes: [darunrs_near_social_feed_test_sys_logs!]! -} - -""" -aggregate fields of "darunrs_near_social_feed_test.sys_logs" -""" -type darunrs_near_social_feed_test_sys_logs_aggregate_fields { - avg: darunrs_near_social_feed_test_sys_logs_avg_fields - count(columns: [darunrs_near_social_feed_test_sys_logs_select_column!], distinct: Boolean): Int! - max: darunrs_near_social_feed_test_sys_logs_max_fields - min: darunrs_near_social_feed_test_sys_logs_min_fields - stddev: darunrs_near_social_feed_test_sys_logs_stddev_fields - stddev_pop: darunrs_near_social_feed_test_sys_logs_stddev_pop_fields - stddev_samp: darunrs_near_social_feed_test_sys_logs_stddev_samp_fields - sum: darunrs_near_social_feed_test_sys_logs_sum_fields - var_pop: darunrs_near_social_feed_test_sys_logs_var_pop_fields - var_samp: darunrs_near_social_feed_test_sys_logs_var_samp_fields - variance: darunrs_near_social_feed_test_sys_logs_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_social_feed_test_sys_logs_avg_fields { - block_height: Float - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_social_feed_test.sys_logs". All fields are combined with a logical 'AND'. -""" -input darunrs_near_social_feed_test_sys_logs_bool_exp { - _and: [darunrs_near_social_feed_test_sys_logs_bool_exp!] - _not: darunrs_near_social_feed_test_sys_logs_bool_exp - _or: [darunrs_near_social_feed_test_sys_logs_bool_exp!] - block_height: numeric_comparison_exp - date: date_comparison_exp - id: bigint_comparison_exp - level: String_comparison_exp - message: String_comparison_exp - timestamp: timestamp_comparison_exp - type: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_social_feed_test_sys_logs_max_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate min on columns""" -type darunrs_near_social_feed_test_sys_logs_min_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -""" -Ordering options when selecting data from "darunrs_near_social_feed_test.sys_logs". -""" -input darunrs_near_social_feed_test_sys_logs_order_by { - block_height: order_by - date: order_by - id: order_by - level: order_by - message: order_by - timestamp: order_by - type: order_by -} - -""" -select columns of table "darunrs_near_social_feed_test.sys_logs" -""" -enum darunrs_near_social_feed_test_sys_logs_select_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -"""aggregate stddev on columns""" -type darunrs_near_social_feed_test_sys_logs_stddev_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_social_feed_test_sys_logs_stddev_pop_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_social_feed_test_sys_logs_stddev_samp_fields { - block_height: Float - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_social_feed_test_sys_logs" -""" -input darunrs_near_social_feed_test_sys_logs_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_social_feed_test_sys_logs_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_social_feed_test_sys_logs_stream_cursor_value_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate sum on columns""" -type darunrs_near_social_feed_test_sys_logs_sum_fields { - block_height: numeric - id: bigint -} - -"""aggregate var_pop on columns""" -type darunrs_near_social_feed_test_sys_logs_var_pop_fields { - block_height: Float - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_social_feed_test_sys_logs_var_samp_fields { - block_height: Float - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_social_feed_test_sys_logs_variance_fields { - block_height: Float - id: Float -} - -""" -columns and relationships of "darunrs_near_social_feed_test.sys_metadata" -""" -type darunrs_near_social_feed_test_sys_metadata { - attribute: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_social_feed_test.sys_metadata" -""" -type darunrs_near_social_feed_test_sys_metadata_aggregate { - aggregate: darunrs_near_social_feed_test_sys_metadata_aggregate_fields - nodes: [darunrs_near_social_feed_test_sys_metadata!]! -} - -""" -aggregate fields of "darunrs_near_social_feed_test.sys_metadata" -""" -type darunrs_near_social_feed_test_sys_metadata_aggregate_fields { - count(columns: [darunrs_near_social_feed_test_sys_metadata_select_column!], distinct: Boolean): Int! - max: darunrs_near_social_feed_test_sys_metadata_max_fields - min: darunrs_near_social_feed_test_sys_metadata_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_social_feed_test.sys_metadata". All fields are combined with a logical 'AND'. -""" -input darunrs_near_social_feed_test_sys_metadata_bool_exp { - _and: [darunrs_near_social_feed_test_sys_metadata_bool_exp!] - _not: darunrs_near_social_feed_test_sys_metadata_bool_exp - _or: [darunrs_near_social_feed_test_sys_metadata_bool_exp!] - attribute: String_comparison_exp - value: String_comparison_exp -} - -"""aggregate max on columns""" -type darunrs_near_social_feed_test_sys_metadata_max_fields { - attribute: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_social_feed_test_sys_metadata_min_fields { - attribute: String - value: String -} - -""" -Ordering options when selecting data from "darunrs_near_social_feed_test.sys_metadata". -""" -input darunrs_near_social_feed_test_sys_metadata_order_by { - attribute: order_by - value: order_by -} - -""" -select columns of table "darunrs_near_social_feed_test.sys_metadata" -""" -enum darunrs_near_social_feed_test_sys_metadata_select_column { - """column name""" - attribute - - """column name""" - value -} - -""" -Streaming cursor of the table "darunrs_near_social_feed_test_sys_metadata" -""" -input darunrs_near_social_feed_test_sys_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_social_feed_test_sys_metadata_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_social_feed_test_sys_metadata_stream_cursor_value_input { - attribute: String - value: String -} - -""" -columns and relationships of "darunrs_near_test_fork.indexer_storage" -""" -type darunrs_near_test_fork_indexer_storage { - function_name: String! - key_name: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_test_fork.indexer_storage" -""" -type darunrs_near_test_fork_indexer_storage_aggregate { - aggregate: darunrs_near_test_fork_indexer_storage_aggregate_fields - nodes: [darunrs_near_test_fork_indexer_storage!]! -} - -""" -aggregate fields of "darunrs_near_test_fork.indexer_storage" -""" -type darunrs_near_test_fork_indexer_storage_aggregate_fields { - count(columns: [darunrs_near_test_fork_indexer_storage_select_column!], distinct: Boolean): Int! - max: darunrs_near_test_fork_indexer_storage_max_fields - min: darunrs_near_test_fork_indexer_storage_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_test_fork.indexer_storage". All fields are combined with a logical 'AND'. -""" -input darunrs_near_test_fork_indexer_storage_bool_exp { - _and: [darunrs_near_test_fork_indexer_storage_bool_exp!] - _not: darunrs_near_test_fork_indexer_storage_bool_exp - _or: [darunrs_near_test_fork_indexer_storage_bool_exp!] - function_name: String_comparison_exp - key_name: String_comparison_exp - value: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_test_fork.indexer_storage" -""" -enum darunrs_near_test_fork_indexer_storage_constraint { - """ - unique or primary key constraint on columns "function_name", "key_name" - """ - indexer_storage_pkey -} - -""" -input type for inserting data into table "darunrs_near_test_fork.indexer_storage" -""" -input darunrs_near_test_fork_indexer_storage_insert_input { - function_name: String - key_name: String - value: String -} - -"""aggregate max on columns""" -type darunrs_near_test_fork_indexer_storage_max_fields { - function_name: String - key_name: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_test_fork_indexer_storage_min_fields { - function_name: String - key_name: String - value: String -} - -""" -response of any mutation on the table "darunrs_near_test_fork.indexer_storage" -""" -type darunrs_near_test_fork_indexer_storage_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_test_fork_indexer_storage!]! -} - -""" -on_conflict condition type for table "darunrs_near_test_fork.indexer_storage" -""" -input darunrs_near_test_fork_indexer_storage_on_conflict { - constraint: darunrs_near_test_fork_indexer_storage_constraint! - update_columns: [darunrs_near_test_fork_indexer_storage_update_column!]! = [] - where: darunrs_near_test_fork_indexer_storage_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_test_fork.indexer_storage". -""" -input darunrs_near_test_fork_indexer_storage_order_by { - function_name: order_by - key_name: order_by - value: order_by -} - -""" -primary key columns input for table: darunrs_near_test_fork.indexer_storage -""" -input darunrs_near_test_fork_indexer_storage_pk_columns_input { - function_name: String! - key_name: String! -} - -""" -select columns of table "darunrs_near_test_fork.indexer_storage" -""" -enum darunrs_near_test_fork_indexer_storage_select_column { - """column name""" - function_name - - """column name""" - key_name - - """column name""" - value -} - -""" -input type for updating data in table "darunrs_near_test_fork.indexer_storage" -""" -input darunrs_near_test_fork_indexer_storage_set_input { - function_name: String - key_name: String - value: String -} - -""" -Streaming cursor of the table "darunrs_near_test_fork_indexer_storage" -""" -input darunrs_near_test_fork_indexer_storage_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_test_fork_indexer_storage_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_test_fork_indexer_storage_stream_cursor_value_input { - function_name: String - key_name: String - value: String -} - -""" -update columns of table "darunrs_near_test_fork.indexer_storage" -""" -enum darunrs_near_test_fork_indexer_storage_update_column { - """column name""" - function_name - - """column name""" - key_name - - """column name""" - value -} - -input darunrs_near_test_fork_indexer_storage_updates { - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_indexer_storage_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_indexer_storage_bool_exp! -} - -""" -columns and relationships of "darunrs_near_test_fork.sys_logs" -""" -type darunrs_near_test_fork_sys_logs { - block_height: numeric - date: date! - id: bigint! - level: String! - message: String! - timestamp: timestamp! - type: String! -} - -""" -aggregated selection of "darunrs_near_test_fork.sys_logs" -""" -type darunrs_near_test_fork_sys_logs_aggregate { - aggregate: darunrs_near_test_fork_sys_logs_aggregate_fields - nodes: [darunrs_near_test_fork_sys_logs!]! -} - -""" -aggregate fields of "darunrs_near_test_fork.sys_logs" -""" -type darunrs_near_test_fork_sys_logs_aggregate_fields { - avg: darunrs_near_test_fork_sys_logs_avg_fields - count(columns: [darunrs_near_test_fork_sys_logs_select_column!], distinct: Boolean): Int! - max: darunrs_near_test_fork_sys_logs_max_fields - min: darunrs_near_test_fork_sys_logs_min_fields - stddev: darunrs_near_test_fork_sys_logs_stddev_fields - stddev_pop: darunrs_near_test_fork_sys_logs_stddev_pop_fields - stddev_samp: darunrs_near_test_fork_sys_logs_stddev_samp_fields - sum: darunrs_near_test_fork_sys_logs_sum_fields - var_pop: darunrs_near_test_fork_sys_logs_var_pop_fields - var_samp: darunrs_near_test_fork_sys_logs_var_samp_fields - variance: darunrs_near_test_fork_sys_logs_variance_fields -} - -"""aggregate avg on columns""" -type darunrs_near_test_fork_sys_logs_avg_fields { - block_height: Float - id: Float -} - -""" -Boolean expression to filter rows from the table "darunrs_near_test_fork.sys_logs". All fields are combined with a logical 'AND'. -""" -input darunrs_near_test_fork_sys_logs_bool_exp { - _and: [darunrs_near_test_fork_sys_logs_bool_exp!] - _not: darunrs_near_test_fork_sys_logs_bool_exp - _or: [darunrs_near_test_fork_sys_logs_bool_exp!] - block_height: numeric_comparison_exp - date: date_comparison_exp - id: bigint_comparison_exp - level: String_comparison_exp - message: String_comparison_exp - timestamp: timestamp_comparison_exp - type: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_test_fork.sys_logs" -""" -enum darunrs_near_test_fork_sys_logs_constraint { - """ - unique or primary key constraint on columns "id", "date" - """ - sys_logs_pkey -} - -""" -input type for incrementing numeric columns in table "darunrs_near_test_fork.sys_logs" -""" -input darunrs_near_test_fork_sys_logs_inc_input { - block_height: numeric - id: bigint -} - -""" -input type for inserting data into table "darunrs_near_test_fork.sys_logs" -""" -input darunrs_near_test_fork_sys_logs_insert_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate max on columns""" -type darunrs_near_test_fork_sys_logs_max_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate min on columns""" -type darunrs_near_test_fork_sys_logs_min_fields { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -""" -response of any mutation on the table "darunrs_near_test_fork.sys_logs" -""" -type darunrs_near_test_fork_sys_logs_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_test_fork_sys_logs!]! -} - -""" -on_conflict condition type for table "darunrs_near_test_fork.sys_logs" -""" -input darunrs_near_test_fork_sys_logs_on_conflict { - constraint: darunrs_near_test_fork_sys_logs_constraint! - update_columns: [darunrs_near_test_fork_sys_logs_update_column!]! = [] - where: darunrs_near_test_fork_sys_logs_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_test_fork.sys_logs". -""" -input darunrs_near_test_fork_sys_logs_order_by { - block_height: order_by - date: order_by - id: order_by - level: order_by - message: order_by - timestamp: order_by - type: order_by -} - -"""primary key columns input for table: darunrs_near_test_fork.sys_logs""" -input darunrs_near_test_fork_sys_logs_pk_columns_input { - date: date! - id: bigint! -} - -""" -select columns of table "darunrs_near_test_fork.sys_logs" -""" -enum darunrs_near_test_fork_sys_logs_select_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -""" -input type for updating data in table "darunrs_near_test_fork.sys_logs" -""" -input darunrs_near_test_fork_sys_logs_set_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate stddev on columns""" -type darunrs_near_test_fork_sys_logs_stddev_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_pop on columns""" -type darunrs_near_test_fork_sys_logs_stddev_pop_fields { - block_height: Float - id: Float -} - -"""aggregate stddev_samp on columns""" -type darunrs_near_test_fork_sys_logs_stddev_samp_fields { - block_height: Float - id: Float -} - -""" -Streaming cursor of the table "darunrs_near_test_fork_sys_logs" -""" -input darunrs_near_test_fork_sys_logs_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_test_fork_sys_logs_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_test_fork_sys_logs_stream_cursor_value_input { - block_height: numeric - date: date - id: bigint - level: String - message: String - timestamp: timestamp - type: String -} - -"""aggregate sum on columns""" -type darunrs_near_test_fork_sys_logs_sum_fields { - block_height: numeric - id: bigint -} - -""" -update columns of table "darunrs_near_test_fork.sys_logs" -""" -enum darunrs_near_test_fork_sys_logs_update_column { - """column name""" - block_height - - """column name""" - date - - """column name""" - id - - """column name""" - level - - """column name""" - message - - """column name""" - timestamp - - """column name""" - type -} - -input darunrs_near_test_fork_sys_logs_updates { - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_test_fork_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_logs_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_sys_logs_bool_exp! -} - -"""aggregate var_pop on columns""" -type darunrs_near_test_fork_sys_logs_var_pop_fields { - block_height: Float - id: Float -} - -"""aggregate var_samp on columns""" -type darunrs_near_test_fork_sys_logs_var_samp_fields { - block_height: Float - id: Float -} - -"""aggregate variance on columns""" -type darunrs_near_test_fork_sys_logs_variance_fields { - block_height: Float - id: Float -} - -""" -columns and relationships of "darunrs_near_test_fork.sys_metadata" -""" -type darunrs_near_test_fork_sys_metadata { - attribute: String! - value: String! -} - -""" -aggregated selection of "darunrs_near_test_fork.sys_metadata" -""" -type darunrs_near_test_fork_sys_metadata_aggregate { - aggregate: darunrs_near_test_fork_sys_metadata_aggregate_fields - nodes: [darunrs_near_test_fork_sys_metadata!]! -} - -""" -aggregate fields of "darunrs_near_test_fork.sys_metadata" -""" -type darunrs_near_test_fork_sys_metadata_aggregate_fields { - count(columns: [darunrs_near_test_fork_sys_metadata_select_column!], distinct: Boolean): Int! - max: darunrs_near_test_fork_sys_metadata_max_fields - min: darunrs_near_test_fork_sys_metadata_min_fields -} - -""" -Boolean expression to filter rows from the table "darunrs_near_test_fork.sys_metadata". All fields are combined with a logical 'AND'. -""" -input darunrs_near_test_fork_sys_metadata_bool_exp { - _and: [darunrs_near_test_fork_sys_metadata_bool_exp!] - _not: darunrs_near_test_fork_sys_metadata_bool_exp - _or: [darunrs_near_test_fork_sys_metadata_bool_exp!] - attribute: String_comparison_exp - value: String_comparison_exp -} - -""" -unique or primary key constraints on table "darunrs_near_test_fork.sys_metadata" -""" -enum darunrs_near_test_fork_sys_metadata_constraint { - """ - unique or primary key constraint on columns "attribute" - """ - sys_metadata_pkey -} - -""" -input type for inserting data into table "darunrs_near_test_fork.sys_metadata" -""" -input darunrs_near_test_fork_sys_metadata_insert_input { - attribute: String - value: String -} - -"""aggregate max on columns""" -type darunrs_near_test_fork_sys_metadata_max_fields { - attribute: String - value: String -} - -"""aggregate min on columns""" -type darunrs_near_test_fork_sys_metadata_min_fields { - attribute: String - value: String -} - -""" -response of any mutation on the table "darunrs_near_test_fork.sys_metadata" -""" -type darunrs_near_test_fork_sys_metadata_mutation_response { - """number of rows affected by the mutation""" - affected_rows: Int! - - """data from the rows affected by the mutation""" - returning: [darunrs_near_test_fork_sys_metadata!]! -} - -""" -on_conflict condition type for table "darunrs_near_test_fork.sys_metadata" -""" -input darunrs_near_test_fork_sys_metadata_on_conflict { - constraint: darunrs_near_test_fork_sys_metadata_constraint! - update_columns: [darunrs_near_test_fork_sys_metadata_update_column!]! = [] - where: darunrs_near_test_fork_sys_metadata_bool_exp -} - -""" -Ordering options when selecting data from "darunrs_near_test_fork.sys_metadata". -""" -input darunrs_near_test_fork_sys_metadata_order_by { - attribute: order_by - value: order_by -} - -""" -primary key columns input for table: darunrs_near_test_fork.sys_metadata -""" -input darunrs_near_test_fork_sys_metadata_pk_columns_input { - attribute: String! -} - -""" -select columns of table "darunrs_near_test_fork.sys_metadata" -""" -enum darunrs_near_test_fork_sys_metadata_select_column { - """column name""" - attribute - - """column name""" - value -} - -""" -input type for updating data in table "darunrs_near_test_fork.sys_metadata" -""" -input darunrs_near_test_fork_sys_metadata_set_input { - attribute: String - value: String -} - -""" -Streaming cursor of the table "darunrs_near_test_fork_sys_metadata" -""" -input darunrs_near_test_fork_sys_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: darunrs_near_test_fork_sys_metadata_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input darunrs_near_test_fork_sys_metadata_stream_cursor_value_input { - attribute: String - value: String -} - -""" -update columns of table "darunrs_near_test_fork.sys_metadata" -""" -enum darunrs_near_test_fork_sys_metadata_update_column { - """column name""" - attribute - - """column name""" - value -} - -input darunrs_near_test_fork_sys_metadata_updates { - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_metadata_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_sys_metadata_bool_exp! -} - -scalar date - -""" -Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. -""" -input date_comparison_exp { - _eq: date - _gt: date - _gte: date - _in: [date!] - _is_null: Boolean - _lt: date - _lte: date - _neq: date - _nin: [date!] -} - -scalar jsonb - -input jsonb_cast_exp { - String: String_comparison_exp -} - -""" -Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. -""" -input jsonb_comparison_exp { - _cast: jsonb_cast_exp - - """is the column contained in the given json value""" - _contained_in: jsonb - - """does the column contain the given json value at the top level""" - _contains: jsonb - _eq: jsonb - _gt: jsonb - _gte: jsonb - - """does the string exist as a top-level key in the column""" - _has_key: String - - """do all of these strings exist as top-level keys in the column""" - _has_keys_all: [String!] - - """do any of these strings exist as top-level keys in the column""" - _has_keys_any: [String!] - _in: [jsonb!] - _is_null: Boolean - _lt: jsonb - _lte: jsonb - _neq: jsonb - _nin: [jsonb!] -} - -"""mutation root""" -type mutation_root { - """ - delete data from the table: "darunrs_near_bitmap_v3.actions_index" - """ - delete_darunrs_near_bitmap_v3_actions_index( - """filter the rows which have to be deleted""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp! - ): darunrs_near_bitmap_v3_actions_index_mutation_response - - """ - delete single row from the table: "darunrs_near_bitmap_v3.actions_index" - """ - delete_darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index - - """ - delete data from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - delete_darunrs_near_bitmap_v3_sys_logs( - """filter the rows which have to be deleted""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp! - ): darunrs_near_bitmap_v3_sys_logs_mutation_response - - """ - delete single row from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - delete_darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs - - """ - delete data from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - delete_darunrs_near_bitmap_v3_sys_metadata( - """filter the rows which have to be deleted""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! - ): darunrs_near_bitmap_v3_sys_metadata_mutation_response - - """ - delete single row from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - delete_darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata - - """ - delete data from the table: "darunrs_near_test_fork.indexer_storage" - """ - delete_darunrs_near_test_fork_indexer_storage( - """filter the rows which have to be deleted""" - where: darunrs_near_test_fork_indexer_storage_bool_exp! - ): darunrs_near_test_fork_indexer_storage_mutation_response - - """ - delete single row from the table: "darunrs_near_test_fork.indexer_storage" - """ - delete_darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage - - """ - delete data from the table: "darunrs_near_test_fork.sys_logs" - """ - delete_darunrs_near_test_fork_sys_logs( - """filter the rows which have to be deleted""" - where: darunrs_near_test_fork_sys_logs_bool_exp! - ): darunrs_near_test_fork_sys_logs_mutation_response - - """ - delete single row from the table: "darunrs_near_test_fork.sys_logs" - """ - delete_darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs - - """ - delete data from the table: "darunrs_near_test_fork.sys_metadata" - """ - delete_darunrs_near_test_fork_sys_metadata( - """filter the rows which have to be deleted""" - where: darunrs_near_test_fork_sys_metadata_bool_exp! - ): darunrs_near_test_fork_sys_metadata_mutation_response - - """ - delete single row from the table: "darunrs_near_test_fork.sys_metadata" - """ - delete_darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata - - """ - insert data into the table: "darunrs_near_bitmap_v3.actions_index" - """ - insert_darunrs_near_bitmap_v3_actions_index( - """the rows to be inserted""" - objects: [darunrs_near_bitmap_v3_actions_index_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_actions_index_on_conflict - ): darunrs_near_bitmap_v3_actions_index_mutation_response - - """ - insert a single row into the table: "darunrs_near_bitmap_v3.actions_index" - """ - insert_darunrs_near_bitmap_v3_actions_index_one( - """the row to be inserted""" - object: darunrs_near_bitmap_v3_actions_index_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_actions_index_on_conflict - ): darunrs_near_bitmap_v3_actions_index - - """ - insert data into the table: "darunrs_near_bitmap_v3.sys_logs" - """ - insert_darunrs_near_bitmap_v3_sys_logs( - """the rows to be inserted""" - objects: [darunrs_near_bitmap_v3_sys_logs_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_sys_logs_on_conflict - ): darunrs_near_bitmap_v3_sys_logs_mutation_response - - """ - insert a single row into the table: "darunrs_near_bitmap_v3.sys_logs" - """ - insert_darunrs_near_bitmap_v3_sys_logs_one( - """the row to be inserted""" - object: darunrs_near_bitmap_v3_sys_logs_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_sys_logs_on_conflict - ): darunrs_near_bitmap_v3_sys_logs - - """ - insert data into the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - insert_darunrs_near_bitmap_v3_sys_metadata( - """the rows to be inserted""" - objects: [darunrs_near_bitmap_v3_sys_metadata_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_sys_metadata_on_conflict - ): darunrs_near_bitmap_v3_sys_metadata_mutation_response - - """ - insert a single row into the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - insert_darunrs_near_bitmap_v3_sys_metadata_one( - """the row to be inserted""" - object: darunrs_near_bitmap_v3_sys_metadata_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_bitmap_v3_sys_metadata_on_conflict - ): darunrs_near_bitmap_v3_sys_metadata - - """ - insert data into the table: "darunrs_near_test_fork.indexer_storage" - """ - insert_darunrs_near_test_fork_indexer_storage( - """the rows to be inserted""" - objects: [darunrs_near_test_fork_indexer_storage_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_indexer_storage_on_conflict - ): darunrs_near_test_fork_indexer_storage_mutation_response - - """ - insert a single row into the table: "darunrs_near_test_fork.indexer_storage" - """ - insert_darunrs_near_test_fork_indexer_storage_one( - """the row to be inserted""" - object: darunrs_near_test_fork_indexer_storage_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_indexer_storage_on_conflict - ): darunrs_near_test_fork_indexer_storage - - """ - insert data into the table: "darunrs_near_test_fork.sys_logs" - """ - insert_darunrs_near_test_fork_sys_logs( - """the rows to be inserted""" - objects: [darunrs_near_test_fork_sys_logs_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_sys_logs_on_conflict - ): darunrs_near_test_fork_sys_logs_mutation_response - - """ - insert a single row into the table: "darunrs_near_test_fork.sys_logs" - """ - insert_darunrs_near_test_fork_sys_logs_one( - """the row to be inserted""" - object: darunrs_near_test_fork_sys_logs_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_sys_logs_on_conflict - ): darunrs_near_test_fork_sys_logs - - """ - insert data into the table: "darunrs_near_test_fork.sys_metadata" - """ - insert_darunrs_near_test_fork_sys_metadata( - """the rows to be inserted""" - objects: [darunrs_near_test_fork_sys_metadata_insert_input!]! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_sys_metadata_on_conflict - ): darunrs_near_test_fork_sys_metadata_mutation_response - - """ - insert a single row into the table: "darunrs_near_test_fork.sys_metadata" - """ - insert_darunrs_near_test_fork_sys_metadata_one( - """the row to be inserted""" - object: darunrs_near_test_fork_sys_metadata_insert_input! - - """upsert condition""" - on_conflict: darunrs_near_test_fork_sys_metadata_on_conflict - ): darunrs_near_test_fork_sys_metadata - - """ - update data of the table: "darunrs_near_bitmap_v3.actions_index" - """ - update_darunrs_near_bitmap_v3_actions_index( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_actions_index_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_actions_index_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp! - ): darunrs_near_bitmap_v3_actions_index_mutation_response - - """ - update single row of the table: "darunrs_near_bitmap_v3.actions_index" - """ - update_darunrs_near_bitmap_v3_actions_index_by_pk( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_actions_index_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_actions_index_set_input - pk_columns: darunrs_near_bitmap_v3_actions_index_pk_columns_input! - ): darunrs_near_bitmap_v3_actions_index - - """ - update multiples rows of table: "darunrs_near_bitmap_v3.actions_index" - """ - update_darunrs_near_bitmap_v3_actions_index_many( - """updates to execute, in order""" - updates: [darunrs_near_bitmap_v3_actions_index_updates!]! - ): [darunrs_near_bitmap_v3_actions_index_mutation_response] - - """ - update data of the table: "darunrs_near_bitmap_v3.sys_logs" - """ - update_darunrs_near_bitmap_v3_sys_logs( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_logs_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp! - ): darunrs_near_bitmap_v3_sys_logs_mutation_response - - """ - update single row of the table: "darunrs_near_bitmap_v3.sys_logs" - """ - update_darunrs_near_bitmap_v3_sys_logs_by_pk( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_bitmap_v3_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_logs_set_input - pk_columns: darunrs_near_bitmap_v3_sys_logs_pk_columns_input! - ): darunrs_near_bitmap_v3_sys_logs - - """ - update multiples rows of table: "darunrs_near_bitmap_v3.sys_logs" - """ - update_darunrs_near_bitmap_v3_sys_logs_many( - """updates to execute, in order""" - updates: [darunrs_near_bitmap_v3_sys_logs_updates!]! - ): [darunrs_near_bitmap_v3_sys_logs_mutation_response] - - """ - update data of the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - update_darunrs_near_bitmap_v3_sys_metadata( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_metadata_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! - ): darunrs_near_bitmap_v3_sys_metadata_mutation_response - - """ - update single row of the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - update_darunrs_near_bitmap_v3_sys_metadata_by_pk( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_bitmap_v3_sys_metadata_set_input - pk_columns: darunrs_near_bitmap_v3_sys_metadata_pk_columns_input! - ): darunrs_near_bitmap_v3_sys_metadata - - """ - update multiples rows of table: "darunrs_near_bitmap_v3.sys_metadata" - """ - update_darunrs_near_bitmap_v3_sys_metadata_many( - """updates to execute, in order""" - updates: [darunrs_near_bitmap_v3_sys_metadata_updates!]! - ): [darunrs_near_bitmap_v3_sys_metadata_mutation_response] - - """ - update data of the table: "darunrs_near_test_fork.indexer_storage" - """ - update_darunrs_near_test_fork_indexer_storage( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_indexer_storage_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_indexer_storage_bool_exp! - ): darunrs_near_test_fork_indexer_storage_mutation_response - - """ - update single row of the table: "darunrs_near_test_fork.indexer_storage" - """ - update_darunrs_near_test_fork_indexer_storage_by_pk( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_indexer_storage_set_input - pk_columns: darunrs_near_test_fork_indexer_storage_pk_columns_input! - ): darunrs_near_test_fork_indexer_storage - - """ - update multiples rows of table: "darunrs_near_test_fork.indexer_storage" - """ - update_darunrs_near_test_fork_indexer_storage_many( - """updates to execute, in order""" - updates: [darunrs_near_test_fork_indexer_storage_updates!]! - ): [darunrs_near_test_fork_indexer_storage_mutation_response] - - """ - update data of the table: "darunrs_near_test_fork.sys_logs" - """ - update_darunrs_near_test_fork_sys_logs( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_test_fork_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_logs_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_sys_logs_bool_exp! - ): darunrs_near_test_fork_sys_logs_mutation_response - - """ - update single row of the table: "darunrs_near_test_fork.sys_logs" - """ - update_darunrs_near_test_fork_sys_logs_by_pk( - """increments the numeric columns with given value of the filtered values""" - _inc: darunrs_near_test_fork_sys_logs_inc_input - - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_logs_set_input - pk_columns: darunrs_near_test_fork_sys_logs_pk_columns_input! - ): darunrs_near_test_fork_sys_logs - - """ - update multiples rows of table: "darunrs_near_test_fork.sys_logs" - """ - update_darunrs_near_test_fork_sys_logs_many( - """updates to execute, in order""" - updates: [darunrs_near_test_fork_sys_logs_updates!]! - ): [darunrs_near_test_fork_sys_logs_mutation_response] - - """ - update data of the table: "darunrs_near_test_fork.sys_metadata" - """ - update_darunrs_near_test_fork_sys_metadata( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_metadata_set_input - - """filter the rows which have to be updated""" - where: darunrs_near_test_fork_sys_metadata_bool_exp! - ): darunrs_near_test_fork_sys_metadata_mutation_response - - """ - update single row of the table: "darunrs_near_test_fork.sys_metadata" - """ - update_darunrs_near_test_fork_sys_metadata_by_pk( - """sets the columns of the filtered rows to the given values""" - _set: darunrs_near_test_fork_sys_metadata_set_input - pk_columns: darunrs_near_test_fork_sys_metadata_pk_columns_input! - ): darunrs_near_test_fork_sys_metadata - - """ - update multiples rows of table: "darunrs_near_test_fork.sys_metadata" - """ - update_darunrs_near_test_fork_sys_metadata_many( - """updates to execute, in order""" - updates: [darunrs_near_test_fork_sys_metadata_updates!]! - ): [darunrs_near_test_fork_sys_metadata_mutation_response] -} - -scalar numeric - -""" -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. -""" -input numeric_comparison_exp { - _eq: numeric - _gt: numeric - _gte: numeric - _in: [numeric!] - _is_null: Boolean - _lt: numeric - _lte: numeric - _neq: numeric - _nin: [numeric!] -} - -"""column ordering options""" -enum order_by { - """in ascending order, nulls last""" - asc - - """in ascending order, nulls first""" - asc_nulls_first - - """in ascending order, nulls last""" - asc_nulls_last - - """in descending order, nulls first""" - desc - - """in descending order, nulls first""" - desc_nulls_first - - """in descending order, nulls last""" - desc_nulls_last -} - -type query_root { - """ - fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" - """ - darunrs_near_benchmark_indexer_indexer_storage( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - ): [darunrs_near_benchmark_indexer_indexer_storage!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.indexer_storage" - """ - darunrs_near_benchmark_indexer_indexer_storage_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - ): darunrs_near_benchmark_indexer_indexer_storage_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" using primary key columns - """ - darunrs_near_benchmark_indexer_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_benchmark_indexer_indexer_storage - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" - """ - darunrs_near_benchmark_indexer_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_logs_bool_exp - ): [darunrs_near_benchmark_indexer_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_logs" - """ - darunrs_near_benchmark_indexer_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_logs_bool_exp - ): darunrs_near_benchmark_indexer_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" using primary key columns - """ - darunrs_near_benchmark_indexer_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_benchmark_indexer_sys_logs - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" - """ - darunrs_near_benchmark_indexer_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - ): [darunrs_near_benchmark_indexer_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_metadata" - """ - darunrs_near_benchmark_indexer_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - ): darunrs_near_benchmark_indexer_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" using primary key columns - """ - darunrs_near_benchmark_indexer_sys_metadata_by_pk(attribute: String!): darunrs_near_benchmark_indexer_sys_metadata - - """ - fetch data from the table: "darunrs_near_bitmap_v3.actions_index" - """ - darunrs_near_bitmap_v3_actions_index( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp - ): [darunrs_near_bitmap_v3_actions_index!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.actions_index" - """ - darunrs_near_bitmap_v3_actions_index_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp - ): darunrs_near_bitmap_v3_actions_index_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.actions_index" using primary key columns - """ - darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - darunrs_near_bitmap_v3_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp - ): [darunrs_near_bitmap_v3_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - darunrs_near_bitmap_v3_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp - ): darunrs_near_bitmap_v3_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" using primary key columns - """ - darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - darunrs_near_bitmap_v3_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v3_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - darunrs_near_bitmap_v3_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp - ): darunrs_near_bitmap_v3_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" using primary key columns - """ - darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata - - """ - fetch data from the table: "darunrs_near_bitmap_v5.actions_index" - """ - darunrs_near_bitmap_v5_actions_index( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): [darunrs_near_bitmap_v5_actions_index!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.actions_index" - """ - darunrs_near_bitmap_v5_actions_index_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): darunrs_near_bitmap_v5_actions_index_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.actions_index" using primary key columns - """ - darunrs_near_bitmap_v5_actions_index_by_pk(block_date: date!, receiver_id: bigint!): darunrs_near_bitmap_v5_actions_index - - """ - fetch data from the table: "darunrs_near_bitmap_v5.receivers" - """ - darunrs_near_bitmap_v5_receivers( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_receivers_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_receivers_bool_exp - ): [darunrs_near_bitmap_v5_receivers!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.receivers" - """ - darunrs_near_bitmap_v5_receivers_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_receivers_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_receivers_bool_exp - ): darunrs_near_bitmap_v5_receivers_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.receivers" using primary key columns - """ - darunrs_near_bitmap_v5_receivers_by_pk(id: bigint!): darunrs_near_bitmap_v5_receivers - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" - """ - darunrs_near_bitmap_v5_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_logs_bool_exp - ): [darunrs_near_bitmap_v5_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_logs" - """ - darunrs_near_bitmap_v5_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_logs_bool_exp - ): darunrs_near_bitmap_v5_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" using primary key columns - """ - darunrs_near_bitmap_v5_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v5_sys_logs - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" - """ - darunrs_near_bitmap_v5_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v5_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_metadata" - """ - darunrs_near_bitmap_v5_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_metadata_bool_exp - ): darunrs_near_bitmap_v5_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" using primary key columns - """ - darunrs_near_bitmap_v5_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v5_sys_metadata - - """ - fetch data from the table: "darunrs_near_social_feed_test.comments" - """ - darunrs_near_social_feed_test_comments( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): [darunrs_near_social_feed_test_comments!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.comments" - """ - darunrs_near_social_feed_test_comments_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): darunrs_near_social_feed_test_comments_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.comments" using primary key columns - """ - darunrs_near_social_feed_test_comments_by_pk(id: Int!): darunrs_near_social_feed_test_comments - - """ - fetch data from the table: "darunrs_near_social_feed_test.post_likes" - """ - darunrs_near_social_feed_test_post_likes( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): [darunrs_near_social_feed_test_post_likes!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.post_likes" - """ - darunrs_near_social_feed_test_post_likes_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): darunrs_near_social_feed_test_post_likes_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.post_likes" using primary key columns - """ - darunrs_near_social_feed_test_post_likes_by_pk(account_id: String!, post_id: Int!): darunrs_near_social_feed_test_post_likes - - """ - fetch data from the table: "darunrs_near_social_feed_test.posts" - """ - darunrs_near_social_feed_test_posts( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_posts_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_posts_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_posts_bool_exp - ): [darunrs_near_social_feed_test_posts!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.posts" - """ - darunrs_near_social_feed_test_posts_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_posts_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_posts_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_posts_bool_exp - ): darunrs_near_social_feed_test_posts_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.posts" using primary key columns - """ - darunrs_near_social_feed_test_posts_by_pk(id: Int!): darunrs_near_social_feed_test_posts - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_logs" - """ - darunrs_near_social_feed_test_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_logs_bool_exp - ): [darunrs_near_social_feed_test_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_logs" - """ - darunrs_near_social_feed_test_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_logs_bool_exp - ): darunrs_near_social_feed_test_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_logs" using primary key columns - """ - darunrs_near_social_feed_test_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_social_feed_test_sys_logs - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" - """ - darunrs_near_social_feed_test_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_metadata_bool_exp - ): [darunrs_near_social_feed_test_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_metadata" - """ - darunrs_near_social_feed_test_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_metadata_bool_exp - ): darunrs_near_social_feed_test_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" using primary key columns - """ - darunrs_near_social_feed_test_sys_metadata_by_pk(attribute: String!): darunrs_near_social_feed_test_sys_metadata - - """ - fetch data from the table: "darunrs_near_test_fork.indexer_storage" - """ - darunrs_near_test_fork_indexer_storage( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_indexer_storage_bool_exp - ): [darunrs_near_test_fork_indexer_storage!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.indexer_storage" - """ - darunrs_near_test_fork_indexer_storage_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_indexer_storage_bool_exp - ): darunrs_near_test_fork_indexer_storage_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.indexer_storage" using primary key columns - """ - darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage - - """ - fetch data from the table: "darunrs_near_test_fork.sys_logs" - """ - darunrs_near_test_fork_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_logs_bool_exp - ): [darunrs_near_test_fork_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.sys_logs" - """ - darunrs_near_test_fork_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_logs_bool_exp - ): darunrs_near_test_fork_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_logs" using primary key columns - """ - darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs - - """ - fetch data from the table: "darunrs_near_test_fork.sys_metadata" - """ - darunrs_near_test_fork_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_metadata_bool_exp - ): [darunrs_near_test_fork_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.sys_metadata" - """ - darunrs_near_test_fork_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_metadata_bool_exp - ): darunrs_near_test_fork_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_metadata" using primary key columns - """ - darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata -} - -type subscription_root { - """ - fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" - """ - darunrs_near_benchmark_indexer_indexer_storage( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - ): [darunrs_near_benchmark_indexer_indexer_storage!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.indexer_storage" - """ - darunrs_near_benchmark_indexer_indexer_storage_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - ): darunrs_near_benchmark_indexer_indexer_storage_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" using primary key columns - """ - darunrs_near_benchmark_indexer_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_benchmark_indexer_indexer_storage - - """ - fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.indexer_storage" - """ - darunrs_near_benchmark_indexer_indexer_storage_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp - ): [darunrs_near_benchmark_indexer_indexer_storage!]! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" - """ - darunrs_near_benchmark_indexer_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_logs_bool_exp - ): [darunrs_near_benchmark_indexer_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_logs" - """ - darunrs_near_benchmark_indexer_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_logs_bool_exp - ): darunrs_near_benchmark_indexer_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" using primary key columns - """ - darunrs_near_benchmark_indexer_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_benchmark_indexer_sys_logs - - """ - fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.sys_logs" - """ - darunrs_near_benchmark_indexer_sys_logs_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_benchmark_indexer_sys_logs_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_logs_bool_exp - ): [darunrs_near_benchmark_indexer_sys_logs!]! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" - """ - darunrs_near_benchmark_indexer_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - ): [darunrs_near_benchmark_indexer_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_metadata" - """ - darunrs_near_benchmark_indexer_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - ): darunrs_near_benchmark_indexer_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" using primary key columns - """ - darunrs_near_benchmark_indexer_sys_metadata_by_pk(attribute: String!): darunrs_near_benchmark_indexer_sys_metadata - - """ - fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.sys_metadata" - """ - darunrs_near_benchmark_indexer_sys_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp - ): [darunrs_near_benchmark_indexer_sys_metadata!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.actions_index" - """ - darunrs_near_bitmap_v3_actions_index( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp - ): [darunrs_near_bitmap_v3_actions_index!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.actions_index" - """ - darunrs_near_bitmap_v3_actions_index_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp - ): darunrs_near_bitmap_v3_actions_index_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.actions_index" using primary key columns - """ - darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.actions_index" - """ - darunrs_near_bitmap_v3_actions_index_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v3_actions_index_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_actions_index_bool_exp - ): [darunrs_near_bitmap_v3_actions_index!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - darunrs_near_bitmap_v3_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp - ): [darunrs_near_bitmap_v3_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_logs" - """ - darunrs_near_bitmap_v3_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp - ): darunrs_near_bitmap_v3_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" using primary key columns - """ - darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.sys_logs" - """ - darunrs_near_bitmap_v3_sys_logs_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v3_sys_logs_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_logs_bool_exp - ): [darunrs_near_bitmap_v3_sys_logs!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - darunrs_near_bitmap_v3_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v3_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_metadata" - """ - darunrs_near_bitmap_v3_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp - ): darunrs_near_bitmap_v3_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" using primary key columns - """ - darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.sys_metadata" - """ - darunrs_near_bitmap_v3_sys_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v3_sys_metadata_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v3_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v3_sys_metadata!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.actions_index" - """ - darunrs_near_bitmap_v5_actions_index( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): [darunrs_near_bitmap_v5_actions_index!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.actions_index" - """ - darunrs_near_bitmap_v5_actions_index_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): darunrs_near_bitmap_v5_actions_index_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.actions_index" using primary key columns - """ - darunrs_near_bitmap_v5_actions_index_by_pk(block_date: date!, receiver_id: bigint!): darunrs_near_bitmap_v5_actions_index - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.actions_index" - """ - darunrs_near_bitmap_v5_actions_index_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v5_actions_index_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_actions_index_bool_exp - ): [darunrs_near_bitmap_v5_actions_index!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.receivers" - """ - darunrs_near_bitmap_v5_receivers( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_receivers_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_receivers_bool_exp - ): [darunrs_near_bitmap_v5_receivers!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.receivers" - """ - darunrs_near_bitmap_v5_receivers_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_receivers_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_receivers_bool_exp - ): darunrs_near_bitmap_v5_receivers_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.receivers" using primary key columns - """ - darunrs_near_bitmap_v5_receivers_by_pk(id: bigint!): darunrs_near_bitmap_v5_receivers - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.receivers" - """ - darunrs_near_bitmap_v5_receivers_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v5_receivers_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_receivers_bool_exp - ): [darunrs_near_bitmap_v5_receivers!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" - """ - darunrs_near_bitmap_v5_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_logs_bool_exp - ): [darunrs_near_bitmap_v5_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_logs" - """ - darunrs_near_bitmap_v5_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_logs_bool_exp - ): darunrs_near_bitmap_v5_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" using primary key columns - """ - darunrs_near_bitmap_v5_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v5_sys_logs - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.sys_logs" - """ - darunrs_near_bitmap_v5_sys_logs_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v5_sys_logs_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_logs_bool_exp - ): [darunrs_near_bitmap_v5_sys_logs!]! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" - """ - darunrs_near_bitmap_v5_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v5_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_metadata" - """ - darunrs_near_bitmap_v5_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_metadata_bool_exp - ): darunrs_near_bitmap_v5_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" using primary key columns - """ - darunrs_near_bitmap_v5_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v5_sys_metadata - - """ - fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.sys_metadata" - """ - darunrs_near_bitmap_v5_sys_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_bitmap_v5_sys_metadata_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_bitmap_v5_sys_metadata_bool_exp - ): [darunrs_near_bitmap_v5_sys_metadata!]! - - """ - fetch data from the table: "darunrs_near_social_feed_test.comments" - """ - darunrs_near_social_feed_test_comments( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): [darunrs_near_social_feed_test_comments!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.comments" - """ - darunrs_near_social_feed_test_comments_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_comments_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_comments_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): darunrs_near_social_feed_test_comments_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.comments" using primary key columns - """ - darunrs_near_social_feed_test_comments_by_pk(id: Int!): darunrs_near_social_feed_test_comments - - """ - fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.comments" - """ - darunrs_near_social_feed_test_comments_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_social_feed_test_comments_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_social_feed_test_comments_bool_exp - ): [darunrs_near_social_feed_test_comments!]! - - """ - fetch data from the table: "darunrs_near_social_feed_test.post_likes" - """ - darunrs_near_social_feed_test_post_likes( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): [darunrs_near_social_feed_test_post_likes!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.post_likes" - """ - darunrs_near_social_feed_test_post_likes_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_post_likes_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): darunrs_near_social_feed_test_post_likes_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.post_likes" using primary key columns - """ - darunrs_near_social_feed_test_post_likes_by_pk(account_id: String!, post_id: Int!): darunrs_near_social_feed_test_post_likes - - """ - fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.post_likes" - """ - darunrs_near_social_feed_test_post_likes_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_social_feed_test_post_likes_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_social_feed_test_post_likes_bool_exp - ): [darunrs_near_social_feed_test_post_likes!]! - - """ - fetch data from the table: "darunrs_near_social_feed_test.posts" - """ - darunrs_near_social_feed_test_posts( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_posts_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_posts_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_posts_bool_exp - ): [darunrs_near_social_feed_test_posts!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.posts" - """ - darunrs_near_social_feed_test_posts_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_posts_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_posts_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_posts_bool_exp - ): darunrs_near_social_feed_test_posts_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.posts" using primary key columns - """ - darunrs_near_social_feed_test_posts_by_pk(id: Int!): darunrs_near_social_feed_test_posts - - """ - fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.posts" - """ - darunrs_near_social_feed_test_posts_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_social_feed_test_posts_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_social_feed_test_posts_bool_exp - ): [darunrs_near_social_feed_test_posts!]! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_logs" - """ - darunrs_near_social_feed_test_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_logs_bool_exp - ): [darunrs_near_social_feed_test_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_logs" - """ - darunrs_near_social_feed_test_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_logs_bool_exp - ): darunrs_near_social_feed_test_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_logs" using primary key columns - """ - darunrs_near_social_feed_test_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_social_feed_test_sys_logs - - """ - fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.sys_logs" - """ - darunrs_near_social_feed_test_sys_logs_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_social_feed_test_sys_logs_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_logs_bool_exp - ): [darunrs_near_social_feed_test_sys_logs!]! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" - """ - darunrs_near_social_feed_test_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_metadata_bool_exp - ): [darunrs_near_social_feed_test_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_metadata" - """ - darunrs_near_social_feed_test_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_metadata_bool_exp - ): darunrs_near_social_feed_test_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" using primary key columns - """ - darunrs_near_social_feed_test_sys_metadata_by_pk(attribute: String!): darunrs_near_social_feed_test_sys_metadata - - """ - fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.sys_metadata" - """ - darunrs_near_social_feed_test_sys_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_social_feed_test_sys_metadata_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_social_feed_test_sys_metadata_bool_exp - ): [darunrs_near_social_feed_test_sys_metadata!]! - - """ - fetch data from the table: "darunrs_near_test_fork.indexer_storage" - """ - darunrs_near_test_fork_indexer_storage( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_indexer_storage_bool_exp - ): [darunrs_near_test_fork_indexer_storage!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.indexer_storage" - """ - darunrs_near_test_fork_indexer_storage_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_indexer_storage_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_indexer_storage_bool_exp - ): darunrs_near_test_fork_indexer_storage_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.indexer_storage" using primary key columns - """ - darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage - - """ - fetch data from the table in a streaming manner: "darunrs_near_test_fork.indexer_storage" - """ - darunrs_near_test_fork_indexer_storage_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_test_fork_indexer_storage_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_test_fork_indexer_storage_bool_exp - ): [darunrs_near_test_fork_indexer_storage!]! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_logs" - """ - darunrs_near_test_fork_sys_logs( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_logs_bool_exp - ): [darunrs_near_test_fork_sys_logs!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.sys_logs" - """ - darunrs_near_test_fork_sys_logs_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_logs_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_logs_bool_exp - ): darunrs_near_test_fork_sys_logs_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_logs" using primary key columns - """ - darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs - - """ - fetch data from the table in a streaming manner: "darunrs_near_test_fork.sys_logs" - """ - darunrs_near_test_fork_sys_logs_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_test_fork_sys_logs_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_logs_bool_exp - ): [darunrs_near_test_fork_sys_logs!]! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_metadata" - """ - darunrs_near_test_fork_sys_metadata( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_metadata_bool_exp - ): [darunrs_near_test_fork_sys_metadata!]! - - """ - fetch aggregated fields from the table: "darunrs_near_test_fork.sys_metadata" - """ - darunrs_near_test_fork_sys_metadata_aggregate( - """distinct select on columns""" - distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [darunrs_near_test_fork_sys_metadata_order_by!] - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_metadata_bool_exp - ): darunrs_near_test_fork_sys_metadata_aggregate! - - """ - fetch data from the table: "darunrs_near_test_fork.sys_metadata" using primary key columns - """ - darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata - - """ - fetch data from the table in a streaming manner: "darunrs_near_test_fork.sys_metadata" - """ - darunrs_near_test_fork_sys_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [darunrs_near_test_fork_sys_metadata_stream_cursor_input]! - - """filter the rows returned""" - where: darunrs_near_test_fork_sys_metadata_bool_exp - ): [darunrs_near_test_fork_sys_metadata!]! -} - -scalar timestamp - -""" -Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. -""" -input timestamp_comparison_exp { - _eq: timestamp - _gt: timestamp - _gte: timestamp - _in: [timestamp!] - _is_null: Boolean - _lt: timestamp - _lte: timestamp - _neq: timestamp - _nin: [timestamp!] -} diff --git a/block-streamer/graphql/dataplatform_near/get_bitmaps_exact.graphql b/block-streamer/graphql/dataplatform_near/get_bitmaps_exact.graphql new file mode 100644 index 000000000..ce99dd603 --- /dev/null +++ b/block-streamer/graphql/dataplatform_near/get_bitmaps_exact.graphql @@ -0,0 +1,6 @@ +query GetBitmapsExact($block_date: date, $receiver_ids: [String!], $limit: Int, $offset: Int) { + dataplatform_near_receiver_blocks_bitmaps(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_in: $receiver_ids}}}) { + bitmap + first_block_height + } +} diff --git a/block-streamer/graphql/dataplatform_near/get_bitmaps_wildcard.graphql b/block-streamer/graphql/dataplatform_near/get_bitmaps_wildcard.graphql new file mode 100644 index 000000000..26ec1790e --- /dev/null +++ b/block-streamer/graphql/dataplatform_near/get_bitmaps_wildcard.graphql @@ -0,0 +1,6 @@ +query GetBitmapsWildcard($block_date: date, $receiver_ids: String, $limit: Int, $offset: Int) { + dataplatform_near_receiver_blocks_bitmaps(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_regex: $receiver_ids}}}) { + bitmap + first_block_height + } +} diff --git a/block-streamer/graphql/dataplatform_near/schema.graphql b/block-streamer/graphql/dataplatform_near/schema.graphql new file mode 100644 index 000000000..0a1cdea0e --- /dev/null +++ b/block-streamer/graphql/dataplatform_near/schema.graphql @@ -0,0 +1,14065 @@ +schema { + query: query_root + subscription: subscription_root +} + +"""whether this query should be cached (Hasura Cloud only)""" +directive @cached( + """measured in seconds""" + ttl: Int! = 60 + + """refresh the cache entry""" + refresh: Boolean! = false +) on QUERY + +""" +Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. +""" +input Boolean_comparison_exp { + _eq: Boolean + _gt: Boolean + _gte: Boolean + _in: [Boolean!] + _is_null: Boolean + _lt: Boolean + _lte: Boolean + _neq: Boolean + _nin: [Boolean!] +} + +""" +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. +""" +input Int_comparison_exp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _is_null: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [String!] + + """does the array contain the given value""" + _contains: [String!] + _eq: [String!] + _gt: [String!] + _gte: [String!] + _in: [[String!]!] + _is_null: Boolean + _lt: [String!] + _lte: [String!] + _neq: [String!] + _nin: [[String!]!] +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + + """does the column match the given case-insensitive pattern""" + _ilike: String + _in: [String!] + + """ + does the column match the given POSIX regular expression, case insensitive + """ + _iregex: String + _is_null: Boolean + + """does the column match the given pattern""" + _like: String + _lt: String + _lte: String + _neq: String + + """does the column NOT match the given case-insensitive pattern""" + _nilike: String + _nin: [String!] + + """ + does the column NOT match the given POSIX regular expression, case insensitive + """ + _niregex: String + + """does the column NOT match the given pattern""" + _nlike: String + + """ + does the column NOT match the given POSIX regular expression, case sensitive + """ + _nregex: String + + """does the column NOT match the given SQL regular expression""" + _nsimilar: String + + """ + does the column match the given POSIX regular expression, case sensitive + """ + _regex: String + + """does the column match the given SQL regular expression""" + _similar: String +} + +scalar bigint + +""" +Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. +""" +input bigint_comparison_exp { + _eq: bigint + _gt: bigint + _gte: bigint + _in: [bigint!] + _is_null: Boolean + _lt: bigint + _lte: bigint + _neq: bigint + _nin: [bigint!] +} + +"""ordering argument of a cursor""" +enum cursor_ordering { + """ascending ordering of the cursor""" + ASC + + """descending ordering of the cursor""" + DESC +} + +""" +columns and relationships of "dataplatform_near_access_keys_v1.access_keys_v1" +""" +type dataplatform_near_access_keys_v1_access_keys_v1 { + account_deleted_by_receipt_id: String + account_id: String! + block_timestamp_utc: timestamp + created_by_receipt_id: String + deleted_by_receipt_id: String + indexed_at_timestamp_utc: timestamp + indexed_lag_in_seconds: numeric + last_updated_block_height: numeric! + permission_kind: String! + public_key: String! +} + +""" +aggregated selection of "dataplatform_near_access_keys_v1.access_keys_v1" +""" +type dataplatform_near_access_keys_v1_access_keys_v1_aggregate { + aggregate: dataplatform_near_access_keys_v1_access_keys_v1_aggregate_fields + nodes: [dataplatform_near_access_keys_v1_access_keys_v1!]! +} + +""" +aggregate fields of "dataplatform_near_access_keys_v1.access_keys_v1" +""" +type dataplatform_near_access_keys_v1_access_keys_v1_aggregate_fields { + avg: dataplatform_near_access_keys_v1_access_keys_v1_avg_fields + count(columns: [dataplatform_near_access_keys_v1_access_keys_v1_select_column!], distinct: Boolean): Int! + max: dataplatform_near_access_keys_v1_access_keys_v1_max_fields + min: dataplatform_near_access_keys_v1_access_keys_v1_min_fields + stddev: dataplatform_near_access_keys_v1_access_keys_v1_stddev_fields + stddev_pop: dataplatform_near_access_keys_v1_access_keys_v1_stddev_pop_fields + stddev_samp: dataplatform_near_access_keys_v1_access_keys_v1_stddev_samp_fields + sum: dataplatform_near_access_keys_v1_access_keys_v1_sum_fields + var_pop: dataplatform_near_access_keys_v1_access_keys_v1_var_pop_fields + var_samp: dataplatform_near_access_keys_v1_access_keys_v1_var_samp_fields + variance: dataplatform_near_access_keys_v1_access_keys_v1_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_avg_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_access_keys_v1.access_keys_v1". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_access_keys_v1_access_keys_v1_bool_exp { + _and: [dataplatform_near_access_keys_v1_access_keys_v1_bool_exp!] + _not: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + _or: [dataplatform_near_access_keys_v1_access_keys_v1_bool_exp!] + account_deleted_by_receipt_id: String_comparison_exp + account_id: String_comparison_exp + block_timestamp_utc: timestamp_comparison_exp + created_by_receipt_id: String_comparison_exp + deleted_by_receipt_id: String_comparison_exp + indexed_at_timestamp_utc: timestamp_comparison_exp + indexed_lag_in_seconds: numeric_comparison_exp + last_updated_block_height: numeric_comparison_exp + permission_kind: String_comparison_exp + public_key: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_max_fields { + account_deleted_by_receipt_id: String + account_id: String + block_timestamp_utc: timestamp + created_by_receipt_id: String + deleted_by_receipt_id: String + indexed_at_timestamp_utc: timestamp + indexed_lag_in_seconds: numeric + last_updated_block_height: numeric + permission_kind: String + public_key: String +} + +"""aggregate min on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_min_fields { + account_deleted_by_receipt_id: String + account_id: String + block_timestamp_utc: timestamp + created_by_receipt_id: String + deleted_by_receipt_id: String + indexed_at_timestamp_utc: timestamp + indexed_lag_in_seconds: numeric + last_updated_block_height: numeric + permission_kind: String + public_key: String +} + +""" +Ordering options when selecting data from "dataplatform_near_access_keys_v1.access_keys_v1". +""" +input dataplatform_near_access_keys_v1_access_keys_v1_order_by { + account_deleted_by_receipt_id: order_by + account_id: order_by + block_timestamp_utc: order_by + created_by_receipt_id: order_by + deleted_by_receipt_id: order_by + indexed_at_timestamp_utc: order_by + indexed_lag_in_seconds: order_by + last_updated_block_height: order_by + permission_kind: order_by + public_key: order_by +} + +""" +select columns of table "dataplatform_near_access_keys_v1.access_keys_v1" +""" +enum dataplatform_near_access_keys_v1_access_keys_v1_select_column { + """column name""" + account_deleted_by_receipt_id + + """column name""" + account_id + + """column name""" + block_timestamp_utc + + """column name""" + created_by_receipt_id + + """column name""" + deleted_by_receipt_id + + """column name""" + indexed_at_timestamp_utc + + """column name""" + indexed_lag_in_seconds + + """column name""" + last_updated_block_height + + """column name""" + permission_kind + + """column name""" + public_key +} + +"""aggregate stddev on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_stddev_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_stddev_pop_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_stddev_samp_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +""" +Streaming cursor of the table "dataplatform_near_access_keys_v1_access_keys_v1" +""" +input dataplatform_near_access_keys_v1_access_keys_v1_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_access_keys_v1_access_keys_v1_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_access_keys_v1_access_keys_v1_stream_cursor_value_input { + account_deleted_by_receipt_id: String + account_id: String + block_timestamp_utc: timestamp + created_by_receipt_id: String + deleted_by_receipt_id: String + indexed_at_timestamp_utc: timestamp + indexed_lag_in_seconds: numeric + last_updated_block_height: numeric + permission_kind: String + public_key: String +} + +"""aggregate sum on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_sum_fields { + indexed_lag_in_seconds: numeric + last_updated_block_height: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_var_pop_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_var_samp_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_access_keys_v1_access_keys_v1_variance_fields { + indexed_lag_in_seconds: Float + last_updated_block_height: Float +} + +""" +columns and relationships of "dataplatform_near_access_keys_v1.sys_logs" +""" +type dataplatform_near_access_keys_v1_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_access_keys_v1.sys_logs" +""" +type dataplatform_near_access_keys_v1_sys_logs_aggregate { + aggregate: dataplatform_near_access_keys_v1_sys_logs_aggregate_fields + nodes: [dataplatform_near_access_keys_v1_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_access_keys_v1.sys_logs" +""" +type dataplatform_near_access_keys_v1_sys_logs_aggregate_fields { + avg: dataplatform_near_access_keys_v1_sys_logs_avg_fields + count(columns: [dataplatform_near_access_keys_v1_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_access_keys_v1_sys_logs_max_fields + min: dataplatform_near_access_keys_v1_sys_logs_min_fields + stddev: dataplatform_near_access_keys_v1_sys_logs_stddev_fields + stddev_pop: dataplatform_near_access_keys_v1_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_access_keys_v1_sys_logs_stddev_samp_fields + sum: dataplatform_near_access_keys_v1_sys_logs_sum_fields + var_pop: dataplatform_near_access_keys_v1_sys_logs_var_pop_fields + var_samp: dataplatform_near_access_keys_v1_sys_logs_var_samp_fields + variance: dataplatform_near_access_keys_v1_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_access_keys_v1_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_access_keys_v1.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_access_keys_v1_sys_logs_bool_exp { + _and: [dataplatform_near_access_keys_v1_sys_logs_bool_exp!] + _not: dataplatform_near_access_keys_v1_sys_logs_bool_exp + _or: [dataplatform_near_access_keys_v1_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_access_keys_v1_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_access_keys_v1_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_access_keys_v1.sys_logs". +""" +input dataplatform_near_access_keys_v1_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_access_keys_v1.sys_logs" +""" +enum dataplatform_near_access_keys_v1_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_access_keys_v1_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_access_keys_v1_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_access_keys_v1_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_access_keys_v1_sys_logs" +""" +input dataplatform_near_access_keys_v1_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_access_keys_v1_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_access_keys_v1_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_access_keys_v1_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_access_keys_v1_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_access_keys_v1_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_access_keys_v1_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_access_keys_v1.sys_metadata" +""" +type dataplatform_near_access_keys_v1_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_access_keys_v1.sys_metadata" +""" +type dataplatform_near_access_keys_v1_sys_metadata_aggregate { + aggregate: dataplatform_near_access_keys_v1_sys_metadata_aggregate_fields + nodes: [dataplatform_near_access_keys_v1_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_access_keys_v1.sys_metadata" +""" +type dataplatform_near_access_keys_v1_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_access_keys_v1_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_access_keys_v1_sys_metadata_max_fields + min: dataplatform_near_access_keys_v1_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_access_keys_v1.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_access_keys_v1_sys_metadata_bool_exp { + _and: [dataplatform_near_access_keys_v1_sys_metadata_bool_exp!] + _not: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + _or: [dataplatform_near_access_keys_v1_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_access_keys_v1_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_access_keys_v1_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_access_keys_v1.sys_metadata". +""" +input dataplatform_near_access_keys_v1_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_access_keys_v1.sys_metadata" +""" +enum dataplatform_near_access_keys_v1_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_access_keys_v1_sys_metadata" +""" +input dataplatform_near_access_keys_v1_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_access_keys_v1_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_access_keys_v1_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_accounts.accounts" +""" +type dataplatform_near_accounts_accounts { + account_id: String! + background_image: String + block_height: Int! + block_timestamp_ms: bigint! + description: String + horizon_tnc: Boolean + image: String + linktree: String + name: String + tags: String +} + +""" +aggregated selection of "dataplatform_near_accounts.accounts" +""" +type dataplatform_near_accounts_accounts_aggregate { + aggregate: dataplatform_near_accounts_accounts_aggregate_fields + nodes: [dataplatform_near_accounts_accounts!]! +} + +""" +aggregate fields of "dataplatform_near_accounts.accounts" +""" +type dataplatform_near_accounts_accounts_aggregate_fields { + avg: dataplatform_near_accounts_accounts_avg_fields + count(columns: [dataplatform_near_accounts_accounts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_accounts_accounts_max_fields + min: dataplatform_near_accounts_accounts_min_fields + stddev: dataplatform_near_accounts_accounts_stddev_fields + stddev_pop: dataplatform_near_accounts_accounts_stddev_pop_fields + stddev_samp: dataplatform_near_accounts_accounts_stddev_samp_fields + sum: dataplatform_near_accounts_accounts_sum_fields + var_pop: dataplatform_near_accounts_accounts_var_pop_fields + var_samp: dataplatform_near_accounts_accounts_var_samp_fields + variance: dataplatform_near_accounts_accounts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_accounts_accounts_avg_fields { + block_height: Float + block_timestamp_ms: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_accounts.accounts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_accounts_accounts_bool_exp { + _and: [dataplatform_near_accounts_accounts_bool_exp!] + _not: dataplatform_near_accounts_accounts_bool_exp + _or: [dataplatform_near_accounts_accounts_bool_exp!] + account_id: String_comparison_exp + background_image: String_comparison_exp + block_height: Int_comparison_exp + block_timestamp_ms: bigint_comparison_exp + description: String_comparison_exp + horizon_tnc: Boolean_comparison_exp + image: String_comparison_exp + linktree: String_comparison_exp + name: String_comparison_exp + tags: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_accounts_accounts_max_fields { + account_id: String + background_image: String + block_height: Int + block_timestamp_ms: bigint + description: String + image: String + linktree: String + name: String + tags: String +} + +"""aggregate min on columns""" +type dataplatform_near_accounts_accounts_min_fields { + account_id: String + background_image: String + block_height: Int + block_timestamp_ms: bigint + description: String + image: String + linktree: String + name: String + tags: String +} + +""" +Ordering options when selecting data from "dataplatform_near_accounts.accounts". +""" +input dataplatform_near_accounts_accounts_order_by { + account_id: order_by + background_image: order_by + block_height: order_by + block_timestamp_ms: order_by + description: order_by + horizon_tnc: order_by + image: order_by + linktree: order_by + name: order_by + tags: order_by +} + +""" +select columns of table "dataplatform_near_accounts.accounts" +""" +enum dataplatform_near_accounts_accounts_select_column { + """column name""" + account_id + + """column name""" + background_image + + """column name""" + block_height + + """column name""" + block_timestamp_ms + + """column name""" + description + + """column name""" + horizon_tnc + + """column name""" + image + + """column name""" + linktree + + """column name""" + name + + """column name""" + tags +} + +"""aggregate stddev on columns""" +type dataplatform_near_accounts_accounts_stddev_fields { + block_height: Float + block_timestamp_ms: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_accounts_accounts_stddev_pop_fields { + block_height: Float + block_timestamp_ms: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_accounts_accounts_stddev_samp_fields { + block_height: Float + block_timestamp_ms: Float +} + +""" +Streaming cursor of the table "dataplatform_near_accounts_accounts" +""" +input dataplatform_near_accounts_accounts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_accounts_accounts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_accounts_accounts_stream_cursor_value_input { + account_id: String + background_image: String + block_height: Int + block_timestamp_ms: bigint + description: String + horizon_tnc: Boolean + image: String + linktree: String + name: String + tags: String +} + +"""aggregate sum on columns""" +type dataplatform_near_accounts_accounts_sum_fields { + block_height: Int + block_timestamp_ms: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_accounts_accounts_var_pop_fields { + block_height: Float + block_timestamp_ms: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_accounts_accounts_var_samp_fields { + block_height: Float + block_timestamp_ms: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_accounts_accounts_variance_fields { + block_height: Float + block_timestamp_ms: Float +} + +""" +columns and relationships of "dataplatform_near_accounts.sys_logs" +""" +type dataplatform_near_accounts_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_accounts.sys_logs" +""" +type dataplatform_near_accounts_sys_logs_aggregate { + aggregate: dataplatform_near_accounts_sys_logs_aggregate_fields + nodes: [dataplatform_near_accounts_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_accounts.sys_logs" +""" +type dataplatform_near_accounts_sys_logs_aggregate_fields { + avg: dataplatform_near_accounts_sys_logs_avg_fields + count(columns: [dataplatform_near_accounts_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_accounts_sys_logs_max_fields + min: dataplatform_near_accounts_sys_logs_min_fields + stddev: dataplatform_near_accounts_sys_logs_stddev_fields + stddev_pop: dataplatform_near_accounts_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_accounts_sys_logs_stddev_samp_fields + sum: dataplatform_near_accounts_sys_logs_sum_fields + var_pop: dataplatform_near_accounts_sys_logs_var_pop_fields + var_samp: dataplatform_near_accounts_sys_logs_var_samp_fields + variance: dataplatform_near_accounts_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_accounts_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_accounts.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_accounts_sys_logs_bool_exp { + _and: [dataplatform_near_accounts_sys_logs_bool_exp!] + _not: dataplatform_near_accounts_sys_logs_bool_exp + _or: [dataplatform_near_accounts_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_accounts_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_accounts_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_accounts.sys_logs". +""" +input dataplatform_near_accounts_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_accounts.sys_logs" +""" +enum dataplatform_near_accounts_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_accounts_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_accounts_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_accounts_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_accounts_sys_logs" +""" +input dataplatform_near_accounts_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_accounts_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_accounts_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_accounts_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_accounts_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_accounts_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_accounts_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_accounts.sys_metadata" +""" +type dataplatform_near_accounts_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_accounts.sys_metadata" +""" +type dataplatform_near_accounts_sys_metadata_aggregate { + aggregate: dataplatform_near_accounts_sys_metadata_aggregate_fields + nodes: [dataplatform_near_accounts_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_accounts.sys_metadata" +""" +type dataplatform_near_accounts_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_accounts_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_accounts_sys_metadata_max_fields + min: dataplatform_near_accounts_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_accounts.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_accounts_sys_metadata_bool_exp { + _and: [dataplatform_near_accounts_sys_metadata_bool_exp!] + _not: dataplatform_near_accounts_sys_metadata_bool_exp + _or: [dataplatform_near_accounts_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_accounts_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_accounts_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_accounts.sys_metadata". +""" +input dataplatform_near_accounts_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_accounts.sys_metadata" +""" +enum dataplatform_near_accounts_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_accounts_sys_metadata" +""" +input dataplatform_near_accounts_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_accounts_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_accounts_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_components.metadata" +""" +type dataplatform_near_components_metadata { + block_height: bigint! + block_timestamp_ms: bigint! + code: String! + component_author_id: String! + component_id: String! + component_name: String! + description: String + fork_count: Int! + fork_of_block_height: bigint + fork_of_source: String + image_ipfs_cid: String + name: String + star_count: Int! + tags: String + website: String +} + +""" +aggregated selection of "dataplatform_near_components.metadata" +""" +type dataplatform_near_components_metadata_aggregate { + aggregate: dataplatform_near_components_metadata_aggregate_fields + nodes: [dataplatform_near_components_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_components.metadata" +""" +type dataplatform_near_components_metadata_aggregate_fields { + avg: dataplatform_near_components_metadata_avg_fields + count(columns: [dataplatform_near_components_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_components_metadata_max_fields + min: dataplatform_near_components_metadata_min_fields + stddev: dataplatform_near_components_metadata_stddev_fields + stddev_pop: dataplatform_near_components_metadata_stddev_pop_fields + stddev_samp: dataplatform_near_components_metadata_stddev_samp_fields + sum: dataplatform_near_components_metadata_sum_fields + var_pop: dataplatform_near_components_metadata_var_pop_fields + var_samp: dataplatform_near_components_metadata_var_samp_fields + variance: dataplatform_near_components_metadata_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_components_metadata_avg_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_components.metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_components_metadata_bool_exp { + _and: [dataplatform_near_components_metadata_bool_exp!] + _not: dataplatform_near_components_metadata_bool_exp + _or: [dataplatform_near_components_metadata_bool_exp!] + block_height: bigint_comparison_exp + block_timestamp_ms: bigint_comparison_exp + code: String_comparison_exp + component_author_id: String_comparison_exp + component_id: String_comparison_exp + component_name: String_comparison_exp + description: String_comparison_exp + fork_count: Int_comparison_exp + fork_of_block_height: bigint_comparison_exp + fork_of_source: String_comparison_exp + image_ipfs_cid: String_comparison_exp + name: String_comparison_exp + star_count: Int_comparison_exp + tags: String_comparison_exp + website: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_components_metadata_max_fields { + block_height: bigint + block_timestamp_ms: bigint + code: String + component_author_id: String + component_id: String + component_name: String + description: String + fork_count: Int + fork_of_block_height: bigint + fork_of_source: String + image_ipfs_cid: String + name: String + star_count: Int + tags: String + website: String +} + +"""aggregate min on columns""" +type dataplatform_near_components_metadata_min_fields { + block_height: bigint + block_timestamp_ms: bigint + code: String + component_author_id: String + component_id: String + component_name: String + description: String + fork_count: Int + fork_of_block_height: bigint + fork_of_source: String + image_ipfs_cid: String + name: String + star_count: Int + tags: String + website: String +} + +""" +Ordering options when selecting data from "dataplatform_near_components.metadata". +""" +input dataplatform_near_components_metadata_order_by { + block_height: order_by + block_timestamp_ms: order_by + code: order_by + component_author_id: order_by + component_id: order_by + component_name: order_by + description: order_by + fork_count: order_by + fork_of_block_height: order_by + fork_of_source: order_by + image_ipfs_cid: order_by + name: order_by + star_count: order_by + tags: order_by + website: order_by +} + +""" +select columns of table "dataplatform_near_components.metadata" +""" +enum dataplatform_near_components_metadata_select_column { + """column name""" + block_height + + """column name""" + block_timestamp_ms + + """column name""" + code + + """column name""" + component_author_id + + """column name""" + component_id + + """column name""" + component_name + + """column name""" + description + + """column name""" + fork_count + + """column name""" + fork_of_block_height + + """column name""" + fork_of_source + + """column name""" + image_ipfs_cid + + """column name""" + name + + """column name""" + star_count + + """column name""" + tags + + """column name""" + website +} + +"""aggregate stddev on columns""" +type dataplatform_near_components_metadata_stddev_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_components_metadata_stddev_pop_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_components_metadata_stddev_samp_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +""" +Streaming cursor of the table "dataplatform_near_components_metadata" +""" +input dataplatform_near_components_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_components_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_components_metadata_stream_cursor_value_input { + block_height: bigint + block_timestamp_ms: bigint + code: String + component_author_id: String + component_id: String + component_name: String + description: String + fork_count: Int + fork_of_block_height: bigint + fork_of_source: String + image_ipfs_cid: String + name: String + star_count: Int + tags: String + website: String +} + +"""aggregate sum on columns""" +type dataplatform_near_components_metadata_sum_fields { + block_height: bigint + block_timestamp_ms: bigint + fork_count: Int + fork_of_block_height: bigint + star_count: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_components_metadata_var_pop_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_components_metadata_var_samp_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_components_metadata_variance_fields { + block_height: Float + block_timestamp_ms: Float + fork_count: Float + fork_of_block_height: Float + star_count: Float +} + +""" +columns and relationships of "dataplatform_near_components.sys_logs" +""" +type dataplatform_near_components_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_components.sys_logs" +""" +type dataplatform_near_components_sys_logs_aggregate { + aggregate: dataplatform_near_components_sys_logs_aggregate_fields + nodes: [dataplatform_near_components_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_components.sys_logs" +""" +type dataplatform_near_components_sys_logs_aggregate_fields { + avg: dataplatform_near_components_sys_logs_avg_fields + count(columns: [dataplatform_near_components_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_components_sys_logs_max_fields + min: dataplatform_near_components_sys_logs_min_fields + stddev: dataplatform_near_components_sys_logs_stddev_fields + stddev_pop: dataplatform_near_components_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_components_sys_logs_stddev_samp_fields + sum: dataplatform_near_components_sys_logs_sum_fields + var_pop: dataplatform_near_components_sys_logs_var_pop_fields + var_samp: dataplatform_near_components_sys_logs_var_samp_fields + variance: dataplatform_near_components_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_components_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_components.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_components_sys_logs_bool_exp { + _and: [dataplatform_near_components_sys_logs_bool_exp!] + _not: dataplatform_near_components_sys_logs_bool_exp + _or: [dataplatform_near_components_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_components_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_components_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_components.sys_logs". +""" +input dataplatform_near_components_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_components.sys_logs" +""" +enum dataplatform_near_components_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_components_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_components_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_components_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_components_sys_logs" +""" +input dataplatform_near_components_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_components_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_components_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_components_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_components_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_components_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_components_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_components.sys_metadata" +""" +type dataplatform_near_components_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_components.sys_metadata" +""" +type dataplatform_near_components_sys_metadata_aggregate { + aggregate: dataplatform_near_components_sys_metadata_aggregate_fields + nodes: [dataplatform_near_components_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_components.sys_metadata" +""" +type dataplatform_near_components_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_components_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_components_sys_metadata_max_fields + min: dataplatform_near_components_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_components.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_components_sys_metadata_bool_exp { + _and: [dataplatform_near_components_sys_metadata_bool_exp!] + _not: dataplatform_near_components_sys_metadata_bool_exp + _or: [dataplatform_near_components_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_components_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_components_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_components.sys_metadata". +""" +input dataplatform_near_components_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_components.sys_metadata" +""" +enum dataplatform_near_components_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_components_sys_metadata" +""" +input dataplatform_near_components_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_components_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_components_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_components.versions" +""" +type dataplatform_near_components_versions { + block_height: Int! + block_timestamp_ms: bigint! + code: String! + component_author_id: String! + component_name: String! + id: Int! + lines_added: Int! + lines_removed: Int! + receipt_id: String! +} + +""" +aggregated selection of "dataplatform_near_components.versions" +""" +type dataplatform_near_components_versions_aggregate { + aggregate: dataplatform_near_components_versions_aggregate_fields + nodes: [dataplatform_near_components_versions!]! +} + +""" +aggregate fields of "dataplatform_near_components.versions" +""" +type dataplatform_near_components_versions_aggregate_fields { + avg: dataplatform_near_components_versions_avg_fields + count(columns: [dataplatform_near_components_versions_select_column!], distinct: Boolean): Int! + max: dataplatform_near_components_versions_max_fields + min: dataplatform_near_components_versions_min_fields + stddev: dataplatform_near_components_versions_stddev_fields + stddev_pop: dataplatform_near_components_versions_stddev_pop_fields + stddev_samp: dataplatform_near_components_versions_stddev_samp_fields + sum: dataplatform_near_components_versions_sum_fields + var_pop: dataplatform_near_components_versions_var_pop_fields + var_samp: dataplatform_near_components_versions_var_samp_fields + variance: dataplatform_near_components_versions_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_components_versions_avg_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_components.versions". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_components_versions_bool_exp { + _and: [dataplatform_near_components_versions_bool_exp!] + _not: dataplatform_near_components_versions_bool_exp + _or: [dataplatform_near_components_versions_bool_exp!] + block_height: Int_comparison_exp + block_timestamp_ms: bigint_comparison_exp + code: String_comparison_exp + component_author_id: String_comparison_exp + component_name: String_comparison_exp + id: Int_comparison_exp + lines_added: Int_comparison_exp + lines_removed: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_components_versions_max_fields { + block_height: Int + block_timestamp_ms: bigint + code: String + component_author_id: String + component_name: String + id: Int + lines_added: Int + lines_removed: Int + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_components_versions_min_fields { + block_height: Int + block_timestamp_ms: bigint + code: String + component_author_id: String + component_name: String + id: Int + lines_added: Int + lines_removed: Int + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_components.versions". +""" +input dataplatform_near_components_versions_order_by { + block_height: order_by + block_timestamp_ms: order_by + code: order_by + component_author_id: order_by + component_name: order_by + id: order_by + lines_added: order_by + lines_removed: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_components.versions" +""" +enum dataplatform_near_components_versions_select_column { + """column name""" + block_height + + """column name""" + block_timestamp_ms + + """column name""" + code + + """column name""" + component_author_id + + """column name""" + component_name + + """column name""" + id + + """column name""" + lines_added + + """column name""" + lines_removed + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_components_versions_stddev_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_components_versions_stddev_pop_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_components_versions_stddev_samp_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +""" +Streaming cursor of the table "dataplatform_near_components_versions" +""" +input dataplatform_near_components_versions_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_components_versions_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_components_versions_stream_cursor_value_input { + block_height: Int + block_timestamp_ms: bigint + code: String + component_author_id: String + component_name: String + id: Int + lines_added: Int + lines_removed: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_components_versions_sum_fields { + block_height: Int + block_timestamp_ms: bigint + id: Int + lines_added: Int + lines_removed: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_components_versions_var_pop_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_components_versions_var_samp_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_components_versions_variance_fields { + block_height: Float + block_timestamp_ms: Float + id: Float + lines_added: Float + lines_removed: Float +} + +""" +columns and relationships of "dataplatform_near_entities.entities" +""" +type dataplatform_near_entities_entities { + account_id: String! + attributes( + """JSON select path""" + path: String + ): jsonb + created_at: timestamptz! + description: String + display_name: String + entity_type: String! + id: Int! + logo_url: String + name: String! + namespace: String! + stars: Int! + tags: [String!] + updated_at: timestamptz! +} + +""" +aggregated selection of "dataplatform_near_entities.entities" +""" +type dataplatform_near_entities_entities_aggregate { + aggregate: dataplatform_near_entities_entities_aggregate_fields + nodes: [dataplatform_near_entities_entities!]! +} + +""" +aggregate fields of "dataplatform_near_entities.entities" +""" +type dataplatform_near_entities_entities_aggregate_fields { + avg: dataplatform_near_entities_entities_avg_fields + count(columns: [dataplatform_near_entities_entities_select_column!], distinct: Boolean): Int! + max: dataplatform_near_entities_entities_max_fields + min: dataplatform_near_entities_entities_min_fields + stddev: dataplatform_near_entities_entities_stddev_fields + stddev_pop: dataplatform_near_entities_entities_stddev_pop_fields + stddev_samp: dataplatform_near_entities_entities_stddev_samp_fields + sum: dataplatform_near_entities_entities_sum_fields + var_pop: dataplatform_near_entities_entities_var_pop_fields + var_samp: dataplatform_near_entities_entities_var_samp_fields + variance: dataplatform_near_entities_entities_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_entities_entities_avg_fields { + id: Float + stars: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_entities.entities". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_entities_entities_bool_exp { + _and: [dataplatform_near_entities_entities_bool_exp!] + _not: dataplatform_near_entities_entities_bool_exp + _or: [dataplatform_near_entities_entities_bool_exp!] + account_id: String_comparison_exp + attributes: jsonb_comparison_exp + created_at: timestamptz_comparison_exp + description: String_comparison_exp + display_name: String_comparison_exp + entity_type: String_comparison_exp + id: Int_comparison_exp + logo_url: String_comparison_exp + name: String_comparison_exp + namespace: String_comparison_exp + stars: Int_comparison_exp + tags: String_array_comparison_exp + updated_at: timestamptz_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_entities_entities_max_fields { + account_id: String + created_at: timestamptz + description: String + display_name: String + entity_type: String + id: Int + logo_url: String + name: String + namespace: String + stars: Int + tags: [String!] + updated_at: timestamptz +} + +"""aggregate min on columns""" +type dataplatform_near_entities_entities_min_fields { + account_id: String + created_at: timestamptz + description: String + display_name: String + entity_type: String + id: Int + logo_url: String + name: String + namespace: String + stars: Int + tags: [String!] + updated_at: timestamptz +} + +""" +Ordering options when selecting data from "dataplatform_near_entities.entities". +""" +input dataplatform_near_entities_entities_order_by { + account_id: order_by + attributes: order_by + created_at: order_by + description: order_by + display_name: order_by + entity_type: order_by + id: order_by + logo_url: order_by + name: order_by + namespace: order_by + stars: order_by + tags: order_by + updated_at: order_by +} + +""" +select columns of table "dataplatform_near_entities.entities" +""" +enum dataplatform_near_entities_entities_select_column { + """column name""" + account_id + + """column name""" + attributes + + """column name""" + created_at + + """column name""" + description + + """column name""" + display_name + + """column name""" + entity_type + + """column name""" + id + + """column name""" + logo_url + + """column name""" + name + + """column name""" + namespace + + """column name""" + stars + + """column name""" + tags + + """column name""" + updated_at +} + +"""aggregate stddev on columns""" +type dataplatform_near_entities_entities_stddev_fields { + id: Float + stars: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_entities_entities_stddev_pop_fields { + id: Float + stars: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_entities_entities_stddev_samp_fields { + id: Float + stars: Float +} + +""" +Streaming cursor of the table "dataplatform_near_entities_entities" +""" +input dataplatform_near_entities_entities_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_entities_entities_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_entities_entities_stream_cursor_value_input { + account_id: String + attributes: jsonb + created_at: timestamptz + description: String + display_name: String + entity_type: String + id: Int + logo_url: String + name: String + namespace: String + stars: Int + tags: [String!] + updated_at: timestamptz +} + +"""aggregate sum on columns""" +type dataplatform_near_entities_entities_sum_fields { + id: Int + stars: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_entities_entities_var_pop_fields { + id: Float + stars: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_entities_entities_var_samp_fields { + id: Float + stars: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_entities_entities_variance_fields { + id: Float + stars: Float +} + +""" +columns and relationships of "dataplatform_near_entities.sys_logs" +""" +type dataplatform_near_entities_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_entities.sys_logs" +""" +type dataplatform_near_entities_sys_logs_aggregate { + aggregate: dataplatform_near_entities_sys_logs_aggregate_fields + nodes: [dataplatform_near_entities_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_entities.sys_logs" +""" +type dataplatform_near_entities_sys_logs_aggregate_fields { + avg: dataplatform_near_entities_sys_logs_avg_fields + count(columns: [dataplatform_near_entities_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_entities_sys_logs_max_fields + min: dataplatform_near_entities_sys_logs_min_fields + stddev: dataplatform_near_entities_sys_logs_stddev_fields + stddev_pop: dataplatform_near_entities_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_entities_sys_logs_stddev_samp_fields + sum: dataplatform_near_entities_sys_logs_sum_fields + var_pop: dataplatform_near_entities_sys_logs_var_pop_fields + var_samp: dataplatform_near_entities_sys_logs_var_samp_fields + variance: dataplatform_near_entities_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_entities_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_entities.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_entities_sys_logs_bool_exp { + _and: [dataplatform_near_entities_sys_logs_bool_exp!] + _not: dataplatform_near_entities_sys_logs_bool_exp + _or: [dataplatform_near_entities_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_entities_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_entities_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_entities.sys_logs". +""" +input dataplatform_near_entities_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_entities.sys_logs" +""" +enum dataplatform_near_entities_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_entities_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_entities_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_entities_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_entities_sys_logs" +""" +input dataplatform_near_entities_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_entities_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_entities_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_entities_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_entities_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_entities_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_entities_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_entities.sys_metadata" +""" +type dataplatform_near_entities_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_entities.sys_metadata" +""" +type dataplatform_near_entities_sys_metadata_aggregate { + aggregate: dataplatform_near_entities_sys_metadata_aggregate_fields + nodes: [dataplatform_near_entities_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_entities.sys_metadata" +""" +type dataplatform_near_entities_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_entities_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_entities_sys_metadata_max_fields + min: dataplatform_near_entities_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_entities.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_entities_sys_metadata_bool_exp { + _and: [dataplatform_near_entities_sys_metadata_bool_exp!] + _not: dataplatform_near_entities_sys_metadata_bool_exp + _or: [dataplatform_near_entities_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_entities_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_entities_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_entities.sys_metadata". +""" +input dataplatform_near_entities_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_entities.sys_metadata" +""" +enum dataplatform_near_entities_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_entities_sys_metadata" +""" +input dataplatform_near_entities_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_entities_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_entities_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_entities.tags" +""" +type dataplatform_near_entities_tags { + count: bigint + entity_type: String + namespace: String + tag: String +} + +""" +aggregated selection of "dataplatform_near_entities.tags" +""" +type dataplatform_near_entities_tags_aggregate { + aggregate: dataplatform_near_entities_tags_aggregate_fields + nodes: [dataplatform_near_entities_tags!]! +} + +""" +aggregate fields of "dataplatform_near_entities.tags" +""" +type dataplatform_near_entities_tags_aggregate_fields { + avg: dataplatform_near_entities_tags_avg_fields + count(columns: [dataplatform_near_entities_tags_select_column!], distinct: Boolean): Int! + max: dataplatform_near_entities_tags_max_fields + min: dataplatform_near_entities_tags_min_fields + stddev: dataplatform_near_entities_tags_stddev_fields + stddev_pop: dataplatform_near_entities_tags_stddev_pop_fields + stddev_samp: dataplatform_near_entities_tags_stddev_samp_fields + sum: dataplatform_near_entities_tags_sum_fields + var_pop: dataplatform_near_entities_tags_var_pop_fields + var_samp: dataplatform_near_entities_tags_var_samp_fields + variance: dataplatform_near_entities_tags_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_entities_tags_avg_fields { + count: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_entities.tags". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_entities_tags_bool_exp { + _and: [dataplatform_near_entities_tags_bool_exp!] + _not: dataplatform_near_entities_tags_bool_exp + _or: [dataplatform_near_entities_tags_bool_exp!] + count: bigint_comparison_exp + entity_type: String_comparison_exp + namespace: String_comparison_exp + tag: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_entities_tags_max_fields { + count: bigint + entity_type: String + namespace: String + tag: String +} + +"""aggregate min on columns""" +type dataplatform_near_entities_tags_min_fields { + count: bigint + entity_type: String + namespace: String + tag: String +} + +""" +Ordering options when selecting data from "dataplatform_near_entities.tags". +""" +input dataplatform_near_entities_tags_order_by { + count: order_by + entity_type: order_by + namespace: order_by + tag: order_by +} + +""" +select columns of table "dataplatform_near_entities.tags" +""" +enum dataplatform_near_entities_tags_select_column { + """column name""" + count + + """column name""" + entity_type + + """column name""" + namespace + + """column name""" + tag +} + +"""aggregate stddev on columns""" +type dataplatform_near_entities_tags_stddev_fields { + count: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_entities_tags_stddev_pop_fields { + count: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_entities_tags_stddev_samp_fields { + count: Float +} + +""" +Streaming cursor of the table "dataplatform_near_entities_tags" +""" +input dataplatform_near_entities_tags_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_entities_tags_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_entities_tags_stream_cursor_value_input { + count: bigint + entity_type: String + namespace: String + tag: String +} + +"""aggregate sum on columns""" +type dataplatform_near_entities_tags_sum_fields { + count: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_entities_tags_var_pop_fields { + count: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_entities_tags_var_samp_fields { + count: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_entities_tags_variance_fields { + count: Float +} + +""" +columns and relationships of "dataplatform_near_feed.moderated_comments" +""" +type dataplatform_near_feed_moderated_comments { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + + """An object relationship""" + post: dataplatform_near_feed_moderated_posts + post_id: Int + receipt_id: String +} + +""" +aggregated selection of "dataplatform_near_feed.moderated_comments" +""" +type dataplatform_near_feed_moderated_comments_aggregate { + aggregate: dataplatform_near_feed_moderated_comments_aggregate_fields + nodes: [dataplatform_near_feed_moderated_comments!]! +} + +input dataplatform_near_feed_moderated_comments_aggregate_bool_exp { + count: dataplatform_near_feed_moderated_comments_aggregate_bool_exp_count +} + +input dataplatform_near_feed_moderated_comments_aggregate_bool_exp_count { + arguments: [dataplatform_near_feed_moderated_comments_select_column!] + distinct: Boolean + filter: dataplatform_near_feed_moderated_comments_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "dataplatform_near_feed.moderated_comments" +""" +type dataplatform_near_feed_moderated_comments_aggregate_fields { + avg: dataplatform_near_feed_moderated_comments_avg_fields + count(columns: [dataplatform_near_feed_moderated_comments_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_moderated_comments_max_fields + min: dataplatform_near_feed_moderated_comments_min_fields + stddev: dataplatform_near_feed_moderated_comments_stddev_fields + stddev_pop: dataplatform_near_feed_moderated_comments_stddev_pop_fields + stddev_samp: dataplatform_near_feed_moderated_comments_stddev_samp_fields + sum: dataplatform_near_feed_moderated_comments_sum_fields + var_pop: dataplatform_near_feed_moderated_comments_var_pop_fields + var_samp: dataplatform_near_feed_moderated_comments_var_samp_fields + variance: dataplatform_near_feed_moderated_comments_variance_fields +} + +""" +order by aggregate values of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_aggregate_order_by { + avg: dataplatform_near_feed_moderated_comments_avg_order_by + count: order_by + max: dataplatform_near_feed_moderated_comments_max_order_by + min: dataplatform_near_feed_moderated_comments_min_order_by + stddev: dataplatform_near_feed_moderated_comments_stddev_order_by + stddev_pop: dataplatform_near_feed_moderated_comments_stddev_pop_order_by + stddev_samp: dataplatform_near_feed_moderated_comments_stddev_samp_order_by + sum: dataplatform_near_feed_moderated_comments_sum_order_by + var_pop: dataplatform_near_feed_moderated_comments_var_pop_order_by + var_samp: dataplatform_near_feed_moderated_comments_var_samp_order_by + variance: dataplatform_near_feed_moderated_comments_variance_order_by +} + +"""aggregate avg on columns""" +type dataplatform_near_feed_moderated_comments_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by avg() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_avg_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.moderated_comments". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_moderated_comments_bool_exp { + _and: [dataplatform_near_feed_moderated_comments_bool_exp!] + _not: dataplatform_near_feed_moderated_comments_bool_exp + _or: [dataplatform_near_feed_moderated_comments_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + post: dataplatform_near_feed_moderated_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_moderated_comments_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type dataplatform_near_feed_moderated_comments_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.moderated_comments". +""" +input dataplatform_near_feed_moderated_comments_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post: dataplatform_near_feed_moderated_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_feed.moderated_comments" +""" +enum dataplatform_near_feed_moderated_comments_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_feed_moderated_comments_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_stddev_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_feed_moderated_comments_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_feed_moderated_comments_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "dataplatform_near_feed_moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_moderated_comments_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_moderated_comments_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_feed_moderated_comments_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +""" +order by sum() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_sum_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type dataplatform_near_feed_moderated_comments_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type dataplatform_near_feed_moderated_comments_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type dataplatform_near_feed_moderated_comments_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by variance() on columns of table "dataplatform_near_feed.moderated_comments" +""" +input dataplatform_near_feed_moderated_comments_variance_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +columns and relationships of "dataplatform_near_feed.moderated_posts" +""" +type dataplatform_near_feed_moderated_posts { + """An object relationship""" + account: dataplatform_near_accounts_accounts + account_id: String + accounts_liked( + """JSON select path""" + path: String + ): jsonb + block_height: numeric + block_timestamp: numeric + + """An array relationship""" + comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): [dataplatform_near_feed_moderated_comments!]! + + """An aggregate relationship""" + comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): dataplatform_near_feed_moderated_comments_aggregate! + content: String + id: Int + last_comment_timestamp: numeric + + """An array relationship""" + post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """An aggregate relationship""" + post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + receipt_id: String + + """An object relationship""" + verifications: dataplatform_near_verifications_account +} + +""" +aggregated selection of "dataplatform_near_feed.moderated_posts" +""" +type dataplatform_near_feed_moderated_posts_aggregate { + aggregate: dataplatform_near_feed_moderated_posts_aggregate_fields + nodes: [dataplatform_near_feed_moderated_posts!]! +} + +""" +aggregate fields of "dataplatform_near_feed.moderated_posts" +""" +type dataplatform_near_feed_moderated_posts_aggregate_fields { + avg: dataplatform_near_feed_moderated_posts_avg_fields + count(columns: [dataplatform_near_feed_moderated_posts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_moderated_posts_max_fields + min: dataplatform_near_feed_moderated_posts_min_fields + stddev: dataplatform_near_feed_moderated_posts_stddev_fields + stddev_pop: dataplatform_near_feed_moderated_posts_stddev_pop_fields + stddev_samp: dataplatform_near_feed_moderated_posts_stddev_samp_fields + sum: dataplatform_near_feed_moderated_posts_sum_fields + var_pop: dataplatform_near_feed_moderated_posts_var_pop_fields + var_samp: dataplatform_near_feed_moderated_posts_var_samp_fields + variance: dataplatform_near_feed_moderated_posts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_feed_moderated_posts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.moderated_posts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_moderated_posts_bool_exp { + _and: [dataplatform_near_feed_moderated_posts_bool_exp!] + _not: dataplatform_near_feed_moderated_posts_bool_exp + _or: [dataplatform_near_feed_moderated_posts_bool_exp!] + account: dataplatform_near_accounts_accounts_bool_exp + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + comments: dataplatform_near_feed_moderated_comments_bool_exp + comments_aggregate: dataplatform_near_feed_moderated_comments_aggregate_bool_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + post_likes: dataplatform_near_social_feed_post_likes_bool_exp + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_bool_exp + receipt_id: String_comparison_exp + verifications: dataplatform_near_verifications_account_bool_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_moderated_posts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_feed_moderated_posts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.moderated_posts". +""" +input dataplatform_near_feed_moderated_posts_order_by { + account: dataplatform_near_accounts_accounts_order_by + account_id: order_by + accounts_liked: order_by + block_height: order_by + block_timestamp: order_by + comments_aggregate: dataplatform_near_feed_moderated_comments_aggregate_order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_order_by + receipt_id: order_by + verifications: dataplatform_near_verifications_account_order_by +} + +""" +select columns of table "dataplatform_near_feed.moderated_posts" +""" +enum dataplatform_near_feed_moderated_posts_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_feed_moderated_posts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_feed_moderated_posts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_feed_moderated_posts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Streaming cursor of the table "dataplatform_near_feed_moderated_posts" +""" +input dataplatform_near_feed_moderated_posts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_moderated_posts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_moderated_posts_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_feed_moderated_posts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_feed_moderated_posts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_feed_moderated_posts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_feed_moderated_posts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +columns and relationships of "dataplatform_near_feed.moderated_posts_with_reposts_feed" +""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed { + """An object relationship""" + account: dataplatform_near_accounts_accounts + account_id: String + accounts_liked( + """JSON select path""" + path: String + ): jsonb + block_height: numeric + block_timestamp: numeric + + """An array relationship""" + comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): [dataplatform_near_feed_moderated_comments!]! + + """An aggregate relationship""" + comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): dataplatform_near_feed_moderated_comments_aggregate! + content: String + id: Int + last_comment_timestamp: numeric + + """An array relationship""" + post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """An aggregate relationship""" + post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + receipt_id: String + + """An object relationship""" + verifications: dataplatform_near_verifications_account +} + +""" +aggregated selection of "dataplatform_near_feed.moderated_posts_with_reposts_feed" +""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate { + aggregate: dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate_fields + nodes: [dataplatform_near_feed_moderated_posts_with_reposts_feed!]! +} + +""" +aggregate fields of "dataplatform_near_feed.moderated_posts_with_reposts_feed" +""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate_fields { + avg: dataplatform_near_feed_moderated_posts_with_reposts_feed_avg_fields + count(columns: [dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_moderated_posts_with_reposts_feed_max_fields + min: dataplatform_near_feed_moderated_posts_with_reposts_feed_min_fields + stddev: dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_fields + stddev_pop: dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_pop_fields + stddev_samp: dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_samp_fields + sum: dataplatform_near_feed_moderated_posts_with_reposts_feed_sum_fields + var_pop: dataplatform_near_feed_moderated_posts_with_reposts_feed_var_pop_fields + var_samp: dataplatform_near_feed_moderated_posts_with_reposts_feed_var_samp_fields + variance: dataplatform_near_feed_moderated_posts_with_reposts_feed_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.moderated_posts_with_reposts_feed". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp { + _and: [dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp!] + _not: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + _or: [dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp!] + account: dataplatform_near_accounts_accounts_bool_exp + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + comments: dataplatform_near_feed_moderated_comments_bool_exp + comments_aggregate: dataplatform_near_feed_moderated_comments_aggregate_bool_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + post_likes: dataplatform_near_social_feed_post_likes_bool_exp + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_bool_exp + receipt_id: String_comparison_exp + verifications: dataplatform_near_verifications_account_bool_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.moderated_posts_with_reposts_feed". +""" +input dataplatform_near_feed_moderated_posts_with_reposts_feed_order_by { + account: dataplatform_near_accounts_accounts_order_by + account_id: order_by + accounts_liked: order_by + block_height: order_by + block_timestamp: order_by + comments_aggregate: dataplatform_near_feed_moderated_comments_aggregate_order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_order_by + receipt_id: order_by + verifications: dataplatform_near_verifications_account_order_by +} + +""" +select columns of table "dataplatform_near_feed.moderated_posts_with_reposts_feed" +""" +enum dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Streaming cursor of the table "dataplatform_near_feed_moderated_posts_with_reposts_feed" +""" +input dataplatform_near_feed_moderated_posts_with_reposts_feed_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_moderated_posts_with_reposts_feed_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_moderated_posts_with_reposts_feed_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_feed_moderated_posts_with_reposts_feed_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +columns and relationships of "dataplatform_near_feed.promoted_blog_posts" +""" +type dataplatform_near_feed_promoted_blog_posts { + account_id: String + accounts_liked( + """JSON select path""" + path: String + ): jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + promote_block_height: numeric + promoter_account_id: String + promotion_type: String + receipt_id: String +} + +""" +aggregated selection of "dataplatform_near_feed.promoted_blog_posts" +""" +type dataplatform_near_feed_promoted_blog_posts_aggregate { + aggregate: dataplatform_near_feed_promoted_blog_posts_aggregate_fields + nodes: [dataplatform_near_feed_promoted_blog_posts!]! +} + +""" +aggregate fields of "dataplatform_near_feed.promoted_blog_posts" +""" +type dataplatform_near_feed_promoted_blog_posts_aggregate_fields { + avg: dataplatform_near_feed_promoted_blog_posts_avg_fields + count(columns: [dataplatform_near_feed_promoted_blog_posts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_promoted_blog_posts_max_fields + min: dataplatform_near_feed_promoted_blog_posts_min_fields + stddev: dataplatform_near_feed_promoted_blog_posts_stddev_fields + stddev_pop: dataplatform_near_feed_promoted_blog_posts_stddev_pop_fields + stddev_samp: dataplatform_near_feed_promoted_blog_posts_stddev_samp_fields + sum: dataplatform_near_feed_promoted_blog_posts_sum_fields + var_pop: dataplatform_near_feed_promoted_blog_posts_var_pop_fields + var_samp: dataplatform_near_feed_promoted_blog_posts_var_samp_fields + variance: dataplatform_near_feed_promoted_blog_posts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_feed_promoted_blog_posts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.promoted_blog_posts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_promoted_blog_posts_bool_exp { + _and: [dataplatform_near_feed_promoted_blog_posts_bool_exp!] + _not: dataplatform_near_feed_promoted_blog_posts_bool_exp + _or: [dataplatform_near_feed_promoted_blog_posts_bool_exp!] + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + promote_block_height: numeric_comparison_exp + promoter_account_id: String_comparison_exp + promotion_type: String_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_promoted_blog_posts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + promote_block_height: numeric + promoter_account_id: String + promotion_type: String + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_feed_promoted_blog_posts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + promote_block_height: numeric + promoter_account_id: String + promotion_type: String + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.promoted_blog_posts". +""" +input dataplatform_near_feed_promoted_blog_posts_order_by { + account_id: order_by + accounts_liked: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + promote_block_height: order_by + promoter_account_id: order_by + promotion_type: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_feed.promoted_blog_posts" +""" +enum dataplatform_near_feed_promoted_blog_posts_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + promote_block_height + + """column name""" + promoter_account_id + + """column name""" + promotion_type + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_feed_promoted_blog_posts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_feed_promoted_blog_posts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_feed_promoted_blog_posts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +""" +Streaming cursor of the table "dataplatform_near_feed_promoted_blog_posts" +""" +input dataplatform_near_feed_promoted_blog_posts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_promoted_blog_posts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_promoted_blog_posts_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + promote_block_height: numeric + promoter_account_id: String + promotion_type: String + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_feed_promoted_blog_posts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric + promote_block_height: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_feed_promoted_blog_posts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_feed_promoted_blog_posts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_feed_promoted_blog_posts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float + promote_block_height: Float +} + +""" +columns and relationships of "dataplatform_near_feed.sys_logs" +""" +type dataplatform_near_feed_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_feed.sys_logs" +""" +type dataplatform_near_feed_sys_logs_aggregate { + aggregate: dataplatform_near_feed_sys_logs_aggregate_fields + nodes: [dataplatform_near_feed_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_feed.sys_logs" +""" +type dataplatform_near_feed_sys_logs_aggregate_fields { + avg: dataplatform_near_feed_sys_logs_avg_fields + count(columns: [dataplatform_near_feed_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_sys_logs_max_fields + min: dataplatform_near_feed_sys_logs_min_fields + stddev: dataplatform_near_feed_sys_logs_stddev_fields + stddev_pop: dataplatform_near_feed_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_feed_sys_logs_stddev_samp_fields + sum: dataplatform_near_feed_sys_logs_sum_fields + var_pop: dataplatform_near_feed_sys_logs_var_pop_fields + var_samp: dataplatform_near_feed_sys_logs_var_samp_fields + variance: dataplatform_near_feed_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_feed_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_sys_logs_bool_exp { + _and: [dataplatform_near_feed_sys_logs_bool_exp!] + _not: dataplatform_near_feed_sys_logs_bool_exp + _or: [dataplatform_near_feed_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_feed_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.sys_logs". +""" +input dataplatform_near_feed_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_feed.sys_logs" +""" +enum dataplatform_near_feed_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_feed_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_feed_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_feed_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_feed_sys_logs" +""" +input dataplatform_near_feed_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_feed_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_feed_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_feed_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_feed_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_feed.sys_metadata" +""" +type dataplatform_near_feed_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_feed.sys_metadata" +""" +type dataplatform_near_feed_sys_metadata_aggregate { + aggregate: dataplatform_near_feed_sys_metadata_aggregate_fields + nodes: [dataplatform_near_feed_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_feed.sys_metadata" +""" +type dataplatform_near_feed_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_feed_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_feed_sys_metadata_max_fields + min: dataplatform_near_feed_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_feed.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_feed_sys_metadata_bool_exp { + _and: [dataplatform_near_feed_sys_metadata_bool_exp!] + _not: dataplatform_near_feed_sys_metadata_bool_exp + _or: [dataplatform_near_feed_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_feed_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_feed_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_feed.sys_metadata". +""" +input dataplatform_near_feed_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_feed.sys_metadata" +""" +enum dataplatform_near_feed_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_feed_sys_metadata" +""" +input dataplatform_near_feed_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_feed_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_feed_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_moderation.moderation_decisions" +""" +type dataplatform_near_moderation_moderation_decisions { + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String! + label: String! + moderated_account_id: String! + moderated_blockheight: Int + moderated_path: String + moderator_account_id: String! + notes: String +} + +""" +aggregated selection of "dataplatform_near_moderation.moderation_decisions" +""" +type dataplatform_near_moderation_moderation_decisions_aggregate { + aggregate: dataplatform_near_moderation_moderation_decisions_aggregate_fields + nodes: [dataplatform_near_moderation_moderation_decisions!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.moderation_decisions" +""" +type dataplatform_near_moderation_moderation_decisions_aggregate_fields { + avg: dataplatform_near_moderation_moderation_decisions_avg_fields + count(columns: [dataplatform_near_moderation_moderation_decisions_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_moderation_decisions_max_fields + min: dataplatform_near_moderation_moderation_decisions_min_fields + stddev: dataplatform_near_moderation_moderation_decisions_stddev_fields + stddev_pop: dataplatform_near_moderation_moderation_decisions_stddev_pop_fields + stddev_samp: dataplatform_near_moderation_moderation_decisions_stddev_samp_fields + sum: dataplatform_near_moderation_moderation_decisions_sum_fields + var_pop: dataplatform_near_moderation_moderation_decisions_var_pop_fields + var_samp: dataplatform_near_moderation_moderation_decisions_var_samp_fields + variance: dataplatform_near_moderation_moderation_decisions_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_moderation_moderation_decisions_avg_fields { + moderated_blockheight: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.moderation_decisions". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_moderation_decisions_bool_exp { + _and: [dataplatform_near_moderation_moderation_decisions_bool_exp!] + _not: dataplatform_near_moderation_moderation_decisions_bool_exp + _or: [dataplatform_near_moderation_moderation_decisions_bool_exp!] + base_content_account: String_comparison_exp + base_content_blockheight: String_comparison_exp + base_content_path: String_comparison_exp + expiration: timestamp_comparison_exp + group: String_comparison_exp + label: String_comparison_exp + moderated_account_id: String_comparison_exp + moderated_blockheight: Int_comparison_exp + moderated_path: String_comparison_exp + moderator_account_id: String_comparison_exp + notes: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_moderation_decisions_max_fields { + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + moderator_account_id: String + notes: String +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_moderation_decisions_min_fields { + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + moderator_account_id: String + notes: String +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.moderation_decisions". +""" +input dataplatform_near_moderation_moderation_decisions_order_by { + base_content_account: order_by + base_content_blockheight: order_by + base_content_path: order_by + expiration: order_by + group: order_by + label: order_by + moderated_account_id: order_by + moderated_blockheight: order_by + moderated_path: order_by + moderator_account_id: order_by + notes: order_by +} + +""" +select columns of table "dataplatform_near_moderation.moderation_decisions" +""" +enum dataplatform_near_moderation_moderation_decisions_select_column { + """column name""" + base_content_account + + """column name""" + base_content_blockheight + + """column name""" + base_content_path + + """column name""" + expiration + + """column name""" + group + + """column name""" + label + + """column name""" + moderated_account_id + + """column name""" + moderated_blockheight + + """column name""" + moderated_path + + """column name""" + moderator_account_id + + """column name""" + notes +} + +"""aggregate stddev on columns""" +type dataplatform_near_moderation_moderation_decisions_stddev_fields { + moderated_blockheight: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_moderation_moderation_decisions_stddev_pop_fields { + moderated_blockheight: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_moderation_moderation_decisions_stddev_samp_fields { + moderated_blockheight: Float +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_moderation_decisions" +""" +input dataplatform_near_moderation_moderation_decisions_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_moderation_decisions_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_moderation_decisions_stream_cursor_value_input { + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + moderator_account_id: String + notes: String +} + +"""aggregate sum on columns""" +type dataplatform_near_moderation_moderation_decisions_sum_fields { + moderated_blockheight: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_moderation_moderation_decisions_var_pop_fields { + moderated_blockheight: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_moderation_moderation_decisions_var_samp_fields { + moderated_blockheight: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_moderation_moderation_decisions_variance_fields { + moderated_blockheight: Float +} + +""" +columns and relationships of "dataplatform_near_moderation.moderation_reporting" +""" +type dataplatform_near_moderation_moderation_reporting { + account_id: String! + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String! + label: String! + moderated_account_id: String! + moderated_blockheight: Int + moderated_path: String + notes: String + report_blockheight: Int +} + +""" +aggregated selection of "dataplatform_near_moderation.moderation_reporting" +""" +type dataplatform_near_moderation_moderation_reporting_aggregate { + aggregate: dataplatform_near_moderation_moderation_reporting_aggregate_fields + nodes: [dataplatform_near_moderation_moderation_reporting!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.moderation_reporting" +""" +type dataplatform_near_moderation_moderation_reporting_aggregate_fields { + avg: dataplatform_near_moderation_moderation_reporting_avg_fields + count(columns: [dataplatform_near_moderation_moderation_reporting_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_moderation_reporting_max_fields + min: dataplatform_near_moderation_moderation_reporting_min_fields + stddev: dataplatform_near_moderation_moderation_reporting_stddev_fields + stddev_pop: dataplatform_near_moderation_moderation_reporting_stddev_pop_fields + stddev_samp: dataplatform_near_moderation_moderation_reporting_stddev_samp_fields + sum: dataplatform_near_moderation_moderation_reporting_sum_fields + var_pop: dataplatform_near_moderation_moderation_reporting_var_pop_fields + var_samp: dataplatform_near_moderation_moderation_reporting_var_samp_fields + variance: dataplatform_near_moderation_moderation_reporting_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_moderation_moderation_reporting_avg_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.moderation_reporting". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_moderation_reporting_bool_exp { + _and: [dataplatform_near_moderation_moderation_reporting_bool_exp!] + _not: dataplatform_near_moderation_moderation_reporting_bool_exp + _or: [dataplatform_near_moderation_moderation_reporting_bool_exp!] + account_id: String_comparison_exp + base_content_account: String_comparison_exp + base_content_blockheight: String_comparison_exp + base_content_path: String_comparison_exp + expiration: timestamp_comparison_exp + group: String_comparison_exp + label: String_comparison_exp + moderated_account_id: String_comparison_exp + moderated_blockheight: Int_comparison_exp + moderated_path: String_comparison_exp + notes: String_comparison_exp + report_blockheight: Int_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_moderation_reporting_max_fields { + account_id: String + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + notes: String + report_blockheight: Int +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_moderation_reporting_min_fields { + account_id: String + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + notes: String + report_blockheight: Int +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.moderation_reporting". +""" +input dataplatform_near_moderation_moderation_reporting_order_by { + account_id: order_by + base_content_account: order_by + base_content_blockheight: order_by + base_content_path: order_by + expiration: order_by + group: order_by + label: order_by + moderated_account_id: order_by + moderated_blockheight: order_by + moderated_path: order_by + notes: order_by + report_blockheight: order_by +} + +""" +select columns of table "dataplatform_near_moderation.moderation_reporting" +""" +enum dataplatform_near_moderation_moderation_reporting_select_column { + """column name""" + account_id + + """column name""" + base_content_account + + """column name""" + base_content_blockheight + + """column name""" + base_content_path + + """column name""" + expiration + + """column name""" + group + + """column name""" + label + + """column name""" + moderated_account_id + + """column name""" + moderated_blockheight + + """column name""" + moderated_path + + """column name""" + notes + + """column name""" + report_blockheight +} + +"""aggregate stddev on columns""" +type dataplatform_near_moderation_moderation_reporting_stddev_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_moderation_moderation_reporting_stddev_pop_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_moderation_moderation_reporting_stddev_samp_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_moderation_reporting" +""" +input dataplatform_near_moderation_moderation_reporting_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_moderation_reporting_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_moderation_reporting_stream_cursor_value_input { + account_id: String + base_content_account: String + base_content_blockheight: String + base_content_path: String + expiration: timestamp + group: String + label: String + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + notes: String + report_blockheight: Int +} + +"""aggregate sum on columns""" +type dataplatform_near_moderation_moderation_reporting_sum_fields { + moderated_blockheight: Int + report_blockheight: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_moderation_moderation_reporting_var_pop_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_moderation_moderation_reporting_var_samp_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_moderation_moderation_reporting_variance_fields { + moderated_blockheight: Float + report_blockheight: Float +} + +""" +columns and relationships of "dataplatform_near_moderation.needs_moderation" +""" +type dataplatform_near_moderation_needs_moderation { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + first_report_blockheight: Int + moderated_path: String + most_frequent_label: String + receipt_id: String + reporter_count: bigint + reporter_list: [String!] +} + +""" +aggregated selection of "dataplatform_near_moderation.needs_moderation" +""" +type dataplatform_near_moderation_needs_moderation_aggregate { + aggregate: dataplatform_near_moderation_needs_moderation_aggregate_fields + nodes: [dataplatform_near_moderation_needs_moderation!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.needs_moderation" +""" +type dataplatform_near_moderation_needs_moderation_aggregate_fields { + avg: dataplatform_near_moderation_needs_moderation_avg_fields + count(columns: [dataplatform_near_moderation_needs_moderation_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_needs_moderation_max_fields + min: dataplatform_near_moderation_needs_moderation_min_fields + stddev: dataplatform_near_moderation_needs_moderation_stddev_fields + stddev_pop: dataplatform_near_moderation_needs_moderation_stddev_pop_fields + stddev_samp: dataplatform_near_moderation_needs_moderation_stddev_samp_fields + sum: dataplatform_near_moderation_needs_moderation_sum_fields + var_pop: dataplatform_near_moderation_needs_moderation_var_pop_fields + var_samp: dataplatform_near_moderation_needs_moderation_var_samp_fields + variance: dataplatform_near_moderation_needs_moderation_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_moderation_needs_moderation_avg_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.needs_moderation". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_needs_moderation_bool_exp { + _and: [dataplatform_near_moderation_needs_moderation_bool_exp!] + _not: dataplatform_near_moderation_needs_moderation_bool_exp + _or: [dataplatform_near_moderation_needs_moderation_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + first_report_blockheight: Int_comparison_exp + moderated_path: String_comparison_exp + most_frequent_label: String_comparison_exp + receipt_id: String_comparison_exp + reporter_count: bigint_comparison_exp + reporter_list: String_array_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_needs_moderation_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + first_report_blockheight: Int + moderated_path: String + most_frequent_label: String + receipt_id: String + reporter_count: bigint + reporter_list: [String!] +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_needs_moderation_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + first_report_blockheight: Int + moderated_path: String + most_frequent_label: String + receipt_id: String + reporter_count: bigint + reporter_list: [String!] +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.needs_moderation". +""" +input dataplatform_near_moderation_needs_moderation_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + first_report_blockheight: order_by + moderated_path: order_by + most_frequent_label: order_by + receipt_id: order_by + reporter_count: order_by + reporter_list: order_by +} + +""" +select columns of table "dataplatform_near_moderation.needs_moderation" +""" +enum dataplatform_near_moderation_needs_moderation_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + first_report_blockheight + + """column name""" + moderated_path + + """column name""" + most_frequent_label + + """column name""" + receipt_id + + """column name""" + reporter_count + + """column name""" + reporter_list +} + +"""aggregate stddev on columns""" +type dataplatform_near_moderation_needs_moderation_stddev_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_moderation_needs_moderation_stddev_pop_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_moderation_needs_moderation_stddev_samp_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_needs_moderation" +""" +input dataplatform_near_moderation_needs_moderation_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_needs_moderation_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_needs_moderation_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + first_report_blockheight: Int + moderated_path: String + most_frequent_label: String + receipt_id: String + reporter_count: bigint + reporter_list: [String!] +} + +"""aggregate sum on columns""" +type dataplatform_near_moderation_needs_moderation_sum_fields { + block_height: numeric + block_timestamp: numeric + first_report_blockheight: Int + reporter_count: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_moderation_needs_moderation_var_pop_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_moderation_needs_moderation_var_samp_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_moderation_needs_moderation_variance_fields { + block_height: Float + block_timestamp: Float + first_report_blockheight: Float + reporter_count: Float +} + +""" +columns and relationships of "dataplatform_near_moderation.sys_logs" +""" +type dataplatform_near_moderation_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_moderation.sys_logs" +""" +type dataplatform_near_moderation_sys_logs_aggregate { + aggregate: dataplatform_near_moderation_sys_logs_aggregate_fields + nodes: [dataplatform_near_moderation_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.sys_logs" +""" +type dataplatform_near_moderation_sys_logs_aggregate_fields { + avg: dataplatform_near_moderation_sys_logs_avg_fields + count(columns: [dataplatform_near_moderation_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_sys_logs_max_fields + min: dataplatform_near_moderation_sys_logs_min_fields + stddev: dataplatform_near_moderation_sys_logs_stddev_fields + stddev_pop: dataplatform_near_moderation_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_moderation_sys_logs_stddev_samp_fields + sum: dataplatform_near_moderation_sys_logs_sum_fields + var_pop: dataplatform_near_moderation_sys_logs_var_pop_fields + var_samp: dataplatform_near_moderation_sys_logs_var_samp_fields + variance: dataplatform_near_moderation_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_moderation_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_sys_logs_bool_exp { + _and: [dataplatform_near_moderation_sys_logs_bool_exp!] + _not: dataplatform_near_moderation_sys_logs_bool_exp + _or: [dataplatform_near_moderation_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.sys_logs". +""" +input dataplatform_near_moderation_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_moderation.sys_logs" +""" +enum dataplatform_near_moderation_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_moderation_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_moderation_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_moderation_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_sys_logs" +""" +input dataplatform_near_moderation_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_moderation_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_moderation_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_moderation_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_moderation_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_moderation.sys_metadata" +""" +type dataplatform_near_moderation_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_moderation.sys_metadata" +""" +type dataplatform_near_moderation_sys_metadata_aggregate { + aggregate: dataplatform_near_moderation_sys_metadata_aggregate_fields + nodes: [dataplatform_near_moderation_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.sys_metadata" +""" +type dataplatform_near_moderation_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_moderation_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_sys_metadata_max_fields + min: dataplatform_near_moderation_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_sys_metadata_bool_exp { + _and: [dataplatform_near_moderation_sys_metadata_bool_exp!] + _not: dataplatform_near_moderation_sys_metadata_bool_exp + _or: [dataplatform_near_moderation_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.sys_metadata". +""" +input dataplatform_near_moderation_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_moderation.sys_metadata" +""" +enum dataplatform_near_moderation_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_sys_metadata" +""" +input dataplatform_near_moderation_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_moderation.unmoderated_reports" +""" +type dataplatform_near_moderation_unmoderated_reports { + first_report_blockheight: Int + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + most_frequent_label: String + reporter_count: bigint + reporter_list: [String!] +} + +""" +aggregated selection of "dataplatform_near_moderation.unmoderated_reports" +""" +type dataplatform_near_moderation_unmoderated_reports_aggregate { + aggregate: dataplatform_near_moderation_unmoderated_reports_aggregate_fields + nodes: [dataplatform_near_moderation_unmoderated_reports!]! +} + +""" +aggregate fields of "dataplatform_near_moderation.unmoderated_reports" +""" +type dataplatform_near_moderation_unmoderated_reports_aggregate_fields { + avg: dataplatform_near_moderation_unmoderated_reports_avg_fields + count(columns: [dataplatform_near_moderation_unmoderated_reports_select_column!], distinct: Boolean): Int! + max: dataplatform_near_moderation_unmoderated_reports_max_fields + min: dataplatform_near_moderation_unmoderated_reports_min_fields + stddev: dataplatform_near_moderation_unmoderated_reports_stddev_fields + stddev_pop: dataplatform_near_moderation_unmoderated_reports_stddev_pop_fields + stddev_samp: dataplatform_near_moderation_unmoderated_reports_stddev_samp_fields + sum: dataplatform_near_moderation_unmoderated_reports_sum_fields + var_pop: dataplatform_near_moderation_unmoderated_reports_var_pop_fields + var_samp: dataplatform_near_moderation_unmoderated_reports_var_samp_fields + variance: dataplatform_near_moderation_unmoderated_reports_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_moderation_unmoderated_reports_avg_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_moderation.unmoderated_reports". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_moderation_unmoderated_reports_bool_exp { + _and: [dataplatform_near_moderation_unmoderated_reports_bool_exp!] + _not: dataplatform_near_moderation_unmoderated_reports_bool_exp + _or: [dataplatform_near_moderation_unmoderated_reports_bool_exp!] + first_report_blockheight: Int_comparison_exp + moderated_account_id: String_comparison_exp + moderated_blockheight: Int_comparison_exp + moderated_path: String_comparison_exp + most_frequent_label: String_comparison_exp + reporter_count: bigint_comparison_exp + reporter_list: String_array_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_moderation_unmoderated_reports_max_fields { + first_report_blockheight: Int + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + most_frequent_label: String + reporter_count: bigint + reporter_list: [String!] +} + +"""aggregate min on columns""" +type dataplatform_near_moderation_unmoderated_reports_min_fields { + first_report_blockheight: Int + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + most_frequent_label: String + reporter_count: bigint + reporter_list: [String!] +} + +""" +Ordering options when selecting data from "dataplatform_near_moderation.unmoderated_reports". +""" +input dataplatform_near_moderation_unmoderated_reports_order_by { + first_report_blockheight: order_by + moderated_account_id: order_by + moderated_blockheight: order_by + moderated_path: order_by + most_frequent_label: order_by + reporter_count: order_by + reporter_list: order_by +} + +""" +select columns of table "dataplatform_near_moderation.unmoderated_reports" +""" +enum dataplatform_near_moderation_unmoderated_reports_select_column { + """column name""" + first_report_blockheight + + """column name""" + moderated_account_id + + """column name""" + moderated_blockheight + + """column name""" + moderated_path + + """column name""" + most_frequent_label + + """column name""" + reporter_count + + """column name""" + reporter_list +} + +"""aggregate stddev on columns""" +type dataplatform_near_moderation_unmoderated_reports_stddev_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_moderation_unmoderated_reports_stddev_pop_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_moderation_unmoderated_reports_stddev_samp_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +""" +Streaming cursor of the table "dataplatform_near_moderation_unmoderated_reports" +""" +input dataplatform_near_moderation_unmoderated_reports_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_moderation_unmoderated_reports_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_moderation_unmoderated_reports_stream_cursor_value_input { + first_report_blockheight: Int + moderated_account_id: String + moderated_blockheight: Int + moderated_path: String + most_frequent_label: String + reporter_count: bigint + reporter_list: [String!] +} + +"""aggregate sum on columns""" +type dataplatform_near_moderation_unmoderated_reports_sum_fields { + first_report_blockheight: Int + moderated_blockheight: Int + reporter_count: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_moderation_unmoderated_reports_var_pop_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_moderation_unmoderated_reports_var_samp_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_moderation_unmoderated_reports_variance_fields { + first_report_blockheight: Float + moderated_blockheight: Float + reporter_count: Float +} + +""" +columns and relationships of "dataplatform_near_notifications.notifications" +""" +type dataplatform_near_notifications_notifications { + """An object relationship""" + account: dataplatform_near_accounts_accounts + actionAtBlockHeight: Int + blockHeight: numeric! + devhubPostId: Int + id: Int! + initiatedBy: String! + itemType: String + message: String + path: String + receiptId: String + receiver: String! + valueType: String! +} + +""" +aggregated selection of "dataplatform_near_notifications.notifications" +""" +type dataplatform_near_notifications_notifications_aggregate { + aggregate: dataplatform_near_notifications_notifications_aggregate_fields + nodes: [dataplatform_near_notifications_notifications!]! +} + +""" +aggregate fields of "dataplatform_near_notifications.notifications" +""" +type dataplatform_near_notifications_notifications_aggregate_fields { + avg: dataplatform_near_notifications_notifications_avg_fields + count(columns: [dataplatform_near_notifications_notifications_select_column!], distinct: Boolean): Int! + max: dataplatform_near_notifications_notifications_max_fields + min: dataplatform_near_notifications_notifications_min_fields + stddev: dataplatform_near_notifications_notifications_stddev_fields + stddev_pop: dataplatform_near_notifications_notifications_stddev_pop_fields + stddev_samp: dataplatform_near_notifications_notifications_stddev_samp_fields + sum: dataplatform_near_notifications_notifications_sum_fields + var_pop: dataplatform_near_notifications_notifications_var_pop_fields + var_samp: dataplatform_near_notifications_notifications_var_samp_fields + variance: dataplatform_near_notifications_notifications_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_notifications_notifications_avg_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_notifications.notifications". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_notifications_notifications_bool_exp { + _and: [dataplatform_near_notifications_notifications_bool_exp!] + _not: dataplatform_near_notifications_notifications_bool_exp + _or: [dataplatform_near_notifications_notifications_bool_exp!] + account: dataplatform_near_accounts_accounts_bool_exp + actionAtBlockHeight: Int_comparison_exp + blockHeight: numeric_comparison_exp + devhubPostId: Int_comparison_exp + id: Int_comparison_exp + initiatedBy: String_comparison_exp + itemType: String_comparison_exp + message: String_comparison_exp + path: String_comparison_exp + receiptId: String_comparison_exp + receiver: String_comparison_exp + valueType: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_notifications_notifications_max_fields { + actionAtBlockHeight: Int + blockHeight: numeric + devhubPostId: Int + id: Int + initiatedBy: String + itemType: String + message: String + path: String + receiptId: String + receiver: String + valueType: String +} + +"""aggregate min on columns""" +type dataplatform_near_notifications_notifications_min_fields { + actionAtBlockHeight: Int + blockHeight: numeric + devhubPostId: Int + id: Int + initiatedBy: String + itemType: String + message: String + path: String + receiptId: String + receiver: String + valueType: String +} + +""" +Ordering options when selecting data from "dataplatform_near_notifications.notifications". +""" +input dataplatform_near_notifications_notifications_order_by { + account: dataplatform_near_accounts_accounts_order_by + actionAtBlockHeight: order_by + blockHeight: order_by + devhubPostId: order_by + id: order_by + initiatedBy: order_by + itemType: order_by + message: order_by + path: order_by + receiptId: order_by + receiver: order_by + valueType: order_by +} + +""" +select columns of table "dataplatform_near_notifications.notifications" +""" +enum dataplatform_near_notifications_notifications_select_column { + """column name""" + actionAtBlockHeight + + """column name""" + blockHeight + + """column name""" + devhubPostId + + """column name""" + id + + """column name""" + initiatedBy + + """column name""" + itemType + + """column name""" + message + + """column name""" + path + + """column name""" + receiptId + + """column name""" + receiver + + """column name""" + valueType +} + +"""aggregate stddev on columns""" +type dataplatform_near_notifications_notifications_stddev_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_notifications_notifications_stddev_pop_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_notifications_notifications_stddev_samp_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_notifications_notifications" +""" +input dataplatform_near_notifications_notifications_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_notifications_notifications_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_notifications_notifications_stream_cursor_value_input { + actionAtBlockHeight: Int + blockHeight: numeric + devhubPostId: Int + id: Int + initiatedBy: String + itemType: String + message: String + path: String + receiptId: String + receiver: String + valueType: String +} + +"""aggregate sum on columns""" +type dataplatform_near_notifications_notifications_sum_fields { + actionAtBlockHeight: Int + blockHeight: numeric + devhubPostId: Int + id: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_notifications_notifications_var_pop_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_notifications_notifications_var_samp_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_notifications_notifications_variance_fields { + actionAtBlockHeight: Float + blockHeight: Float + devhubPostId: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_notifications.sys_logs" +""" +type dataplatform_near_notifications_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_notifications.sys_logs" +""" +type dataplatform_near_notifications_sys_logs_aggregate { + aggregate: dataplatform_near_notifications_sys_logs_aggregate_fields + nodes: [dataplatform_near_notifications_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_notifications.sys_logs" +""" +type dataplatform_near_notifications_sys_logs_aggregate_fields { + avg: dataplatform_near_notifications_sys_logs_avg_fields + count(columns: [dataplatform_near_notifications_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_notifications_sys_logs_max_fields + min: dataplatform_near_notifications_sys_logs_min_fields + stddev: dataplatform_near_notifications_sys_logs_stddev_fields + stddev_pop: dataplatform_near_notifications_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_notifications_sys_logs_stddev_samp_fields + sum: dataplatform_near_notifications_sys_logs_sum_fields + var_pop: dataplatform_near_notifications_sys_logs_var_pop_fields + var_samp: dataplatform_near_notifications_sys_logs_var_samp_fields + variance: dataplatform_near_notifications_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_notifications_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_notifications.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_notifications_sys_logs_bool_exp { + _and: [dataplatform_near_notifications_sys_logs_bool_exp!] + _not: dataplatform_near_notifications_sys_logs_bool_exp + _or: [dataplatform_near_notifications_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_notifications_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_notifications_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_notifications.sys_logs". +""" +input dataplatform_near_notifications_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_notifications.sys_logs" +""" +enum dataplatform_near_notifications_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_notifications_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_notifications_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_notifications_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_notifications_sys_logs" +""" +input dataplatform_near_notifications_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_notifications_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_notifications_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_notifications_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_notifications_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_notifications_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_notifications_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_notifications.sys_metadata" +""" +type dataplatform_near_notifications_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_notifications.sys_metadata" +""" +type dataplatform_near_notifications_sys_metadata_aggregate { + aggregate: dataplatform_near_notifications_sys_metadata_aggregate_fields + nodes: [dataplatform_near_notifications_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_notifications.sys_metadata" +""" +type dataplatform_near_notifications_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_notifications_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_notifications_sys_metadata_max_fields + min: dataplatform_near_notifications_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_notifications.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_notifications_sys_metadata_bool_exp { + _and: [dataplatform_near_notifications_sys_metadata_bool_exp!] + _not: dataplatform_near_notifications_sys_metadata_bool_exp + _or: [dataplatform_near_notifications_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_notifications_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_notifications_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_notifications.sys_metadata". +""" +input dataplatform_near_notifications_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_notifications.sys_metadata" +""" +enum dataplatform_near_notifications_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_notifications_sys_metadata" +""" +input dataplatform_near_notifications_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_notifications_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_notifications_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_receiver_blocks.bitmaps" +""" +type dataplatform_near_receiver_blocks_bitmaps { + bitmap: String! + block_date: date! + first_block_height: Int! + last_elias_gamma_start_bit: Int! + max_index: Int! + + """An object relationship""" + receiver: dataplatform_near_receiver_blocks_receivers! + receiver_id: bigint! +} + +""" +aggregated selection of "dataplatform_near_receiver_blocks.bitmaps" +""" +type dataplatform_near_receiver_blocks_bitmaps_aggregate { + aggregate: dataplatform_near_receiver_blocks_bitmaps_aggregate_fields + nodes: [dataplatform_near_receiver_blocks_bitmaps!]! +} + +input dataplatform_near_receiver_blocks_bitmaps_aggregate_bool_exp { + count: dataplatform_near_receiver_blocks_bitmaps_aggregate_bool_exp_count +} + +input dataplatform_near_receiver_blocks_bitmaps_aggregate_bool_exp_count { + arguments: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + distinct: Boolean + filter: dataplatform_near_receiver_blocks_bitmaps_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "dataplatform_near_receiver_blocks.bitmaps" +""" +type dataplatform_near_receiver_blocks_bitmaps_aggregate_fields { + avg: dataplatform_near_receiver_blocks_bitmaps_avg_fields + count(columns: [dataplatform_near_receiver_blocks_bitmaps_select_column!], distinct: Boolean): Int! + max: dataplatform_near_receiver_blocks_bitmaps_max_fields + min: dataplatform_near_receiver_blocks_bitmaps_min_fields + stddev: dataplatform_near_receiver_blocks_bitmaps_stddev_fields + stddev_pop: dataplatform_near_receiver_blocks_bitmaps_stddev_pop_fields + stddev_samp: dataplatform_near_receiver_blocks_bitmaps_stddev_samp_fields + sum: dataplatform_near_receiver_blocks_bitmaps_sum_fields + var_pop: dataplatform_near_receiver_blocks_bitmaps_var_pop_fields + var_samp: dataplatform_near_receiver_blocks_bitmaps_var_samp_fields + variance: dataplatform_near_receiver_blocks_bitmaps_variance_fields +} + +""" +order by aggregate values of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_aggregate_order_by { + avg: dataplatform_near_receiver_blocks_bitmaps_avg_order_by + count: order_by + max: dataplatform_near_receiver_blocks_bitmaps_max_order_by + min: dataplatform_near_receiver_blocks_bitmaps_min_order_by + stddev: dataplatform_near_receiver_blocks_bitmaps_stddev_order_by + stddev_pop: dataplatform_near_receiver_blocks_bitmaps_stddev_pop_order_by + stddev_samp: dataplatform_near_receiver_blocks_bitmaps_stddev_samp_order_by + sum: dataplatform_near_receiver_blocks_bitmaps_sum_order_by + var_pop: dataplatform_near_receiver_blocks_bitmaps_var_pop_order_by + var_samp: dataplatform_near_receiver_blocks_bitmaps_var_samp_order_by + variance: dataplatform_near_receiver_blocks_bitmaps_variance_order_by +} + +"""aggregate avg on columns""" +type dataplatform_near_receiver_blocks_bitmaps_avg_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by avg() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_avg_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_receiver_blocks.bitmaps". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_receiver_blocks_bitmaps_bool_exp { + _and: [dataplatform_near_receiver_blocks_bitmaps_bool_exp!] + _not: dataplatform_near_receiver_blocks_bitmaps_bool_exp + _or: [dataplatform_near_receiver_blocks_bitmaps_bool_exp!] + bitmap: String_comparison_exp + block_date: date_comparison_exp + first_block_height: Int_comparison_exp + last_elias_gamma_start_bit: Int_comparison_exp + max_index: Int_comparison_exp + receiver: dataplatform_near_receiver_blocks_receivers_bool_exp + receiver_id: bigint_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_receiver_blocks_bitmaps_max_fields { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by max() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_max_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate min on columns""" +type dataplatform_near_receiver_blocks_bitmaps_min_fields { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by min() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_min_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Ordering options when selecting data from "dataplatform_near_receiver_blocks.bitmaps". +""" +input dataplatform_near_receiver_blocks_bitmaps_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver: dataplatform_near_receiver_blocks_receivers_order_by + receiver_id: order_by +} + +""" +select columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +enum dataplatform_near_receiver_blocks_bitmaps_select_column { + """column name""" + bitmap + + """column name""" + block_date + + """column name""" + first_block_height + + """column name""" + last_elias_gamma_start_bit + + """column name""" + max_index + + """column name""" + receiver_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_receiver_blocks_bitmaps_stddev_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_stddev_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_receiver_blocks_bitmaps_stddev_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev_pop() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_stddev_pop_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_receiver_blocks_bitmaps_stddev_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev_samp() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_stddev_samp_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Streaming cursor of the table "dataplatform_near_receiver_blocks_bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_receiver_blocks_bitmaps_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_receiver_blocks_bitmaps_stream_cursor_value_input { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +"""aggregate sum on columns""" +type dataplatform_near_receiver_blocks_bitmaps_sum_fields { + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by sum() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_sum_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate var_pop on columns""" +type dataplatform_near_receiver_blocks_bitmaps_var_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by var_pop() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_var_pop_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate var_samp on columns""" +type dataplatform_near_receiver_blocks_bitmaps_var_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by var_samp() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_var_samp_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate variance on columns""" +type dataplatform_near_receiver_blocks_bitmaps_variance_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by variance() on columns of table "dataplatform_near_receiver_blocks.bitmaps" +""" +input dataplatform_near_receiver_blocks_bitmaps_variance_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +columns and relationships of "dataplatform_near_receiver_blocks.receivers" +""" +type dataplatform_near_receiver_blocks_receivers { + """An array relationship""" + bitmaps( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): [dataplatform_near_receiver_blocks_bitmaps!]! + + """An aggregate relationship""" + bitmaps_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): dataplatform_near_receiver_blocks_bitmaps_aggregate! + id: bigint! + receiver: String! +} + +""" +aggregated selection of "dataplatform_near_receiver_blocks.receivers" +""" +type dataplatform_near_receiver_blocks_receivers_aggregate { + aggregate: dataplatform_near_receiver_blocks_receivers_aggregate_fields + nodes: [dataplatform_near_receiver_blocks_receivers!]! +} + +""" +aggregate fields of "dataplatform_near_receiver_blocks.receivers" +""" +type dataplatform_near_receiver_blocks_receivers_aggregate_fields { + avg: dataplatform_near_receiver_blocks_receivers_avg_fields + count(columns: [dataplatform_near_receiver_blocks_receivers_select_column!], distinct: Boolean): Int! + max: dataplatform_near_receiver_blocks_receivers_max_fields + min: dataplatform_near_receiver_blocks_receivers_min_fields + stddev: dataplatform_near_receiver_blocks_receivers_stddev_fields + stddev_pop: dataplatform_near_receiver_blocks_receivers_stddev_pop_fields + stddev_samp: dataplatform_near_receiver_blocks_receivers_stddev_samp_fields + sum: dataplatform_near_receiver_blocks_receivers_sum_fields + var_pop: dataplatform_near_receiver_blocks_receivers_var_pop_fields + var_samp: dataplatform_near_receiver_blocks_receivers_var_samp_fields + variance: dataplatform_near_receiver_blocks_receivers_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_receiver_blocks_receivers_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_receiver_blocks.receivers". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_receiver_blocks_receivers_bool_exp { + _and: [dataplatform_near_receiver_blocks_receivers_bool_exp!] + _not: dataplatform_near_receiver_blocks_receivers_bool_exp + _or: [dataplatform_near_receiver_blocks_receivers_bool_exp!] + bitmaps: dataplatform_near_receiver_blocks_bitmaps_bool_exp + bitmaps_aggregate: dataplatform_near_receiver_blocks_bitmaps_aggregate_bool_exp + id: bigint_comparison_exp + receiver: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_receiver_blocks_receivers_max_fields { + id: bigint + receiver: String +} + +"""aggregate min on columns""" +type dataplatform_near_receiver_blocks_receivers_min_fields { + id: bigint + receiver: String +} + +""" +Ordering options when selecting data from "dataplatform_near_receiver_blocks.receivers". +""" +input dataplatform_near_receiver_blocks_receivers_order_by { + bitmaps_aggregate: dataplatform_near_receiver_blocks_bitmaps_aggregate_order_by + id: order_by + receiver: order_by +} + +""" +select columns of table "dataplatform_near_receiver_blocks.receivers" +""" +enum dataplatform_near_receiver_blocks_receivers_select_column { + """column name""" + id + + """column name""" + receiver +} + +"""aggregate stddev on columns""" +type dataplatform_near_receiver_blocks_receivers_stddev_fields { + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_receiver_blocks_receivers_stddev_pop_fields { + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_receiver_blocks_receivers_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_receiver_blocks_receivers" +""" +input dataplatform_near_receiver_blocks_receivers_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_receiver_blocks_receivers_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_receiver_blocks_receivers_stream_cursor_value_input { + id: bigint + receiver: String +} + +"""aggregate sum on columns""" +type dataplatform_near_receiver_blocks_receivers_sum_fields { + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_receiver_blocks_receivers_var_pop_fields { + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_receiver_blocks_receivers_var_samp_fields { + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_receiver_blocks_receivers_variance_fields { + id: Float +} + +""" +columns and relationships of "dataplatform_near_receiver_blocks.sys_logs" +""" +type dataplatform_near_receiver_blocks_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_receiver_blocks.sys_logs" +""" +type dataplatform_near_receiver_blocks_sys_logs_aggregate { + aggregate: dataplatform_near_receiver_blocks_sys_logs_aggregate_fields + nodes: [dataplatform_near_receiver_blocks_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_receiver_blocks.sys_logs" +""" +type dataplatform_near_receiver_blocks_sys_logs_aggregate_fields { + avg: dataplatform_near_receiver_blocks_sys_logs_avg_fields + count(columns: [dataplatform_near_receiver_blocks_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_receiver_blocks_sys_logs_max_fields + min: dataplatform_near_receiver_blocks_sys_logs_min_fields + stddev: dataplatform_near_receiver_blocks_sys_logs_stddev_fields + stddev_pop: dataplatform_near_receiver_blocks_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_receiver_blocks_sys_logs_stddev_samp_fields + sum: dataplatform_near_receiver_blocks_sys_logs_sum_fields + var_pop: dataplatform_near_receiver_blocks_sys_logs_var_pop_fields + var_samp: dataplatform_near_receiver_blocks_sys_logs_var_samp_fields + variance: dataplatform_near_receiver_blocks_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_receiver_blocks_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_receiver_blocks.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_receiver_blocks_sys_logs_bool_exp { + _and: [dataplatform_near_receiver_blocks_sys_logs_bool_exp!] + _not: dataplatform_near_receiver_blocks_sys_logs_bool_exp + _or: [dataplatform_near_receiver_blocks_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_receiver_blocks_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_receiver_blocks_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_receiver_blocks.sys_logs". +""" +input dataplatform_near_receiver_blocks_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_receiver_blocks.sys_logs" +""" +enum dataplatform_near_receiver_blocks_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_receiver_blocks_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_receiver_blocks_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_receiver_blocks_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_receiver_blocks_sys_logs" +""" +input dataplatform_near_receiver_blocks_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_receiver_blocks_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_receiver_blocks_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_receiver_blocks_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_receiver_blocks_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_receiver_blocks_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_receiver_blocks_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_receiver_blocks.sys_metadata" +""" +type dataplatform_near_receiver_blocks_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_receiver_blocks.sys_metadata" +""" +type dataplatform_near_receiver_blocks_sys_metadata_aggregate { + aggregate: dataplatform_near_receiver_blocks_sys_metadata_aggregate_fields + nodes: [dataplatform_near_receiver_blocks_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_receiver_blocks.sys_metadata" +""" +type dataplatform_near_receiver_blocks_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_receiver_blocks_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_receiver_blocks_sys_metadata_max_fields + min: dataplatform_near_receiver_blocks_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_receiver_blocks.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_receiver_blocks_sys_metadata_bool_exp { + _and: [dataplatform_near_receiver_blocks_sys_metadata_bool_exp!] + _not: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + _or: [dataplatform_near_receiver_blocks_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_receiver_blocks_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_receiver_blocks_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_receiver_blocks.sys_metadata". +""" +input dataplatform_near_receiver_blocks_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_receiver_blocks.sys_metadata" +""" +enum dataplatform_near_receiver_blocks_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_receiver_blocks_sys_metadata" +""" +input dataplatform_near_receiver_blocks_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_receiver_blocks_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_receiver_blocks_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_social_feed.comments" +""" +type dataplatform_near_social_feed_comments { + account_id: String! + block_height: numeric! + block_timestamp: numeric! + content: String! + id: Int! + + """An object relationship""" + post: dataplatform_near_social_feed_posts! + post_id: Int! + receipt_id: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.comments" +""" +type dataplatform_near_social_feed_comments_aggregate { + aggregate: dataplatform_near_social_feed_comments_aggregate_fields + nodes: [dataplatform_near_social_feed_comments!]! +} + +input dataplatform_near_social_feed_comments_aggregate_bool_exp { + count: dataplatform_near_social_feed_comments_aggregate_bool_exp_count +} + +input dataplatform_near_social_feed_comments_aggregate_bool_exp_count { + arguments: [dataplatform_near_social_feed_comments_select_column!] + distinct: Boolean + filter: dataplatform_near_social_feed_comments_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "dataplatform_near_social_feed.comments" +""" +type dataplatform_near_social_feed_comments_aggregate_fields { + avg: dataplatform_near_social_feed_comments_avg_fields + count(columns: [dataplatform_near_social_feed_comments_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_comments_max_fields + min: dataplatform_near_social_feed_comments_min_fields + stddev: dataplatform_near_social_feed_comments_stddev_fields + stddev_pop: dataplatform_near_social_feed_comments_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_comments_stddev_samp_fields + sum: dataplatform_near_social_feed_comments_sum_fields + var_pop: dataplatform_near_social_feed_comments_var_pop_fields + var_samp: dataplatform_near_social_feed_comments_var_samp_fields + variance: dataplatform_near_social_feed_comments_variance_fields +} + +""" +order by aggregate values of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_aggregate_order_by { + avg: dataplatform_near_social_feed_comments_avg_order_by + count: order_by + max: dataplatform_near_social_feed_comments_max_order_by + min: dataplatform_near_social_feed_comments_min_order_by + stddev: dataplatform_near_social_feed_comments_stddev_order_by + stddev_pop: dataplatform_near_social_feed_comments_stddev_pop_order_by + stddev_samp: dataplatform_near_social_feed_comments_stddev_samp_order_by + sum: dataplatform_near_social_feed_comments_sum_order_by + var_pop: dataplatform_near_social_feed_comments_var_pop_order_by + var_samp: dataplatform_near_social_feed_comments_var_samp_order_by + variance: dataplatform_near_social_feed_comments_variance_order_by +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_comments_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by avg() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_avg_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.comments". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_comments_bool_exp { + _and: [dataplatform_near_social_feed_comments_bool_exp!] + _not: dataplatform_near_social_feed_comments_bool_exp + _or: [dataplatform_near_social_feed_comments_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + post: dataplatform_near_social_feed_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_comments_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_comments_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.comments". +""" +input dataplatform_near_social_feed_comments_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post: dataplatform_near_social_feed_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.comments" +""" +enum dataplatform_near_social_feed_comments_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_comments_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_stddev_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_comments_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_comments_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_comments" +""" +input dataplatform_near_social_feed_comments_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_comments_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_comments_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_comments_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +""" +order by sum() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_sum_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_comments_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_comments_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_comments_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by variance() on columns of table "dataplatform_near_social_feed.comments" +""" +input dataplatform_near_social_feed_comments_variance_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +columns and relationships of "dataplatform_near_social_feed.moderated_comments" +""" +type dataplatform_near_social_feed_moderated_comments { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + + """An object relationship""" + post: dataplatform_near_social_feed_moderated_posts + post_id: Int + receipt_id: String +} + +""" +aggregated selection of "dataplatform_near_social_feed.moderated_comments" +""" +type dataplatform_near_social_feed_moderated_comments_aggregate { + aggregate: dataplatform_near_social_feed_moderated_comments_aggregate_fields + nodes: [dataplatform_near_social_feed_moderated_comments!]! +} + +input dataplatform_near_social_feed_moderated_comments_aggregate_bool_exp { + count: dataplatform_near_social_feed_moderated_comments_aggregate_bool_exp_count +} + +input dataplatform_near_social_feed_moderated_comments_aggregate_bool_exp_count { + arguments: [dataplatform_near_social_feed_moderated_comments_select_column!] + distinct: Boolean + filter: dataplatform_near_social_feed_moderated_comments_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "dataplatform_near_social_feed.moderated_comments" +""" +type dataplatform_near_social_feed_moderated_comments_aggregate_fields { + avg: dataplatform_near_social_feed_moderated_comments_avg_fields + count(columns: [dataplatform_near_social_feed_moderated_comments_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_moderated_comments_max_fields + min: dataplatform_near_social_feed_moderated_comments_min_fields + stddev: dataplatform_near_social_feed_moderated_comments_stddev_fields + stddev_pop: dataplatform_near_social_feed_moderated_comments_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_moderated_comments_stddev_samp_fields + sum: dataplatform_near_social_feed_moderated_comments_sum_fields + var_pop: dataplatform_near_social_feed_moderated_comments_var_pop_fields + var_samp: dataplatform_near_social_feed_moderated_comments_var_samp_fields + variance: dataplatform_near_social_feed_moderated_comments_variance_fields +} + +""" +order by aggregate values of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_aggregate_order_by { + avg: dataplatform_near_social_feed_moderated_comments_avg_order_by + count: order_by + max: dataplatform_near_social_feed_moderated_comments_max_order_by + min: dataplatform_near_social_feed_moderated_comments_min_order_by + stddev: dataplatform_near_social_feed_moderated_comments_stddev_order_by + stddev_pop: dataplatform_near_social_feed_moderated_comments_stddev_pop_order_by + stddev_samp: dataplatform_near_social_feed_moderated_comments_stddev_samp_order_by + sum: dataplatform_near_social_feed_moderated_comments_sum_order_by + var_pop: dataplatform_near_social_feed_moderated_comments_var_pop_order_by + var_samp: dataplatform_near_social_feed_moderated_comments_var_samp_order_by + variance: dataplatform_near_social_feed_moderated_comments_variance_order_by +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_moderated_comments_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by avg() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_avg_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.moderated_comments". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_moderated_comments_bool_exp { + _and: [dataplatform_near_social_feed_moderated_comments_bool_exp!] + _not: dataplatform_near_social_feed_moderated_comments_bool_exp + _or: [dataplatform_near_social_feed_moderated_comments_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + post: dataplatform_near_social_feed_moderated_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_moderated_comments_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_moderated_comments_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.moderated_comments". +""" +input dataplatform_near_social_feed_moderated_comments_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post: dataplatform_near_social_feed_moderated_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.moderated_comments" +""" +enum dataplatform_near_social_feed_moderated_comments_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_moderated_comments_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_stddev_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_moderated_comments_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_moderated_comments_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_moderated_comments_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_moderated_comments_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_moderated_comments_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +""" +order by sum() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_sum_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_moderated_comments_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_moderated_comments_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_moderated_comments_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by variance() on columns of table "dataplatform_near_social_feed.moderated_comments" +""" +input dataplatform_near_social_feed_moderated_comments_variance_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +columns and relationships of "dataplatform_near_social_feed.moderated_posts" +""" +type dataplatform_near_social_feed_moderated_posts { + account_id: String + accounts_liked( + """JSON select path""" + path: String + ): jsonb + block_height: numeric + block_timestamp: numeric + + """An array relationship""" + comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): [dataplatform_near_social_feed_moderated_comments!]! + + """An aggregate relationship""" + comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): dataplatform_near_social_feed_moderated_comments_aggregate! + content: String + id: Int + last_comment_timestamp: numeric + + """An array relationship""" + post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """An aggregate relationship""" + post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + receipt_id: String + + """An object relationship""" + verifications: dataplatform_near_verifications_account +} + +""" +aggregated selection of "dataplatform_near_social_feed.moderated_posts" +""" +type dataplatform_near_social_feed_moderated_posts_aggregate { + aggregate: dataplatform_near_social_feed_moderated_posts_aggregate_fields + nodes: [dataplatform_near_social_feed_moderated_posts!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.moderated_posts" +""" +type dataplatform_near_social_feed_moderated_posts_aggregate_fields { + avg: dataplatform_near_social_feed_moderated_posts_avg_fields + count(columns: [dataplatform_near_social_feed_moderated_posts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_moderated_posts_max_fields + min: dataplatform_near_social_feed_moderated_posts_min_fields + stddev: dataplatform_near_social_feed_moderated_posts_stddev_fields + stddev_pop: dataplatform_near_social_feed_moderated_posts_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_moderated_posts_stddev_samp_fields + sum: dataplatform_near_social_feed_moderated_posts_sum_fields + var_pop: dataplatform_near_social_feed_moderated_posts_var_pop_fields + var_samp: dataplatform_near_social_feed_moderated_posts_var_samp_fields + variance: dataplatform_near_social_feed_moderated_posts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_moderated_posts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.moderated_posts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_moderated_posts_bool_exp { + _and: [dataplatform_near_social_feed_moderated_posts_bool_exp!] + _not: dataplatform_near_social_feed_moderated_posts_bool_exp + _or: [dataplatform_near_social_feed_moderated_posts_bool_exp!] + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + comments: dataplatform_near_social_feed_moderated_comments_bool_exp + comments_aggregate: dataplatform_near_social_feed_moderated_comments_aggregate_bool_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + post_likes: dataplatform_near_social_feed_post_likes_bool_exp + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_bool_exp + receipt_id: String_comparison_exp + verifications: dataplatform_near_verifications_account_bool_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_moderated_posts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_moderated_posts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.moderated_posts". +""" +input dataplatform_near_social_feed_moderated_posts_order_by { + account_id: order_by + accounts_liked: order_by + block_height: order_by + block_timestamp: order_by + comments_aggregate: dataplatform_near_social_feed_moderated_comments_aggregate_order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_order_by + receipt_id: order_by + verifications: dataplatform_near_verifications_account_order_by +} + +""" +select columns of table "dataplatform_near_social_feed.moderated_posts" +""" +enum dataplatform_near_social_feed_moderated_posts_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_moderated_posts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_moderated_posts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_moderated_posts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_moderated_posts" +""" +input dataplatform_near_social_feed_moderated_posts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_moderated_posts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_moderated_posts_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_moderated_posts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_moderated_posts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_moderated_posts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_moderated_posts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +columns and relationships of "dataplatform_near_social_feed.post_likes" +""" +type dataplatform_near_social_feed_post_likes { + account_id: String! + block_height: numeric + block_timestamp: numeric! + + """An object relationship""" + post: dataplatform_near_social_feed_posts! + post_id: Int! + receipt_id: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.post_likes" +""" +type dataplatform_near_social_feed_post_likes_aggregate { + aggregate: dataplatform_near_social_feed_post_likes_aggregate_fields + nodes: [dataplatform_near_social_feed_post_likes!]! +} + +input dataplatform_near_social_feed_post_likes_aggregate_bool_exp { + count: dataplatform_near_social_feed_post_likes_aggregate_bool_exp_count +} + +input dataplatform_near_social_feed_post_likes_aggregate_bool_exp_count { + arguments: [dataplatform_near_social_feed_post_likes_select_column!] + distinct: Boolean + filter: dataplatform_near_social_feed_post_likes_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "dataplatform_near_social_feed.post_likes" +""" +type dataplatform_near_social_feed_post_likes_aggregate_fields { + avg: dataplatform_near_social_feed_post_likes_avg_fields + count(columns: [dataplatform_near_social_feed_post_likes_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_post_likes_max_fields + min: dataplatform_near_social_feed_post_likes_min_fields + stddev: dataplatform_near_social_feed_post_likes_stddev_fields + stddev_pop: dataplatform_near_social_feed_post_likes_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_post_likes_stddev_samp_fields + sum: dataplatform_near_social_feed_post_likes_sum_fields + var_pop: dataplatform_near_social_feed_post_likes_var_pop_fields + var_samp: dataplatform_near_social_feed_post_likes_var_samp_fields + variance: dataplatform_near_social_feed_post_likes_variance_fields +} + +""" +order by aggregate values of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_aggregate_order_by { + avg: dataplatform_near_social_feed_post_likes_avg_order_by + count: order_by + max: dataplatform_near_social_feed_post_likes_max_order_by + min: dataplatform_near_social_feed_post_likes_min_order_by + stddev: dataplatform_near_social_feed_post_likes_stddev_order_by + stddev_pop: dataplatform_near_social_feed_post_likes_stddev_pop_order_by + stddev_samp: dataplatform_near_social_feed_post_likes_stddev_samp_order_by + sum: dataplatform_near_social_feed_post_likes_sum_order_by + var_pop: dataplatform_near_social_feed_post_likes_var_pop_order_by + var_samp: dataplatform_near_social_feed_post_likes_var_samp_order_by + variance: dataplatform_near_social_feed_post_likes_variance_order_by +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_post_likes_avg_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by avg() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_avg_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.post_likes". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_post_likes_bool_exp { + _and: [dataplatform_near_social_feed_post_likes_bool_exp!] + _not: dataplatform_near_social_feed_post_likes_bool_exp + _or: [dataplatform_near_social_feed_post_likes_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + post: dataplatform_near_social_feed_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_post_likes_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_post_likes_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.post_likes". +""" +input dataplatform_near_social_feed_post_likes_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post: dataplatform_near_social_feed_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.post_likes" +""" +enum dataplatform_near_social_feed_post_likes_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_post_likes_stddev_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_stddev_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_post_likes_stddev_pop_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_post_likes_stddev_samp_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_post_likes" +""" +input dataplatform_near_social_feed_post_likes_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_post_likes_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_post_likes_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_post_likes_sum_fields { + block_height: numeric + block_timestamp: numeric + post_id: Int +} + +""" +order by sum() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_sum_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_post_likes_var_pop_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_post_likes_var_samp_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_post_likes_variance_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by variance() on columns of table "dataplatform_near_social_feed.post_likes" +""" +input dataplatform_near_social_feed_post_likes_variance_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +columns and relationships of "dataplatform_near_social_feed.posts" +""" +type dataplatform_near_social_feed_posts { + account_id: String! + accounts_liked( + """JSON select path""" + path: String + ): jsonb! + accounts_reposted( + """JSON select path""" + path: String + ): jsonb! + block_height: numeric! + block_timestamp: numeric! + + """An array relationship""" + comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): [dataplatform_near_social_feed_comments!]! + + """An aggregate relationship""" + comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): dataplatform_near_social_feed_comments_aggregate! + content: String! + id: Int! + last_comment_timestamp: numeric + + """An array relationship""" + post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """An aggregate relationship""" + post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + receipt_id: String! + + """An object relationship""" + verifications: dataplatform_near_verifications_account +} + +""" +aggregated selection of "dataplatform_near_social_feed.posts" +""" +type dataplatform_near_social_feed_posts_aggregate { + aggregate: dataplatform_near_social_feed_posts_aggregate_fields + nodes: [dataplatform_near_social_feed_posts!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.posts" +""" +type dataplatform_near_social_feed_posts_aggregate_fields { + avg: dataplatform_near_social_feed_posts_avg_fields + count(columns: [dataplatform_near_social_feed_posts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_posts_max_fields + min: dataplatform_near_social_feed_posts_min_fields + stddev: dataplatform_near_social_feed_posts_stddev_fields + stddev_pop: dataplatform_near_social_feed_posts_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_posts_stddev_samp_fields + sum: dataplatform_near_social_feed_posts_sum_fields + var_pop: dataplatform_near_social_feed_posts_var_pop_fields + var_samp: dataplatform_near_social_feed_posts_var_samp_fields + variance: dataplatform_near_social_feed_posts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_posts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.posts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_posts_bool_exp { + _and: [dataplatform_near_social_feed_posts_bool_exp!] + _not: dataplatform_near_social_feed_posts_bool_exp + _or: [dataplatform_near_social_feed_posts_bool_exp!] + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + accounts_reposted: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + comments: dataplatform_near_social_feed_comments_bool_exp + comments_aggregate: dataplatform_near_social_feed_comments_aggregate_bool_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + post_likes: dataplatform_near_social_feed_post_likes_bool_exp + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_bool_exp + receipt_id: String_comparison_exp + verifications: dataplatform_near_verifications_account_bool_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_posts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_posts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.posts". +""" +input dataplatform_near_social_feed_posts_order_by { + account_id: order_by + accounts_liked: order_by + accounts_reposted: order_by + block_height: order_by + block_timestamp: order_by + comments_aggregate: dataplatform_near_social_feed_comments_aggregate_order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + post_likes_aggregate: dataplatform_near_social_feed_post_likes_aggregate_order_by + receipt_id: order_by + verifications: dataplatform_near_verifications_account_order_by +} + +""" +select columns of table "dataplatform_near_social_feed.posts" +""" +enum dataplatform_near_social_feed_posts_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + accounts_reposted + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_posts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_posts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_posts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_posts" +""" +input dataplatform_near_social_feed_posts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_posts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_posts_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + accounts_reposted: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_posts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_posts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_posts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_posts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +columns and relationships of "dataplatform_near_social_feed.promote" +""" +type dataplatform_near_social_feed_promote { + account_id: String! + block_height: numeric! + block_timestamp: numeric! + id: Int! + post_id: Int! + promotion_type: String! + receipt_id: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.promote" +""" +type dataplatform_near_social_feed_promote_aggregate { + aggregate: dataplatform_near_social_feed_promote_aggregate_fields + nodes: [dataplatform_near_social_feed_promote!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.promote" +""" +type dataplatform_near_social_feed_promote_aggregate_fields { + avg: dataplatform_near_social_feed_promote_avg_fields + count(columns: [dataplatform_near_social_feed_promote_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_promote_max_fields + min: dataplatform_near_social_feed_promote_min_fields + stddev: dataplatform_near_social_feed_promote_stddev_fields + stddev_pop: dataplatform_near_social_feed_promote_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_promote_stddev_samp_fields + sum: dataplatform_near_social_feed_promote_sum_fields + var_pop: dataplatform_near_social_feed_promote_var_pop_fields + var_samp: dataplatform_near_social_feed_promote_var_samp_fields + variance: dataplatform_near_social_feed_promote_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_promote_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.promote". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_promote_bool_exp { + _and: [dataplatform_near_social_feed_promote_bool_exp!] + _not: dataplatform_near_social_feed_promote_bool_exp + _or: [dataplatform_near_social_feed_promote_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + id: Int_comparison_exp + post_id: Int_comparison_exp + promotion_type: String_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_promote_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int + promotion_type: String + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_promote_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int + promotion_type: String + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.promote". +""" +input dataplatform_near_social_feed_promote_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by + promotion_type: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.promote" +""" +enum dataplatform_near_social_feed_promote_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + id + + """column name""" + post_id + + """column name""" + promotion_type + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_promote_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_promote_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_promote_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_promote" +""" +input dataplatform_near_social_feed_promote_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_promote_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_promote_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int + promotion_type: String + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_promote_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_promote_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_promote_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_promote_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +columns and relationships of "dataplatform_near_social_feed.reposts" +""" +type dataplatform_near_social_feed_reposts { + account_id: String! + block_height: numeric! + block_timestamp: numeric! + content: String! + id: Int! + post_id: Int! + receipt_id: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.reposts" +""" +type dataplatform_near_social_feed_reposts_aggregate { + aggregate: dataplatform_near_social_feed_reposts_aggregate_fields + nodes: [dataplatform_near_social_feed_reposts!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.reposts" +""" +type dataplatform_near_social_feed_reposts_aggregate_fields { + avg: dataplatform_near_social_feed_reposts_avg_fields + count(columns: [dataplatform_near_social_feed_reposts_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_reposts_max_fields + min: dataplatform_near_social_feed_reposts_min_fields + stddev: dataplatform_near_social_feed_reposts_stddev_fields + stddev_pop: dataplatform_near_social_feed_reposts_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_reposts_stddev_samp_fields + sum: dataplatform_near_social_feed_reposts_sum_fields + var_pop: dataplatform_near_social_feed_reposts_var_pop_fields + var_samp: dataplatform_near_social_feed_reposts_var_samp_fields + variance: dataplatform_near_social_feed_reposts_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_reposts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.reposts". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_reposts_bool_exp { + _and: [dataplatform_near_social_feed_reposts_bool_exp!] + _not: dataplatform_near_social_feed_reposts_bool_exp + _or: [dataplatform_near_social_feed_reposts_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_reposts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_reposts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.reposts". +""" +input dataplatform_near_social_feed_reposts_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.reposts" +""" +enum dataplatform_near_social_feed_reposts_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_reposts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_reposts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_reposts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_reposts" +""" +input dataplatform_near_social_feed_reposts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_reposts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_reposts_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_reposts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_reposts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_reposts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_reposts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +columns and relationships of "dataplatform_near_social_feed.sys_logs" +""" +type dataplatform_near_social_feed_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.sys_logs" +""" +type dataplatform_near_social_feed_sys_logs_aggregate { + aggregate: dataplatform_near_social_feed_sys_logs_aggregate_fields + nodes: [dataplatform_near_social_feed_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.sys_logs" +""" +type dataplatform_near_social_feed_sys_logs_aggregate_fields { + avg: dataplatform_near_social_feed_sys_logs_avg_fields + count(columns: [dataplatform_near_social_feed_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_sys_logs_max_fields + min: dataplatform_near_social_feed_sys_logs_min_fields + stddev: dataplatform_near_social_feed_sys_logs_stddev_fields + stddev_pop: dataplatform_near_social_feed_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_social_feed_sys_logs_stddev_samp_fields + sum: dataplatform_near_social_feed_sys_logs_sum_fields + var_pop: dataplatform_near_social_feed_sys_logs_var_pop_fields + var_samp: dataplatform_near_social_feed_sys_logs_var_samp_fields + variance: dataplatform_near_social_feed_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_social_feed_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_sys_logs_bool_exp { + _and: [dataplatform_near_social_feed_sys_logs_bool_exp!] + _not: dataplatform_near_social_feed_sys_logs_bool_exp + _or: [dataplatform_near_social_feed_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.sys_logs". +""" +input dataplatform_near_social_feed_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.sys_logs" +""" +enum dataplatform_near_social_feed_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_social_feed_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_social_feed_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_social_feed_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_sys_logs" +""" +input dataplatform_near_social_feed_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_social_feed_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_social_feed_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_social_feed_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_social_feed_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_social_feed.sys_metadata" +""" +type dataplatform_near_social_feed_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_social_feed.sys_metadata" +""" +type dataplatform_near_social_feed_sys_metadata_aggregate { + aggregate: dataplatform_near_social_feed_sys_metadata_aggregate_fields + nodes: [dataplatform_near_social_feed_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_social_feed.sys_metadata" +""" +type dataplatform_near_social_feed_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_social_feed_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_social_feed_sys_metadata_max_fields + min: dataplatform_near_social_feed_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_social_feed.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_social_feed_sys_metadata_bool_exp { + _and: [dataplatform_near_social_feed_sys_metadata_bool_exp!] + _not: dataplatform_near_social_feed_sys_metadata_bool_exp + _or: [dataplatform_near_social_feed_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_social_feed_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_social_feed_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_social_feed.sys_metadata". +""" +input dataplatform_near_social_feed_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_social_feed.sys_metadata" +""" +enum dataplatform_near_social_feed_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_social_feed_sys_metadata" +""" +input dataplatform_near_social_feed_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_social_feed_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_social_feed_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "dataplatform_near_verifications.account" +""" +type dataplatform_near_verifications_account { + account_id: String! + human_provider: String + human_valid_until: timestamp + human_verification_level: String + kyc_provider: String + kyc_valid_until: timestamp + kyc_verification_level: String + social_trust_provider_1: String + social_trust_provider_2: String + social_trust_score_1: Int + social_trust_score_2: Int +} + +""" +aggregated selection of "dataplatform_near_verifications.account" +""" +type dataplatform_near_verifications_account_aggregate { + aggregate: dataplatform_near_verifications_account_aggregate_fields + nodes: [dataplatform_near_verifications_account!]! +} + +""" +aggregate fields of "dataplatform_near_verifications.account" +""" +type dataplatform_near_verifications_account_aggregate_fields { + avg: dataplatform_near_verifications_account_avg_fields + count(columns: [dataplatform_near_verifications_account_select_column!], distinct: Boolean): Int! + max: dataplatform_near_verifications_account_max_fields + min: dataplatform_near_verifications_account_min_fields + stddev: dataplatform_near_verifications_account_stddev_fields + stddev_pop: dataplatform_near_verifications_account_stddev_pop_fields + stddev_samp: dataplatform_near_verifications_account_stddev_samp_fields + sum: dataplatform_near_verifications_account_sum_fields + var_pop: dataplatform_near_verifications_account_var_pop_fields + var_samp: dataplatform_near_verifications_account_var_samp_fields + variance: dataplatform_near_verifications_account_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_verifications_account_avg_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_verifications.account". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_verifications_account_bool_exp { + _and: [dataplatform_near_verifications_account_bool_exp!] + _not: dataplatform_near_verifications_account_bool_exp + _or: [dataplatform_near_verifications_account_bool_exp!] + account_id: String_comparison_exp + human_provider: String_comparison_exp + human_valid_until: timestamp_comparison_exp + human_verification_level: String_comparison_exp + kyc_provider: String_comparison_exp + kyc_valid_until: timestamp_comparison_exp + kyc_verification_level: String_comparison_exp + social_trust_provider_1: String_comparison_exp + social_trust_provider_2: String_comparison_exp + social_trust_score_1: Int_comparison_exp + social_trust_score_2: Int_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_verifications_account_max_fields { + account_id: String + human_provider: String + human_valid_until: timestamp + human_verification_level: String + kyc_provider: String + kyc_valid_until: timestamp + kyc_verification_level: String + social_trust_provider_1: String + social_trust_provider_2: String + social_trust_score_1: Int + social_trust_score_2: Int +} + +"""aggregate min on columns""" +type dataplatform_near_verifications_account_min_fields { + account_id: String + human_provider: String + human_valid_until: timestamp + human_verification_level: String + kyc_provider: String + kyc_valid_until: timestamp + kyc_verification_level: String + social_trust_provider_1: String + social_trust_provider_2: String + social_trust_score_1: Int + social_trust_score_2: Int +} + +""" +Ordering options when selecting data from "dataplatform_near_verifications.account". +""" +input dataplatform_near_verifications_account_order_by { + account_id: order_by + human_provider: order_by + human_valid_until: order_by + human_verification_level: order_by + kyc_provider: order_by + kyc_valid_until: order_by + kyc_verification_level: order_by + social_trust_provider_1: order_by + social_trust_provider_2: order_by + social_trust_score_1: order_by + social_trust_score_2: order_by +} + +""" +select columns of table "dataplatform_near_verifications.account" +""" +enum dataplatform_near_verifications_account_select_column { + """column name""" + account_id + + """column name""" + human_provider + + """column name""" + human_valid_until + + """column name""" + human_verification_level + + """column name""" + kyc_provider + + """column name""" + kyc_valid_until + + """column name""" + kyc_verification_level + + """column name""" + social_trust_provider_1 + + """column name""" + social_trust_provider_2 + + """column name""" + social_trust_score_1 + + """column name""" + social_trust_score_2 +} + +"""aggregate stddev on columns""" +type dataplatform_near_verifications_account_stddev_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_verifications_account_stddev_pop_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_verifications_account_stddev_samp_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +""" +Streaming cursor of the table "dataplatform_near_verifications_account" +""" +input dataplatform_near_verifications_account_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_verifications_account_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_verifications_account_stream_cursor_value_input { + account_id: String + human_provider: String + human_valid_until: timestamp + human_verification_level: String + kyc_provider: String + kyc_valid_until: timestamp + kyc_verification_level: String + social_trust_provider_1: String + social_trust_provider_2: String + social_trust_score_1: Int + social_trust_score_2: Int +} + +"""aggregate sum on columns""" +type dataplatform_near_verifications_account_sum_fields { + social_trust_score_1: Int + social_trust_score_2: Int +} + +"""aggregate var_pop on columns""" +type dataplatform_near_verifications_account_var_pop_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_verifications_account_var_samp_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_verifications_account_variance_fields { + social_trust_score_1: Float + social_trust_score_2: Float +} + +""" +columns and relationships of "dataplatform_near_verifications.sys_logs" +""" +type dataplatform_near_verifications_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "dataplatform_near_verifications.sys_logs" +""" +type dataplatform_near_verifications_sys_logs_aggregate { + aggregate: dataplatform_near_verifications_sys_logs_aggregate_fields + nodes: [dataplatform_near_verifications_sys_logs!]! +} + +""" +aggregate fields of "dataplatform_near_verifications.sys_logs" +""" +type dataplatform_near_verifications_sys_logs_aggregate_fields { + avg: dataplatform_near_verifications_sys_logs_avg_fields + count(columns: [dataplatform_near_verifications_sys_logs_select_column!], distinct: Boolean): Int! + max: dataplatform_near_verifications_sys_logs_max_fields + min: dataplatform_near_verifications_sys_logs_min_fields + stddev: dataplatform_near_verifications_sys_logs_stddev_fields + stddev_pop: dataplatform_near_verifications_sys_logs_stddev_pop_fields + stddev_samp: dataplatform_near_verifications_sys_logs_stddev_samp_fields + sum: dataplatform_near_verifications_sys_logs_sum_fields + var_pop: dataplatform_near_verifications_sys_logs_var_pop_fields + var_samp: dataplatform_near_verifications_sys_logs_var_samp_fields + variance: dataplatform_near_verifications_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type dataplatform_near_verifications_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_verifications.sys_logs". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_verifications_sys_logs_bool_exp { + _and: [dataplatform_near_verifications_sys_logs_bool_exp!] + _not: dataplatform_near_verifications_sys_logs_bool_exp + _or: [dataplatform_near_verifications_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_verifications_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type dataplatform_near_verifications_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "dataplatform_near_verifications.sys_logs". +""" +input dataplatform_near_verifications_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "dataplatform_near_verifications.sys_logs" +""" +enum dataplatform_near_verifications_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type dataplatform_near_verifications_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type dataplatform_near_verifications_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type dataplatform_near_verifications_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "dataplatform_near_verifications_sys_logs" +""" +input dataplatform_near_verifications_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_verifications_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_verifications_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type dataplatform_near_verifications_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type dataplatform_near_verifications_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type dataplatform_near_verifications_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type dataplatform_near_verifications_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "dataplatform_near_verifications.sys_metadata" +""" +type dataplatform_near_verifications_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "dataplatform_near_verifications.sys_metadata" +""" +type dataplatform_near_verifications_sys_metadata_aggregate { + aggregate: dataplatform_near_verifications_sys_metadata_aggregate_fields + nodes: [dataplatform_near_verifications_sys_metadata!]! +} + +""" +aggregate fields of "dataplatform_near_verifications.sys_metadata" +""" +type dataplatform_near_verifications_sys_metadata_aggregate_fields { + count(columns: [dataplatform_near_verifications_sys_metadata_select_column!], distinct: Boolean): Int! + max: dataplatform_near_verifications_sys_metadata_max_fields + min: dataplatform_near_verifications_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "dataplatform_near_verifications.sys_metadata". All fields are combined with a logical 'AND'. +""" +input dataplatform_near_verifications_sys_metadata_bool_exp { + _and: [dataplatform_near_verifications_sys_metadata_bool_exp!] + _not: dataplatform_near_verifications_sys_metadata_bool_exp + _or: [dataplatform_near_verifications_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type dataplatform_near_verifications_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type dataplatform_near_verifications_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "dataplatform_near_verifications.sys_metadata". +""" +input dataplatform_near_verifications_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "dataplatform_near_verifications.sys_metadata" +""" +enum dataplatform_near_verifications_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "dataplatform_near_verifications_sys_metadata" +""" +input dataplatform_near_verifications_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dataplatform_near_verifications_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dataplatform_near_verifications_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +scalar date + +""" +Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. +""" +input date_comparison_exp { + _eq: date + _gt: date + _gte: date + _in: [date!] + _is_null: Boolean + _lt: date + _lte: date + _neq: date + _nin: [date!] +} + +""" +columns and relationships of "impressions" +""" +type impressions { + component_author_id: String + component_name: String + impressions: Int +} + +""" +aggregated selection of "impressions" +""" +type impressions_aggregate { + aggregate: impressions_aggregate_fields + nodes: [impressions!]! +} + +""" +aggregate fields of "impressions" +""" +type impressions_aggregate_fields { + avg: impressions_avg_fields + count(columns: [impressions_select_column!], distinct: Boolean): Int! + max: impressions_max_fields + min: impressions_min_fields + stddev: impressions_stddev_fields + stddev_pop: impressions_stddev_pop_fields + stddev_samp: impressions_stddev_samp_fields + sum: impressions_sum_fields + var_pop: impressions_var_pop_fields + var_samp: impressions_var_samp_fields + variance: impressions_variance_fields +} + +"""aggregate avg on columns""" +type impressions_avg_fields { + impressions: Float +} + +""" +Boolean expression to filter rows from the table "impressions". All fields are combined with a logical 'AND'. +""" +input impressions_bool_exp { + _and: [impressions_bool_exp!] + _not: impressions_bool_exp + _or: [impressions_bool_exp!] + component_author_id: String_comparison_exp + component_name: String_comparison_exp + impressions: Int_comparison_exp +} + +"""aggregate max on columns""" +type impressions_max_fields { + component_author_id: String + component_name: String + impressions: Int +} + +"""aggregate min on columns""" +type impressions_min_fields { + component_author_id: String + component_name: String + impressions: Int +} + +"""Ordering options when selecting data from "impressions".""" +input impressions_order_by { + component_author_id: order_by + component_name: order_by + impressions: order_by +} + +""" +select columns of table "impressions" +""" +enum impressions_select_column { + """column name""" + component_author_id + + """column name""" + component_name + + """column name""" + impressions +} + +"""aggregate stddev on columns""" +type impressions_stddev_fields { + impressions: Float +} + +"""aggregate stddev_pop on columns""" +type impressions_stddev_pop_fields { + impressions: Float +} + +"""aggregate stddev_samp on columns""" +type impressions_stddev_samp_fields { + impressions: Float +} + +""" +Streaming cursor of the table "impressions" +""" +input impressions_stream_cursor_input { + """Stream column input with initial value""" + initial_value: impressions_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input impressions_stream_cursor_value_input { + component_author_id: String + component_name: String + impressions: Int +} + +"""aggregate sum on columns""" +type impressions_sum_fields { + impressions: Int +} + +"""aggregate var_pop on columns""" +type impressions_var_pop_fields { + impressions: Float +} + +"""aggregate var_samp on columns""" +type impressions_var_samp_fields { + impressions: Float +} + +"""aggregate variance on columns""" +type impressions_variance_fields { + impressions: Float +} + +scalar jsonb + +input jsonb_cast_exp { + String: String_comparison_exp +} + +""" +Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. +""" +input jsonb_comparison_exp { + _cast: jsonb_cast_exp + + """is the column contained in the given json value""" + _contained_in: jsonb + + """does the column contain the given json value at the top level""" + _contains: jsonb + _eq: jsonb + _gt: jsonb + _gte: jsonb + + """does the string exist as a top-level key in the column""" + _has_key: String + + """do all of these strings exist as top-level keys in the column""" + _has_keys_all: [String!] + + """do any of these strings exist as top-level keys in the column""" + _has_keys_any: [String!] + _in: [jsonb!] + _is_null: Boolean + _lt: jsonb + _lte: jsonb + _neq: jsonb + _nin: [jsonb!] +} + +scalar numeric + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_comparison_exp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _is_null: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] +} + +"""column ordering options""" +enum order_by { + """in ascending order, nulls last""" + asc + + """in ascending order, nulls first""" + asc_nulls_first + + """in ascending order, nulls last""" + asc_nulls_last + + """in descending order, nulls first""" + desc + + """in descending order, nulls first""" + desc_nulls_first + + """in descending order, nulls last""" + desc_nulls_last +} + +type query_root { + """ + fetch data from the table: "dataplatform_near_access_keys_v1.access_keys_v1" + """ + dataplatform_near_access_keys_v1_access_keys_v1( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_access_keys_v1_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_access_keys_v1_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + ): [dataplatform_near_access_keys_v1_access_keys_v1!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.access_keys_v1" + """ + dataplatform_near_access_keys_v1_access_keys_v1_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_access_keys_v1_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_access_keys_v1_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + ): dataplatform_near_access_keys_v1_access_keys_v1_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.access_keys_v1" using primary key columns + """ + dataplatform_near_access_keys_v1_access_keys_v1_by_pk(account_id: String!, public_key: String!): dataplatform_near_access_keys_v1_access_keys_v1 + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_logs" + """ + dataplatform_near_access_keys_v1_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_logs_bool_exp + ): [dataplatform_near_access_keys_v1_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.sys_logs" + """ + dataplatform_near_access_keys_v1_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_logs_bool_exp + ): dataplatform_near_access_keys_v1_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_logs" using primary key columns + """ + dataplatform_near_access_keys_v1_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_access_keys_v1_sys_logs + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_metadata" + """ + dataplatform_near_access_keys_v1_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + ): [dataplatform_near_access_keys_v1_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.sys_metadata" + """ + dataplatform_near_access_keys_v1_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + ): dataplatform_near_access_keys_v1_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_metadata" using primary key columns + """ + dataplatform_near_access_keys_v1_sys_metadata_by_pk(attribute: String!): dataplatform_near_access_keys_v1_sys_metadata + + """ + fetch data from the table: "dataplatform_near_accounts.accounts" + """ + dataplatform_near_accounts_accounts( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_accounts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_accounts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_accounts_bool_exp + ): [dataplatform_near_accounts_accounts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.accounts" + """ + dataplatform_near_accounts_accounts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_accounts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_accounts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_accounts_bool_exp + ): dataplatform_near_accounts_accounts_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.accounts" using primary key columns + """ + dataplatform_near_accounts_accounts_by_pk(account_id: String!): dataplatform_near_accounts_accounts + + """ + fetch data from the table: "dataplatform_near_accounts.sys_logs" + """ + dataplatform_near_accounts_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_logs_bool_exp + ): [dataplatform_near_accounts_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.sys_logs" + """ + dataplatform_near_accounts_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_logs_bool_exp + ): dataplatform_near_accounts_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_logs" using primary key columns + """ + dataplatform_near_accounts_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_accounts_sys_logs + + """ + fetch data from the table: "dataplatform_near_accounts.sys_metadata" + """ + dataplatform_near_accounts_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_metadata_bool_exp + ): [dataplatform_near_accounts_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.sys_metadata" + """ + dataplatform_near_accounts_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_metadata_bool_exp + ): dataplatform_near_accounts_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_metadata" using primary key columns + """ + dataplatform_near_accounts_sys_metadata_by_pk(attribute: String!): dataplatform_near_accounts_sys_metadata + + """ + fetch data from the table: "dataplatform_near_components.metadata" + """ + dataplatform_near_components_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_metadata_bool_exp + ): [dataplatform_near_components_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.metadata" + """ + dataplatform_near_components_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_metadata_bool_exp + ): dataplatform_near_components_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.metadata" using primary key columns + """ + dataplatform_near_components_metadata_by_pk(component_id: String!): dataplatform_near_components_metadata + + """ + fetch data from the table: "dataplatform_near_components.sys_logs" + """ + dataplatform_near_components_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_logs_bool_exp + ): [dataplatform_near_components_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.sys_logs" + """ + dataplatform_near_components_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_logs_bool_exp + ): dataplatform_near_components_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.sys_logs" using primary key columns + """ + dataplatform_near_components_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_components_sys_logs + + """ + fetch data from the table: "dataplatform_near_components.sys_metadata" + """ + dataplatform_near_components_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_metadata_bool_exp + ): [dataplatform_near_components_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.sys_metadata" + """ + dataplatform_near_components_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_metadata_bool_exp + ): dataplatform_near_components_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.sys_metadata" using primary key columns + """ + dataplatform_near_components_sys_metadata_by_pk(attribute: String!): dataplatform_near_components_sys_metadata + + """ + fetch data from the table: "dataplatform_near_components.versions" + """ + dataplatform_near_components_versions( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_versions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_versions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_versions_bool_exp + ): [dataplatform_near_components_versions!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.versions" + """ + dataplatform_near_components_versions_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_versions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_versions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_versions_bool_exp + ): dataplatform_near_components_versions_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.versions" using primary key columns + """ + dataplatform_near_components_versions_by_pk(id: Int!): dataplatform_near_components_versions + + """ + fetch data from the table: "dataplatform_near_entities.entities" + """ + dataplatform_near_entities_entities( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_entities_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_entities_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_entities_bool_exp + ): [dataplatform_near_entities_entities!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.entities" + """ + dataplatform_near_entities_entities_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_entities_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_entities_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_entities_bool_exp + ): dataplatform_near_entities_entities_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.entities" using primary key columns + """ + dataplatform_near_entities_entities_by_pk(account_id: String!, entity_type: String!, name: String!): dataplatform_near_entities_entities + + """ + fetch data from the table: "dataplatform_near_entities.sys_logs" + """ + dataplatform_near_entities_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_logs_bool_exp + ): [dataplatform_near_entities_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.sys_logs" + """ + dataplatform_near_entities_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_logs_bool_exp + ): dataplatform_near_entities_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.sys_logs" using primary key columns + """ + dataplatform_near_entities_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_entities_sys_logs + + """ + fetch data from the table: "dataplatform_near_entities.sys_metadata" + """ + dataplatform_near_entities_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_metadata_bool_exp + ): [dataplatform_near_entities_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.sys_metadata" + """ + dataplatform_near_entities_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_metadata_bool_exp + ): dataplatform_near_entities_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.sys_metadata" using primary key columns + """ + dataplatform_near_entities_sys_metadata_by_pk(attribute: String!): dataplatform_near_entities_sys_metadata + + """ + fetch data from the table: "dataplatform_near_entities.tags" + """ + dataplatform_near_entities_tags( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_tags_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_tags_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_tags_bool_exp + ): [dataplatform_near_entities_tags!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.tags" + """ + dataplatform_near_entities_tags_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_tags_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_tags_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_tags_bool_exp + ): dataplatform_near_entities_tags_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_comments" + """ + dataplatform_near_feed_moderated_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): [dataplatform_near_feed_moderated_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_comments" + """ + dataplatform_near_feed_moderated_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): dataplatform_near_feed_moderated_comments_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_posts" + """ + dataplatform_near_feed_moderated_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_bool_exp + ): [dataplatform_near_feed_moderated_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_posts" + """ + dataplatform_near_feed_moderated_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_bool_exp + ): dataplatform_near_feed_moderated_posts_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_posts_with_reposts_feed" + """ + dataplatform_near_feed_moderated_posts_with_reposts_feed( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_with_reposts_feed_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + ): [dataplatform_near_feed_moderated_posts_with_reposts_feed!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_posts_with_reposts_feed" + """ + dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_with_reposts_feed_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + ): dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.promoted_blog_posts" + """ + dataplatform_near_feed_promoted_blog_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_promoted_blog_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_promoted_blog_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_promoted_blog_posts_bool_exp + ): [dataplatform_near_feed_promoted_blog_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.promoted_blog_posts" + """ + dataplatform_near_feed_promoted_blog_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_promoted_blog_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_promoted_blog_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_promoted_blog_posts_bool_exp + ): dataplatform_near_feed_promoted_blog_posts_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.sys_logs" + """ + dataplatform_near_feed_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_logs_bool_exp + ): [dataplatform_near_feed_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.sys_logs" + """ + dataplatform_near_feed_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_logs_bool_exp + ): dataplatform_near_feed_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.sys_logs" using primary key columns + """ + dataplatform_near_feed_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_feed_sys_logs + + """ + fetch data from the table: "dataplatform_near_feed.sys_metadata" + """ + dataplatform_near_feed_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_metadata_bool_exp + ): [dataplatform_near_feed_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.sys_metadata" + """ + dataplatform_near_feed_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_metadata_bool_exp + ): dataplatform_near_feed_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.sys_metadata" using primary key columns + """ + dataplatform_near_feed_sys_metadata_by_pk(attribute: String!): dataplatform_near_feed_sys_metadata + + """ + fetch data from the table: "dataplatform_near_moderation.moderation_decisions" + """ + dataplatform_near_moderation_moderation_decisions( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_decisions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_decisions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_decisions_bool_exp + ): [dataplatform_near_moderation_moderation_decisions!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.moderation_decisions" + """ + dataplatform_near_moderation_moderation_decisions_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_decisions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_decisions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_decisions_bool_exp + ): dataplatform_near_moderation_moderation_decisions_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.moderation_reporting" + """ + dataplatform_near_moderation_moderation_reporting( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_reporting_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_reporting_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_reporting_bool_exp + ): [dataplatform_near_moderation_moderation_reporting!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.moderation_reporting" + """ + dataplatform_near_moderation_moderation_reporting_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_reporting_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_reporting_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_reporting_bool_exp + ): dataplatform_near_moderation_moderation_reporting_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.needs_moderation" + """ + dataplatform_near_moderation_needs_moderation( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_needs_moderation_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_needs_moderation_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_needs_moderation_bool_exp + ): [dataplatform_near_moderation_needs_moderation!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.needs_moderation" + """ + dataplatform_near_moderation_needs_moderation_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_needs_moderation_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_needs_moderation_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_needs_moderation_bool_exp + ): dataplatform_near_moderation_needs_moderation_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_logs" + """ + dataplatform_near_moderation_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_logs_bool_exp + ): [dataplatform_near_moderation_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.sys_logs" + """ + dataplatform_near_moderation_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_logs_bool_exp + ): dataplatform_near_moderation_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_logs" using primary key columns + """ + dataplatform_near_moderation_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_moderation_sys_logs + + """ + fetch data from the table: "dataplatform_near_moderation.sys_metadata" + """ + dataplatform_near_moderation_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_metadata_bool_exp + ): [dataplatform_near_moderation_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.sys_metadata" + """ + dataplatform_near_moderation_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_metadata_bool_exp + ): dataplatform_near_moderation_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_metadata" using primary key columns + """ + dataplatform_near_moderation_sys_metadata_by_pk(attribute: String!): dataplatform_near_moderation_sys_metadata + + """ + fetch data from the table: "dataplatform_near_moderation.unmoderated_reports" + """ + dataplatform_near_moderation_unmoderated_reports( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_unmoderated_reports_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_unmoderated_reports_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_unmoderated_reports_bool_exp + ): [dataplatform_near_moderation_unmoderated_reports!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.unmoderated_reports" + """ + dataplatform_near_moderation_unmoderated_reports_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_unmoderated_reports_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_unmoderated_reports_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_unmoderated_reports_bool_exp + ): dataplatform_near_moderation_unmoderated_reports_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.notifications" + """ + dataplatform_near_notifications_notifications( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_notifications_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_notifications_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_notifications_bool_exp + ): [dataplatform_near_notifications_notifications!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.notifications" + """ + dataplatform_near_notifications_notifications_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_notifications_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_notifications_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_notifications_bool_exp + ): dataplatform_near_notifications_notifications_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.notifications" using primary key columns + """ + dataplatform_near_notifications_notifications_by_pk(id: Int!): dataplatform_near_notifications_notifications + + """ + fetch data from the table: "dataplatform_near_notifications.sys_logs" + """ + dataplatform_near_notifications_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_logs_bool_exp + ): [dataplatform_near_notifications_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.sys_logs" + """ + dataplatform_near_notifications_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_logs_bool_exp + ): dataplatform_near_notifications_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_logs" using primary key columns + """ + dataplatform_near_notifications_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_notifications_sys_logs + + """ + fetch data from the table: "dataplatform_near_notifications.sys_metadata" + """ + dataplatform_near_notifications_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_metadata_bool_exp + ): [dataplatform_near_notifications_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.sys_metadata" + """ + dataplatform_near_notifications_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_metadata_bool_exp + ): dataplatform_near_notifications_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_metadata" using primary key columns + """ + dataplatform_near_notifications_sys_metadata_by_pk(attribute: String!): dataplatform_near_notifications_sys_metadata + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.bitmaps" + """ + dataplatform_near_receiver_blocks_bitmaps( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): [dataplatform_near_receiver_blocks_bitmaps!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.bitmaps" + """ + dataplatform_near_receiver_blocks_bitmaps_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): dataplatform_near_receiver_blocks_bitmaps_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.bitmaps" using primary key columns + """ + dataplatform_near_receiver_blocks_bitmaps_by_pk(block_date: date!, receiver_id: bigint!): dataplatform_near_receiver_blocks_bitmaps + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.receivers" + """ + dataplatform_near_receiver_blocks_receivers( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_receivers_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_receivers_bool_exp + ): [dataplatform_near_receiver_blocks_receivers!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.receivers" + """ + dataplatform_near_receiver_blocks_receivers_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_receivers_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_receivers_bool_exp + ): dataplatform_near_receiver_blocks_receivers_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.receivers" using primary key columns + """ + dataplatform_near_receiver_blocks_receivers_by_pk(id: bigint!): dataplatform_near_receiver_blocks_receivers + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_logs" + """ + dataplatform_near_receiver_blocks_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_logs_bool_exp + ): [dataplatform_near_receiver_blocks_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.sys_logs" + """ + dataplatform_near_receiver_blocks_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_logs_bool_exp + ): dataplatform_near_receiver_blocks_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_logs" using primary key columns + """ + dataplatform_near_receiver_blocks_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_receiver_blocks_sys_logs + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_metadata" + """ + dataplatform_near_receiver_blocks_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + ): [dataplatform_near_receiver_blocks_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.sys_metadata" + """ + dataplatform_near_receiver_blocks_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + ): dataplatform_near_receiver_blocks_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_metadata" using primary key columns + """ + dataplatform_near_receiver_blocks_sys_metadata_by_pk(attribute: String!): dataplatform_near_receiver_blocks_sys_metadata + + """ + fetch data from the table: "dataplatform_near_social_feed.comments" + """ + dataplatform_near_social_feed_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): [dataplatform_near_social_feed_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.comments" + """ + dataplatform_near_social_feed_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): dataplatform_near_social_feed_comments_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.comments" using primary key columns + """ + dataplatform_near_social_feed_comments_by_pk(id: Int!): dataplatform_near_social_feed_comments + + """ + fetch data from the table: "dataplatform_near_social_feed.moderated_comments" + """ + dataplatform_near_social_feed_moderated_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): [dataplatform_near_social_feed_moderated_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.moderated_comments" + """ + dataplatform_near_social_feed_moderated_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): dataplatform_near_social_feed_moderated_comments_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.moderated_posts" + """ + dataplatform_near_social_feed_moderated_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_posts_bool_exp + ): [dataplatform_near_social_feed_moderated_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.moderated_posts" + """ + dataplatform_near_social_feed_moderated_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_posts_bool_exp + ): dataplatform_near_social_feed_moderated_posts_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.post_likes" + """ + dataplatform_near_social_feed_post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.post_likes" + """ + dataplatform_near_social_feed_post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.post_likes" using primary key columns + """ + dataplatform_near_social_feed_post_likes_by_pk(account_id: String!, post_id: Int!): dataplatform_near_social_feed_post_likes + + """ + fetch data from the table: "dataplatform_near_social_feed.posts" + """ + dataplatform_near_social_feed_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_posts_bool_exp + ): [dataplatform_near_social_feed_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.posts" + """ + dataplatform_near_social_feed_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_posts_bool_exp + ): dataplatform_near_social_feed_posts_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.posts" using primary key columns + """ + dataplatform_near_social_feed_posts_by_pk(id: Int!): dataplatform_near_social_feed_posts + + """ + fetch data from the table: "dataplatform_near_social_feed.promote" + """ + dataplatform_near_social_feed_promote( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_promote_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_promote_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_promote_bool_exp + ): [dataplatform_near_social_feed_promote!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.promote" + """ + dataplatform_near_social_feed_promote_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_promote_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_promote_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_promote_bool_exp + ): dataplatform_near_social_feed_promote_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.reposts" + """ + dataplatform_near_social_feed_reposts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_reposts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_reposts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_reposts_bool_exp + ): [dataplatform_near_social_feed_reposts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.reposts" + """ + dataplatform_near_social_feed_reposts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_reposts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_reposts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_reposts_bool_exp + ): dataplatform_near_social_feed_reposts_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.reposts" using primary key columns + """ + dataplatform_near_social_feed_reposts_by_pk(account_id: String!, post_id: Int!): dataplatform_near_social_feed_reposts + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_logs" + """ + dataplatform_near_social_feed_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_logs_bool_exp + ): [dataplatform_near_social_feed_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.sys_logs" + """ + dataplatform_near_social_feed_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_logs_bool_exp + ): dataplatform_near_social_feed_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_logs" using primary key columns + """ + dataplatform_near_social_feed_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_social_feed_sys_logs + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_metadata" + """ + dataplatform_near_social_feed_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_metadata_bool_exp + ): [dataplatform_near_social_feed_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.sys_metadata" + """ + dataplatform_near_social_feed_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_metadata_bool_exp + ): dataplatform_near_social_feed_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_metadata" using primary key columns + """ + dataplatform_near_social_feed_sys_metadata_by_pk(attribute: String!): dataplatform_near_social_feed_sys_metadata + + """ + fetch data from the table: "dataplatform_near_verifications.account" + """ + dataplatform_near_verifications_account( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_account_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_account_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_account_bool_exp + ): [dataplatform_near_verifications_account!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.account" + """ + dataplatform_near_verifications_account_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_account_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_account_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_account_bool_exp + ): dataplatform_near_verifications_account_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.account" using primary key columns + """ + dataplatform_near_verifications_account_by_pk(account_id: String!): dataplatform_near_verifications_account + + """ + fetch data from the table: "dataplatform_near_verifications.sys_logs" + """ + dataplatform_near_verifications_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_logs_bool_exp + ): [dataplatform_near_verifications_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.sys_logs" + """ + dataplatform_near_verifications_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_logs_bool_exp + ): dataplatform_near_verifications_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_logs" using primary key columns + """ + dataplatform_near_verifications_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_verifications_sys_logs + + """ + fetch data from the table: "dataplatform_near_verifications.sys_metadata" + """ + dataplatform_near_verifications_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_metadata_bool_exp + ): [dataplatform_near_verifications_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.sys_metadata" + """ + dataplatform_near_verifications_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_metadata_bool_exp + ): dataplatform_near_verifications_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_metadata" using primary key columns + """ + dataplatform_near_verifications_sys_metadata_by_pk(attribute: String!): dataplatform_near_verifications_sys_metadata + + """ + fetch data from the table: "impressions" + """ + impressions( + """distinct select on columns""" + distinct_on: [impressions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [impressions_order_by!] + + """filter the rows returned""" + where: impressions_bool_exp + ): [impressions!]! + + """ + fetch aggregated fields from the table: "impressions" + """ + impressions_aggregate( + """distinct select on columns""" + distinct_on: [impressions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [impressions_order_by!] + + """filter the rows returned""" + where: impressions_bool_exp + ): impressions_aggregate! +} + +type subscription_root { + """ + fetch data from the table: "dataplatform_near_access_keys_v1.access_keys_v1" + """ + dataplatform_near_access_keys_v1_access_keys_v1( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_access_keys_v1_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_access_keys_v1_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + ): [dataplatform_near_access_keys_v1_access_keys_v1!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.access_keys_v1" + """ + dataplatform_near_access_keys_v1_access_keys_v1_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_access_keys_v1_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_access_keys_v1_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + ): dataplatform_near_access_keys_v1_access_keys_v1_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.access_keys_v1" using primary key columns + """ + dataplatform_near_access_keys_v1_access_keys_v1_by_pk(account_id: String!, public_key: String!): dataplatform_near_access_keys_v1_access_keys_v1 + + """ + fetch data from the table in a streaming manner: "dataplatform_near_access_keys_v1.access_keys_v1" + """ + dataplatform_near_access_keys_v1_access_keys_v1_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_access_keys_v1_access_keys_v1_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_access_keys_v1_bool_exp + ): [dataplatform_near_access_keys_v1_access_keys_v1!]! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_logs" + """ + dataplatform_near_access_keys_v1_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_logs_bool_exp + ): [dataplatform_near_access_keys_v1_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.sys_logs" + """ + dataplatform_near_access_keys_v1_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_logs_bool_exp + ): dataplatform_near_access_keys_v1_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_logs" using primary key columns + """ + dataplatform_near_access_keys_v1_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_access_keys_v1_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_access_keys_v1.sys_logs" + """ + dataplatform_near_access_keys_v1_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_access_keys_v1_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_logs_bool_exp + ): [dataplatform_near_access_keys_v1_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_metadata" + """ + dataplatform_near_access_keys_v1_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + ): [dataplatform_near_access_keys_v1_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_access_keys_v1.sys_metadata" + """ + dataplatform_near_access_keys_v1_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_access_keys_v1_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_access_keys_v1_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + ): dataplatform_near_access_keys_v1_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_access_keys_v1.sys_metadata" using primary key columns + """ + dataplatform_near_access_keys_v1_sys_metadata_by_pk(attribute: String!): dataplatform_near_access_keys_v1_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_access_keys_v1.sys_metadata" + """ + dataplatform_near_access_keys_v1_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_access_keys_v1_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_access_keys_v1_sys_metadata_bool_exp + ): [dataplatform_near_access_keys_v1_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_accounts.accounts" + """ + dataplatform_near_accounts_accounts( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_accounts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_accounts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_accounts_bool_exp + ): [dataplatform_near_accounts_accounts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.accounts" + """ + dataplatform_near_accounts_accounts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_accounts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_accounts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_accounts_bool_exp + ): dataplatform_near_accounts_accounts_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.accounts" using primary key columns + """ + dataplatform_near_accounts_accounts_by_pk(account_id: String!): dataplatform_near_accounts_accounts + + """ + fetch data from the table in a streaming manner: "dataplatform_near_accounts.accounts" + """ + dataplatform_near_accounts_accounts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_accounts_accounts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_accounts_accounts_bool_exp + ): [dataplatform_near_accounts_accounts!]! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_logs" + """ + dataplatform_near_accounts_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_logs_bool_exp + ): [dataplatform_near_accounts_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.sys_logs" + """ + dataplatform_near_accounts_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_logs_bool_exp + ): dataplatform_near_accounts_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_logs" using primary key columns + """ + dataplatform_near_accounts_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_accounts_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_accounts.sys_logs" + """ + dataplatform_near_accounts_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_accounts_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_logs_bool_exp + ): [dataplatform_near_accounts_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_metadata" + """ + dataplatform_near_accounts_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_metadata_bool_exp + ): [dataplatform_near_accounts_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_accounts.sys_metadata" + """ + dataplatform_near_accounts_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_accounts_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_accounts_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_metadata_bool_exp + ): dataplatform_near_accounts_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_accounts.sys_metadata" using primary key columns + """ + dataplatform_near_accounts_sys_metadata_by_pk(attribute: String!): dataplatform_near_accounts_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_accounts.sys_metadata" + """ + dataplatform_near_accounts_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_accounts_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_accounts_sys_metadata_bool_exp + ): [dataplatform_near_accounts_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_components.metadata" + """ + dataplatform_near_components_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_metadata_bool_exp + ): [dataplatform_near_components_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.metadata" + """ + dataplatform_near_components_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_metadata_bool_exp + ): dataplatform_near_components_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.metadata" using primary key columns + """ + dataplatform_near_components_metadata_by_pk(component_id: String!): dataplatform_near_components_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_components.metadata" + """ + dataplatform_near_components_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_components_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_components_metadata_bool_exp + ): [dataplatform_near_components_metadata!]! + + """ + fetch data from the table: "dataplatform_near_components.sys_logs" + """ + dataplatform_near_components_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_logs_bool_exp + ): [dataplatform_near_components_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.sys_logs" + """ + dataplatform_near_components_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_logs_bool_exp + ): dataplatform_near_components_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.sys_logs" using primary key columns + """ + dataplatform_near_components_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_components_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_components.sys_logs" + """ + dataplatform_near_components_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_components_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_components_sys_logs_bool_exp + ): [dataplatform_near_components_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_components.sys_metadata" + """ + dataplatform_near_components_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_metadata_bool_exp + ): [dataplatform_near_components_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.sys_metadata" + """ + dataplatform_near_components_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_sys_metadata_bool_exp + ): dataplatform_near_components_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.sys_metadata" using primary key columns + """ + dataplatform_near_components_sys_metadata_by_pk(attribute: String!): dataplatform_near_components_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_components.sys_metadata" + """ + dataplatform_near_components_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_components_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_components_sys_metadata_bool_exp + ): [dataplatform_near_components_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_components.versions" + """ + dataplatform_near_components_versions( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_versions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_versions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_versions_bool_exp + ): [dataplatform_near_components_versions!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_components.versions" + """ + dataplatform_near_components_versions_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_components_versions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_components_versions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_components_versions_bool_exp + ): dataplatform_near_components_versions_aggregate! + + """ + fetch data from the table: "dataplatform_near_components.versions" using primary key columns + """ + dataplatform_near_components_versions_by_pk(id: Int!): dataplatform_near_components_versions + + """ + fetch data from the table in a streaming manner: "dataplatform_near_components.versions" + """ + dataplatform_near_components_versions_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_components_versions_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_components_versions_bool_exp + ): [dataplatform_near_components_versions!]! + + """ + fetch data from the table: "dataplatform_near_entities.entities" + """ + dataplatform_near_entities_entities( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_entities_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_entities_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_entities_bool_exp + ): [dataplatform_near_entities_entities!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.entities" + """ + dataplatform_near_entities_entities_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_entities_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_entities_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_entities_bool_exp + ): dataplatform_near_entities_entities_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.entities" using primary key columns + """ + dataplatform_near_entities_entities_by_pk(account_id: String!, entity_type: String!, name: String!): dataplatform_near_entities_entities + + """ + fetch data from the table in a streaming manner: "dataplatform_near_entities.entities" + """ + dataplatform_near_entities_entities_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_entities_entities_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_entities_entities_bool_exp + ): [dataplatform_near_entities_entities!]! + + """ + fetch data from the table: "dataplatform_near_entities.sys_logs" + """ + dataplatform_near_entities_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_logs_bool_exp + ): [dataplatform_near_entities_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.sys_logs" + """ + dataplatform_near_entities_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_logs_bool_exp + ): dataplatform_near_entities_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.sys_logs" using primary key columns + """ + dataplatform_near_entities_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_entities_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_entities.sys_logs" + """ + dataplatform_near_entities_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_entities_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_entities_sys_logs_bool_exp + ): [dataplatform_near_entities_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_entities.sys_metadata" + """ + dataplatform_near_entities_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_metadata_bool_exp + ): [dataplatform_near_entities_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.sys_metadata" + """ + dataplatform_near_entities_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_sys_metadata_bool_exp + ): dataplatform_near_entities_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_entities.sys_metadata" using primary key columns + """ + dataplatform_near_entities_sys_metadata_by_pk(attribute: String!): dataplatform_near_entities_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_entities.sys_metadata" + """ + dataplatform_near_entities_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_entities_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_entities_sys_metadata_bool_exp + ): [dataplatform_near_entities_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_entities.tags" + """ + dataplatform_near_entities_tags( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_tags_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_tags_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_tags_bool_exp + ): [dataplatform_near_entities_tags!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_entities.tags" + """ + dataplatform_near_entities_tags_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_entities_tags_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_entities_tags_order_by!] + + """filter the rows returned""" + where: dataplatform_near_entities_tags_bool_exp + ): dataplatform_near_entities_tags_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_entities.tags" + """ + dataplatform_near_entities_tags_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_entities_tags_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_entities_tags_bool_exp + ): [dataplatform_near_entities_tags!]! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_comments" + """ + dataplatform_near_feed_moderated_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): [dataplatform_near_feed_moderated_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_comments" + """ + dataplatform_near_feed_moderated_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): dataplatform_near_feed_moderated_comments_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.moderated_comments" + """ + dataplatform_near_feed_moderated_comments_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_moderated_comments_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_comments_bool_exp + ): [dataplatform_near_feed_moderated_comments!]! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_posts" + """ + dataplatform_near_feed_moderated_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_bool_exp + ): [dataplatform_near_feed_moderated_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_posts" + """ + dataplatform_near_feed_moderated_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_bool_exp + ): dataplatform_near_feed_moderated_posts_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.moderated_posts" + """ + dataplatform_near_feed_moderated_posts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_moderated_posts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_bool_exp + ): [dataplatform_near_feed_moderated_posts!]! + + """ + fetch data from the table: "dataplatform_near_feed.moderated_posts_with_reposts_feed" + """ + dataplatform_near_feed_moderated_posts_with_reposts_feed( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_with_reposts_feed_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + ): [dataplatform_near_feed_moderated_posts_with_reposts_feed!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.moderated_posts_with_reposts_feed" + """ + dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_moderated_posts_with_reposts_feed_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_moderated_posts_with_reposts_feed_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + ): dataplatform_near_feed_moderated_posts_with_reposts_feed_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.moderated_posts_with_reposts_feed" + """ + dataplatform_near_feed_moderated_posts_with_reposts_feed_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_moderated_posts_with_reposts_feed_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_moderated_posts_with_reposts_feed_bool_exp + ): [dataplatform_near_feed_moderated_posts_with_reposts_feed!]! + + """ + fetch data from the table: "dataplatform_near_feed.promoted_blog_posts" + """ + dataplatform_near_feed_promoted_blog_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_promoted_blog_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_promoted_blog_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_promoted_blog_posts_bool_exp + ): [dataplatform_near_feed_promoted_blog_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.promoted_blog_posts" + """ + dataplatform_near_feed_promoted_blog_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_promoted_blog_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_promoted_blog_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_promoted_blog_posts_bool_exp + ): dataplatform_near_feed_promoted_blog_posts_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.promoted_blog_posts" + """ + dataplatform_near_feed_promoted_blog_posts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_promoted_blog_posts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_promoted_blog_posts_bool_exp + ): [dataplatform_near_feed_promoted_blog_posts!]! + + """ + fetch data from the table: "dataplatform_near_feed.sys_logs" + """ + dataplatform_near_feed_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_logs_bool_exp + ): [dataplatform_near_feed_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.sys_logs" + """ + dataplatform_near_feed_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_logs_bool_exp + ): dataplatform_near_feed_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.sys_logs" using primary key columns + """ + dataplatform_near_feed_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_feed_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.sys_logs" + """ + dataplatform_near_feed_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_sys_logs_bool_exp + ): [dataplatform_near_feed_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_feed.sys_metadata" + """ + dataplatform_near_feed_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_metadata_bool_exp + ): [dataplatform_near_feed_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_feed.sys_metadata" + """ + dataplatform_near_feed_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_feed_sys_metadata_bool_exp + ): dataplatform_near_feed_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_feed.sys_metadata" using primary key columns + """ + dataplatform_near_feed_sys_metadata_by_pk(attribute: String!): dataplatform_near_feed_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_feed.sys_metadata" + """ + dataplatform_near_feed_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_feed_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_feed_sys_metadata_bool_exp + ): [dataplatform_near_feed_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_moderation.moderation_decisions" + """ + dataplatform_near_moderation_moderation_decisions( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_decisions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_decisions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_decisions_bool_exp + ): [dataplatform_near_moderation_moderation_decisions!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.moderation_decisions" + """ + dataplatform_near_moderation_moderation_decisions_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_decisions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_decisions_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_decisions_bool_exp + ): dataplatform_near_moderation_moderation_decisions_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.moderation_decisions" + """ + dataplatform_near_moderation_moderation_decisions_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_moderation_decisions_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_decisions_bool_exp + ): [dataplatform_near_moderation_moderation_decisions!]! + + """ + fetch data from the table: "dataplatform_near_moderation.moderation_reporting" + """ + dataplatform_near_moderation_moderation_reporting( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_reporting_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_reporting_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_reporting_bool_exp + ): [dataplatform_near_moderation_moderation_reporting!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.moderation_reporting" + """ + dataplatform_near_moderation_moderation_reporting_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_moderation_reporting_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_moderation_reporting_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_reporting_bool_exp + ): dataplatform_near_moderation_moderation_reporting_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.moderation_reporting" + """ + dataplatform_near_moderation_moderation_reporting_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_moderation_reporting_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_moderation_reporting_bool_exp + ): [dataplatform_near_moderation_moderation_reporting!]! + + """ + fetch data from the table: "dataplatform_near_moderation.needs_moderation" + """ + dataplatform_near_moderation_needs_moderation( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_needs_moderation_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_needs_moderation_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_needs_moderation_bool_exp + ): [dataplatform_near_moderation_needs_moderation!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.needs_moderation" + """ + dataplatform_near_moderation_needs_moderation_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_needs_moderation_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_needs_moderation_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_needs_moderation_bool_exp + ): dataplatform_near_moderation_needs_moderation_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.needs_moderation" + """ + dataplatform_near_moderation_needs_moderation_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_needs_moderation_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_needs_moderation_bool_exp + ): [dataplatform_near_moderation_needs_moderation!]! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_logs" + """ + dataplatform_near_moderation_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_logs_bool_exp + ): [dataplatform_near_moderation_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.sys_logs" + """ + dataplatform_near_moderation_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_logs_bool_exp + ): dataplatform_near_moderation_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_logs" using primary key columns + """ + dataplatform_near_moderation_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_moderation_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.sys_logs" + """ + dataplatform_near_moderation_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_logs_bool_exp + ): [dataplatform_near_moderation_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_metadata" + """ + dataplatform_near_moderation_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_metadata_bool_exp + ): [dataplatform_near_moderation_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.sys_metadata" + """ + dataplatform_near_moderation_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_metadata_bool_exp + ): dataplatform_near_moderation_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_moderation.sys_metadata" using primary key columns + """ + dataplatform_near_moderation_sys_metadata_by_pk(attribute: String!): dataplatform_near_moderation_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.sys_metadata" + """ + dataplatform_near_moderation_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_sys_metadata_bool_exp + ): [dataplatform_near_moderation_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_moderation.unmoderated_reports" + """ + dataplatform_near_moderation_unmoderated_reports( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_unmoderated_reports_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_unmoderated_reports_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_unmoderated_reports_bool_exp + ): [dataplatform_near_moderation_unmoderated_reports!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_moderation.unmoderated_reports" + """ + dataplatform_near_moderation_unmoderated_reports_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_moderation_unmoderated_reports_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_moderation_unmoderated_reports_order_by!] + + """filter the rows returned""" + where: dataplatform_near_moderation_unmoderated_reports_bool_exp + ): dataplatform_near_moderation_unmoderated_reports_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_moderation.unmoderated_reports" + """ + dataplatform_near_moderation_unmoderated_reports_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_moderation_unmoderated_reports_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_moderation_unmoderated_reports_bool_exp + ): [dataplatform_near_moderation_unmoderated_reports!]! + + """ + fetch data from the table: "dataplatform_near_notifications.notifications" + """ + dataplatform_near_notifications_notifications( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_notifications_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_notifications_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_notifications_bool_exp + ): [dataplatform_near_notifications_notifications!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.notifications" + """ + dataplatform_near_notifications_notifications_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_notifications_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_notifications_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_notifications_bool_exp + ): dataplatform_near_notifications_notifications_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.notifications" using primary key columns + """ + dataplatform_near_notifications_notifications_by_pk(id: Int!): dataplatform_near_notifications_notifications + + """ + fetch data from the table in a streaming manner: "dataplatform_near_notifications.notifications" + """ + dataplatform_near_notifications_notifications_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_notifications_notifications_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_notifications_notifications_bool_exp + ): [dataplatform_near_notifications_notifications!]! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_logs" + """ + dataplatform_near_notifications_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_logs_bool_exp + ): [dataplatform_near_notifications_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.sys_logs" + """ + dataplatform_near_notifications_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_logs_bool_exp + ): dataplatform_near_notifications_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_logs" using primary key columns + """ + dataplatform_near_notifications_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_notifications_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_notifications.sys_logs" + """ + dataplatform_near_notifications_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_notifications_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_logs_bool_exp + ): [dataplatform_near_notifications_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_metadata" + """ + dataplatform_near_notifications_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_metadata_bool_exp + ): [dataplatform_near_notifications_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_notifications.sys_metadata" + """ + dataplatform_near_notifications_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_notifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_notifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_metadata_bool_exp + ): dataplatform_near_notifications_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_notifications.sys_metadata" using primary key columns + """ + dataplatform_near_notifications_sys_metadata_by_pk(attribute: String!): dataplatform_near_notifications_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_notifications.sys_metadata" + """ + dataplatform_near_notifications_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_notifications_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_notifications_sys_metadata_bool_exp + ): [dataplatform_near_notifications_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.bitmaps" + """ + dataplatform_near_receiver_blocks_bitmaps( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): [dataplatform_near_receiver_blocks_bitmaps!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.bitmaps" + """ + dataplatform_near_receiver_blocks_bitmaps_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_bitmaps_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_bitmaps_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): dataplatform_near_receiver_blocks_bitmaps_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.bitmaps" using primary key columns + """ + dataplatform_near_receiver_blocks_bitmaps_by_pk(block_date: date!, receiver_id: bigint!): dataplatform_near_receiver_blocks_bitmaps + + """ + fetch data from the table in a streaming manner: "dataplatform_near_receiver_blocks.bitmaps" + """ + dataplatform_near_receiver_blocks_bitmaps_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_receiver_blocks_bitmaps_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_bitmaps_bool_exp + ): [dataplatform_near_receiver_blocks_bitmaps!]! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.receivers" + """ + dataplatform_near_receiver_blocks_receivers( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_receivers_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_receivers_bool_exp + ): [dataplatform_near_receiver_blocks_receivers!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.receivers" + """ + dataplatform_near_receiver_blocks_receivers_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_receivers_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_receivers_bool_exp + ): dataplatform_near_receiver_blocks_receivers_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.receivers" using primary key columns + """ + dataplatform_near_receiver_blocks_receivers_by_pk(id: bigint!): dataplatform_near_receiver_blocks_receivers + + """ + fetch data from the table in a streaming manner: "dataplatform_near_receiver_blocks.receivers" + """ + dataplatform_near_receiver_blocks_receivers_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_receiver_blocks_receivers_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_receivers_bool_exp + ): [dataplatform_near_receiver_blocks_receivers!]! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_logs" + """ + dataplatform_near_receiver_blocks_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_logs_bool_exp + ): [dataplatform_near_receiver_blocks_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.sys_logs" + """ + dataplatform_near_receiver_blocks_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_logs_bool_exp + ): dataplatform_near_receiver_blocks_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_logs" using primary key columns + """ + dataplatform_near_receiver_blocks_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_receiver_blocks_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_receiver_blocks.sys_logs" + """ + dataplatform_near_receiver_blocks_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_receiver_blocks_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_logs_bool_exp + ): [dataplatform_near_receiver_blocks_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_metadata" + """ + dataplatform_near_receiver_blocks_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + ): [dataplatform_near_receiver_blocks_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_receiver_blocks.sys_metadata" + """ + dataplatform_near_receiver_blocks_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_receiver_blocks_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_receiver_blocks_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + ): dataplatform_near_receiver_blocks_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_receiver_blocks.sys_metadata" using primary key columns + """ + dataplatform_near_receiver_blocks_sys_metadata_by_pk(attribute: String!): dataplatform_near_receiver_blocks_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_receiver_blocks.sys_metadata" + """ + dataplatform_near_receiver_blocks_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_receiver_blocks_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_receiver_blocks_sys_metadata_bool_exp + ): [dataplatform_near_receiver_blocks_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.comments" + """ + dataplatform_near_social_feed_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): [dataplatform_near_social_feed_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.comments" + """ + dataplatform_near_social_feed_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): dataplatform_near_social_feed_comments_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.comments" using primary key columns + """ + dataplatform_near_social_feed_comments_by_pk(id: Int!): dataplatform_near_social_feed_comments + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.comments" + """ + dataplatform_near_social_feed_comments_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_comments_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_comments_bool_exp + ): [dataplatform_near_social_feed_comments!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.moderated_comments" + """ + dataplatform_near_social_feed_moderated_comments( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): [dataplatform_near_social_feed_moderated_comments!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.moderated_comments" + """ + dataplatform_near_social_feed_moderated_comments_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_comments_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): dataplatform_near_social_feed_moderated_comments_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.moderated_comments" + """ + dataplatform_near_social_feed_moderated_comments_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_moderated_comments_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_comments_bool_exp + ): [dataplatform_near_social_feed_moderated_comments!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.moderated_posts" + """ + dataplatform_near_social_feed_moderated_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_posts_bool_exp + ): [dataplatform_near_social_feed_moderated_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.moderated_posts" + """ + dataplatform_near_social_feed_moderated_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_moderated_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_moderated_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_posts_bool_exp + ): dataplatform_near_social_feed_moderated_posts_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.moderated_posts" + """ + dataplatform_near_social_feed_moderated_posts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_moderated_posts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_moderated_posts_bool_exp + ): [dataplatform_near_social_feed_moderated_posts!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.post_likes" + """ + dataplatform_near_social_feed_post_likes( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.post_likes" + """ + dataplatform_near_social_feed_post_likes_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_post_likes_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): dataplatform_near_social_feed_post_likes_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.post_likes" using primary key columns + """ + dataplatform_near_social_feed_post_likes_by_pk(account_id: String!, post_id: Int!): dataplatform_near_social_feed_post_likes + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.post_likes" + """ + dataplatform_near_social_feed_post_likes_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_post_likes_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_post_likes_bool_exp + ): [dataplatform_near_social_feed_post_likes!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.posts" + """ + dataplatform_near_social_feed_posts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_posts_bool_exp + ): [dataplatform_near_social_feed_posts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.posts" + """ + dataplatform_near_social_feed_posts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_posts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_posts_bool_exp + ): dataplatform_near_social_feed_posts_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.posts" using primary key columns + """ + dataplatform_near_social_feed_posts_by_pk(id: Int!): dataplatform_near_social_feed_posts + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.posts" + """ + dataplatform_near_social_feed_posts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_posts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_posts_bool_exp + ): [dataplatform_near_social_feed_posts!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.promote" + """ + dataplatform_near_social_feed_promote( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_promote_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_promote_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_promote_bool_exp + ): [dataplatform_near_social_feed_promote!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.promote" + """ + dataplatform_near_social_feed_promote_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_promote_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_promote_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_promote_bool_exp + ): dataplatform_near_social_feed_promote_aggregate! + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.promote" + """ + dataplatform_near_social_feed_promote_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_promote_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_promote_bool_exp + ): [dataplatform_near_social_feed_promote!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.reposts" + """ + dataplatform_near_social_feed_reposts( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_reposts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_reposts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_reposts_bool_exp + ): [dataplatform_near_social_feed_reposts!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.reposts" + """ + dataplatform_near_social_feed_reposts_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_reposts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_reposts_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_reposts_bool_exp + ): dataplatform_near_social_feed_reposts_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.reposts" using primary key columns + """ + dataplatform_near_social_feed_reposts_by_pk(account_id: String!, post_id: Int!): dataplatform_near_social_feed_reposts + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.reposts" + """ + dataplatform_near_social_feed_reposts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_reposts_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_reposts_bool_exp + ): [dataplatform_near_social_feed_reposts!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_logs" + """ + dataplatform_near_social_feed_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_logs_bool_exp + ): [dataplatform_near_social_feed_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.sys_logs" + """ + dataplatform_near_social_feed_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_logs_bool_exp + ): dataplatform_near_social_feed_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_logs" using primary key columns + """ + dataplatform_near_social_feed_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_social_feed_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.sys_logs" + """ + dataplatform_near_social_feed_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_logs_bool_exp + ): [dataplatform_near_social_feed_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_metadata" + """ + dataplatform_near_social_feed_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_metadata_bool_exp + ): [dataplatform_near_social_feed_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_social_feed.sys_metadata" + """ + dataplatform_near_social_feed_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_social_feed_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_social_feed_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_metadata_bool_exp + ): dataplatform_near_social_feed_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_social_feed.sys_metadata" using primary key columns + """ + dataplatform_near_social_feed_sys_metadata_by_pk(attribute: String!): dataplatform_near_social_feed_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_social_feed.sys_metadata" + """ + dataplatform_near_social_feed_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_social_feed_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_social_feed_sys_metadata_bool_exp + ): [dataplatform_near_social_feed_sys_metadata!]! + + """ + fetch data from the table: "dataplatform_near_verifications.account" + """ + dataplatform_near_verifications_account( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_account_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_account_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_account_bool_exp + ): [dataplatform_near_verifications_account!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.account" + """ + dataplatform_near_verifications_account_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_account_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_account_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_account_bool_exp + ): dataplatform_near_verifications_account_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.account" using primary key columns + """ + dataplatform_near_verifications_account_by_pk(account_id: String!): dataplatform_near_verifications_account + + """ + fetch data from the table in a streaming manner: "dataplatform_near_verifications.account" + """ + dataplatform_near_verifications_account_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_verifications_account_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_verifications_account_bool_exp + ): [dataplatform_near_verifications_account!]! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_logs" + """ + dataplatform_near_verifications_sys_logs( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_logs_bool_exp + ): [dataplatform_near_verifications_sys_logs!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.sys_logs" + """ + dataplatform_near_verifications_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_logs_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_logs_bool_exp + ): dataplatform_near_verifications_sys_logs_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_logs" using primary key columns + """ + dataplatform_near_verifications_sys_logs_by_pk(date: date!, id: bigint!): dataplatform_near_verifications_sys_logs + + """ + fetch data from the table in a streaming manner: "dataplatform_near_verifications.sys_logs" + """ + dataplatform_near_verifications_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_verifications_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_logs_bool_exp + ): [dataplatform_near_verifications_sys_logs!]! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_metadata" + """ + dataplatform_near_verifications_sys_metadata( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_metadata_bool_exp + ): [dataplatform_near_verifications_sys_metadata!]! + + """ + fetch aggregated fields from the table: "dataplatform_near_verifications.sys_metadata" + """ + dataplatform_near_verifications_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [dataplatform_near_verifications_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [dataplatform_near_verifications_sys_metadata_order_by!] + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_metadata_bool_exp + ): dataplatform_near_verifications_sys_metadata_aggregate! + + """ + fetch data from the table: "dataplatform_near_verifications.sys_metadata" using primary key columns + """ + dataplatform_near_verifications_sys_metadata_by_pk(attribute: String!): dataplatform_near_verifications_sys_metadata + + """ + fetch data from the table in a streaming manner: "dataplatform_near_verifications.sys_metadata" + """ + dataplatform_near_verifications_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [dataplatform_near_verifications_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: dataplatform_near_verifications_sys_metadata_bool_exp + ): [dataplatform_near_verifications_sys_metadata!]! + + """ + fetch data from the table: "impressions" + """ + impressions( + """distinct select on columns""" + distinct_on: [impressions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [impressions_order_by!] + + """filter the rows returned""" + where: impressions_bool_exp + ): [impressions!]! + + """ + fetch aggregated fields from the table: "impressions" + """ + impressions_aggregate( + """distinct select on columns""" + distinct_on: [impressions_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [impressions_order_by!] + + """filter the rows returned""" + where: impressions_bool_exp + ): impressions_aggregate! + + """ + fetch data from the table in a streaming manner: "impressions" + """ + impressions_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [impressions_stream_cursor_input]! + + """filter the rows returned""" + where: impressions_bool_exp + ): [impressions!]! +} + +scalar timestamp + +""" +Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. +""" +input timestamp_comparison_exp { + _eq: timestamp + _gt: timestamp + _gte: timestamp + _in: [timestamp!] + _is_null: Boolean + _lt: timestamp + _lte: timestamp + _neq: timestamp + _nin: [timestamp!] +} + +scalar timestamptz + +""" +Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +""" +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] +} + diff --git a/block-streamer/src/bitmap.rs b/block-streamer/src/bitmap.rs index 55dbc95f6..766595009 100644 --- a/block-streamer/src/bitmap.rs +++ b/block-streamer/src/bitmap.rs @@ -1,4 +1,3 @@ -use anyhow::anyhow; use base64::{engine::general_purpose, Engine as _}; use std::convert::TryFrom; @@ -10,10 +9,12 @@ pub struct Base64Bitmap { pub base64: String, } -impl TryFrom<&get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex> for Base64Bitmap { +impl TryFrom<&get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps> + for Base64Bitmap +{ type Error = anyhow::Error; fn try_from( - query_item: &get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex, + query_item: &get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps, ) -> anyhow::Result { Ok(Self { base64: query_item.bitmap.clone(), @@ -22,12 +23,12 @@ impl TryFrom<&get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex> } } -impl TryFrom<&get_bitmaps_wildcard::GetBitmapsWildcardDarunrsNearBitmapV5ActionsIndex> +impl TryFrom<&get_bitmaps_wildcard::GetBitmapsWildcardDataplatformNearReceiverBlocksBitmaps> for Base64Bitmap { type Error = anyhow::Error; fn try_from( - query_item: &get_bitmaps_wildcard::GetBitmapsWildcardDarunrsNearBitmapV5ActionsIndex, + query_item: &get_bitmaps_wildcard::GetBitmapsWildcardDataplatformNearReceiverBlocksBitmaps, ) -> anyhow::Result { Ok(Self { base64: query_item.bitmap.clone(), @@ -180,7 +181,7 @@ impl DecompressedBitmap { pub fn new(start_block_height: u64, bitmap: Option>) -> Self { Self { start_block_height, - bitmap: bitmap.unwrap_or(vec![]), + bitmap: bitmap.unwrap_or_default(), } } @@ -437,7 +438,7 @@ mod tests { bitmap: vec![0b11001010, 0b10001111], start_block_height: 10, }; - let mut to_merge: DecompressedBitmap = DecompressedBitmap { + let to_merge: DecompressedBitmap = DecompressedBitmap { bitmap: vec![0b11100001], start_block_height: 14, }; @@ -448,7 +449,7 @@ mod tests { #[test] fn merge_two_bitmaps_with_swap() { - let mut to_merge: DecompressedBitmap = DecompressedBitmap { + let to_merge: DecompressedBitmap = DecompressedBitmap { bitmap: vec![0b11001010, 0b10001111], start_block_height: 10, }; @@ -464,15 +465,15 @@ mod tests { #[test] fn merge_multiple_bitmaps_together() { let mut base_bitmap = DecompressedBitmap::new(200, None); - let mut bitmap_a = DecompressedBitmap { + let bitmap_a = DecompressedBitmap { bitmap: vec![0b11000000], start_block_height: 18, }; - let mut bitmap_b = DecompressedBitmap { + let bitmap_b = DecompressedBitmap { bitmap: vec![0b11000000], start_block_height: 10, }; - let mut bitmap_c = DecompressedBitmap { + let bitmap_c = DecompressedBitmap { bitmap: vec![0b11000000], start_block_height: 14, }; diff --git a/block-streamer/src/bitmap_processor.rs b/block-streamer/src/bitmap_processor.rs index ae0a6b0a3..fe8fefb01 100644 --- a/block-streamer/src/bitmap_processor.rs +++ b/block-streamer/src/bitmap_processor.rs @@ -137,7 +137,7 @@ impl BitmapProcessor { ContractPatternType::Exact(ref pattern) => { let query_result: Vec<_> = self .graphql_client - .get_bitmaps_exact(pattern.clone(), ¤t_date) + .get_bitmaps_exact(pattern.clone(), current_date) .await?; Ok(query_result .iter() @@ -147,7 +147,7 @@ impl BitmapProcessor { ContractPatternType::Wildcard(ref pattern) => { let query_result: Vec<_> = self .graphql_client - .get_bitmaps_wildcard(pattern.clone(), ¤t_date) + .get_bitmaps_wildcard(pattern.clone(), current_date) .await?; Ok(query_result .iter() @@ -197,9 +197,9 @@ mod tests { fn exact_query_result( first_block_height: i64, bitmap: &str, - ) -> crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex + ) -> crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps { - crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex { + crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps { first_block_height, bitmap: bitmap.to_string(), } @@ -208,8 +208,8 @@ mod tests { fn wildcard_query_result( first_block_height: i64, bitmap: &str - ) -> crate::graphql::client::get_bitmaps_wildcard::GetBitmapsWildcardDarunrsNearBitmapV5ActionsIndex{ - crate::graphql::client::get_bitmaps_wildcard::GetBitmapsWildcardDarunrsNearBitmapV5ActionsIndex { + ) -> crate::graphql::client::get_bitmaps_wildcard::GetBitmapsWildcardDataplatformNearReceiverBlocksBitmaps{ + crate::graphql::client::get_bitmaps_wildcard::GetBitmapsWildcardDataplatformNearReceiverBlocksBitmaps { first_block_height, bitmap: bitmap.to_string(), } diff --git a/block-streamer/src/block_stream.rs b/block-streamer/src/block_stream.rs index 198ffab4a..41c35d591 100644 --- a/block-streamer/src/block_stream.rs +++ b/block-streamer/src/block_stream.rs @@ -3,8 +3,8 @@ use near_lake_framework::near_indexer_primitives; use tokio::task::JoinHandle; use crate::indexer_config::IndexerConfig; +use crate::metrics; use crate::rules::types::ChainId; -use crate::{bitmap_processor, delta_lake_client, metrics}; use futures::StreamExt; use registry_types::Rule; @@ -12,7 +12,6 @@ use registry_types::Rule; /// we need this configurable for testing purposes. const LAKE_PREFETCH_SIZE: usize = 100; const MAX_STREAM_SIZE_WITH_CACHE: u64 = 100; -const DELTA_LAKE_SKIP_ACCOUNTS: [&str; 4] = ["*", "*.near", "*.kaiching", "*.tg"]; pub struct Task { handle: JoinHandle>, @@ -346,7 +345,7 @@ mod tests { ) .returning(|_, _| { Ok(vec![ - crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex { + crate::graphql::client::get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps { first_block_height: 107503702, bitmap: "oA==".to_string(), } diff --git a/block-streamer/src/delta_lake_client.rs b/block-streamer/src/delta_lake_client.rs deleted file mode 100644 index d45a7391c..000000000 --- a/block-streamer/src/delta_lake_client.rs +++ /dev/null @@ -1,754 +0,0 @@ -use anyhow::Context; -use chrono::TimeZone; -use futures::future::try_join_all; -use near_lake_framework::near_indexer_primitives; - -use crate::rules::types::ChainId; - -const DELTA_LAKE_BUCKET: &str = "near-delta-lake"; -const MAX_S3_RETRY_COUNT: u8 = 20; -const INDEXED_ACTIONS_PREFIX: &str = "silver/accounts/action_receipt_actions/metadata"; -const LATEST_BLOCK_METADATA_KEY: &str = - "silver/accounts/action_receipt_actions/metadata/latest_block.json"; - -#[cfg(not(test))] -pub use DeltaLakeClientImpl as DeltaLakeClient; -#[cfg(test)] -pub use MockDeltaLakeClientImpl as DeltaLakeClient; - -#[derive(serde::Deserialize, Debug, Eq, PartialEq)] -pub struct LatestBlockMetadata { - pub last_indexed_block: String, - pub first_indexed_block: String, - pub last_indexed_block_date: String, - pub first_indexed_block_date: String, - pub processed_at_utc: String, -} - -#[derive(serde::Deserialize, Debug, Eq, PartialEq)] -pub struct IndexFileAction { - pub action_kind: String, - pub block_heights: Vec, -} - -#[derive(serde::Deserialize, Debug, Eq, PartialEq)] -pub struct IndexFile { - pub heights: Vec, - pub actions: Vec, -} - -pub struct DeltaLakeClientImpl { - s3_client: crate::s3_client::S3Client, - chain_id: ChainId, -} - -#[cfg_attr(test, mockall::automock)] -impl DeltaLakeClientImpl { - pub fn new(s3_client: crate::s3_client::S3Client) -> Self { - Self { - s3_client, - // hardcode to mainnet for now - chain_id: ChainId::Mainnet, - } - } - - pub async fn get_latest_block_metadata(&self) -> anyhow::Result { - let metadata_file_content = self - .s3_client - .get_text_file(DELTA_LAKE_BUCKET, LATEST_BLOCK_METADATA_KEY) - .await?; - - serde_json::from_str::(&metadata_file_content) - .context("Unable to parse Metadata") - } - - fn get_lake_bucket(&self) -> String { - match self.chain_id { - ChainId::Mainnet => "near-lake-data-mainnet".to_string(), - ChainId::Testnet => "near-lake-data-testnet".to_string(), - } - } - - pub async fn get_nearest_block_date( - &self, - block_height: u64, - ) -> anyhow::Result> { - let mut current_block_height = block_height; - let mut retry_count = 1; - loop { - let block_key = format!("{:0>12}/block.json", current_block_height); - match self - .s3_client - .get_text_file(&self.get_lake_bucket(), &block_key) - .await - { - Ok(text) => { - let block: near_indexer_primitives::views::BlockView = - serde_json::from_str(&text)?; - return Ok(chrono::Utc.timestamp_nanos(block.header.timestamp_nanosec as i64)); - } - - Err(e) => { - if e.root_cause() - .downcast_ref::() - .is_some() - { - retry_count += 1; - if retry_count > MAX_S3_RETRY_COUNT { - anyhow::bail!("Exceeded maximum retries to fetch block from S3"); - } - - tracing::debug!( - "Block {} not found on S3, attempting to fetch next block", - current_block_height - ); - current_block_height += 1; - continue; - } - - return Err(e).context("Failed to fetch block from S3"); - } - } - } - } - - fn s3_prefix_from_contract_id(&self, contract_id: &str) -> String { - let mut folders = contract_id.split('.').collect::>(); - folders.reverse(); - - format!("{}/{}/", INDEXED_ACTIONS_PREFIX, folders.join("/")) - } - - async fn list_objects_recursive( - &self, - prefix: &str, - depth: u32, - ) -> anyhow::Result> { - if depth > 1 { - unimplemented!("Recursive list with depth > 1 not supported") - } - - let objects = self - .s3_client - .list_all_objects(DELTA_LAKE_BUCKET, prefix) - .await?; - - let mut results = vec![]; - // TODO do in parallel? - // TODO only list objects without .json extension - for object in objects { - results.extend( - self.s3_client - .list_all_objects(DELTA_LAKE_BUCKET, &object) - .await?, - ); - } - - Ok(results) - } - - async fn list_matching_index_files( - &self, - contract_pattern: &str, - ) -> anyhow::Result> { - match contract_pattern { - pattern if pattern.contains(',') => { - let contract_ids = pattern.split(','); - - let mut results = vec![]; - - for contract_id in contract_ids { - let contract_id = contract_id.trim(); - - if contract_id.contains('*') { - let pattern = contract_id.replace("*.", ""); - results.extend( - self.list_objects_recursive( - &self.s3_prefix_from_contract_id(&pattern), - 1, - ) - .await?, - ); - } else { - results.extend( - self.s3_client - .list_all_objects( - DELTA_LAKE_BUCKET, - &self.s3_prefix_from_contract_id(contract_id), - ) - .await?, - ); - }; - } - - Ok(results) - } - pattern if pattern.contains('*') => { - let contract_id = pattern.replace("*.", ""); - self.list_objects_recursive(&self.s3_prefix_from_contract_id(&contract_id), 1) - .await - } - pattern => { - self.s3_client - .list_all_objects(DELTA_LAKE_BUCKET, &self.s3_prefix_from_contract_id(pattern)) - .await - } - } - .context("Failed to list matching index files") - } - - fn date_from_s3_path(&self, path: &str) -> Option { - let file_name_date = path.split('/').last()?.replace(".json", ""); - - chrono::NaiveDate::parse_from_str(&file_name_date, "%Y-%m-%d").ok() - } - - pub async fn list_matching_block_heights( - &self, - start_block_height: near_indexer_primitives::types::BlockHeight, - contract_pattern: &str, - ) -> anyhow::Result> { - let start_date = self.get_nearest_block_date(start_block_height).await?; - - let file_list = self.list_matching_index_files(contract_pattern).await?; - tracing::debug!( - "Found {} index files matching {}", - file_list.len(), - contract_pattern, - ); - - let futures = file_list - .into_iter() - // TODO use `start_after` in the request to S3 to avoid this filter - .filter(|file_path| { - self.date_from_s3_path(file_path) - // Ignore invalid paths, i.e. sub-folders, by default - .map_or(false, |file_date| file_date >= start_date.date_naive()) - }) - .map(|key| async move { self.s3_client.get_text_file(DELTA_LAKE_BUCKET, &key).await }) - .collect::>(); - - tracing::debug!( - "Found {} index files matching {} after date {}", - futures.len(), - contract_pattern, - start_date - ); - - let file_content_list = try_join_all(futures).await?; - - let mut block_heights: Vec<_> = file_content_list - .into_iter() - .filter_map(|content| { - if content.is_empty() { - None - } else { - serde_json::from_str::(&content).ok() - } - }) - .flat_map(|index_file| index_file.heights) - .filter(|block_height| *block_height >= start_block_height) - .collect(); - - let pattern_has_multiple_contracts = contract_pattern.chars().any(|c| c == ',' || c == '*'); - if pattern_has_multiple_contracts { - block_heights.sort(); - block_heights.dedup(); - } - - tracing::debug!( - "Found {} matching block heights matching {}", - block_heights.len(), - contract_pattern, - ); - - Ok(block_heights) - } -} - -#[cfg(test)] -mod tests { - use super::*; - use mockall::predicate; - - fn generate_block_with_timestamp(date: &str) -> String { - let naive_date = chrono::NaiveDate::parse_from_str(date, "%Y-%m-%d") - .unwrap() - .and_hms_opt(0, 0, 0) - .unwrap(); - - let date_time_utc = chrono::Utc.from_utc_datetime(&naive_date).timestamp() * 1_000_000_000; - - format!( - r#"{{ - "author": "someone", - "header": {{ - "approvals": [], - "block_merkle_root": "ERiC7AJ2zbVz1HJHThR5NWDDN9vByhwdjcVfivmpY5B", - "block_ordinal": 92102682, - "challenges_result": [], - "challenges_root": "11111111111111111111111111111111", - "chunk_headers_root": "MDiJxDyvUQaZRKmUwa5jgQuV6XjwVvnm4tDrajCxwvz", - "chunk_mask": [], - "chunk_receipts_root": "n84wEo7kTKTCJsyqBZ2jndhjrAMeJAXMwKvnJR7vCuy", - "chunk_tx_root": "D8j64GMKBMvUfvnuHtWUyDtMHM5mJ2pA4G5VmYYJvo5G", - "chunks_included": 4, - "epoch_id": "2RMQiomr6CSSwUWpmB62YohxHbfadrHfcsaa3FVb4J9x", - "epoch_sync_data_hash": null, - "gas_price": "100000000", - "hash": "FA1z9RVm9fX3g3mgP3NToZGwWeeXYn8bvZs4nwwTgCpD", - "height": 102162333, - "last_ds_final_block": "Ax2a3MSYuv2hgybnCbpNJMdYmPrHDHdA2hHTUrBkD915", - "last_final_block": "8xkwjn6Lb6UhMBhxcbVQBf3318GafkdaXoHA8Jako1nn", - "latest_protocol_version": 62, - "next_bp_hash": "dmW84aEj2iVJMLwJodJwTfAyeA1LJaHEthvnoAsvTPt", - "next_epoch_id": "C9TDDYthANoduoTBZS7WYDsBSe9XCm4M2F9hRoVXVXWY", - "outcome_root": "6WxzWLVp4b4bFbxHzu18apVfXLvHGKY7CHoqD2Eq3TFJ", - "prev_hash": "Ax2a3MSYuv2hgybnCbpNJMdYmPrHDHdA2hHTUrBkD915", - "prev_height": 102162332, - "prev_state_root": "Aq2ndkyDiwroUWN69Ema9hHtnr6dPHoEBRNyfmd8v4gB", - "random_value": "7ruuMyDhGtTkYaCGYMy7PirPiM79DXa8GhVzQW1pHRoz", - "rent_paid": "0", - "signature": "ed25519:5gYYaWHkAEK5etB8tDpw7fmehkoYSprUxKPygaNqmhVDFCMkA1n379AtL1BBkQswLAPxWs1BZvypFnnLvBtHRknm", - "timestamp": 1695921400989555700, - "timestamp_nanosec": "{}", - "total_supply": "1155783047679681223245725102954966", - "validator_proposals": [], - "validator_reward": "0" - }}, - "chunks": [] - }}"#, - date_time_utc - ) - } - - #[tokio::test] - async fn fetches_metadata_from_s3() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET), predicate::eq(LATEST_BLOCK_METADATA_KEY)) - .returning(|_bucket, _prefix| Ok("{ \"last_indexed_block\": \"106309326\", \"first_indexed_block\": \"106164983\", \"last_indexed_block_date\": \"2023-11-22\", \"first_indexed_block_date\": \"2023-11-21\", \"processed_at_utc\": \"2023-11-22 23:06:24.358000\" }".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let latest_block_metadata = delta_lake_client.get_latest_block_metadata().await.unwrap(); - - assert_eq!( - latest_block_metadata, - LatestBlockMetadata { - last_indexed_block: "106309326".to_string(), - first_indexed_block: "106164983".to_string(), - last_indexed_block_date: "2023-11-22".to_string(), - first_indexed_block_date: "2023-11-21".to_string(), - processed_at_utc: "2023-11-22 23:06:24.358000".to_string(), - } - ) - } - - #[tokio::test] - async fn lists_block_heights_for_single_contract() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000091940840/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2023-05-16"))); - mock_s3_client - .expect_list_all_objects() - .returning(|_bucket, _prefix| { - Ok(vec![ - "silver/accounts/action_receipt_actions/metadata/near/dataplatform/queryapi/2023-05-15.json".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/dataplatform/queryapi/2023-05-17.json".to_string(), - ]) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/dataplatform/queryapi/2023-05-15.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[91940840,91942989],\"actions\":[{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[91942989,91940840]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/dataplatform/queryapi/2023-05-17.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[92080299,92080344],\"actions\":[{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[92080344,92080299]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights(91940840, "queryapi.dataplatform.near") - .await - .unwrap(); - - assert_eq!(block_heights, vec![92080299, 92080344]) - } - - #[tokio::test] - async fn lists_block_heights_for_multiple_contracts() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000045894617/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2022-05-26"))); - mock_s3_client - .expect_list_all_objects() - .returning(|_bucket, prefix| { - let objects = match prefix { - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/aurora-silo-dev/hackathon/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/aurora-silo-dev/hackathon/2023-05-18.json".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/aurora-silo-dev/hackathon/2023-05-30.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/sputnik-dao/hackathon/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/sputnik-dao/hackathon/2022-05-27.json".to_string() - ], - _ => panic!("Unexpected prefix: {}", prefix) - }; - - Ok(objects) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[45894617,45894627,45894628,45894712,45898413,45898423,45898424],\"actions\":[{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[45898423,45894627]},{\"action_kind\":\"DELETE_ACCOUNT\",\"block_heights\":[45894712]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[45894628,45894617,45898424,45898413]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[45898423,45894627]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/aurora-silo-dev/hackathon/2023-05-18.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[92167977,92168200,92168293,92168338,92168535,92168870,92168871,92168922,92168923,92168939,92168971,92169330],\"actions\":[{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[92168200,92168338]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[92168535,92167977]},{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[92167977]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[92168922,92168971,92168870]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[92168871,92168923,92169330,92168293,92168939,92167977]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/aurora-silo-dev/hackathon/2023-05-30.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[92167977,93067570,93067619,93067631,93067726,93067737,93067770,93067889,93067920,93067926,93067936,93073935,93073944,93073954],\"actions\":[{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[93073954,93067770,93067726,93065811,93067619,93073935,93067889,93067737,93067570,93067926,93073944,93067920,93067631,93067936]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/sputnik-dao/hackathon/2022-05-27.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[66494954],\"actions\":[{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[66494954]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[66494954]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[66494954]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[66494954]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights( - 45894617, - "hackathon.agency.near, hackathon.aurora-silo-dev.near, hackathon.sputnik-dao.near", - ) - .await - .unwrap(); - - assert_eq!( - block_heights, - vec![ - 66494954, 92167977, 92168200, 92168293, 92168338, 92168535, 92168870, 92168871, - 92168922, 92168923, 92168939, 92168971, 92169330, 93067570, 93067619, 93067631, - 93067726, 93067737, 93067770, 93067889, 93067920, 93067926, 93067936, 93073935, - 93073944, 93073954 - ] - ) - } - - #[tokio::test] - async fn lists_block_heights_for_wildcard() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000078516467/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2023-05-26"))); - mock_s3_client - .expect_list_all_objects() - .returning(|_bucket, prefix| { - let objects = match prefix { - "silver/accounts/action_receipt_actions/metadata/near/keypom/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/keypom/nft/".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-23.json".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/nft/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/nft/2023-09-26.json".to_string(), - ], - - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-23.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-23.json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/nft/2023-09-26.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/nft/2023-09-26.json".to_string() - ], - _ => panic!("Unexpected prefix: {}", prefix) - }; - - Ok(objects) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[78516467,78516476,78516489,78516511,78516512],\"actions\":[{\"action_kind\":\"DELETE_ACCOUNT\",\"block_heights\":[78516467]},{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[78516476]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[78516476,78516512]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[78516476]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[78516511]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[78516489]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/nft/2023-09-26.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[102025554],\"actions\":[{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[102025554]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-23.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[104045849,104047967,104047968],\"actions\":[{\"action_kind\":\"TRANSFER\",\"block_heights\":[104047968,104045849,104047967]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[104616819],\"actions\":[{\"action_kind\":\"ADD_KEY\",\"block_heights\":[104616819]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights(78516467, "*.keypom.near") - .await - .unwrap(); - - assert_eq!( - block_heights, - vec![102025554, 104045849, 104047967, 104047968, 104616819] - ) - } - - #[tokio::test] - async fn lists_block_heights_for_multiple_contracts_and_wildcard() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000045894617/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2021-05-26"))); - mock_s3_client - .expect_list_all_objects() - .returning(|_bucket, prefix| { - let objects = match prefix { - "silver/accounts/action_receipt_actions/metadata/near/keypom/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/".to_string(), - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string() - ], - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15json".to_string() - ], - _ => panic!("Unexpected prefix: {}", prefix) - }; - - Ok(objects) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[45894617,45894627,45894628,45894712,45898413,45898423,45898424],\"actions\":[{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[45898423,45894627]},{\"action_kind\":\"DELETE_ACCOUNT\",\"block_heights\":[45894712]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[45894628,45894617,45898424,45898413]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[45898423,45894627]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/beta/2022-11-15.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[78516467,78516476,78516489,78516511,78516512],\"actions\":[{\"action_kind\":\"DELETE_ACCOUNT\",\"block_heights\":[78516467]},{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[78516476]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[78516476,78516512]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[78516476]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[78516511]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[78516489]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[104616819],\"actions\":[{\"action_kind\":\"ADD_KEY\",\"block_heights\":[104616819]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights(45894617, "*.keypom.near, hackathon.agency.near") - .await - .unwrap(); - - assert_eq!( - block_heights, - vec![ - 45894617, 45894627, 45894628, 45894712, 45898413, 45898423, 45898424, 78516467, - 78516476, 78516489, 78516511, 78516512, 104616819 - ] - ) - } - - #[tokio::test] - async fn sorts_and_removes_duplicates_for_multiple_contracts() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000045894628/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2021-05-26"))); - mock_s3_client - .expect_list_all_objects() - .returning(|_bucket, prefix| { - let objects = match prefix { - "silver/accounts/action_receipt_actions/metadata/near/keypom/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string(), - ], - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/" => vec![ - "silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string() - ], - - _ => panic!("Unexpected prefix: {}", prefix) - }; - - Ok(objects) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/agency/hackathon/2021-08-22.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[45894628,45894617,45898413,45894627,45894712,45898423,45898424],\"actions\":[{\"action_kind\":\"CREATE_ACCOUNT\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"FUNCTION_CALL\",\"block_heights\":[45898423,45894627]},{\"action_kind\":\"DELETE_ACCOUNT\",\"block_heights\":[45894712]},{\"action_kind\":\"ADD_KEY\",\"block_heights\":[45894617,45898413]},{\"action_kind\":\"TRANSFER\",\"block_heights\":[45894628,45894617,45898424,45898413]},{\"action_kind\":\"DEPLOY_CONTRACT\",\"block_heights\":[45898423,45894627]}]}".to_string())); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[45898424,45898423,45898413,45894712],\"actions\":[{\"action_kind\":\"ADD_KEY\",\"block_heights\":[104616819]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights(45894628, "keypom.near, hackathon.agency.near") - .await - .unwrap(); - - assert_eq!( - block_heights, - vec![45894628, 45894712, 45898413, 45898423, 45898424] - ) - } - - #[tokio::test] - async fn filters_heights_less_than_start_block() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000045898423/block.json"), - ) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2021-05-26"))); - mock_s3_client.expect_list_all_objects().returning(|_, _| { - Ok(vec![ - "silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json" - .to_string(), - ]) - }); - mock_s3_client - .expect_get_text_file() - .with(predicate::eq(DELTA_LAKE_BUCKET.to_string()), predicate::eq("silver/accounts/action_receipt_actions/metadata/near/keypom/2023-10-31.json".to_string())) - .returning(|_bucket, _prefix| Ok("{\"heights\":[45898424,45898423,45898413,45894712],\"actions\":[{\"action_kind\":\"ADD_KEY\",\"block_heights\":[104616819]}]}".to_string())); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_heights = delta_lake_client - .list_matching_block_heights(45898423, "keypom.near, hackathon.agency.near") - .await - .unwrap(); - - assert_eq!(block_heights, vec![45898423, 45898424]) - } - - #[tokio::test] - async fn gets_the_date_of_the_closest_block() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000106397175/block.json"), - ) - .times(1) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2021-05-26"))); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_date = delta_lake_client - .get_nearest_block_date(106397175) - .await - .unwrap(); - - assert_eq!(block_date, chrono::Utc.timestamp_nanos(1621987200000000000)); - } - - #[tokio::test] - async fn retires_if_a_block_doesnt_exist() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000106397175/block.json"), - ) - .times(1) - .returning(|_, _| { - Err(anyhow::anyhow!( - aws_sdk_s3::types::error::NoSuchKey::builder().build() - )) - }); - mock_s3_client - .expect_get_text_file() - .with( - predicate::eq("near-lake-data-mainnet"), - predicate::eq("000106397176/block.json"), - ) - .times(1) - .returning(|_bucket, _prefix| Ok(generate_block_with_timestamp("2021-05-26"))); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let block_date = delta_lake_client - .get_nearest_block_date(106397175) - .await - .unwrap(); - - assert_eq!(block_date, chrono::Utc.timestamp_nanos(1621987200000000000)); - } - - #[tokio::test] - async fn exits_if_maximum_retries_exceeded() { - let mut mock_s3_client = crate::s3_client::S3Client::default(); - - mock_s3_client - .expect_get_text_file() - .times(MAX_S3_RETRY_COUNT as usize) - .returning(|_, _| { - Err(anyhow::anyhow!( - aws_sdk_s3::types::error::NoSuchKey::builder().build() - )) - }); - - let delta_lake_client = DeltaLakeClientImpl::new(mock_s3_client); - - let result = delta_lake_client.get_nearest_block_date(106397175).await; - - assert!(result.is_err()); - } -} diff --git a/block-streamer/src/graphql/client.rs b/block-streamer/src/graphql/client.rs index 6f109603f..476dd8fcd 100644 --- a/block-streamer/src/graphql/client.rs +++ b/block-streamer/src/graphql/client.rs @@ -2,8 +2,7 @@ use ::reqwest; use chrono::{DateTime, Utc}; use graphql_client::{GraphQLQuery, Response}; -// TODO: Use Dataplatform account -const HASURA_ACCOUNT: &str = "darunrs_near"; +const HASURA_ACCOUNT: &str = "dataplatform_near"; const QUERY_LIMIT: i64 = 1000; #[allow(clippy::upper_case_acronyms)] @@ -11,8 +10,8 @@ type Date = String; #[derive(GraphQLQuery)] #[graphql( - schema_path = "graphql/darunrs_near/schema.graphql", - query_path = "graphql/darunrs_near/get_bitmaps_exact.graphql", + schema_path = "graphql/dataplatform_near/schema.graphql", + query_path = "graphql/dataplatform_near/get_bitmaps_exact.graphql", response_derives = "Debug,Clone", normalization = "rust" )] @@ -20,8 +19,8 @@ pub struct GetBitmapsExact; #[derive(GraphQLQuery)] #[graphql( - schema_path = "graphql/darunrs_near/schema.graphql", - query_path = "graphql/darunrs_near/get_bitmaps_wildcard.graphql", + schema_path = "graphql/dataplatform_near/schema.graphql", + query_path = "graphql/dataplatform_near/get_bitmaps_wildcard.graphql", response_derives = "Debug,Clone", normalization = "rust" )] @@ -66,10 +65,10 @@ impl GraphQLClientImpl { &self, receiver_ids: Vec, block_date: &DateTime, - ) -> anyhow::Result> + ) -> anyhow::Result> { let mut all_query_results: Vec< - get_bitmaps_exact::GetBitmapsExactDarunrsNearBitmapV5ActionsIndex, + get_bitmaps_exact::GetBitmapsExactDataplatformNearReceiverBlocksBitmaps, > = vec![]; let mut offset = 0; let mut has_more = true; @@ -86,7 +85,7 @@ impl GraphQLClientImpl { .ok_or(anyhow::anyhow!( "Query response is malformed. Missing data field." )) - .map(|data| data.darunrs_near_bitmap_v5_actions_index)?; + .map(|data| data.dataplatform_near_receiver_blocks_bitmaps)?; has_more = query_result.len() >= QUERY_LIMIT as usize; offset += QUERY_LIMIT; @@ -101,10 +100,11 @@ impl GraphQLClientImpl { &self, receiver_ids: String, block_date: &DateTime, - ) -> anyhow::Result> - { + ) -> anyhow::Result< + Vec, + > { let mut all_query_results: Vec< - get_bitmaps_wildcard::GetBitmapsWildcardDarunrsNearBitmapV5ActionsIndex, + get_bitmaps_wildcard::GetBitmapsWildcardDataplatformNearReceiverBlocksBitmaps, > = vec![]; let mut offset = 0; let mut has_more = true; @@ -121,7 +121,7 @@ impl GraphQLClientImpl { .ok_or(anyhow::anyhow!( "Query response is malformed. Missing data field." )) - .map(|data| data.darunrs_near_bitmap_v5_actions_index)?; + .map(|data| data.dataplatform_near_receiver_blocks_bitmaps)?; has_more = query_result.len() >= QUERY_LIMIT as usize; offset += QUERY_LIMIT; @@ -141,7 +141,7 @@ mod tests { use super::*; const HASURA_ENDPOINT: &str = - "https://queryapi-hasura-graphql-mainnet-vcqilefdcq-ew.a.run.app/v1/graphql"; + "https://queryapi-hasura-graphql-mainnet-24ktefolwq-ew.a.run.app/v1/graphql"; fn utc_date_time_from_date_string(date: &str) -> DateTime { let naive_date_time: NaiveDateTime = chrono::NaiveDate::parse_from_str(date, "%Y-%m-%d") diff --git a/block-streamer/src/main.rs b/block-streamer/src/main.rs index 406a44ef7..a75b86a43 100644 --- a/block-streamer/src/main.rs +++ b/block-streamer/src/main.rs @@ -3,7 +3,6 @@ use tracing_subscriber::prelude::*; mod bitmap; mod bitmap_processor; mod block_stream; -mod delta_lake_client; mod graphql; mod indexer_config; mod lake_s3_client; @@ -32,7 +31,7 @@ async fn main() -> anyhow::Result<()> { } let redis_url = std::env::var("REDIS_URL").expect("REDIS_URL is not set"); - let graphql_url = "https://queryapi-hasura-graphql-mainnet-vcqilefdcq-ew.a.run.app/v1/graphql"; + let graphql_url = "https://queryapi-hasura-graphql-mainnet-24ktefolwq-ew.a.run.app/v1/graphql"; // Prod Hasura let grpc_port = std::env::var("GRPC_PORT").expect("GRPC_PORT is not set"); let metrics_port = std::env::var("METRICS_PORT") .expect("METRICS_PORT is not set") diff --git a/block-streamer/src/server/mod.rs b/block-streamer/src/server/mod.rs index 96cabd64c..81ea6bd4f 100644 --- a/block-streamer/src/server/mod.rs +++ b/block-streamer/src/server/mod.rs @@ -1,5 +1,3 @@ -use crate::bitmap_processor; - mod block_streamer_service; pub mod blockstreamer {