diff --git a/js/src/components/Event/ExternalParticipationButton.vue b/js/src/components/Event/ExternalParticipationButton.vue deleted file mode 100644 index 535194949..000000000 --- a/js/src/components/Event/ExternalParticipationButton.vue +++ /dev/null @@ -1,27 +0,0 @@ - -
- - - diff --git a/js/src/graphql/event.ts b/js/src/graphql/event.ts index e9f7682a7..605d9ddc3 100644 --- a/js/src/graphql/event.ts +++ b/js/src/graphql/event.ts @@ -21,7 +21,6 @@ const FULL_EVENT_FRAGMENT = gql` status visibility joinOptions - externalParticipationUrl draft language category @@ -122,7 +121,6 @@ export const FETCH_EVENT_BASIC = gql` id uuid joinOptions - externalParticipationUrl participantStats { going notApproved @@ -201,7 +199,6 @@ export const CREATE_EVENT = gql` $status: EventStatus $visibility: EventVisibility $joinOptions: EventJoinOptions - $externalParticipationUrl: String $draft: Boolean $tags: [String] $picture: MediaInput @@ -223,7 +220,6 @@ export const CREATE_EVENT = gql` status: $status visibility: $visibility joinOptions: $joinOptions - externalParticipationUrl: $externalParticipationUrl draft: $draft tags: $tags picture: $picture @@ -251,7 +247,6 @@ export const EDIT_EVENT = gql` $status: EventStatus $visibility: EventVisibility $joinOptions: EventJoinOptions - $externalParticipationUrl: String $draft: Boolean $tags: [String] $picture: MediaInput @@ -274,7 +269,6 @@ export const EDIT_EVENT = gql` status: $status visibility: $visibility joinOptions: $joinOptions - externalParticipationUrl: $externalParticipationUrl draft: $draft tags: $tags picture: $picture diff --git a/js/src/types/enums.ts b/js/src/types/enums.ts index 55732bd4e..1061d196b 100644 --- a/js/src/types/enums.ts +++ b/js/src/types/enums.ts @@ -64,7 +64,6 @@ export enum EventJoinOptions { FREE = "FREE", RESTRICTED = "RESTRICTED", INVITE = "INVITE", - EXTERNAL = "EXTERNAL", } export enum EventVisibilityJoinOptions { diff --git a/js/src/types/event.model.ts b/js/src/types/event.model.ts index 314d50c81..e06703665 100644 --- a/js/src/types/event.model.ts +++ b/js/src/types/event.model.ts @@ -42,7 +42,6 @@ interface IEventEditJSON { status: EventStatus; visibility: EventVisibility; joinOptions: EventJoinOptions; - externalParticipationUrl: string | null; draft: boolean; picture?: IMedia | { mediaId: string } | null; attributedToId: string | null; @@ -72,7 +71,6 @@ export interface IEvent { status: EventStatus; visibility: EventVisibility; joinOptions: EventJoinOptions; - externalParticipationUrl: string | null; draft: boolean; picture: IMedia | null; @@ -133,8 +131,6 @@ export class EventModel implements IEvent { joinOptions = EventJoinOptions.FREE; - externalParticipationUrl: string | null = null; - status = EventStatus.CONFIRMED; draft = true; @@ -200,7 +196,6 @@ export class EventModel implements IEvent { this.status = hash.status; this.visibility = hash.visibility; this.joinOptions = hash.joinOptions; - this.externalParticipationUrl = hash.externalParticipationUrl; this.draft = hash.draft; this.picture = hash.picture; @@ -253,7 +248,6 @@ export function toEditJSON(event: IEditableEvent): IEventEditJSON { category: event.category, visibility: event.visibility, joinOptions: event.joinOptions, - externalParticipationUrl: event.externalParticipationUrl, draft: event.draft, tags: event.tags.map((t) => t.title), onlineAddress: event.onlineAddress, diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue index f26b73737..2240edf27 100644 --- a/js/src/views/Event/Edit.vue +++ b/js/src/views/Event/Edit.vue @@ -221,33 +221,9 @@ --> -+