
import { PageSettingType, PageSetting, PageSettingDetails, PageSettingInput } from './page-setting'

export const Query = `
  pageSettings(
    codes: [Filter!]
    partners: [Filter!]
    settings: [Filter!]
    settingsDomain: String
  ): [PageSettingType] @transaction
`

export const Mutation = /* GraphQL */ `
  addReleaseGoodProducts (
    name: String!
    orderInventories: [NewOrderInventory]
    existingOrderInventories: [NewOrderInventory]
  ): Boolean @privilege(category: "order_customer", privilege: "mutation") @transaction
`

export const Types = [PageSettingType, PageSetting, PageSettingDetails, PageSettingInput]
