From f6285ee2a1157473f7583f1cdbbf58377a75758a Mon Sep 17 00:00:00 2001 From: Sam Rowe Date: Thu, 7 Mar 2019 12:32:23 +0000 Subject: [PATCH] Add REGISTRATION_CLOSED status to events (#130) --- lib/interfaces/event/index.js | 1 + prismic/custom-types/events.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/interfaces/event/index.js b/lib/interfaces/event/index.js index 5f24dc9..072670b 100644 --- a/lib/interfaces/event/index.js +++ b/lib/interfaces/event/index.js @@ -26,6 +26,7 @@ const statusValues = { PRE_RELEASE: { value: 'PRE_RELEASE' }, TICKETS_LIVE: { value: 'TICKETS_LIVE' }, WAITLIST: { value: 'WAITLIST' }, + REGISTRATION_CLOSED: { value: 'REGISTRATION_CLOSED' }, LIVE_STREAM: { value: 'LIVE_STREAM' }, EVENT_ENDED: { value: 'EVENT_ENDED' }, }; diff --git a/prismic/custom-types/events.json b/prismic/custom-types/events.json index c4a6ba0..297fbaa 100644 --- a/prismic/custom-types/events.json +++ b/prismic/custom-types/events.json @@ -68,7 +68,7 @@ "type" : "Select", "config" : { "label" : "Event Status", - "options" : [ "PRE_RELEASE", "TICKETS_LIVE", "WAITLIST", "LIVE_STREAM", "EVENT_ENDED" ], + "options" : [ "PRE_RELEASE", "TICKETS_LIVE", "WAITLIST", "REGISTRATION_CLOSED", "LIVE_STREAM", "EVENT_ENDED" ], "placeholder" : "" } },