Closer/functions/src/index.ts

18 lines
572 B
TypeScript
Raw Normal View History

import * as functions from 'firebase-functions'
export { revenueCatWebhook } from './billing/revenueCatWebhook'
export { syncEntitlement } from './billing/syncEntitlement'
export {
sendDailyQuestionReminder,
sendPartnerAnsweredNotification,
} from './notifications/reminders'
export { checkDeviceIntegrity } from './security/checkDeviceIntegrity'
/**
* Basic health check callable.
* Useful for verifying function deployment and firebase-tools wiring.
*/
export const health = functions.https.onRequest((req, res) => {
res.status(200).json({ status: 'ok' })
})