Просмотр исходного кода

chore(dev-server): Comment out document extensions

Michael Bromley 5 месяцев назад
Родитель
Сommit
dc474fc70a
1 измененных файлов с 45 добавлено и 45 удалено
  1. 45 45
      packages/dev-server/test-plugins/reviews/dashboard/index.tsx

+ 45 - 45
packages/dev-server/test-plugins/reviews/dashboard/index.tsx

@@ -106,34 +106,34 @@ defineDashboardExtension({
     detailForms: [
         {
             pageId: 'product-variant-detail',
-            extendDetailDocument: `
-                query {
-                    productVariant(id: $id) {
-                        stockOnHand
-                        product {
-                          facetValues {
-                            id
-                            name
-                            facet {
-                            code
-                            }
-                          }
-                          customFields {
-                            featuredReview {
-                                id
-                                productVariant {
-                                    id
-                                    name
-                                }
-                                product {
-                                name
-                                }
-                            }
-                          }
-                        }
-                    }
-                }
-            `,
+            // extendDetailDocument: `
+            //     query {
+            //         productVariant(id: $id) {
+            //             stockOnHand
+            //             product {
+            //               facetValues {
+            //                 id
+            //                 name
+            //                 facet {
+            //                 code
+            //                 }
+            //               }
+            //               customFields {
+            //                 featuredReview {
+            //                     id
+            //                     productVariant {
+            //                         id
+            //                         name
+            //                     }
+            //                     product {
+            //                     name
+            //                     }
+            //                 }
+            //               }
+            //             }
+            //         }
+            //     }
+            // `,
         },
         {
             pageId: 'review-detail',
@@ -175,23 +175,23 @@ defineDashboardExtension({
                     ),
                 },
             ],
-            extendListDocument: `
-                query {
-                    products {
-                        items {
-                            customFields {
-                                featuredReview {
-                                    id
-                                    productVariant {
-                                        id
-                                        name
-                                    }
-                                }
-                            }
-                        }
-                    }
-                }
-            `,
+            // extendListDocument: `
+            //     query {
+            //         products {
+            //             items {
+            //                 customFields {
+            //                     featuredReview {
+            //                         id
+            //                         productVariant {
+            //                             id
+            //                             name
+            //                         }
+            //                     }
+            //                 }
+            //             }
+            //         }
+            //     }
+            // `,
         },
     ],
 });