@wgalleti/primevue-components 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,6 +129,11 @@ export interface CrudManagerConfig<T> {
129
129
  /** When editing, send only the changed fields (diff) instead of the whole
130
130
  * record. Defaults to `true`. Set `false` to always send the full payload. */
131
131
  partialUpdate?: boolean;
132
+ /** After a successful create/update, re-fetch the current page so the list
133
+ * reflects the backend (derived fields, ordering) without losing pagination,
134
+ * search or filter position. Defaults to `true`. Set `false` to keep the
135
+ * optimistic in-place update instead. */
136
+ refetchOnSave?: boolean;
132
137
  canCreate?: boolean;
133
138
  canEdit?: boolean;
134
139
  canDelete?: boolean;
@@ -129,6 +129,11 @@ export interface CrudManagerConfig<T> {
129
129
  /** When editing, send only the changed fields (diff) instead of the whole
130
130
  * record. Defaults to `true`. Set `false` to always send the full payload. */
131
131
  partialUpdate?: boolean;
132
+ /** After a successful create/update, re-fetch the current page so the list
133
+ * reflects the backend (derived fields, ordering) without losing pagination,
134
+ * search or filter position. Defaults to `true`. Set `false` to keep the
135
+ * optimistic in-place update instead. */
136
+ refetchOnSave?: boolean;
132
137
  canCreate?: boolean;
133
138
  canEdit?: boolean;
134
139
  canDelete?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wgalleti/primevue-components",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {