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 <[email protected]>

* update branch

* fix: more fixes

Co-authored-by: Alex Johansson <[email protected]>
Co-authored-by: Bailey Pumfleet <[email protected]>
Co-authored-by: Mihai Colceriu <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-10-12 08:17:25 +00:00
1 parent 683713e73f
commit f27b0b3cad
6 files changed
+45 -17

No files matched your search

+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 = {