chore: heygermany customer project
This commit is contained in:
165
db/annotations.ts
Normal file
165
db/annotations.ts
Normal file
@@ -0,0 +1,165 @@
|
||||
import type { DbClassificationMap } from '/Users/yasser/git/heygermany/.pikku/db/classification-map.gen.d.ts'
|
||||
|
||||
export const classifications = {
|
||||
"auth_account": {
|
||||
"access_token_expires_at": { kind: 'date' },
|
||||
"refresh_token_expires_at": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"auth_session": {
|
||||
"expires_at": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"auth_user": {
|
||||
"role": { tsType: "'admin' | 'owner'" },
|
||||
"type": { tsType: "'company' | 'backoffice' | 'candidate'" },
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"auth_verification": {
|
||||
"expires_at": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"backend_translation": {
|
||||
"content_json": { kind: 'json' },
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"candidate": {
|
||||
"language_self_assessment_level": { tsType: "'NONE' | 'A_ONE' | 'A_TWO' | 'B_ONE' | 'B_TWO' | 'C_ONE' | 'C_TWO'" },
|
||||
"submitted_at": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
"date_of_birth": { kind: 'date' },
|
||||
"qualification_status_home_country": { tsType: "'nurse' | 'assistant_nurse' | 'nursing_helper' | 'none'" },
|
||||
"qualification_status_germany": { tsType: "'nurse' | 'assistant_nurse' | 'nursing_helper'" },
|
||||
"status": { tsType: "'Initial' | 'Invalid' | 'Pending' | 'Complete' | 'Failed'" },
|
||||
"incomplete_reminder_sent_at": { kind: 'date' },
|
||||
"recognition_likelihood": { tsType: "'low' | 'medium' | 'high'" },
|
||||
"professional_recognition_status": { tsType: "'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED'" },
|
||||
"status_changed_at": { kind: 'date' },
|
||||
"lifecycle_notifications": { kind: 'json' },
|
||||
"analysis_last_run_at": { kind: 'date' },
|
||||
"invalidated_at": { kind: 'date' },
|
||||
"reupload_requested_at": { kind: 'date' },
|
||||
"reuploaded_at": { kind: 'date' },
|
||||
"failed_purged_at": { kind: 'date' },
|
||||
},
|
||||
"candidate_document": {
|
||||
"category": { tsType: "'education' | 'license' | 'language' | 'work_experience' | 'profile_image'" },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
"ocr_model": { tsType: "'tesseract' | 'azure_cognitive' | 'aws_textract' | 'google_vision' | 'manual_entry' | null" },
|
||||
"ocr_started_at": { kind: 'date' },
|
||||
"ocr_ended_at": { kind: 'date' },
|
||||
"document_status": { tsType: "'Missing' | 'Invalid' | 'Verified' | 'Unverified'" },
|
||||
},
|
||||
"candidate_education": {
|
||||
"completion_date": { kind: 'date' },
|
||||
"ai_completion_date": { kind: 'date' },
|
||||
"ai_extracted_by": { tsType: "'gpt-five' | 'claude-three-opus' | 'claude-three-sonnet' | 'claude-three-haiku' | 'gemini-pro' | null" },
|
||||
"ai_extraction_date": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"candidate_experience": {
|
||||
"start_date": { kind: 'date' },
|
||||
"end_date": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"candidate_language": {
|
||||
"level": { tsType: "'NONE' | 'A_ONE' | 'A_TWO' | 'B_ONE' | 'B_TWO' | 'C_ONE' | 'C_TWO' | null" },
|
||||
"issue_date": { kind: 'date' },
|
||||
"ai_level": { tsType: "'NONE' | 'A_ONE' | 'A_TWO' | 'B_ONE' | 'B_TWO' | 'C_ONE' | 'C_TWO' | null" },
|
||||
"ai_issue_date": { kind: 'date' },
|
||||
"ai_extracted_by": { tsType: "'gpt-five' | 'claude-three-opus' | 'claude-three-sonnet' | 'claude-three-haiku' | 'gemini-pro' | null" },
|
||||
"ai_extraction_date": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"candidate_license": {
|
||||
"issue_date": { kind: 'date' },
|
||||
"expiry_date": { kind: 'date' },
|
||||
"ai_issue_date": { kind: 'date' },
|
||||
"ai_expiry_date": { kind: 'date' },
|
||||
"ai_extracted_by": { tsType: "'gpt-five' | 'claude-three-opus' | 'claude-three-sonnet' | 'claude-three-haiku' | 'gemini-pro' | null" },
|
||||
"ai_extraction_date": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"countries": {
|
||||
"created_at": { kind: 'date' },
|
||||
"updated_at": { kind: 'date' },
|
||||
},
|
||||
"leads": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"user": {
|
||||
"email_verified_at": { kind: 'date' },
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
"role": { tsType: "'admin' | 'owner'" },
|
||||
"type": { tsType: "'company' | 'backoffice' | 'candidate'" },
|
||||
},
|
||||
"user_auth": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"alias_name": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"country": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree_equivalence": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree_field_of_study": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree_type": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree_type_equivalence": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"degree_type_equivalence_link": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"entity_name_link": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"institution": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"institution_degree": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"institution_type": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
"location": {
|
||||
"created_at": { kind: 'date' },
|
||||
"last_updated_at": { kind: 'date' },
|
||||
},
|
||||
} satisfies DbClassificationMap
|
||||
Reference in New Issue
Block a user