diff --git a/js/src/types/event.model.ts b/js/src/types/event.model.ts
index 9e5b25a49..011cd41dd 100644
--- a/js/src/types/event.model.ts
+++ b/js/src/types/event.model.ts
@@ -1,11 +1,22 @@
import { IActor } from "./actor.model";
export enum EventStatus {
- TENTATIVE, CONFIRMED, CANCELLED
+ TENTATIVE,
+ CONFIRMED,
+ CANCELLED
}
export enum EventVisibility {
- PUBLIC, PRIVATE
+ PUBLIC,
+ UNLISTED,
+ RESTRICTED,
+ PRIVATE
+}
+
+export enum EventJoinOptions {
+ FREE,
+ RESTRICTED,
+ INVITE
}
export enum ParticipantRole {
@@ -34,6 +45,7 @@ export interface IEvent {
ends_on: Date;
status: EventStatus;
visibility: EventVisibility;
+ join_options: EventJoinOptions;
thumbnail: string;
large_image: string;
publish_at: Date;
diff --git a/js/src/views/Event/Create.vue b/js/src/views/Event/Create.vue
index b22b24a0b..b674f9f66 100644
--- a/js/src/views/Event/Create.vue
+++ b/js/src/views/Event/Create.vue
@@ -1,3 +1,4 @@
+import {EventJoinOptions} from "../../types/event.model";