Files
ghatreh_admin/src/api/priceTriggers.ts
T
2025-10-05 11:29:51 +03:30

6 lines
309 B
TypeScript

import type {TableInput} from "@core/type/baseTable";
import useAxios from "@core/utils/useAxios";
import type {PriceTriggers} from "@/model/priceTriggers";
export const getPriceTriggersTable = async (params: TableInput) =>
await useAxios.post<Array<PriceTriggers>>('/admin/price_triggers/table', params)