Skip to content

Commit

Permalink
fix: missing labelAllLocales prop from TFieldDefinitionGraphql ty…
Browse files Browse the repository at this point in the history
…pe (#614)
  • Loading branch information
ragafus authored Jul 3, 2024
1 parent a490e81 commit fd02d51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-snails-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-test-data/type': patch
---

Add missing `labelAllLocales` property to `TFieldDefinitionGraphql` type
6 changes: 5 additions & 1 deletion models/type/src/field-definition/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import { FieldDefinition } from '@commercetools/platform-sdk';
import { TLocalizedStringDraftGraphql } from '@commercetools-test-data/commons';
import {
TLocalizedStringDraftGraphql,
TLocalizedStringGraphql,
} from '@commercetools-test-data/commons';
import type { TBuilder } from '@commercetools-test-data/core';

export type TFieldDefinition = FieldDefinition;

export type TFieldDefinitionDraft = FieldDefinition;

export type TFieldDefinitionGraphql = TFieldDefinition & {
labelAllLocales: TLocalizedStringGraphql | null;
__typename: 'FieldDefinition';
};

Expand Down

0 comments on commit fd02d51

Please sign in to comment.