fix: removed attr is_shown_on_dashboard

This commit is contained in:
2025-10-27 17:31:48 +04:00
parent 71c9d08b8c
commit 3575b9f34a
4 changed files with 0 additions and 77 deletions

View File

@ -36,14 +36,6 @@ export type AttributeSchema = {
* Isapplicabletogroup
*/
isApplicableToGroup: boolean;
/**
* Isshownondashboard
*/
isShownOnDashboard: boolean;
/**
* Ishighlightifexpired
*/
isHighlightIfExpired: boolean;
/**
* Isnullable
*/
@ -306,14 +298,6 @@ export type CreateAttributeSchema = {
* Isapplicabletogroup
*/
isApplicableToGroup: boolean;
/**
* Isshownondashboard
*/
isShownOnDashboard: boolean;
/**
* Ishighlightifexpired
*/
isHighlightIfExpired: boolean;
/**
* Isnullable
*/
@ -1071,14 +1055,6 @@ export type DealModuleAttributeSchema = {
* Isapplicabletogroup
*/
isApplicableToGroup: boolean;
/**
* Isshownondashboard
*/
isShownOnDashboard: boolean;
/**
* Ishighlightifexpired
*/
isHighlightIfExpired: boolean;
/**
* Isnullable
*/
@ -1787,14 +1763,6 @@ export type ModuleAttributeSchema = {
* Isapplicabletogroup
*/
isApplicableToGroup: boolean;
/**
* Isshownondashboard
*/
isShownOnDashboard: boolean;
/**
* Ishighlightifexpired
*/
isHighlightIfExpired: boolean;
/**
* Isnullable
*/
@ -2399,14 +2367,6 @@ export type UpdateAttributeSchema = {
* Isapplicabletogroup
*/
isApplicableToGroup?: boolean | null;
/**
* Isshownondashboard
*/
isShownOnDashboard?: boolean | null;
/**
* Ishighlightifexpired
*/
isHighlightIfExpired?: boolean | null;
/**
* Isnullable
*/

View File

@ -32,8 +32,6 @@ export const zAttributeTypeSchema = z.object({
export const zAttributeSchema = z.object({
label: z.string(),
isApplicableToGroup: z.boolean(),
isShownOnDashboard: z.boolean(),
isHighlightIfExpired: z.boolean(),
isNullable: z.boolean(),
defaultValue: z.union([z.object({}), z.null()]),
description: z.string(),
@ -142,8 +140,6 @@ export const zClientSchema = z.object({
export const zCreateAttributeSchema = z.object({
label: z.string(),
isApplicableToGroup: z.boolean(),
isShownOnDashboard: z.boolean(),
isHighlightIfExpired: z.boolean(),
isNullable: z.boolean(),
defaultValue: z.union([z.object({}), z.null()]),
description: z.string(),
@ -839,8 +835,6 @@ export const zDealModuleAttributeSchema = z.object({
defaultValue: z.object({}),
description: z.string(),
isApplicableToGroup: z.boolean(),
isShownOnDashboard: z.boolean(),
isHighlightIfExpired: z.boolean(),
isNullable: z.boolean(),
});
@ -1028,8 +1022,6 @@ export const zGetAllModulesResponse = z.object({
export const zModuleAttributeSchema = z.object({
label: z.string(),
isApplicableToGroup: z.boolean(),
isShownOnDashboard: z.boolean(),
isHighlightIfExpired: z.boolean(),
isNullable: z.boolean(),
defaultValue: z.union([z.object({}), z.null()]),
description: z.string(),
@ -1348,8 +1340,6 @@ export const zUpdateAttributeLabelResponse = z.object({
export const zUpdateAttributeSchema = z.object({
label: z.optional(z.union([z.string(), z.null()])),
isApplicableToGroup: z.optional(z.union([z.boolean(), z.null()])),
isShownOnDashboard: z.optional(z.union([z.boolean(), z.null()])),
isHighlightIfExpired: z.optional(z.union([z.boolean(), z.null()])),
isNullable: z.optional(z.union([z.boolean(), z.null()])),
defaultValue: z.optional(z.union([z.object({}), z.null()])),
description: z.optional(z.union([z.string(), z.null()])),