HubSpot App (#2380)
* Initial changes * OAuth done and credentials stored * Added "other" integrations * Switching to hubspot api client * Event creation for all attendees * Update and delete done * Doc update * Fixing types * App label is not mandatory * Fixing bad merge: App label deleted * Fixing bad automerge * Removing c.log Co-authored-by: Omar López <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
23 files changed
+562
-1925
No files matched your search
@@ -574,8 +574,8 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||
// `flatMap()` these work like `.filter()` but infers the types correctly
|
||||
const conferencing = apps.flatMap((item) => (item.variant === "conferencing" ? [item] : []));
|
||||
const payment = apps.flatMap((item) => (item.variant === "payment" ? [item] : []));
|
||||
const other = apps.flatMap((item) => (item.variant.startsWith("other") ? [item] : []));
|
||||
const calendar = apps.flatMap((item) => (item.variant === "calendar" ? [item] : []));
|
||||
const other = apps.flatMap((item) => (item.variant === "other" ? [item] : []));
|
||||
return {
|
||||
conferencing: {
|
||||
items: conferencing,
|
||||
|
||||
Reference in new issue
Block a user