From 477e4e498ef02104276a2482892f1d2e110fa50f Mon Sep 17 00:00:00 2001 From: amentis Date: Mon, 30 Oct 2023 17:53:30 +0200 Subject: [PATCH] add frontend reference search lookup --- .../web/src/main/resources/config/reference-type.yml | 2 +- .../src/app/core/query/reference-search.lookup.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 dmp-frontend/src/app/core/query/reference-search.lookup.ts diff --git a/dmp-backend/web/src/main/resources/config/reference-type.yml b/dmp-backend/web/src/main/resources/config/reference-type.yml index b072b15e1..3f39364e5 100644 --- a/dmp-backend/web/src/main/resources/config/reference-type.yml +++ b/dmp-backend/web/src/main/resources/config/reference-type.yml @@ -78,6 +78,6 @@ reference-type: - code: tag dataType: Text - code: uri - dataType: text + dataType: Text taxonomy: fields: \ No newline at end of file diff --git a/dmp-frontend/src/app/core/query/reference-search.lookup.ts b/dmp-frontend/src/app/core/query/reference-search.lookup.ts new file mode 100644 index 000000000..74d36da23 --- /dev/null +++ b/dmp-frontend/src/app/core/query/reference-search.lookup.ts @@ -0,0 +1,12 @@ +import { Lookup } from "@common/model/lookup"; +import { ReferenceType } from "../common/enum/reference-type"; + +export class ReferenceSearchLookup extends Lookup{ + like: string; + type: ReferenceType; + key: string; + + constructor() { + super(); + } +} \ No newline at end of file