From b98aa44abb6feab4917e5449fe25b7d63d34990a Mon Sep 17 00:00:00 2001 From: Ralf Aron Date: Mon, 4 Nov 2024 16:28:40 +0100 Subject: [PATCH] fix: in progress --- projects/aas-core/src/lib/types.ts | 4 +++- .../add-endpoint-form.component.html | 21 +++++++++++++------ .../add-endpoint-form.component.ts | 20 +++++++++++++++++- projects/aas-server/src/app/variable.ts | 4 ++-- 4 files changed, 39 insertions(+), 10 deletions(-) diff --git a/projects/aas-core/src/lib/types.ts b/projects/aas-core/src/lib/types.ts index 2a8c5ad..c62a6b7 100644 --- a/projects/aas-core/src/lib/types.ts +++ b/projects/aas-core/src/lib/types.ts @@ -45,9 +45,11 @@ export type AASAbbreviation = | 'SME' | 'SML'; +export type AASEndpointScheduleType = 'never' | 'once' | 'every' | 'daily' | 'weekly'; + /** The schedule type. */ export interface AASEndpointSchedule { - type: 'never' | 'once' | 'every' | 'daily' | 'weekly'; + type: AASEndpointScheduleType; values?: (string | number)[]; } diff --git a/projects/aas-portal/src/app/start/add-endpoint-form/add-endpoint-form.component.html b/projects/aas-portal/src/app/start/add-endpoint-form/add-endpoint-form.component.html index 96aa3e8..9525f12 100644 --- a/projects/aas-portal/src/app/start/add-endpoint-form/add-endpoint-form.component.html +++ b/projects/aas-portal/src/app/start/add-endpoint-form/add-endpoint-form.component.html @@ -48,21 +48,30 @@