fix: availability creation and expand/collapse settings (#882)

* fix: availability creation and expand/collapse settings

* additional fixes

* Update pages/api/availability/eventtype.ts

Co-authored-by: Alex Johansson <alexander@n1s.se>

* update branch

* fix: more fixes

Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Mihai Colceriu <colceriumi@gmail.com>
This commit is contained in:
Mihai C
2021-10-12 08:17:25 +00:00
committed by GitHub
co-authored by Alex Johansson Bailey Pumfleet Mihai Colceriu
parent 683713e73f
commit f27b0b3cad
6 changed files with 45 additions and 17 deletions
+1
View File
@@ -73,6 +73,7 @@ export const localeLabels: localeType = {
pt: "Portuguese",
ro: "Romanian",
nl: "Dutch",
"pt-BR": "Portuguese (Brazilian)",
};
export type OptionType = {
+4
View File
@@ -30,6 +30,10 @@ export type AdvancedOptions = {
label: string;
avatar: string;
}[];
availability?: { openingHours: OpeningHours[]; dateOverrides: DateOverride[] };
customInputs?: EventTypeCustomInput[];
timeZone: string;
hidden: boolean;
};
export type EventTypeCustomInput = {