mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-01-27 07:09:04 -05:00
Fix
This commit is contained in:
@@ -733,6 +733,17 @@ export const API = (_apiTypeCheck = {
|
||||
summary: 'Delete a bookmarked search by ID',
|
||||
tag: 'Searches',
|
||||
},
|
||||
'auth-google': {
|
||||
method: 'GET',
|
||||
authed: false,
|
||||
rateLimited: true,
|
||||
returns: {} as any,
|
||||
props: z.object({
|
||||
code: z.string(),
|
||||
}),
|
||||
summary: 'Google Auth',
|
||||
tag: 'Authentication',
|
||||
},
|
||||
} as const)
|
||||
|
||||
export type APIPath = keyof typeof API
|
||||
|
||||
@@ -24,3 +24,6 @@ export const IS_MAINTENANCE = false // set to true to enable the maintenance mod
|
||||
|
||||
export const MIN_BIO_LENGTH = 250
|
||||
|
||||
export const WEB_GOOGLE_CLIENT_ID = '253367029065-khkj31qt22l0vc3v754h09vhpg6t33ad.apps.googleusercontent.com'
|
||||
export const ANDROID_GOOGLE_CLIENT_ID = '253367029065-s9sr5vqgkhc8f7p5s6ti6a4chqsrqgc4.apps.googleusercontent.com'
|
||||
export const GOOGLE_CLIENT_ID = WEB_GOOGLE_CLIENT_ID
|
||||
|
||||
@@ -26,6 +26,7 @@ export const secrets = (
|
||||
'VAPID_PUBLIC_KEY',
|
||||
'VAPID_PRIVATE_KEY',
|
||||
'DB_ENC_MASTER_KEY_BASE64',
|
||||
'GOOGLE_CLIENT_SECRET',
|
||||
// Some typescript voodoo to keep the string literal types while being not readonly.
|
||||
] as const
|
||||
).concat()
|
||||
|
||||
Reference in New Issue
Block a user