|
|
@@ -7723,6 +7723,31 @@ export type GetFacetWithValuesQuery = {
|
|
|
} | null;
|
|
|
};
|
|
|
|
|
|
+export type GetFacetWithValueListQueryVariables = Exact<{
|
|
|
+ id: Scalars['ID']['input'];
|
|
|
+}>;
|
|
|
+
|
|
|
+export type GetFacetWithValueListQuery = {
|
|
|
+ facet?: {
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ isPrivate: boolean;
|
|
|
+ code: string;
|
|
|
+ name: string;
|
|
|
+ valueList: {
|
|
|
+ totalItems: number;
|
|
|
+ items: Array<{
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ code: string;
|
|
|
+ name: string;
|
|
|
+ translations: Array<{ id: string; languageCode: LanguageCode; name: string }>;
|
|
|
+ facet: { id: string; name: string };
|
|
|
+ }>;
|
|
|
+ };
|
|
|
+ } | null;
|
|
|
+};
|
|
|
+
|
|
|
export type DeleteFacetValuesMutationVariables = Exact<{
|
|
|
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
|
force?: InputMaybe<Scalars['Boolean']['input']>;
|
|
|
@@ -21921,6 +21946,112 @@ export const GetFacetWithValuesDocument = {
|
|
|
},
|
|
|
],
|
|
|
} as unknown as DocumentNode<GetFacetWithValuesQuery, GetFacetWithValuesQueryVariables>;
|
|
|
+export const GetFacetWithValueListDocument = {
|
|
|
+ kind: 'Document',
|
|
|
+ definitions: [
|
|
|
+ {
|
|
|
+ kind: 'OperationDefinition',
|
|
|
+ operation: 'query',
|
|
|
+ name: { kind: 'Name', value: 'GetFacetWithValueList' },
|
|
|
+ variableDefinitions: [
|
|
|
+ {
|
|
|
+ kind: 'VariableDefinition',
|
|
|
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
|
+ type: {
|
|
|
+ kind: 'NonNullType',
|
|
|
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ {
|
|
|
+ kind: 'Field',
|
|
|
+ name: { kind: 'Name', value: 'facet' },
|
|
|
+ arguments: [
|
|
|
+ {
|
|
|
+ kind: 'Argument',
|
|
|
+ name: { kind: 'Name', value: 'id' },
|
|
|
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
|
+ {
|
|
|
+ kind: 'Field',
|
|
|
+ name: { kind: 'Name', value: 'valueList' },
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ {
|
|
|
+ kind: 'Field',
|
|
|
+ name: { kind: 'Name', value: 'items' },
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ {
|
|
|
+ kind: 'FragmentSpread',
|
|
|
+ name: { kind: 'Name', value: 'FacetValue' },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ kind: 'FragmentDefinition',
|
|
|
+ name: { kind: 'Name', value: 'FacetValue' },
|
|
|
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } },
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
|
+ {
|
|
|
+ kind: 'Field',
|
|
|
+ name: { kind: 'Name', value: 'translations' },
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ kind: 'Field',
|
|
|
+ name: { kind: 'Name', value: 'facet' },
|
|
|
+ selectionSet: {
|
|
|
+ kind: 'SelectionSet',
|
|
|
+ selections: [
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
|
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+} as unknown as DocumentNode<GetFacetWithValueListQuery, GetFacetWithValueListQueryVariables>;
|
|
|
export const DeleteFacetValuesDocument = {
|
|
|
kind: 'Document',
|
|
|
definitions: [
|