@poap-xyz/drops
Advanced tools
Comparing version
import { FilterVariables, OrderByVariables, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface PaginatedDropsResponse { | ||
@@ -5,0 +5,0 @@ drops: DropResponse[]; |
import { Order, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface SearchDropsResponse { | ||
@@ -5,0 +5,0 @@ search_drops: DropResponse[]; |
@@ -30,3 +30,3 @@ export interface DropResponse { | ||
email_claims_stats: { | ||
total: number; | ||
reserved: number; | ||
}; | ||
@@ -33,0 +33,0 @@ drop_image: { |
import { FilterVariables, OrderByVariables, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface PaginatedDropsResponse { | ||
@@ -5,0 +5,0 @@ drops: DropResponse[]; |
import { Order, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface SearchDropsResponse { | ||
@@ -5,0 +5,0 @@ search_drops: DropResponse[]; |
@@ -30,3 +30,3 @@ export interface DropResponse { | ||
email_claims_stats: { | ||
total: number; | ||
reserved: number; | ||
}; | ||
@@ -33,0 +33,0 @@ drop_image: { |
@@ -136,3 +136,3 @@ (function (global, factory) { | ||
transferCount: Number(response.stats_by_chain_aggregate.aggregate.sum.transfer_count), | ||
emailReservationCount: Number((_a = response.email_claims_stats) === null || _a === void 0 ? void 0 : _a.total) || 0, | ||
emailReservationCount: Number((_a = response.email_claims_stats) === null || _a === void 0 ? void 0 : _a.reserved) || 0, | ||
}); | ||
@@ -260,3 +260,3 @@ } | ||
email_claims_stats { | ||
total | ||
reserved | ||
} | ||
@@ -314,3 +314,3 @@ drop_image { | ||
email_claims_stats { | ||
total | ||
reserved | ||
} | ||
@@ -317,0 +317,0 @@ drop_image { |
import { FilterVariables, OrderByVariables, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface PaginatedDropsResponse { | ||
@@ -5,0 +5,0 @@ drops: DropResponse[]; |
import { Order, PaginatedVariables } from '@poap-xyz/utils'; | ||
import { DropResponse } from '../types/DropResponse'; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_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 drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export declare const SEARCH_DROPS_QUERY = "\n query SearchDrops(\n $limit: Int!\n $offset: Int!\n $args: search_drops_args!\n $orderBy: [drops_order_by!]\n ) {\n search_drops(\n limit: $limit\n offset: $offset\n args: $args\n order_by: $orderBy\n ) {\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 expiry_date\n end_date\n stats_by_chain_aggregate {\n aggregate {\n sum {\n transfer_count\n poap_count\n }\n }\n }\n email_claims_stats {\n reserved\n }\n drop_image {\n gateways {\n type\n url\n }\n }\n }\n }\n"; | ||
export interface SearchDropsResponse { | ||
@@ -5,0 +5,0 @@ search_drops: DropResponse[]; |
@@ -30,3 +30,3 @@ export interface DropResponse { | ||
email_claims_stats: { | ||
total: number; | ||
reserved: number; | ||
}; | ||
@@ -33,0 +33,0 @@ drop_image: { |
{ | ||
"name": "@poap-xyz/drops", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Drops module for the poap.js library", | ||
@@ -32,5 +32,5 @@ "main": "dist/cjs/index.cjs", | ||
"dependencies": { | ||
"@poap-xyz/providers": "0.5.3", | ||
"@poap-xyz/utils": "0.5.3" | ||
"@poap-xyz/providers": "0.5.4", | ||
"@poap-xyz/utils": "0.5.4" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
181449
0.05%+ Added
+ Added
- Removed
- Removed
Updated
Updated