gomtm 0.0.328 → 0.0.329

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.
@@ -5,8 +5,9 @@ interface ListViewStateProps {
5
5
  svc: string;
6
6
  methodList: string;
7
7
  methodGet: string;
8
- methodDelete: string;
8
+ methodUpdate: string;
9
9
  methodCreate?: string;
10
+ methodDelete: string;
10
11
  paramsGet?: any;
11
12
  paramsList?: any;
12
13
  slugPath?: string;
@@ -62,6 +62,7 @@ const createListviewStore = (initProps) => {
62
62
  const DEFAULT_PROPS = {
63
63
  svc: initProps.svc || "",
64
64
  methodList: initProps.methodList || "",
65
+ methodUpdate: "",
65
66
  methodGet: "",
66
67
  methodDelete: "",
67
68
  methodCreate: "",
@@ -63,7 +63,7 @@ function useGomtmSuspenseInfiniteQuery(svc, method, input) {
63
63
  const useGomtmMutation = (svc, method) => {
64
64
  const fn = useGmtmQjeryFn();
65
65
  return useMutation({
66
- mutationFn: (input) => fn(svc, method)
66
+ mutationFn: (input) => fn(svc, method, input)
67
67
  });
68
68
  };
69
69
  export {