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
No related branches found
No related tags found
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
...@@ -2,6 +2,7 @@ import { ListResource } from '@alfa-client/tech-shared'; ...@@ -2,6 +2,7 @@ import { ListResource } from '@alfa-client/tech-shared';
import { Resource } from '@ngxp/rest'; import { Resource } from '@ngxp/rest';
export interface AggregationMapping { export interface AggregationMapping {
name: string;
formIdentifier: FormIdentifier; formIdentifier: FormIdentifier;
mappings: FieldMapping[]; mappings: FieldMapping[];
} }
...@@ -17,4 +18,5 @@ export interface FieldMapping { ...@@ -17,4 +18,5 @@ export interface FieldMapping {
} }
export interface AggregationMappingResource extends AggregationMapping, Resource {} export interface AggregationMappingResource extends AggregationMapping, Resource {}
export interface AggregationMappingListResource extends ListResource {} export interface AggregationMappingListResource extends ListResource {}
...@@ -7,6 +7,7 @@ import { AggregationMappingListLinkRel } from '../src/lib/aggregation-mapping.li ...@@ -7,6 +7,7 @@ import { AggregationMappingListLinkRel } from '../src/lib/aggregation-mapping.li
export function createAggregationMapping(): AggregationMapping { export function createAggregationMapping(): AggregationMapping {
return { return {
name: faker.word.noun(),
formIdentifier: { formIdentifier: {
formEngineName: faker.lorem.word(), formEngineName: faker.lorem.word(),
formId: faker.string.uuid(), 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