| 1234567891011121314151617181920212223242526 |
- import { gql } from "@apollo/client";
- // type 查询的是一组type相同的数据
- // name查询的是一个name是给定值的数据
- export const GET_THEME_CUSTOMIZATION = gql`
- query ThemeCustomizationQuery($type: String,$name:String) {
- themeCustomizations(type: $type, name:$name) {
- edges {
- node {
- id
- type
- name
- status
- translation {
- id
- _id
- themeCustomizationId
- locale
- options
-
- }
- }
- }
- }
- }
- `;
|