gomtm 0.0.195 → 0.0.196
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.
|
@@ -6,6 +6,7 @@ export declare const curdActivateIdAtom: import("jotai").PrimitiveAtom<string> &
|
|
|
6
6
|
export declare const curd3ListParamsAtom: import("jotai").PrimitiveAtom<PlainMessage<AnyMessage>> & {
|
|
7
7
|
init: PlainMessage<AnyMessage>;
|
|
8
8
|
};
|
|
9
|
+
export declare const paramsAtom: import("jotai").Atom<any>;
|
|
9
10
|
export declare const curdPathAtom: import("jotai").PrimitiveAtom<string> & {
|
|
10
11
|
init: string;
|
|
11
12
|
};
|
|
@@ -26,6 +26,11 @@ import { CommontListRes } from "../gomtmpb/mtm/sppb/mtm_pb";
|
|
|
26
26
|
import { gomtmBaseUrlAtom } from "../providers/GomtmProvider";
|
|
27
27
|
const curdActivateIdAtom = atom("");
|
|
28
28
|
const curd3ListParamsAtom = atom({});
|
|
29
|
+
const paramsValueAtom = atom(void 0);
|
|
30
|
+
const paramsAtom = atom((get) => {
|
|
31
|
+
const v = get(paramsValueAtom);
|
|
32
|
+
return v;
|
|
33
|
+
});
|
|
29
34
|
const curdPathAtom = atom("");
|
|
30
35
|
const curd3ItemsV2Atom = atom((get) => __async(void 0, null, function* () {
|
|
31
36
|
const slugPath = get(curdPathAtom);
|
|
@@ -52,5 +57,6 @@ export {
|
|
|
52
57
|
curd3ListParamsAtom,
|
|
53
58
|
curdActivateIdAtom,
|
|
54
59
|
curdPathAtom,
|
|
60
|
+
paramsAtom,
|
|
55
61
|
useCurdSlugName
|
|
56
62
|
};
|