Skip to content
Snippets Groups Projects
Verified Commit a389485e authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7473 add aggregation mapping name

Sub task: OZG-7882
parent 3d189962
Branches
Tags
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
......@@ -2,6 +2,7 @@ import { ListResource } from '@alfa-client/tech-shared';
import { Resource } from '@ngxp/rest';
export interface AggregationMapping {
name: string;
formIdentifier: FormIdentifier;
mappings: FieldMapping[];
}
......@@ -17,4 +18,5 @@ export interface FieldMapping {
}
export interface AggregationMappingResource extends AggregationMapping, Resource {}
export interface AggregationMappingListResource extends ListResource {}
......@@ -7,6 +7,7 @@ import { AggregationMappingListLinkRel } from '../src/lib/aggregation-mapping.li
export function createAggregationMapping(): AggregationMapping {
return {
name: faker.word.noun(),
formIdentifier: {
formEngineName: faker.lorem.word(),
formId: faker.string.uuid(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment