Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { faker } from '@faker-js/faker';
import { type RuleAssignment } from '@amalia/core/models';
import { HidableElementVisibility } from '@amalia/payout-definition/plans/types';
import { company } from './company';
import { plans } from './plans';
import { rules } from './rules';
export const ruleAssignments = [
{
id: '9def656e-d300-40a3-abb3-c17e7cc71a38',
planId: plans.bonus.id,
ruleId: '21638182-eaea-4eaf-b8a5-1d72327d0e89',
kpisToDisplay: [],
plan: plans.bonus,
rule: rules.finalBonus,
company,
category: null,
index: 0,
createdAt: new Date(),
updatedAt: new Date(),
},
{
id: '9def656e-d300-40a3-abb3-c17e7cc71a39',
plan: plans.conditionsTests,
planId: plans.conditionsTests.id,
rule: rules.fixedBonus,
ruleId: rules.fixedBonus.id,
kpisToDisplay: [
{
id: faker.string.uuid(),
kpis: [{ id: '4b8488ec-54a2-453f-aaff-023d4795098d', displayStatus: HidableElementVisibility.ON_DISPLAY }],
},
],
company,
category: null,
index: 0,
createdAt: new Date(),
updatedAt: new Date(),
},
{
id: 'f633ef01-752d-4dfe-a6c3-52752889a8b8',
planId: plans.relation.id,
plan: plans.relation,
rule: rules.testRelationFilter,
ruleId: rules.testRelationFilter.id,
kpisToDisplay: [],
company,
category: null,
index: 0,
createdAt: new Date(),
updatedAt: new Date(),
},
] as const satisfies RuleAssignment[];
|