feat: services kits table in service page

This commit is contained in:
2025-09-25 09:36:22 +04:00
parent a83328492e
commit 14140826a7
28 changed files with 641 additions and 32 deletions

View File

@ -90,6 +90,10 @@ export type BuiltInModuleTabSchema = {
* Id
*/
id: number;
/**
* Key
*/
key: string;
/**
* Label
*/
@ -468,9 +472,9 @@ export type CreateServicesKitSchema = {
*/
serviceType: number;
/**
* Servicesids
* Services
*/
servicesIds: Array<number>;
services: Array<ServiceSchema>;
};
/**
@ -1487,9 +1491,9 @@ export type UpdateServicesKitSchema = {
*/
serviceType: number;
/**
* Servicesids
* Services
*/
servicesIds: Array<number>;
services: Array<ServiceSchema>;
};
/**

View File

@ -17,6 +17,7 @@ export const zBoardSchema = z.object({
*/
export const zBuiltInModuleTabSchema = z.object({
id: z.int(),
key: z.string(),
label: z.string(),
iconName: z.string(),
device: z.string(),
@ -385,7 +386,7 @@ export const zCreateServiceResponse = z.object({
export const zCreateServicesKitSchema = z.object({
name: z.string(),
serviceType: z.int(),
servicesIds: z.array(z.int()),
services: z.array(zServiceSchema),
});
/**
@ -878,7 +879,7 @@ export const zUpdateServiceResponse = z.object({
export const zUpdateServicesKitSchema = z.object({
name: z.string(),
serviceType: z.int(),
servicesIds: z.array(z.int()),
services: z.array(zServiceSchema),
});
/**