@@ -333,6 +333,7 @@ input BooleanSearchOptions {
333333"""Collection of hypercerts for reference and display purposes"""
334334type Collection {
335335 admins : [User ! ]!
336+ blueprints : [Blueprint ! ]
336337
337338 """Chain ID of the collection"""
338339 chain_ids : [EthBigInt ! ]
@@ -342,12 +343,29 @@ type Collection {
342343
343344 """Description of the collection"""
344345 description : String !
346+ hypercerts : [Hypercert ! ]
345347 id : ID !
346348
347349 """Name of the collection"""
348350 name : String !
349351}
350352
353+ input CollectionFetchInput {
354+ by : CollectionSortOptions
355+ }
356+
357+ input CollectionSortOptions {
358+ created_at : SortOrder
359+ description : SortOrder
360+ name : SortOrder
361+ }
362+
363+ input CollectionWhereInput {
364+ description : StringSearchOptions
365+ id : IdSearchOptions
366+ name : StringSearchOptions
367+ }
368+
351369"""Pointer to a contract deployed on a chain"""
352370type Contract {
353371 """The ID of the chain on which the contract is deployed"""
@@ -469,6 +487,11 @@ type GetBlueprintResponse {
469487 data : [Blueprint ! ]
470488}
471489
490+ type GetCollectionsResponse {
491+ count : Int
492+ data : [Collection ! ]
493+ }
494+
472495"""Pointer to a contract deployed on a chain"""
473496type GetContractsResponse {
474497 count : Int
@@ -889,6 +912,7 @@ type Query {
889912 attestationSchemas (first : Int , offset : Int ): GetAttestationsSchemaResponse !
890913 attestations (first : Int , offset : Int , sort : AttestationFetchInput , where : AttestationWhereInput ): GetAttestationsResponse !
891914 blueprints (first : Int , offset : Int , sort : BlueprintFetchInput , where : BlueprintWhereInput ): GetBlueprintResponse !
915+ collections (first : Int , offset : Int , sort : CollectionFetchInput , where : CollectionWhereInput ): GetCollectionsResponse !
892916 contracts (first : Int , offset : Int , sort : ContractFetchInput , where : ContractWhereInput ): GetContractsResponse !
893917 fractions (first : Int , offset : Int , sort : FractionFetchInput , where : FractionWhereInput ): GetFractionsResponse !
894918 hyperboards (first : Int , offset : Int , sort : HyperboardFetchInput , where : HyperboardWhereInput ): GetHyperboardsResponse !
0 commit comments