|
|
@@ -23,11 +23,6 @@ type Mutation {
|
|
|
deleteFacetValues(ids: [ID!]!, force: Boolean): [DeletionResponse!]!
|
|
|
}
|
|
|
|
|
|
-type FacetList implements PaginatedList {
|
|
|
- items: [Facet!]!
|
|
|
- totalItems: Int!
|
|
|
-}
|
|
|
-
|
|
|
input FacetListOptions {
|
|
|
take: Int
|
|
|
skip: Int
|
|
|
@@ -49,3 +44,43 @@ input FacetFilterParameter {
|
|
|
createdAt: DateOperators
|
|
|
updatedAt: DateOperators
|
|
|
}
|
|
|
+
|
|
|
+input FacetTranslationInput {
|
|
|
+ id: ID
|
|
|
+ languageCode: LanguageCode!
|
|
|
+ name: String
|
|
|
+}
|
|
|
+
|
|
|
+input CreateFacetInput {
|
|
|
+ code: String!
|
|
|
+ translations: [FacetTranslationInput!]!
|
|
|
+ values: [CreateFacetValueWithFacetInput!]
|
|
|
+}
|
|
|
+
|
|
|
+input UpdateFacetInput {
|
|
|
+ id: ID!
|
|
|
+ code: String
|
|
|
+ translations: [FacetTranslationInput!]
|
|
|
+}
|
|
|
+input FacetValueTranslationInput {
|
|
|
+ id: ID
|
|
|
+ languageCode: LanguageCode!
|
|
|
+ name: String
|
|
|
+}
|
|
|
+
|
|
|
+input CreateFacetValueWithFacetInput {
|
|
|
+ code: String!
|
|
|
+ translations: [FacetValueTranslationInput!]!
|
|
|
+}
|
|
|
+
|
|
|
+input CreateFacetValueInput {
|
|
|
+ facetId: ID!
|
|
|
+ code: String!
|
|
|
+ translations: [FacetValueTranslationInput!]!
|
|
|
+}
|
|
|
+
|
|
|
+input UpdateFacetValueInput {
|
|
|
+ id: ID!
|
|
|
+ code: String
|
|
|
+ translations: [FacetValueTranslationInput!]
|
|
|
+}
|