feat: services kits table in service page
This commit is contained in:
@ -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>;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@ -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),
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user