refactor: re-export type
This commit is contained in:
parent
c56d14b2ea
commit
7d76521fb6
3 changed files with 8 additions and 1 deletions
|
|
@ -498,4 +498,6 @@ const useCustomerStore = defineStore('api-customer', () => {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export * from './types.ts';
|
||||||
|
|
||||||
export default useCustomerStore;
|
export default useCustomerStore;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
import { District, Province, SubDistrict } from '../address';
|
import { District, Province, SubDistrict } from '../address';
|
||||||
import { Status } from '../types';
|
import { Status } from '../types';
|
||||||
|
|
||||||
export type CustomerType = 'CORP' | 'PERS';
|
export enum CustomerType {
|
||||||
|
Corporate = 'CORP',
|
||||||
|
Person = 'PERS',
|
||||||
|
}
|
||||||
|
|
||||||
export type Customer = {
|
export type Customer = {
|
||||||
registeredBranchId: string;
|
registeredBranchId: string;
|
||||||
|
|
|
||||||
|
|
@ -531,4 +531,6 @@ const useUserStore = defineStore('api-user', () => {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export * from './types';
|
||||||
|
|
||||||
export default useUserStore;
|
export default useUserStore;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue