@poap-xyz/drops
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -1,2 +0,2 @@ | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats {\n transfer_count\n poap_count\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export interface DropResponse { | ||
@@ -20,5 +20,9 @@ id: number; | ||
created_date: string; | ||
stats: { | ||
transfer_count: number; | ||
poap_count: number; | ||
stats_by_chain_aggregate: { | ||
aggregate: { | ||
sum: { | ||
transfer_count: number; | ||
poap_count: number; | ||
}; | ||
}; | ||
}; | ||
@@ -25,0 +29,0 @@ email_claims_stats: { |
@@ -1,2 +0,2 @@ | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats {\n transfer_count\n poap_count\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export interface DropResponse { | ||
@@ -20,5 +20,9 @@ id: number; | ||
created_date: string; | ||
stats: { | ||
transfer_count: number; | ||
poap_count: number; | ||
stats_by_chain_aggregate: { | ||
aggregate: { | ||
sum: { | ||
transfer_count: number; | ||
poap_count: number; | ||
}; | ||
}; | ||
}; | ||
@@ -25,0 +29,0 @@ email_claims_stats: { |
@@ -60,5 +60,9 @@ (function (global, factory) { | ||
created_date | ||
stats { | ||
transfer_count | ||
poap_count | ||
stats_by_chain_aggregate { | ||
aggregate { | ||
sum { | ||
transfer_count | ||
poap_count | ||
} | ||
} | ||
} | ||
@@ -123,4 +127,8 @@ email_claims_stats { | ||
year: Number(drop.year), | ||
poap_count: drop.stats ? Number(drop.stats.poap_count) : 0, | ||
transfer_count: drop.stats ? Number(drop.stats.transfer_count) : 0, | ||
poap_count: drop.stats_by_chain_aggregate.aggregate.sum | ||
? Number(drop.stats_by_chain_aggregate.aggregate.sum.poap_count) | ||
: 0, | ||
transfer_count: drop.stats_by_chain_aggregate.aggregate.sum | ||
? Number(drop.stats_by_chain_aggregate.aggregate.sum.transfer_count) | ||
: 0, | ||
email_claim: drop.email_claims_stats | ||
@@ -127,0 +135,0 @@ ? Number(drop.email_claims_stats.total) |
@@ -1,2 +0,2 @@ | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats {\n transfer_count\n poap_count\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export declare const PAGINATED_DROPS_QUERY = "\n query PaginatedDrops(\n $limit: Int!\n $offset: Int!\n $orderBy: [drops_order_by!]\n $where: drops_bool_exp\n ) {\n drops(limit: $limit, offset: $offset, order_by: $orderBy, where: $where) {\n id\n fancy_id\n name\n description\n city\n country\n channel\n platform\n location_type\n drop_url\n image_url\n animation_url\n year\n start_date\n timezone\n private\n created_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n total\n }\n }\n }\n"; | ||
export interface DropResponse { | ||
@@ -20,5 +20,9 @@ id: number; | ||
created_date: string; | ||
stats: { | ||
transfer_count: number; | ||
poap_count: number; | ||
stats_by_chain_aggregate: { | ||
aggregate: { | ||
sum: { | ||
transfer_count: number; | ||
poap_count: number; | ||
}; | ||
}; | ||
}; | ||
@@ -25,0 +29,0 @@ email_claims_stats: { |
{ | ||
"name": "@poap-xyz/drops", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "Drops module for the poap.js library", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.cjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72647
911