Skip to content

Commit da4e78d

Browse files
committed
feat(interviews): add Interview interface for managing interview data structure
fix(posthog): update proxy targets for PostHog integration with environment variable notes
1 parent 74ae687 commit da4e78d

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

app/composables/useInterviews.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export interface Interview {
2+
id: string
3+
scheduledAt: string
4+
duration: number
5+
type: 'phone' | 'video' | 'in_person' | 'panel' | 'technical' | 'take_home'
6+
status: 'scheduled' | 'completed' | 'cancelled' | 'no_show'
7+
title: string
8+
candidateFirstName?: string
9+
candidateLastName?: string
10+
}

nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ export default defineNuxtConfig({
204204
// ─────────────────────────────────────────────
205205
routeRules: {
206206
// ── PostHog reverse proxy — bypasses ad blockers by routing through reqcore.com ──
207+
// NOTE: Targets are hardcoded to the EU data center (eu.i.posthog.com).
208+
// If you use the US data center, set POSTHOG_HOST=https://us.i.posthog.com
209+
// and update these two proxy targets to us-assets.i.posthog.com / us.i.posthog.com.
207210
'/ingest/static/**': { proxy: 'https://eu-assets.i.posthog.com/static/**' },
208211
'/ingest/**': { proxy: 'https://eu.i.posthog.com/**' },
209212
'/': { prerender: true },

0 commit comments

Comments
 (0)