Skip to content

Commit

Permalink
Add url and id property to item type (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzi authored Nov 2, 2022
1 parent b8b1602 commit ece5908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sitecore-jss/src/layout/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export interface Field<T = GenericFieldValue> {
export interface Item {
name: string;
displayName?: string;
id?: string;
url?: string;
fields: {
[name: string]: Field | Item | Item[] | undefined;
};
Expand Down

0 comments on commit ece5908

Please sign in to comment.