From 9ef171b913b682ae11f33ed5a1d467ce304738ff Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Thu, 26 Dec 2024 12:34:36 +0100 Subject: [PATCH] newsletter syncing store --- .../admin/club/protocol/ProtocolListItem.vue | 2 +- .../admin/club/protocol/ProtocolSyncing.vue | 4 +- .../settings/template/DeleteTemplateModal.vue | 2 +- .../settings/template/TemplateListItem.vue | 2 +- .../templateUsage/TemplateUsageListItem.vue | 6 +- src/components/queryBuilder/BuilderHost.vue | 6 +- src/components/queryBuilder/ColumnSelect.vue | 2 +- src/components/queryBuilder/Condition.vue | 4 +- src/components/queryBuilder/Join.vue | 4 +- src/components/queryBuilder/JoinTable.vue | 4 +- .../queryBuilder/NestedCondition.vue | 4 +- src/components/queryBuilder/NestedWhere.vue | 4 +- src/components/queryBuilder/Order.vue | 4 +- .../queryBuilder/OrderStructure.vue | 4 +- src/components/queryBuilder/Table.vue | 4 +- src/components/queryBuilder/TableSelect.vue | 2 +- src/components/queryBuilder/Where.vue | 4 +- src/stores/admin/communicationType.ts | 2 +- src/stores/admin/newsletter.ts | 105 ++++++++++++++++++ src/stores/admin/newsletterDates.ts | 64 +++++++++++ src/stores/admin/newsletterRecipients.ts | 65 +++++++++++ src/stores/admin/protocolAgenda.ts | 5 +- src/stores/admin/protocolDecision.ts | 2 +- src/stores/admin/protocolPresence.ts | 2 +- src/stores/admin/protocolPrintout.ts | 2 +- src/stores/admin/protocolVoting.ts | 5 +- src/stores/admin/queryBuilder.ts | 6 +- src/stores/admin/template.ts | 2 +- src/stores/admin/templateUsage.ts | 6 +- .../admin/communicationType.models.ts | 2 +- src/viewmodels/admin/newsletter.models.ts | 31 ++++++ .../admin/newsletterConfig.models.ts | 2 +- .../admin/newsletterDates.models.ts | 15 +++ .../admin/newsletterRecipients.models.ts | 11 ++ src/viewmodels/admin/query.models.ts | 2 +- src/viewmodels/admin/templateUsage.models.ts | 2 +- src/views/admin/club/query/Builder.vue | 2 +- .../newsletterConfig/NewsletterConfig.vue | 4 +- .../admin/settings/template/TemplateEdit.vue | 4 +- .../settings/templateUsage/TemplateUsage.vue | 4 +- src/views/public/View.vue | 2 +- 41 files changed, 347 insertions(+), 62 deletions(-) create mode 100644 src/stores/admin/newsletter.ts create mode 100644 src/stores/admin/newsletterDates.ts create mode 100644 src/stores/admin/newsletterRecipients.ts create mode 100644 src/viewmodels/admin/newsletter.models.ts create mode 100644 src/viewmodels/admin/newsletterDates.models.ts create mode 100644 src/viewmodels/admin/newsletterRecipients.models.ts diff --git a/src/components/admin/club/protocol/ProtocolListItem.vue b/src/components/admin/club/protocol/ProtocolListItem.vue index 141006a..168477e 100644 --- a/src/components/admin/club/protocol/ProtocolListItem.vue +++ b/src/components/admin/club/protocol/ProtocolListItem.vue @@ -15,7 +15,7 @@ diff --git a/src/components/queryBuilder/Join.vue b/src/components/queryBuilder/Join.vue index 2a2a793..6678aa7 100644 --- a/src/components/queryBuilder/Join.vue +++ b/src/components/queryBuilder/Join.vue @@ -21,8 +21,8 @@ diff --git a/src/components/queryBuilder/JoinTable.vue b/src/components/queryBuilder/JoinTable.vue index ba6723a..c4db5b9 100644 --- a/src/components/queryBuilder/JoinTable.vue +++ b/src/components/queryBuilder/JoinTable.vue @@ -20,8 +20,8 @@ diff --git a/src/components/queryBuilder/NestedWhere.vue b/src/components/queryBuilder/NestedWhere.vue index 98fe5c4..eef4464 100644 --- a/src/components/queryBuilder/NestedWhere.vue +++ b/src/components/queryBuilder/NestedWhere.vue @@ -32,8 +32,8 @@ diff --git a/src/components/queryBuilder/OrderStructure.vue b/src/components/queryBuilder/OrderStructure.vue index 964b600..a233767 100644 --- a/src/components/queryBuilder/OrderStructure.vue +++ b/src/components/queryBuilder/OrderStructure.vue @@ -21,8 +21,8 @@ diff --git a/src/components/queryBuilder/Table.vue b/src/components/queryBuilder/Table.vue index b4d98bb..72ac140 100644 --- a/src/components/queryBuilder/Table.vue +++ b/src/components/queryBuilder/Table.vue @@ -11,8 +11,8 @@ diff --git a/src/views/admin/settings/newsletterConfig/NewsletterConfig.vue b/src/views/admin/settings/newsletterConfig/NewsletterConfig.vue index 6af7b95..e4865db 100644 --- a/src/views/admin/settings/newsletterConfig/NewsletterConfig.vue +++ b/src/views/admin/settings/newsletterConfig/NewsletterConfig.vue @@ -23,8 +23,8 @@ import { mapState, mapActions } from "pinia"; import MainTemplate from "@/templates/Main.vue"; import { useAbilityStore } from "@/stores/ability"; import { useCommunicationTypeStore } from "@/stores/admin/communicationType"; -import { useNewsletterConfigStore } from "../../../../stores/admin/newsletterConfig"; -import NewsletterConfigListItem from "../../../../components/admin/settings/newsletterConfig/NewsletterConfigListItem.vue"; +import { useNewsletterConfigStore } from "@/stores/admin/newsletterConfig"; +import NewsletterConfigListItem from "@/components/admin/settings/newsletterConfig/NewsletterConfigListItem.vue";