Created
November 23, 2021 16:46
-
-
Save mshick/acae21bfe08f396fac0f18588fbcfd78 to your computer and use it in GitHub Desktop.
schema-for-query-depth-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "projectId": "6ae7a558-c0fb-49c0-a648-0315c3cefbdf", | |
| "dataKey": "AQIDAHhcZWXOdlBglkxBhI23ElO/clC/kuw5ynjXDSqJgfTz8gFJygwNtEKDUY94nYVS1b0yAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMH3gWUEX7gI6MNqXSAgEQgDtImWW7kYJ+OTKST24gWOdXBdegboTIlgWvKsvmtzQLqLPabxtlY0ifvN0YCA3cDLf2CUCRGFTbsIs1MQ==", | |
| "version": 6, | |
| "created": "2021-11-19T19:43:46.227Z", | |
| "updated": "2021-11-19T19:47:45.302Z", | |
| "defaultLocale": "en-us", | |
| "locales": ["en-us"], | |
| "apiVersion": "2", | |
| "indexedShapes": { | |
| "Shopify_Product": { | |
| "queries": { | |
| "all": { | |
| "name": "Shopify_products", | |
| "ignoreFields": [ | |
| "availablePublicationCount", | |
| "publicationCount", | |
| "publishedOnCurrentPublication", | |
| "productPublications", | |
| "publications", | |
| "resourcePublications", | |
| "resourcePublicationsV2", | |
| "unpublishedChannels", | |
| "unpublishedPublications" | |
| ], | |
| "interval": 1 | |
| } | |
| } | |
| } | |
| }, | |
| "workflows": {}, | |
| "forms": {}, | |
| "services": { | |
| "michaels-store-takeshape": { | |
| "title": "Shopify", | |
| "namespace": "Shopify", | |
| "provider": "shopify", | |
| "serviceType": "graphql", | |
| "authenticationType": "oauth2Bearer", | |
| "authentication": "MhO7Jp6qPbNWSYHRcw9oZt6ur5NIdCT3zt/9w9l5+IViCLqZOFVGAsr1+T1WDUokZY8aS9QlYn0/qbW7jRlaD225vm9u3YOWcGcrHXH/4suHBpyZSZcc/iJXxpLxiOwB3wva+K/wORNmG5XaxF+AG0MWsQdQ9LSpHne+az45c7lcGGQbJW0uZwnIZWkaw7R/MGUW", | |
| "options": { | |
| "shop": "michaels-store-takeshape", | |
| "endpoint": "https://michaels-store-takeshape.myshopify.com/admin/api/2020-07/graphql.json" | |
| }, | |
| "id": "michaels-store-takeshape" | |
| } | |
| }, | |
| "queries": { | |
| "queryProductIndex": { | |
| "shape": "PaginatedList<Shopify_Product>", | |
| "resolver": { | |
| "name": "takeshape:queryApiIndex", | |
| "shapeName": "Shopify_Product", | |
| "service": "takeshape:local", | |
| "options": { "indexedShape": "Shopify_Product" } | |
| }, | |
| "description": "Fetch Shopify products from API Index.", | |
| "args": "TSListArgs<Shopify_Product>" | |
| }, | |
| "Shopify_products": { | |
| "resolver": { | |
| "name": "graphql:query", | |
| "service": "michaels-store-takeshape", | |
| "fieldName": "products" | |
| }, | |
| "args": { | |
| "type": "object", | |
| "properties": { | |
| "first": { | |
| "type": "integer", | |
| "description": "Returns up to the first `n` elements from the list." | |
| }, | |
| "after": { | |
| "type": "string", | |
| "description": "Returns the elements that come after the specified cursor." | |
| }, | |
| "last": { | |
| "type": "integer", | |
| "description": "Returns up to the last `n` elements from the list." | |
| }, | |
| "before": { | |
| "type": "string", | |
| "description": "Returns the elements that come before the specified cursor." | |
| }, | |
| "reverse": { | |
| "type": "boolean", | |
| "description": "Reverse the order of the underlying list.", | |
| "default": false | |
| }, | |
| "sortKey": { | |
| "description": "Sort the underlying list by the given key.", | |
| "enum": [ | |
| "TITLE", | |
| "PRODUCT_TYPE", | |
| "VENDOR", | |
| "INVENTORY_TOTAL", | |
| "UPDATED_AT", | |
| "CREATED_AT", | |
| "PUBLISHED_AT", | |
| "ID", | |
| "RELEVANCE" | |
| ], | |
| "default": "ID" | |
| }, | |
| "query": { | |
| "type": "string", | |
| "description": "Supported filter parameters:\n - `barcode`\n - `created_at`\n - `delivery_profile_id`\n - `error_feedback`\n - `gift_card`\n - `has_only_default_variant`\n - `inventory_total`\n - `is_price_reduced`\n - `out_of_stock_somewhere`\n - `price`\n - `product_type`\n - `publishable_status`\n - `published_status`\n - `sku`\n - `status`\n - `tag`\n - `tag_not`\n - `title`\n - `updated_at`\n - `vendor`\n\nSee the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax)\nfor more information about using filters." | |
| }, | |
| "savedSearchId": { | |
| "type": "string", | |
| "@tag": "id", | |
| "description": "The ID of an existing saved search.\nThe search’s query string is used as the query argument.\nRefer to [SavedSearch](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/savedsearch)." | |
| } | |
| } | |
| }, | |
| "shape": "Shopify_ProductConnection" | |
| } | |
| }, | |
| "mutations": {}, | |
| "shapes": {}, | |
| "schemaVersion": "3.10.0" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment