Skip to content

Commit

Permalink
icon as string
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed Jul 14, 2023
1 parent 2819315 commit 9bf5c1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion models/Group.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare let attributes: {
parentGroup: any;
childGroups: string[] | Group[];
/** Icon */
icon: MediaFile;
icon: string;
/** Images */
images: MediaFile[];
/** Плейсхолдер для блюд группы */
Expand Down
4 changes: 1 addition & 3 deletions models/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ let attributes = {
via: "parentGroup",
},
/** Icon */
icon: {
model: "mediafile",
},
icon: "string",
/** Images */
images: {
collection: "mediafile",
Expand Down
4 changes: 1 addition & 3 deletions models/Group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ let attributes = {
} as unknown as Group[] | string[],

/** Icon */
icon: {
model: "mediafile",
} as unknown as MediaFile,
icon: "string",

/** Images */
images: {
Expand Down

0 comments on commit 9bf5c1b

Please sign in to comment.