@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.
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1322 -1317
- package/dist/index.js.map +1 -1
- package/dist/types/crud.d.ts +5 -0
- package/dist/types/types/crud.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/crud.d.ts
CHANGED
|
@@ -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;
|