33 lines
664 B
JavaScript
33 lines
664 B
JavaScript
import { q as queryParams } from "./index-CY6fYws-.js";
|
|
const store = (options) => ({
|
|
url: store.url(options),
|
|
method: "post"
|
|
});
|
|
store.definition = {
|
|
methods: ["post"],
|
|
url: "/user/confirm-password"
|
|
};
|
|
store.url = (options) => {
|
|
return store.definition.url + queryParams(options);
|
|
};
|
|
store.post = (options) => ({
|
|
url: store.url(options),
|
|
method: "post"
|
|
});
|
|
const storeForm = (options) => ({
|
|
action: store.url(options),
|
|
method: "post"
|
|
});
|
|
storeForm.post = (options) => ({
|
|
action: store.url(options),
|
|
method: "post"
|
|
});
|
|
store.form = storeForm;
|
|
const confirm = {
|
|
store: Object.assign(store, store)
|
|
};
|
|
export {
|
|
confirm as c,
|
|
store as s
|
|
};
|