Skip to content

Commit

Permalink
fix export type ApiEnvironments
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx committed Sep 14, 2022
1 parent 89431ac commit c7352a1
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 78 deletions.
94 changes: 42 additions & 52 deletions packages/sdk/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ type Artist implements Node {
"""
Filter the artist releases
"""
filter: ArtistMintedReleasesFilter
filter: ArtistMintedReleasesFilter! = { appearsOn: false, hasCreditSplits: false, sounds: true }

"""
Pagination parameters
Expand All @@ -139,7 +139,7 @@ type Artist implements Node {
"""
Filter the releases to be counted
"""
filter: ArtistMintedReleasesFilter
filter: ArtistMintedReleasesFilter! = { appearsOn: false, hasCreditSplits: false, sounds: true }
): Int!

"""
Expand Down Expand Up @@ -449,13 +449,23 @@ input ArtistMintedReleasesCursorFilterArgs {
}

"""
Filter for artist minted releases
Filter for artist minted releases. Default is only for artist sounds.
"""
input ArtistMintedReleasesFilter {
"""
Includes songs where that artist has a split
"""
appearsOn: Boolean

"""
Filter if the release has credit splits
"""
hasCreditSplits: Boolean

"""
Includes songs uploaded by artist
"""
sounds: Boolean
}

"""
Expand Down Expand Up @@ -619,13 +629,18 @@ type AuctionUploadStepInfo {
"""
List of public addresses to allow for auction
"""
allowList: [String!]!
allowList: [String!]

"""
Max mints per wallet for auction
"""
maxMintsPerWallet: Int

"""
MerkleRoot derived from allowList
"""
merkleRoot: String

"""
Price per mint
"""
Expand All @@ -643,13 +658,13 @@ type AuctionUploadStepInfo {
}

"""
Release rewards upload step input values
Release auction upload step input values
"""
input AuctionUploadStepInput {
"""
List of public addresses to allow for auction
"""
allowList: [Address!]!
allowList: [Address!]

"""
Max mints per wallet for auction
Expand Down Expand Up @@ -2348,6 +2363,16 @@ type Mutation {
"""
clientCreateEditionUpsert(txHash: String!): Release!

"""
[ARTIST] Upsert release edition based on transaction
"""
clientCreateNewEditionUpsert(
"""
Transaction hash
"""
hash: String!
): Release!

"""
[AUTHENTICATED] Upsert bought NFT entity from the client-side. An alternative to wait until the transaction is completed and automatically acknowledged on background processes
"""
Expand Down Expand Up @@ -2578,6 +2603,16 @@ type Mutation {
input: PrepareMintInput!
): Release!

"""
[ARTIST] Prepare release before minting
"""
prepareReleaseForMint(
"""
ReleaseId to be prepared
"""
id: UUID!
): Void

"""
[AUTHENTICATED] Manually register transaction of nft buy
"""
Expand Down Expand Up @@ -3616,11 +3651,6 @@ type PermissionedAuction {
"""
freeSaleMaxMintsPerWalletOptions: [Int!]!

"""
List of different quantity options for free sale
"""
freeSaleQuantityOptions: [Int!]

"""
List of different max mints per wallet quantity options for presale
"""
Expand All @@ -3631,11 +3661,6 @@ type PermissionedAuction {
"""
presalePriceOptions: [Float!]

"""
List of different quantity options for presale
"""
presaleQuantityOptions: [Int!]

"""
List of different eth prices options for public sale
"""
Expand Down Expand Up @@ -3666,11 +3691,6 @@ input PermissionedAuctionInput {
"""
freeSaleMaxMintsPerWalletOptions: [Int!]!

"""
List of different options of maximum quantity for free sale mint
"""
freeSaleQuantityOptions: [Int!]!

"""
List of different max mints per wallet quantity options for presale
"""
Expand All @@ -3681,11 +3701,6 @@ input PermissionedAuctionInput {
"""
presalePriceOptions: [Float!]!

"""
List of different options of maximum quantity for presale mint
"""
presaleQuantityOptions: [Int!]!

"""
List of different eth prices options for public sale
"""
Expand Down Expand Up @@ -4298,7 +4313,7 @@ type Query {
Pagination parameters
"""
pagination: CursorConnectionArgs! = { first: 10, sort: DESC }
): ReleaseConnection!
): ReleaseConnection! @deprecated(reason: "Use Artist.mintedReleasesPaginated instead")

"""
[PUBLIC] Current UNIX date to test caching
Expand Down Expand Up @@ -4670,11 +4685,6 @@ type RangeBoundAuction {
"""
freeSaleMaxMintsPerWalletOptions: [Int!]!

"""
List of different quantity options for free sale
"""
freeSaleQuantityOptions: [Int!]

"""
List of different options of maximum quantity for public sale
"""
Expand All @@ -4700,11 +4710,6 @@ type RangeBoundAuction {
"""
presalePriceOptions: [Float!]

"""
List of different quantity options for presale
"""
presaleQuantityOptions: [Int!]

"""
List of different eth prices options for public sale
"""
Expand All @@ -4730,11 +4735,6 @@ input RangeBoundAuctionInput {
"""
freeSaleMaxMintsPerWalletOptions: [Int!]!

"""
List of different options of maximum quantity for free sale mint
"""
freeSaleQuantityOptions: [Int!]!

"""
List of different options of maximum quantity for public sale
"""
Expand All @@ -4760,11 +4760,6 @@ input RangeBoundAuctionInput {
"""
presalePriceOptions: [Float!]!

"""
List of different options of maximum quantity for presale mint
"""
presaleQuantityOptions: [Int!]!

"""
List of different eth prices options for public sale
"""
Expand Down Expand Up @@ -4875,11 +4870,6 @@ type Release implements Node {
"""
finalSaleScheduleEndTimestamp: Timestamp

"""
Public address of address to receive the transactions funds
"""
fundingRecipient: String!

"""
Genre of Release
"""
Expand Down
Loading

0 comments on commit c7352a1

Please sign in to comment.