Kaizen
Browse modulesInsightsinsights/sharedSchemas and constants

Variable: dashboardFilterValuesSchema

const dashboardFilterValuesSchema: ZodRecord<ZodString, ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
  from: ZodString;
  kind: ZodLiteral<"date-range">;
  to: ZodNullable<ZodString>;
}, $strip>, ZodObject<{
  kind: ZodLiteral<"select">;
  values: ZodArray<ZodString>;
}, $strip>, ZodObject<{
  kind: ZodLiteral<"measure">;
  operator: ZodEnum<{
     eq: "eq";
     gt: "gt";
     gte: "gte";
     lt: "lt";
     lte: "lte";
  }>;
  value: ZodNumber;
}, $strip>, ZodObject<{
  kind: ZodLiteral<"search">;
  text: ZodString;
}, $strip>], "kind">>>;

Defined in: shared/insights/types/dashboard-filter.ts:180

Active selections per filter id. A filter with no entry (or an undefined one) is inactive — the bar clears a filter by deleting its key, so an empty map is "no filters applied" and every tile runs unconstrained.