Trying to slim down app store for experiment
parent
4064901fcf
commit
27028f0464
|
@ -1,42 +1,48 @@
|
||||||
|
// const appStore = {
|
||||||
|
// // example: () => import("./example"),
|
||||||
|
// alby: () => import("./alby"),
|
||||||
|
// applecalendar: () => import("./applecalendar"),
|
||||||
|
// aroundvideo: () => import("./around"),
|
||||||
|
// //caldavcalendar: () => import("./caldavcalendar"),
|
||||||
|
// closecom: () => import("./closecom"),
|
||||||
|
// dailyvideo: () => import("./dailyvideo"),
|
||||||
|
// googlecalendar: () => import("./googlecalendar"),
|
||||||
|
// googlevideo: () => import("./googlevideo"),
|
||||||
|
// hubspot: () => import("./hubspot"),
|
||||||
|
// huddle01video: () => import("./huddle01video"),
|
||||||
|
// jitsivideo: () => import("./jitsivideo"),
|
||||||
|
// larkcalendar: () => import("./larkcalendar"),
|
||||||
|
// office365calendar: () => import("./office365calendar"),
|
||||||
|
// office365video: () => import("./office365video"),
|
||||||
|
// plausible: () => import("./plausible"),
|
||||||
|
// paypal: () => import("./paypal"),
|
||||||
|
// //salesforce: () => import("./salesforce"),
|
||||||
|
// //zohocrm: () => import("./zohocrm"),
|
||||||
|
// sendgrid: () => import("./sendgrid"),
|
||||||
|
// stripepayment: () => import("./stripepayment"),
|
||||||
|
// tandemvideo: () => import("./tandemvideo"),
|
||||||
|
// //vital: () => import("./vital"),
|
||||||
|
// zoomvideo: () => import("./zoomvideo"),
|
||||||
|
// wipemycalother: () => import("./wipemycalother"),
|
||||||
|
// webexvideo: () => import("./webex"),
|
||||||
|
// giphy: () => import("./giphy"),
|
||||||
|
// zapier: () => import("./zapier"),
|
||||||
|
// make: () => import("./make"),
|
||||||
|
// //exchange2013calendar: () => import("./exchange2013calendar"),
|
||||||
|
// //exchange2016calendar: () => import("./exchange2016calendar"),
|
||||||
|
// //exchangecalendar: () => import("./exchangecalendar"),
|
||||||
|
// facetime: () => import("./facetime"),
|
||||||
|
// sylapsvideo: () => import("./sylapsvideo"),
|
||||||
|
// zohocalendar: () => import("./zohocalendar"),
|
||||||
|
// //"zoho-bigin": () => import("./zoho-bigin"),
|
||||||
|
// basecamp3: () => import("./basecamp3"),
|
||||||
|
// telegramvideo: () => import("./telegram"),
|
||||||
|
// };
|
||||||
|
|
||||||
const appStore = {
|
const appStore = {
|
||||||
// example: () => import("./example"),
|
|
||||||
alby: () => import("./alby"),
|
|
||||||
applecalendar: () => import("./applecalendar"),
|
|
||||||
aroundvideo: () => import("./around"),
|
|
||||||
caldavcalendar: () => import("./caldavcalendar"),
|
|
||||||
closecom: () => import("./closecom"),
|
|
||||||
dailyvideo: () => import("./dailyvideo"),
|
dailyvideo: () => import("./dailyvideo"),
|
||||||
googlecalendar: () => import("./googlecalendar"),
|
googlecalendar: () => import("./googlecalendar"),
|
||||||
googlevideo: () => import("./googlevideo"),
|
|
||||||
hubspot: () => import("./hubspot"),
|
|
||||||
huddle01video: () => import("./huddle01video"),
|
|
||||||
jitsivideo: () => import("./jitsivideo"),
|
|
||||||
larkcalendar: () => import("./larkcalendar"),
|
|
||||||
office365calendar: () => import("./office365calendar"),
|
|
||||||
office365video: () => import("./office365video"),
|
|
||||||
plausible: () => import("./plausible"),
|
|
||||||
paypal: () => import("./paypal"),
|
paypal: () => import("./paypal"),
|
||||||
salesforce: () => import("./salesforce"),
|
|
||||||
zohocrm: () => import("./zohocrm"),
|
|
||||||
sendgrid: () => import("./sendgrid"),
|
|
||||||
stripepayment: () => import("./stripepayment"),
|
|
||||||
tandemvideo: () => import("./tandemvideo"),
|
|
||||||
vital: () => import("./vital"),
|
|
||||||
zoomvideo: () => import("./zoomvideo"),
|
|
||||||
wipemycalother: () => import("./wipemycalother"),
|
|
||||||
webexvideo: () => import("./webex"),
|
|
||||||
giphy: () => import("./giphy"),
|
|
||||||
zapier: () => import("./zapier"),
|
|
||||||
make: () => import("./make"),
|
|
||||||
exchange2013calendar: () => import("./exchange2013calendar"),
|
|
||||||
exchange2016calendar: () => import("./exchange2016calendar"),
|
|
||||||
exchangecalendar: () => import("./exchangecalendar"),
|
|
||||||
facetime: () => import("./facetime"),
|
|
||||||
sylapsvideo: () => import("./sylapsvideo"),
|
|
||||||
zohocalendar: () => import("./zohocalendar"),
|
|
||||||
"zoho-bigin": () => import("./zoho-bigin"),
|
|
||||||
basecamp3: () => import("./basecamp3"),
|
|
||||||
telegramvideo: () => import("./telegram"),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default appStore;
|
export default appStore;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// eslint-disable-next-line no-restricted-imports
|
// eslint-disable-next-line no-restricted-imports
|
||||||
import { countBy } from "lodash";
|
|
||||||
import { v4 as uuid } from "uuid";
|
import { v4 as uuid } from "uuid";
|
||||||
|
|
||||||
import { getAggregatedAvailability } from "@calcom/core/getAggregatedAvailability";
|
import { getAggregatedAvailability } from "@calcom/core/getAggregatedAvailability";
|
||||||
|
@ -609,6 +608,13 @@ export async function getAvailableSlots({ input, ctx }: GetScheduleOptions) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function countBy(array, selector) {
|
||||||
|
return array.map(selector).reduce((acc, cur) => {
|
||||||
|
acc[cur] = (acc[cur] || 0) + 1;
|
||||||
|
return acc;
|
||||||
|
}, {});
|
||||||
|
}
|
||||||
|
|
||||||
async function getUserIdFromUsername(
|
async function getUserIdFromUsername(
|
||||||
username: string,
|
username: string,
|
||||||
organizationDetails: { currentOrgDomain: string | null; isValidOrgDomain: boolean }
|
organizationDetails: { currentOrgDomain: string | null; isValidOrgDomain: boolean }
|
||||||
|
|
Loading…
Reference in New Issue