исправлены типы для ключей амо

This commit is contained in:
Tamara 2024-06-19 22:38:21 +03:00
parent 45a8b44c3f
commit 72a9a6e343
2 changed files with 2 additions and 2 deletions

@ -265,7 +265,7 @@ export type IntegrationRulesUpdate = {
PipelineID: number;
StepID: number;
Utms: number[];
Fieldsrule: {
FieldsRule: {
Lead: { QuestionID: number }[];
Contact: { ContactRuleMap: string }[];
Company: { QuestionID: number }[];

@ -1,5 +1,5 @@
export type TagKeys = "Contact" | "Company" | "Lead" | "Customer";
export type SelectedTags = Record<TagKeys, string[]>;
export type SelectedTags = Record<TagKeys, number[]>;
export type QuestionKeys = "Company" | "Lead" | "Customer";
export type SelectedQuestions = Record<QuestionKeys, string[]>;