add zod.ts for google meet (#15203)
Co-authored-by: Shaik-Sirajuddin <sirajudddinshaik30@gmail.com> Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com>
This commit is contained in:
3 files changed
+19
No files matched your search
@@ -11,6 +11,7 @@ import { appKeysSchema as feishucalendar_zod_ts } from "./feishucalendar/zod";
|
||||
import { appKeysSchema as ga4_zod_ts } from "./ga4/zod";
|
||||
import { appKeysSchema as giphy_zod_ts } from "./giphy/zod";
|
||||
import { appKeysSchema as googlecalendar_zod_ts } from "./googlecalendar/zod";
|
||||
import { appKeysSchema as googlevideo_zod_ts } from "./googlevideo/zod";
|
||||
import { appKeysSchema as gtm_zod_ts } from "./gtm/zod";
|
||||
import { appKeysSchema as hubspot_zod_ts } from "./hubspot/zod";
|
||||
import { appKeysSchema as intercom_zod_ts } from "./intercom/zod";
|
||||
@@ -54,6 +55,7 @@ export const appKeysSchemas = {
|
||||
ga4: ga4_zod_ts,
|
||||
giphy: giphy_zod_ts,
|
||||
googlecalendar: googlecalendar_zod_ts,
|
||||
googlevideo: googlevideo_zod_ts,
|
||||
gtm: gtm_zod_ts,
|
||||
hubspot: hubspot_zod_ts,
|
||||
intercom: intercom_zod_ts,
|
||||
|
||||
@@ -11,6 +11,7 @@ import { appDataSchema as feishucalendar_zod_ts } from "./feishucalendar/zod";
|
||||
import { appDataSchema as ga4_zod_ts } from "./ga4/zod";
|
||||
import { appDataSchema as giphy_zod_ts } from "./giphy/zod";
|
||||
import { appDataSchema as googlecalendar_zod_ts } from "./googlecalendar/zod";
|
||||
import { appDataSchema as googlevideo_zod_ts } from "./googlevideo/zod";
|
||||
import { appDataSchema as gtm_zod_ts } from "./gtm/zod";
|
||||
import { appDataSchema as hubspot_zod_ts } from "./hubspot/zod";
|
||||
import { appDataSchema as intercom_zod_ts } from "./intercom/zod";
|
||||
@@ -54,6 +55,7 @@ export const appDataSchemas = {
|
||||
ga4: ga4_zod_ts,
|
||||
giphy: giphy_zod_ts,
|
||||
googlecalendar: googlecalendar_zod_ts,
|
||||
googlevideo: googlevideo_zod_ts,
|
||||
gtm: gtm_zod_ts,
|
||||
hubspot: hubspot_zod_ts,
|
||||
intercom: intercom_zod_ts,
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const appDataSchema = z.object({});
|
||||
|
||||
export const appKeysSchema = z.object({
|
||||
client_id: z.string().min(1),
|
||||
client_secret: z.string().min(1),
|
||||
redirect_uris: z.union([
|
||||
z.string().url().array(),
|
||||
z
|
||||
.string()
|
||||
.url()
|
||||
.transform((url) => [url]),
|
||||
]),
|
||||
});
|
||||
Reference in new issue
Block a user