Skip to content

Commit

Permalink
fix: Meta pixel prod .com verification
Browse files Browse the repository at this point in the history
kristianeboe committed Apr 11, 2022
1 parent a77d4bc commit 6126f79
Showing 5 changed files with 239 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NEXT_PUBLIC_ARWEAVE_CDN_HOST=/api/arweave/txt
NEXT_PUBLIC_MARKETPLACE_ENABLED=true
FEATURED_STOREFRONTS_URL="https://bafkreigvmqgo5l6zvoc6gscqhrm6a2qboio2jbgpkewv6pwylgbf4v52ai.ipfs.nftstorage.link/"
NEXT_PUBLIC_INDEXER_GRAPHQL_URL="https://graph-test.holaplex.com/v1"
NEXT_PUBLIC_INDEXER_GRAPHQL_URL="https://graph.holaplex.com/v1"
3 changes: 2 additions & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
@@ -33,7 +33,8 @@ export default class MyDocument extends Document {
<Html>
<Head>
{/* meta .dev verification. Will remove in future */}
<meta name="facebook-domain-verification" content={'pvzsx7s3k2om21tjz7kmt6gpr0vaun'} />
{/* <meta name="facebook-domain-verification" content={'pvzsx7s3k2om21tjz7kmt6gpr0vaun'} /> */}
<meta name="facebook-domain-verification" content="1shmkwfy1aajm8cbbwwe91f30j8ihi" />
{(OLD_GOOGLE_ANALYTICS_ID || GA4_ID) && (
<>
<script
2 changes: 1 addition & 1 deletion src/graphql/activity/activityPage.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query activityPage($address: String!) {
query activityPage($address: PublicKey!) {
wallet(address: $address) {
__typename
address
144 changes: 137 additions & 7 deletions src/graphql/indexerTypes.ssr.ts
Original file line number Diff line number Diff line change
@@ -85,11 +85,18 @@ export type BidReceipt = {
tradeStateBump: Scalars['Int'];
};

export type ConnectionCounts = {
__typename?: 'ConnectionCounts';
fromCount: Scalars['Int'];
toCount: Scalars['Int'];
};

export type Creator = {
__typename?: 'Creator';
address: Scalars['String'];
attributeGroups: Array<AttributeGroup>;
counts: CreatorCounts;
profile?: Maybe<TwitterProfile>;
stats: Array<MintStats>;
};

@@ -109,6 +116,13 @@ export type Denylist = {
storefronts: Array<Scalars['PublicKey']>;
};

export type GraphConnection = {
__typename?: 'GraphConnection';
address: Scalars['String'];
from: Wallet;
to: Wallet;
};

export type Listing = {
__typename?: 'Listing';
address: Scalars['String'];
@@ -122,6 +136,7 @@ export type Listing = {
storefront?: Maybe<Storefront>;
};

/** An NFT listing receipt */
export type ListingReceipt = {
__typename?: 'ListingReceipt';
address: Scalars['String'];
@@ -171,6 +186,7 @@ export type MintStats = {

export type Nft = {
__typename?: 'Nft';
activities: Array<NftActivity>;
address: Scalars['String'];
attributes: Array<NftAttribute>;
creators: Array<NftCreator>;
@@ -191,25 +207,52 @@ export type NftImageArgs = {
width?: InputMaybe<Scalars['Int']>;
};

export type NftActivity = {
__typename?: 'NftActivity';
activityType: Scalars['String'];
address: Scalars['String'];
auctionHouse: Scalars['String'];
createdAt: Scalars['DateTimeUtc'];
metadata: Scalars['String'];
price: Scalars['Lamports'];
wallets: Array<Scalars['String']>;
};

export type NftAttribute = {
__typename?: 'NftAttribute';
metadataAddress: Scalars['String'];
traitType: Scalars['String'];
value: Scalars['String'];
};

export type NftCount = {
__typename?: 'NftCount';
listed: Scalars['Int'];
total: Scalars['Int'];
};


export type NftCountListedArgs = {
auctionHouses?: InputMaybe<Array<Scalars['PublicKey']>>;
};

export type NftCreator = {
__typename?: 'NftCreator';
address: Scalars['String'];
metadataAddress: Scalars['String'];
position?: Maybe<Scalars['Int']>;
profile?: Maybe<TwitterProfile>;
share: Scalars['Int'];
twitterHandle?: Maybe<Scalars['String']>;
verified: Scalars['Boolean'];
};

export type NftOwner = {
__typename?: 'NftOwner';
address: Scalars['String'];
associatedTokenAccountAddress: Scalars['String'];
profile?: Maybe<TwitterProfile>;
twitterHandle?: Maybe<Scalars['String']>;
};

export type Profile = {
@@ -218,6 +261,7 @@ export type Profile = {
handle: Scalars['String'];
profileImageUrlHighres: Scalars['String'];
profileImageUrlLowres: Scalars['String'];
walletAddress?: Maybe<Scalars['String']>;
};

/** auction house bid receipt */
@@ -233,18 +277,28 @@ export type PurchaseReceipt = {

export type QueryRoot = {
__typename?: 'QueryRoot';
connections: Array<GraphConnection>;
creator: Creator;
denylist: Denylist;
listings: Array<Listing>;
/** A marketplace */
marketplace?: Maybe<Marketplace>;
nft?: Maybe<Nft>;
nftCounts: NftCount;
nfts: Array<Nft>;
profile?: Maybe<Profile>;
/** A storefront */
storefront?: Maybe<Storefront>;
storefronts: Array<Storefront>;
wallet?: Maybe<Wallet>;
wallet: Wallet;
};


export type QueryRootConnectionsArgs = {
from?: InputMaybe<Array<Scalars['PublicKey']>>;
limit: Scalars['Int'];
offset: Scalars['Int'];
to?: InputMaybe<Array<Scalars['PublicKey']>>;
};


@@ -263,6 +317,11 @@ export type QueryRootNftArgs = {
};


export type QueryRootNftCountsArgs = {
creators: Array<Scalars['PublicKey']>;
};


export type QueryRootNftsArgs = {
attributes?: InputMaybe<Array<AttributeFilter>>;
creators?: InputMaybe<Array<Scalars['PublicKey']>>;
@@ -285,7 +344,7 @@ export type QueryRootStorefrontArgs = {


export type QueryRootWalletArgs = {
address: Scalars['String'];
address: Scalars['PublicKey'];
};

export type StoreCreator = {
@@ -308,18 +367,51 @@ export type Storefront = {
title: Scalars['String'];
};

export type TwitterProfile = {
__typename?: 'TwitterProfile';
bannerImageUrl: Scalars['String'];
description: Scalars['String'];
handle: Scalars['String'];
profileImageUrl: Scalars['String'];
};

export type Wallet = {
__typename?: 'Wallet';
address: Scalars['String'];
address: Scalars['PublicKey'];
bids: Array<Bid>;
connectionCounts: ConnectionCounts;
nftCounts: WalletNftCount;
profile?: Maybe<TwitterProfile>;
};


export type WalletNftCountsArgs = {
creators?: InputMaybe<Array<Scalars['PublicKey']>>;
};

export type WalletNftCount = {
__typename?: 'WalletNftCount';
listed: Scalars['Int'];
offered: Scalars['Int'];
owned: Scalars['Int'];
};


export type WalletNftCountListedArgs = {
auctionHouses?: InputMaybe<Array<Scalars['PublicKey']>>;
};


export type WalletNftCountOfferedArgs = {
auctionHouses?: InputMaybe<Array<Scalars['PublicKey']>>;
};

export type ActivityPageQueryVariables = Exact<{
address: Scalars['String'];
address: Scalars['PublicKey'];
}>;


export type ActivityPageQuery = { __typename?: 'QueryRoot', wallet?: { __typename: 'Wallet', address: string, bids: Array<{ __typename: 'Bid', listingAddress: string, bidderAddress: string, lastBidTime: string, lastBidAmount: any, cancelled: boolean, listing?: { __typename?: 'Listing', address: string, ended: boolean, storefront?: { __typename: 'Storefront', ownerAddress: string, subdomain: string, title: string, description: string, faviconUrl: string, logoUrl: string, bannerUrl: string } | null, nfts: Array<{ __typename: 'Nft', address: string, name: string, description: string, image: string }>, bids: Array<{ __typename?: 'Bid', bidderAddress: string, lastBidTime: string, lastBidAmount: any, cancelled: boolean, listingAddress: string }> } | null }> } | null };
export type ActivityPageQuery = { __typename?: 'QueryRoot', wallet: { __typename: 'Wallet', address: any, bids: Array<{ __typename: 'Bid', listingAddress: string, bidderAddress: string, lastBidTime: string, lastBidAmount: any, cancelled: boolean, listing?: { __typename?: 'Listing', address: string, ended: boolean, storefront?: { __typename: 'Storefront', ownerAddress: string, subdomain: string, title: string, description: string, faviconUrl: string, logoUrl: string, bannerUrl: string } | null, nfts: Array<{ __typename: 'Nft', address: string, name: string, description: string, image: string }>, bids: Array<{ __typename?: 'Bid', bidderAddress: string, lastBidTime: string, lastBidAmount: any, cancelled: boolean, listingAddress: string }> } | null }> } };

export type OwnedNfTsQueryVariables = Exact<{
address: Scalars['PublicKey'];
@@ -342,11 +434,11 @@ export type NftPageQueryVariables = Exact<{
}>;


export type NftPageQuery = { __typename?: 'QueryRoot', nft?: { __typename?: 'Nft', address: string, name: string, sellerFeeBasisPoints: number, mintAddress: string, description: string, image: string, primarySaleHappened: boolean, creators: Array<{ __typename?: 'NftCreator', address: string, verified: boolean }> } | null };
export type NftPageQuery = { __typename?: 'QueryRoot', nft?: { __typename?: 'Nft', address: string, name: string, sellerFeeBasisPoints: number, mintAddress: string, description: string, image: string, primarySaleHappened: boolean, attributes: Array<{ __typename?: 'NftAttribute', metadataAddress: string, value: string, traitType: string }>, creators: Array<{ __typename?: 'NftCreator', address: string, verified: boolean }>, owner?: { __typename?: 'NftOwner', address: string } | null, purchases: Array<{ __typename?: 'PurchaseReceipt', address: string, buyer: string, auctionHouse: string, price: any, createdAt: any }>, listings: Array<{ __typename?: 'ListingReceipt', address: string, tradeState: string, seller: string, metadata: string, auctionHouse: string, price: any, tradeStateBump: number, createdAt: any, canceledAt?: any | null }>, offers: Array<{ __typename?: 'BidReceipt', address: string, tradeState: string, buyer: string, metadata: string, auctionHouse: string, price: any, tradeStateBump: number, tokenAccount?: string | null, createdAt: any, canceledAt?: any | null }> } | null };


export const ActivityPageDocument = gql`
query activityPage($address: String!) {
query activityPage($address: PublicKey!) {
wallet(address: $address) {
__typename
address
@@ -426,10 +518,48 @@ export const NftPageDocument = gql`
description
image
primarySaleHappened
attributes {
metadataAddress
value
traitType
}
creators {
address
verified
}
owner {
address
}
purchases {
address
buyer
auctionHouse
price
createdAt
}
listings {
address
tradeState
seller
metadata
auctionHouse
price
tradeStateBump
createdAt
canceledAt
}
offers {
address
tradeState
buyer
metadata
auctionHouse
price
tradeStateBump
tokenAccount
createdAt
canceledAt
}
}
}
`;
Loading

0 comments on commit 6126f79

Please sign in to comment.