From 35894ac4b4a1987e4f32553993ecdb3949ad0ec5 Mon Sep 17 00:00:00 2001 From: LucaLoubser Date: Mon, 11 Sep 2023 23:33:11 +0200 Subject: [PATCH] linking for feature to update event floor layout image --- libs/api/event/feature/src/commands/index.ts | 3 ++- libs/api/event/feature/src/event.module.ts | 4 ++++ libs/api/event/feature/src/events/index.ts | 3 ++- libs/api/event/feature/src/models/index.ts | 3 ++- libs/api/event/util/src/commands/index.ts | 3 ++- libs/api/event/util/src/events/index.ts | 3 ++- libs/api/event/util/src/interfaces/index.ts | 3 ++- libs/api/event/util/src/requests/index.ts | 3 ++- libs/api/event/util/src/responses/index.ts | 3 ++- 9 files changed, 20 insertions(+), 8 deletions(-) diff --git a/libs/api/event/feature/src/commands/index.ts b/libs/api/event/feature/src/commands/index.ts index 5dec798b..9e2443a1 100644 --- a/libs/api/event/feature/src/commands/index.ts +++ b/libs/api/event/feature/src/commands/index.ts @@ -15,4 +15,5 @@ export * from './remove-event-from-viewers.handler'; export * from './upload-image.handler'; export * from './add-image-to-event.handler'; export * from './delete-event-image.handler'; -export * from './remove-image-from-event.handler'; \ No newline at end of file +export * from './remove-image-from-event.handler'; +export * from './update-event-floorlayout.handler'; \ No newline at end of file diff --git a/libs/api/event/feature/src/event.module.ts b/libs/api/event/feature/src/event.module.ts index d2bba772..1af8f856 100644 --- a/libs/api/event/feature/src/event.module.ts +++ b/libs/api/event/feature/src/event.module.ts @@ -21,6 +21,7 @@ import { AddImageToEventHandler, RemoveEventImageHandler, DeleteEventImageHandler, + UpdateEventFloorLayoutImgHandler, } from './commands'; import { @@ -55,6 +56,7 @@ import { AddImageToEventEventHandler, RemoveEventImageEventHandler, DeleteEventImageEventHandler, + UpdateEventFloorLayoutImgEventHandler, } from './events'; import { GetAllViewRequestsHandler } from './queries/get-all-view-requests.handler'; @@ -78,6 +80,7 @@ export const CommandHandlers = [ AddImageToEventHandler, RemoveEventImageHandler, DeleteEventImageHandler, + UpdateEventFloorLayoutImgHandler, ] export const EventHandlers = [ @@ -97,6 +100,7 @@ export const EventHandlers = [ AddImageToEventEventHandler, RemoveEventImageEventHandler, DeleteEventImageEventHandler, + UpdateEventFloorLayoutImgEventHandler, ]; export const QueryHandlers = [ diff --git a/libs/api/event/feature/src/events/index.ts b/libs/api/event/feature/src/events/index.ts index 35473015..a78a7100 100644 --- a/libs/api/event/feature/src/events/index.ts +++ b/libs/api/event/feature/src/events/index.ts @@ -14,4 +14,5 @@ export * from './remove-event-from-viewers.handler'; export * from './upload-image-event.handler'; export * from './add-image-to-event.event'; export * from './delete-event-image.handler'; -export * from './remove-image-from-event.handler'; \ No newline at end of file +export * from './remove-image-from-event.handler'; +export * from './update-event-floorlayout.handler'; \ No newline at end of file diff --git a/libs/api/event/feature/src/models/index.ts b/libs/api/event/feature/src/models/index.ts index baddd53f..f848d349 100644 --- a/libs/api/event/feature/src/models/index.ts +++ b/libs/api/event/feature/src/models/index.ts @@ -9,4 +9,5 @@ export * from './stall.model'; export * from './update-stall.model'; export * from './delete-event.model'; export * from './image.model'; -export * from './add-image.model'; \ No newline at end of file +export * from './add-image.model'; +export * from './update-image-floorlayout.model'; \ No newline at end of file diff --git a/libs/api/event/util/src/commands/index.ts b/libs/api/event/util/src/commands/index.ts index 0825fdbd..b37feff1 100644 --- a/libs/api/event/util/src/commands/index.ts +++ b/libs/api/event/util/src/commands/index.ts @@ -15,4 +15,5 @@ export * from './remove-event-from-viewers.command'; export * from './upload-image.command'; export * from './add-image-to-event.command'; export * from './delete-event-image.command'; -export * from './remove-image-from-event.command'; \ No newline at end of file +export * from './remove-image-from-event.command'; +export * from './update-event-floorlayout-image.command'; \ No newline at end of file diff --git a/libs/api/event/util/src/events/index.ts b/libs/api/event/util/src/events/index.ts index 7a246078..2075099f 100644 --- a/libs/api/event/util/src/events/index.ts +++ b/libs/api/event/util/src/events/index.ts @@ -15,4 +15,5 @@ export * from './remove-event-from-viewers.event'; export * from './upload-image.event'; export * from './add-image-to-event.event'; export * from './delete-event-image.event'; -export * from './remove-image-from-event.event'; \ No newline at end of file +export * from './remove-image-from-event.event'; +export * from './update-floorlayout-image.event'; \ No newline at end of file diff --git a/libs/api/event/util/src/interfaces/index.ts b/libs/api/event/util/src/interfaces/index.ts index e9648c33..49206d4d 100644 --- a/libs/api/event/util/src/interfaces/index.ts +++ b/libs/api/event/util/src/interfaces/index.ts @@ -13,4 +13,5 @@ export * from './position.interface'; export * from './add-device-position.interface'; export * from './delete-event.interface'; export * from './image.interface'; -export * from './add-image-to-event.interface'; \ No newline at end of file +export * from './add-image-to-event.interface'; +export * from './update-floorlayout-image.interface'; \ No newline at end of file diff --git a/libs/api/event/util/src/requests/index.ts b/libs/api/event/util/src/requests/index.ts index 5e9c0150..4d54eeed 100644 --- a/libs/api/event/util/src/requests/index.ts +++ b/libs/api/event/util/src/requests/index.ts @@ -23,4 +23,5 @@ export * from './delete-event.request'; export * from './upload-image.request'; export * from './get-event-floorlayout-image.request'; export * from './delete-event-image.request'; -export * from './get-event-statistics.request'; \ No newline at end of file +export * from './get-event-statistics.request'; +export * from './update-event-floorlayout-image.request'; \ No newline at end of file diff --git a/libs/api/event/util/src/responses/index.ts b/libs/api/event/util/src/responses/index.ts index 2cd2b16e..1bb78ac2 100644 --- a/libs/api/event/util/src/responses/index.ts +++ b/libs/api/event/util/src/responses/index.ts @@ -25,4 +25,5 @@ export * from './get-all-active-events.response'; export * from './upload-image.response'; export * from './get-event-floorlayout-image.response'; export * from './delete-event-image.respons'; -export * from './get-event-statistics.response'; \ No newline at end of file +export * from './get-event-statistics.response'; +export * from './update-event-floorlayout-image.response'; \ No newline at end of file