chore: update deps
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s

This commit is contained in:
Methapon2001 2025-03-26 11:51:27 +07:00
parent fb23ec5fd4
commit 90589b3daf
34 changed files with 1271 additions and 13939 deletions

View file

@ -1,6 +1,7 @@
import { defineStore } from 'pinia';
import { api } from 'src/boot/axios';
import { ref } from 'vue';
import type { AppConfig } from './types';
export const useConfigStore = defineStore('config-store', () => {
const data = ref<AppConfig>();

View file

@ -1,3 +1,3 @@
type AppConfig = {
export type AppConfig = {
vat: number;
};

View file

@ -3,17 +3,17 @@ import {
CreditNoteStatus as Status,
CreditNotePayload as Payload,
CreditNotePaybackStatus,
} from './types.ts';
} from './types';
import { ref } from 'vue';
import { defineStore } from 'pinia';
import { api } from 'src/boot/axios.ts';
import { PaginationResult } from 'src/types.ts';
import { manageAttachment, manageFile } from '../utils/index.ts';
import { api } from 'src/boot/axios';
import { PaginationResult } from 'src/types';
import { manageAttachment, manageFile } from '../utils';
const ENDPOINT = 'credit-note';
export * from './types.ts';
export * from './types';
export async function getCreditNoteStats() {
const res = await api.get<Record<Status, number>>(`/${ENDPOINT}/stats`);

View file

@ -500,6 +500,6 @@ const useCustomerStore = defineStore('api-customer', () => {
};
});
export * from './types.ts';
export * from './types';
export default useCustomerStore;

View file

@ -2,17 +2,17 @@ import {
DebitNote as Data,
DebitNoteStatus as Status,
DebitNotePayload as Payload,
} from './types.ts';
} from './types';
import { ref } from 'vue';
import { defineStore } from 'pinia';
import { api } from 'src/boot/axios.ts';
import { PaginationResult } from 'src/types.ts';
import { manageAttachment, manageFile } from '../utils/index.ts';
import { api } from 'src/boot/axios';
import { PaginationResult } from 'src/types';
import { manageAttachment, manageFile } from '../utils';
const ENDPOINT = 'debit-note';
export * from './types.ts';
export * from './types';
export async function getDebitNoteStats() {
const res = await api.get<Record<Status, number>>(`/${ENDPOINT}/stats`);

View file

@ -52,8 +52,4 @@ export type Payment = {
};
};
export enum PaymentDataStatus {
Success = 'PaymentSuccess',
Wait = 'PaymentWait',
}
export type Receipt = Payment;

View file

@ -237,4 +237,4 @@ export const useQuotationPayment = defineStore('quotation-payment', () => {
};
});
export * from './types.ts';
export * from './types';

View file

@ -353,4 +353,4 @@ export const useRequestList = defineStore('request-list', () => {
};
});
export * from './types.ts';
export * from './types';

View file

@ -27,6 +27,7 @@ export const useTaskOrderStore = defineStore('taskorder-store', () => {
[TaskOrderStatus.Complete]: 0,
[TaskOrderStatus.Accept]: 0,
[TaskOrderStatus.Submit]: 0,
[TaskOrderStatus.Restart]: 0,
});
const fileManager = manageAttachment(api, 'task-order');