refactor: remove unnecessary or operation (#8274)
parent
67f8de42b3
commit
4c9d4d7972
|
@ -3,6 +3,7 @@
|
|||
Don't modify this file manually.
|
||||
**/
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
export const InstallAppButtonMap = {
|
||||
exchange2013calendar: dynamic(() => import("./exchange2013calendar/components/InstallAppButton")),
|
||||
exchange2016calendar: dynamic(() => import("./exchange2016calendar/components/InstallAppButton")),
|
||||
|
|
|
@ -25,6 +25,7 @@ import { appKeysSchema as vital_zod_ts } from "./vital/zod";
|
|||
import { appKeysSchema as wordpress_zod_ts } from "./wordpress/zod";
|
||||
import { appKeysSchema as zapier_zod_ts } from "./zapier/zod";
|
||||
import { appKeysSchema as zoomvideo_zod_ts } from "./zoomvideo/zod";
|
||||
|
||||
export const appKeysSchemas = {
|
||||
dailyvideo: dailyvideo_zod_ts,
|
||||
fathom: fathom_zod_ts,
|
||||
|
|
|
@ -61,6 +61,7 @@ import wordpress_config_json from "./wordpress/config.json";
|
|||
import { metadata as zapier__metadata_ts } from "./zapier/_metadata";
|
||||
import zohocrm_config_json from "./zohocrm/config.json";
|
||||
import { metadata as zoomvideo__metadata_ts } from "./zoomvideo/_metadata";
|
||||
|
||||
export const appStoreMetadata = {
|
||||
amie: amie_config_json,
|
||||
applecalendar: applecalendar__metadata_ts,
|
||||
|
|
|
@ -25,6 +25,7 @@ import { appDataSchema as vital_zod_ts } from "./vital/zod";
|
|||
import { appDataSchema as wordpress_zod_ts } from "./wordpress/zod";
|
||||
import { appDataSchema as zapier_zod_ts } from "./zapier/zod";
|
||||
import { appDataSchema as zoomvideo_zod_ts } from "./zoomvideo/zod";
|
||||
|
||||
export const appDataSchemas = {
|
||||
dailyvideo: dailyvideo_zod_ts,
|
||||
fathom: fathom_zod_ts,
|
||||
|
|
|
@ -145,15 +145,7 @@ export const bookingsRouter = router({
|
|||
},
|
||||
unconfirmed: {
|
||||
endTime: { gte: new Date() },
|
||||
OR: [
|
||||
{
|
||||
recurringEventId: { not: null },
|
||||
status: { equals: BookingStatus.PENDING },
|
||||
},
|
||||
{
|
||||
status: { equals: BookingStatus.PENDING },
|
||||
},
|
||||
],
|
||||
status: { equals: BookingStatus.PENDING },
|
||||
},
|
||||
};
|
||||
const bookingListingOrderby: Record<
|
||||
|
|
Loading…
Reference in New Issue