fix: type

This commit is contained in:
Methapon2001 2024-06-25 15:46:02 +07:00
parent 771b3e8ab6
commit e303464d7c
6 changed files with 159 additions and 159 deletions

View file

@ -58,9 +58,9 @@ const useProductServiceStore = defineStore('api-product-service', () => {
status?: 'CREATED' | 'ACTIVE' | 'INACTIVE';
},
flow?: {
sessionId: string;
refTransactionId: string;
transactionId: string;
sessionId?: string;
refTransactionId?: string;
transactionId?: string;
},
) {
const params = new URLSearchParams();
@ -172,9 +172,9 @@ const useProductServiceStore = defineStore('api-product-service', () => {
async function fetchListProductService(
opts?: { query?: string; status?: 'CREATED' | 'ACTIVE' | 'INACTIVE' },
flow?: {
sessionId: string;
refTransactionId: string;
transactionId: string;
sessionId?: string;
refTransactionId?: string;
transactionId?: string;
},
) {
const params = new URLSearchParams();
@ -282,9 +282,9 @@ const useProductServiceStore = defineStore('api-product-service', () => {
status?: string;
},
flow?: {
sessionId: string;
refTransactionId: string;
transactionId: string;
sessionId?: string;
refTransactionId?: string;
transactionId?: string;
},
) {
const params = new URLSearchParams();
@ -410,9 +410,9 @@ const useProductServiceStore = defineStore('api-product-service', () => {
status?: string;
},
flow?: {
sessionId: string;
refTransactionId: string;
transactionId: string;
sessionId?: string;
refTransactionId?: string;
transactionId?: string;
},
) {
const params = new URLSearchParams();
@ -473,9 +473,9 @@ const useProductServiceStore = defineStore('api-product-service', () => {
serviceId: string,
opts?: { query?: string; page?: number; pageSize?: number },
flow?: {
sessionId: string;
refTransactionId: string;
transactionId: string;
sessionId?: string;
refTransactionId?: string;
transactionId?: string;
},
) {
const params = new URLSearchParams();