a2188cb0eb
## Context This PR implements the first steps for overridable entities resets. <img width="1277" height="568" alt="Screenshot 2026-04-02 at 18 58 04" src="https://github.com/user-attachments/assets/4c7f93b1-c453-4905-a919-cd6af11e0e16" />
13 lines
384 B
TypeScript
13 lines
384 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
import { PAGE_LAYOUT_WIDGET_FRAGMENT } from '@/page-layout/graphql/fragments/pageLayoutWidgetFragment';
|
|
|
|
export const RESET_PAGE_LAYOUT_WIDGET_TO_DEFAULT = gql`
|
|
${PAGE_LAYOUT_WIDGET_FRAGMENT}
|
|
mutation ResetPageLayoutWidgetToDefault($id: String!) {
|
|
resetPageLayoutWidgetToDefault(id: $id) {
|
|
...PageLayoutWidgetFragment
|
|
}
|
|
}
|
|
`;
|