chore(FE-41): create BaseArea type

This commit is contained in:
ValdiANS
2025-10-04 14:09:03 +07:00
parent e1c34cf0fb
commit a2345165c1
+3 -1
View File
@@ -1,10 +1,12 @@
import { BaseMetadata } from '@/types/api/api-general';
export type Area = BaseMetadata & {
export type BaseArea = {
id: number;
name: string;
};
export type Area = BaseMetadata & BaseArea;
export type CreateAreaPayload = {
name: string;
};