Reset Fields widget implementation (#19283)

## 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"
/>
This commit is contained in:
Weiko
2026-04-07 11:34:44 +02:00
committed by GitHub
parent 23874848a4
commit a2188cb0eb
11 changed files with 528 additions and 0 deletions
@@ -0,0 +1,12 @@
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
}
}
`;