feat: เพิ่ม type ServiceAndProduct
This commit is contained in:
parent
bac791433c
commit
f903bd1d8b
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
import { Status } from '../types';
|
import { Status } from '../types';
|
||||||
import { Pagination } from 'src/stores/types';
|
import { Pagination } from 'src/stores/types';
|
||||||
|
|
||||||
|
export type ServiceAndProduct = (Service | ProductList) & {
|
||||||
|
type: 'product' | 'service';
|
||||||
|
};
|
||||||
|
|
||||||
export interface Service {
|
export interface Service {
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
updateBy: string;
|
updateBy: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue