Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: compose senior tailoring with merged workflows

Amruth Pillai595ea4c433cd
diff --cc apps/mobile/locales/af-ZA.po
index 9d377d40a,38eb7cbb9..b197a8c92
--- a/apps/mobile/locales/af-ZA.po
+++ b/apps/mobile/locales/af-ZA.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Voeg 'n land by
msgid "Add a fact"
msgstr "Voeg ’n feit by"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Voeg 'n skakel by"
diff --cc apps/mobile/locales/am-ET.po
index 3aa621291,33aa33915..19a0e040f
--- a/apps/mobile/locales/am-ET.po
+++ b/apps/mobile/locales/am-ET.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "ሀገር ጨምር
msgid "Add a fact"
msgstr "አንድ እውነታ ጨምር"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "አገናኝ ጨምር"
diff --cc apps/mobile/locales/ar-SA.po
index dd149974d,6e760a466..1c7d8da0b
--- a/apps/mobile/locales/ar-SA.po
+++ b/apps/mobile/locales/ar-SA.po
@@@ -133,23 -133,6 +133,23 @@@ msgstr "{0, plural, one {تم تغيي�
msgid "{0, plural, one {# answer} other {# answers}}"
msgstr "{0, plural, zero {لا إجابات} one {إجابة واحدة} two {إجابتان} few {# إجابات} many {# إجابة} other {# إجابة}}"
+#. placeholder {0}: others.length
+#: src/features/applications/stage-actions.ts
+msgid "{0, plural, one {# application closed as Accepted another offer} other {# applications closed as Accepted another offer}}"
- msgstr ""
++msgstr "{0, plural, zero {لم يُغلق أي طلب بحالة قبول عرض آخر} one {أُغلق طلب واحد بحالة قبول عرض آخر} two {أُغلق طلبان بحالة قبول عرض آخر} few {أُغلقت # طلبات بحالة قبول عرض آخر} many {أُغلق # طلبًا بحالة قبول عرض آخر} other {أُغلق # طلب بحالة قبول عرض آخر}}"
+
+#. placeholder {0}: ids.length
+#: src/features/applications/list-screen.tsx
+msgid "{0, plural, one {# application closed} other {# applications closed}}"
- msgstr ""
++msgstr "{0, plural, zero {لم يُغلق أي طلب} one {أُغلق طلب واحد} two {أُغلق طلبان} few {أُغلقت # طلبات} many {أُغلق # طلبًا} other {أُغلق # طلب}}"
+
+#. placeholder {0}: ids.length
+#. placeholder {1}: getLaneLabel(lane)
+#. placeholder {2}: getLaneLabel(lane)
+#: src/features/applications/list-screen.tsx
+msgid "{0, plural, one {# application moved to {1}} other {# applications moved to {2}}}"
+msgstr ""
+
#. placeholder {0}: selectedIds.length
#: src/features/applications/list-screen.tsx
msgid "{0, plural, one {# application selected.} other {# applications selected.}}"
@@@ -267,16 -250,6 +267,16 @@@ msgstr "{0, plural, zero {تم التق
msgid "{0, plural, one {Backs # story} other {Backs # stories}}"
msgstr "{0, plural, zero {لا تدعم أي قصة} one {تدعم قصة واحدة} two {تدعم قصتين} few {تدعم # قصص} many {تدعم # قصة} other {تدعم # قصة}}"
+#. placeholder {0}: others.length
+#: src/features/applications/stage-actions.ts
+msgid "{0, plural, one {Close it} other {Close all #}}"
- msgstr ""
++msgstr "{0, plural, zero {إغلاق} one {إغلاقه} two {إغلاق الطلبين} few {إغلاق الطلبات # كلها} many {إغلاق الطلبات # كلها} other {إغلاق الطلبات # كلها}}"
+
+#. placeholder {0}: others.length
+#: src/features/applications/stage-actions.ts
+msgid "{0, plural, one {Closed as Accepted offer. Close your other open application as Accepted another offer?} other {Closed as Accepted offer. Close your # other open applications as Accepted another offer?}}"
- msgstr ""
++msgstr "{0, plural, zero {أُغلق بحالة قبول العرض. لا توجد طلبات أخرى مفتوحة.} one {أُغلق بحالة قبول العرض. هل تريد إغلاق طلبك الآخر المفتوح بحالة قبول عرض آخر؟} two {أُغلق بحالة قبول العرض. هل تريد إغلاق طلبيك الآخرين المفتوحين بحالة قبول عرض آخر؟} few {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟} many {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟} other {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟}}"
+
#. placeholder {0}: selectedIds.length
#: src/features/applications/list-screen.tsx
msgid "{0, plural, one {Delete # application?} other {Delete # applications?}}"
@@@ -583,10 -577,6 +604,10 @@@ msgstr "{entries, plural, one {إدخا
msgid "{entry} doesn't say when. Dates place it on your timeline."
msgstr "{entry} لا يذكر متى. التواريخ تضعها على الجدول الزمني الخاص بك."
+#: src/features/check/issues.ts
+msgid "{entry} has no dates and reads like a sentence cut off the entry above it, which happens when a PDF import splits a bullet. Adding dates would make it look like a separate job."
- msgstr ""
++msgstr "لا يحتوي {entry} على تواريخ ويبدو جزءًا من جملة اقتُطعت من الإدخال السابق، وقد يحدث ذلك عند تقسيم نقطة أثناء استيراد PDF. ستجعله إضافة التواريخ يبدو وظيفة منفصلة."
+
#: src/features/check/issues.ts
msgid "{entry} names the role but not what you did, so it adds no keywords."
msgstr "{entry} يسمي الدور ولكن ليس ما قمت به، لذلك لا يضيف أي كلمات رئيسية."
@@@ -619,10 -609,6 +640,10 @@@ msgstr "{issues, plural, one {قد تك
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {يحتوي الشيك على شيء # للمراجعة. لا يزال بإمكانك التنزيل.} other {يحتوي الشيك على أشياء # للمراجعة. لا يزال بإمكانك التنزيل.}}"
+#: src/features/applications/stage-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
- msgstr ""
++msgstr "{kept, plural, zero {لم تتغير أي طلبات في هذه الأثناء} one {تغير طلب واحد في هذه الأثناء، لذلك يحتفظ بمرحلته الأحدث} two {تغير طلبان في هذه الأثناء، لذلك يحتفظان بمرحلتيهما الأحدث} few {تغيرت # طلبات في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث} many {تغير # طلبًا في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث} other {تغير # طلب في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث}}"
+
#: src/features/applications/next-step.ts
msgid "{kind} interview"
msgstr "مقابلة {kind}"
@@@ -871,10 -861,6 +896,10 @@@ msgstr "رابط يشير إلى مكا
msgid "A model's opinion, not a verdict. It can be wrong."
msgstr "رأي نموذجي وليس حكم. يمكن أن يكون خطأ."
+#: src/features/career/offer-entry.tsx
+msgid "a month"
- msgstr ""
++msgstr "شهريًا"
+
#: src/features/ats-checker/messages.ts
msgid "A numeric date reads differently in different countries."
msgstr "التاريخ الرقمي يُقرأ بشكل مختلف في بلدان مختلفة."
@@@ -911,10 -897,6 +936,10 @@@ msgstr "خطة موقوتة، وافت�
msgid "A web address is written without https://."
msgstr "عنوان ويب مكتوب بدون https://."
+#: src/features/career/offer-entry.tsx
+msgid "a year"
- msgstr ""
++msgstr "سنويًا"
+
#: src/features/workspace/tabs/practise.tsx
msgid "About 90 seconds when spoken"
msgstr "نحو 90 ثانية عند قوله بصوت عالٍ"
@@@ -1003,8 -990,9 +1033,12 @@@ msgstr "أضف دولة
msgid "Add a fact"
msgstr "أضف حقيقة"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
++msgstr "إضافة وظيفة"
++
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
msgstr ""
#: src/features/write/basics-screen.tsx
@@@ -1015,10 -1003,6 +1049,10 @@@ msgstr "أضف رابطا
msgid "Add a location"
msgstr "أضف موقعًا"
+#: src/features/career/offer-entry.tsx
+msgid "Add a newer offer"
- msgstr ""
++msgstr "إضافة عرض أحدث"
+
#: src/features/application-detail/sections.tsx
msgid "Add a note"
msgstr "أضف ملاحظة"
@@@ -1266,12 -1258,6 +1308,12 @@@ msgstr "أضف المجال بعد @،
msgid "Add the domain ending, like {domain}.com"
msgstr "أضف نهاية النطاق، مثل {domain}.com"
+#: src/features/application-detail/sections.tsx
+#: src/features/applications/next-step.ts
+#: src/features/applications/stage-actions.ts
+msgid "Add the offer's terms"
- msgstr ""
++msgstr "إضافة شروط العرض"
+
#: src/features/share/custom-domain.tsx
msgid "Add these records where you manage the domain, then check. Changes can take a few hours to reach everyone."
msgstr "أضف هذه السجلات حيث تدير النطاق، ثم تحقّق. قد يستغرق وصول التغييرات إلى الجميع بضع ساعات."
@@@ -1585,10 -1571,6 +1627,10 @@@ msgstr "الإدخال ليس له تو
msgid "an error"
msgstr "خطأ"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
- msgstr ""
++msgstr "في الساعة"
+
#: src/draft/conflict-sheet.tsx
msgid "An older app kept these edits. They can't safely replace “{name}”. Keep them as a separate document, or load the saved version and edit it here."
msgstr ""
@@@ -2204,11 -2186,6 +2246,11 @@@ msgstr "قائمة نقطية
msgid "Burgundy"
msgstr "عنابي"
+#. placeholder {0}: formatWhen(step.respondBy, locale, timeZone, true)
+#: src/features/applications/next-step.ts
+msgid "By {0}"
- msgstr ""
++msgstr "بحلول {0}"
+
#: app/(tabs)/settings/index.tsx
msgid "by <0>Amruth Pillai</0>"
msgstr "من تطوير <0>Amruth Pillai</0>"
@@@ -2670,10 -2658,6 +2724,10 @@@ msgstr "يغلق…
msgid "Closed"
msgstr "مغلق"
+#: src/features/applications/stage-actions.ts
+msgid "Closed as Accepted offer"
- msgstr ""
++msgstr "أُغلق بحالة قبول العرض"
+
#: src/features/applications-board/insights-screen.tsx
msgid "Closed: {closed}"
msgstr "مغلق: {closed}"
@@@ -2734,19 -2717,10 +2789,19 @@@ msgstr "مضغوط
msgid "Company"
msgstr "الشركة"
+#: src/features/career/offer-entry.tsx
+msgid "Compare"
- msgstr ""
++msgstr "مقارنة"
+
#: src/features/workspace/tabs/practise.tsx
msgid "Compare attempts to see what improved. Practice questions are simulated, not from {company}."
msgstr "قارن محاولاتك لترى تقدمك. يتم محاكاة أسئلة التدريب ولا تأتي من {company}."
+#: src/features/applications/next-step.ts
+msgid "Compare it with your other offers"
- msgstr ""
++msgstr "قارنه بعروضك الأخرى"
+
+#: src/features/application-detail/sections.tsx
#: src/features/workspace/shell.tsx
msgid "Compare offers"
msgstr "قارن العروض"
@@@ -2979,12 -2961,6 +3042,12 @@@ msgstr "نسخ الرمز
msgid "Copy created"
msgstr "تم إنشاء النسخة"
+#. placeholder {0}: document.application.company
+#. placeholder {0}: source.application.company
+#: src/features/documents/new-document.tsx
+msgid "Copy for {0}"
- msgstr ""
++msgstr "نسخة لوظيفة لدى {0}"
+
#: src/features/documents/document-sheets.tsx
msgid "Copy for a job…"
msgstr "نسخ لوظيفة..."
@@@ -2993,10 -2969,6 +3056,10 @@@
msgid "Copy for this job"
msgstr ""
+#: src/features/check/job-match.tsx
+msgid "Copy made for {company}. This resume is unchanged."
- msgstr ""
++msgstr "أُنشئت نسخة لوظيفة لدى {company}. لم تتغير هذه السيرة الذاتية."
+
#: src/features/workspace/tabs/messages.tsx
msgid "Copy reply"
msgstr "انسخ الرد"
@@@ -3360,10 -3326,6 +3425,10 @@@ msgstr "
msgid "Couldn't save the job description. Try again."
msgstr "تعذّر حفظ الوصف الوظيفي. حاول مرة أخرى."
+#: src/features/check/job-match.tsx
+msgid "Couldn't save the job. Try again."
- msgstr ""
++msgstr "تعذر حفظ الوظيفة. حاول مجددًا."
+
#: src/features/application-detail/sections.tsx
msgid "Couldn't save the notes. Your text is still here."
msgstr "تعذر حفظ الملاحظات. النص الخاص بك لا يزال هنا."
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "للجولة التالية:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "لهذه الزيارة فقط. قم بربط طلب وظيفة للاحتفاظ بنشر الوظيفة هنا."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "لهذه الزيارة فقط. احفظه كوظيفة للاحتفاظ به."
#: src/features/documents/new-document.tsx
msgid "For which job?"
@@@ -5558,10 -5538,6 +5645,10 @@@ msgstr "مباراة الوظيفة ل�
msgid "Job posting · optional, adds a keyword match"
msgstr "إعلان وظيفة · اختياري، يضيف مطابقة الكلمات المفتاحية"
+#: src/features/documents/new-document.tsx
+msgid "Job posting (optional)"
- msgstr ""
++msgstr "إعلان الوظيفة (اختياري)"
+
#: src/features/applications/add-sheet.tsx
msgid "Job posting link"
msgstr "رابط إعلان الوظيفة"
@@@ -5995,10 -5977,6 +6088,10 @@@ msgstr "اربط طلبًا أو الص
msgid "Link copied"
msgstr "تم نسخ الرابط"
+#: src/features/check/job-match.tsx
+msgid "Link this resume"
- msgstr ""
++msgstr "ربط هذه السيرة الذاتية"
+
#: src/features/documents/document-sheets.tsx
msgid "Link to application"
msgstr "رابط لطلب الوظيفة"
@@@ -6216,10 -6199,6 +6314,10 @@@ msgstr "ابحث عن
msgid "Looks exactly like the page. Use it for applications and email."
msgstr "تبدو تماما مثل الصفحة. استخدامه لطلبات العمل والبريد الإلكتروني."
+#: src/features/check/issues.ts
+msgid "Looks like part of the entry above"
- msgstr ""
++msgstr "يبدو جزءًا من الإدخال السابق"
+
#: src/features/design/design-pane.tsx
msgid "Lower the design sheet"
msgstr "خفض ورقة التصميم"
@@@ -6229,10 -6208,6 +6327,10 @@@
msgid "Main"
msgstr "رئيسي"
+#: src/features/check/job-match.tsx
+msgid "Make a copy for this job"
- msgstr ""
++msgstr "إنشاء نسخة لهذه الوظيفة"
+
#: src/features/ai/provider-list.tsx
msgid "Make default"
msgstr "اجعله الافتراضي"
@@@ -6416,14 -6391,6 +6514,14 @@@ msgstr "متوسط ​​الرد ال�
msgid "Meets your minimum base salary."
msgstr "يلبي الحد الأدنى من الراتب الأساسي."
+#: src/features/check/issues.ts
+msgid "Merge into previous entry"
- msgstr ""
++msgstr "دمج مع الإدخال السابق"
+
+#: src/features/check/issues.ts
+msgid "Merged into the entry above"
- msgstr ""
++msgstr "دُمج مع الإدخال السابق"
+
#: src/features/career/facts.tsx
msgid "Message"
msgstr "رسالة"
@@@ -7144,10 -7124,6 +7254,10 @@@ msgstr "غير موجود في سيرت
msgid "Not in your resume · add only if true"
msgstr "ليس في سيرتك الذاتية · أضف فقط إذا كان هذا صحيحًا"
+#: src/features/documents/new-document.tsx
+msgid "Not linked to a job"
- msgstr ""
++msgstr "غير مرتبط بوظيفة"
+
#: src/features/assistant/messages.tsx
#: src/features/workspace/tabs/debrief.tsx
msgid "Not now"
@@@ -7297,11 -7275,6 +7409,11 @@@ msgstr "عرض وظيفي
msgid "Offer saved"
msgstr "تم حفظ العرض الوظيفي"
+#. placeholder {0}: target.company
+#: src/features/career/offer-entry.tsx
+msgid "Offer saved. {0} moved to Offer."
- msgstr ""
++msgstr "حُفظ العرض. نُقل {0} إلى مرحلة العرض."
+
#: src/features/career/offer-entry.tsx
msgid "Offer type"
msgstr "نوع العرض الوظيفي"
@@@ -7790,10 -7765,6 +7904,10 @@@ msgstr "متوقف مؤقتًا
msgid "Pay period"
msgstr "فترة الدفع"
+#: src/features/applications/next-step.ts
+msgid "Pay, deadline and conditions, so you can compare and decide"
- msgstr ""
++msgstr "الأجر والموعد النهائي والشروط، لتتمكن من المقارنة واتخاذ القرار"
+
#: src/features/letters/share.tsx
#: src/features/share/download.tsx
msgid "PDF · Best for applying"
@@@ -8810,10 -8789,6 +8932,10 @@@ msgstr "الرد
msgid "Reply copied"
msgstr "تم نسخ الرد"
+#: src/features/applications/next-step.ts
+msgid "Reply to the offer"
- msgstr ""
++msgstr "الرد على العرض"
+
#: src/features/ats-checker/checker.tsx
msgid "Report"
msgstr "تقرير"
@@@ -9327,10 -9299,6 +9452,10 @@@ msgstr "
msgid "Save an unprotected copy, with no password and no permissions restrictions."
msgstr "احفظ نسخة غير محمية، بلا كلمة مرور وبلا قيود صلاحيات."
+#: src/features/check/job-match.tsx
+msgid "Save and link this resume"
- msgstr ""
++msgstr "حفظ وربط هذه السيرة الذاتية"
+
#: src/features/ai/provider-editor.tsx
msgid "Save and test"
msgstr "حفظ واختبار"
@@@ -9339,10 -9307,6 +9464,10 @@@
msgid "Save another offer to compare"
msgstr "احفظ عرضًا آخر للمقارنة"
+#: src/features/check/job-match.tsx
+msgid "Save as a job…"
- msgstr ""
++msgstr "حفظ كوظيفة…"
+
#: src/features/application-detail/sheets.tsx
msgid "Save changes"
msgstr "حفظ التغييرات"
@@@ -9373,14 -9337,6 +9498,14 @@@ msgstr "احفظ المقابلة
msgid "Save job"
msgstr "حفظ الوظيفة"
+#: src/features/documents/new-document.tsx
+msgid "Save job and create copy"
+msgstr ""
+
+#: src/features/check/job-match.tsx
+msgid "Save job and make a copy"
- msgstr ""
++msgstr "حفظ الوظيفة وإنشاء نسخة"
+
#: src/features/applications/lane-settings.tsx
msgid "Save lane"
msgstr "حفظ المرحلة"
@@@ -9488,10 -9444,6 +9613,10 @@@ msgstr "الوصف المحفوظ
msgid "Saved profile reloaded. Unsaved changes discarded."
msgstr ""
+#: src/features/documents/new-document.tsx
+msgid "Saved to Applications as a saved job, then linked to the copy. No AI request is made."
- msgstr ""
++msgstr "تُحفظ في الطلبات كوظيفة محفوظة ثم تُربط بالنسخة. لا يُرسل أي طلب إلى الذكاء الاصطناعي."
+
#: src/features/career/today.tsx
msgid "Saved to Applications with the posting"
msgstr "تم الحفظ في الطلبات مع إعلان الوظيفة"
@@@ -10682,11 -10644,6 +10817,11 @@@ msgstr "تمنح الوسوم (Tags) ا
msgid "Tags…"
msgstr "العلامات…"
+#. placeholder {0}: choice.company
+#: src/features/check/job-match.tsx
+msgid "Tailor a copy for {0} so this resume stays as it is for other jobs, or link this resume itself."
- msgstr ""
++msgstr "خصص نسخة لوظيفة لدى {0} لتبقى هذه السيرة الذاتية كما هي للوظائف الأخرى، أو اربط هذه السيرة الذاتية نفسها."
+
#: src/features/workspace/preparation.tsx
msgid "Tailor and review your resume"
msgstr ""
@@@ -10942,10 -10899,6 +11077,10 @@@ msgstr "
msgid "The connection works. Turn on Use this provider to use it."
msgstr ""
+#: src/features/check/job-match.tsx
+msgid "The copy gets the job's posting and keeps this resume as it is for other jobs."
- msgstr ""
++msgstr "تحصل النسخة على إعلان الوظيفة، وتبقى هذه السيرة الذاتية كما هي للوظائف الأخرى."
+
#: src/features/history/history.tsx
#: src/features/letters/share.tsx
msgid "The current state will be saved as “Before restore” first."
diff --cc apps/mobile/locales/az-AZ.po
index 2c771ea47,f7cdc7d05..51fe1bbbf
--- a/apps/mobile/locales/az-AZ.po
+++ b/apps/mobile/locales/az-AZ.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Ölkə əlavə edin
msgid "Add a fact"
msgstr "Bir fakt əlavə edin"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Link əlavə edin"
diff --cc apps/mobile/locales/bg-BG.po
index 2c5bcb026,8785fdd02..7706f71aa
--- a/apps/mobile/locales/bg-BG.po
+++ b/apps/mobile/locales/bg-BG.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Добавяне на държ�
msgid "Add a fact"
msgstr "Добавете факт"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Добавяне на връзка"
diff --cc apps/mobile/locales/bn-BD.po
index 6236bd8e7,1b23e9c1a..ac4c99366
--- a/apps/mobile/locales/bn-BD.po
+++ b/apps/mobile/locales/bn-BD.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "একটি দেশ যো�
msgid "Add a fact"
msgstr "তথ্য যোগ করুন"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "একটি লিঙ্ক যোগ করুন"
diff --cc apps/mobile/locales/ca-ES.po
index 1ff368be9,409bdb469..803925722
--- a/apps/mobile/locales/ca-ES.po
+++ b/apps/mobile/locales/ca-ES.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Afegeix un país
msgid "Add a fact"
msgstr "Afegeix un fet"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Afegeix un enllaç"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "Per a la ronda següent:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Només per aquesta visita. Enllaceu una candidatura per mantenir la seva publicació de feina aquí."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Només per a aquesta visita. Deseu-lo com a feina per conservar-lo."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/cs-CZ.po
index db4f109f4,99289d264..dfa8fddb2
--- a/apps/mobile/locales/cs-CZ.po
+++ b/apps/mobile/locales/cs-CZ.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Přidejte zemi
msgid "Add a fact"
msgstr "Přidejte fakt"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Přidejte odkaz"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "Pro další kolo:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Pouze pro tuto návštěvu. Propojte žádost o zaměstnání, aby zde zůstala její nabídka práce."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Jen pro tuto návštěvu. Chcete-li jej zachovat, uložte jej jako pracovní nabídku."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/da-DK.po
index 0a1fc515c,46b28bce5..2e18d1efd
--- a/apps/mobile/locales/da-DK.po
+++ b/apps/mobile/locales/da-DK.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Tilføj et land
msgid "Add a fact"
msgstr "Tilføj fakta"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Tilføj et link"
diff --cc apps/mobile/locales/de-DE.po
index 752de4090,7d74e6093..3a2cad0d5
--- a/apps/mobile/locales/de-DE.po
+++ b/apps/mobile/locales/de-DE.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Land hinzufügen
msgid "Add a fact"
msgstr "Fakt hinzufügen"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Fügen Sie einen Link hinzu"
diff --cc apps/mobile/locales/el-GR.po
index 8f1703b8e,17895edb9..140a4257a
--- a/apps/mobile/locales/el-GR.po
+++ b/apps/mobile/locales/el-GR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Προσθέστε μια χώ�
msgid "Add a fact"
msgstr "Προσθέστε ένα γεγονός"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Προσθέστε έναν σύνδεσμο"
diff --cc apps/mobile/locales/en-GB.po
index 3590e3586,2f5b510b1..476dc501f
--- a/apps/mobile/locales/en-GB.po
+++ b/apps/mobile/locales/en-GB.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Add a country
msgid "Add a fact"
msgstr "Add a fact"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Add a link"
diff --cc apps/mobile/locales/en-US.po
index 5ca2de68f,40d98aa96..0ebb55894
--- a/apps/mobile/locales/en-US.po
+++ b/apps/mobile/locales/en-US.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Add a country
msgid "Add a fact"
msgstr "Add a fact"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr "Add a job"
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr "Add a job…"
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Add a link"
diff --cc apps/mobile/locales/es-ES.po
index 324cd04c5,591c34277..50b06789e
--- a/apps/mobile/locales/es-ES.po
+++ b/apps/mobile/locales/es-ES.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Añadir un país
msgid "Add a fact"
msgstr "Añadir un dato"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Agregar un enlace"
diff --cc apps/mobile/locales/fa-IR.po
index 528364412,2d12dae27..93c6118a4
--- a/apps/mobile/locales/fa-IR.po
+++ b/apps/mobile/locales/fa-IR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "یک کشور اضافه کنی
msgid "Add a fact"
msgstr "یک واقعیت را اضافه کنید"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "یک پیوند اضافه کنید"
diff --cc apps/mobile/locales/fi-FI.po
index e4a251d54,1d0498944..c8b9410d7
--- a/apps/mobile/locales/fi-FI.po
+++ b/apps/mobile/locales/fi-FI.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Lisää maa
msgid "Add a fact"
msgstr "Lisää fakta"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Lisää linkki"
diff --cc apps/mobile/locales/fr-FR.po
index 90bf30104,8c904a3bb..bf69746ed
--- a/apps/mobile/locales/fr-FR.po
+++ b/apps/mobile/locales/fr-FR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Ajouter un pays
msgid "Add a fact"
msgstr "Ajouter un fait"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Ajouter un lien"
diff --cc apps/mobile/locales/he-IL.po
index 7c189ccb4,ae0612fe7..25d436b47
--- a/apps/mobile/locales/he-IL.po
+++ b/apps/mobile/locales/he-IL.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "הוסף מדינה
msgid "Add a fact"
msgstr "הוסף עובדה"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "הוסף קישור"
diff --cc apps/mobile/locales/hi-IN.po
index 6d979fe74,3eee91298..b88adb51a
--- a/apps/mobile/locales/hi-IN.po
+++ b/apps/mobile/locales/hi-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "एक देश जोड़�
msgid "Add a fact"
msgstr "एक तथ्य जोड़ें"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "एक लिंक जोड़ें"
diff --cc apps/mobile/locales/hu-HU.po
index fc1ac4923,daec3519d..347118177
--- a/apps/mobile/locales/hu-HU.po
+++ b/apps/mobile/locales/hu-HU.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Adjon hozzá egy országot
msgid "Add a fact"
msgstr "Tény hozzáadása"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Adjon hozzá egy hivatkozást"
diff --cc apps/mobile/locales/id-ID.po
index 54ce87bbf,b9e23c50a..ba78ab5e7
--- a/apps/mobile/locales/id-ID.po
+++ b/apps/mobile/locales/id-ID.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Tambahkan negara
msgid "Add a fact"
msgstr "Tambahkan fakta"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Tambahkan tautan"
diff --cc apps/mobile/locales/it-IT.po
index 7d15b24d3,5c29f5ce7..2273ba505
--- a/apps/mobile/locales/it-IT.po
+++ b/apps/mobile/locales/it-IT.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Aggiungi un paese
msgid "Add a fact"
msgstr "Aggiungi un fatto"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Aggiungi un collegamento"
diff --cc apps/mobile/locales/ja-JP.po
index 3c6afa936,e347a5228..ab7c6530d
--- a/apps/mobile/locales/ja-JP.po
+++ b/apps/mobile/locales/ja-JP.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "国を追加
msgid "Add a fact"
msgstr "事実を追加する"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "リンクを追加する"
@@@ -9327,10 -9299,6 +9452,10 @@@ msgstr "
msgid "Save an unprotected copy, with no password and no permissions restrictions."
msgstr "パスワードや権限制限のない、保護されていないコピーを保存してください。"
+#: src/features/check/job-match.tsx
+msgid "Save and link this resume"
- msgstr ""
++msgstr "この履歴書を保存してリンクする"
+
#: src/features/ai/provider-editor.tsx
msgid "Save and test"
msgstr "保存してテストする"
diff --cc apps/mobile/locales/km-KH.po
index 9260f0bba,e725648f6..0724291e5
--- a/apps/mobile/locales/km-KH.po
+++ b/apps/mobile/locales/km-KH.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "បន្ថែមប្រទ�
msgid "Add a fact"
msgstr "បន្ថែមការពិតមួយ។"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "បន្ថែមតំណ"
@@@ -9327,10 -9299,6 +9452,10 @@@ msgstr "
msgid "Save an unprotected copy, with no password and no permissions restrictions."
msgstr "រក្សាទុកច្បាប់ចម្លងដែលមិនបានការពារ ដោយគ្មានពាក្យសម្ងាត់ និងគ្មានការដាក់កម្រិតសិទ្ធិ។"
+#: src/features/check/job-match.tsx
+msgid "Save and link this resume"
- msgstr ""
++msgstr "រក្សាទុក និងភ្ជាប់ប្រវត្តិរូបនេះ"
+
#: src/features/ai/provider-editor.tsx
msgid "Save and test"
msgstr "រក្សាទុកនិងសាកល្បង"
diff --cc apps/mobile/locales/kn-IN.po
index 378ed0c3d,7faeb2996..474566c41
--- a/apps/mobile/locales/kn-IN.po
+++ b/apps/mobile/locales/kn-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "ದೇಶವನ್ನು ಸೇ
msgid "Add a fact"
msgstr "ಸಂಗತಿ ಸೇರಿಸಿ"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "ಲಿಂಕ್ ಸೇರಿಸಿ"
@@@ -9327,10 -9299,6 +9452,10 @@@ msgstr "
msgid "Save an unprotected copy, with no password and no permissions restrictions."
msgstr "ಪಾಸ್‌ವರ್ಡ್ ಇಲ್ಲದ ಮತ್ತು ಅನುಮತಿ ನಿರ್ಬಂಧಗಳಿಲ್ಲದ ಅಸಂರಕ್ಷಿತ ಪ್ರತಿಯನ್ನು ಉಳಿಸಿ."
+#: src/features/check/job-match.tsx
+msgid "Save and link this resume"
- msgstr ""
++msgstr "ಈ ರೆಸ್ಯೂಮೆಯನ್ನು ಉಳಿಸಿ ಮತ್ತು ಲಿಂಕ್ ಮಾಡಿ"
+
#: src/features/ai/provider-editor.tsx
msgid "Save and test"
msgstr "ಉಳಿಸಿ ಮತ್ತು ಪರೀಕ್ಷಿಸಿ"
diff --cc apps/mobile/locales/ko-KR.po
index 7d2f0e6bc,1aa3ca9d4..de3c1cbfb
--- a/apps/mobile/locales/ko-KR.po
+++ b/apps/mobile/locales/ko-KR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "국가 추가
msgid "Add a fact"
msgstr "사실 추가"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "링크 추가"
@@@ -9327,10 -9299,6 +9452,10 @@@ msgstr "
msgid "Save an unprotected copy, with no password and no permissions restrictions."
msgstr "비밀번호와 권한 제한이 없는 보호되지 않은 사본으로 저장하세요."
+#: src/features/check/job-match.tsx
+msgid "Save and link this resume"
- msgstr ""
++msgstr "이 이력서 저장 및 연결"
+
#: src/features/ai/provider-editor.tsx
msgid "Save and test"
msgstr "저장 및 테스트"
diff --cc apps/mobile/locales/lt-LT.po
index 344e9159a,3327569a6..5cf3fe878
--- a/apps/mobile/locales/lt-LT.po
+++ b/apps/mobile/locales/lt-LT.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Pridėti šalį
msgid "Add a fact"
msgstr "Pridėkite faktą"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Pridėti nuorodą"
diff --cc apps/mobile/locales/lv-LV.po
index faf0af901,b70eb5ba5..25f14f4ad
--- a/apps/mobile/locales/lv-LV.po
+++ b/apps/mobile/locales/lv-LV.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Pievienojiet valsti
msgid "Add a fact"
msgstr "Pievienojiet faktu"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Pievienojiet saiti"
diff --cc apps/mobile/locales/ml-IN.po
index 4e29efd00,0aa7f1a62..fdc29daa7
--- a/apps/mobile/locales/ml-IN.po
+++ b/apps/mobile/locales/ml-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "ഒരു രാജ്യം �
msgid "Add a fact"
msgstr "ഒരു വസ്തുത ചേർക്കുക"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "ഒരു ലിങ്ക് ചേർക്കുക"
diff --cc apps/mobile/locales/mr-IN.po
index f83782821,327041e00..28a7df357
--- a/apps/mobile/locales/mr-IN.po
+++ b/apps/mobile/locales/mr-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "एक देश जोडा
msgid "Add a fact"
msgstr "एक तथ्य जोडा"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "एक लिंक जोडा"
diff --cc apps/mobile/locales/ms-MY.po
index e3666e341,89d307d81..be904c947
--- a/apps/mobile/locales/ms-MY.po
+++ b/apps/mobile/locales/ms-MY.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Tambah negara
msgid "Add a fact"
msgstr "Tambah fakta"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Tambah pautan"
diff --cc apps/mobile/locales/ne-NP.po
index 5458b3cff,69ae9ca95..891f42817
--- a/apps/mobile/locales/ne-NP.po
+++ b/apps/mobile/locales/ne-NP.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "एउटा देश थप�
msgid "Add a fact"
msgstr "तथ्य थप्नुहोस्"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "लिङ्क थप्नुहोस्"
diff --cc apps/mobile/locales/nl-NL.po
index 44356f0bb,25c36897e..5fe523a96
--- a/apps/mobile/locales/nl-NL.po
+++ b/apps/mobile/locales/nl-NL.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Voeg een land toe
msgid "Add a fact"
msgstr "Voeg een feit toe"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Voeg een link toe"
diff --cc apps/mobile/locales/no-NO.po
index c062b4cb7,996d05948..7f63097c8
--- a/apps/mobile/locales/no-NO.po
+++ b/apps/mobile/locales/no-NO.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Legg til et land
msgid "Add a fact"
msgstr "Legg til et faktum"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Legg til en lenke"
diff --cc apps/mobile/locales/or-IN.po
index b7289be42,2f2e28a06..590d93f9b
--- a/apps/mobile/locales/or-IN.po
+++ b/apps/mobile/locales/or-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "ଏକ ଦେଶ ଯୋଡ଼�
msgid "Add a fact"
msgstr "ଏକ ତଥ୍ୟ ଯୋଡନ୍ତୁ।"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "ଏକ ଲିଙ୍କ୍ ଯୋଡନ୍ତୁ |"
diff --cc apps/mobile/locales/pl-PL.po
index 861007bb9,7e691a724..a110b0b44
--- a/apps/mobile/locales/pl-PL.po
+++ b/apps/mobile/locales/pl-PL.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Dodaj kraj
msgid "Add a fact"
msgstr "Dodaj fakt"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Dodaj link"
diff --cc apps/mobile/locales/pt-BR.po
index 94fa28bb0,b601e2e6a..bfac2e7de
--- a/apps/mobile/locales/pt-BR.po
+++ b/apps/mobile/locales/pt-BR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Adicione um país
msgid "Add a fact"
msgstr "Adicionar um fato"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Adicionar um link"
diff --cc apps/mobile/locales/pt-PT.po
index 9c898c874,85372928d..3976fa76c
--- a/apps/mobile/locales/pt-PT.po
+++ b/apps/mobile/locales/pt-PT.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Adicione um país
msgid "Add a fact"
msgstr "Adicionar facto"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Adicionar um link"
diff --cc apps/mobile/locales/ro-RO.po
index 9dcefcb08,34b26b17b..8919036a3
--- a/apps/mobile/locales/ro-RO.po
+++ b/apps/mobile/locales/ro-RO.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Adăugați o țară
msgid "Add a fact"
msgstr "Adaugă un fapt"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Adăugați un link"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "Pentru runda următoare:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Doar pentru această vizită. Conectați o candidatură pentru a-și păstra postarea de locuri de muncă aici."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Doar pentru această vizită. Salvați-l ca job pentru a-l păstra."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/ru-RU.po
index 765c250ea,e0798a910..887ff6157
--- a/apps/mobile/locales/ru-RU.po
+++ b/apps/mobile/locales/ru-RU.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Добавить страну
msgid "Add a fact"
msgstr "Добавить факт"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Добавить ссылку"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "К следующему этапу:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Только для этого посещения. Свяжите заявку, чтобы сохранить здесь публикацию о вакансии."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Только для этого посещения. Сохраните как вакансию, чтобы оставить на будущее."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/sk-SK.po
index 30b23886d,0055fefef..b64b4b8ba
--- a/apps/mobile/locales/sk-SK.po
+++ b/apps/mobile/locales/sk-SK.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Pridajte krajinu
msgid "Add a fact"
msgstr "Pridať fakt"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Pridajte odkaz"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "Na ďalšie kolo:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Len na túto návštevu. Prepojte žiadosť, aby tu zostal jej pracovný inzerát."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Len na túto návštevu. Ak ho chcete zachovať, uložte ho ako pracovnú ponuku."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/sl-SI.po
index 73fd733bd,11aa4e848..d219709ee
--- a/apps/mobile/locales/sl-SI.po
+++ b/apps/mobile/locales/sl-SI.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Dodajte državo
msgid "Add a fact"
msgstr "Dodajte dejstvo"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Dodajte povezavo"
@@@ -4865,8 -4831,8 +4938,8 @@@ msgid "For the next round:
msgstr "Za naslednji krog:"
#: src/features/check/job-match.tsx
-msgid "For this visit only. Link an application to keep its posting here."
-msgstr "Samo za ta obisk. Povežite prijavo, da obdržite njeno objavo tukaj."
+msgid "For this visit only. Save it as a job to keep it."
- msgstr ""
++msgstr "Samo za ta obisk. Shranite ga kot delovno mesto, da ga ohranite."
#: src/features/documents/new-document.tsx
msgid "For which job?"
diff --cc apps/mobile/locales/sq-AL.po
index 3972619c3,6af97f853..255fa372d
--- a/apps/mobile/locales/sq-AL.po
+++ b/apps/mobile/locales/sq-AL.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Shto një shtet
msgid "Add a fact"
msgstr "Shtoni një fakt"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Shto një lidhje"
diff --cc apps/mobile/locales/sr-SP.po
index bd11d1502,c601f3ba4..9663daea8
--- a/apps/mobile/locales/sr-SP.po
+++ b/apps/mobile/locales/sr-SP.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Додајте земљу
msgid "Add a fact"
msgstr "Додај чињеницу"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Додајте везу"
diff --cc apps/mobile/locales/sv-SE.po
index 1ae589971,4fe9aa55d..6d878851f
--- a/apps/mobile/locales/sv-SE.po
+++ b/apps/mobile/locales/sv-SE.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Lägg till ett land
msgid "Add a fact"
msgstr "Lägg till ett faktum"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Lägg till en länk"
diff --cc apps/mobile/locales/ta-IN.po
index b6cab64f8,17567d84d..704e1c1d4
--- a/apps/mobile/locales/ta-IN.po
+++ b/apps/mobile/locales/ta-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "ஒரு நாட்டைச
msgid "Add a fact"
msgstr "ஒரு உண்மையைச் சேர்க்கவும்"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "இணைப்பைச் சேர்க்கவும்"
diff --cc apps/mobile/locales/te-IN.po
index ae4ac3d2e,7b36814a7..eaff838fe
--- a/apps/mobile/locales/te-IN.po
+++ b/apps/mobile/locales/te-IN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "దేశాన్ని జో
msgid "Add a fact"
msgstr "వాస్తవాన్ని జోడించండి"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "లింక్‌ను జోడించండి"
diff --cc apps/mobile/locales/th-TH.po
index 175c22f13,907a5b14c..dd0998313
--- a/apps/mobile/locales/th-TH.po
+++ b/apps/mobile/locales/th-TH.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "เพิ่มประเท�
msgid "Add a fact"
msgstr "เพิ่มข้อเท็จจริง"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "เพิ่มลิงค์"
diff --cc apps/mobile/locales/tr-TR.po
index 1b420fc5e,bd24f5c85..9db73fede
--- a/apps/mobile/locales/tr-TR.po
+++ b/apps/mobile/locales/tr-TR.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Ülke ekle
msgid "Add a fact"
msgstr "Bir bilgi ekleyin"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Bağlantı ekle"
diff --cc apps/mobile/locales/uk-UA.po
index d5062fd74,a01754661..45b85e8be
--- a/apps/mobile/locales/uk-UA.po
+++ b/apps/mobile/locales/uk-UA.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Додайте країну
msgid "Add a fact"
msgstr "Додати факт"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Додайте посилання"
diff --cc apps/mobile/locales/uz-UZ.po
index 27735c7a5,ded12fc06..9fb091de4
--- a/apps/mobile/locales/uz-UZ.po
+++ b/apps/mobile/locales/uz-UZ.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Mamlakat qo'shing
msgid "Add a fact"
msgstr "Fakt qo'shing"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Havolani qo'shing"
diff --cc apps/mobile/locales/vi-VN.po
index 5384a325d,c7f9edb3e..47e3563da
--- a/apps/mobile/locales/vi-VN.po
+++ b/apps/mobile/locales/vi-VN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "Thêm một quốc gia
msgid "Add a fact"
msgstr "Thêm một sự thật"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "Thêm một liên kết"
diff --cc apps/mobile/locales/zh-CN.po
index 11dd79744,1b19d7f66..bb514d2c3
--- a/apps/mobile/locales/zh-CN.po
+++ b/apps/mobile/locales/zh-CN.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "添加国家
msgid "Add a fact"
msgstr "添加一个事实"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "添加链接"
diff --cc apps/mobile/locales/zh-TW.po
index 740efe144,d62487a1f..0ef02fa4f
--- a/apps/mobile/locales/zh-TW.po
+++ b/apps/mobile/locales/zh-TW.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "添加國家
msgid "Add a fact"
msgstr "新增事實"
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr "添加連結"
diff --cc apps/mobile/locales/zu-ZA.po
index 5449f5d5c,faadfbee0..d939b3f7b
--- a/apps/mobile/locales/zu-ZA.po
+++ b/apps/mobile/locales/zu-ZA.po
@@@ -1003,10 -990,11 +1033,14 @@@ msgstr "
msgid "Add a fact"
msgstr ""
-#: src/features/documents/document-sheets.tsx
#: src/features/documents/new-document.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-sheets.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/features/write/basics-screen.tsx
msgid "Add a link"
msgstr ""
diff --cc apps/mobile/scripts/applications-summary.test.mjs
index cf265825c,20b802526..f6dcb8229
--- a/apps/mobile/scripts/applications-summary.test.mjs
+++ b/apps/mobile/scripts/applications-summary.test.mjs
@@@ -464,6 -477,67 +477,78 @@@ const appliedLaneMove =
};
assert.equal(nextStep.daysInStage(appliedLaneMove, new Date("2026-01-11")), 3);
assert.deepEqual(nextStep.getNextStep(appliedLaneMove, new Date("2026-01-11")), { kind: "no-reply", days: 10 });
+ // J4-20: Interview and Offer rows say what they're waiting on, never "Waiting to hear back".
+ const stageOnly = (status, extra = []) => ({
+ ...full[0],
+ status,
+ laneId: null,
+ followUpAt: null,
+ activity: [stage(`${status}-entry`, status, "2026-01-01"), ...extra],
+ });
+ const day11 = new Date("2026-01-11");
+ assert.deepEqual(nextStep.getNextStep(stageOnly("interview", [interview("past", "2026-01-05T10:00:00.000Z")]), day11), {
+ kind: "interview-feedback",
+ days: 10,
+ });
+ assert.deepEqual(nextStep.getNextStep(stageOnly("interview"), day11), { kind: "no-interview", days: 10 });
-assert.deepEqual(nextStep.getNextStep(stageOnly("offer"), day11), { kind: "offer", days: 10 });
++assert.deepEqual(nextStep.getNextStep(stageOnly("offer"), day11), {
++ kind: "offer",
++ days: 10,
++ respondBy: null,
++ overdue: false,
++ terms: true,
++});
+ assert.deepEqual(nextStep.getNextStep(stageOnly("screening"), day11), { kind: "waiting", days: 10 });
+ assert.equal(
- nextStep.describeNextStep({ kind: "offer", days: 10 }, { status: "offer", closedReason: null }, "en", "UTC").title,
++ nextStep.describeNextStep(
++ { kind: "offer", days: 10, respondBy: null, overdue: false, terms: true },
++ { status: "offer", closedReason: null },
++ "en",
++ "UTC",
++ ).title,
+ "Decide on the offer",
+ );
+ // J4-09: one rule for what needs the user, shared by Today and the Applications banner.
+ assert.deepEqual(
+ [
+ { kind: "no-reply", days: 12 },
+ { kind: "offer", days: 1 },
+ { kind: "interview", at: new Date("2026-01-15"), interview: {} },
+ { kind: "interview", at: new Date("2026-01-30"), interview: {} },
+ { kind: "follow-up", at: new Date("2026-01-11T12:00:00Z"), note: "", overdue: false },
+ { kind: "follow-up", at: new Date("2026-01-20"), note: "", overdue: false },
+ { kind: "waiting", days: 3 },
+ { kind: "not-applied" },
+ ].map((step) => [nextStep.needsAttention(step, day11), nextStep.needsFollowUp(step, day11)]),
+ [
+ [true, true],
+ [true, false],
+ [true, false],
+ [false, false],
+ [true, true],
+ [false, false],
+ [false, false],
+ [false, false],
+ ],
+ );
+ // J4-07: a group imported in one go orders by each row's own stage date, longest wait first.
+ const imported = [
+ ["niantic", 9],
+ ["bethesda", 35],
+ ["sucker-punch", 21],
+ ].map(([id, days]) => ({
+ ...stageOnly("applied"),
+ id,
+ updatedAt: new Date("2026-02-10"),
+ appliedAt: new Date(new Date("2026-02-10").getTime() - days * 86_400_000),
+ activity: [stage(`${id}-applied`, "applied", new Date(new Date("2026-02-10").getTime() - days * 86_400_000))],
+ }));
+ assert.deepEqual(
+ list
+ .groupApplications(imported, "next", "asc", new Date("2026-02-10"))
+ .flatMap((group) => group.data.map(({ id }) => id)),
+ ["bethesda", "sucker-punch", "niantic"],
+ );
for (const status of ["closed", "applied"]) {
const outcomes = insights.computeOutcomes(
[
@@@ -724,393 -798,6 +809,395 @@@ mutations.bulkDelete.onSuccess(undefine
assert.deepEqual(reminderCancellations.slice(-2), ["deleted", "deleted-bulk"]);
accountScope = "account-a";
queryClient.clear();
+// J2-18 / J2-07: stage moves with Undo show at once, write once on commit, and restore on Undo without a write.
+{
+ const client = new QueryClient();
+ const listKey = ["applications", "fixture"];
+ const detailKey = (id) => ["application", id, "fixture"];
+ const rows = [
+ { id: "a", status: "applied", laneId: null, closedReason: null, activity: [] },
+ {
+ id: "b",
+ status: "interview",
+ laneId: null,
+ closedReason: null,
+ activity: [{ id: "b-interview", type: "stage", stage: "interview", at: new Date(0) }],
+ },
+ ];
+ const pending = [];
+ const writes = [];
+ const zod = createRequire(new URL("../../../packages/schema/package.json", import.meta.url))("zod");
+ const applicationData = load("../../../packages/schema/src/applications/data.ts", {
+ zod,
+ "@reactive-resume/utils/timezone": load("../../../packages/utils/src/timezone.ts", { zod }),
+ });
+ const stageActions = load("features/applications/stage-actions.ts", {
+ "@lingui/core/macro": { t: String, plural: (value, forms) => forms.other.replace("#", String(value)) },
+ "@tanstack/react-query": { useQueryClient: () => client },
+ "expo-router": { useRouter: () => ({ push() {} }) },
+ react: { useMemo: (make) => make() },
+ "./lane-queries": {
+ useApplicationLanes: () => ({ lanes: schemaLanes.createDefaultApplicationLanes(), supported: false }),
+ },
+ "./lanes": lanes,
+ "./queries": {
+ applicationsListQueryKey: () => listKey,
+ applicationDetailQueryKey: detailKey,
+ stageScope: () => "fixture:account",
+ useApplicationMutations: () => ({
+ bulkUpdate: {
+ mutateAsync: async (input) => {
+ writes.push(input);
+ return { updated: input.ids.length };
+ },
+ },
+ }),
+ },
+ "./stages": stages,
+ "@reactive-resume/schema/applications/stage-baselines": load(
+ "../../../packages/schema/src/applications/stage-baselines.ts",
+ { "./data": applicationData },
+ ),
+ "@/auth/session": { useSession: () => ({ server: "fixture" }) },
+ "@/features/career/hooks": { useOffers: () => ({ data: undefined }) },
+ "@/features/career/undo": { withUndo: (options) => pending.push(options) },
+ "@/routes": { routes: { application: (id, tab) => `/applications/${id}/${tab}` } },
+ "@/ui": { showToast() {} },
+ });
+ client.setQueryData(listKey, rows);
+ client.setQueryData(detailKey("a"), rows[0]);
+ const move = stageActions.useMoveWithUndo();
+ const closed = schemaLanes.createDefaultApplicationLanes().find((lane) => lane.category === "closed");
+ move({
+ applications: [{ id: "a" }, { id: "b" }],
+ lane: closed,
+ supported: false,
+ closedReason: "accepted-other",
+ message: "2 closed",
+ });
+ assert.deepEqual(
+ client.getQueryData(listKey).map((row) => [row.status, row.closedReason]),
+ [
+ ["closed", "accepted-other"],
+ ["closed", "accepted-other"],
+ ],
+ );
+ assert.equal(client.getQueryData(detailKey("a")).status, "closed", "the open application shows the move too");
+ assert.equal(writes.length, 0, "nothing is written until the toast ends");
+ pending[0].restore();
+ assert.deepEqual(client.getQueryData(listKey), rows, "Undo puts every row back");
+ assert.equal(client.getQueryData(detailKey("a")).status, "applied");
+ move({ applications: [{ id: "b" }], lane: closed, supported: false, closedReason: "withdrew", message: "1 closed" });
+ await pending[1].commit();
+ assert.deepEqual(writes, [
+ {
+ ids: ["b"],
+ status: "closed",
+ closedReason: "withdrew",
+ // Its latest stage change goes along, so a move away and back since also counts as a change.
+ expectedStages: [{ id: "b", status: "interview", closedReason: null, stageEntryId: "b-interview" }],
+ },
+ ]);
+
+ // J2-18: Undo puts back only this move's rows, and only those still showing it; a later move and other rows stay.
+ client.setQueryData(listKey, [...rows, { id: "c", status: "saved", laneId: null, closedReason: null, activity: [] }]);
+ move({
+ applications: [{ id: "a" }, { id: "b" }],
+ lane: closed,
+ supported: false,
+ closedReason: "withdrew",
+ message: "2 closed",
+ });
+ client.setQueryData(listKey, (current) =>
+ current.map((row) =>
+ row.id === "a"
+ ? { ...row, status: "offer", closedReason: null }
+ : row.id === "c"
+ ? { ...row, status: "applied" }
+ : row,
+ ),
+ );
+ pending[2].restore();
+ assert.deepEqual(
+ client.getQueryData(listKey).map((row) => [row.id, row.status]),
+ [
+ ["a", "offer"],
+ ["b", "interview"],
+ ["c", "applied"],
+ ],
+ );
+ assert.equal(stageActions.offerHintFor(undefined, "a"), undefined, "unknown offers stay unknown");
+ assert.equal(stageActions.offerHintFor(new Map(), "a"), null, "loaded with none saved");
+}
+// J2-18: a second quick move of the same row is saved after the first, from what the first saved; an outside move wins.
+{
+ const client = new QueryClient();
+ const listKey = ["applications", "fixture"];
+ const zod = createRequire(new URL("../../../packages/schema/package.json", import.meta.url))("zod");
+ const applicationData = load("../../../packages/schema/src/applications/data.ts", {
+ zod,
+ "@reactive-resume/utils/timezone": load("../../../packages/utils/src/timezone.ts", { zod }),
+ });
+ // A server that keeps the API's contract: each move adds a stage change, a row that differs from the expected
+ // stage is left, and the moved rows come back as saved.
+ let changes = 0;
+ const server = { a: { status: "applied", laneId: null, closedReason: null, stageEntryId: null } };
+ const order = [];
+ const pending = [];
+ const toasts = [];
+ const stageBaselines = load("../../../packages/schema/src/applications/stage-baselines.ts", {
+ "./data": applicationData,
+ });
+ // As the app sets its query client up: single stage writes are followed.
+ stageBaselines.followStageWrites(
+ client,
+ () => "fixture:account",
+ (id) => client.getQueryData(listKey)?.find((row) => row.id === id),
+ );
+ const stageActions = load("features/applications/stage-actions.ts", {
+ "@lingui/core/macro": { t: String, plural: (value, forms) => forms.other.replace("#", String(value)) },
+ "@tanstack/react-query": { useQueryClient: () => client },
+ "expo-router": { useRouter: () => ({ push() {} }) },
+ react: { useMemo: (make) => make() },
+ "./lane-queries": {
+ useApplicationLanes: () => ({ lanes: schemaLanes.createDefaultApplicationLanes(), supported: false }),
+ },
+ "./lanes": lanes,
+ "./queries": {
+ applicationsListQueryKey: () => listKey,
+ applicationDetailQueryKey: (id) => ["application", id, "fixture"],
+ stageScope: () => "fixture:account",
+ useApplicationMutations: () => ({
+ bulkUpdate: {
+ mutateAsync: async (input) => {
+ order.push({ status: input.status, expected: input.expectedStages });
+ const saved = [];
+ for (const { id, ...expected } of input.expectedStages) {
+ const row = server[id];
+ if (expected.status !== row.status || expected.stageEntryId !== row.stageEntryId) continue;
+ server[id] = { ...row, status: input.status, stageEntryId: `change-${(changes += 1)}` };
+ saved.push({ id, ...server[id] });
+ }
+ return { updated: saved.length, stages: saved };
+ },
+ },
+ }),
+ },
+ "./stages": stages,
+ "@reactive-resume/schema/applications/stage-baselines": stageBaselines,
+ "@/auth/session": { useSession: () => ({ server: "fixture" }) },
+ "@/features/career/hooks": { useOffers: () => ({ data: undefined }) },
+ "@/features/career/undo": { withUndo: (options) => pending.push(options) },
+ "@/routes": { routes: { application: (id, tab) => `/applications/${id}/${tab}` } },
+ "@/ui": { showToast: (toast) => toasts.push(toast.message) },
+ });
+ const laneFor = (category) => schemaLanes.createDefaultApplicationLanes().find((lane) => lane.category === category);
+ const move = stageActions.useMoveWithUndo();
+ client.setQueryData(listKey, [{ id: "a", status: "applied", laneId: null, closedReason: null, activity: [] }]);
+ move({ applications: [{ id: "a" }], lane: laneFor("interview"), supported: false, message: "moved" });
+ move({ applications: [{ id: "a" }], lane: laneFor("offer"), supported: false, message: "moved again" });
+ // The second toast ends first; its write still waits for the first one's.
+ const second = pending[1].commit();
+ await pending[0].commit();
+ await second;
+ assert.deepEqual(
+ order.map(({ status }) => status),
+ ["interview", "offer"],
+ );
+ assert.deepEqual(order[1].expected, [{ id: "a", status: "interview", closedReason: null, stageEntryId: "change-1" }]);
+ assert.equal(server.a.status, "offer", "the later quick move is saved");
+ assert.deepEqual(toasts, [], "nothing is reported as changed in the meantime");
+ // A third move before the list reloads starts from what the second saved, not the list's older timeline.
+ move({ applications: [{ id: "a" }], lane: laneFor("interview"), supported: false, message: "back to interview" });
+ await pending[2].commit();
+ assert.deepEqual(order[2].expected, [{ id: "a", status: "offer", closedReason: null, stageEntryId: "change-2" }]);
+ assert.equal(server.a.status, "interview");
+
+ // An outside move away and back inside the window still wins over a move from this app.
+ move({
+ applications: [{ id: "a" }],
+ lane: laneFor("closed"),
+ supported: false,
+ closedReason: "withdrew",
+ message: "closed",
+ });
+ server.a = { ...server.a, stageEntryId: "outside-change" };
+ await pending[3].commit();
+ assert.equal(server.a.status, "interview");
+ assert.deepEqual(toasts, ["1 applications changed in the meantime, so they keep their newer stage"]);
+
+ // A single move on its way (the app's update mutation, held at a gate), then a bulk move: the bulk move waits for
+ // the single one's answer and starts from it. A failed single move leaves the list as the start.
+ const single = (id, status, gate) =>
+ new MutationObserver(client, {
+ mutationKey: [["applications", "update"], { type: "mutation" }],
+ mutationFn: async (input) => {
+ await gate;
+ const row = server[input.id];
+ server[input.id] = { ...row, status: input.status, stageEntryId: `change-${(changes += 1)}` };
+ order.push({ status: `single ${input.status}`, saved: server[input.id].stageEntryId });
+ return {
+ id,
+ ...server[input.id],
+ activity: [{ id: server[input.id].stageEntryId, type: "stage", at: new Date() }],
+ };
+ },
+ }).mutate({ id, status });
+ let open = () => {};
+ let fail = () => {};
+ server.b = { status: "applied", laneId: null, closedReason: null, stageEntryId: null };
+ server.c = { status: "applied", laneId: null, closedReason: null, stageEntryId: null };
+ client.setQueryData(listKey, [
+ { id: "b", status: "applied", laneId: null, closedReason: null, activity: [] },
+ { id: "c", status: "applied", laneId: null, closedReason: null, activity: [] },
+ ]);
+ order.length = 0;
+ const singleB = single("b", "interview", new Promise((resolve) => (open = resolve)));
+ const singleC = single("c", "interview", new Promise((_resolve, reject) => (fail = reject))).catch(() => {});
+ move({ applications: [{ id: "b" }, { id: "c" }], lane: laneFor("offer"), supported: false, message: "2 moved" });
+ const bulk = pending.at(-1).commit();
+ open();
+ fail(new Error("offline"));
+ await Promise.all([singleB, singleC, bulk]);
+ assert.deepEqual(order.at(-1).expected, [
+ { id: "b", status: "interview", closedReason: null, stageEntryId: order[0].saved },
+ { id: "c", status: "applied", closedReason: null, stageEntryId: null },
+ ]);
+ assert.deepEqual([server.b.status, server.c.status], ["offer", "offer"], "the later bulk move is saved for both");
+
+ // Mark as applied (the workspace's mutation, held), then a bulk move: it waits for the stage Mark as applied saved.
+ server.d = { status: "saved", laneId: null, closedReason: null, stageEntryId: "d-saved" };
+ client.setQueryData(listKey, [
+ {
+ id: "d",
+ status: "saved",
+ laneId: null,
+ closedReason: null,
+ activity: [{ id: "d-saved", type: "stage", at: new Date(0) }],
+ },
+ ]);
+ order.length = 0;
+ let openSubmit = () => {};
+ const submitGate = new Promise((resolve) => (openSubmit = resolve));
+ const submitted = new MutationObserver(client, {
+ mutationKey: [["career", "submitApplication"], { type: "mutation" }],
+ mutationFn: async (input) => {
+ await submitGate;
+ server[input.applicationId] = { ...server[input.applicationId], status: "applied", stageEntryId: "d-applied" };
+ order.push({ status: "submit" });
+ return { stages: [{ id: input.applicationId, ...server[input.applicationId] }] };
+ },
+ }).mutate({ applicationId: "d" });
+ move({ applications: [{ id: "d" }], lane: laneFor("interview"), supported: false, message: "moved" });
+ const afterSubmit = pending.at(-1).commit();
+ openSubmit();
+ await Promise.all([submitted, afterSubmit]);
+ assert.deepEqual(order.at(-1).expected, [
+ { id: "d", status: "applied", closedReason: null, stageEntryId: "d-applied" },
+ ]);
+ assert.equal(server.d.status, "interview", "the bulk move after Mark as applied is saved");
+ // A single answer can contain a later write whose display date is earlier than the old list's noon date.
+ const dated = {
+ id: "dated",
+ status: "applied",
+ laneId: null,
+ closedReason: null,
+ activity: [{ id: "noon", type: "stage", stage: "applied", at: new Date("2026-11-01T12:00:00Z"), writeSequence: 1 }],
+ };
+ server.dated = { status: "applied", laneId: null, closedReason: null, stageEntryId: "noon" };
+ client.setQueryData(listKey, [dated]);
+ await new MutationObserver(client, {
+ mutationKey: [["applications", "update"], { type: "mutation" }],
+ mutationFn: async () => {
+ server.dated = { ...server.dated, status: "interview", stageEntryId: "morning" };
+ return {
+ ...dated,
+ status: "interview",
+ activity: [
+ ...dated.activity,
+ { id: "morning", type: "stage", stage: "interview", at: new Date("2026-11-01T08:00:00Z"), writeSequence: 2 },
+ ],
+ };
+ },
+ }).mutate({ id: "dated", status: "interview" });
+ await new Promise((resolve) => setTimeout(resolve, 0));
+ move({ applications: [{ id: "dated" }], lane: laneFor("offer"), supported: false, message: "moved" });
+ await pending.at(-1).commit();
+ assert.equal(server.dated.status, "offer", "the canonical write identity survives an older displayed date");
+ assert.equal(order.at(-1).expected[0].stageEntryId, "morning");
+}
+
+// J2-03: copies start from the base resume, not the job copy edited last.
+{
+ const { defaultCopySource } = load("features/documents/filter.ts");
+ const base = { id: "base", updatedAt: new Date("2026-10-30T09:00:00Z"), application: null };
+ const copy = {
+ id: "copy",
+ updatedAt: new Date("2026-10-30T12:00:00Z"),
+ application: { id: "j", company: "N", role: "R" },
+ };
+ assert.equal(defaultCopySource([copy, base])?.id, "base");
+ assert.equal(defaultCopySource([copy, { ...copy, id: "older", updatedAt: new Date("2026-01-01") }])?.id, "copy");
+ assert.equal(defaultCopySource([]), undefined);
+}
+
+// J2-17: at Offer the offer leads, not an interview booked before it.
+{
+ const now = new Date("2026-10-30T12:00:00Z");
+ const atOffer = {
+ status: "offer",
+ laneId: null,
+ appliedAt: new Date("2026-10-01T00:00:00Z"),
+ followUpAt: null,
+ followUpNote: null,
+ closedReason: null,
+ activity: [
+ stage("s1", "offer", new Date("2026-10-29T00:00:00Z")),
+ interview("earlier", new Date("2026-11-04T14:30:00Z")),
+ ],
+ };
- assert.deepEqual(nextStep.getNextStep(atOffer, now, [], null), {
++ assert.deepEqual(nextStep.getNextStep(atOffer, now, [], "UTC", null), {
+ kind: "offer",
++ days: 1,
+ respondBy: null,
+ overdue: false,
+ terms: false,
+ });
+ const deadline = "2026-11-12T17:00:00Z";
- assert.deepEqual(nextStep.getNextStep(atOffer, now, [], { respondBy: deadline }), {
++ assert.deepEqual(nextStep.getNextStep(atOffer, now, [], "UTC", { respondBy: deadline }), {
+ kind: "offer",
++ days: 1,
+ respondBy: new Date(deadline),
+ overdue: false,
+ terms: true,
+ });
+ const title = (offer) =>
- nextStep.describeNextStep(nextStep.getNextStep(atOffer, now, [], offer), atOffer, "en-US", "UTC").title;
++ nextStep.describeNextStep(nextStep.getNextStep(atOffer, now, [], "UTC", offer), atOffer, "en-US", "UTC").title;
+ assert.equal(title(null), "Add the offer's terms");
+ assert.equal(title({ respondBy: null }), "Decide on the offer");
+ assert.equal(title(undefined), "Decide on the offer");
+ assert.equal(title({ respondBy: deadline }), "Reply to the offer");
+ assert.equal(
- nextStep.getNextStep({ ...atOffer, status: "interview" }, now, [], null).kind,
++ nextStep.getNextStep({ ...atOffer, status: "interview" }, now, [], "UTC", null).kind,
+ "interview",
+ "earlier stages keep their interview step",
+ );
+ // A follow-up set at Offer comes before an interview booked tomorrow, and after the reply deadline.
+ const followUpAt = new Date("2026-11-01T09:00:00Z");
+ const withFollowUp = {
+ ...atOffer,
+ followUpAt,
+ followUpNote: "Ask about the start date",
+ activity: [...atOffer.activity, interview("tomorrow", new Date("2026-10-31T10:00:00Z"))],
+ };
- assert.deepEqual(nextStep.getNextStep(withFollowUp, now, [], null), {
++ assert.deepEqual(nextStep.getNextStep(withFollowUp, now, [], "UTC", null), {
+ kind: "follow-up",
+ at: followUpAt,
+ note: "Ask about the start date",
+ overdue: false,
+ });
- assert.equal(nextStep.getNextStep(withFollowUp, now, [], { respondBy: deadline }).kind, "offer");
++ assert.equal(nextStep.getNextStep(withFollowUp, now, [], "UTC", { respondBy: deadline }).kind, "offer");
+}
console.log(
"PASS native application summaries, lanes/history, old-server write guards, cache rollback and authoritative reminder cancellation",
);
diff --cc apps/mobile/scripts/experience.test.mjs
index b92853e53,3223b4149..ba3c1ee96
--- a/apps/mobile/scripts/experience.test.mjs
+++ b/apps/mobile/scripts/experience.test.mjs
@@@ -109,7 -108,7 +109,8 @@@ const nodes = (tree) =
: [tree, ...nodes(tree.props.children)];
const render = (component, props) => {
cursor = 0;
-- return component(props);
++ const tree = component(props);
++ return tree?.type?.name === "ScopedOfferEntry" ? tree.type(tree.props) : tree;
};
const reset = () => {
hooks = [];
@@@ -202,6 -201,6 +203,7 @@@ const exportBoundary =
printResume: async () => calls.push("print"),
};
const { DownloadTab } = load("features/share/download.tsx", {
++ "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
"expo-web-browser": { openBrowserAsync: async (url) => calls.push({ browser: url }) },
"@reactive-resume/resume/ats": { lintResumeForAts: () => ({ findings: [] }) },
"@reactive-resume/resume/cover-letter": {},
@@@ -211,7 -210,7 +213,6 @@@
"./model": { safeFileName },
"@/api/client": { client: {} },
"@/draft": draftBoundary,
-- "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
});
const { ExportScreen } = load("features/share/export-screen.tsx", {
"expo-network": { useNetworkState: () => ({ isConnected: true }) },
@@@ -323,15 -333,11 +335,19 @@@ const defaultLanes = schemaLanes.create
const laneQuery = {
useApplicationLanes: () => ({ lanes: defaultLanes, active: defaultLanes, supported: false, ready: true }),
};
- const nextSteps = load("features/applications/next-step.ts", { "./stages": stages, "./history": history });
+// Offer hints for Next step: none known unless a case sets them.
+let offerHint;
+const stageActionsStub = {
+ useOfferHints: () => undefined,
+ offerHintFor: () => offerHint,
+ useStageMovedToast: () => (moved, lane) => calls.push({ moved: moved.id, lane: lane.category }),
+ acceptedStage: () => null,
+};
+ const nextSteps = load("features/applications/next-step.ts", {
+ "@reactive-resume/schema/applications/next-step": domainNextStep,
+ "./stages": stages,
+ "./history": history,
+ });
const time = { locale: "en-US", timeZone: "UTC", when: String, time: String, day: String, utcDay: String };
const { StageStepper, NextStepCard, WhatYouSent } = load("features/application-detail/sections.tsx", {
"@tanstack/react-query": {},
@@@ -364,7 -369,7 +380,11 @@@
"@/features/applications/queries": {
useApplicationMutations: () => ({ update: { isPending: false, mutate: (input) => calls.push(input) } }),
},
-- "@/features/reminders": {},
++ "@/features/reminders": {
++ ...load("features/reminders/ics.ts"),
++ zonedParts: () => ({ date: "2026-11-01" }),
++ shareIcs: async (event, file) => calls.push({ event, file }),
++ },
"@/features/share/files": {},
});
const application = {
@@@ -441,23 -446,6 +461,31 @@@ for (const [overrides, label, destinati
assert.equal(calls.at(-1), `/applications/job-a/${destination}`);
if (!overrides.status) assert.ok(!nodes(tree).some((node) => node.props.label === "Schedule an interview"));
}
+// J2-17: at Offer, Next step asks for the offer's terms (opening the form), then compares once they're saved.
+const atOffer = {
+ ...application,
+ status: "offer",
+ activity: [{ id: "earlier", type: "interview", kind: "behavioral", at: "2099-01-01T12:00:00Z", durationMinutes: 60 }],
+};
+offerHint = null;
+reset();
+tree = render(NextStepCard, { application: atOffer, onOpenInterview() {} });
+control(tree, "Add the offer's terms").onPress();
+assert.deepEqual(calls.at(-1), { pathname: "/applications/job-a/messages", params: { offer: "new" } });
+offerHint = { respondBy: null };
+reset();
+tree = render(NextStepCard, { application: atOffer, onOpenInterview() {} });
+control(tree, "Compare offers").onPress();
+assert.equal(calls.at(-1), "/career/offers");
++offerHint = { respondBy: "2026-11-02T01:00:00Z" };
++reset();
++tree = render(NextStepCard, { application: atOffer, onOpenInterview() {} });
++control(tree, "Add to calendar").onPress();
++await settle();
++assert.equal(calls[0].event.uid, "offer-job-a");
++assert.equal(calls[0].event.start.toISOString(), new Date(offerHint.respondBy).toISOString());
++assert.ok(calls[0].file.endsWith("2026-11-01.ics"), "calendar filename uses account day");
+offerHint = undefined;
console.log(
"PASS file-first sharing, single-flight/current-document/offline PDF export, fallback, explicit stage edits and state-aware next actions",
);
@@@ -477,12 -466,12 +506,17 @@@ const { ApplicationsListScreen } = load
"./lane-queries": laneQuery,
"./lanes": lanes,
"./list": listLogic,
- "./next-step": { getNextStep: () => ({}), describeNextStep: () => ({ title: "Saved" }) },
+ "./stage-actions": {
+ offerHintFor: () => undefined,
+ useOfferHints: () => undefined,
+ useMoveWithUndo: () => (input) => calls.push({ moveWithUndo: input }),
+ },
+ "./next-step": {
+ getNextStep: () => (needsFollowUpFixture ? { kind: "no-reply", days: 20 } : {}),
+ describeNextStep: () => ({ title: "Saved" }),
+ needsFollowUp: () => needsFollowUpFixture,
+ },
+ "expo-sqlite/kv-store": { getItemSync: () => null, setItemSync: () => {} },
"./queries": {
useApplications: () => ({ data: applications }),
useApplicationMutations: () => ({}),
@@@ -844,19 -868,25 +913,31 @@@ const { OfferEntry } = load("features/c
},
}),
client: { career: { createOffer: async (input) => calls.push(input) } },
- useOffers: () => ({ data: [] }),
+ useOffers: () => ({ data: savedOffers }),
},
+ "./offer-compare": { formatMoney: (_locale, currency, amount) => `${currency} ${amount}` },
"./shared": { EditorSheet: "EditorSheet", LoadState: "LoadState" },
"@/features/application-detail/date-field": { WallClockField: "WallClockField" },
+ "@/features/applications/lane-queries": laneQuery,
+ "@/features/applications/lanes": lanes,
- "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
+ "@/features/applications/stage-actions": {
+ useMoveWithUndo: () => (input) => calls.push({ moveWithUndo: input }),
+ },
+ "@/features/applications/queries": { useApplications: () => offerApplications },
});
reset();
+ offerApplications = { isPending: true };
+ assert.equal(render(OfferEntry, {}).type, "LoadState", "unknown metadata offers no ready action");
+ offerApplications = { isError: true };
+ assert.equal(render(OfferEntry, {}).type, "LoadState", "failed metadata stays retryable, not empty");
+ offerApplications = { isError: true, data: [] };
+ assert.equal(render(OfferEntry, {}).type, "LoadState", "failed refresh with cached empty metadata stays retryable");
+ offerApplications = { data: [] };
+ // With no application to attach it to, Add offer leads to saving a job first.
+ control(render(OfferEntry, {}), "Add an application first").onPress();
+ assert.deepEqual(calls, ["/applications?create=1"]);
+ assert.ok(!nodes(render(OfferEntry, {})).some((node) => node.props.label === "Add offer"));
+ reset();
const entryView = () => render(OfferEntry, { application: { id: "job", company: "Fictional Labs", role: "Engineer" } });
control(entryView(), "Add offer").onPress();
const formElement = nodes(entryView()).find((node) => typeof node.type === "function");
@@@ -898,24 -945,6 +996,24 @@@ control(offerView(), "Respond by").onCh
control(offerView(), "Save offer").onPress();
await settle();
assert.equal(calls[0].respondBy, null, "a genuinely blank deadline needs no loaded profile");
- // J2-06: saving an offer for an application before Offer moves it there, with Undo.
- calls.length = 0;
++// J2-06: a new application scope starts with fresh component state. Saving moves it to Offer, with Undo.
++reset();
+offerProfile = { isSuccess: true, isPending: false, isError: false };
+const appliedEntry = render(OfferEntry, {
+ application: { id: "job", company: "Fictional Labs", role: "Engineer", status: "applied" },
+ initialOpen: true,
+});
+const appliedForm = nodes(appliedEntry).find((node) => typeof node.type === "function" && node.props.onClose);
+assert.ok(appliedForm, "initialOpen shows the form at once");
+reset();
+const appliedView = () => render(appliedForm.type, { ...appliedForm.props, onClose() {} });
+control(appliedView(), "Currency").onChangeText("EUR");
+control(appliedView(), "Save offer").onPress();
+await settle();
+const moved = calls.find((call) => call?.moveWithUndo)?.moveWithUndo;
+assert.deepEqual(moved?.applications, [{ id: "job" }]);
+assert.equal(moved?.lane.category, "offer");
+assert.equal(moved?.message, "Offer saved. Fictional Labs moved to Offer.");
console.log("PASS native offer validation, draft preservation, profile loading/failure and blank deadline");
// Native Save must stay reachable for validation, then focus the actual missing input.
@@@ -1274,6 -1309,6 +1378,7 @@@ const discovered = ["Platform engineer"
discoverySource: null,
}));
const { TodayScreen } = load("features/career/today.tsx", {
++ "@/features/applications/stage-actions": { useOfferHints: () => undefined, offerHintFor: () => undefined },
"expo-web-browser": { openBrowserAsync: async () => {} },
"./hooks": {
client: {
@@@ -1364,197 -1399,551 +1469,612 @@@ for (const kind of ["resume", "letter"]
assert.equal(calls.at(-1), "use-theirs");
}
console.log("PASS native older-draft refusal explains cause and offers only copy or saved-version recovery");
- // Writing publishes the persisted query, never a completed mutation's discarded response.
+
+ let headerSaved = { data: undefined, isPending: true, isError: false, refetch: () => calls.push("retry-saved") };
+ const { WorkspaceScreen } = load("features/workspace/shell.tsx", {
+ "@reactive-resume/schema/career": careerSchema,
+ "./coach-sheet": { CoachSheet: "CoachSheet" },
+ "./hooks": {
+ useSavedItems: () => headerSaved,
+ useWorkspace: () => ({ isPending: false, query: { isError: false, data: {}, refetch: () => {} } }),
+ },
+ "./logic": { currentInterview: () => undefined },
+ "@/features/application-detail/hooks": { useNow: () => new Date(), useUserTime: () => time },
+ "@/features/application-detail/interview-sheet": { InterviewSheet: "InterviewSheet" },
+ "@/features/applications/error": { applicationError: String },
+ "@/features/applications/lane-queries": laneQuery,
+ "@/features/applications/lanes": lanes,
+ "@/features/applications/queries": {
+ useApplication: () => ({
+ data: { ...application, status: "offer", company: "Context job", role: "Engineer" },
+ isPending: false,
+ }),
+ },
+ "@/routes": { routes: { ...routes, career: (tab) => `/career/${tab}` } },
+ "@/shell/workspace-chrome": { useWorkspaceChrome: () => {} },
+ "@/ui/keyboard": { useKeyboardScrollSpace: () => 0 },
+ "react-native-keyboard-controller": { KeyboardAwareScrollView: "KeyboardAwareScrollView" },
+ });
+ const workspaceHeader = () => {
+ reset();
+ const screen = render(WorkspaceScreen, { tab: "messages", children: () => null });
+ const header = nodes(screen).find((node) => node.type?.name === "Header");
+ assert.ok(header);
+ return { screen, header: render(header.type, header.props) };
+ };
+ assert.equal(control(workspaceHeader().header, "Compare offers").disabled, true);
+ headerSaved = { ...headerSaved, isPending: false, isError: true };
+ const failedHeader = workspaceHeader();
+ assert.equal(control(failedHeader.header, "Compare offers").disabled, true);
+ assert.ok(control(failedHeader.screen, "Try again"));
+ headerSaved = { ...headerSaved, isError: false, data: [{ id: "context-latest", data: { kind: "offer" } }] };
+ const loadedHeader = control(workspaceHeader().header, "Compare offers");
+ assert.equal(loadedHeader.disabled, false);
+ loadedHeader.onPress();
+ assert.deepEqual(calls.at(-1), { pathname: "/career/offers", params: { a: "context-latest" } });
+ console.log("PASS native contextual offers gated cold/error and retain latest offer when loaded");
+
+ reset();
+ const scheduleWrites = [];
+ const scheduleRow = {
+ id: "follow-up-a",
+ kind: "follow-up",
+ applicationId: application.id,
+ nextRunAt: new Date("2030-01-03T09:15:37.123Z"),
+ timezone: "UTC",
+ query: "Original note",
+ intervalDays: null,
+ enabled: true,
+ email: false,
+ };
+ const ready = (data) => ({ data, isPending: false, isError: false });
+ const scheduleTime = { timeZone: "UTC", locale: "en-US", profile: ready({ emailVerified: true }) };
+ const scheduleCareer = { profile: ready({ targetRoles: [], locations: [] }) };
+ const scheduleApi = { career: { saveSchedule: async (input) => scheduleWrites.push(input) } };
+ const scheduling = load("features/career/scheduling.ts", { "@reactive-resume/utils/timezone": timeParser });
+ const { ScheduleSheet } = load("features/career/schedule-sheet.tsx", {
+ "@react-native-community/datetimepicker": { default: "DateTimePicker" },
+ "@tanstack/react-query": { useQuery: () => ready({ search: false, provider: null }) },
+ "@reactive-resume/schema/career": careerSchema,
+ "@reactive-resume/utils/timezone": timeParser,
+ "./hooks": {
+ client: scheduleApi,
+ useCareerAction: () => ({
+ pending: false,
+ run: async (operation, done) => {
+ await operation();
+ done();
+ },
+ }),
+ useCareerQueries: () => scheduleCareer,
+ useCareerTime: () => scheduleTime,
+ useNow: () => new Date("2030-01-04T12:00:00Z"),
+ },
+ "./scheduling": scheduling,
+ "./shared": { EditorSheet: "EditorSheet", LoadState: "LoadState", SwitchRow: "SwitchRow" },
+ "@/api/client": { orpc: { webAccess: { status: { queryOptions: () => ({}), key: () => [] } } } },
+ "@/api/flags": { useFlags: () => ready({ careerSchedulingEnabled: true, smtpEnabled: false }) },
+ "@/auth/session": { useSession: () => ({ status: "signed-in", server: "https://example.test" }) },
+ "@/features/ai/providers": {
+ AIProviderSetupSheet: "AIProviderSetupSheet",
+ useHasAIProvider: () => ({ usableProviders: [], defaultProvider: null, hasAIProvider: false }),
+ },
+ "@/features/applications/queries": { useApplications: () => ready([{ ...application, status: "applied" }]) },
+ });
+ const scheduleForm = render(ScheduleSheet, { schedule: scheduleRow, kind: "follow-up", onClose() {}, onDelete() {} });
+ let scheduleTree = render(scheduleForm.type, scheduleForm.props);
+ control(scheduleTree, "Follow-up note").onChangeText("Updated completed note");
+ scheduleTree = render(scheduleForm.type, scheduleForm.props);
+ control(scheduleTree, "Save schedule").onPress();
+ await settle();
+ assert.equal(scheduleWrites.length, 1, "past unchanged occurrence remains editable");
+ assert.equal(scheduleWrites[0].query, "Updated completed note");
+ assert.equal(scheduleWrites[0].nextRunAt.toISOString(), "2030-01-03T09:15:37.123Z");
+ control(scheduleTree, "Time (HH:mm)").onChangeText("09:16");
+ scheduleTree = render(scheduleForm.type, scheduleForm.props);
+ control(scheduleTree, "Save schedule").onPress();
+ await settle();
+ assert.equal(scheduleWrites.length, 1, "changed past time must still be rejected");
+ assert.match(JSON.stringify(render(scheduleForm.type, scheduleForm.props)), /Pick a time after now/);
+ console.log("PASS native Today past note edit preserves exact seconds and changed-past-time guard");
+ {
+ // Writing publishes the persisted query, never a completed mutation's discarded response.
+ reset();
+ let savedWriting = null;
+ let publishedWriting = null;
+ let resolveOld;
+ let resolveNew;
+ let writingRequest = 0;
+ const writingCleanup = [];
+ const queryKey = ({ input }) => ["writing", input.resumeId];
+ const { Writing } = load("features/check/writing.tsx", {
+ react: {
+ ...react,
+ useEffect: (effect) => {
+ const cleanup = effect();
+ if (cleanup) writingCleanup.push(cleanup);
+ },
+ },
+ "@tanstack/react-query": {
+ useQuery: () => ({ data: savedWriting }),
+ useQueryClient: () => ({ invalidateQueries: async (options) => calls.push(options.queryKey) }),
+ },
+ "@reactive-resume/resume/markdown": { buildMarkdown: () => "Fictional original" },
+ "@reactive-resume/resume/proposals": {
+ collectPassages: () => [{ id: "p1", location: "Summary", text: "Fictional original" }],
+ },
+ "./actions": {},
+ "./issues": { getSectionName: () => "Summary" },
+ "./review": { mapWritingReview: () => ({ proposals: [], notes: [] }) },
+ "@/draft": { useResumeStore: (select) => select({ proposalApplications: {} }) },
+ "@/api/client": {
+ client: {
+ ai: {
+ atsReview: () =>
+ new Promise((resolve) => {
+ if (++writingRequest === 1) resolveOld = resolve;
+ else resolveNew = resolve;
+ }),
+ },
+ },
+ orpc: { ai: { writingReview: { queryOptions: queryKey, queryKey } } },
+ },
+ "@/features/ai/providers": {
+ AIProviderSetupSheet: "Setup",
+ useHasAIProvider: () => ({
+ usableProviders: [{ id: "provider" }],
+ defaultProvider: { id: "provider" },
+ hasAIProvider: true,
+ }),
+ },
+ "@/features/ai/report-content": { ReportAiContent: "Report" },
+ });
+ const writingProps = {
+ id: "resume-a",
+ data: {},
+ issues: [],
+ offline: false,
+ locked: false,
+ review: null,
+ setReview: (value) => {
+ publishedWriting = value;
+ },
+ };
+ control(render(Writing, writingProps), "Review writing").onPress();
+ await settle();
+ for (const cleanup of writingCleanup.splice(0)) cleanup();
+ reset();
+ control(render(Writing, writingProps), "Review writing").onPress();
+ await settle();
+ resolveNew({ summary: "Unsaved response" });
+ await settle();
+ assert.equal(publishedWriting, null, "Mutation results cannot manufacture a published review");
+ savedWriting = {
+ inputText: "Fictional original",
+ passages: [],
+ review: { summary: "Latest saved", strengths: [], suggestions: [] },
+ reviewedAt: new Date("2030-01-01T00:00:02Z"),
+ };
+ render(Writing, writingProps);
+ assert.equal(publishedWriting.summary, "Latest saved");
+ resolveOld({ summary: "Older discarded response" });
+ await settle();
+ assert.equal(publishedWriting.summary, "Latest saved");
+ assert.deepEqual(
+ calls,
+ [["writing", "resume-a"]],
+ "An unmounted canceled request cannot publish or invalidate a different document",
+ );
+ console.log("PASS native Writing authoritative publication and unmounted request order");
+
+ reset();
+ let linkedResume;
+ const { FitTab } = load("features/workspace/tabs/fit.tsx", {
+ "@tanstack/react-query": {
+ useQuery: (options) =>
+ options.kind === "evidence"
+ ? { data: { usable: false } }
+ : { data: [{ id: "chosen", type: "resume", name: "Chosen fictional resume" }] },
+ useQueryClient: () => ({ invalidateQueries: async () => {} }),
+ useMutation: () => ({
+ mutate: (input) => {
+ linkedResume = input.resumeId;
+ },
+ }),
+ },
+ "expo-crypto": {},
+ "../hooks": {
+ useSavedItems: () => ({ data: [] }),
+ useWorkspace: () => ({ data: {} }),
+ useGenerate: () => ({ run: () => assert.fail("No evidence cannot generate") }),
+ useFacts: () => ({ data: [] }),
+ latest: () => undefined,
+ },
+ "../parts": {
+ EmptyNotice: "EmptyNotice",
+ AiNotice: "AiNotice",
+ useWorking: (_pending, _steps, label) => label,
+ workingSteps: () => [],
+ },
+ "../shell": { WorkspaceScreen: "WorkspaceScreen" },
+ "@/api/client": {
+ orpc: {
+ career: {
+ fitEvidence: { queryOptions: () => ({ kind: "evidence" }) },
+ forgetFact: { mutationOptions: () => ({}) },
+ },
+ documents: { list: { queryOptions: () => ({ kind: "documents" }) } },
+ applications: { update: { mutationOptions: () => ({}) } },
+ },
+ },
+ "@/features/ai/providers": { useHasAIProvider: () => ({ defaultProvider: { id: "provider" } }) },
+ });
+ const fitProps = { application: { id: "app" } };
+ const fitComponent = FitTab().props.children[0](fitProps).type;
+ let fitTree = render(fitComponent, fitProps);
+ assert.equal(control(fitTree, "Check fit").disabled, true);
+ assert.ok(control(fitTree, "Add facts"));
+ control(fitTree, "Resume to use as evidence").onChange("chosen");
+ fitTree = render(fitComponent, fitProps);
+ control(fitTree, "Use this resume as evidence").onPress();
+ assert.equal(linkedResume, "chosen", "Fit links only the user's explicit resume choice");
+ console.log("PASS native Fit uses filtered evidence and explicit resume selection");
+
+ // Exercise the shipped preparation form, including setup visibility and retry callbacks.
+ let scheduleAi;
+ let scheduleRetries = 0;
+ const scheduleHooks = {
+ useCareerTime: () => ({ profile: { data: { emailVerified: true } }, timeZone: "UTC", locale: "en-US" }),
+ useCareerQueries: () => ({ profile: { data: { targetRoles: [], locations: [] } } }),
+ useCareerAction: () => ({ pending: false }),
+ useNow: () => new Date("2026-10-31T12:00:00Z"),
+ };
+ const { ScheduleSheet } = load("features/career/schedule-sheet.tsx", {
+ "@react-native-community/datetimepicker": { default: "DateTimePicker" },
+ "@tanstack/react-query": { useQuery: () => ({ data: { search: true, provider: null } }) },
+ "@reactive-resume/schema/career": {},
+ "@reactive-resume/utils/timezone": { fromZonedDateTime: () => new Date("2026-11-02T12:00:00Z") },
+ "./hooks": scheduleHooks,
++ "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
+ "./scheduling": {
+ collectInterviews: () => [],
+ nextCareerRun: () => new Date("2026-11-02T12:00:00Z"),
+ toZoned: () => ({ date: "2026-11-02", time: "12:00" }),
+ },
+ "./shared": { EditorSheet: "EditorSheet", SwitchRow: "SwitchRow" },
+ "@/api/client": { orpc: { webAccess: { status: { queryOptions: () => ({}), key: () => [] } } } },
+ "@/api/flags": { useFlags: () => ({ data: { careerSchedulingEnabled: true } }) },
+ "@/auth/session": { useSession: () => ({ status: "signed-in", server: "https://fictional.example" }) },
+ "@/features/ai/providers": { useHasAIProvider: () => scheduleAi },
+ "@/features/ai/web-access": {},
- "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
+ });
+ for (const state of ["loading", "error", "empty", "configured"]) {
+ reset();
+ const provider = { id: "fictional", label: "Fictional connection" };
+ scheduleAi = {
+ isLoading: state === "loading",
+ isUnavailable: state === "loading" || state === "error",
+ error: state === "error" ? new Error("Offline") : null,
+ usableProviders: state === "configured" ? [provider] : [],
+ defaultProvider: state === "configured" ? provider : null,
+ hasAIProvider: state === "configured",
+ retry: () => scheduleRetries++,
+ };
+ const form = render(ScheduleSheet, { schedule: null, kind: "prepare", onClose() {}, onDelete() {} });
+ const formTree = render(form.type, form.props);
+ assert.equal(
+ nodes(formTree).some((node) => node.props.label === "Connect AI provider"),
+ state === "empty" || state === "configured",
+ `Setup availability for ${state}`,
+ );
+ if (state === "error") control(formTree, "Retry AI connections").onPress();
+ if (state === "configured") assert.equal(control(formTree, "AI connection").value, provider.id);
+ }
+ assert.equal(scheduleRetries, 1);
+ console.log("PASS native preparation distinguishes loading/error from empty/configured AI lookup");
+ }
+
+ const { CustomFields } = load("features/write/basics-screen.tsx", {
+ "expo-image": { Image: "Image" },
+ "@reactive-resume/utils/string": { generateId: () => "new-field" },
+ "./entry-fields": { BoundText: "BoundText", LinkField: "LinkField", useValidators: () => ({}) },
+ "./entry-screen": { EditorScreen: "EditorScreen" },
+ "./hooks": { useWriteData: () => null },
+ "./pickers": { IconPickerSheet: "IconPickerSheet", PromptSheet: "PromptSheet" },
+ "./picture-screen": { resolvePictureUrl: () => "" },
+ "@/auth/session": { useSession: () => ({}) },
+ "@/draft": { useIsResumeLocked: () => false, useResumeStore: {} },
+ });
reset();
- let savedWriting = null;
- let publishedWriting = null;
- let resolveOld;
- let resolveNew;
- let writingRequest = 0;
- const writingCleanup = [];
- const queryKey = ({ input }) => ["writing", input.resumeId];
- const { Writing } = load("features/check/writing.tsx", {
- react: {
- ...react,
- useEffect: (effect) => {
- const cleanup = effect();
- if (cleanup) writingCleanup.push(cleanup);
+ const removedField = { id: "field-one", icon: "acorn", text: "Portfolio", link: "https://portfolio.example/" };
+ let fieldDocument = { headline: "Before", fields: [removedField] };
+ const fieldHistory = [];
+ const updateFields = (mutate) => {
+ fieldHistory.push(structuredClone(fieldDocument));
+ fieldDocument = structuredClone(fieldDocument);
+ mutate(fieldDocument.fields);
+ };
+ const fieldView = () =>
+ render(CustomFields, {
+ fields: fieldDocument.fields,
+ locked: false,
+ update: updateFields,
+ undo: () => (fieldDocument = fieldHistory.pop()),
+ });
+ control(fieldView(), "Remove field").onPress();
+ assert.equal(fieldDocument.fields.length, 0);
+ const removalToast = calls.find((value) => value.message === "Field removed");
+ assert.ok(removalToast);
+ fieldHistory.push(structuredClone(fieldDocument));
+ fieldDocument = { ...fieldDocument, headline: "Later edit" };
+ removalToast.action.onPress();
+ assert.equal(fieldDocument.headline, "Later edit", "field Undo preserves a later edit");
+ assert.deepEqual(fieldDocument.fields, [removedField], "field Undo restores only the removed field");
+ removalToast.action.onPress();
+ assert.deepEqual(fieldDocument.fields, [removedField], "a restored field is never duplicated");
+ console.log("PASS native custom-field Undo restores its field without reverting later edits or duplicating it");
+
+ // A job selected before its summary arrives must never become an unlinked copy.
+ let copyApplications = { data: [], isFetching: true, refetch() {} };
+ const { NewDocument } = load("features/documents/new-document.tsx", {
++ "./copy-for-job": {
++ copyForJob: async (input) => {
++ calls.push(input);
++ return "copy";
+ },
+ },
- "@tanstack/react-query": {
- useQuery: () => ({ data: savedWriting }),
- useQueryClient: () => ({ invalidateQueries: async (options) => calls.push(options.queryKey) }),
++ "./filter": { defaultCopySource: (rows) => rows.find((row) => !row.applicationId) ?? rows[0] },
+ react: { ...react, useEffect() {} },
+ "@tanstack/react-query": { useQuery: () => copyApplications },
+ "expo-document-picker": {},
+ "expo-file-system": {},
+ "expo-network": { getNetworkStateAsync: async () => ({ isConnected: true }) },
+ "expo-router": {
+ useRouter: () => ({ replace: (href) => calls.push(href) }),
+ useLocalSearchParams: () => ({ step: "copy", applicationId: "new-job" }),
+ Stack: { Screen: "StackScreen" },
},
- "@reactive-resume/resume/markdown": { buildMarkdown: () => "Fictional original" },
- "@reactive-resume/resume/proposals": {
- collectPassages: () => [{ id: "p1", location: "Summary", text: "Fictional original" }],
+ "@reactive-resume/schema/resume/dates": {},
+ "./import-file": { ImportError: class extends Error {} },
+ "./new-documents": { useNewDocuments: { getState: () => ({ markOpened() {} }) } },
+ "./queries": {
+ useDocuments: () => ({ data: [{ id: "source", type: "resume", name: "Resume" }] }),
+ useDocumentRefresh: () => () => {},
+ documentError: String,
},
- "./actions": {},
- "./issues": { getSectionName: () => "Summary" },
- "./review": { mapWritingReview: () => ({ proposals: [], notes: [] }) },
- "@/draft": { useResumeStore: (select) => select({ proposalApplications: {} }) },
"@/api/client": {
client: {
- ai: {
- atsReview: () =>
- new Promise((resolve) => {
- if (++writingRequest === 1) resolveOld = resolve;
- else resolveNew = resolve;
- }),
+ documents: {
+ copyForJob: async (input) => {
+ calls.push(input);
+ return "copy";
+ },
},
},
- orpc: { ai: { writingReview: { queryOptions: queryKey, queryKey } } },
+ orpc: { applications: { listSummary: { queryOptions: () => ({ queryKey: ["jobs"] }) } } },
},
- "@/features/ai/providers": {
- AIProviderSetupSheet: "Setup",
- useHasAIProvider: () => ({
- usableProviders: [{ id: "provider" }],
- defaultProvider: { id: "provider" },
- hasAIProvider: true,
- }),
- },
- "@/features/ai/report-content": { ReportAiContent: "Report" },
+ "@/auth/session": { getServer: () => "test", useSession: () => ({ server: "test", status: "signed-in" }) },
+ "@/features/ai/providers": { useHasAIProvider: () => ({ hasAIProvider: false }) },
+ "@/features/applications/add-sheet": {},
});
- const writingProps = {
- id: "resume-a",
- data: {},
- issues: [],
- offline: false,
- locked: false,
- review: null,
- setReview: (value) => {
- publishedWriting = value;
- },
- };
- control(render(Writing, writingProps), "Review writing").onPress();
- await settle();
- for (const cleanup of writingCleanup.splice(0)) cleanup();
reset();
- control(render(Writing, writingProps), "Review writing").onPress();
- await settle();
- resolveNew({ summary: "Unsaved response" });
+ assert.equal(control(render(NewDocument), "Create copy").disabled, true);
+ control(render(NewDocument), "Create copy").onPress();
await settle();
- assert.equal(publishedWriting, null, "Mutation results cannot manufacture a published review");
- savedWriting = {
- inputText: "Fictional original",
- passages: [],
- review: { summary: "Latest saved", strengths: [], suggestions: [] },
- reviewedAt: new Date("2030-01-01T00:00:02Z"),
+ assert.deepEqual(calls, [], "pending selected job cannot create an unlinked copy");
+ copyApplications = {
+ data: [{ id: "new-job", company: "Example", role: "Engineer", status: "saved" }],
+ isFetching: false,
+ refetch() {},
};
- render(Writing, writingProps);
- assert.equal(publishedWriting.summary, "Latest saved");
- resolveOld({ summary: "Older discarded response" });
+ assert.equal(control(render(NewDocument), "Create copy").disabled, false);
+ control(render(NewDocument), "Create copy").onPress();
await settle();
- assert.equal(publishedWriting.summary, "Latest saved");
- assert.deepEqual(
- calls,
- [["writing", "resume-a"]],
- "An unmounted canceled request cannot publish or invalidate a different document",
- );
- console.log("PASS native Writing authoritative publication and unmounted request order");
+ assert.equal(calls[0].applicationId, "new-job");
+ console.log("PASS native copy waits for selected job and preserves application ID");
- reset();
- let linkedResume;
- const { FitTab } = load("features/workspace/tabs/fit.tsx", {
+ // React Query uses the latest mutation options after asynchronous public-link counting.
+ let currentProfileMutation;
+ let profileMutationResult;
+ let finishLinkCount;
+ const { ProfileEditor } = load("features/settings/profile.tsx", {
"@tanstack/react-query": {
- useQuery: (options) =>
- options.kind === "evidence"
- ? { data: { usable: false } }
- : { data: [{ id: "chosen", type: "resume", name: "Chosen fictional resume" }] },
- useQueryClient: () => ({ invalidateQueries: async () => {} }),
- useMutation: () => ({
- mutate: (input) => {
- linkedResume = input.resumeId;
- },
- }),
- },
- "expo-crypto": {},
- "../hooks": {
- useSavedItems: () => ({ data: [] }),
- useWorkspace: () => ({ data: {} }),
- useGenerate: () => ({ run: () => assert.fail("No evidence cannot generate") }),
- useFacts: () => ({ data: [] }),
- latest: () => undefined,
- },
- "../parts": {
- EmptyNotice: "EmptyNotice",
- AiNotice: "AiNotice",
- useWorking: (_pending, _steps, label) => label,
- workingSteps: () => [],
+ useQueryClient: () => ({ invalidateQueries() {} }),
+ useMutation: (options) => {
+ currentProfileMutation = options;
+ return {
+ isPending: false,
+ reset() {},
+ mutate() {
+ profileMutationResult = currentProfileMutation.mutationFn();
+ },
+ };
+ },
},
- "../shell": { WorkspaceScreen: "WorkspaceScreen" },
+ "expo-file-system": {},
+ "expo-image-picker": {},
"@/api/client": {
- orpc: {
- career: {
- fitEvidence: { queryOptions: () => ({ kind: "evidence" }) },
- forgetFact: { mutationOptions: () => ({}) },
+ client: {
+ documents: {
+ page: () =>
+ new Promise((resolve) => {
+ finishLinkCount = resolve;
+ }),
+ },
+ auth: {
+ updateProfile: async (input) => {
+ calls.push(input);
+ return { status: true };
+ },
},
- documents: { list: { queryOptions: () => ({ kind: "documents" }) } },
- applications: { update: { mutationOptions: () => ({}) } },
},
},
- "@/features/ai/providers": { useHasAIProvider: () => ({ defaultProvider: { id: "provider" } }) },
+ "@/auth/session": { useSession: () => ({ server: "test" }) },
});
- const fitProps = { application: { id: "app" } };
- const fitComponent = FitTab().props.children[0](fitProps).type;
- let fitTree = render(fitComponent, fitProps);
- assert.equal(control(fitTree, "Check fit").disabled, true);
- assert.ok(control(fitTree, "Add facts"));
- control(fitTree, "Resume to use as evidence").onChange("chosen");
- fitTree = render(fitComponent, fitProps);
- control(fitTree, "Use this resume as evidence").onPress();
- assert.equal(linkedResume, "chosen", "Fit links only the user's explicit resume choice");
- console.log("PASS native Fit uses filtered evidence and explicit resume selection");
+ reset();
+ const usernameField = nodes(render(ProfileEditor, { profile: { name: "Example", username: "old-name" } })).find(
+ (node) => node.props.field === "username",
+ );
+ reset();
+ const profileView = () => render(usernameField.type, usernameField.props);
+ control(profileView(), "Username").onChangeText("valid-name");
+ control(profileView(), "Username").onBlur();
+ control(profileView(), "Username").onChangeText("!");
+ profileView();
+ finishLinkCount({ total: 1 });
+ await settle();
+ nodes(profileView())
+ .find((node) => node.type === "ConfirmDialog")
+ .props.onConfirm();
+ await assert.rejects(profileMutationResult, /Invalid profile field/);
+ assert.deepEqual(calls, [], "invalid draft never reaches profile API after confirmation");
+ assert.equal(control(profileView(), "Username").value, "!", "failed validation preserves draft");
+ console.log("PASS native username revalidates after asynchronous public-link confirmation");
- // Exercise the shipped preparation form, including setup visibility and retry callbacks.
- let scheduleAi;
- let scheduleRetries = 0;
- const scheduleHooks = {
- useCareerTime: () => ({ profile: { data: { emailVerified: true } }, timeZone: "UTC", locale: "en-US" }),
- useCareerQueries: () => ({ profile: { data: { targetRoles: [], locations: [] } } }),
- useCareerAction: () => ({ pending: false }),
- useNow: () => new Date("2026-10-31T12:00:00Z"),
- };
- const { ScheduleSheet } = load("features/career/schedule-sheet.tsx", {
- "@react-native-community/datetimepicker": { default: "DateTimePicker" },
- "@tanstack/react-query": { useQuery: () => ({ data: { search: true, provider: null } }) },
- "@reactive-resume/schema/career": {},
- "@reactive-resume/utils/timezone": { fromZonedDateTime: () => new Date("2026-11-02T12:00:00Z") },
- "./hooks": scheduleHooks,
- "./scheduling": {
- collectInterviews: () => [],
- nextCareerRun: () => new Date("2026-11-02T12:00:00Z"),
- toZoned: () => ({ date: "2026-11-02", time: "12:00" }),
+ reset();
+ pictureOptions.onError(new Error("Network request failed"));
+ assert.equal(calls.at(-1).message, "Couldn't upload the photo. Try again.");
+ pictureOptions.onError(new Error("Choose a photo smaller than 10 MB."));
+ assert.equal(calls.at(-1).message, "Choose a photo smaller than 10 MB.");
+ console.log("PASS native photo failure distinguishes network retry from size guidance");
+
+ let preferenceDraft;
+ let preferenceLocale;
+ const { Preferences } = load("features/career/preferences.tsx", {
+ react: { ...react, useEffect() {}, useLayoutEffect() {} },
+ "@tanstack/react-query": { useQueryClient: () => ({}) },
+ "@reactive-resume/schema/career": careerSchema,
+ "@reactive-resume/utils/amount": amountParser,
+ "./hooks": {
+ useCareerTime: () => ({ locale: preferenceLocale, timeZone: "UTC", profile: { data: { id: "owner" } } }),
+ },
+ "./role-suggestions": { RoleSuggestions: "RoleSuggestions" },
+ "./search-regions-field": { SearchRegionsField: "SearchRegionsField" },
+ "@/api/client": {},
+ "@/auth/session": { useSession: () => ({ server: "test" }) },
+ "@/features/workspace/hooks": {
+ useDraft: (_key, initial) => {
+ preferenceDraft ??= { ...initial, amount: "Invalid draft" };
+ return {
+ value: preferenceDraft,
+ blocked: true,
+ reset: (value) => {
+ preferenceDraft = value;
+ },
+ };
+ },
},
- "./shared": { EditorSheet: "EditorSheet", SwitchRow: "SwitchRow" },
- "@/api/client": { orpc: { webAccess: { status: { queryOptions: () => ({}), key: () => [] } } } },
- "@/api/flags": { useFlags: () => ({ data: { careerSchedulingEnabled: true } }) },
- "@/auth/session": { useSession: () => ({ status: "signed-in", server: "https://fictional.example" }) },
- "@/features/ai/providers": { useHasAIProvider: () => scheduleAi },
- "@/features/ai/web-access": {},
- "@/features/applications/queries": { useApplications: () => ({ data: [] }) },
});
- for (const state of ["loading", "error", "empty", "configured"]) {
+ for (const locale of ["de-DE", "fr-FR"]) {
reset();
- const provider = { id: "fictional", label: "Fictional connection" };
- scheduleAi = {
- isLoading: state === "loading",
- isUnavailable: state === "loading" || state === "error",
- error: state === "error" ? new Error("Offline") : null,
- usableProviders: state === "configured" ? [provider] : [],
- defaultProvider: state === "configured" ? provider : null,
- hasAIProvider: state === "configured",
- retry: () => scheduleRetries++,
- };
- const form = render(ScheduleSheet, { schedule: null, kind: "prepare", onClose() {}, onDelete() {} });
- const formTree = render(form.type, form.props);
+ preferenceLocale = locale;
+ preferenceDraft = null;
+ const initial = careerSchema.careerProfileDataSchema.parse({
+ minBase: { amount: 1234.56, currency: "EUR", period: "month" },
+ });
+ control(render(Preferences, { initial }), "Use saved version").onPress();
assert.equal(
- nodes(formTree).some((node) => node.props.label === "Connect AI provider"),
- state === "empty" || state === "configured",
- `Setup availability for ${state}`,
+ amountParser.parseAmount(preferenceDraft.amount, locale),
+ 1234.56,
+ `${locale}: restored amount retains exact saved value`,
);
- if (state === "error") control(formTree, "Retry AI connections").onPress();
- if (state === "configured") assert.equal(control(formTree, "AI connection").value, provider.id);
+ assert.equal(preferenceDraft.amount, new Intl.NumberFormat(locale, { maximumFractionDigits: 2 }).format(1234.56));
}
- assert.equal(scheduleRetries, 1);
- console.log("PASS native preparation distinguishes loading/error from empty/configured AI lookup");
+ console.log("PASS native saved Preferences amounts round-trip in comma-decimal locales");
+
+ // Follow-up controls must work for every owed row, including accounts larger than the old dismissal cap.
+ reset();
+ applicationSearch = "";
+ needsFollowUpFixture = true;
+ applications = Array.from({ length: 1001 }, (_, i) => ({ ...job, id: `owed-${i}`, status: "applied" }));
+ listTree = listView();
+ const nudgeNodes = (tree) => nodes(nodes(tree).find((node) => node.type === "SectionList").props.ListHeaderComponent);
+ let nudge = nudgeNodes(listTree).find((node) => node.type === "Banner" && node.props.onDismiss);
+ assert.ok(nudge);
+ nudge.props.onDismiss();
+ listTree = listView();
+ assert.equal(
+ nudgeNodes(listTree).filter((node) => node.type === "Banner" && node.props.onDismiss).length,
+ 0,
+ "one dismissal hides all 1001 owed rows",
+ );
+ reset();
+ applications = applications.slice(0, 2);
+ listTree = listView();
+ nudge = nudgeNodes(listTree).find((node) => node.type === "Banner" && node.props.action?.label === "Show");
+ nudge.props.action.onPress();
+ needsFollowUpFixture = false;
+ listTree = listView();
+ sectionList = nodes(listTree).find((node) => node.type === "SectionList");
+ assert.equal(sectionList.props.sections.length, 0);
+ sectionList.props.ListEmptyComponent.props.action.onPress();
+ listTree = listView();
+ sectionList = nodes(listTree).find((node) => node.type === "SectionList");
+ assert.equal(
+ sectionList.props.sections.flatMap((section) => section.data).length,
+ 2,
+ "Clear filters resets follow-up-only too",
+ );
+ reset();
+ needsFollowUpFixture = true;
+ applications = applications.slice(0, 1);
+ listTree = listView();
+ nudge = nudgeNodes(listTree).find((node) => node.type === "Banner" && node.props.action?.label === "Open");
+ nudge.props.action.onPress();
+ assert.equal(calls.at(-1), "/applications/owed-0", "single nudge opens Details rather than the Apply tab");
+ console.log("PASS native full dismissal, follow-up filter clearing and Details navigation");
+ reset();
++
++// A failed link retries the already-created job, with its original request ID and draft intact.
++const nativeCreateRequests = [];
++let failNativeLink = true;
++let nonce = 0;
++const requestIds = load("../../../packages/utils/src/string.ts", { uuid: { v7: () => `native-request-${++nonce}` } });
++const nativeDraft = { document: { id: "base-retry" }, status: "saved", locked: false, flush: async () => {} };
++const { JobMatch } = load("features/check/job-match.tsx", {
++ react: { ...react, useEffect() {}, useMemo: (make) => make() },
++ "@reactive-resume/utils/string": requestIds,
++ "./actions": {},
++ "./model": { matchPosting: () => null },
++ "@/api/client": {
++ client: {
++ applications: {
++ create: async (input) => {
++ nativeCreateRequests.push(input);
++ return "saved-job";
++ },
++ },
++ documents: {
++ linkApplication: async () => {
++ if (failNativeLink) throw new Error("Offline");
++ },
++ },
++ },
++ },
++ "@/draft": { useResumeStore: { getState: () => nativeDraft } },
++ "@/draft/runtime": { resume: { refresh: async () => {}, blur: async () => {} } },
++ "@/features/applications/queries": {
++ useApplications: () => ({ data: [] }),
++ useApplication: () => ({}),
++ useInvalidateApplications: () => () => {},
++ },
++ "@/features/documents/copy-for-job": {},
++});
++reset();
++const matchView = () =>
++ render(JobMatch, { id: "base-retry", data: { metadata: {} }, applicationId: null, locked: false, offline: false });
++control(matchView(), "Paste a job posting").onChangeText("Build reliable systems.");
++control(matchView(), "Save as a job…").onPress();
++control(matchView(), "Company").onChangeText("Retry Co");
++control(matchView(), "Role").onChangeText("Engineer");
++control(matchView(), "Save and link this resume").onPress();
++await settle();
++assert.equal(control(matchView(), "Company").value, "Retry Co");
++assert.equal(control(matchView(), "Paste a job posting").value, "Build reliable systems.");
++failNativeLink = false;
++control(matchView(), "Save and link this resume").onPress();
++await settle();
++assert.equal(nativeCreateRequests.length, 2);
++assert.equal(nativeCreateRequests[0].newId, nativeCreateRequests[1].newId, "link retry returns the original job");
++assert.equal(control(matchView(), "Paste a job posting").value, "");
++console.log("PASS native saved-job link retries retain original ID and draft until success");
diff --cc apps/mobile/src/features/application-detail/sections.tsx
index 767b8f75e,d33206779..8ddbeb740
--- a/apps/mobile/src/features/application-detail/sections.tsx
+++ b/apps/mobile/src/features/application-detail/sections.tsx
@@@ -165,28 -159,23 +165,29 @@@ export function NextStepCard({ applicat
const [followUpOpen, setFollowUpOpen] = useState(false);
const [reminderOpen, setReminderOpen] = useState(false);
const lanes = useApplicationLanes();
- const step = getNextStep(application, undefined, lanes.lanes, timeZone);
+ const hints = useOfferHints();
- const step = getNextStep(application, undefined, lanes.lanes, offerHintFor(hints, application.id));
++ const step = getNextStep(application, undefined, lanes.lanes, timeZone, offerHintFor(hints, application.id));
const text = describeNextStep(step, application, locale, timeZone);
const followUpDue = step.kind === "no-reply" || (step.kind === "follow-up" && step.overdue);
const tab = step.kind === "interview" ? "prepare" : followUpDue ? "messages" : workspaceTabFor(application);
const actionLabel = followUpDue
? t`Draft a follow-up`
- : {
- fit: t`Prepare application`,
- apply: application.status === "saved" ? t`Prepare application` : t`Review application`,
- prepare: t`Prepare for interview`,
- debrief: t`Debrief interview`,
- messages: t`Prepare a reply`,
- saved: t`View saved work`,
- }[tab];
+ : step.kind === "offer"
+ ? step.terms
+ ? t`Compare offers`
+ : t`Add the offer's terms`
+ : {
+ fit: t`Prepare application`,
+ apply: application.status === "saved" ? t`Prepare application` : t`Review application`,
+ prepare: t`Prepare for interview`,
+ debrief: t`Debrief interview`,
+ messages: t`Prepare a reply`,
+ saved: t`View saved work`,
+ }[tab];
const interview = step.kind === "interview" ? step.interview : null;
const dated = step.kind === "interview" || step.kind === "follow-up";
- const target = interview ? interviewReminder(application, interview) : followUpReminder(application);
++ const calendarAt = dated ? step.at : step.kind === "offer" ? step.respondBy : null;
+ const target = interview ? interviewReminder(application, interview) : followUpReminder(application, timeZone);
const zone = interview?.timezone && interview.timezone !== timeZone ? interview.timezone : null;
const subtitle = interview
? `${when(interview.at)}–${time(new Date(new Date(interview.at).getTime() + interview.durationMinutes * 60_000))} · ${timeZone}`
@@@ -195,11 -184,11 +196,16 @@@
: "";
const addToCalendar = () => {
-- if (!dated) return;
++ if (!calendarAt) return;
const title = `${text.title} · ${application.role}, ${application.company}`;
void shareIcs(
-- interview ? interviewEvent(interview, title) : followUpEvent(application.id, step.at, title),
-- icsFileName(application.company, zonedParts(step.at, timeZone).date),
++ interview
++ ? interviewEvent(interview, title)
++ : {
++ ...followUpEvent(application.id, calendarAt, title),
++ ...(step.kind === "offer" ? { uid: `offer-${application.id}` } : {}),
++ },
++ icsFileName(application.company, zonedParts(calendarAt, timeZone).date),
).catch(() => showToast({ message: t`Couldn't share the calendar event. Try again.` }));
};
@@@ -268,6 -251,6 +274,15 @@@
/>
</>
) : null}
++ {step.kind === "offer" && calendarAt ? (
++ <Button
++ size="sm"
++ variant="ghost"
++ icon="calendar-plus"
++ label={t`Add to calendar`}
++ onPress={addToCalendar}
++ />
++ ) : null}
<Button
size="sm"
variant="ghost"
diff --cc apps/mobile/src/features/application-detail/sheets.tsx
index 0d6f77952,c527ed675..39850c767
--- a/apps/mobile/src/features/application-detail/sheets.tsx
+++ b/apps/mobile/src/features/application-detail/sheets.tsx
@@@ -20,9 -22,8 +22,9 @@@ import { useApplicationLanes } from "@/
import { getLaneLabel, laneInput, resolveLane } from "@/features/applications/lanes";
import { PriorNoResponse } from "@/features/applications/prior-no-response";
import { useApplication, useApplicationMutations } from "@/features/applications/queries";
+import { useAcceptedPrompt } from "@/features/applications/stage-actions";
import { CLOSED_REASONS, getClosedReasonLabel } from "@/features/applications/stages";
- import { DEFAULT_LEAD, followUpStart, REMINDER_LEADS, useReminders } from "@/features/reminders";
+ import { DEFAULT_LEAD, REMINDER_LEADS, useReminders, zonedParts } from "@/features/reminders";
import {
Banner,
Button,
diff --cc apps/mobile/src/features/applications-board/board-screen.tsx
index 1e10caf58,06002af0e..ba8f5b749
--- a/apps/mobile/src/features/applications-board/board-screen.tsx
+++ b/apps/mobile/src/features/applications-board/board-screen.tsx
@@@ -574,9 -572,8 +574,9 @@@ function BoardCard({ application, onMov
const { space } = useTheme();
const { timeZone } = useUserTime();
const lanes = useApplicationLanes();
+ const hints = useOfferHints();
const next = describeNextStep(
- getNextStep(application, undefined, lanes.lanes, offerHintFor(hints, application.id)),
- getNextStep(application, undefined, lanes.lanes, timeZone),
++ getNextStep(application, undefined, lanes.lanes, timeZone, offerHintFor(hints, application.id)),
application,
i18n.locale,
timeZone,
diff --cc apps/mobile/src/features/applications/list-screen.tsx
index 6f042342f,59a34c8d4..0410638c6
--- a/apps/mobile/src/features/applications/list-screen.tsx
+++ b/apps/mobile/src/features/applications/list-screen.tsx
@@@ -8,11 -9,10 +9,11 @@@ import { RefreshControl, Pressable, Sec
import Animated from "react-native-reanimated";
import { applicationError } from "./error";
import { useApplicationLanes } from "./lane-queries";
-import { getLaneLabel, laneInput, resolveLane } from "./lanes";
+import { getLaneLabel, resolveLane } from "./lanes";
import { filterApplications, groupApplications, visibleSelection } from "./list";
- import { describeNextStep, getNextStep } from "./next-step";
+ import { describeNextStep, getNextStep, needsFollowUp } from "./next-step";
import { useApplicationDetailPrefetch, useApplicationMutations, useApplications } from "./queries";
+import { offerHintFor, useMoveWithUndo, useOfferHints } from "./stage-actions";
import { CLOSED_REASONS, getClosedReasonLabel } from "./stages";
import { useSession } from "@/auth/session";
import { useNow, useUserTime } from "@/features/application-detail/hooks";
@@@ -90,9 -101,33 +104,36 @@@ function ApplicationsList()
const [result, setResult] = useState<string | null>(null);
const lock = useRef(false);
const applications = query.data ?? [];
- const filtered = filterApplications(applications, { search, tag, showClosed });
- const filtersActive = Boolean(search.trim() || tag || showClosed);
- const groups = groupApplications(filtered, sort, direction, now, lanes.supported ? lanes.lanes : undefined);
+ const laneList = lanes.supported ? lanes.lanes : undefined;
+ const [followUpOnly, setFollowUpOnly] = useState(false);
+ const [dismissed, setDismissed] = useState(readDismissed);
+ // Same rule as web and Career → Today: a due follow-up, or ten days without a reply.
+ const owesFollowUp = (application: (typeof applications)[number]) =>
- needsFollowUp(getNextStep(application, now, laneList, timeZone), now);
++ needsFollowUp(getNextStep(application, now, laneList, timeZone, offerHintFor(offerHints, application.id)), now);
+ const owed = applications
+ .filter((application) => !dismissed.includes(application.id) && owesFollowUp(application))
- .map((application) => ({ application, step: getNextStep(application, now, laneList, timeZone) }))
++ .map((application) => ({
++ application,
++ step: getNextStep(application, now, laneList, timeZone, offerHintFor(offerHints, application.id)),
++ }))
+ .sort((a, b) => (b.step.kind === "no-reply" ? b.step.days : -1) - (a.step.kind === "no-reply" ? a.step.days : -1));
+ const company = owed[0]?.application.company ?? "";
+ const count = owed.length;
+ const days = owed[0]?.step.kind === "no-reply" ? owed[0].step.days : 0;
+ const dismissOwed = () => {
+ const next = [...new Set([...dismissed, ...owed.map(({ application }) => application.id)])];
+ setDismissed(next);
+ try {
+ Storage.setItemSync(NUDGE_STORAGE_KEY, JSON.stringify(next));
+ } catch {
+ // Without storage the nudge is dismissed for this visit only.
+ }
+ };
+ const filtered = filterApplications(applications, { search, tag, showClosed }).filter(
+ (application) => !followUpOnly || owesFollowUp(application),
+ );
+ const filtersActive = Boolean(search.trim() || tag || showClosed || followUpOnly);
- const groups = groupApplications(filtered, sort, direction, now, laneList, timeZone);
++ const groups = groupApplications(filtered, sort, direction, now, laneList, timeZone, offerHints);
const selectedIds = visibleSelection(groups, collapsed, selected);
const onViewableItemsChanged = useApplicationDetailPrefetch();
const tags = [...new Set(applications.flatMap((item) => item.tags))].sort();
@@@ -375,12 -444,15 +459,20 @@@
</Pressable>
)}
renderItem={({ item, index }) => {
- const next = describeNextStep(getNextStep(item, now, lanes.lanes, timeZone), item, i18n.locale, timeZone);
+ const next = describeNextStep(
- getNextStep(item, now, lanes.lanes, offerHintFor(offerHints, item.id)),
++ getNextStep(item, now, lanes.lanes, timeZone, offerHintFor(offerHints, item.id)),
+ item,
+ i18n.locale,
+ timeZone,
+ );
+ const sentDocuments = [
+ item.resumeId ? t`Resume` : null,
+ item.coverLetterId ? t`Cover letter` : null,
+ item.resumeFileUrl ? t`Resume file` : null,
+ item.coverLetterUrl ? t`Cover letter file` : null,
+ ]
+ .filter(Boolean)
+ .join(" · ");
return (
<Animated.View
{...listItemMotion(index, firstAppearance)}
diff --cc apps/mobile/src/features/applications/list.ts
index 5894c87f0,e92dddc80..7b30f1764
--- a/apps/mobile/src/features/applications/list.ts
+++ b/apps/mobile/src/features/applications/list.ts
@@@ -1,7 -1,7 +1,8 @@@
import type { ApplicationLane } from "./lanes";
++import type { OfferHint } from "./next-step";
import type { ApplicationSummary as Application } from "./types";
import { createDefaultApplicationLanes, resolveLane, visibleLanes } from "./lanes";
- import { getNextStep } from "./next-step";
+ import { compareNextStepSortKeys, nextStepSortKey } from "./next-step";
import { LIST_ORDER } from "./stages";
export type ApplicationSort = "updated" | "role" | "next";
@@@ -31,23 -31,22 +32,31 @@@ export function groupApplications
...lane,
position: LIST_ORDER.indexOf(lane.category),
})),
+ timeZone = "UTC",
++ offers?: ReadonlyMap<string, OfferHint>,
) {
- const nextTime = (application: Application) => {
- const step = getNextStep(application, now);
- if (step.kind === "offer") return step.respondBy?.getTime() ?? Infinity;
- return step.kind === "interview" || step.kind === "follow-up" ? step.at.getTime() : Infinity;
- };
+ // Next step reads the same keys as web: dated steps soonest first, then the longest wait in the stage.
+ const keys = new Map(
+ sort === "next"
- ? applications.map((application) => [application.id, nextStepSortKey(application, now, timeZone)])
++ ? applications.map((application) => [
++ application.id,
++ nextStepSortKey(
++ application,
++ now,
++ timeZone,
++ offers === undefined ? undefined : (offers.get(application.id) ?? null),
++ ),
++ ])
+ : [],
+ );
const compare = (a: Application, b: Application) => {
- const left = sort === "next" ? nextTime(a) : new Date(a.updatedAt).getTime();
- const right = sort === "next" ? nextTime(b) : new Date(b.updatedAt).getTime();
- const order =
- sort === "role"
- ? a.role.localeCompare(b.role) || a.company.localeCompare(b.company)
- : left === right
- ? 0
- : left < right
- ? -1
- : 1;
+ let order: number;
+ if (sort === "role") order = a.role.localeCompare(b.role) || a.company.localeCompare(b.company);
+ else if (sort === "next") {
+ const [rankA, timeA] = keys.get(a.id) ?? [1, 0];
+ const [rankB, timeB] = keys.get(b.id) ?? [1, 0];
+ return compareNextStepSortKeys([rankA, timeA], [rankB, timeB], a.id, b.id, direction);
+ } else order = new Date(a.updatedAt).getTime() - new Date(b.updatedAt).getTime();
return (direction === "asc" ? order : -order) || a.id.localeCompare(b.id);
};
return visibleLanes(lanes, applications)
diff --cc apps/mobile/src/features/applications/next-step.ts
index 2d1822a7e,8b7784fa7..2735064d5
--- a/apps/mobile/src/features/applications/next-step.ts
+++ b/apps/mobile/src/features/applications/next-step.ts
@@@ -1,103 -1,35 +1,40 @@@
import type { ApplicationSummary as Application } from "./types";
import type { IconName } from "@/ui";
- import type { InterviewTimelineEntry } from "@reactive-resume/schema/applications/data";
-import type { NextStep } from "@reactive-resume/schema/applications/next-step";
-export type { NextStep } from "@reactive-resume/schema/applications/next-step";
++import type { NextStep, OfferHint } from "@reactive-resume/schema/applications/next-step";
++export type { NextStep, OfferHint } from "@reactive-resume/schema/applications/next-step";
import type { ApplicationLane } from "@reactive-resume/schema/applications/lanes";
import { plural, t } from "@lingui/core/macro";
- import { categorySince, laneSince } from "./history";
+ import { getNextStep as sharedGetNextStep } from "@reactive-resume/schema/applications/next-step";
+ import { laneSince } from "./history";
import { getClosedReasonLabel } from "./stages";
- const isInterview = (entry: Application["activity"][number]): entry is InterviewTimelineEntry =>
- entry.type === "interview";
+ export {
+ needsAttention,
+ needsFollowUp,
+ nextStepSortKey,
+ compareNextStepSortKeys,
+ } from "@reactive-resume/schema/applications/next-step";
- const DAY_MS = 86_400_000;
-
- /** Days without a reply after applying before a follow-up is suggested. */
- const FOLLOW_UP_AFTER_DAYS = 10;
-
- type NextStepSource = Pick<Application, "status" | "activity" | "followUpAt" | "followUpNote" | "appliedAt" | "laneId">;
-
- /**
- * What an application needs next, derived rather than stored: the earliest interview still to come, else the
- * follow-up date, else how long it has been waiting. Closed applications need nothing.
- */
- export type NextStep =
- | { kind: "interview"; interview: InterviewTimelineEntry; at: Date }
- /** At Offer the offer leads: its reply deadline, deciding on saved terms, or saving the terms first. */
- | { kind: "offer"; respondBy: Date | null; overdue: boolean; terms: boolean }
- | { kind: "follow-up"; at: Date; note: string; overdue: boolean }
- | { kind: "no-reply"; days: number }
- | { kind: "waiting"; days: number }
- | { kind: "not-applied" }
- | { kind: "closed" };
-
- const daysBetween = (from: Date, to: Date) => Math.max(0, Math.floor((to.getTime() - from.getTime()) / DAY_MS));
-
- /** Whole days the application has spent in its current stage. */
+ /** Lane residence remains distinct from the canonical-stage clock used by next steps. */
export const daysInStage = (
application: Pick<Application, "status" | "activity" | "appliedAt" | "laneId">,
now = new Date(),
lanes: readonly ApplicationLane[] = [],
- ) => daysBetween(laneSince(application, lanes), now);
+ ) => Math.max(0, Math.floor((now.getTime() - laneSince(application, lanes).getTime()) / 86_400_000));
-/** Preserve native lane-aware callers while deriving canonical next steps through the shared contract. */
+/**
+ * What's known of an application's newest saved offer: its reply deadline. `null` means no offer is saved yet;
+ * leaving it out means it isn't known here (the step then reads as deciding on the offer).
+ */
- export type OfferHint = { respondBy: string | null };
+
export function getNextStep(
- application: NextStepSource,
+ application: Parameters<typeof sharedGetNextStep>[0],
now = new Date(),
- lanes: readonly ApplicationLane[] = [],
- offer?: OfferHint | null | undefined,
+ _lanes: readonly ApplicationLane[] = [],
+ timeZone = "UTC",
++ offer?: OfferHint | null,
): NextStep {
- if (application.status === "closed") return { kind: "closed" };
-
- const followUp = () => {
- if (!application.followUpAt) return null;
- const at = new Date(application.followUpAt);
- return {
- kind: "follow-up" as const,
- at,
- note: application.followUpNote ?? "",
- overdue: at.getTime() < now.getTime(),
- };
- };
-
- // An interview booked before the offer doesn't come next any more: the offer's reply deadline does, then a
- // follow-up set for it, then deciding on (or saving) its terms.
- if (application.status === "offer") {
- const respondBy = offer?.respondBy ? new Date(offer.respondBy) : null;
- if (!respondBy) {
- const step = followUp();
- if (step) return step;
- }
- return {
- kind: "offer",
- respondBy,
- overdue: respondBy ? respondBy.getTime() < now.getTime() : false,
- terms: offer !== null,
- };
- }
-
- const upcoming = application.activity
- .filter(isInterview)
- .map((interview) => ({ interview, at: new Date(interview.at) }))
- .filter(({ interview, at }) => at.getTime() + interview.durationMinutes * 60_000 >= now.getTime())
- .sort((a, b) => a.at.getTime() - b.at.getTime())[0];
- if (upcoming) return { kind: "interview", ...upcoming };
-
- const step = followUp();
- if (step) return step;
-
- if (application.status === "saved") return { kind: "not-applied" };
-
- const days =
- application.status === "applied"
- ? daysBetween(categorySince(application), now)
- : daysInStage(application, now, lanes);
- if (application.status === "applied" && days >= FOLLOW_UP_AFTER_DAYS) return { kind: "no-reply", days };
- return { kind: "waiting", days };
- return sharedGetNextStep(application, now, timeZone);
++ return sharedGetNextStep(application, now, timeZone, offer);
}
export type NextStepText = { icon: IconName; title: string; sub: string; tone: "normal" | "warn" | "muted" };
@@@ -182,6 -98,27 +119,20 @@@ export function describeNextStep
sub: plural(step.days, { one: "For # day", other: "For # days" }),
tone: "normal",
};
+ case "interview-feedback":
+ return {
+ icon: "hourglass",
+ title: t`Waiting for interview feedback`,
+ sub: plural(step.days, { one: "For # day", other: "For # days" }),
+ tone: "normal",
+ };
+ case "no-interview":
+ return {
+ icon: "calendar-dot",
+ title: t`No interview scheduled`,
+ sub: t`Add the date when you have it`,
+ tone: "normal",
+ };
- case "offer":
- return {
- icon: "scales",
- title: t`Decide on the offer`,
- sub: plural(step.days, { one: "For # day", other: "For # days" }),
- tone: "warn",
- };
case "not-applied":
return { icon: "bookmark-simple", title: t`Not applied yet`, sub: "", tone: "muted" };
case "closed":
diff --cc apps/mobile/src/features/career/offer-entry.tsx
index 44a382378,167e8b386..0f2663b72
--- a/apps/mobile/src/features/career/offer-entry.tsx
+++ b/apps/mobile/src/features/career/offer-entry.tsx
@@@ -6,102 -4,48 +6,132 @@@ import { useRouter } from "expo-router"
import { useState } from "react";
import { View } from "react-native";
import { offerTermsSchema } from "@reactive-resume/schema/career";
- import { parseOfferEntry } from "@reactive-resume/schema/career-offer";
+ import { offerApplications, parseOfferEntry, previousOfferCurrency } from "@reactive-resume/schema/career-offer";
import { client, useCareerAction, useCareerTime, useOffers } from "./hooks";
+import { formatMoney } from "./offer-compare";
import { EditorSheet, LoadState } from "./shared";
import { WallClockField } from "@/features/application-detail/date-field";
+import { useApplicationLanes } from "@/features/applications/lane-queries";
+import { resolveLane } from "@/features/applications/lanes";
import { useApplications } from "@/features/applications/queries";
+import { useMoveWithUndo } from "@/features/applications/stage-actions";
import { routes } from "@/routes";
-import { Banner, Button, SelectSheet, Text, TextField, showToast, useTheme } from "@/ui";
+import { Banner, Button, Card, SelectSheet, Text, TextField, showToast, useTheme } from "@/ui";
-type Application = { id: string; company: string; role: string };
-type OfferEntryProps = { application?: Application; primary?: boolean };
-/** "Add offer". An offer belongs to an application, so with none yet it leads to adding one instead. */
-export function OfferEntry({ application, primary = false }: OfferEntryProps) {
+type Application = { id: string; company: string; role: string; status?: ApplicationStatus | undefined };
+type OfferEntryProps = {
+ application?: Application | undefined;
+ primary?: boolean;
+ /** Open the form at once ("Add the offer's terms" from a move to Offer). */
+ initialOpen?: boolean | undefined;
+ /** Called when the form closes, saved or not. */
+ onDone?: (() => void) | undefined;
+};
+type OfferTermsSaved = SavedData<"offer">;
++type OfferSaved = { id: string; data: OfferTermsSaved };
+
+/** Stages before Offer: saving an offer for an application still at one of these moves it to Offer, with Undo. */
+const BEFORE_OFFER: readonly ApplicationStatus[] = ["saved", "applied", "screening", "interview"];
+
+/**
+ * Add offer, and the offer saved last for this application in view as a one-line summary, so saving doesn't make the
+ * terms disappear into Saved.
+ */
- export function OfferEntry({ application, primary = false, initialOpen = false, onDone }: OfferEntryProps) {
++export function OfferEntry(props: OfferEntryProps) {
++ return <ScopedOfferEntry key={props.application?.id ?? "global"} {...props} />;
++}
++function ScopedOfferEntry({ application, primary = false, initialOpen = false, onDone }: OfferEntryProps) {
const { t } = useLingui();
- const router = useRouter();
+ const [open, setOpen] = useState(initialOpen);
+ const [requested, setRequested] = useState(initialOpen);
+ if (initialOpen !== requested) {
+ setRequested(initialOpen);
+ if (initialOpen) setOpen(true);
+ }
+ const applications = useApplications();
- const [open, setOpen] = useState(false);
- const variant = primary ? "primary" : "secondary";
++ const router = useRouter();
+ const offers = useOffers();
- const latest = application
- ? (offers.data ?? [])
- .filter((item) => item.data.kind === "offer" && item.applicationId === application.id)
- .toSorted((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime())[0]
- : undefined;
++ const [justSaved, setJustSaved] = useState<OfferSaved | null>(null);
++ const latest =
++ justSaved ??
++ (application
++ ? (offers.data ?? [])
++ .filter((item) => item.data.kind === "offer" && item.applicationId === application.id)
++ .toSorted((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime())[0]
++ : undefined);
+ const close = () => {
+ setOpen(false);
+ onDone?.();
+ };
+ if (!open && !application && (!applications.data || (applications.isError && !applications.data.length)))
+ return <LoadState query={applications} />;
+ if (!open && !application && applications.data?.length === 0)
+ return (
- <Button variant={variant} label={t`Add an application first`} onPress={() => router.push(routes.newJob())} />
++ <Button
++ variant={primary ? "primary" : "secondary"}
++ label={t`Add an application first`}
++ onPress={() => router.push(routes.newJob())}
++ />
+ );
return (
<>
- {latest?.data.kind === "offer" ? <OfferSummary offer={latest.data} /> : null}
- <Button variant={variant} label={t`Add offer`} onPress={() => setOpen(true)} />
- {open ? <OfferForm {...(application ? { application } : {})} onClose={() => setOpen(false)} /> : null}
++ {latest?.data.kind === "offer" ? <OfferSummary offer={latest.data} id={latest.id} /> : null}
+ <Button
+ variant={primary ? "primary" : "secondary"}
+ label={latest && application ? t`Add a newer offer` : t`Add offer`}
+ onPress={() => setOpen(true)}
+ />
- {open ? <OfferForm {...(application ? { application } : {})} onClose={close} /> : null}
++ {open ? <OfferForm {...(application ? { application } : {})} onClose={close} onSaved={setJustSaved} /> : null}
</>
);
}
-type OfferFormProps = OfferEntryProps & { onClose: () => void };
-function OfferForm({ application, onClose }: OfferFormProps) {
+/** "Written offer · €182,000 a year · respond by 12 Nov 2026 · Compare" */
- function OfferSummary({ offer }: { offer: OfferTermsSaved }) {
++type OfferSummaryProps = { offer: OfferTermsSaved; id: string };
++function OfferSummary({ offer, id }: OfferSummaryProps) {
+ const { t } = useLingui();
+ const { space } = useTheme();
+ const router = useRouter();
+ const { locale, timeZone } = useCareerTime();
+ const period = { year: t`a year`, month: t`a month`, hour: t`an hour` }[offer.period];
+ const respondBy = offer.respondBy
+ ? new Intl.DateTimeFormat(locale, { timeZone, dateStyle: "medium" }).format(new Date(offer.respondBy))
+ : null;
+ const parts = [
+ offer.version === "verbal" ? t`Verbal offer` : t`Written offer`,
+ offer.base === null ? null : `${formatMoney(locale, offer.currency, offer.base)} ${period}`,
+ respondBy ? t`respond by ${respondBy}` : null,
+ ].filter(Boolean);
+ return (
+ <Card style={{ gap: space.s2 }}>
+ <Text accessibilityLiveRegion="polite">{parts.join(" · ")}</Text>
- <Button variant="ghost" size="sm" label={t`Compare`} onPress={() => router.push(routes.career("offers"))} />
++ <Button
++ variant="ghost"
++ size="sm"
++ label={t`Compare`}
++ onPress={() => router.push({ pathname: routes.career("offers"), params: { a: id } })}
++ />
+ </Card>
+ );
+}
+
- type OfferFormProps = { application?: Application | undefined; onClose: () => void };
- function OfferForm({ application, onClose }: OfferFormProps) {
++type OfferFormProps = {
++ application?: Application | undefined;
++ onClose: () => void;
++ onSaved: (offer: OfferSaved) => void;
++};
++function OfferForm({ application, onClose, onSaved }: OfferFormProps) {
const { t } = useLingui();
const { space } = useTheme();
const { locale, timeZone, profile } = useCareerTime();
const router = useRouter();
const applications = useApplications();
const action = useCareerAction();
+ const lanes = useApplicationLanes();
+ const moveWithUndo = useMoveWithUndo();
const [applicationId, setApplicationId] = useState(application?.id ?? "");
- const [terms, setTerms] = useState(() => ({
+ const savedOffers = useOffers();
+ const [draft, setTerms] = useState(() => ({
...offerTermsSchema.parse({ currency: "USD", period: "year", base: null, variable: null }),
currency: "",
}));
@@@ -273,19 -239,9 +325,21 @@@
if (payload.success)
void action.run(
() => client.career.createOffer(payload.data),
- () => {
+ (result) => {
+ if (!application && result) router.setParams({ a: result.id });
- showToast({ message: t`Offer saved` });
++ if (result?.data.kind === "offer") onSaved({ id: result.id, data: result.data });
+ const row = applications.data?.find((item) => item.id === payload.data.applicationId);
+ const target = application ?? row;
+ const status = application?.status ?? row?.status;
+ if (target && status && BEFORE_OFFER.includes(status))
+ // An offer means the application is at Offer; Undo keeps the offer and leaves the stage.
+ moveWithUndo({
+ applications: [{ id: payload.data.applicationId }],
+ lane: resolveLane(lanes.lanes, { status: "offer" }),
+ supported: lanes.supported,
+ message: t`Offer saved. ${target.company} moved to Offer.`,
+ });
+ else showToast({ message: t`Offer saved` });
onClose();
},
);
diff --cc apps/mobile/src/features/career/today.tsx
index f47455aa5,f29a2e18b..8cae2587b
--- a/apps/mobile/src/features/career/today.tsx
+++ b/apps/mobile/src/features/career/today.tsx
@@@ -12,8 -12,14 +12,15 @@@ import { collectInterviews, rollForwar
import { Actions, LoadState, Section, SwitchRow } from "./shared";
import { useApplicationLanes } from "@/features/applications/lane-queries";
import { getLaneLabel, resolveLane } from "@/features/applications/lanes";
- import { getNextStep } from "@/features/applications/next-step";
+ import {
+ compareNextStepSortKeys,
+ describeNextStep,
+ getNextStep,
+ needsAttention,
+ nextStepSortKey,
+ } from "@/features/applications/next-step";
import { useApplications } from "@/features/applications/queries";
++import { offerHintFor, useOfferHints } from "@/features/applications/stage-actions";
import { routes } from "@/routes";
import {
Banner,
@@@ -42,6 -48,6 +49,7 @@@ export function TodayScreen()
const time = useCareerTime();
const queries = useTodayQueries();
const applications = useApplications();
++ const hints = useOfferHints();
const action = useCareerAction();
const pull = usePullRefresh(action.refresh, applications.refetch, time.profile.refetch);
const undo = useUndoRows();
@@@ -97,6 -103,13 +105,15 @@@
(row) => showRead || (!row.readAt && !undo.hidden.includes(row.id)),
);
const firstAppearance = useFirstAppearance(!queries.notifications.isPending);
+ // The same next-step rules as the Applications list: due follow-ups, no reply, interviews this week, offers.
+ const attention = (applications.data ?? [])
+ .flatMap((row) => {
- const step = getNextStep(row, now, lanes.lanes, time.timeZone);
- return needsAttention(step, now) ? [{ row, step, key: nextStepSortKey(row, now, time.timeZone) }] : [];
++ const step = getNextStep(row, now, lanes.lanes, time.timeZone, offerHintFor(hints, row.id));
++ return needsAttention(step, now)
++ ? [{ row, step, key: nextStepSortKey(row, now, time.timeZone, offerHintFor(hints, row.id)) }]
++ : [];
+ })
+ .sort((a, b) => compareNextStepSortKeys(a.key, b.key, a.row.id, b.row.id));
const openSchedule = (schedule: Schedule) =>
setSheet({ schedule, kind: schedule.kind as "discovery" | "prepare" | "follow-up" });
const toggle = (row: Schedule, enabled: boolean) => {
diff --cc apps/mobile/src/features/check/job-match.tsx
index b669da544,33560cbc5..f30fb125a
--- a/apps/mobile/src/features/check/job-match.tsx
+++ b/apps/mobile/src/features/check/job-match.tsx
@@@ -58,15 -36,10 +58,15 @@@ export function JobMatch({ id, data, ap
const controller = useRef<AbortController | null>(null);
useEffect(() => () => controller.current?.abort(), []);
const posting = applicationId ? (application.data?.jobDescription?.trim() ?? "") : pasted.trim();
- const match = useMemo(() => (posting ? matchPosting(data, posting) : null), [data, posting]);
+ const company = applicationId ? application.data?.company : undefined;
+ const location = applicationId ? application.data?.location : undefined;
+ const match = useMemo(
+ () => (posting ? matchPosting(data, posting, { company, location }) : null),
+ [data, posting, company, location],
+ );
const open = match?.missing.find((entry) => entry.term === term);
const link = async (applicationId: string) => {
-- if (controller.current || locked || offline) return;
++ if (controller.current || locked || offline) return false;
const request = new AbortController();
controller.current = request;
setLinking(true);
@@@ -74,7 -47,7 +74,7 @@@
try {
await useResumeStore.getState().flush();
const ready = useResumeStore.getState();
-- if (request.signal.aborted || ready.document?.id !== id || ready.locked) return;
++ if (request.signal.aborted || ready.document?.id !== id || ready.locked) return false;
if (ready.conflict || ready.status === "error" || ready.status === "offline") throw new Error("Draft not saved");
await client.documents.linkApplication(
{ type: "resume", id, applicationId: applicationId || null },
@@@ -86,88 -59,16 +86,90 @@@
await resume.blur();
}
void invalidate();
++ return true;
} catch {
if (!request.signal.aborted) {
setFailed(true);
void invalidate();
}
++ return false;
+ } finally {
+ if (!request.signal.aborted) setLinking(false);
+ if (controller.current === request) controller.current = null;
+ }
+ };
+ /**
+ * Saves pending edits, copies this resume for the job and opens the copy on Job match; this resume is unchanged. A
+ * new job is saved with its copy: both land, or neither does. A retry (a lost response, Check opened again) sends
+ * the same ID, so the copy is made once.
+ */
+ const makeCopy = async (job: { applicationId: string; company: string } | { application: NewJob }) => {
+ if (controller.current || offline) return;
+ const request = new AbortController();
+ controller.current = request;
+ setLinking(true);
+ setCopyFailed(null);
+ try {
+ await useResumeStore.getState().flush();
+ const ready = useResumeStore.getState();
+ if (request.signal.aborted || ready.document?.id !== id) return;
+ if (ready.conflict || ready.status === "error" || ready.status === "offline") throw new Error("Draft not saved");
+ const copyId = await copyForJob(
+ "application" in job
+ ? { resumeId: id, application: job.application }
+ : { resumeId: id, applicationId: job.applicationId },
+ request.signal,
+ );
+ void invalidate();
+ setChoice(null);
+ setSaveJob(null);
+ const company = "application" in job ? job.application.company : job.company;
+ showToast({ message: t`Copy made for ${company}. This resume is unchanged.` });
+ router.replace({ pathname: routes.builder(copyId, "check"), params: { tab: "match" } });
+ } catch {
+ if (!request.signal.aborted)
+ setCopyFailed(
+ "application" in job
+ ? t`Couldn't save the job and its copy. Your edits are kept. Try again.`
+ : t`Couldn't copy the resume. Your edits are kept. Try again.`,
+ );
} finally {
if (!request.signal.aborted) setLinking(false);
if (controller.current === request) controller.current = null;
}
};
+ /** Saves the pasted posting as a job, with its own copy or linked to this resume; a retry saves it once. */
+ const savePosting = async (then: "copy" | "link") => {
+ if (!saveJob || !saveJob.company.trim() || !saveJob.role.trim() || controller.current || offline) return;
+ const text = pasted.trim();
+ const truncated = text.length > 20_000;
+ const job: NewJob = {
+ company: saveJob.company.trim(),
+ role: saveJob.role.trim(),
+ jobDescription: text.slice(0, 20_000),
+ postingSource: { method: "paste", format: "text", truncated, completeness: truncated ? "incomplete" : "unknown" },
+ };
+ if (then === "copy") return void (await makeCopy({ application: job }));
+ const key = `save-job:${id}:${JSON.stringify(job)}`;
+ let jobId: string;
+ try {
+ jobId = await client.applications.create({ ...job, newId: pendingRequestId(key) });
- settleRequestId(key);
+ void invalidate();
+ } catch {
+ setCopyFailed(t`Couldn't save the job. Try again.`);
+ return;
+ }
- await link(jobId);
++ if (!(await link(jobId))) return;
++ settleRequestId(key);
+ setSaveJob(null);
+ setPasted("");
+ };
+ const pick = (value: string) => {
+ const entry = (applications.data ?? []).find((item) => item.id === value);
+ // Unlinking, or picking the job this resume already belongs to, needs no choice.
+ if (!value || !entry || value === applicationId) return void link(value);
+ setChoice({ id: entry.id, company: entry.company });
+ };
return (
<View style={{ gap: space.s3 }}>
{applications.isPending ? (
diff --cc apps/mobile/src/features/documents/filter.ts
index 9a691a746,3edb90b34..0f8fbc557
--- a/apps/mobile/src/features/documents/filter.ts
+++ b/apps/mobile/src/features/documents/filter.ts
@@@ -20,14 -20,3 +20,16 @@@ export function changedTags(document: D
export function daysLeftInTrash(trashedAt: Date, now = Date.now()) {
return Math.max(0, Math.ceil((trashedAt.getTime() + 30 * 86_400_000 - now) / 86_400_000));
}
+
+/**
+ * Where a copy for a job starts by default: the most recently edited resume that isn't already a job's copy (the base
+ * every copy should come from), or the most recent one when every resume is a job copy.
+ */
- export function defaultCopySource<T extends Pick<DocumentSummary, "updatedAt" | "application">>(
- resumes: readonly T[],
- ): T | undefined {
- const recent = resumes.toSorted((a, b) => new Date(b.updatedAt).getTime() - new Date(a.updatedAt).getTime());
++export function defaultCopySource<
++ T extends Pick<DocumentSummary, "updatedAt" | "application"> & Partial<Pick<DocumentSummary, "editedAt">>,
++>(resumes: readonly T[]): T | undefined {
++ const recent = resumes.toSorted(
++ (a, b) => new Date(b.editedAt ?? b.updatedAt).getTime() - new Date(a.editedAt ?? a.updatedAt).getTime(),
++ );
+ return recent.find((resume) => !resume.application) ?? recent[0];
+}
diff --cc apps/mobile/src/features/documents/new-document.tsx
index 2d250a770,421d41f3c..5da87f09d
--- a/apps/mobile/src/features/documents/new-document.tsx
+++ b/apps/mobile/src/features/documents/new-document.tsx
@@@ -67,13 -63,12 +67,14 @@@ export function NewDocument()
enabled: step === "copy" && session.status === "signed-in",
});
const resumes = (documents.data ?? []).filter((document) => document.type === "resume");
- const source = resumes.find((document) => document.id === sourceId) ?? resumes[0];
+ const source = resumes.find((document) => document.id === sourceId) ?? defaultCopySource(resumes);
const jobs = (applications.data ?? []).filter((application) => application.status !== "closed");
- const job = jobs.find((application) => application.id === jobId);
- const waitingForJob = !!jobId && !job && applications.isFetching;
+ const job = newJob ? undefined : jobs.find((application) => application.id === jobId);
++ const waitingForJob = !newJob && Boolean(jobId) && !job && applications.isFetching;
+ const company = newJob ? newJob.company.trim() : job?.company;
+ const newJobReady = !newJob || (!!newJob.company.trim() && !!newJob.role.trim());
const suggested = (
- job ? `${source?.name.split(" — ")[0] ?? ""} — ${job.company}` : t`${source?.name ?? ""} (copy)`
+ company ? `${source?.name.split(" — ")[0] ?? ""} — ${company}` : t`${source?.name ?? ""} (copy)`
).slice(0, 100);
const cleanupFile = () => {
try {
@@@ -169,43 -173,16 +179,43 @@@
});
const copy = () =>
run(async (signal) => {
- if (!source || !(name ?? suggested).trim() || !newJobReady) return;
- if (!source || waitingForJob || !(name ?? suggested).trim()) return;
- const id = await client.documents.copyForJob(
- { resumeId: source.id, name: (name ?? suggested).trim(), ...(jobId ? { applicationId: jobId } : {}) },
- { signal },
- );
++ if (!source || !(name ?? suggested).trim() || !newJobReady || waitingForJob) return;
+ const pasted = newJob?.posting.trim() ?? "";
+ const truncated = pasted.length > 20_000;
+ const input = {
+ resumeId: source.id,
+ name: (name ?? suggested).trim(),
+ ...(newJob
+ ? {
+ // The job and its copy are saved together, or neither is.
+ application: {
+ company: newJob.company.trim(),
+ role: newJob.role.trim(),
+ ...(pasted
+ ? {
+ jobDescription: pasted.slice(0, 20_000),
+ postingSource: {
+ method: "paste" as const,
+ format: "text" as const,
+ truncated,
+ completeness: truncated ? ("incomplete" as const) : ("unknown" as const),
+ },
+ }
+ : {}),
+ },
+ }
- : job
- ? { applicationId: job.id }
++ : jobId
++ ? { applicationId: jobId }
+ : {}),
+ };
+ const id = await copyForJob(input, signal);
+ if (newJob) void applications.refetch();
if (current(signal)) {
const document = { id, type: "resume" as const };
- const forJob = Boolean(newJob || job);
++ const forJob = Boolean(newJob || jobId);
setCreated(document);
setApplicationLinked(true);
- if (jobId && ai.hasAIProvider) onCopiedForJob(id);
+ if (forJob && ai.hasAIProvider) onCopiedForJob(id);
else open(document);
}
});
diff --cc apps/mobile/src/features/workspace/tabs/messages.tsx
index a1174f5d1,cab00081c..5d6d8abb8
--- a/apps/mobile/src/features/workspace/tabs/messages.tsx
+++ b/apps/mobile/src/features/workspace/tabs/messages.tsx
@@@ -216,15 -204,9 +216,15 @@@ function ProposalCard({ reply, applicat
const selected = applied ? applied.changes : ticked;
const contact = application.contacts[0]?.name.split(" ")[0];
const lanes = useApplicationLanes();
+ const offerHints = useOfferHints();
const current =
application.followUpNote ||
- describeNextStep(getNextStep(application, now, lanes.lanes, timeZone), application, i18n.locale, timeZone).title;
+ describeNextStep(
- getNextStep(application, now, lanes.lanes, offerHintFor(offerHints, application.id)),
++ getNextStep(application, now, lanes.lanes, timeZone, offerHintFor(offerHints, application.id)),
+ application,
+ i18n.locale,
+ timeZone,
+ ).title;
const from = getLaneLabel(resolveLane(lanes.lanes, application));
const describe = (change: (typeof changes)[number]) => {
diff --cc apps/server/src/static/resume-page.test.ts
index a84fa7807,6440d259a..b0035381a
--- a/apps/server/src/static/resume-page.test.ts
+++ b/apps/server/src/static/resume-page.test.ts
@@@ -41,53 -82,19 +82,70 @@@ it("authorizes only the fixed applicati
expect(csp?.match(/script-src ([^;]*)/)?.[1]).not.toContain("'unsafe-inline'");
});
+it("sends a mistyped app address to the app instead of saying a resume isn't shared (J2-16)", async () => {
+ const { loadPublicWebPage } = await import("@reactive-resume/api/features/resume/web-page");
+ vi.mocked(loadPublicWebPage).mockResolvedValue({ status: "unavailable" } as never);
+ const { serveResumePage } = await import("./resume-page");
+
+ const profile = await serveResumePage(
+ new Request("https://resume.example/applications"),
+ { username: "applications", primary: true },
+ "test",
+ );
+ expect(profile.status).toBe(302);
+ expect(profile.headers.get("location")).toBe("/dashboard/applications");
+
+ const nested = await serveResumePage(
+ new Request("https://resume.example/settings/profile?x=1"),
+ { username: "settings", slug: "profile" },
+ "test",
+ );
+ expect(nested.headers.get("location")).toBe("/dashboard/settings/profile?x=1");
+
+ // Any other address that isn't a shared resume still says so.
+ const unknown = await serveResumePage(
+ new Request("https://resume.example/ada/resume"),
+ { username: "ada", slug: "resume" },
+ "test",
+ );
+ expect(unknown.status).toBe(404);
+});
+
+it("still shows a shared resume whose owner's username looks like an app page", async () => {
+ const { loadPublicWebPage } = await import("@reactive-resume/api/features/resume/web-page");
+ vi.mocked(loadPublicWebPage).mockResolvedValue({
+ status: "ready",
+ data: structuredClone(defaultResumeData),
+ username: "career",
+ slug: "resume",
+ updatedAt: new Date(),
+ indexable: false,
+ hasPassword: false,
+ showDownloadButtons: false,
+ customDomain: null,
+ } as never);
+ const { serveResumePage } = await import("./resume-page");
+ const response = await serveResumePage(
+ new Request("https://resume.example/career/resume"),
+ { username: "career", slug: "resume" },
+ "test",
+ );
+ expect(response.status).toBe(200);
+});
++
+ it("gives a visitor at an address with no shared resume a way to the app's home, in their language", async () => {
+ const { loadPublicWebPage } = await import("@reactive-resume/api/features/resume/web-page");
+ vi.mocked(loadPublicWebPage).mockResolvedValue({ status: "unavailable" } as never);
+ const { serveResumePage } = await import("./resume-page");
+
+ const response = await serveResumePage(
- new Request("https://resume.example/login", { headers: { "accept-language": "de-DE" } }),
- { username: "login", primary: true },
++ new Request("https://resume.example/unshared-user", { headers: { "accept-language": "de-DE" } }),
++ { username: "unshared-user", primary: true },
+ "test",
+ );
+
+ const html = await response.text();
+ expect(response.status).toBe(404);
+ expect(html).toMatch(/<a class="home" href="https:\/\/resume\.example\/">.*<\/a><\/main>/);
+ expect(html).toContain('lang="de-DE"');
+ });
diff --cc apps/server/src/static/resume-page.ts
index cc9db1a18,43c7db7b4..bb61dcb56
--- a/apps/server/src/static/resume-page.ts
+++ b/apps/server/src/static/resume-page.ts
@@@ -101,22 -122,8 +123,18 @@@ async function showPage(request: Reques
const previewToken = new URL(request.url).searchParams.get("preview") ?? undefined;
const result = await loadPublicWebPage({ match, requestHeaders: request.headers, trustedClient, previewToken });
- if (result.status === "unavailable") return unavailableResponse(request);
+ if (result.status === "unavailable") {
+ // `/applications` typed without `/dashboard` is the app's page, not a resume that isn't shared.
+ const appPath =
+ !options.customDomain && "username" in match ? mistypedAppPath(new URL(request.url).pathname) : null;
+ if (appPath)
+ return new Response(null, {
+ status: 302,
+ headers: { Location: `${appPath}${new URL(request.url).search}`, "Cache-Control": "no-store" },
+ });
+ return unavailableResponse(request);
+ }
- if (result.status === "moved") {
- const target = new URL(request.url);
- target.pathname = publicResumePath({ username: result.username, slug: result.slug });
- return new Response(null, { status: 301, headers: { Location: `${target.pathname}${target.search}` } });
- }
+ if (result.status === "moved") return movedResponse(request, result);
if (result.status === "password") {
const lang = result.locale;
const wrongPassword = new URL(request.url).searchParams.has("wrong-password");
diff --cc apps/web/locales/af-ZA.po
index 8a991a64a,99829bed7..21f8f0b04
--- a/apps/web/locales/af-ZA.po
+++ b/apps/web/locales/af-ZA.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {#-kwessi
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check het # ding om te hersien. Jy kan steeds aflaai.} other {Check het # dinge om te hersien. Jy kan steeds aflaai.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} is terug waar dit begin het."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} is nie oor 'n plek waarheen dit kan gaan nie."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} is oor {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} is op {place} neergesit."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} is neergesit waar dit nie kan gaan nie. Niks is geskuif nie."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} is neergesit waar dit begin het. Niks is geskuif nie."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Voeg 'n land by
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Voeg 'n feit by, byvoorbeeld “Ek het in 2025 twee junior PM's gementor”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Voeg 'n sleutelwoord by..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "'n Inskrywing het geen datums n
msgid "an error"
msgstr "'n fout"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "'n Onverwagte fout het verhoed dat hierdie bladsy laai. Probeer weer, of gaan na die dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Gesluit
msgid "Closed as {label}"
msgstr "Gesluit as {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Afrigter"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Gebruik voorbeeld"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Gebruik die standaardopskrif"
diff --cc apps/web/locales/am-ET.po
index 5e4c3970c,cf679d628..1ec3ccfa4
--- a/apps/web/locales/am-ET.po
+++ b/apps/web/locales/am-ET.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {የ# ች�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {ቼክ የሚገመገም # ነገር አለው። አሁንም ማውረድ ትችላለህ።} other {ቼክ የሚገመገሙ # ነገሮች አሉት። አሁንም ማውረድ ትችላለህ።}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ወደ መነሻ ቦታው ተመልሷል።"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ሊቀመጥ የሚችልበት ቦታ ላይ አይደለም።"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} በዚህ ላይ ነው፦ {place}።"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} እዚህ ተቀምጧል፦ {place}።"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} ሊሄድ በማይችልበት ቦታ ተቀምጧል። ምንም አልተንቀሳቀሰም።"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} በመነሻ ቦታው ተቀምጧል። ምንም አልተንቀሳቀሰም።"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "ሀገር ጨምር
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "እውነታ ያክሉ፣ ለምሳሌ “በ2025 ሁለት ጀማሪ PMዎችን አሰልጥኛለሁ”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "ቁልፍ ቃል ያክሉ..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "መግቢያ ቀኖች የሉ�
msgid "an error"
msgstr "ስህተት"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "ያልተጠበቀ ስህተት ይህ ገጽ እንዳይጫን አግዶታል። እንደገና ይሞክሩ፣ ወይም ወደ ዳሽቦርዱ ይሂዱ።"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ዝግ
msgid "Closed as {label}"
msgstr "በ{label} ተዘግቷል"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "አሰልጣኝ"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "ናሙና ይጠቀሙ"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "መደበኛውን ርዕስ ተጠቀም"
diff --cc apps/web/locales/ar-SA.po
index e1ef3a6fd,32e314e0a..4143f1925
--- a/apps/web/locales/ar-SA.po
+++ b/apps/web/locales/ar-SA.po
@@@ -118,26 -118,11 +118,26 @@@ msgstr "{0, plural, one {طلب نشط
msgid "{0, plural, one {# answer} other {# answers}}"
msgstr "{0, plural, zero {لا إجابات} one {إجابة واحدة} two {إجابتان} few {# إجابات} many {# إجابة} other {# إجابة}}"
+#. placeholder {0}: others.length
+#: src/features/applications/use-application-actions.ts
+msgid "{0, plural, one {# application closed as Accepted another offer} other {# applications closed as Accepted another offer}}"
- msgstr ""
++msgstr "{0, plural, zero {لم يُغلق أي طلب بحالة قبول عرض آخر} one {أُغلق طلب واحد بحالة قبول عرض آخر} two {أُغلق طلبان بحالة قبول عرض آخر} few {أُغلقت # طلبات بحالة قبول عرض آخر} many {أُغلق # طلبًا بحالة قبول عرض آخر} other {أُغلق # طلب بحالة قبول عرض آخر}}"
+
+#. placeholder {0}: ids.length
+#: src/features/applications/components/list-view.tsx
+msgid "{0, plural, one {# application closed} other {# applications closed}}"
- msgstr ""
++msgstr "{0, plural, zero {لم يُغلق أي طلب} one {أُغلق طلب واحد} two {أُغلق طلبان} few {أُغلقت # طلبات} many {أُغلق # طلبًا} other {أُغلق # طلب}}"
+
#. placeholder {0}: result.deleted
#: src/features/applications/components/list-view.tsx
msgid "{0, plural, one {# application deleted} other {# applications deleted}}"
msgstr "{0, plural, one {تم حذف طلب واحد} two {تم حذف طلبين} few {تم حذف # طلبات} many {تم حذف # طلبًا} other {تم حذف # طلب}}"
+#. placeholder {0}: ids.length
+#: src/features/applications/components/list-view.tsx
+msgid "{0, plural, one {# application moved to {label}} other {# applications moved to {label}}}"
- msgstr ""
++msgstr "{0, plural, zero {لم يُنقل أي طلب إلى {label}} one {نُقل طلب واحد إلى {label}} two {نُقل طلبان إلى {label}} few {نُقلت # طلبات إلى {label}} many {نُقل # طلبًا إلى {label}} other {نُقل # طلب إلى {label}}}"
+
#. placeholder {0}: importable.length
#: src/features/applications/components/import-applications-sheet.tsx
msgid "{0, plural, one {# application ready to import} other {# applications ready to import}}"
@@@ -279,16 -264,6 +279,16 @@@ msgstr "{0, plural, zero {تم التق
msgid "{0, plural, one {Backs # story} other {Backs # stories}}"
msgstr "{0, plural, zero {لا تدعم أي قصة} one {تدعم قصة واحدة} two {تدعم قصتين} few {تدعم # قصص} many {تدعم # قصة} other {تدعم # قصة}}"
+#. placeholder {0}: others.length
+#: src/features/applications/use-application-actions.ts
+msgid "{0, plural, one {Close it} other {Close all #}}"
- msgstr ""
++msgstr "{0, plural, zero {إغلاق} one {إغلاقه} two {إغلاق الطلبين} few {إغلاق الطلبات # كلها} many {إغلاق الطلبات # كلها} other {إغلاق الطلبات # كلها}}"
+
+#. placeholder {0}: others.length
+#: src/features/applications/use-application-actions.ts
+msgid "{0, plural, one {Closed as Accepted offer. Close your other open application as Accepted another offer?} other {Closed as Accepted offer. Close your # other open applications as Accepted another offer?}}"
- msgstr ""
++msgstr "{0, plural, zero {أُغلق بحالة قبول العرض. لا توجد طلبات أخرى مفتوحة.} one {أُغلق بحالة قبول العرض. هل تريد إغلاق طلبك الآخر المفتوح بحالة قبول عرض آخر؟} two {أُغلق بحالة قبول العرض. هل تريد إغلاق طلبيك الآخرين المفتوحين بحالة قبول عرض آخر؟} few {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟} many {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟} other {أُغلق بحالة قبول العرض. هل تريد إغلاق طلباتك الأخرى المفتوحة وعددها # بحالة قبول عرض آخر؟}}"
+
#. placeholder {0}: ids.length
#: src/features/applications/components/list-view.tsx
msgid "{0, plural, one {Delete # application?} other {Delete # applications?}}"
@@@ -658,10 -650,6 +675,10 @@@ msgstr "{entries, plural, one {إدخا
msgid "{entry} doesn't say when. Dates place it on your timeline."
msgstr "{entry} لا يذكر متى. التواريخ تضعها على الجدول الزمني الخاص بك."
+#: src/features/resume/editor/check/issues.ts
+msgid "{entry} has no dates and reads like a sentence cut off the entry above it, which happens when a PDF import splits a bullet. Adding dates would make it look like a separate job."
- msgstr ""
++msgstr "لا يحتوي {entry} على تواريخ ويبدو جزءًا من جملة اقتُطعت من الإدخال السابق، وقد يحدث ذلك عند تقسيم نقطة أثناء استيراد PDF. ستجعله إضافة التواريخ يبدو وظيفة منفصلة."
+
#: src/features/resume/editor/check/issues.ts
msgid "{entry} names the role but not what you did, so it adds no keywords."
msgstr "{entry} يسمي الدور ولكن ليس ما قمت به، لذلك لا يضيف أي كلمات رئيسية."
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {قد تك
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {يحتوي الشيك على شيء # للمراجعة. لا يزال بإمكانك التنزيل.} other {يحتوي الشيك على أشياء # للمراجعة. لا يزال بإمكانك التنزيل.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "عاد {item} إلى مكانه الأصلي."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ليس فوق مكان يمكن إفلاته فيه."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} فوق: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "تم إفلات {item} على: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "تم إفلات {item} في مكان غير مسموح به. لم يتم نقل أي شيء."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "تم إفلات {item} في مكانه الأصلي. لم يتم نقل أي شيء."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
- msgstr ""
++msgstr "{kept, plural, zero {لم تتغير أي طلبات في هذه الأثناء} one {تغير طلب واحد في هذه الأثناء، لذلك يحتفظ بمرحلته الأحدث} two {تغير طلبان في هذه الأثناء، لذلك يحتفظان بمرحلتيهما الأحدث} few {تغيرت # طلبات في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث} many {تغير # طلبًا في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث} other {تغير # طلب في هذه الأثناء، لذلك تحتفظ بمراحلها الأحدث}}"
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1124,10 -1140,6 +1173,10 @@@ msgstr "رابط يشير إلى مكا
msgid "A model's opinion, not a verdict. It can be wrong."
msgstr "رأي نموذجي وليس حكم. يمكن أن يكون خطأ."
+#: src/features/career/offer-entry.tsx
+msgid "a month"
- msgstr ""
++msgstr "شهريًا"
+
#: src/features/settings/account/security.tsx
msgid "A name helps you tell passkeys apart, like “Work laptop”."
msgstr "يساعدك الاسم على التمييز بين مفاتيح المرور، مثل “كمبيوتر العمل المحمول”."
@@@ -1188,10 -1200,6 +1237,10 @@@ msgstr "خطة موقوتة، وافت�
msgid "A web address is written without https://."
msgstr "عنوان ويب مكتوب بدون https://."
+#: src/features/career/offer-entry.tsx
+msgid "a year"
- msgstr ""
++msgstr "سنويًا"
+
#: src/features/homepage/footer.tsx
msgid "About"
msgstr "حول هذا التطبيق"
@@@ -1324,8 -1334,9 +1375,12 @@@ msgstr "أضف دولة
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "أضف حقيقة، مثلًا “وجّهتُ اثنين من مديري المنتجات المبتدئين في 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
++msgstr "إضافة وظيفة"
++
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
msgstr ""
#: src/components/input/chip-input.tsx
@@@ -1345,10 -1356,6 +1400,10 @@@ msgstr "أضف رابطا
msgid "Add a location"
msgstr "أضف موقعًا"
+#: src/features/career/offer-entry.tsx
+msgid "Add a newer offer"
- msgstr ""
++msgstr "إضافة عرض أحدث"
+
#: src/features/applications/components/detail/activity.tsx
msgid "Add a note"
msgstr "أضف ملاحظة"
@@@ -1626,12 -1641,6 +1689,12 @@@ msgstr "أضف المجال بعد @،
msgid "Add the domain ending, like {domain}.com"
msgstr "أضف نهاية النطاق، مثل {domain}.com"
+#: src/features/applications/components/detail/next-step-card.tsx
+#: src/features/applications/next-step.ts
+#: src/features/applications/use-application-actions.ts
+msgid "Add the offer's terms"
- msgstr ""
++msgstr "إضافة شروط العرض"
+
#: src/features/resume/share/dns-records-dialog.tsx
msgid "Add these records where you manage the domain, then check. Changes can take a few hours to reach everyone."
msgstr "أضف هذه السجلات حيث تدير النطاق، ثم تحقّق. قد يستغرق وصول التغييرات إلى الجميع بضع ساعات."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "الإدخال ليس له تو
msgid "an error"
msgstr "خطأ"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
- msgstr ""
-
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "حدث خطأ غير متوقع منع تحميل هذه الصفحة. حاول مرة أخرى، أو انتقل إلى لوحة التحكم."
++msgstr "في الساعة"
+
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -2733,11 -2730,6 +2788,11 @@@ msgstr "إدخال القائمة {n}
msgid "Bulleted list"
msgstr "قائمة نقطية"
+#. placeholder {0}: formatWhen(step.respondBy, locale, timeZone, true)
+#: src/features/applications/next-step.ts
+msgid "By {0}"
- msgstr ""
++msgstr "بحلول {0}"
+
#: src/features/homepage/footer.tsx
msgid "By the community, for the community."
msgstr "من المجتمع وللمجتمع."
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "مغلق
msgid "Closed as {label}"
msgstr "أُغلقت بالحالة {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
- msgstr ""
++msgstr "أُغلق بحالة قبول العرض"
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "المدرّب"
@@@ -3342,20 -3347,11 +3415,20 @@@ msgstr "مضغوط
msgid "Company"
msgstr "الشركة"
+#: src/features/career/offer-entry.tsx
+msgid "Compare"
- msgstr ""
++msgstr "مقارنة"
+
#. placeholder {0}: application.company
#: src/features/career/workspace/practise.tsx
msgid "Compare attempts to see what improved. Practice questions are simulated, not from {0}."
msgstr "قارن المحاولات لترى ما تحسّن. أسئلة التمرين محاكاة، وليست من {0}."
+#: src/features/applications/next-step.ts
+msgid "Compare it with your other offers"
- msgstr ""
++msgstr "قارنه بعروضك الأخرى"
+
+#: src/features/applications/components/detail/next-step-card.tsx
#: src/features/career/workspace/shell.tsx
msgid "Compare offers"
msgstr "قارن العروض"
@@@ -3652,11 -3654,6 +3731,11 @@@ msgstr "نسخ الرموز
msgid "Copy conversation"
msgstr "انسخ المحادثة"
+#. placeholder {0}: resume.application.company
+#: src/features/documents/new-document-dialog.tsx
+msgid "Copy for {0}"
- msgstr ""
++msgstr "نسخة لوظيفة لدى {0}"
+
#: src/features/documents/document-actions.tsx
msgid "Copy for a job…"
msgstr "نسخ لوظيفة..."
@@@ -3673,10 -3670,6 +3752,10 @@@ msgstr "انسخه الآن. حرصً�
msgid "Copy link"
msgstr "نسخ الوصلة"
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Copy made for {company}. This resume is unchanged."
- msgstr ""
++msgstr "أُنشئت نسخة لوظيفة لدى {company}. لم تتغير هذه السيرة الذاتية."
+
#: src/features/documents/document-actions.tsx
msgid "Copy public link"
msgstr "نسخ الرابط العام"
@@@ -4136,15 -4144,6 +4227,15 @@@ msgstr "تعذّر حفظ المستن�
msgid "Couldn't save the follow-up. Try again."
msgstr "تعذر حفظ المتابعة. حاول مرة أخرى."
+#: src/features/documents/new-document-dialog.tsx
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Couldn't save the job and its copy. Try again."
- msgstr ""
++msgstr "تعذر حفظ الوظيفة ونسختها. حاول مجددًا."
+
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Couldn't save the job. Try again."
- msgstr ""
++msgstr "تعذر حفظ الوظيفة. حاول مجددًا."
+
#: src/features/applications/components/application-notes.tsx
msgid "Couldn't save the notes. Try again."
msgstr "تعذر حفظ الملاحظات. حاول مرة أخرى."
@@@ -7073,10 -7143,6 +7235,10 @@@ msgstr "مباراة الوظيفة
msgid "Job posting"
msgstr "إعلان وظيفة"
+#: src/features/documents/new-document-dialog.tsx
+msgid "Job posting (optional)"
- msgstr ""
++msgstr "إعلان الوظيفة (اختياري)"
+
#: src/features/ats-checker/checker.tsx
msgid "Job posting <0>· optional, adds a keyword match</0>"
msgstr "إعلان الوظيفة <0>· اختياري، يضيف مقارنة للكلمات المفتاحية</0>"
@@@ -7631,10 -7706,6 +7802,10 @@@ msgstr "ربط طلب التوظيف...
msgid "Link copied"
msgstr "تم نسخ الرابط"
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Link this resume"
- msgstr ""
++msgstr "ربط هذه السيرة الذاتية"
+
#: src/features/documents/document-actions.tsx
msgid "Link to application"
msgstr "رابط لطلب الوظيفة"
@@@ -7867,10 -7947,6 +8043,10 @@@ msgstr "ابحث عن
msgid "Looks exactly like the page. Use it for applications and email."
msgstr "تبدو تماما مثل الصفحة. استخدامه لطلبات العمل والبريد الإلكتروني."
+#: src/features/resume/editor/check/issues.ts
+msgid "Looks like part of the entry above"
- msgstr ""
++msgstr "يبدو جزءًا من الإدخال السابق"
+
#. Link to backup-code verification flow when authenticator app is unavailable
#: src/features/auth/pages/verify-2fa.tsx
msgid "Lost access to your authenticator?"
@@@ -7897,10 -7973,6 +8073,10 @@@ msgstr "رئيسي
msgid "Main navigation"
msgstr "التنقل الرئيسي"
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Make a copy for this job"
- msgstr ""
++msgstr "إنشاء نسخة لهذه الوظيفة"
+
#: src/features/homepage/design.tsx
msgid "Make any of them yours."
msgstr "جعل أي منهم لك."
@@@ -8098,14 -8170,6 +8274,14 @@@ msgstr "واسطة
msgid "Mentor other designers"
msgstr "توجيه مصممين آخرين"
+#: src/features/resume/editor/check/issues.ts
+msgid "Merge into previous entry"
- msgstr ""
++msgstr "دمج مع الإدخال السابق"
+
+#: src/features/resume/editor/check/issues.ts
+msgid "Merged into the entry above"
- msgstr ""
++msgstr "دُمج مع الإدخال السابق"
+
#: src/features/career/workspace/messages.tsx
msgid "Message saved with this application"
msgstr ""
@@@ -8932,10 -9026,6 +9138,10 @@@ msgstr "غير موجود في سيرت
msgid "Not in your resume · add only if true"
msgstr "ليس في سيرتك الذاتية · أضف فقط إذا كان هذا صحيحًا"
+#: src/features/documents/new-document-dialog.tsx
+msgid "Not linked to a job"
- msgstr ""
++msgstr "غير مرتبط بوظيفة"
+
#: src/features/career/shared.tsx
msgid "Not now"
msgstr "ليس الآن"
@@@ -9128,11 -9224,6 +9340,11 @@@ msgstr "عرض وظيفي
msgid "Offer saved"
msgstr "تم حفظ العرض الوظيفي"
+#. placeholder {0}: target.company
+#: src/features/career/offer-entry.tsx
+msgid "Offer saved. {0} moved to Offer."
- msgstr ""
++msgstr "حُفظ العرض. نُقل {0} إلى مرحلة العرض."
+
#: src/features/career/offer-entry.tsx
msgid "Offer type"
msgstr "نوع العرض الوظيفي"
@@@ -9713,10 -9823,6 +9944,10 @@@ msgstr "الجداول المتوقف�
msgid "Pay period"
msgstr "فترة الدفع"
+#: src/features/applications/next-step.ts
+msgid "Pay, deadline and conditions, so you can compare and decide"
- msgstr ""
++msgstr "الأجر والموعد النهائي والشروط، لتتمكن من المقارنة واتخاذ القرار"
+
#: src/features/resume/stylesheet/editor.tsx
msgid "PDF styles support a subset of CSS. Rotation, dashed and dotted borders, and some layout properties are ignored."
msgstr "تدعم أنماط PDF مجموعة فرعية من CSS. يتم تجاهل التدوير والحدود المتقطعة والمنقطة وبعض خصائص التخطيط."
@@@ -10949,10 -11091,6 +11216,10 @@@ msgstr "الرد
msgid "Reply copied"
msgstr "تم نسخ الرد"
+#: src/features/applications/next-step.ts
+msgid "Reply to the offer"
- msgstr ""
++msgstr "الرد على العرض"
+
#: src/features/homepage/footer.tsx
#: src/features/homepage/sections.tsx
#: src/routes/dashboard/settings/route.tsx
@@@ -11014,11 -11152,6 +11281,11 @@@ msgstr "الموارد
msgid "Respond by"
msgstr "الرد قبل"
+#. placeholder {0}: day(data.respondBy)
+#: src/features/career/offer-entry.tsx
+msgid "respond by {0}"
- msgstr ""
++msgstr "الرد بحلول {0}"
+
#: src/features/resume/editor/proposals/proposal-list.tsx
msgid "Responsibility"
msgstr ""
@@@ -11475,8 -11600,8 +11735,8 @@@ msgid "Save an unprotected copy, with n
msgstr "احفظ نسخة غير محمية، بلا كلمة مرور وبلا قيود صلاحيات."
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save and link"
-msgstr "حفظ والربط"
+msgid "Save and link this resume"
- msgstr ""
++msgstr "حفظ وربط هذه السيرة الذاتية"
#: src/features/applications/components/add-application-dialog.tsx
msgid "Save and prepare resume"
@@@ -11491,8 -11616,8 +11751,8 @@@ msgid "Save another offer to compare
msgstr "احفظ عرضًا آخر للمقارنة"
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save as application…"
-msgstr "حفظ كطلب وظيفة..."
+msgid "Save as a job…"
- msgstr ""
++msgstr "حفظ كوظيفة…"
#: src/dialogs/resume/index.tsx
#: src/features/applications/components/application-form-sheet.tsx
@@@ -11527,14 -11652,6 +11787,14 @@@ msgstr "احفظ المقابلة
msgid "Save job"
msgstr "حفظ الوظيفة"
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Save job and make a copy"
- msgstr ""
++msgstr "حفظ الوظيفة وإنشاء نسخة"
+
+#: src/features/documents/new-document-dialog.tsx
+msgid "Save job, create and open"
- msgstr ""
++msgstr "حفظ الوظيفة وإنشاء النسخة وفتحها"
+
#: src/features/career/workspace/messages.tsx
msgid "Save message without AI"
msgstr ""
@@@ -11580,10 -11701,6 +11844,10 @@@ msgstr "
msgid "Save these offer terms to compare"
msgstr "احفظ شروط هذا العرض للمقارنة"
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Save this resume's changes before copying it."
- msgstr ""
++msgstr "احفظ تغييرات هذه السيرة الذاتية قبل نسخها."
+
#: src/features/assistant/tool-approvals.tsx
msgid "Save this story to Knowledge?"
msgstr "حفظ هذه القصة في المعرفة؟"
@@@ -11642,8 -11759,8 +11906,8 @@@ msgid "Saved a story: {0}
msgstr "تم حفظ قصة: {0}"
#: src/features/resume/editor/check/job-match.tsx
-msgid "Saved as an application and linked"
-msgstr "تم حفظه كطلب وظيفة وربطه"
+msgid "Saved as a job and linked to this resume"
- msgstr ""
++msgstr "حُفظ كوظيفة ورُبط بهذه السيرة الذاتية"
#: src/features/resume/editor/write/dates-field.tsx
msgid "Saved as written. Automated date checks and sorting are unavailable for this text."
@@@ -11669,10 -11786,6 +11933,10 @@@ msgstr "
msgid "Saved to Applications"
msgstr "تم الحفظ في الطلبات"
+#: src/features/documents/new-document-dialog.tsx
+msgid "Saved to Applications as a saved job, then linked to the copy. No AI request is made."
- msgstr ""
++msgstr "تُحفظ في الطلبات كوظيفة محفوظة ثم تُربط بالنسخة. لا يُرسل أي طلب إلى الذكاء الاصطناعي."
+
#: src/features/career/today.tsx
msgid "Saved to Applications with the posting"
msgstr "تم الحفظ في الطلبات مع إعلان الوظيفة"
@@@ -13109,11 -13249,6 +13400,11 @@@ msgstr "العلامات…
msgid "Tailor"
msgstr "التكيف مع الوصف الوظيفي"
+#. placeholder {0}: application.company
+#: src/features/resume/editor/check/job-match.tsx
+msgid "Tailor a copy for {0} so this resume stays as it is for other jobs, or link this resume itself."
- msgstr ""
++msgstr "خصص نسخة لوظيفة لدى {0} لتبقى هذه السيرة الذاتية كما هي للوظائف الأخرى، أو اربط هذه السيرة الذاتية نفسها."
+
#: src/features/career/workspace/preparation.tsx
msgid "Tailor and review your resume"
msgstr ""
@@@ -13420,10 -13555,6 +13711,10 @@@ msgstr "
msgid "The connection works. Turn on Use this provider to use it."
msgstr ""
+#: src/features/resume/editor/check/job-match.tsx
+msgid "The copy gets the job's posting and keeps this resume as it is for other jobs."
- msgstr ""
++msgstr "تحصل النسخة على إعلان الوظيفة، وتبقى هذه السيرة الذاتية كما هي للوظائف الأخرى."
+
#: src/features/documents/new-document-dialog.tsx
msgid "The copy is linked to the application, so Check and the assistant use its posting."
msgstr "يتم ربط النسخة بطلب الوظيفة، لذا يستخدم Check والمساعد إعلان الوظيفة الخاص به."
@@@ -13933,8 -14085,8 +14245,8 @@@ msgid "This resume is password-protecte
msgstr "هذه السيرة الذاتية محمية بكلمة مرور"
#: src/features/resume/editor/check/job-match.tsx
-msgid "This resume isn't linked to an application yet."
-msgstr "لم يتم ربط هذه السيرة الذاتية بطلب وظيفة حتى الآن."
+msgid "This resume isn't linked to an application yet. Pick one to make a copy for it."
- msgstr ""
++msgstr "هذه السيرة الذاتية غير مرتبطة بطلب بعد. اختر طلبًا لإنشاء نسخة له."
#: src/features/resume/share/web-page-text.ts
msgid "This resume isn't shared right now."
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "استخدم العينة"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
- msgstr ""
++msgstr "استخدم التراجع في المحرر للتراجع عن التغييرات السابقة."
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "استخدم العنوان القياسي"
diff --cc apps/web/locales/az-AZ.po
index fb9085ba0,5d7c060d1..bb32896a8
--- a/apps/web/locales/az-AZ.po
+++ b/apps/web/locales/az-AZ.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Yoxlamada nəzərdən keçirilməli # var. Siz hələ də yükləyə bilərsiniz.} other {Yoxlamanın nəzərdən keçirilməsi üçün # şeyləri var. Siz hələ də yükləyə bilərsiniz.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} başladığı yerə qayıtdı."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} yerləşdirilə biləcəyi bir yerin üzərində deyil."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} bunun üzərindədir: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} bura buraxıldı: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} gedə bilməyəcəyi yerə buraxıldı. Heç nə köçürülmədi."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} başladığı yerə buraxıldı. Heç nə köçürülmədi."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Ölkə əlavə edin
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Fakt əlavə edin, məsələn, “2025-ci ildə iki kiçik PM-ə mentorluq etdim”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Açar söz əlavə edin..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Girişin tarixi yoxdur
msgid "an error"
msgstr "səhv"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Gözlənilməz xəta bu səhifənin yüklənməsinə mane oldu. Yenidən cəhd edin və ya idarə panelinə keçin."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "bağlıdır
msgid "Closed as {label}"
msgstr "{label} kimi bağlandı"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Kouç"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Nümunədən istifadə edin"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Standart başlıqdan istifadə edin"
diff --cc apps/web/locales/bg-BG.po
index 52b7c3358,c48231277..7a5f9ec86
--- a/apps/web/locales/bg-BG.po
+++ b/apps/web/locales/bg-BG.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Проб�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Чекът има # нещо за преглед. Все още можете да изтеглите.} other {Чек има # неща за преглед. Все още можете да изтеглите.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} е обратно на първоначалното си място."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} не е над място, където може да бъде пуснат."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} е над: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} е пуснат върху: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} е пуснат там, където не може да бъде. Нищо не е преместено."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} е пуснат на първоначалното си място. Нищо не е преместено."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Добавяне на държ�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Добавете факт, например „През 2025 г. бях ментор на двама младши продуктови мениджъри“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Добавяне на ключова дума..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Записът няма дат�
msgid "an error"
msgstr "грешка"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Неочаквана грешка спря зареждането на тази страница. Опитайте отново или отидете към таблото."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Затворено
msgid "Closed as {label}"
msgstr "Затворена като {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Коуч"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Използвайте пример"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Използвайте стандартното заглавие"
diff --cc apps/web/locales/bn-BD.po
index 563d68902,f7a9e1ed7..cfa492a19
--- a/apps/web/locales/bn-BD.po
+++ b/apps/web/locales/bn-BD.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# ইস�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {চেকের কাছে পর্যালোচনা করার জন্য # জিনিস রয়েছে। আপনি এখনও ডাউনলোড করতে পারেন.} other {চেকের কাছে পর্যালোচনা করার জন্য # জিনিস রয়েছে। আপনি এখনও ডাউনলোড করতে পারেন.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} আবার শুরুর জায়গায় ফিরে এসেছে।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} এমন কোনো জায়গার ওপরে নেই যেখানে এটি রাখা যায়।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} এর ওপরে আছে: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} এখানে রাখা হয়েছে: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} এমন জায়গায় রাখা হয়েছে যেখানে এটি যেতে পারে না। কিছুই সরানো হয়নি।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} শুরুর জায়গাতেই রাখা হয়েছে। কিছুই সরানো হয়নি।"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "একটি দেশ যো�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "একটি তথ্য যোগ করুন, যেমন “2025 সালে আমি দুজন অ্যাসোসিয়েট PM-কে মেন্টর করেছি”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "একটি কীওয়ার্ড যোগ করুন..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "একটি এন্ট্র
msgid "an error"
msgstr "একটি ত্রুটি"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "একটি অপ্রত্যাশিত ত্রুটির কারণে এই পৃষ্ঠাটি লোড হয়নি। আবার চেষ্টা করুন, অথবা ড্যাশবোর্ডে যান।"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "বন্ধ
msgid "Closed as {label}"
msgstr "{label} হিসেবে বন্ধ করা হয়েছে"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "কোচ"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "নমুনা ব্যবহার করুন"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "স্ট্যান্ডার্ড শিরোনাম ব্যবহার করুন"
diff --cc apps/web/locales/ca-ES.po
index 5c6f3358b,5e5e37c94..415875323
--- a/apps/web/locales/ca-ES.po
+++ b/apps/web/locales/ca-ES.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {El proble
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {El xec té # cosa per revisar. Encara us podeu descarregar.} other {Check té # coses per revisar. Encara us podeu descarregar.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ha tornat a la posició inicial."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} no és sobre cap lloc on es pugui deixar."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} és sobre {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} s'ha deixat a {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} s'ha deixat on no pot anar. No s'ha mogut res."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} s'ha deixat a la posició inicial. No s'ha mogut res."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Afegeix un país
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Afegiu un fet, per exemple «El 2025 vaig fer mentoria a dos PM júnior»"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Afegeix una paraula clau..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Una entrada no té dates
msgid "an error"
msgstr "un error"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Un error inesperat ha impedit carregar aquesta pàgina. Torneu-ho a provar o aneu al tauler."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Tancat
msgid "Closed as {label}"
msgstr "Tancada com a {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Orientador"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Utilitza la mostra"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilitzeu l'encapçalament estàndard"
diff --cc apps/web/locales/cs-CZ.po
index a4afc329c,589ff3049..f030a8546
--- a/apps/web/locales/cs-CZ.po
+++ b/apps/web/locales/cs-CZ.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Problém
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check má # věc ke kontrole. Stále můžete stahovat.} other {Check má # věci ke kontrole. Stále můžete stahovat.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} je zpět na původním místě."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} není nad místem, kam ho lze umístit."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} je nad: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} byl umístěn na: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} byl umístěn tam, kam nemůže. Nic se nepřesunulo."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} byl umístěn na původní místo. Nic se nepřesunulo."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Přidejte zemi
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Přidejte fakt, například „Mentoring dvou juniorních PM v roce 2025“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Přidejte klíčové slovo..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Záznam nemá žádná data
msgid "an error"
msgstr "chyba"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Načtení této stránky zastavila neočekávaná chyba. Zkuste to znovu nebo přejděte na nástěnku."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ZAVŘENO
msgid "Closed as {label}"
msgstr "Uzavřeno jako {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Kouč"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Použít vzorek"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Použijte standardní nadpis"
diff --cc apps/web/locales/da-DK.po
index 46521bcd3,6ee1537f1..fca025412
--- a/apps/web/locales/da-DK.po
+++ b/apps/web/locales/da-DK.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {#-problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check har # ting at gennemgå. Du kan stadig downloade.} other {Check har # ting at gennemgå. Du kan stadig downloade.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} er tilbage, hvor det startede."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} er ikke over et sted, hvor det kan placeres."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} er over {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} blev sluppet på {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} blev sluppet et sted, hvor det ikke kan være. Intet blev flyttet."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} blev sluppet, hvor det startede. Intet blev flyttet."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Tilføj et land
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Tilføj et faktum, f.eks. \"Jeg var mentor for to junior-produktchefer i 2025\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Tilføj et nøgleord..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "En post har ingen datoer
msgid "an error"
msgstr "en fejl"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "En uventet fejl forhindrede indlæsningen af denne side. Prøv igen, eller gå til dashboardet."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Lukket
msgid "Closed as {label}"
msgstr "Lukket som {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Brug eksempel"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Brug standardoverskriften"
diff --cc apps/web/locales/de-DE.po
index ce5033f53,a4309d69f..7b4d413fc
--- a/apps/web/locales/de-DE.po
+++ b/apps/web/locales/de-DE.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Das #-Pro
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Überprüfen Sie, ob die Sache # überprüft werden muss. Sie können es weiterhin herunterladen.} other {Check hat # Dinge zu überprüfen. Sie können es weiterhin herunterladen.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ist wieder an seiner Ausgangsstelle."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ist über keiner Stelle, an der es abgelegt werden kann."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} ist über {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} wurde auf {place} abgelegt."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} wurde an einer Stelle abgelegt, an der es nicht hin kann. Nichts wurde verschoben."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} wurde an seiner Ausgangsstelle abgelegt. Nichts wurde verschoben."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Land hinzufügen
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Fügen Sie einen Fakt hinzu, z. B. „Ich habe 2025 zwei Associate PMs betreut“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Ein Schlüsselwort hinzufügen..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Ein Eintrag hat kein Datum
msgid "an error"
msgstr "ein Fehler"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Ein unerwarteter Fehler hat das Laden dieser Seite verhindert. Versuchen Sie es erneut oder gehen Sie zum Dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Geschlossen
msgid "Closed as {label}"
msgstr "Als {label} geschlossen"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Beispiel verwenden"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr "Gespeicherte Version verwenden"
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Verwenden Sie die Standardüberschrift"
diff --cc apps/web/locales/el-GR.po
index f08526d10,7b4a8f258..87dd0f0f0
--- a/apps/web/locales/el-GR.po
+++ b/apps/web/locales/el-GR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Το ζή
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Η επιταγή έχει κάτι για έλεγχο #. Μπορείτε ακόμα να κάνετε λήψη.} other {Το Check έχει # πράγματα για έλεγχο. Μπορείτε ακόμα να κάνετε λήψη.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "Το {item} επέστρεψε στην αρχική του θέση."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "Το {item} δεν βρίσκεται πάνω από θέση όπου μπορεί να αφεθεί."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "Το {item} βρίσκεται πάνω από: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "Το {item} αφέθηκε σε: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "Το {item} αφέθηκε σε θέση όπου δεν επιτρέπεται. Δεν μετακινήθηκε τίποτα."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "Το {item} αφέθηκε στην αρχική του θέση. Δεν μετακινήθηκε τίποτα."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Προσθέστε μια χώ�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Προσθέστε ένα γεγονός, π.χ. \"Καθοδήγησα δύο associate PM το 2025\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Προσθέστε μια λέξη-κλειδί..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Μια καταχώρηση δ�
msgid "an error"
msgstr "ένα λάθος"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Ένα απρόσμενο σφάλμα εμπόδισε τη φόρτωση αυτής της σελίδας. Προσπαθήστε ξανά ή μεταβείτε στον πίνακα ελέγχου."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Κλειστό
msgid "Closed as {label}"
msgstr "Έκλεισε ως {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Σύμβουλος"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Χρήση δείγματος"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Χρησιμοποιήστε την τυπική επικεφαλίδα"
diff --cc apps/web/locales/en-GB.po
index b3e76a871,d041fdc3f..7e4a149f2
--- a/apps/web/locales/en-GB.po
+++ b/apps/web/locales/en-GB.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# issue c
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} is back where it started."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} is not over a place it can go."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} is over {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} was dropped on {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} was dropped where it can't go. Nothing moved."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} was dropped where it started. Nothing moved."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Add a country
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Add a fact, for example “I mentored two associate PMs in 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Add a keyword..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "An entry has no dates
msgid "an error"
msgstr "an error"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Closed
msgid "Closed as {label}"
msgstr "Closed as {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Use sample"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Use the standard heading"
diff --cc apps/web/locales/en-US.po
index be2df034c,bb524a56f..5321ce9be
--- a/apps/web/locales/en-US.po
+++ b/apps/web/locales/en-US.po
@@@ -689,10 -677,30 +706,34 @@@ msgstr "{issues, plural, one {# issue c
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} is back where it started."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} is not over a place it can go."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} is over {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} was dropped on {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} was dropped where it can't go. Nothing moved."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} was dropped where it started. Nothing moved."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1319,10 -1329,11 +1370,14 @@@ msgstr "Add a country
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Add a fact, for example “I mentored two associate PMs in 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr "Add a job"
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr "Add a job…"
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Add a keyword..."
@@@ -1984,14 -1993,6 +2047,10 @@@ msgstr "An entry has no dates
msgid "an error"
msgstr "an error"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr "an hour"
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3259,12 -3268,9 +3331,13 @@@ msgstr "Closed
msgid "Closed as {label}"
msgstr "Closed as {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr "Closed as Accepted offer"
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14656,10 -14824,10 +14984,14 @@@ msgstr "Use reviewed roles in preferenc
msgid "Use sample"
msgstr "Use sample"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr "Use saved version"
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr "Use the builder's Undo to undo earlier changes."
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Use the standard heading"
diff --cc apps/web/locales/es-ES.po
index 290a00070,81131021b..005a75a5e
--- a/apps/web/locales/es-ES.po
+++ b/apps/web/locales/es-ES.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {El proble
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {El cheque tiene algo # para revisar. Aún puedes descargar.} other {Check tiene cosas # para revisar. Aún puedes descargar.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ha vuelto a su posición inicial."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} no está sobre un lugar donde se pueda colocar."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} está sobre {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} se ha soltado en {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} se ha soltado donde no puede ir. No se ha movido nada."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} se ha soltado en su posición inicial. No se ha movido nada."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Añadir un país
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Añade un hecho, por ejemplo “Fui mentor de dos PM júnior en 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Añadir una palabra clave..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Una entrada no tiene fechas.
msgid "an error"
msgstr "un error"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Un error inesperado impidió cargar esta página. Inténtalo de nuevo o ve al panel."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Cerrado
msgid "Closed as {label}"
msgstr "Cerrada como {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Usar ejemplo"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilice el título estándar"
diff --cc apps/web/locales/fa-IR.po
index 42f51c0cb,6f78f3a57..b7ad2da46
--- a/apps/web/locales/fa-IR.po
+++ b/apps/web/locales/fa-IR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {مشکل
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {چک چیزی # برای بررسی دارد. هنوز هم می توانید دانلود کنید.} other {چک چیزهایی برای بررسی # دارد. هنوز هم می توانید دانلود کنید.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} به جای اولش برگشت."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} روی جایی نیست که بتوان آن را رها کرد."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} روی این است: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} روی این رها شد: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} در جایی رها شد که مجاز نیست. چیزی جابه‌جا نشد."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} در جای اولش رها شد. چیزی جابه‌جا نشد."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "یک کشور اضافه کنی
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "یک واقعیت اضافه کنید، مثلاً «در سال ۲۰۲۵ مربی دو مدیر محصول تازه‌کار بودم»"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "یک کلمه کلیدی اضافه کنید..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "یک ورودی تاریخ ند
msgid "an error"
msgstr "یک خطا"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "یک خطای غیرمنتظره مانع بارگذاری این صفحه شد. دوباره امتحان کنید یا به داشبورد بروید."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "بسته شد
msgid "Closed as {label}"
msgstr "با عنوان {label} بسته شد"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "مربی"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "استفاده از نمونه"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "از عنوان استاندارد استفاده کنید"
diff --cc apps/web/locales/fi-FI.po
index 259e56371,086d3b208..5d90f0314
--- a/apps/web/locales/fi-FI.po
+++ b/apps/web/locales/fi-FI.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {#-ongelm
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Checkissä on # asia, jota kannattaa tarkistaa. Voit silti ladata.} other {Checkissä on # asioita, jotka kannattaa tarkistaa. Voit silti ladata.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} on taas lähtöpaikassaan."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ei ole paikan päällä, johon sen voi pudottaa."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} on kohteen {place} päällä."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} pudotettiin kohteeseen {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} pudotettiin paikkaan, johon se ei voi mennä. Mitään ei siirretty."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} pudotettiin lähtöpaikkaansa. Mitään ei siirretty."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Lisää maa
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Lisää fakta, esimerkiksi “Mentoroin kahta junior-tuotepäällikköä vuonna 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Lisää avainsana..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Merkinnällä ei ole päivämä
msgid "an error"
msgstr "virhe"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Odottamaton virhe esti tämän sivun latautumisen. Yritä uudelleen tai siirry hallintapaneeliin."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Suljettu
msgid "Closed as {label}"
msgstr "Suljettu tuloksella {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Valmentaja"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Käytä esimerkkiä"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Käytä vakiootsikkoa"
diff --cc apps/web/locales/fr-FR.po
index 854a5e291,2d9f11838..a1341ebdb
--- a/apps/web/locales/fr-FR.po
+++ b/apps/web/locales/fr-FR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Le probl�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Vérifiez que la chose # est à examiner. Vous pouvez toujours télécharger.} other {Vérifiez que # contient des éléments à examiner. Vous pouvez toujours télécharger.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} est revenu à sa place d'origine."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} n'est au-dessus d'aucun emplacement possible."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} est au-dessus de {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} a été déposé sur {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} a été déposé à un endroit non autorisé. Rien n'a été déplacé."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} a été déposé à sa place d'origine. Rien n'a été déplacé."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Ajouter un pays
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Ajoutez un fait, par exemple « J'ai encadré deux PM juniors en 2025 »"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Ajouter un mot-clé..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Une entrée n'a pas de date
msgid "an error"
msgstr "une erreur"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Une erreur inattendue a empêché le chargement de cette page. Réessayez ou accédez au tableau de bord."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Fermé
msgid "Closed as {label}"
msgstr "Fermée avec le résultat {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Utiliser l'exemple"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilisez le titre standard"
diff --cc apps/web/locales/he-IL.po
index 7449fbe88,433124272..24110be44
--- a/apps/web/locales/he-IL.po
+++ b/apps/web/locales/he-IL.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {בעיי�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {לצ'ק יש דבר # לסקור. אתה עדיין יכול להוריד.} other {לצ'ק יש דברים של # לסקור. אתה עדיין יכול להוריד.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} חזר למקומו המקורי."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} לא נמצא מעל מקום שבו אפשר לשחרר אותו."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} נמצא מעל: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} שוחרר על: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} שוחרר במקום שאסור להעביר אליו. שום דבר לא הוזז."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} שוחרר במקומו המקורי. שום דבר לא הוזז."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "הוסף מדינה
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "הוסף עובדה, למשל \"הדרכתי שני מנהלי מוצר זוטרים ב-2025\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "הוסף מילת מפתח..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "לערך אין תאריכים
msgid "an error"
msgstr "שגיאה"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "שגיאה בלתי צפויה מנעה את טעינת הדף. נסה שוב, או עבור ללוח הבקרה."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "סָגוּר
msgid "Closed as {label}"
msgstr "נסגר כ־{label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "מאמן"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "השתמש בדוגמה"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "השתמש בכותרת הרגילה"
diff --cc apps/web/locales/hi-IN.po
index bbbf5e5c3,7984d6a0f..d508ce144
--- a/apps/web/locales/hi-IN.po
+++ b/apps/web/locales/hi-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# सम�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {चेक में समीक्षा के लिए # चीज़ है। आप अभी भी डाउनलोड कर सकते हैं.} other {चेक में समीक्षा के लिए # चीज़ें हैं। आप अभी भी डाउनलोड कर सकते हैं.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} अपनी मूल जगह पर वापस आ गया।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} किसी ऐसी जगह के ऊपर नहीं है जहाँ उसे छोड़ा जा सके।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} इसके ऊपर है: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} को यहाँ छोड़ा गया: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} को ऐसी जगह छोड़ा गया जहाँ वह नहीं जा सकता। कुछ भी नहीं हिला।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} को उसकी मूल जगह पर छोड़ा गया। कुछ भी नहीं हिला।"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "एक देश जोड़�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "एक तथ्य जोड़ें, जैसे \"मैंने 2025 में दो एसोसिएट PM को मेंटर किया\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "एक कीवर्ड जोड़ें..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "किसी प्रविष
msgid "an error"
msgstr "एक गलती"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "एक अप्रत्याशित त्रुटि के कारण यह पृष्ठ लोड नहीं हो सका। पुनः प्रयास करें, या डैशबोर्ड पर जाएँ।"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "बंद किया हु�
msgid "Closed as {label}"
msgstr "{label} के रूप में बंद किया गया"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "कोच"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "नमूना उपयोग करें"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "मानक शीर्षक का प्रयोग करें"
diff --cc apps/web/locales/hu-HU.po
index 06fb65f52,8632150a1..886814142
--- a/apps/web/locales/hu-HU.po
+++ b/apps/web/locales/hu-HU.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {A # kiad�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {A csekken át kell tekinteni a # elemet. Még mindig lehet letölteni.} other {A Check-nek van # áttekintése. Még mindig lehet letölteni.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} visszakerült a kiinduló helyére."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nincs olyan hely fölött, ahová letehető."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} itt van: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} letéve ide: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} olyan helyre került, ahová nem lehet. Semmi sem mozdult."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} a kiinduló helyére lett letéve. Semmi sem mozdult."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Adjon hozzá egy országot
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Adj hozzá egy tényt, például: „2025-ben két junior PM-et mentoráltam”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Adj hozzá egy kulcsszót..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Egy bejegyzésnek nincs dátuma
msgid "an error"
msgstr "egy hiba"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Egy váratlan hiba miatt nem sikerült betölteni ezt az oldalt. Próbáld újra, vagy lépj a vezérlőpultra."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Zárt
msgid "Closed as {label}"
msgstr "Lezárva: {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Minta használata"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Használja a szabványos címsort"
diff --cc apps/web/locales/id-ID.po
index 87d1f4bb0,33e7139be..66ab85195
--- a/apps/web/locales/id-ID.po
+++ b/apps/web/locales/id-ID.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Masalah
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Periksa apakah ada hal # untuk ditinjau. Anda masih dapat mengunduh.} other {Periksa apakah ada # hal untuk ditinjau. Anda masih dapat mengunduh.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} kembali ke tempat semula."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} tidak berada di atas tempat yang bisa menjadi tujuannya."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} berada di atas {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} dilepas di {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} dilepas di tempat yang tidak diizinkan. Tidak ada yang dipindahkan."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} dilepas di tempat semula. Tidak ada yang dipindahkan."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Tambahkan negara
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Tambahkan fakta, misalnya “Saya membimbing dua associate PM pada 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Tambahkan kata kunci..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Sebuah entri tidak memiliki tan
msgid "an error"
msgstr "sebuah kesalahan"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Terjadi kesalahan tak terduga yang menyebabkan halaman ini gagal dimuat. Coba lagi, atau buka dasbor."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Tertutup
msgid "Closed as {label}"
msgstr "Ditutup sebagai {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Gunakan contoh"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Gunakan judul standar"
diff --cc apps/web/locales/it-IT.po
index fe6087eb6,72035bed8..3e86b1961
--- a/apps/web/locales/it-IT.po
+++ b/apps/web/locales/it-IT.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Il proble
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {L'assegno ha qualcosa # da rivedere. Puoi ancora scaricare.} other {Il controllo ha # cose da rivedere. Puoi ancora scaricare.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} è tornato al punto di partenza."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} non è sopra un punto in cui può essere rilasciato."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} è sopra {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} è stato rilasciato su {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} è stato rilasciato in un punto non consentito. Non è stato spostato nulla."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} è stato rilasciato nel punto di partenza. Non è stato spostato nulla."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Aggiungi un paese
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Aggiungi un fatto, ad esempio “Nel 2025 ho fatto da mentor a due associate PM”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Aggiunga una parola chiave..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Una voce non ha date
msgid "an error"
msgstr "un errore"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Un errore imprevisto ha impedito il caricamento di questa pagina. Riprova o vai alla dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Chiuso
msgid "Closed as {label}"
msgstr "Chiusa come {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Usa esempio"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilizza l'intestazione standard"
diff --cc apps/web/locales/ja-JP.po
index bdb4c6dfc,026c20d07..03849bc0e
--- a/apps/web/locales/ja-JP.po
+++ b/apps/web/locales/ja-JP.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# の問�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {# の項目を確認してください。まだダウンロードできます。} other {# の確認事項があることを確認してください。まだダウンロードできます。}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item}は元の位置に戻りました。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item}はドロップできる場所の上にありません。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item}は{place}の上にあります。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item}を{place}にドロップしました。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item}を置けない場所にドロップしました。何も移動していません。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item}を元の位置にドロップしました。何も移動していません。"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "国を追加
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "事実を追加(例:「2025年にアソシエイトPM 2名をメンタリングした」)"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "キーワードを追加…"
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "エントリに日付があり�
msgid "an error"
msgstr "エラー"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "予期せぬエラーが発生したため、このページを読み込めませんでした。もう一度お試しいただくか、ダッシュボードに移動してください。"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "閉店
msgid "Closed as {label}"
msgstr "{label}として終了"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "コーチ"
@@@ -11475,8 -11600,8 +11735,8 @@@ msgid "Save an unprotected copy, with n
msgstr "パスワードや権限制限のない、保護されていないコピーを保存してください。"
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save and link"
-msgstr "保存してリンクする"
+msgid "Save and link this resume"
- msgstr ""
++msgstr "この履歴書を保存してリンクする"
#: src/features/applications/components/add-application-dialog.tsx
msgid "Save and prepare resume"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "サンプルを使用"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "標準の見出しを使用する"
diff --cc apps/web/locales/km-KH.po
index 00813aae5,e31749a9e..96da4ecbd
--- a/apps/web/locales/km-KH.po
+++ b/apps/web/locales/km-KH.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {បញ្
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {ពិនិត្យមានរឿង # ដើម្បីពិនិត្យ។ អ្នកនៅតែអាចទាញយកបាន។} other {ពិនិត្យមានរឿង # ដើម្បីពិនិត្យមើល។ អ្នកនៅតែអាចទាញយកបាន។}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} បានត្រឡប់ទៅកន្លែងដើមវិញ។"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} មិននៅលើកន្លែងដែលអាចដាក់បានទេ។"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} នៅលើ {place}។"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ត្រូវបានដាក់នៅលើ {place}។"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} ត្រូវបានដាក់នៅកន្លែងដែលមិនអាចដាក់បាន។ គ្មានអ្វីត្រូវបានផ្លាស់ទីទេ។"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} ត្រូវបានដាក់នៅកន្លែងដើម។ គ្មានអ្វីត្រូវបានផ្លាស់ទីទេ។"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "បន្ថែមប្រទ�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "បន្ថែមការពិត ឧទាហរណ៍ “ខ្ញុំបានបង្វឹក PM រងពីរនាក់ក្នុងឆ្នាំ 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "បន្ថែមពាក្យគន្លឹះ..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ធាតុមួយមិន�
msgid "an error"
msgstr "កំហុស"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "កំហុសដែលមិននឹកស្មានដល់មួយបានបញ្ឈប់ទំព័រនេះពីការផ្ទុក។ ព្យាយាមម្តងទៀត ឬទៅកាន់ផ្ទាំងគ្រប់គ្រង។"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "បិទ
msgid "Closed as {label}"
msgstr "បានបិទជា {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "គ្រូបង្វឹក"
@@@ -11475,8 -11600,8 +11735,8 @@@ msgid "Save an unprotected copy, with n
msgstr "រក្សាទុកច្បាប់ចម្លងដែលមិនបានការពារ ដោយគ្មានពាក្យសម្ងាត់ និងគ្មានការដាក់កម្រិតសិទ្ធិ។"
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save and link"
-msgstr "រក្សាទុក និងភ្ជាប់"
+msgid "Save and link this resume"
- msgstr ""
++msgstr "រក្សាទុក និងភ្ជាប់ប្រវត្តិរូបនេះ"
#: src/features/applications/components/add-application-dialog.tsx
msgid "Save and prepare resume"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "ប្រើគំរូ"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "ប្រើចំណងជើងស្តង់ដារ"
diff --cc apps/web/locales/kn-IN.po
index e4b4f5605,676236f94..ae7eb7438
--- a/apps/web/locales/kn-IN.po
+++ b/apps/web/locales/kn-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# ಸಂ�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {ಚೆಕ್ ಪರಿಶೀಲಿಸಲು # ವಿಷಯವನ್ನು ಹೊಂದಿದೆ. ನೀವು ಇನ್ನೂ ಡೌನ್‌ಲೋಡ್ ಮಾಡಬಹುದು.} other {ಪರಿಶೀಲಿಸಲು # ವಿಷಯಗಳನ್ನು ಪರಿಶೀಲಿಸಿ. ನೀವು ಇನ್ನೂ ಡೌನ್‌ಲೋಡ್ ಮಾಡಬಹುದು.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ಆರಂಭದ ಸ್ಥಳಕ್ಕೆ ಮರಳಿದೆ."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ಇರಿಸಬಹುದಾದ ಸ್ಥಳದ ಮೇಲೆ ಇಲ್ಲ."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} ಇದರ ಮೇಲಿದೆ: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ಅನ್ನು ಇಲ್ಲಿ ಇರಿಸಲಾಗಿದೆ: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} ಅನ್ನು ಹೋಗಲಾಗದ ಸ್ಥಳದಲ್ಲಿ ಇರಿಸಲಾಗಿದೆ. ಏನನ್ನೂ ಸರಿಸಲಾಗಿಲ್ಲ."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} ಅನ್ನು ಆರಂಭದ ಸ್ಥಳದಲ್ಲೇ ಇರಿಸಲಾಗಿದೆ. ಏನನ್ನೂ ಸರಿಸಲಾಗಿಲ್ಲ."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "ದೇಶವನ್ನು ಸೇ
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "ಒಂದು ಸಂಗತಿಯನ್ನು ಸೇರಿಸಿ, ಉದಾಹರಣೆಗೆ “ನಾನು 2025 ರಲ್ಲಿ ಇಬ್ಬರು ಅಸೋಸಿಯೇಟ್ PM ಗಳಿಗೆ ಮಾರ್ಗದರ್ಶನ ನೀಡಿದೆ”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "ಒಂದು ಕೀವರ್ಡ್ ಸೇರಿಸಿ..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ನಮೂದು ಯಾವುದ
msgid "an error"
msgstr "ಒಂದು ದೋಷ"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "ಅನಿರೀಕ್ಷಿತ ದೋಷದಿಂದಾಗಿ ಈ ಪುಟ ಲೋಡ್ ಆಗಲಿಲ್ಲ. ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ ಅಥವಾ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ಗೆ ಹೋಗಿ."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ಮುಚ್ಚಲಾಗಿದ�
msgid "Closed as {label}"
msgstr "{label} ಎಂದು ಮುಚ್ಚಲಾಗಿದೆ"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "ಕೋಚ್"
@@@ -11475,8 -11600,8 +11735,8 @@@ msgid "Save an unprotected copy, with n
msgstr "ಪಾಸ್‌ವರ್ಡ್ ಇಲ್ಲದ ಮತ್ತು ಅನುಮತಿ ನಿರ್ಬಂಧಗಳಿಲ್ಲದ ಅಸಂರಕ್ಷಿತ ಪ್ರತಿಯನ್ನು ಉಳಿಸಿ."
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save and link"
-msgstr "ಉಳಿಸಿ ಮತ್ತು ಲಿಂಕ್ ಮಾಡಿ"
+msgid "Save and link this resume"
- msgstr ""
++msgstr "ಈ ರೆಸ್ಯೂಮೆಯನ್ನು ಉಳಿಸಿ ಮತ್ತು ಲಿಂಕ್ ಮಾಡಿ"
#: src/features/applications/components/add-application-dialog.tsx
msgid "Save and prepare resume"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "ಮಾದರಿ ಬಳಸಿ"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "ಪ್ರಮಾಣಿತ ಶೀರ್ಷಿಕೆಯನ್ನು ಬಳಸಿ"
diff --cc apps/web/locales/ko-KR.po
index 62d21af12,55857ed07..83bce911a
--- a/apps/web/locales/ko-KR.po
+++ b/apps/web/locales/ko-KR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# 문제�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {수표에는 검토할 # 항목이 있습니다. 아직 다운로드할 수 있습니다.} other {수표에는 검토할 # 항목이 있습니다. 아직 다운로드할 수 있습니다.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item}이(가) 원래 위치로 돌아왔습니다."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item}이(가) 놓을 수 있는 위치 위에 있지 않습니다."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item}이(가) {place} 위에 있습니다."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item}을(를) {place}에 놓았습니다."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item}을(를) 놓을 수 없는 위치에 놓았습니다. 아무것도 이동하지 않았습니다."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item}을(를) 원래 위치에 놓았습니다. 아무것도 이동하지 않았습니다."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "국가 추가
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "사실 추가, 예: “2025년에 주니어 PM 두 명을 멘토링했습니다”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "키워드 추가..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "항목에 날짜가 없습니�
msgid "an error"
msgstr "오류"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "예기치 않은 오류로 이 페이지를 불러오지 못했습니다. 다시 시도하거나 대시보드로 이동하세요."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "닫은
msgid "Closed as {label}"
msgstr "{label}(으)로 마감"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "코치"
@@@ -11475,8 -11600,8 +11735,8 @@@ msgid "Save an unprotected copy, with n
msgstr "비밀번호와 권한 제한이 없는 보호되지 않은 사본으로 저장하세요."
#: src/features/resume/editor/check/job-match.tsx
-msgid "Save and link"
-msgstr "저장 및 연결"
+msgid "Save and link this resume"
- msgstr ""
++msgstr "이 이력서 저장 및 연결"
#: src/features/applications/components/add-application-dialog.tsx
msgid "Save and prepare resume"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "샘플 사용"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "표준 제목을 사용하세요"
diff --cc apps/web/locales/lt-LT.po
index 79c53f7e5,1e13210a2..5dd50997b
--- a/apps/web/locales/lt-LT.po
+++ b/apps/web/locales/lt-LT.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# numeri
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Čekis turi # dalyką, kurį reikia peržiūrėti. Jūs vis dar galite atsisiųsti.} other {Čeke yra # dalykų, kuriuos reikia peržiūrėti. Jūs vis dar galite atsisiųsti.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} grįžo į pradinę vietą."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nėra virš vietos, kur jį galima padėti."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} yra virš: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} padėtas ant: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} padėtas ten, kur negali būti. Niekas nebuvo perkelta."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} padėtas pradinėje vietoje. Niekas nebuvo perkelta."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Pridėti šalį
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Pridėkite faktą, pvz., „2025 m. mentoriavau dviem jaunesniesiems produktų vadovams“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Pridėkite raktažodį..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Įrašas neturi datų
msgid "an error"
msgstr "klaida"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Dėl netikėtos klaidos šis puslapis neįsikėlė. Bandykite dar kartą arba eikite į valdymo skydelį."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Uždaryta
msgid "Closed as {label}"
msgstr "Uždaryta kaip {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Konsultantas"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Naudoti pavyzdį"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Naudokite standartinę antraštę"
diff --cc apps/web/locales/lv-LV.po
index a987386e2,232ca75f4..803dc7083
--- a/apps/web/locales/lv-LV.po
+++ b/apps/web/locales/lv-LV.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# problē
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Cekā ir # lieta, kas jāpārskata. Jūs joprojām varat lejupielādēt.} other {Cekā ir # lietas, kas jāpārskata. Jūs joprojām varat lejupielādēt.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ir atpakaļ sākotnējā vietā."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} neatrodas virs vietas, kur to var novietot."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} atrodas virs: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} novietots uz: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} novietots vietā, kur tas nevar atrasties. Nekas netika pārvietots."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} novietots sākotnējā vietā. Nekas netika pārvietots."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Pievienojiet valsti
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Pievienojiet faktu, piemēram, “2025. gadā mentorēju divus jaunākos produktu vadītājus”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Pievienojiet atslēgvārdu..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Ierakstam nav datumu
msgid "an error"
msgstr "kļūda"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Negaidīta kļūda apturēja šīs lapas ielādi. Mēģiniet vēlreiz vai dodieties uz informācijas paneli."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Slēgts
msgid "Closed as {label}"
msgstr "Slēgts kā {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Konsultants"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Izmantot paraugu"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Izmantojiet standarta virsrakstu"
diff --cc apps/web/locales/ml-IN.po
index 194817d88,e6d2e64d1..51345e6c2
--- a/apps/web/locales/ml-IN.po
+++ b/apps/web/locales/ml-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# പ്�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {പരിശോധിക്കാൻ # കാര്യമുണ്ട്. നിങ്ങൾക്ക് ഇപ്പോഴും ഡൗൺലോഡ് ചെയ്യാം.} other {പരിശോധിക്കാൻ # കാര്യങ്ങൾ ഉണ്ട്. നിങ്ങൾക്ക് ഇപ്പോഴും ഡൗൺലോഡ് ചെയ്യാം.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} തുടങ്ങിയ സ്ഥലത്ത് തിരിച്ചെത്തി."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} വയ്ക്കാൻ കഴിയുന്ന സ്ഥലത്തിന് മുകളിലല്ല."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} ഇതിന് മുകളിലാണ്: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ഇവിടെ വച്ചു: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} പോകാൻ കഴിയാത്ത സ്ഥലത്ത് വച്ചു. ഒന്നും നീക്കിയില്ല."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} തുടങ്ങിയ സ്ഥലത്തുതന്നെ വച്ചു. ഒന്നും നീക്കിയില്ല."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "ഒരു രാജ്യം �
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "ഒരു വസ്തുത ചേർക്കുക, ഉദാഹരണത്തിന് “2025-ൽ ഞാൻ രണ്ട് അസോസിയേറ്റ് PM-മാരെ മെന്റർ ചെയ്തു”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "ഒരു കീവേഡ് ചേർക്കുക..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ഒരു എൻട്രിക
msgid "an error"
msgstr "ഒരു പിശക്"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "ഒരു അപ്രതീക്ഷിത പിശക് കാരണം ഈ പേജ് ലോഡ് ആയില്ല. വീണ്ടും ശ്രമിക്കുക, അല്ലെങ്കിൽ ഡാഷ്‌ബോർഡിലേക്ക് പോകുക."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "അടച്ചു
msgid "Closed as {label}"
msgstr "{label} ആയി അവസാനിപ്പിച്ചു"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "കോച്ച്"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "സാമ്പിൾ ഉപയോഗിക്കുക"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "സാധാരണ തലക്കെട്ട് ഉപയോഗിക്കുക"
diff --cc apps/web/locales/mr-IN.po
index d2b9fdc6b,c4b84f25d..12e09c20a
--- a/apps/web/locales/mr-IN.po
+++ b/apps/web/locales/mr-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# सम�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {चेकमध्ये पुनरावलोकनासाठी # गोष्ट आहे. तुम्ही अजूनही डाउनलोड करू शकता.} other {चेकमध्ये पुनरावलोकनासाठी # गोष्टी आहेत. तुम्ही अजूनही डाउनलोड करू शकता.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} पुन्हा मूळ जागी आले."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ठेवता येईल अशा जागेवर नाही."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} याच्यावर आहे: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} येथे ठेवले: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} अशा जागी ठेवले जिथे ते जाऊ शकत नाही. काहीही हलवले नाही."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} मूळ जागीच ठेवले. काहीही हलवले नाही."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "एक देश जोडा
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "एक तथ्य जोडा, उदाहरणार्थ “मी 2025 मध्ये दोन असोसिएट PM ना मार्गदर्शन केले”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "कीवर्ड जोडा..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "एंट्रीला ता
msgid "an error"
msgstr "एक त्रुटी"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "अनपेक्षित त्रुटीमुळे हे पान लोड झाले नाही. पुन्हा प्रयत्न करा, किंवा डॅशबोर्डवर जा."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "बंद
msgid "Closed as {label}"
msgstr "{label} म्हणून बंद केले"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "कोच"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "नमुना वापरा"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "मानक शीर्षक वापरा"
diff --cc apps/web/locales/ms-MY.po
index 91961dd7c,b2396d4ae..91b22aa71
--- a/apps/web/locales/ms-MY.po
+++ b/apps/web/locales/ms-MY.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Isu # bol
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Cek mempunyai perkara # untuk disemak. Anda masih boleh memuat turun.} other {Cek mempunyai perkara # untuk disemak. Anda masih boleh memuat turun.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} kembali ke tempat asalnya."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} tidak berada di atas tempat yang boleh menjadi destinasinya."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} berada di atas {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} dilepaskan pada {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} dilepaskan di tempat yang tidak dibenarkan. Tiada apa-apa yang dialihkan."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} dilepaskan di tempat asalnya. Tiada apa-apa yang dialihkan."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Tambah negara
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Tambah fakta, contohnya “Saya membimbing dua PM bersekutu pada 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Tambah kata kunci..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Entri tidak mempunyai tarikh
msgid "an error"
msgstr "satu kesilapan"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Ralat yang tidak dijangka menghalang halaman ini daripada dimuatkan. Cuba lagi, atau pergi ke papan pemuka."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "tertutup
msgid "Closed as {label}"
msgstr "Ditutup sebagai {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Jurulatih"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Gunakan sampel"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Gunakan tajuk standard"
diff --cc apps/web/locales/ne-NP.po
index c6bbdaab2,e00acdd5e..84abe8b2b
--- a/apps/web/locales/ne-NP.po
+++ b/apps/web/locales/ne-NP.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# मु�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {चेकसँग समीक्षा गर्न # चीज छ। तपाईं अझै पनि डाउनलोड गर्न सक्नुहुन्छ।} other {चेकसँग समीक्षा गर्न # चीजहरू छन्। तपाईं अझै पनि डाउनलोड गर्न सक्नुहुन्छ।}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} सुरु भएकै ठाउँमा फर्कियो।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} राख्न मिल्ने ठाउँमाथि छैन।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} यसमाथि छ: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} यहाँ राखियो: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} जान नमिल्ने ठाउँमा राखियो। केही पनि सारिएन।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} सुरु भएकै ठाउँमा राखियो। केही पनि सारिएन।"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "एउटा देश थप�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "एउटा तथ्य थप्नुहोस्, जस्तै \"मैले 2025 मा दुई जना एसोसिएट PM लाई मार्गदर्शन गरेँ\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "एक कीवर्ड थप्नुहोस्..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "प्रविष्टिक�
msgid "an error"
msgstr "एउटा त्रुटि"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "एउटा अप्रत्याशित त्रुटिले यो पृष्ठ लोड हुनबाट रोक्यो। फेरि प्रयास गर्नुहोस्, वा ड्यासबोर्डमा जानुहोस्।"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "बन्द
msgid "Closed as {label}"
msgstr "{label} का रूपमा बन्द गरियो"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "कोच"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "नमूना प्रयोग गर्नुहोस्"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "मानक शीर्षक प्रयोग गर्नुहोस्"
diff --cc apps/web/locales/nl-NL.po
index cef63d912,2e6d3c34d..b8ac8ccf8
--- a/apps/web/locales/nl-NL.po
+++ b/apps/web/locales/nl-NL.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Het #-pro
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check heeft een #-ding om te beoordelen. Je kunt nog steeds downloaden.} other {Check heeft #-dingen om te beoordelen. Je kunt nog steeds downloaden.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} staat weer op de oorspronkelijke plek."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} staat niet boven een plek waar het naartoe kan."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} staat boven {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} is neergezet op {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} is neergezet waar het niet kan staan. Er is niets verplaatst."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} is neergezet op de oorspronkelijke plek. Er is niets verplaatst."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Voeg een land toe
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Voeg een feit toe, bijvoorbeeld “Ik heb in 2025 twee associate PM's begeleid”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Een trefwoord toevoegen..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Een vermelding heeft geen datum
msgid "an error"
msgstr "een fout"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Door een onverwachte fout kon deze pagina niet worden geladen. Probeer het opnieuw of ga naar het dashboard."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Gesloten
msgid "Closed as {label}"
msgstr "Gesloten als {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Gebruik monster"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Gebruik de standaardkop"
diff --cc apps/web/locales/no-NO.po
index 41c5c086d,83d589bb7..cfb5dcbf6
--- a/apps/web/locales/no-NO.po
+++ b/apps/web/locales/no-NO.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {#-problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Sjekk har # ting å vurdere. Du kan fortsatt laste ned.} other {Sjekk har # ting å vurdere. Du kan fortsatt laste ned.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} er tilbake der det startet."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} er ikke over et sted der det kan plasseres."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} er over {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ble sluppet på {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} ble sluppet der det ikke kan være. Ingenting ble flyttet."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} ble sluppet der det startet. Ingenting ble flyttet."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Legg til et land
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Legg til et faktum, for eksempel «Jeg var mentor for to junior-PM-er i 2025»"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Legg til et nøkkelord..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "En oppføring har ingen datoer
msgid "an error"
msgstr "en feil"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "En uventet feil hindret innlastingen av denne siden. Prøv igjen, eller gå til dashbordet."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Lukket
msgid "Closed as {label}"
msgstr "Lukket som {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Bruk prøve"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Bruk standardoverskriften"
diff --cc apps/web/locales/or-IN.po
index 306083b72,c414befc4..657916ff9
--- a/apps/web/locales/or-IN.po
+++ b/apps/web/locales/or-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# ଇସ�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {ଯାଞ୍ଚ କରିବାକୁ # ଜିନିଷ ଅଛି ଯାଞ୍ଚ କରିବାକୁ | ଆପଣ ତଥାପି ଡାଉନଲୋଡ୍ କରିପାରିବେ |} other {ସମୀକ୍ଷା କରିବାକୁ # ଜିନିଷ ଅଛି ଯାଞ୍ଚ କରନ୍ତୁ | ଆପଣ ତଥାପି ଡାଉନଲୋଡ୍ କରିପାରିବେ |}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} ଆରମ୍ଭ ସ୍ଥାନକୁ ଫେରିଆସିଛି।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ରଖିହେବା ଭଳି ସ୍ଥାନ ଉପରେ ନାହିଁ।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} ଏହା ଉପରେ ଅଛି: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ଏଠାରେ ରଖାଗଲା: {place}।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} ଯାଇପାରିବ ନାହିଁ ଏଭଳି ସ୍ଥାନରେ ରଖାଗଲା। କିଛି ଘୁଞ୍ଚାଯାଇନାହିଁ।"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} ଆରମ୍ଭ ସ୍ଥାନରେ ହିଁ ରଖାଗଲା। କିଛି ଘୁଞ୍ଚାଯାଇନାହିଁ।"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "ଏକ ଦେଶ ଯୋଡ଼�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "ଏକ ତଥ୍ୟ ଯୋଡ଼ନ୍ତୁ, ଉଦାହରଣ ସ୍ୱରୂପ “2025ରେ ମୁଁ ଦୁଇଜଣ ଆସୋସିଏଟ୍ PMଙ୍କୁ ମେଣ୍ଟର କରିଥିଲି”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "ଏକ କୀୱାର୍ଡ ଯୋଡନ୍ତୁ..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ଏକ ପ୍ରବେଶର �
msgid "an error"
msgstr "ଏକ ତ୍ରୁଟି |"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "ଏକ ଅପ୍ରତ୍ୟାଶିତ ତ୍ରୁଟି ଏହି ପୃଷ୍ଠାକୁ ଲୋଡ୍ ହେବାରେ ଅଟକାଇ ଦେଇଛି। ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ, କିମ୍ବା ଡ୍ୟାସବୋର୍ଡକୁ ଯାଆନ୍ତୁ।"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ବନ୍ଦ |
msgid "Closed as {label}"
msgstr "{label} ଭାବେ ବନ୍ଦ ହୋଇଛି"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "କୋଚ୍"
@@@ -14664,10 -14832,10 +14992,14 @@@ msgstr "
msgid "Use sample"
msgstr "ନମୁନା ବ୍ୟବହାର କରନ୍ତୁ |"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "ମାନକ ହେଡିଙ୍ଗ୍ ବ୍ୟବହାର କରନ୍ତୁ |"
diff --cc apps/web/locales/pl-PL.po
index ba81f3458,545fe4e56..052340c3a
--- a/apps/web/locales/pl-PL.po
+++ b/apps/web/locales/pl-PL.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Sprawdź, czy jest coś # do sprawdzenia. Nadal możesz pobrać.} other {Check ma # do przejrzenia. Nadal możesz pobrać.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} wrócił na miejsce początkowe."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nie jest nad miejscem, w którym można go upuścić."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} jest nad: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} upuszczono na: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} upuszczono w niedozwolonym miejscu. Nic nie zostało przeniesione."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} upuszczono w miejscu początkowym. Nic nie zostało przeniesione."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Dodaj kraj
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Dodaj fakt, np. „Mentoring dwóch młodszych PM-ów w 2025 r.”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Proszę dodać słowo kluczowe..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Wpis nie ma dat
msgid "an error"
msgstr "błąd"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Nieoczekiwany błąd uniemożliwił załadowanie tej strony. Spróbuj ponownie lub przejdź do panelu."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Zamknięte
msgid "Closed as {label}"
msgstr "Zamknięto jako {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Doradca"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Użyj próbki"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Użyj standardowego nagłówka"
diff --cc apps/web/locales/pt-BR.po
index 3a78410e1,dc11509e4..78d20947d
--- a/apps/web/locales/pt-BR.po
+++ b/apps/web/locales/pt-BR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {O problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Verifique se há algo # para revisar. Você ainda pode baixar.} other {Check tem coisas # para revisar. Você ainda pode baixar.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} voltou para onde estava."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} não está sobre um lugar onde possa ser solto."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} está sobre {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} foi solto em {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} foi solto onde não pode ficar. Nada foi movido."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} foi solto onde estava. Nada foi movido."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Adicione um país
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Adicione um fato, por exemplo “Mentorei dois PMs associados em 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Adicionar uma palavra-chave..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Uma entrada não tem datas
msgid "an error"
msgstr "um erro"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Um erro inesperado impediu o carregamento desta página. Tente novamente ou vá para o painel."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Fechado
msgid "Closed as {label}"
msgstr "Encerrada como {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Usar amostra"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Use o título padrão"
diff --cc apps/web/locales/pt-PT.po
index 6e0dae6a3,b0f2ec572..156778c66
--- a/apps/web/locales/pt-PT.po
+++ b/apps/web/locales/pt-PT.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {O problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Verifique se há algo # para analisar. Pode ainda baixar.} other {O Check tem coisas # para analisar. Pode ainda baixar.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} voltou à posição inicial."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} não está sobre um local onde possa ser largado."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} está sobre {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} foi largado em {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} foi largado onde não pode ficar. Nada foi movido."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} foi largado na posição inicial. Nada foi movido."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Adicione um país
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Adicione um facto, por exemplo “Fui mentor de dois PMs associados em 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Adicione uma palavra-chave..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Uma entrada não tem datas
msgid "an error"
msgstr "um erro"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Um erro inesperado impediu o carregamento desta página. Tente novamente ou vá para o painel."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Fechado
msgid "Closed as {label}"
msgstr "Encerrada como {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Usar amostra"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilize o título padrão"
diff --cc apps/web/locales/ro-RO.po
index 26a0c74b2,694103558..413d72239
--- a/apps/web/locales/ro-RO.po
+++ b/apps/web/locales/ro-RO.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Problema
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Cecul are de revizuit #. Încă puteți descărca.} other {Check are # lucruri de revizuit. Încă puteți descărca.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} a revenit la locul inițial."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nu se află deasupra unui loc unde poate fi plasat."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} se află deasupra: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} a fost plasat pe: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} a fost plasat unde nu poate fi pus. Nimic nu a fost mutat."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} a fost plasat la locul inițial. Nimic nu a fost mutat."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Adăugați o țară
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Adăugați un fapt, de exemplu „Am îndrumat doi PM asociați în 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Adăugați un cuvânt cheie..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "O intrare nu are date
msgid "an error"
msgstr "o eroare"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "O eroare neașteptată a împiedicat încărcarea acestei pagini. Încearcă din nou sau mergi la panoul de control."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Închis
msgid "Closed as {label}"
msgstr "Închisă ca {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Utilizați eșantion"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Utilizați titlul standard"
diff --cc apps/web/locales/ru-RU.po
index 8d8d3629c,7491caec1..ca953e1f4
--- a/apps/web/locales/ru-RU.po
+++ b/apps/web/locales/ru-RU.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Проб�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {У Чека есть вещь # для обзора. Вы все еще можете скачать.} other {У Чека есть вещи для обзора #. Вы все еще можете скачать.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} снова на исходном месте."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} не находится над местом, куда его можно поместить."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} над: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} перемещён на: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} отпущен там, где его нельзя разместить. Ничего не перемещено."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} отпущен на исходном месте. Ничего не перемещено."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Добавить страну
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Добавьте факт, например «Наставничество для двух младших продакт-менеджеров в 2025 году»"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Добавьте ключевое слово..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Запись не имеет д
msgid "an error"
msgstr "ошибка"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Из-за непредвиденной ошибки эта страница не загрузилась. Попробуйте еще раз или перейдите на панель управления."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Закрыто
msgid "Closed as {label}"
msgstr "Закрыто: {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Коуч"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Использовать образец"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Используйте стандартный заголовок"
diff --cc apps/web/locales/sk-SK.po
index 97ceaaf60,e0417d7a7..529b98597
--- a/apps/web/locales/sk-SK.po
+++ b/apps/web/locales/sk-SK.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Problém
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check má # vec na preskúmanie. Stále môžete sťahovať.} other {Check má # veci na kontrolu. Stále môžete sťahovať.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} je späť na pôvodnom mieste."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nie je nad miestom, kam ho možno umiestniť."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} je nad: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} bol umiestnený na: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} bol umiestnený tam, kam nemôže. Nič sa nepresunulo."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} bol umiestnený na pôvodné miesto. Nič sa nepresunulo."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Pridajte krajinu
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Pridajte fakt, napríklad „Mentoring dvoch juniorných PM v roku 2025“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Pridajte kľúčové slovo..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Záznam nemá dátumy
msgid "an error"
msgstr "chyba"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Neočakávaná chyba zabránila načítaniu tejto stránky. Skúste to znova alebo prejdite na nástenku."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ZATVORENÉ
msgid "Closed as {label}"
msgstr "Uzavreté ako {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Kouč"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Použite vzorku"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Použite štandardný nadpis"
diff --cc apps/web/locales/sl-SI.po
index dddfa7b4e,35c899a75..7b477c253
--- a/apps/web/locales/sl-SI.po
+++ b/apps/web/locales/sl-SI.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Težava
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Ček ima # stvar za pregled. Še vedno lahko prenesete.} other {Check ima # stvari za pregled. Še vedno lahko prenesete.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} je spet na začetnem mestu."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ni nad mestom, kamor ga je mogoče spustiti."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} je nad: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} je bil spuščen na: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} je bil spuščen tja, kamor ne more. Nič ni bilo premaknjeno."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} je bil spuščen na začetno mesto. Nič ni bilo premaknjeno."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Dodajte državo
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Dodajte dejstvo, na primer »Leta 2025 sem bil mentor dvema mlajšima produktnima vodjema«"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Dodajte ključno besedo..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Vnos nima datumov
msgid "an error"
msgstr "napaka"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Nepričakovana napaka je preprečila nalaganje te strani. Poskusite znova ali pojdite na nadzorno ploščo."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Zaprto
msgid "Closed as {label}"
msgstr "Zaključeno kot {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Svetovalec"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Uporabi vzorec"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Uporabite standardni naslov"
diff --cc apps/web/locales/sq-AL.po
index 1ddd23630,85ee48ec2..6d5b1ec13
--- a/apps/web/locales/sq-AL.po
+++ b/apps/web/locales/sq-AL.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Problemi
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Kontrolli ka # gjë për të rishikuar. Ju ende mund të shkarkoni.} other {Kontrolli ka # gjëra për të rishikuar. Ju ende mund të shkarkoni.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} u kthye aty ku nisi."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} nuk është mbi një vend ku mund të vendoset."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} është mbi: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} u lëshua te: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} u lëshua aty ku nuk mund të shkojë. Nuk u zhvendos asgjë."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} u lëshua aty ku nisi. Nuk u zhvendos asgjë."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Shto një shtet
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Shtoni një fakt, për shembull “Në 2025 kam qenë mentor për dy menaxherë produkti fillestarë”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Shto një fjalë kyçe..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Një hyrje nuk ka data
msgid "an error"
msgstr "një gabim"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Një gabim i papritur e ndaloi ngarkimin e kësaj faqeje. Provoni përsëri ose shkoni te paneli."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Mbyllur
msgid "Closed as {label}"
msgstr "E mbyllur si {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Këshilltari"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Përdorni mostrën"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Përdorni titullin standard"
diff --cc apps/web/locales/sr-SP.po
index 51210ecf6,c82d320db..eb6e61197
--- a/apps/web/locales/sr-SP.po
+++ b/apps/web/locales/sr-SP.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Проб�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Чек има # ствар за преглед. Још увек можете преузети.} other {Чек има # ствари за преглед. Још увек можете преузети.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} је враћен на почетно место."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} није изнад места где може да се спусти."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} је изнад: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} је спуштен на: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} је спуштен тамо где не може да иде. Ништа није премештено."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} је спуштен на почетно место. Ништа није премештено."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Додајте земљу
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Додајте чињеницу, на пример „Током 2025. био сам ментор двојици млађих продукт менаџера“"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Додајте кључну реч..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Унос нема датуме
msgid "an error"
msgstr "грешка"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Неочекивана грешка је спречила учитавање ове странице. Покушајте поново или идите на контролну таблу."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Затворено
msgid "Closed as {label}"
msgstr "Затворено као {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Саветник"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Користите узорак"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Користите стандардни наслов"
diff --cc apps/web/locales/sv-SE.po
index 08b62ec7a,a28d6428f..2627d7ba6
--- a/apps/web/locales/sv-SE.po
+++ b/apps/web/locales/sv-SE.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {#-problem
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Check har # sak att granska. Du kan fortfarande ladda ner.} other {Check har # saker att granska. Du kan fortfarande ladda ner.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} är tillbaka där det började."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} är inte över en plats där det kan släppas."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} är över {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} släpptes på {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} släpptes där det inte kan placeras. Inget flyttades."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} släpptes där det började. Inget flyttades."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Lägg till ett land
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Lägg till ett faktum, till exempel \"Jag var mentor för två juniora produktchefer 2025\""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Lägg till ett nyckelord..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "En post har inga datum
msgid "an error"
msgstr "ett fel"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Ett oväntat fel stoppade sidan från att laddas. Försök igen eller gå till instrumentpanelen."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Stängd
msgid "Closed as {label}"
msgstr "Avslutad som {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Coach"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Använd prov"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Använd standardrubriken"
diff --cc apps/web/locales/ta-IN.po
index 200be17de,8d2c2324f..159e9f865
--- a/apps/web/locales/ta-IN.po
+++ b/apps/web/locales/ta-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# சி�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {மதிப்பாய்வு செய்ய # விஷயம் உள்ளது. நீங்கள் இன்னும் பதிவிறக்கம் செய்யலாம்.} other {சரிபார்க்க # விஷயங்கள் உள்ளன. நீங்கள் இன்னும் பதிவிறக்கம் செய்யலாம்.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} தொடங்கிய இடத்திற்குத் திரும்பியது."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} வைக்கக்கூடிய இடத்தின் மேல் இல்லை."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} இதன் மேல் உள்ளது: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} இங்கே வைக்கப்பட்டது: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} செல்ல முடியாத இடத்தில் வைக்கப்பட்டது. எதுவும் நகர்த்தப்படவில்லை."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} தொடங்கிய இடத்திலேயே வைக்கப்பட்டது. எதுவும் நகர்த்தப்படவில்லை."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "ஒரு நாட்டைச
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "ஓர் உண்மையைச் சேர்க்கவும், எடுத்துக்காட்டாக “2025-இல் இரண்டு இணை PM-களுக்கு வழிகாட்டினேன்”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "ஒரு முக்கிய வார்த்தையைச் சேர்க்கவும்..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ஒரு நுழைவுக
msgid "an error"
msgstr "ஒரு பிழை"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "எதிர்பாராத பிழை காரணமாக இந்தப் பக்கம் ஏற்றப்படவில்லை. மீண்டும் முயற்சிக்கவும் அல்லது டாஷ்போர்டுக்குச் செல்லவும்."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "மூடப்பட்டத�
msgid "Closed as {label}"
msgstr "{label} என மூடப்பட்டது"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "ஆலோசகர்"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "மாதிரியைப் பயன்படுத்தவும்"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "நிலையான தலைப்பைப் பயன்படுத்தவும்"
diff --cc apps/web/locales/te-IN.po
index 767c1b558,c108140bb..c47e2384b
--- a/apps/web/locales/te-IN.po
+++ b/apps/web/locales/te-IN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# సమ�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {చెక్ రివ్యూ చేయడానికి # విషయం ఉంది. మీరు ఇప్పటికీ డౌన్‌లోడ్ చేసుకోవచ్చు.} other {చెక్ రివ్యూ చేయడానికి # విషయాలు ఉన్నాయి. మీరు ఇప్పటికీ డౌన్‌లోడ్ చేసుకోవచ్చు.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} మొదలైన చోటికి తిరిగి వచ్చింది."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ఉంచగలిగే చోటు పైన లేదు."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} దీని పైన ఉంది: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} ఇక్కడ ఉంచబడింది: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} వెళ్లలేని చోట ఉంచబడింది. ఏదీ తరలించబడలేదు."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} మొదలైన చోటే ఉంచబడింది. ఏదీ తరలించబడలేదు."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "దేశాన్ని జో
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "ఒక వాస్తవాన్ని జోడించండి, ఉదాహరణకు “2025లో ఇద్దరు అసోసియేట్ PMలకు మెంటార్‌గా ఉన్నాను”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "కీవర్డ్ జోడించండి..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "ఎంట్రీకి తే
msgid "an error"
msgstr "ఒక లోపం"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "ఊహించని లోపం కారణంగా ఈ పేజీ లోడ్ అవ్వలేదు. మళ్ళీ ప్రయత్నించండి లేదా డాష్‌బోర్డ్‌కు వెళ్ళండి."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "మూసివేయబడి�
msgid "Closed as {label}"
msgstr "{label}గా ముగిసింది"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "కోచ్"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "నమూనాను ఉపయోగించండి"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "ప్రామాణిక శీర్షికను ఉపయోగించండి"
diff --cc apps/web/locales/th-TH.po
index 21bd75bd5,b9d6ce991..51589af32
--- a/apps/web/locales/th-TH.po
+++ b/apps/web/locales/th-TH.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {ปัญ
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {เช็คมีของ # ให้รีวิวครับ คุณยังสามารถดาวน์โหลดได้} other {เช็คมีสิ่งของ # ที่ต้องตรวจสอบ คุณยังสามารถดาวน์โหลดได้}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} กลับไปที่ตำแหน่งเดิมแล้ว"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} ไม่ได้อยู่เหนือตำแหน่งที่วางได้"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} อยู่เหนือ {place}"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "วาง {item} ที่ {place} แล้ว"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "วาง {item} ในตำแหน่งที่วางไม่ได้ ไม่มีสิ่งใดถูกย้าย"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "วาง {item} ที่ตำแหน่งเดิม ไม่มีสิ่งใดถูกย้าย"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "เพิ่มประเท�
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "เพิ่มข้อเท็จจริง เช่น “ฉันเป็นพี่เลี้ยงให้ PM ระดับ associate สองคนในปี 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "เพิ่มคำค้นหา..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "รายการไม่ม�
msgid "an error"
msgstr "ข้อผิดพลาด"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "เกิดข้อผิดพลาดที่ไม่คาดคิดทำให้โหลดหน้านี้ไม่ได้ ลองอีกครั้งหรือไปที่แดชบอร์ด"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ปิด
msgid "Closed as {label}"
msgstr "ปิดด้วยผลลัพธ์ {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "โค้ช"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "ใช้ตัวอย่าง"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "ใช้ส่วนหัวมาตรฐาน"
diff --cc apps/web/locales/tr-TR.po
index 850eae0ba,93ff5b906..641c78fee
--- a/apps/web/locales/tr-TR.po
+++ b/apps/web/locales/tr-TR.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# sorunu
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Kontrolde incelenecek # öğesi var. Hala indirebilirsiniz.} other {Kontrolde incelenecek # şeyler var. Hala indirebilirsiniz.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} başladığı yere geri döndü."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} bırakılabileceği bir yerin üzerinde değil."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} şunun üzerinde: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} şuraya bırakıldı: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} gidemeyeceği bir yere bırakıldı. Hiçbir şey taşınmadı."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} başladığı yere bırakıldı. Hiçbir şey taşınmadı."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Ülke ekle
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Bir bilgi ekleyin, örneğin “2025'te iki yardımcı ürün yöneticisine mentorluk yaptım”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Bir anahtar kelime ekleyin..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Bir girişin tarihi yok
msgid "an error"
msgstr "bir hata"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Beklenmeyen bir hata nedeniyle bu sayfa yüklenemedi. Tekrar deneyin veya panoya gidin."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Kapalı
msgid "Closed as {label}"
msgstr "{label} olarak kapatıldı"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Koç"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Örneği kullan"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Standart başlığı kullanın"
diff --cc apps/web/locales/uk-UA.po
index ff404d67e,9ca236e63..22a5ca99d
--- a/apps/web/locales/uk-UA.po
+++ b/apps/web/locales/uk-UA.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Проб�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {У чеку є #, що варто переглянути. Ви все ще можете завантажити.} other {Чек має # речі для перегляду. Ви все ще можете завантажити.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} знову на початковому місці."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} не над місцем, куди його можна помістити."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} над: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} переміщено на: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} відпущено там, де його не можна розмістити. Нічого не переміщено."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} відпущено на початковому місці. Нічого не переміщено."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Додайте країну
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Додайте факт, наприклад «У 2025 році я був наставником двох молодших продакт-менеджерів»"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Додайте ключове слово..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Запис не має дат
msgid "an error"
msgstr "помилка"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Неочікувана помилка завадила завантаженню цієї сторінки. Спробуйте ще раз або перейдіть на панель керування."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "ЗАЧИНЕНО
msgid "Closed as {label}"
msgstr "Закрито як {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Коуч"
@@@ -14661,9 -14829,9 +14989,13 @@@ msgstr "
msgid "Use sample"
msgstr "Використати зразок"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
++
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
diff --cc apps/web/locales/uz-UZ.po
index de2990b1c,1aaddffee..71add53d5
--- a/apps/web/locales/uz-UZ.po
+++ b/apps/web/locales/uz-UZ.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# muammos
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Tekshirish uchun # narsa bor. Siz hali ham yuklab olishingiz mumkin.} other {Tekshirish uchun # narsalarni ko'rib chiqish kerak. Siz hali ham yuklab olishingiz mumkin.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} boshlang‘ich joyiga qaytdi."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} qo‘yish mumkin bo‘lgan joy ustida emas."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} quyidagi ustida: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} bu yerga qo‘yildi: {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} qo‘yib bo‘lmaydigan joyga tashlandi. Hech narsa ko‘chirilmadi."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} boshlang‘ich joyiga qo‘yildi. Hech narsa ko‘chirilmadi."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Mamlakat qo'shing
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Fakt qo'shing, masalan: “2025-yilda ikki nafar kichik mahsulot menejeriga mentorlik qildim”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Kalit so'zni qo'shing..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Yozuvda sana yo'q
msgid "an error"
msgstr "xato"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Kutilmagan xatolik tufayli ushbu sahifa yuklanmadi. Qayta urinib ko'ring yoki boshqaruv paneliga o'ting."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Yopiq
msgid "Closed as {label}"
msgstr "{label} sifatida yopildi"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Murabbiy"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Namuna ishlatish"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Standart sarlavhadan foydalaning"
diff --cc apps/web/locales/vi-VN.po
index 86d3f261d,6021bc052..4c2a8ab2a
--- a/apps/web/locales/vi-VN.po
+++ b/apps/web/locales/vi-VN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {Sự c�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {Kiểm tra có thứ # để xem lại. Bạn vẫn có thể tải xuống.} other {Kiểm tra có # những thứ cần xem lại. Bạn vẫn có thể tải xuống.}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} đã trở về vị trí ban đầu."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} không ở trên vị trí có thể thả."
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} đang ở trên {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} đã được thả vào {place}."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} đã được thả vào vị trí không được phép. Không có gì bị di chuyển."
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} đã được thả vào vị trí ban đầu. Không có gì bị di chuyển."
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "Thêm một quốc gia
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "Thêm một dữ kiện, ví dụ “Tôi đã kèm cặp hai PM cấp dưới vào năm 2025”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "Thêm từ khóa..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "Một mục không có ngày th
msgid "an error"
msgstr "một lỗi"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "Đã xảy ra lỗi không mong muốn khiến trang này không thể tải được. Hãy thử lại hoặc chuyển đến bảng điều khiển."
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "Đã đóng
msgid "Closed as {label}"
msgstr "Đã đóng với kết quả {label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "Cố vấn"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "Dùng mẫu"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "Sử dụng tiêu đề tiêu chuẩn"
diff --cc apps/web/locales/zh-CN.po
index 1bd3ef09f,26ee8fb6d..d4457c133
--- a/apps/web/locales/zh-CN.po
+++ b/apps/web/locales/zh-CN.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# 问题�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {检查有 # 的东西要审查。您仍然可以下载。} other {检查有 # 需要审核的内容。您仍然可以下载。}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} 已回到原位。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} 不在可放置的位置上方。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} 位于 {place} 上方。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} 已放到 {place}。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} 被放到了不能放置的位置。未移动任何内容。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} 被放回原位。未移动任何内容。"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "添加国家
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "添加一个事实,例如“2025 年我指导了两名初级产品经理”"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "添加关键字..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "条目没有日期
msgid "an error"
msgstr "一个错误"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "页面加载出现意外错误。请重试,或前往控制台。"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "关闭
msgid "Closed as {label}"
msgstr "已关闭,结果为{label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "教练"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "使用示例"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "使用标准标题"
diff --cc apps/web/locales/zh-TW.po
index 70605a96c,152a24aaa..e86c77343
--- a/apps/web/locales/zh-TW.po
+++ b/apps/web/locales/zh-TW.po
@@@ -694,10 -682,30 +711,34 @@@ msgstr "{issues, plural, one {# 問題�
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr "{issues, plural, one {檢查有 # 的東西要審查。您仍然可以下載。} other {檢查有 # 需要審核的內容。您仍然可以下載。}}"
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr "{item} 已回到原位。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr "{item} 不在可放置的位置上方。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr "{item} 位於 {place} 上方。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr "{item} 已放到 {place}。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr "{item} 被放到無法放置的位置。未移動任何內容。"
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr "{item} 被放回原位。未移動任何內容。"
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1324,10 -1334,11 +1375,14 @@@ msgstr "添加國家
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr "新增一個事實,例如「2025 年我指導了兩位初階產品經理」"
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr "新增關鍵字..."
@@@ -1989,14 -1998,6 +2052,10 @@@ msgstr "條目沒有日期
msgid "an error"
msgstr "一個錯誤"
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr "頁面載入出現意外錯誤。請再試一次,或前往控制台。"
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3264,12 -3273,9 +3336,13 @@@ msgstr "關閉
msgid "Closed as {label}"
msgstr "已結束,結果為{label}"
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr "教練"
@@@ -14661,10 -14829,10 +14989,14 @@@ msgstr "
msgid "Use sample"
msgstr "使用範例"
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr "使用標準標題"
diff --cc apps/web/locales/zu-ZA.po
index f787c0c60,d173464d0..5f5c05c1e
--- a/apps/web/locales/zu-ZA.po
+++ b/apps/web/locales/zu-ZA.po
@@@ -689,10 -677,30 +706,34 @@@ msgstr "
msgid "{issues, plural, one {Check has # thing to review. You can still download.} other {Check has # things to review. You can still download.}}"
msgstr ""
+ #: src/libs/dnd.ts
+ msgid "{item} is back where it started."
+ msgstr ""
+
+ #: src/libs/dnd.ts
+ msgid "{item} is not over a place it can go."
+ msgstr ""
+
+ #: src/libs/dnd.ts
+ msgid "{item} is over {place}."
+ msgstr ""
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped on {place}."
+ msgstr ""
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it can't go. Nothing moved."
+ msgstr ""
+
+ #: src/libs/dnd.ts
+ msgid "{item} was dropped where it started. Nothing moved."
+ msgstr ""
+
+#: src/features/applications/use-application-actions.ts
+msgid "{kept, plural, one {# application changed in the meantime, so it keeps its newer stage} other {# applications changed in the meantime, so they keep their newer stage}}"
+msgstr ""
+
#: src/features/applications/next-step.ts
#: src/features/career/today.tsx
msgid "{kind} interview"
@@@ -1319,10 -1329,11 +1370,14 @@@ msgstr "
msgid "Add a fact, for example “I mentored two associate PMs in 2025”"
msgstr ""
-#: src/features/documents/document-actions.tsx
#: src/features/documents/new-document-dialog.tsx
+msgid "Add a job"
+msgstr ""
+
++#: src/features/documents/document-actions.tsx
+ msgid "Add a job…"
+ msgstr ""
+
#: src/components/input/chip-input.tsx
msgid "Add a keyword..."
msgstr ""
@@@ -1984,14 -1993,6 +2047,10 @@@ msgstr "
msgid "an error"
msgstr ""
+#: src/features/career/offer-entry.tsx
+msgid "an hour"
+msgstr ""
+
- #: src/components/layout/error-screen.tsx
- msgid "An unexpected error stopped this page from loading. Try again, or go to the dashboard."
- msgstr ""
-
#. Hero headline, line 3 of 4: A free, open-source / resume builder / and / career manager.
#: src/features/homepage/hero.tsx
msgctxt "hero headline"
@@@ -3259,12 -3268,9 +3331,13 @@@ msgstr "
msgid "Closed as {label}"
msgstr ""
+#: src/features/applications/use-application-actions.ts
+msgid "Closed as Accepted offer"
+msgstr ""
+
#: src/features/career/coach.tsx
#: src/features/career/workspace/coach-sheet.tsx
+ #: src/features/command-palette/pages/navigation.tsx
#: src/routes/dashboard/career/route.tsx
msgid "Coach"
msgstr ""
@@@ -14656,10 -14824,10 +14984,14 @@@ msgstr "
msgid "Use sample"
msgstr ""
+ #: src/features/career/draft-recovery.tsx
+ msgid "Use saved version"
+ msgstr ""
+
+#: src/features/resume/editor/check/actions.ts
+msgid "Use the builder's Undo to undo earlier changes."
+msgstr ""
+
#: src/features/resume/editor/check/issues.ts
msgid "Use the standard heading"
msgstr ""
diff --cc apps/web/src/features/applications/components/application-card.tsx
index f5a73bf0c,dd87fb589..8e4b75037
--- a/apps/web/src/features/applications/components/application-card.tsx
+++ b/apps/web/src/features/applications/components/application-card.tsx
@@@ -17,13 -16,7 +17,13 @@@ type ApplicationCardProps =
/** A board card: the company's initial, role and company, and the next step (warn when it's overdue). */
export function ApplicationCard({ application, onClick, withMenu = false, dragging = false }: ApplicationCardProps) {
const { locale, timeZone } = useCareerTime();
- const next = describeNextStep(getNextStep(application, undefined, timeZone), application, locale, timeZone);
+ const hints = useOfferHints(application.status === "offer");
+ const next = describeNextStep(
- getNextStep(application, undefined, offerHintFor(hints, application.id)),
++ getNextStep(application, undefined, timeZone, offerHintFor(hints, application.id)),
+ application,
+ locale,
+ timeZone,
+ );
return (
<div
diff --cc apps/web/src/features/applications/components/detail/next-step-card.test.tsx
index 89a1e3d32,2eda5b695..fb8819a7a
--- a/apps/web/src/features/applications/components/detail/next-step-card.test.tsx
+++ b/apps/web/src/features/applications/components/detail/next-step-card.test.tsx
@@@ -8,12 -8,11 +8,14 @@@ import { I18nProvider } from "@lingui/r
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
const update = vi.hoisted(() => vi.fn().mockResolvedValue({}));
- vi.mock("@tanstack/react-router", () => ({ useRouteContext: () => ({ session: { user: { timezone: "UTC" } } }) }));
+ vi.mock("@tanstack/react-router", () => ({
+ useRouteContext: () => ({ session: { user: { timezone: "Europe/Berlin" } } }),
+ }));
vi.mock("@/libs/orpc/client", () => ({
- orpc: { applications: { update: { mutationOptions: () => ({ mutationFn: update }) } } },
+ orpc: {
+ applications: { update: { mutationOptions: () => ({ mutationFn: update }) } },
+ career: { savedItems: { queryOptions: () => ({ queryKey: ["offers"], queryFn: async () => [] }) } },
+ },
}));
vi.mock("../../use-application-actions", () => ({ useInvalidateApplications: () => vi.fn() }));
diff --cc apps/web/src/features/applications/components/detail/next-step-card.tsx
index de85eab81,c4ebb24c7..9ece0e065
--- a/apps/web/src/features/applications/components/detail/next-step-card.tsx
+++ b/apps/web/src/features/applications/components/detail/next-step-card.tsx
@@@ -3,9 -3,9 +3,10 @@@ import type { InterviewTimelineEntry }
import { t } from "@lingui/core/macro";
import { Trans } from "@lingui/react/macro";
import { useMutation } from "@tanstack/react-query";
+import { Link } from "@tanstack/react-router";
import { useId, useState } from "react";
+ import { followUpInstant, isDateOnlyFollowUp } from "@reactive-resume/schema/applications/follow-up";
-import { Button } from "@reactive-resume/ui/components/button";
+import { Button, buttonVariants } from "@reactive-resume/ui/components/button";
import {
Dialog,
DialogContent,
@@@ -46,23 -46,15 +48,23 @@@ type NextStepCardProps =
export function NextStepCard({ application, onScheduleInterview }: NextStepCardProps) {
const { locale, timeZone } = useCareerTime();
const [followUpOpen, setFollowUpOpen] = useState(false);
- const step = getNextStep(application, undefined, timeZone);
+ const hints = useOfferHints(application.status === "offer");
- const step = getNextStep(application, undefined, offerHintFor(hints, application.id));
++ const step = getNextStep(application, undefined, timeZone, offerHintFor(hints, application.id));
const text = describeNextStep(step, application, locale, timeZone);
+ const dated =
+ step.kind === "interview" || step.kind === "follow-up" ? step.at : step.kind === "offer" ? step.respondBy : null;
const addToCalendar = () => {
- if (step.kind !== "interview" && step.kind !== "follow-up") return;
- const start = step.kind === "follow-up" ? (followUpInstant(application, timeZone) ?? step.at) : step.at;
+ if (!dated) return;
+ const start = dated;
const minutes = step.kind === "interview" ? step.interview.durationMinutes : 30;
const ics = buildIcs({
- uid: step.kind === "interview" ? step.interview.id : `follow-up-${application.id}`,
+ uid:
+ step.kind === "interview"
+ ? step.interview.id
+ : step.kind === "offer"
+ ? `offer-${application.id}`
+ : `follow-up-${application.id}`,
title: `${text.title} · ${application.role}, ${application.company}`,
start,
end: new Date(start.getTime() + minutes * 60_000),
diff --cc apps/web/src/features/applications/components/list-view.test.tsx
index 850471a46,906500288..3da217309
--- a/apps/web/src/features/applications/components/list-view.test.tsx
+++ b/apps/web/src/features/applications/components/list-view.test.tsx
@@@ -8,8 -8,10 +8,15 @@@ import { I18nProvider } from "@lingui/r
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ApplicationList } from "./list-view";
- const mocks = vi.hoisted(() => ({ breakpoint: "desktop", invalidate: vi.fn(), moveWithUndo: vi.fn() }));
- vi.mock("@tanstack/react-router", () => ({ useRouteContext: () => ({ session: { user: { timezone: "UTC" } } }) }));
-const mocks = vi.hoisted(() => ({ breakpoint: "desktop", timeZone: "UTC", invalidate: vi.fn() }));
++const mocks = vi.hoisted(() => ({
++ breakpoint: "desktop",
++ timeZone: "UTC",
++ invalidate: vi.fn(),
++ moveWithUndo: vi.fn(),
++}));
+ vi.mock("@tanstack/react-router", () => ({
+ useRouteContext: () => ({ session: { user: { timezone: mocks.timeZone } } }),
+ }));
vi.mock("@/libs/orpc/client", () => ({
orpc: {
applications: {
@@@ -192,29 -228,52 +237,79 @@@ it("sorts by role with company as the t
expect(order()).toEqual(["Zeta", "Acme", "Mid"]);
});
+it("moves and closes the checked rows with Undo instead of writing at once (J2-18)", async () => {
+ mocks.moveWithUndo.mockClear();
+ renderList(twoApplications());
+ fireEvent.click(screen.getByRole("checkbox", { name: "Select Product Designer at Initech" }));
+
+ await userEvent.click(screen.getByRole("button", { name: "Move to…" }));
+ await userEvent.click(await screen.findByRole("menuitem", { name: "Interview" }));
+ expect(mocks.moveWithUndo).toHaveBeenLastCalledWith(
+ expect.objectContaining({
+ applications: [{ id: "app-2" }],
+ lane: expect.objectContaining({ category: "interview" }),
+ description: "1 application moved to Interview",
+ }),
+ );
+
+ fireEvent.click(screen.getByRole("checkbox", { name: "Select Product Designer at Initech" }));
+ await userEvent.click(screen.getByRole("button", { name: "Close…" }));
+ await userEvent.click(await screen.findByRole("menuitem", { name: "Accepted another offer" }));
+ expect(mocks.moveWithUndo).toHaveBeenLastCalledWith(
+ expect.objectContaining({
+ applications: [{ id: "app-2" }],
+ lane: expect.objectContaining({ category: "closed" }),
+ closedReason: "accepted-other",
+ }),
+ );
+});
++
+ it("orders a stage by its own stage dates, longest wait first, when every row was imported at once", () => {
+ const importedAt = new Date("2026-10-19T00:00:00.000Z");
+ const appliedDaysAgo = (id: string, company: string, days: number) =>
+ application({
+ id,
+ company,
+ location: null,
+ updatedAt: importedAt,
+ appliedAt: new Date(Date.now() - days * 86_400_000),
+ activity: [{ id: `${id}-stage`, type: "stage", stage: "applied", at: new Date(Date.now() - days * 86_400_000) }],
+ });
+ const { container } = renderList([
+ appliedDaysAgo("a", "Niantic", 9),
+ appliedDaysAgo("b", "Bethesda", 35),
+ appliedDaysAgo("c", "Sucker Punch", 21),
+ ]);
+ const order = Array.from(container.querySelectorAll("tbody td button span:last-child"), (span) => span.textContent);
+
+ expect(order).toEqual(["Bethesda", "Sucker Punch", "Niantic"]);
+ expect(header(container, "Next step").getAttribute("aria-sort")).toBe("ascending");
+ });
+
+ it("sorts legacy date-only follow-ups by their account-clock delivery time", () => {
+ mocks.timeZone = "Pacific/Honolulu";
+ try {
+ const { container } = renderList([
+ application({
+ id: "legacy",
+ location: null,
+ company: "Legacy",
+ followUpAt: new Date("2030-01-03T00:00:00Z"),
+ followUpDateOnly: true,
+ }),
+ application({
+ id: "exact",
+ location: null,
+ company: "Exact",
+ followUpAt: new Date("2030-01-03T12:00:00Z"),
+ followUpDateOnly: false,
+ }),
+ ]);
+ expect(header(container, "Next step").getAttribute("aria-sort")).toBe("ascending");
+ expect(
+ Array.from(container.querySelectorAll("tbody td button span:last-child"), (span) => span.textContent),
+ ).toEqual(["Exact", "Legacy"]);
+ } finally {
+ mocks.timeZone = "UTC";
+ }
+ });
diff --cc apps/web/src/features/applications/components/list-view.tsx
index 9146f7e6c,871dce37b..84266c6dc
--- a/apps/web/src/features/applications/components/list-view.tsx
+++ b/apps/web/src/features/applications/components/list-view.tsx
@@@ -1,4 -1,4 +1,5 @@@
import type { ApplicationLane } from "../lanes";
++import type { OfferHint } from "../next-step";
import type { ApplicationSummary } from "../types";
import { plural, t } from "@lingui/core/macro";
import { useLingui } from "@lingui/react";
@@@ -21,14 -21,13 +22,15 @@@ import { Popover, PopoverContent, Popov
import { toast } from "@reactive-resume/ui/components/toast";
import { useBreakpoint } from "@reactive-resume/ui/hooks/use-breakpoint";
import { cn } from "@reactive-resume/utils/style";
- import { getCategoryLane, getDisplayLane, getLaneLabel, getStageDisplay } from "../lanes";
- import { describeNextStep, getNextStep } from "../next-step";
-import { getCategoryLane, getDisplayLane, getLaneLabel, laneMoveInput } from "../lanes";
++import { getStageDisplay } from "../lanes";
++import { getCategoryLane, getDisplayLane, getLaneLabel } from "../lanes";
+ import { compareNextStepSortKeys, describeNextStep, getNextStep, nextStepSortKey } from "../next-step";
+import { offerHintFor, useOfferHints } from "../queries";
import { LIST_ORDER } from "../stages";
-import { useInvalidateApplications } from "../use-application-actions";
+import { useInvalidateApplications, useMoveWithUndo } from "../use-application-actions";
import { useApplicationLanes } from "../use-application-lanes";
import { ClosedLaneItems } from "./application-actions-menu";
- import { useCareerTime } from "@/features/career/shared";
+ import { useCareerTime, useNow } from "@/features/career/shared";
import { useConfirm } from "@/hooks/use-confirm";
import { formatRelativeTime } from "@/libs/locale";
import { D2, EASE, EXIT } from "@/libs/motion";
@@@ -36,17 -35,12 +38,15 @@@ import { orpc } from "@/libs/orpc/clien
type SortKey = "role" | "next" | "updated";
type Sort = { key: SortKey; direction: "asc" | "desc" };
-
- const nextStepTime = (application: ApplicationSummary) => {
- const step = getNextStep(application);
- if (step.kind === "offer") return step.respondBy?.getTime() ?? Number.POSITIVE_INFINITY;
- return step.kind === "interview" || step.kind === "follow-up" ? step.at.getTime() : Number.POSITIVE_INFINITY;
- };
+ type SortValue = string | number | readonly [number, number];
// Sort keys are computed once per row, not once per comparison.
- const sortValue: Record<SortKey, (application: ApplicationSummary) => string | number> = {
-const sortValue: Record<SortKey, (application: ApplicationSummary, now: Date, timeZone: string) => SortValue> = {
++const sortValue: Record<
++ SortKey,
++ (application: ApplicationSummary, now: Date, timeZone: string, offer?: OfferHint | null) => SortValue
++> = {
role: (application) => application.role,
- next: nextStepTime,
- next: (application, now, timeZone) => nextStepSortKey(application, now, timeZone),
++ next: (application, now, timeZone, offer) => nextStepSortKey(application, now, timeZone, offer),
updated: (application) => new Date(application.updatedAt).getTime(),
};
@@@ -67,10 -66,13 +72,14 @@@ type ListViewProps =
*/
export function ApplicationList({ applications, showClosed, selectedId, onOpen }: ListViewProps) {
const breakpoint = useBreakpoint();
+ const { timeZone } = useCareerTime();
const phone = breakpoint === "mobile";
const { lanes, active } = useApplicationLanes();
+ const now = useNow();
++ const hints = useOfferHints();
const [collapsed, setCollapsed] = useState<ReadonlySet<string>>(new Set());
- const [sort, setSort] = useState<Sort>({ key: "updated", direction: "desc" });
+ // Next step first: what's dated soonest, then whatever has waited longest in its stage.
+ const [sort, setSort] = useState<Sort>({ key: "next", direction: "asc" });
const [checked, setChecked] = useState<ReadonlySet<string>>(new Set());
const laneOf = (application: ApplicationSummary) => getDisplayLane(lanes, application);
@@@ -87,7 -89,9 +96,12 @@@
const groups = useMemo(() => {
const sign = sort.direction === "asc" ? 1 : -1;
- const keys = new Map(applications.map((application) => [application.id, sortValue[sort.key](application)]));
+ const keys = new Map(
- applications.map((application) => [application.id, sortValue[sort.key](application, now, timeZone)]),
++ applications.map((application) => [
++ application.id,
++ sortValue[sort.key](application, now, timeZone, offerHintFor(hints, application.id)),
++ ]),
+ );
const key = (application: ApplicationSummary) => keys.get(application.id) ?? 0;
const rowsByLane = new Map<string, ApplicationSummary[]>();
for (const application of applications) {
@@@ -107,7 -112,7 +122,7 @@@
),
}))
.filter((group) => group.rows.length > 0);
- }, [applications, showClosed, sort, lanes, active]);
- }, [applications, showClosed, sort, lanes, active, timeZone, now]);
++ }, [applications, showClosed, sort, lanes, active, timeZone, now, hints]);
const toggleGroup = (status: string) =>
setCollapsed((current) => {
@@@ -265,18 -270,7 +280,18 @@@ const ApplicationRow = memo(function Ap
}: ApplicationRowProps) {
const { i18n } = useLingui();
const { timeZone } = useCareerTime();
- const next = describeNextStep(getNextStep(application, undefined, timeZone), application, i18n.locale, timeZone);
+ const hints = useOfferHints(application.status === "offer");
+ const { lanes } = useApplicationLanes();
+ const accepted = application.status === "closed" && application.closedReason === "accepted";
+ const stage = accepted
+ ? getStageDisplay(lanes, application)
+ : { color: lane.color, label: getLaneLabel(lane), accepted: false };
+ const next = describeNextStep(
- getNextStep(application, undefined, offerHintFor(hints, application.id)),
++ getNextStep(application, undefined, timeZone, offerHintFor(hints, application.id)),
+ application,
+ i18n.locale,
+ timeZone,
+ );
const sent = application.status !== "saved";
const tone = next.tone === "warn" ? "text-warn-text" : next.tone === "muted" ? "text-ink-3" : "text-ink-2";
diff --cc apps/web/src/features/applications/components/timezone.test.tsx
index a1ea105bd,001c4f8bc..aa8bc8b98
--- a/apps/web/src/features/applications/components/timezone.test.tsx
+++ b/apps/web/src/features/applications/components/timezone.test.tsx
@@@ -8,13 -8,13 +8,19 @@@ import { I18nProvider } from "@lingui/r
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { createDefaultApplicationLanes } from "@reactive-resume/schema/applications/lanes";
--const account = vi.hoisted(() => ({ timeZone: "UTC", saveInterview: vi.fn(), download: vi.fn() }));
++const account = vi.hoisted(() => ({
++ timeZone: "UTC",
++ saveInterview: vi.fn(),
++ download: vi.fn(),
++ offers: [] as unknown[],
++}));
vi.mock("@reactive-resume/utils/file", async (importOriginal) => ({
...(await importOriginal<typeof import("@reactive-resume/utils/file")>()),
downloadWithAnchor: account.download,
}));
vi.mock("@tanstack/react-router", () => ({
useRouteContext: () => ({ session: { user: { timezone: account.timeZone } } }),
++ Link: ({ children }: { children: ReactNode }) => <a href="/dashboard/career/offers">{children}</a>,
}));
vi.mock("./interview-dialog", () => ({
InterviewDialog: ({ day }: { day: string | null }) => <output data-testid="scheduled-day">{day}</output>,
@@@ -36,10 -36,7 +42,16 @@@ vi.mock("@/libs/orpc/client", () => (
deleteTimelineEntry: { mutationOptions: () => ({ mutationFn: vi.fn() }) },
update: { mutationOptions: () => ({ mutationFn: vi.fn() }) },
},
- career: { schedules: { queryOptions: () => ({ queryKey: ["schedules"], queryFn: () => [] }) } },
+ career: {
+ schedules: { queryOptions: () => ({ queryKey: ["schedules"], queryFn: () => [] }) },
- savedItems: { queryOptions: () => ({ queryKey: ["offers"], queryFn: async () => [] }) },
++ savedItems: {
++ queryOptions: () => ({
++ queryKey: ["offers"],
++ initialData: account.offers,
++ queryFn: async () => account.offers,
++ }),
++ },
+ },
},
}));
@@@ -87,6 -84,6 +99,7 @@@ function show(children: ReactNode)
beforeEach(() => {
account.download.mockClear();
++ account.offers = [];
i18n.load("en-GB", {});
i18n.activate("en-GB");
vi.useFakeTimers();
@@@ -297,3 -294,3 +310,21 @@@ it("uses neutral empty-state wording un
expect(within(screen.getByTestId("interview-agenda")).getByText("Nothing scheduled yet")).toBeDefined();
expect(screen.queryByText("No interviews this month")).toBeNull();
});
++
++it.each([
++ ["UTC", "2026-10-31"],
++ ["Europe/Berlin", "2026-11-01"],
++])("names an offer deadline download on the %s account date", (timeZone, date) => {
++ account.timeZone = timeZone;
++ account.offers = [
++ { applicationId: "application", createdAt: new Date(), data: { kind: "offer", respondBy: "2026-10-31T23:30:00Z" } },
++ ];
++ show(
++ <NextStepCard
++ application={{ ...application("2026-11-15T09:00:00Z"), status: "offer" }}
++ onScheduleInterview={vi.fn()}
++ />,
++ );
++ fireEvent.click(screen.getByRole("button", { name: "Add to calendar" }));
++ expect(account.download.mock.calls[0]?.[1]).toBe(`Northstar-${date}.ics`);
++});
diff --cc apps/web/src/features/applications/next-step.test.ts
index 797b1d809,0b4dee5e1..c062609f5
--- a/apps/web/src/features/applications/next-step.test.ts
+++ b/apps/web/src/features/applications/next-step.test.ts
@@@ -52,6 -52,21 +52,27 @@@ describe("getNextStep", () =>
expect(getNextStep(quiet, NOW)).toEqual({ kind: "no-reply", days: 12 });
});
+ it.each([
+ ["interview", [interview(day(-2))], "Waiting for interview feedback"],
+ ["interview", [], "No interview scheduled"],
+ ["offer", [], "Decide on the offer"],
+ ["screening", [], "Waiting to hear back"],
+ ] as const)("tells a %s-stage application what it is actually waiting on", (status, interviews, title) => {
+ const source = application({
+ status,
+ activity: [{ id: "s", type: "stage", stage: status, at: day(-4) }, ...interviews],
+ });
+ const text = describeNextStep(getNextStep(source, NOW), { status, closedReason: null }, "en-GB", "UTC");
+ expect(text.title).toBe(title);
- expect(text.sub).toBe(title === "No interview scheduled" ? "Add the date when you have it" : "For 4 days");
++ expect(text.sub).toBe(
++ status === "offer"
++ ? "Compare it with your other offers"
++ : title === "No interview scheduled"
++ ? "Add the date when you have it"
++ : "For 4 days",
++ );
+ });
+
it("keeps the no-reply clock running across a move between two Applied lanes, while time in lane restarts", () => {
const moved = {
...application({
@@@ -87,63 -105,33 +111,106 @@@ it("shows a follow-up on the same accou
}
});
+describe("Next step at the Offer stage (J2-17)", () => {
+ const atOffer = (patch: Partial<Source> = {}) =>
+ application({
+ status: "offer",
+ activity: [
+ { id: "s1", type: "stage", stage: "applied", at: day(-20) },
+ { id: "s2", type: "stage", stage: "offer", at: day(-1) },
+ interview(day(5), "earlier-round"),
+ ],
+ ...patch,
+ });
+
+ it("asks for the offer's terms instead of an interview booked before the offer", () => {
- expect(getNextStep(atOffer(), NOW, null)).toEqual({ kind: "offer", respondBy: null, overdue: false, terms: false });
++ expect(getNextStep(atOffer(), NOW, "UTC", null)).toEqual({
++ kind: "offer",
++ days: 1,
++ respondBy: null,
++ overdue: false,
++ terms: false,
++ });
+ });
+
+ it("leads with the reply deadline of the saved offer", () => {
+ const respondBy = day(3).toISOString();
- expect(getNextStep(atOffer(), NOW, { respondBy })).toEqual({
++ expect(getNextStep(atOffer(), NOW, "UTC", { respondBy })).toEqual({
+ kind: "offer",
++ days: 1,
+ respondBy: new Date(respondBy),
+ overdue: false,
+ terms: true,
+ });
- const late = getNextStep(atOffer(), NOW, { respondBy: day(-1).toISOString() });
++ const late = getNextStep(atOffer(), NOW, "UTC", { respondBy: day(-1).toISOString() });
+ expect(late).toMatchObject({ kind: "offer", overdue: true });
+ });
+
+ it("reads as a decision when terms are saved without a deadline, or not known yet", () => {
+ const text = (offer?: { respondBy: string | null } | null) =>
- describeNextStep(getNextStep(atOffer(), NOW, offer), { status: "offer", closedReason: null }, "en-US", "UTC");
++ describeNextStep(
++ getNextStep(atOffer(), NOW, "UTC", offer),
++ { status: "offer", closedReason: null },
++ "en-US",
++ "UTC",
++ );
+ expect(text(null).title).toBe("Add the offer's terms");
+ expect(text({ respondBy: null }).title).toBe("Decide on the offer");
+ expect(text().title).toBe("Decide on the offer");
+ expect(text({ respondBy: day(3).toISOString() })).toMatchObject({ title: "Reply to the offer", tone: "normal" });
+ expect(text({ respondBy: day(-1).toISOString() })).toMatchObject({ title: "Reply to the offer", tone: "warn" });
+ });
+
+ it("puts a follow-up set at Offer ahead of an interview booked before it, but after the reply deadline", () => {
+ const followUpAt = day(2);
+ const withFollowUp = atOffer({
+ followUpAt,
+ followUpNote: "Ask about the start date",
+ activity: [interview(day(1))],
+ });
+
- expect(getNextStep(withFollowUp, NOW, null)).toEqual({
++ expect(getNextStep(withFollowUp, NOW, "UTC", null)).toEqual({
+ kind: "follow-up",
+ at: new Date(followUpAt),
+ note: "Ask about the start date",
+ overdue: false,
+ });
- expect(getNextStep(withFollowUp, NOW, { respondBy: day(3).toISOString() })).toMatchObject({ kind: "offer" });
++ expect(getNextStep(withFollowUp, NOW, "UTC", { respondBy: day(3).toISOString() })).toMatchObject({ kind: "offer" });
+ });
+
+ it("leaves earlier stages as they were", () => {
- const step = getNextStep(application({ status: "interview", activity: [interview(day(2))] }), NOW, null);
++ const step = getNextStep(application({ status: "interview", activity: [interview(day(2))] }), NOW, "UTC", null);
+ expect(step).toMatchObject({ kind: "interview" });
+ });
+});
++
+ it.each([
+ ["an interview within a week", { activity: [interview(day(6))] }, true],
+ ["an interview further out", { activity: [interview(day(9))] }, false],
+ ["a follow-up due tomorrow", { followUpAt: day(0.5) }, true],
+ ["an overdue follow-up", { followUpAt: day(-1) }, true],
+ ["a follow-up next week", { followUpAt: day(7) }, false],
+ ["no reply after twelve days", { activity: [{ id: "s", type: "stage", stage: "applied", at: day(-12) }] }, true],
+ ["a recent application", {}, false],
+ [
+ "an offer to decide",
+ { status: "offer", activity: [{ id: "s", type: "stage", stage: "offer", at: day(-1) }] },
+ true,
+ ],
+ ["a saved job", { status: "saved" }, false],
+ ["a closed application", { status: "closed" }, false],
+ ] as const)("decides whether %s needs the user", (_, patch, expected) => {
+ expect(needsAttention(getNextStep(application(patch as Partial<Source>), NOW), NOW)).toBe(expected);
+ });
+
+ it("resolves a legacy selected day at 09:00 while an explicit midnight remains exact", () => {
+ const source = application({ followUpAt: new Date("2030-01-03T00:00:00Z"), followUpDateOnly: true });
+ const legacy = getNextStep(source, new Date("2030-01-03T12:00:00Z"), "Pacific/Honolulu");
+ expect(legacy).toMatchObject({ kind: "follow-up", at: new Date("2030-01-03T19:00:00Z"), overdue: false });
+ expect(describeNextStep(legacy, { status: "applied", closedReason: null }, "en-GB", "Pacific/Honolulu").sub).toBe(
+ "Thu 3 Jan",
+ );
+ expect(
+ getNextStep({ ...source, followUpDateOnly: false }, new Date("2030-01-03T12:00:00Z"), "Pacific/Honolulu"),
+ ).toMatchObject({ kind: "follow-up", at: source.followUpAt, overdue: true });
+ });
diff --cc apps/web/src/features/applications/next-step.ts
index de866779f,51406cf4d..e6bb157bf
--- a/apps/web/src/features/applications/next-step.ts
+++ b/apps/web/src/features/applications/next-step.ts
@@@ -1,18 -1,13 +1,13 @@@
import type { ApplicationSummary } from "./types";
- import type { InterviewTimelineEntry } from "@reactive-resume/schema/applications/data";
+ import type { ApplicationStageSource, NextStep } from "@reactive-resume/schema/applications/next-step";
-export type { NextStep } from "@reactive-resume/schema/applications/next-step";
++export type { NextStep, OfferHint } from "@reactive-resume/schema/applications/next-step";
import type { IconName } from "@reactive-resume/ui/components/icon";
import { plural, t } from "@lingui/core/macro";
- import { interviewKindOf, isInterview } from "./interviews";
- import { isCanonicalStageEvent, isCurrentLaneEvent } from "./lanes";
+ import { interviewKindOf } from "./interviews";
+ import { isCurrentLaneEvent } from "./lanes";
import { getClosedReasonLabel } from "./stages";
- const DAY_MS = 86_400_000;
-
- /** Days without a reply after applying before a follow-up is suggested. */
- const FOLLOW_UP_AFTER_DAYS = 10;
-
- type NextStepSource = Pick<ApplicationSummary, "status" | "activity" | "followUpAt" | "followUpNote" | "appliedAt">;
- type StageSource = Pick<ApplicationSummary, "status" | "activity" | "appliedAt"> & {
+ type StageSource = ApplicationStageSource & {
laneId?: string | null | undefined;
};
@@@ -188,6 -93,27 +109,20 @@@ export function describeNextStep
sub: plural(step.days, { one: "For # day", other: "For # days" }),
tone: "normal",
};
+ case "interview-feedback":
+ return {
+ icon: "hourglass",
+ title: t`Waiting for interview feedback`,
+ sub: plural(step.days, { one: "For # day", other: "For # days" }),
+ tone: "normal",
+ };
+ case "no-interview":
+ return {
+ icon: "calendar-dot",
+ title: t`No interview scheduled`,
+ sub: t`Add the date when you have it`,
+ tone: "normal",
+ };
- case "offer":
- return {
- icon: "scales",
- title: t`Decide on the offer`,
- sub: plural(step.days, { one: "For # day", other: "For # days" }),
- tone: "warn",
- };
case "not-applied":
return { icon: "bookmark-simple", title: t`Not applied yet`, sub: "", tone: "muted" };
case "closed":
diff --cc apps/web/src/features/career/knowledge/knowledge.test.tsx
index fa00b1072,6f9896ef7..524d20ef2
--- a/apps/web/src/features/career/knowledge/knowledge.test.tsx
+++ b/apps/web/src/features/career/knowledge/knowledge.test.tsx
@@@ -90,21 -89,14 +90,25 @@@ vi.mock("../shared", () => (
vi.mock("@/features/applications/queries", () => ({
applicationsListQueryOptions: () => ({
queryKey: ["applications"],
- queryFn: async () => api.data.applications ?? [],
+ queryFn: async () => {
+ await api.read("applications");
+ if (api.fail.has("applications")) throw new Error("Offline");
+ return api.data.applications ?? [];
+ },
retry: false,
}),
+ applicationsListQueryKey: () => ["applications"],
+ savedOffersQueryOptions: () => ({
+ queryKey: ["savedItems"],
+ queryFn: async () => api.data.savedItems ?? [],
+ retry: false,
+ }),
}));
+vi.mock("@/features/applications/use-application-actions", () => ({ useMoveWithUndo: () => api.moveWithUndo }));
+vi.mock("@/features/applications/use-application-lanes", async () => {
+ const { createDefaultApplicationLanes } = await import("@reactive-resume/schema/applications/lanes");
+ return { useApplicationLanes: () => ({ lanes: createDefaultApplicationLanes(), mode: "lanes" }) };
+});
vi.mock("@reactive-resume/ui/components/toast", () => ({ toast: { add: vi.fn() } }));
import { OfferEntry } from "../offer-entry";
@@@ -499,57 -535,147 +547,213 @@@ it("publishes target roles to search co
);
});
+it("moves an Applied job to Offer with Undo once its offer is saved, and keeps the terms in view (J2-06)", async () => {
+ const terms = {
+ kind: "offer",
+ version: "written",
+ currency: "EUR",
+ period: "year",
+ base: 182000,
+ variable: null,
+ variableConditions: "",
+ equity: "",
+ location: "",
+ officeDays: null,
+ leave: "",
+ learning: null,
+ other: "",
+ respondBy: null,
+ };
+ api.createOffer.mockResolvedValue({ id: "offer-1", applicationId: "job-a", createdAt: new Date(), data: terms });
+ const done = vi.fn();
- mount(
++ const view = mount(
+ <OfferEntry
+ application={{ id: "job-a", company: "Fieldnote", role: "VP of Engineering", status: "applied" }}
+ initialOpen
+ onDone={done}
+ />,
+ );
+ fireEvent.change(screen.getByLabelText("Currency"), { target: { value: "EUR" } });
+ fireEvent.change(screen.getByLabelText("Base salary"), { target: { value: "182000" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save offer" }));
+
+ await waitFor(() =>
+ expect(api.moveWithUndo).toHaveBeenCalledWith(
+ expect.objectContaining({
+ applications: [{ id: "job-a" }],
+ lane: expect.objectContaining({ category: "offer" }),
+ description: "Offer saved. Fieldnote moved to Offer.",
+ }),
+ ),
+ );
+ expect(done).toHaveBeenCalled();
+ const summary = await screen.findByRole("status");
+ expect(summary.textContent).toContain("Written offer");
+ expect(summary.textContent).toContain("€182,000 a year");
+ expect(screen.getByRole("button", { name: "Add a newer offer" })).toBeTruthy();
++ const client = clients.at(-1);
++ if (!client) throw new Error("Missing mounted query client");
++ view.rerender(
++ <QueryClientProvider client={client}>
++ <I18nProvider i18n={i18n}>
++ <OfferEntry application={{ id: "job-b", company: "Other Co", role: "Engineer", status: "offer" }} />
++ </I18nProvider>
++ </QueryClientProvider>,
++ );
++ expect(screen.queryByRole("status")).toBeNull();
++ expect(screen.getByRole("button", { name: "Add offer" })).toBeDefined();
+});
+
+it("leaves an application already at Offer where it is", async () => {
+ api.createOffer.mockResolvedValue(null);
+ mount(<OfferEntry application={{ id: "job-a", company: "Acme", role: "Engineer", status: "offer" }} initialOpen />);
+ fireEvent.change(screen.getByLabelText("Currency"), { target: { value: "EUR" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save offer" }));
+ await waitFor(() => expect(api.createOffer).toHaveBeenCalled());
+ expect(api.moveWithUndo).not.toHaveBeenCalled();
+});
++
+ it("leads to adding an application when there is none, and opens Add offer in place of the empty state", async () => {
+ api.data.applications = [];
+ const view = mount(<OffersPage a={undefined} b={undefined} />);
+ await screen.findByText("No offers to compare yet");
+ expect(await screen.findByText("Add an application first")).toBeDefined();
+ expect(screen.queryByRole("button", { name: "Add offer" })).toBeNull();
+ view.unmount();
+
+ api.data.applications = [{ id: "job-a", company: "Acme", role: "Engineer" }];
+ mount(<OffersPage a={undefined} b={undefined} />);
+ fireEvent.click(await screen.findByRole("button", { name: "Add offer" }));
+ expect(screen.queryByText("No offers to compare yet")).toBeNull();
+ expect(screen.getByRole("button", { name: "Save offer" })).toBeDefined();
+ });
+
+ it("starts in the last offer's currency, keeps the rarer terms under More options and the timezone with the time", async () => {
+ api.data.savedItems = [
+ { id: "old", createdAt: new Date("2026-09-01"), data: { kind: "offer", currency: "USD" } },
+ { id: "new", createdAt: new Date("2026-10-01"), data: { kind: "offer", currency: "GBP" } },
+ ];
+ api.createOffer.mockResolvedValue(null);
+ mount(<OfferEntry application={{ id: "job-a", company: "Acme", role: "Engineer" }} />);
+ fireEvent.click(screen.getByRole("button", { name: "Add offer" }));
+
+ const currency = screen.getByLabelText("Currency") as HTMLInputElement;
+ await waitFor(() => expect(currency.value).toBe("GBP"));
+ await act(async () => {
+ clients
+ .at(-1)
+ ?.setQueryData(
+ ["savedItems"],
+ [{ id: "later", createdAt: new Date("2026-11-01"), data: { kind: "offer", currency: "EUR" } }],
+ );
+ await new Promise((resolve) => setTimeout(resolve, 0));
+ });
+ expect(currency.value).toBe("GBP");
+ expect(currency.getAttribute("placeholder")).toBeNull();
+ expect(currency.getAttribute("aria-describedby")).toBeTruthy();
+ expect(screen.getByRole("button", { name: "More options" }).getAttribute("aria-expanded")).toBe("false");
+ expect(screen.queryByText("Times are shown in Europe/Berlin.")).toBeNull();
+ fireEvent.change(screen.getByLabelText("Respond by"), { target: { value: "2026-11-02" } });
+ expect(screen.getByText("Times are shown in Europe/Berlin.")).toBeDefined();
+
+ fireEvent.click(screen.getByRole("button", { name: "Save offer" }));
+ await waitFor(() => expect(api.createOffer).toHaveBeenCalled());
+ expect(api.createOffer.mock.calls.at(-1)?.[0]).toMatchObject({
+ currency: "GBP",
+ respondBy: "2026-11-02T16:00:00.000Z",
+ });
+
+ fireEvent.click(screen.getByRole("button", { name: "Add offer" }));
+ fireEvent.change(screen.getByLabelText("Currency"), { target: { value: "" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save offer" }));
+ expect((screen.getByLabelText("Currency") as HTMLInputElement).value).toBe("");
+ expect(screen.getByLabelText("Currency").getAttribute("aria-invalid")).toBe("true");
+ });
+
+ it("waits for application metadata and retries a failed read before offering an empty-account action", async () => {
+ let release: (() => void) | undefined;
+ api.read.mockImplementationOnce(() => new Promise<void>((resolve) => (release = resolve)));
+ api.data.applications = [];
+ const view = mount(<OfferEntry />);
+ expect(screen.queryByRole("button", { name: "Add offer" })).toBeNull();
+ expect(screen.queryByText("Add an application first")).toBeNull();
+ await act(async () => release?.());
+ expect(await screen.findByText("Add an application first")).toBeDefined();
+ view.unmount();
+
+ api.fail.add("applications");
+ mount(<OfferEntry />);
+ expect(await screen.findByRole("alert")).toHaveTextContent("Couldn't load this.");
+ expect(screen.queryByText("Add an application first")).toBeNull();
+ expect(screen.queryByRole("button", { name: "Add offer" })).toBeNull();
+ api.fail.delete("applications");
+ api.data.applications = [{ id: "job-a", company: "Acme", role: "Engineer" }];
+ fireEvent.click(screen.getByRole("button", { name: "Try again" }));
+ expect(await screen.findByRole("button", { name: "Add offer" })).toBeDefined();
+ });
+
+ it.each(["pending", "error"])("keeps saved offers visible while application metadata is %s", async (mode) => {
+ let release: (() => void) | undefined;
+ api.read.mockImplementation((name) =>
+ name === "applications" && mode === "pending"
+ ? new Promise<void>((resolve) => {
+ release = resolve;
+ })
+ : undefined,
+ );
+ if (mode === "error") api.fail.add("applications");
+ api.data.savedItems = [
+ {
+ id: "retained",
+ applicationId: "saved-job",
+ application: { company: "Retained Co", role: "Engineer", status: "offer" },
+ createdAt: new Date("2026-10-08"),
+ data: {
+ kind: "offer",
+ version: "written",
+ currency: "EUR",
+ period: "year",
+ base: 100000,
+ variable: null,
+ variableConditions: "",
+ equity: "",
+ location: "Berlin",
+ officeDays: 2,
+ leave: "30 days",
+ learning: null,
+ other: "",
+ respondBy: null,
+ },
+ },
+ ];
+ mount(<OffersPage a="retained" b={undefined} />);
+ await screen.findAllByText("Retained Co");
+ expect(screen.getByRole("button", { name: "Swap" })).toBeDefined();
+ expect(screen.queryByText("No offers to compare yet")).toBeNull();
+ if (mode === "error") await screen.findByRole("alert");
+ api.data.applications = [{ id: "new-job", company: "New Terms Co", role: "Engineer", status: "offer" }];
+ api.read.mockImplementation(() => undefined);
+ api.fail.delete("applications");
+ if (mode === "error") fireEvent.click(screen.getByRole("button", { name: "Try again" }));
+ else await act(async () => release?.());
+ await screen.findByText("New Terms Co");
+ expect(screen.getAllByText("Retained Co").length).toBeGreaterThan(0);
+ expect(api.read.mock.calls.filter(([name]) => name === "savedItems")).toHaveLength(1);
+ });
+
+ it("keeps an open global offer draft mounted when application metadata refresh fails", async () => {
+ api.data.applications = [{ id: "job-a", company: "Acme", role: "Engineer", status: "saved" }];
+ mount(<OffersPage a={undefined} b={undefined} />);
+ fireEvent.click(await screen.findByRole("button", { name: "Add offer" }));
+ fireEvent.change(screen.getByLabelText("Base salary"), { target: { value: "123456" } });
+ api.fail.add("applications");
+ await act(async () => clients.at(-1)?.invalidateQueries({ queryKey: ["applications"] }));
+ await screen.findAllByRole("alert");
+ expect(screen.getByLabelText("Base salary")).toHaveValue("123456");
+ expect(screen.queryByText("No offers to compare yet")).toBeNull();
+ expect(api.createOffer).not.toHaveBeenCalled();
+ api.fail.delete("applications");
+ fireEvent.click(screen.getAllByRole("button", { name: "Try again" })[0] as HTMLElement);
+ await waitFor(() => expect(screen.queryAllByRole("alert")).toHaveLength(0));
+ expect(screen.getByLabelText("Base salary")).toHaveValue("123456");
+ });
diff --cc apps/web/src/features/career/offer-entry.tsx
index 39ed42296,7ffd0b882..5e10c017b
--- a/apps/web/src/features/career/offer-entry.tsx
+++ b/apps/web/src/features/career/offer-entry.tsx
@@@ -1,7 -1,5 +1,8 @@@
+import type { SavedData, SavedItem } from "./hooks";
+import type { ApplicationSummary } from "@/features/applications/types";
+import type { ApplicationStatus } from "@reactive-resume/schema/applications/data";
import type { OfferTerms } from "@reactive-resume/schema/career";
+ import type { ReactNode } from "react";
import { t } from "@lingui/core/macro";
import { Trans } from "@lingui/react/macro";
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
@@@ -13,130 -11,63 +14,174 @@@ import { Button, buttonVariants } from
import { Icon } from "@reactive-resume/ui/components/icon";
import { Input } from "@reactive-resume/ui/components/input";
import { NativeSelect } from "@reactive-resume/ui/components/native-select";
+ import { Skeleton } from "@reactive-resume/ui/components/skeleton";
import { toast } from "@reactive-resume/ui/components/toast";
+ import { cn } from "@reactive-resume/utils/style";
import { CareerLoadError } from "./load-state";
+import { formatMoney } from "./offer-compare";
import { useCareerTime } from "./shared";
-import { applicationsListQueryOptions } from "@/features/applications/queries";
+import { getCategoryLane } from "@/features/applications/lanes";
+import {
+ applicationsListQueryKey,
+ applicationsListQueryOptions,
+ savedOffersQueryOptions,
+} from "@/features/applications/queries";
+import { useMoveWithUndo } from "@/features/applications/use-application-actions";
+import { useApplicationLanes } from "@/features/applications/use-application-lanes";
+ import { MoreOptions } from "@/features/resume/editor/write/fields";
import { orpc } from "@/libs/orpc/client";
- type Application = { id: string; company: string; role: string; status?: ApplicationStatus | undefined };
-type Application = { id: string; company: string; role: string; status?: string; closedReason?: string | null };
++type Application = {
++ id: string;
++ company: string;
++ role: string;
++ status?: ApplicationStatus | undefined;
++ closedReason?: string | null;
++};
type OfferEntryProps = {
- application?: Application;
++ frame?: ((action: ReactNode) => ReactNode) | undefined;
+ application?: Application | undefined;
primary?: boolean;
- /** Where the closed entry's action sits, e.g. an empty state. The open form takes the frame's place. */
- frame?: (action: ReactNode) => ReactNode;
+ /** Open the form at once ("Add the offer's terms" from a move to Offer). */
+ initialOpen?: boolean | undefined;
+ /** Called when the form closes, saved or not. */
+ onDone?: (() => void) | undefined;
};
+type Offer = SavedItem & { data: SavedData<"offer"> };
+/** A saved offer as the summary needs it: what createOffer returns, or a row from the saved offers list. */
+type OfferLike = Pick<Offer, "id" | "data"> & { application?: { company: string } | null | undefined };
+
+/** Stages before Offer: saving an offer for an application still at one of these moves it to Offer, with Undo. */
+const BEFORE_OFFER: readonly ApplicationStatus[] = ["saved", "applied", "screening", "interview"];
-/** "Add offer", which opens the form in its place. */
-export function OfferEntry({ application, primary = false, frame = (action) => action }: OfferEntryProps) {
- const [open, setOpen] = useState(false);
- if (open) return <OfferForm {...(application ? { application } : {})} onClose={() => setOpen(false)} />;
+/**
+ * Add offer, and the offer saved last for this application in view as a one-line summary, so saving doesn't make the
+ * terms disappear into Saved.
+ */
- export function OfferEntry({ application, primary = false, initialOpen = false, onDone }: OfferEntryProps) {
++export function OfferEntry(props: OfferEntryProps) {
++ return <ScopedOfferEntry key={props.application?.id ?? "global"} {...props} />;
++}
++function ScopedOfferEntry({
++ application,
++ primary = false,
++ initialOpen = false,
++ onDone,
++ frame = (action) => action,
++}: OfferEntryProps) {
+ const [open, setOpen] = useState(initialOpen);
+ const [requested, setRequested] = useState(initialOpen);
+ if (initialOpen !== requested) {
+ setRequested(initialOpen);
+ if (initialOpen) setOpen(true);
+ }
+ const [justSaved, setJustSaved] = useState<OfferLike | null>(null);
+ const offers = useQuery({ ...savedOffersQueryOptions(), enabled: Boolean(application) });
+ const latest: OfferLike | undefined =
+ justSaved ??
+ (application
+ ? (offers.data ?? [])
+ .filter((item): item is Offer => item.data.kind === "offer" && item.applicationId === application.id)
+ .toSorted((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime())[0]
+ : undefined);
+ const close = () => {
+ setOpen(false);
+ onDone?.();
+ };
- return (
++ if (open)
++ return (
++ <OfferForm
++ application={application}
++ onClose={close}
++ onSaved={(offer) => {
++ if (offer) setJustSaved(offer);
++ close();
++ }}
++ />
++ );
+ const variant = primary ? "primary" : "secondary";
+ const add = (
- <Button variant={variant} onClick={() => setOpen(true)}>
- <Trans>Add offer</Trans>
++ <Button variant={variant} className="w-fit" onClick={() => setOpen(true)}>
++ {latest && application ? <Trans>Add a newer offer</Trans> : <Trans>Add offer</Trans>}
+ </Button>
+ );
- return frame(application ? add : <FirstApplication variant={variant}>{add}</FirstApplication>);
++ const action = application ? add : <FirstApplication variant={variant}>{add}</FirstApplication>;
++ return latest ? (
+ <div className="grid gap-3">
- {latest && !open && <OfferSummary offer={latest} />}
- {open ? (
- <OfferForm
- {...(application ? { application } : {})}
- onClose={close}
- onSaved={(offer) => {
- if (offer) setJustSaved(offer);
- close();
- }}
- />
- ) : (
- <Button variant={primary ? "primary" : "secondary"} className="w-fit" onClick={() => setOpen(true)}>
- {latest && application ? <Trans>Add a newer offer</Trans> : <Trans>Add offer</Trans>}
- </Button>
- )}
++ <OfferSummary offer={latest} />
++ {frame(action)}
+ </div>
++ ) : (
++ frame(action)
+ );
+}
+
+const periodLabel = (period: OfferTerms["period"]) =>
+ ({ year: t`a year`, month: t`a month`, hour: t`an hour` })[period];
+
+/** "Written offer · €182,000 a year · respond by Thu 12 Nov · Compare" */
+function OfferSummary({ offer }: { offer: OfferLike }) {
+ const { locale, day } = useCareerTime();
+ const { data } = offer;
+ const parts = [
+ data.version === "verbal" ? t`Verbal offer` : t`Written offer`,
+ data.base === null ? null : `${formatMoney(locale, data.currency, data.base)} ${periodLabel(data.period)}`,
+ data.respondBy ? t`respond by ${day(data.respondBy)}` : null,
+ ].filter(Boolean);
+
+ return (
+ <div
+ role="status"
+ className="flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg border border-line bg-surface px-3 py-2.5 text-sm"
+ >
+ <Icon name="scales" size={18} className="text-ink-2" />
+ <span className="min-w-0 flex-1">
+ {offer.application?.company ? <b className="font-semibold">{offer.application.company} · </b> : null}
+ {parts.join(" · ")}
+ </span>
+ <Link
+ to="/dashboard/career/offers"
+ search={{ a: offer.id }}
+ className="text-sm font-medium text-accent-text hover:underline"
+ >
+ <Trans>Compare</Trans>
+ </Link>
+ </div>
+ );
}
+ type FirstApplicationProps = { variant: "primary" | "secondary"; children: ReactNode };
+
+ /** An offer belongs to an application, so with none yet "Add offer" leads to adding one instead. */
+ function FirstApplication({ variant, children }: FirstApplicationProps) {
+ const applications = useQuery(applicationsListQueryOptions());
+ if (applications.isError && !applications.data?.length)
+ return <CareerLoadError onRetry={() => void applications.refetch()} />;
+ if (applications.isPending) return <Skeleton className="h-9 w-40" />;
+ if (applications.data?.length !== 0) return children;
+ return (
+ <Link to="/dashboard/applications" search={{ create: true }} className={buttonVariants({ variant })}>
+ <Trans>Add an application first</Trans>
+ </Link>
+ );
+ }
+
-type OfferFormProps = { application?: Application; onClose: () => void };
-function OfferForm({ application, onClose }: OfferFormProps) {
+type OfferFormProps = {
+ application?: Application | undefined;
+ onClose: () => void;
+ onSaved: (offer: OfferLike | null) => void;
+};
+function OfferForm({ application, onClose, onSaved }: OfferFormProps) {
const id = useId();
+ const navigate = useNavigate();
const { locale, timeZone } = useCareerTime();
const queryClient = useQueryClient();
+ const moveWithUndo = useMoveWithUndo();
+ const { lanes } = useApplicationLanes();
const applications = useQuery({ ...applicationsListQueryOptions(), enabled: !application });
const [applicationId, setApplicationId] = useState(application?.id ?? "");
- const [terms, setTerms] = useState(() => ({
+ const savedOffers = useQuery(orpc.career.savedItems.queryOptions({ input: { kind: "offer" } }));
+ const [draft, setTerms] = useState(() => ({
...offerTermsSchema.parse({ currency: "USD", period: "year", base: null, variable: null }),
currency: "",
}));
@@@ -160,28 -100,11 +214,29 @@@
const showDeadlineError = !!deadlineMessage && (submitted || touched.deadline);
const save = useMutation({
...orpc.career.createOffer.mutationOptions(),
- onSuccess: (result) => {
- if (!application && result) void navigate({ to: "/dashboard/career/offers", search: { a: result.id } });
+ onSuccess: (offer, input) => {
++ if (!application && offer) void navigate({ to: "/dashboard/career/offers", search: { a: offer.id } });
void queryClient.invalidateQueries({ queryKey: orpc.career.savedItems.key() });
- toast.add({ description: t`Offer saved` });
- onClose();
+ const row = (
+ applications.data ?? queryClient.getQueryData<ApplicationSummary[]>(applicationsListQueryKey())
+ )?.find((item) => item.id === input.applicationId);
+ const target = application ?? row;
+ const status = application?.status ?? row?.status;
+ if (target && status && BEFORE_OFFER.includes(status)) {
+ // An offer means the application is at Offer; Undo keeps the offer and leaves the stage where it was.
+ moveWithUndo({
+ applications: [{ id: input.applicationId }],
+ lane: getCategoryLane(lanes, "offer"),
+ description: t`Offer saved. ${target.company} moved to Offer.`,
+ });
+ } else {
+ toast.add({ description: t`Offer saved` });
+ }
+ onSaved(
+ offer?.data.kind === "offer"
+ ? { id: offer.id, data: offer.data, ...(target ? { application: { company: target.company } } : {}) }
+ : null,
+ );
},
});
const textFields = [
diff --cc apps/web/src/features/career/today.tsx
index 7bcc41a2d,fbb926461..298fc3034
--- a/apps/web/src/features/career/today.tsx
+++ b/apps/web/src/features/career/today.tsx
@@@ -26,6 -26,13 +26,14 @@@ import
interviewKindOf,
upcomingInterviews,
} from "@/features/applications/interviews";
+ import {
+ compareNextStepSortKeys,
+ describeNextStep,
+ getNextStep,
+ needsAttention,
+ nextStepSortKey,
+ } from "@/features/applications/next-step";
++import { offerHintFor, useOfferHints } from "@/features/applications/queries";
import { applicationsListQueryOptions } from "@/features/applications/queries";
import { toastError } from "@/libs/error-message";
import { client, orpc } from "@/libs/orpc/client";
@@@ -139,6 -146,6 +147,7 @@@ function NeedsYou({ now, onReview, clas
const { data, isError, refetch } = useQuery(orpc.career.notifications.queryOptions({ input: {} }));
const applicationQuery = useQuery(applicationsListQueryOptions());
const applications = applicationQuery.data;
++ const hints = useOfferHints();
const [showRead, setShowRead] = useState(false);
const [pending, setPending] = useState<string[]>([]);
const setReadAt = (id: string, readAt: Date | null) =>
@@@ -156,6 -163,13 +165,15 @@@
const unread = data?.filter(isUnread) ?? [];
const read = data?.filter((row) => !isUnread(row)) ?? [];
const rows = showRead ? (data ?? []) : unread;
+ // The same next-step rules as the Applications list: due follow-ups, no reply, interviews this week, offers.
+ const attention = (applications ?? [])
+ .flatMap((application) => {
- const step = getNextStep(application, now, timeZone);
- return needsAttention(step, now) ? [{ application, step, key: nextStepSortKey(application, now, timeZone) }] : [];
++ const step = getNextStep(application, now, timeZone, offerHintFor(hints, application.id));
++ return needsAttention(step, now)
++ ? [{ application, step, key: nextStepSortKey(application, now, timeZone, offerHintFor(hints, application.id)) }]
++ : [];
+ })
+ .sort((a, b) => compareNextStepSortKeys(a.key, b.key, a.application.id, b.application.id));
// Hidden at once; the server hears about it when the toast closes. The cache edit drops the sidebar count too,
// while `pending` keeps the row hidden through any refetch.
diff --cc apps/web/src/features/career/workspace/messages.tsx
index 3826f63f4,6c7469540..e359a2ee3
--- a/apps/web/src/features/career/workspace/messages.tsx
+++ b/apps/web/src/features/career/workspace/messages.tsx
@@@ -242,12 -237,7 +250,12 @@@ function ProposalCard({ reply, applicat
const contact = application.contacts[0]?.name.split(" ")[0];
const current =
application.followUpNote ||
- describeNextStep(getNextStep(application, now, timeZone), application, i18n.locale, timeZone).title;
+ describeNextStep(
- getNextStep(application, now, offerHintFor(hints, application.id)),
++ getNextStep(application, now, timeZone, offerHintFor(hints, application.id)),
+ application,
+ i18n.locale,
+ timeZone,
+ ).title;
const describe = (change: (typeof changes)[number]) => {
switch (change.type) {
diff --cc apps/web/src/features/career/workspace/shell.tsx
index 1f9bcdcaf,c0b5f412b..b5511d321
--- a/apps/web/src/features/career/workspace/shell.tsx
+++ b/apps/web/src/features/career/workspace/shell.tsx
@@@ -473,10 -482,9 +488,10 @@@ function ContextColumn({ application, i
...orpc.documents.list.queryOptions({ input: { trashed: true } }),
enabled: hasSentVersion,
});
- const step = getNextStep(application, now, timeZone);
+ const hints = useOfferHints(application.status === "offer");
- const step = getNextStep(application, now, offerHintFor(hints, application.id));
++ const step = getNextStep(application, now, timeZone, offerHintFor(hints, application.id));
const text = describeNextStep(step, application, i18n.locale, timeZone);
-- const upcoming = step.kind === "interview" ? step.interview : interview;
++ const upcoming = step.kind === "interview" ? step.interview : step.kind === "offer" ? undefined : interview;
const soon = upcoming ? minutesUntil(new Date(upcoming.at), now) <= 60 : false;
const available = [...(documents.data ?? []), ...(trashed.data ?? [])];
const resume = available.find((document) => document.type === "resume" && document.id === application.resumeId);
diff --cc apps/web/src/features/documents/copy-for-job.test.tsx
index d7844830b,000000000..e44e41064
mode 100644,000000..100644
--- a/apps/web/src/features/documents/copy-for-job.test.tsx
+++ b/apps/web/src/features/documents/copy-for-job.test.tsx
@@@ -1,150 -1,0 +1,151 @@@
+// @vitest-environment happy-dom
+import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
+import { afterEach, expect, it, vi } from "vite-plus/test";
+import { i18n } from "@lingui/core";
+import { I18nProvider } from "@lingui/react";
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import { Dialog } from "@reactive-resume/ui/components/dialog";
+
+const api = vi.hoisted(() => ({
+ documents: [] as unknown[],
+ applications: [] as unknown[],
+ create: vi.fn(),
+ copyForJob: vi.fn(),
+ navigate: vi.fn(),
+ endpoint: (key: string, data: () => unknown) => ({
+ key: () => [key],
+ queryKey: () => [key],
+ queryOptions: () => ({ queryKey: [key], queryFn: async () => data() }),
+ }),
+}));
+vi.mock("@/libs/orpc/client", () => ({
+ client: {},
+ orpc: {
+ documents: {
+ ...api.endpoint("documents", () => api.documents),
+ list: api.endpoint("documents", () => api.documents),
+ copyForJob: { mutationOptions: () => ({ mutationFn: api.copyForJob }) },
+ },
+ applications: {
+ listSummary: api.endpoint("applications", () => api.applications),
+ create: { mutationOptions: () => ({ mutationFn: api.create }) },
+ },
+ aiProviders: { list: api.endpoint("providers", () => []) },
+ resume: { create: { mutationOptions: () => ({ mutationFn: vi.fn() }) } },
+ coverLetters: { create: { mutationOptions: () => ({ mutationFn: vi.fn() }) } },
+ },
+}));
+vi.mock("@tanstack/react-router", () => ({ useNavigate: () => api.navigate }));
+vi.mock("@/features/settings/integrations/hooks/use-has-usable-ai-provider", () => ({
+ useHasUsableAiProvider: () => ({ hasUsableProvider: false, isUnavailable: false, usableProviders: [] }),
+}));
+vi.mock("@/features/settings/integrations/ai-provider-load-state", () => ({ AiProviderLoadState: () => null }));
+
+import { NewDocumentDialog } from "./new-document-dialog";
+
+afterEach(cleanup);
+
+const resume = (id: string, name: string, edited: string, application: { company: string } | null) => ({
+ id,
+ type: "resume",
+ name,
+ tags: [],
+ isLocked: false,
+ isPublic: false,
+ slug: null,
+ trashedAt: null,
+ createdAt: new Date("2026-10-01T00:00:00Z"),
+ updatedAt: new Date(edited),
++ editedAt: new Date(edited),
+ application: application ? { id: `job-${id}`, role: "Director", ...application } : null,
+});
+
+function mount() {
+ i18n.loadAndActivate({ locale: "en-US", messages: {} });
+ const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });
+ render(
+ <I18nProvider i18n={i18n}>
+ <QueryClientProvider client={client}>
+ <Dialog open>
+ <NewDocumentDialog data={{ step: "copy" }} />
+ </Dialog>
+ </QueryClientProvider>
+ </I18nProvider>,
+ );
+}
+
+it("starts a copy from the base resume, not the job copy edited last, and shows each source's job (J2-03)", async () => {
+ api.documents = [
+ resume("northwind", "Morgan Chen — Northwind Labs", "2026-10-30T12:00:00Z", { company: "Northwind Labs" }),
+ resume("master", "Morgan Chen — master", "2026-10-30T09:00:00Z", null),
+ ];
+ api.applications = [];
+ mount();
+
+ const base = await screen.findByRole("radio", { name: /Morgan Chen — master/ });
+ expect(base).toBeChecked();
+ expect(screen.getByRole("radio", { name: /Northwind Labs/ })).not.toBeChecked();
+ expect(screen.getByText("Copy for Northwind Labs")).toBeVisible();
+ expect(screen.getByText("Not linked to a job")).toBeVisible();
+});
+
+it("falls back to the most recent resume when every resume is a job copy", async () => {
+ api.documents = [
+ resume("older", "Copy — Older", "2026-10-01T00:00:00Z", { company: "Older" }),
+ resume("newer", "Copy — Newer", "2026-10-20T00:00:00Z", { company: "Newer" }),
+ ];
+ mount();
+ expect(await screen.findByRole("radio", { name: /Copy — Newer/ })).toBeChecked();
+});
+
+it("adds the job right here, then copies the base resume for it (J2-23)", async () => {
+ api.documents = [resume("master", "Morgan Chen — master", "2026-10-30T09:00:00Z", null)];
+ api.applications = [];
+ api.create.mockResolvedValue("job-new");
+ api.copyForJob.mockResolvedValue("copy-1");
+ mount();
+
+ fireEvent.click(await screen.findByRole("button", { name: "Add a job" }));
+ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Fieldnote" } });
+ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "VP of Engineering" } });
+ fireEvent.change(screen.getByLabelText("Job posting (optional)"), { target: { value: "Own delivery." } });
+ expect(screen.getByLabelText("Name")).toHaveValue("Morgan Chen — Fieldnote");
+ fireEvent.click(screen.getByRole("button", { name: "Save job, create and open" }));
+
+ await waitFor(() => expect(api.copyForJob).toHaveBeenCalled());
+ // The job is saved with its copy in one request: both land, or neither does.
+ expect(api.create).not.toHaveBeenCalled();
+ expect(api.copyForJob.mock.calls[0]?.[0]).toEqual({
+ resumeId: "master",
+ application: {
+ company: "Fieldnote",
+ role: "VP of Engineering",
+ jobDescription: "Own delivery.",
+ postingSource: { method: "paste", format: "text", truncated: false, completeness: "unknown" },
+ },
+ name: "Morgan Chen — Fieldnote",
+ newId: expect.stringMatching(/^[0-9a-f-]{36}$/),
+ });
+ expect(api.navigate).toHaveBeenCalledWith(
+ expect.objectContaining({ to: "/builder/$resumeId", params: { resumeId: "copy-1" } }),
+ );
+});
+
+it("retries a lost save with the same request, so the job and its copy are saved once", async () => {
+ api.documents = [resume("master", "Morgan Chen — master", "2026-10-30T09:00:00Z", null)];
+ api.create.mockReset();
+ // The first response is lost: the server saved both, the browser never heard.
+ api.copyForJob.mockReset().mockRejectedValueOnce(new Error("offline")).mockResolvedValue("copy-2");
+ mount();
+ fireEvent.click(await screen.findByRole("button", { name: "Add a job" }));
+ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Fieldnote" } });
+ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "VP" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save job, create and open" }));
+ await waitFor(() => expect(api.copyForJob).toHaveBeenCalledTimes(1));
+ await waitFor(() => expect(screen.getByRole("button", { name: "Save job, create and open" })).toBeEnabled());
+ fireEvent.click(screen.getByRole("button", { name: "Save job, create and open" }));
+ await waitFor(() => expect(api.copyForJob).toHaveBeenCalledTimes(2));
+ expect(api.create).not.toHaveBeenCalled();
+ const [first, retry] = api.copyForJob.mock.calls.map((call) => call[0]);
+ expect(retry).toEqual(first);
+});
diff --cc apps/web/src/features/documents/filter.ts
index 112ba5666,f2fc060d3..e4703bc41
--- a/apps/web/src/features/documents/filter.ts
+++ b/apps/web/src/features/documents/filter.ts
@@@ -9,14 -9,3 +9,16 @@@ export function daysLeftInTrash(trashed
const left = trashedAt.getTime() + 30 * 24 * 60 * 60 * 1000 - now;
return Math.max(0, Math.ceil(left / (24 * 60 * 60 * 1000)));
}
+
+/**
+ * Where a copy for a job starts by default: the most recently edited resume that isn't already a job's copy (the base
+ * every copy should come from), or the most recent one when every resume is a job copy.
+ */
- export function defaultCopySource<T extends Pick<DocumentSummary, "updatedAt" | "application">>(
- resumes: readonly T[],
- ): T | undefined {
- const recent = resumes.toSorted((a, b) => new Date(b.updatedAt).getTime() - new Date(a.updatedAt).getTime());
++export function defaultCopySource<
++ T extends Pick<DocumentSummary, "updatedAt" | "application"> & Partial<Pick<DocumentSummary, "editedAt">>,
++>(resumes: readonly T[]): T | undefined {
++ const recent = resumes.toSorted(
++ (a, b) => new Date(b.editedAt ?? b.updatedAt).getTime() - new Date(a.editedAt ?? a.updatedAt).getTime(),
++ );
+ return recent.find((resume) => !resume.application) ?? recent[0];
+}
diff --cc apps/web/src/features/documents/new-document-dialog.tsx
index 4ac9c04e8,6d3cbb41b..2475cd97c
--- a/apps/web/src/features/documents/new-document-dialog.tsx
+++ b/apps/web/src/features/documents/new-document-dialog.tsx
@@@ -599,82 -601,45 +603,84 @@@ type CopyForJobProps =
onCreated: (resumeId: string, forJob: boolean) => void;
};
+/** The posting cap Applications uses for a saved job's description. */
+const MAX_POSTING_CHARS = 20_000;
+
/**
- * Pick a resume and a job; the copy is named from both and linked to the application. Opened from a resume, that
- * resume is a summary row (Change shows the list); a job not saved yet can be added without leaving.
+ * Pick a resume and a job; the copy is named from both and linked to the application. The source starts on the base
+ * resume (not a copy made for another job), each source shows the job it was made for, and a job not saved yet can
+ * be added here.
*/
- function CopyForJob({ initialSourceId, initialJobId, onBack, onCreated }: CopyForJobProps) {
+ function CopyForJob({ initialSourceId, initialJobId, onBack, onCancel, onCreated }: CopyForJobProps) {
const { i18n } = useLingui();
const nameId = useId();
- const [changingSource, setChangingSource] = useState(!initialSourceId);
- const [addingJob, setAddingJob] = useState(false);
+ const queryClient = useQueryClient();
const { data: documents } = useQuery(orpc.documents.list.queryOptions({ input: { trashed: false } }));
- const { data: applications } = useQuery(applicationsListQueryOptions());
+ const applications = useQuery(applicationsListQueryOptions());
const resumes = (documents ?? []).filter((document) => document.type === "resume");
- const jobs = (applications ?? []).filter((application) => application.status !== "closed");
+ const jobs = (applications.data ?? []).filter((application) => application.status !== "closed");
const [sourceId, setSourceId] = useState(initialSourceId);
++ const [changingSource, setChangingSource] = useState(!initialSourceId);
const [jobId, setJobId] = useState<string | null>(initialJobId ?? null);
+ const [adding, setAdding] = useState(false);
+ const [newJob, setNewJob] = useState({ company: "", role: "", posting: "" });
const [name, setName] = useState<string | null>(null);
const { mutateAsync: copyForJob, isPending } = useMutation(orpc.documents.copyForJob.mutationOptions());
- const source = resumes.find((resume) => resume.id === sourceId) ?? resumes[0];
- const job = jobs.find((application) => application.id === jobId);
- const waitingForJob = !!jobId && !job && applications.isFetching;
+ const source = resumes.find((resume) => resume.id === sourceId) ?? defaultCopySource(resumes);
+ const job = adding ? null : jobs.find((application) => application.id === jobId);
++ const waitingForJob = !adding && Boolean(jobId) && !job && applications.isFetching;
+ const company = adding ? newJob.company.trim() : job?.company;
const base = (source?.name ?? "").split(" — ")[0] ?? "";
- const suggested = company ? `${base} — ${company}` : t`${base} (copy)`;
- const suggested = (job ? `${base} — ${job.company}` : t`${base} (copy)`).slice(0, 100);
++ const suggested = (company ? `${base} — ${company}` : t`${base} (copy)`).slice(0, 100);
const finalName = (name ?? suggested).trim();
+ const newJobReady = !adding || (newJob.company.trim().length > 0 && newJob.role.trim().length > 0);
const create = async () => {
- if (!source || !newJobReady) return;
- if (!source || waitingForJob) return;
++ if (!source || !newJobReady || waitingForJob) return;
+ const pasted = newJob.posting.trim();
+ const truncated = pasted.length > MAX_POSTING_CHARS;
const input = {
resumeId: source.id,
- ...(jobId ? { applicationId: jobId } : {}),
+ ...(adding
+ ? {
+ // The job and its copy are saved together, or neither is.
+ application: {
+ company: newJob.company.trim(),
+ role: newJob.role.trim(),
+ ...(pasted
+ ? {
+ jobDescription: pasted.slice(0, MAX_POSTING_CHARS),
+ postingSource: {
+ method: "paste" as const,
+ format: "text" as const,
+ truncated,
+ completeness: truncated ? ("incomplete" as const) : ("unknown" as const),
+ },
+ }
+ : {}),
+ },
+ }
- : job
- ? { applicationId: job.id }
++ : jobId
++ ? { applicationId: jobId }
+ : {}),
...(finalName ? { name: finalName } : {}),
};
- const linked = adding || Boolean(job);
- const message = job ? t`Created and linked to ${job.company}` : t`Created “${finalName}”`;
++ const linked = adding || Boolean(jobId);
+ const message = company ? t`Created and linked to ${company}` : t`Created “${finalName}”`;
+ // A retry of the same copy (a lost response, a second press) sends the same ID, so it's made once.
+ const key = `copy-for-job:${JSON.stringify(input)}`;
try {
- const resumeId = await copyForJob(input);
+ const resumeId = await copyForJob({ ...input, newId: pendingRequestId(key) });
+ settleRequestId(key);
+ if (adding) void queryClient.invalidateQueries({ queryKey: applicationsListQueryKey() });
toast.add({ description: message });
- onCreated(resumeId, Boolean(jobId));
+ onCreated(resumeId, linked);
} catch (error) {
- toastError(error, t`Couldn't copy the resume. Try again.`);
+ toastError(
+ error,
+ adding ? t`Couldn't save the job and its copy. Try again.` : t`Couldn't copy the resume. Try again.`,
+ );
}
};
@@@ -697,47 -662,46 +703,60 @@@
</Trans>
</p>
)}
- <div className="grid max-h-56 gap-1 overflow-y-auto">
- {resumes.map((resume) => (
- <label
- key={resume.id}
- className={cn(
- "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-2.5 transition-colors duration-quick",
- resume.id === source?.id ? "border-accent bg-accent-soft" : "border-line hover:bg-hover",
- )}
- >
- <input
- type="radio"
- name="copy-source"
- className="sr-only"
- checked={resume.id === source?.id}
- onChange={() => {
- setSourceId(resume.id);
- setName(null);
- }}
- />
- <Icon name="file-text" className="text-ink-2" />
- <span className="grid min-w-0 flex-1 gap-0.5">
- <span className="truncate text-sm font-medium">{resume.name}</span>
- <span className="flex min-w-0 flex-wrap items-center gap-1.5 text-xs text-ink-3">
- {resume.application ? (
- <span className="inline-flex max-w-full items-center gap-1 truncate rounded-sm bg-sunken px-1.5 py-0.5 text-ink-2">
- <Icon name="briefcase" size={12} />
- <span className="truncate">
- <Trans>Copy for {resume.application.company}</Trans>
+ {!changingSource && source ? (
+ <div className="flex items-center gap-3 rounded-lg border border-accent bg-accent-soft px-3 py-2.5">
+ <Icon name="file-text" className="text-ink-2" />
+ <span className="grid min-w-0 flex-1">
+ <span className="truncate text-sm font-medium">{source.name}</span>
+ <span className="text-xs text-ink-3">{formatRelativeTime(source.editedAt, i18n.locale)}</span>
+ </span>
+ <Button variant="ghost" size="sm" onClick={() => setChangingSource(true)}>
+ <Trans>Change</Trans>
+ </Button>
+ </div>
+ ) : (
+ <div className="grid max-h-56 gap-1 overflow-y-auto">
+ {resumes.map((resume) => (
+ <label
+ key={resume.id}
+ className={cn(
+ "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-2.5 transition-colors duration-quick",
+ resume.id === source?.id ? "border-accent bg-accent-soft" : "border-line hover:bg-hover",
+ )}
+ >
+ <input
+ type="radio"
+ name="copy-source"
+ className="sr-only"
+ checked={resume.id === source?.id}
+ onChange={() => {
+ setSourceId(resume.id);
+ setName(null);
+ }}
+ />
+ <Icon name="file-text" className="text-ink-2" />
- <span className="grid min-w-0 flex-1">
++ <span className="grid min-w-0 flex-1 gap-0.5">
+ <span className="truncate text-sm font-medium">{resume.name}</span>
- <span className="text-xs text-ink-3">{formatRelativeTime(resume.editedAt, i18n.locale)}</span>
++ <span className="flex min-w-0 flex-wrap items-center gap-1.5 text-xs text-ink-3">
++ {resume.application ? (
++ <span className="inline-flex max-w-full items-center gap-1 truncate rounded-sm bg-sunken px-1.5 py-0.5 text-ink-2">
++ <Icon name="briefcase" size={12} />
++ <span className="truncate">
++ <Trans>Copy for {resume.application.company}</Trans>
++ </span>
++ </span>
++ ) : (
++ <span className="rounded-sm bg-sunken px-1.5 py-0.5 text-ink-2">
++ <Trans>Not linked to a job</Trans>
+ </span>
- </span>
- ) : (
- <span className="rounded-sm bg-sunken px-1.5 py-0.5 text-ink-2">
- <Trans>Not linked to a job</Trans>
- </span>
- )}
- <span>{formatRelativeTime(resume.updatedAt, i18n.locale)}</span>
++ )}
++ <span>{formatRelativeTime(resume.editedAt, i18n.locale)}</span>
++ </span>
</span>
- </span>
- </label>
- ))}
- </div>
+ </label>
+ ))}
+ </div>
+ )}
</fieldset>
<fieldset className="grid gap-1.5">
@@@ -746,98 -710,55 +765,102 @@@
</legend>
<div className="flex flex-wrap gap-1.5">
{[
- ...jobs.map((application) => ({ id: application.id, label: application.company })),
+ // Two roles at one company stay apart.
+ ...jobs.map((application) => ({
+ id: application.id,
+ label: application.role.trim() ? `${application.role} · ${application.company}` : application.company,
+ })),
{ id: null, label: t`No job yet` },
- ].map((option) => (
- <button
- key={option.id ?? "none"}
- type="button"
- aria-pressed={jobId === option.id}
- onClick={() => {
- setJobId(option.id);
- setName(null);
- }}
- className={cn(
- "flex h-8 items-center gap-1.5 rounded-sm border px-3 text-[13px] transition-[background-color,border-color,color,scale] duration-quick ease-enter active:scale-[0.97]",
- jobId === option.id
- ? "border-accent bg-accent-soft text-accent-text"
- : "border-line-2 text-ink-2 hover:bg-hover",
- )}
- >
- {option.id && <Icon name="briefcase" size={16} />}
- {option.label}
- </button>
- ))}
+ ].map((option) => {
+ const selected = !adding && jobId === option.id;
+ return (
+ <button
+ key={option.id ?? "none"}
+ type="button"
+ aria-pressed={selected}
+ onClick={() => {
+ setAdding(false);
+ setJobId(option.id);
+ setName(null);
+ }}
+ className={cn(
+ "flex h-8 items-center gap-1.5 rounded-sm border px-3 text-[13px] transition-[background-color,border-color,color,scale] duration-quick ease-enter active:scale-[0.97]",
+ selected
+ ? "border-accent bg-accent-soft text-accent-text"
+ : "border-line-2 text-ink-2 hover:bg-hover",
+ )}
+ >
+ {option.id && <Icon name="briefcase" size={16} />}
+ {option.label}
+ </button>
+ );
+ })}
<button
type="button"
- onClick={() => setAddingJob(true)}
- className="flex h-8 items-center gap-1.5 rounded-sm border border-dashed border-line-2 px-3 text-[13px] text-ink-2 transition-[background-color,scale] duration-quick ease-enter hover:bg-hover active:scale-[0.97]"
+ aria-pressed={adding}
+ onClick={() => {
+ setAdding(true);
+ setName(null);
+ }}
+ className={cn(
+ "flex h-8 items-center gap-1.5 rounded-sm border border-dashed px-3 text-[13px] transition-[background-color,border-color,color,scale] duration-quick ease-enter active:scale-[0.97]",
+ adding ? "border-accent bg-accent-soft text-accent-text" : "border-line-2 text-ink-2 hover:bg-hover",
+ )}
>
<Icon name="plus" size={16} />
- <Trans>Add a job…</Trans>
+ <Trans>Add a job</Trans>
</button>
</div>
- <AddApplicationDialog
- forPicker
- open={addingJob}
- onOpenChange={setAddingJob}
- onAdded={(applicationId) => {
- setJobId(applicationId);
- setName(null);
- void applications.refetch();
- }}
- />
- {job && (
- <span className="text-xs text-ink-3">
- <Trans>The copy is linked to the application, so Check and the assistant use its posting.</Trans>
- </span>
+ {adding ? (
+ <div className={cn(ENTER_CLASS, "grid gap-2 rounded-lg border border-line p-3")}>
+ <div className="grid gap-2 sm:grid-cols-2">
+ <div className="grid gap-1">
+ <label htmlFor={`${nameId}-company`} className="text-xs font-medium text-ink-2">
+ <Trans>Company</Trans>
+ </label>
+ <Input
+ id={`${nameId}-company`}
+ value={newJob.company}
+ maxLength={200}
+ required
+ onChange={(event) => setNewJob((current) => ({ ...current, company: event.target.value }))}
+ />
+ </div>
+ <div className="grid gap-1">
+ <label htmlFor={`${nameId}-role`} className="text-xs font-medium text-ink-2">
+ <Trans>Role</Trans>
+ </label>
+ <Input
+ id={`${nameId}-role`}
+ value={newJob.role}
+ maxLength={200}
+ required
+ onChange={(event) => setNewJob((current) => ({ ...current, role: event.target.value }))}
+ />
+ </div>
+ </div>
+ <div className="grid gap-1">
+ <label htmlFor={`${nameId}-posting`} className="text-xs font-medium text-ink-2">
+ <Trans>Job posting (optional)</Trans>
+ </label>
+ <Textarea
+ id={`${nameId}-posting`}
+ rows={3}
+ maxLength={100_000}
+ value={newJob.posting}
+ onChange={(event) => setNewJob((current) => ({ ...current, posting: event.target.value }))}
+ />
+ </div>
+ <span className="text-xs text-ink-3">
+ <Trans>Saved to Applications as a saved job, then linked to the copy. No AI request is made.</Trans>
+ </span>
+ </div>
+ ) : (
+ job && (
+ <span className="text-xs text-ink-3">
+ <Trans>The copy is linked to the application, so Check and the assistant use its posting.</Trans>
+ </span>
+ )
)}
</fieldset>
@@@ -857,11 -778,17 +880,20 @@@
</div>
<div className="flex flex-wrap justify-end gap-2">
- <Button variant="ghost" onClick={onBack}>
- {documents && resumes.length === 0 ? <Trans>Import or create a resume</Trans> : <Trans>Back</Trans>}
- {documents && resumes.length === 0 ? (
- <Button variant="ghost" onClick={onBack}>
++ <Button variant="ghost" onClick={documents && resumes.length === 0 ? onBack : (onCancel ?? onBack)}>
++ {documents && resumes.length === 0 ? (
+ <Trans>Import or create a resume</Trans>
- </Button>
- ) : (
- <Button variant="ghost" onClick={onCancel ?? onBack}>
- {onCancel ? <Trans>Cancel</Trans> : <Trans>Back</Trans>}
- </Button>
- )}
- <Button disabled={!source || !finalName || isPending || waitingForJob} onClick={() => void create()}>
- <Trans>Create and open</Trans>
++ ) : onCancel ? (
++ <Trans>Cancel</Trans>
++ ) : (
++ <Trans>Back</Trans>
++ )}
+ </Button>
- <Button disabled={!source || !finalName || !newJobReady || isPending} onClick={() => void create()}>
++ <Button
++ disabled={!source || !finalName || finalName.length > 100 || !newJobReady || waitingForJob || isPending}
++ onClick={() => void create()}
++ >
+ {adding ? <Trans>Save job, create and open</Trans> : <Trans>Create and open</Trans>}
</Button>
</div>
</>
diff --cc apps/web/src/features/resume/editor/check/job-match-copy.test.tsx
index 687159583,000000000..98c4ebd3f
mode 100644,000000..100644
--- a/apps/web/src/features/resume/editor/check/job-match-copy.test.tsx
+++ b/apps/web/src/features/resume/editor/check/job-match-copy.test.tsx
@@@ -1,176 -1,0 +1,216 @@@
+// @vitest-environment happy-dom
+import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
+import { afterEach, expect, it, vi } from "vite-plus/test";
+import { i18n } from "@lingui/core";
+import { I18nProvider } from "@lingui/react";
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import { defaultResumeData } from "@reactive-resume/schema/resume/default";
+
+const api = vi.hoisted(() => ({
+ applications: [] as { id: string; company: string; role: string; status: string }[],
+ create: vi.fn(),
+ copyForJob: vi.fn(),
+ link: vi.fn(),
+ navigate: vi.fn(),
+ save: vi.fn(),
+}));
+vi.mock("@/libs/orpc/client", () => ({
+ orpc: {
+ applications: {
+ getById: {
+ queryKey: () => ["application"],
+ queryOptions: () => ({ queryKey: ["application"], queryFn: async () => null }),
+ },
+ listSummary: {
+ queryKey: () => ["applications"],
+ queryOptions: () => ({ queryKey: ["applications"], queryFn: async () => api.applications }),
+ },
+ create: { mutationOptions: () => ({ mutationFn: api.create }) },
+ update: { mutationOptions: () => ({ mutationFn: vi.fn() }) },
+ },
+ documents: {
+ key: () => ["documents"],
+ linkApplication: { mutationOptions: () => ({ mutationFn: api.link }) },
+ copyForJob: { mutationOptions: () => ({ mutationFn: api.copyForJob }) },
+ },
+ },
+}));
+vi.mock("@tanstack/react-router", () => ({ useNavigate: () => api.navigate }));
+vi.mock("@/features/resume/builder/draft", () => ({
+ useCurrentBuilderResumeSelector: (select: (resume: { id: string; applicationId: null }) => unknown) =>
+ select({ id: "base-resume", applicationId: null }),
+ useIsResumeLocked: () => false,
+ usePatchResume: () => vi.fn(),
+ savePendingChanges: api.save,
+}));
+vi.mock("@/features/assistant/open", () => ({ openAssistantFrom: vi.fn() }));
+vi.mock("./actions", () => ({ checkStateOf: vi.fn(), editWithUndo: vi.fn() }));
+vi.mock("@reactive-resume/resume/ats-pdf", () => ({
+ matchJobDescription: () => ({ terms: [] }),
+ surfaceFormsOf: () => [],
+}));
+
+import { useEditorStore } from "../store";
+import { JobMatchTab, useJobMatch } from "./job-match";
+
+afterEach(cleanup);
+
+function Match() {
+ return <JobMatchTab match={useJobMatch(defaultResumeData)} data={defaultResumeData} />;
+}
+
+function mount() {
+ i18n.loadAndActivate({ locale: "en", messages: {} });
+ const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });
+ render(
+ <QueryClientProvider client={client}>
+ <I18nProvider i18n={i18n}>
+ <Match />
+ </I18nProvider>
+ </QueryClientProvider>,
+ );
+}
+
+it("saves a pasted posting as a job and tailors a copy, leaving the base resume unlinked (J2-05)", async () => {
+ useEditorStore.setState({ pastedPosting: "VP of Engineering at Fieldnote. Own delivery." });
+ api.save.mockResolvedValue(true);
+ api.create.mockResolvedValue("job-fieldnote");
+ api.copyForJob.mockResolvedValue("copy-fieldnote");
+ mount();
+
+ fireEvent.click(await screen.findByRole("button", { name: "Save as a job…" }));
+ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Fieldnote" } });
+ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "VP of Engineering" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save job and make a copy" }));
+
+ await waitFor(() => expect(api.navigate).toHaveBeenCalled());
+ expect(api.save).toHaveBeenCalledWith("base-resume");
+ // The job is saved with its copy, in one request; the base resume is never linked.
+ expect(api.create).not.toHaveBeenCalled();
+ expect(api.copyForJob.mock.calls[0]?.[0]).toEqual({
+ resumeId: "base-resume",
+ application: {
+ company: "Fieldnote",
+ role: "VP of Engineering",
+ jobDescription: "VP of Engineering at Fieldnote. Own delivery.",
+ postingSource: { method: "paste", format: "text", truncated: false, completeness: "unknown" },
+ },
+ newId: expect.stringMatching(/^[0-9a-f-]{36}$/),
+ });
+ expect(api.link).not.toHaveBeenCalled();
+ expect(api.navigate).toHaveBeenCalledWith({
+ to: "/builder/$resumeId",
+ params: { resumeId: "copy-fieldnote" },
+ search: { mode: "check" },
+ });
+ expect(useEditorStore.getState().checkTab).toBe("match");
+});
+
+it("still links the base resume itself when that's chosen", async () => {
+ useEditorStore.setState({ pastedPosting: "Head of Engineering at Parcel & Co." });
+ api.create.mockReset().mockResolvedValue("job-parcel");
+ api.copyForJob.mockReset();
+ api.link.mockReset().mockResolvedValue(undefined);
+ mount();
+
+ fireEvent.click(await screen.findByRole("button", { name: "Save as a job…" }));
+ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Parcel & Co." } });
+ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "Head of Engineering" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save and link this resume" }));
+
+ await waitFor(() => expect(api.link).toHaveBeenCalled());
+ expect(api.link.mock.calls[0]?.[0]).toEqual({ type: "resume", id: "base-resume", applicationId: "job-parcel" });
+ expect(api.copyForJob).not.toHaveBeenCalled();
+});
+
+it("picking a saved job for a base resume asks whether to copy or link, and copies by default", async () => {
+ useEditorStore.setState({ pastedPosting: "" });
+ api.applications = [{ id: "job-northwind", company: "Northwind Labs", role: "Director", status: "saved" }];
+ api.save.mockResolvedValue(true);
+ api.copyForJob.mockReset().mockResolvedValue("copy-northwind");
+ api.link.mockReset();
+ mount();
+
+ const picker = await screen.findByRole("combobox", { name: "Link an application" });
+ await waitFor(() => expect(screen.getByRole("option", { name: "Director · Northwind Labs" })).toBeTruthy());
+ fireEvent.change(picker, { target: { value: "job-northwind" } });
+ expect(api.link).not.toHaveBeenCalled();
+ fireEvent.click(screen.getByRole("button", { name: "Make a copy for this job" }));
+
+ await waitFor(() =>
+ expect(api.copyForJob.mock.calls[0]?.[0]).toEqual({
+ resumeId: "base-resume",
+ applicationId: "job-northwind",
+ newId: expect.stringMatching(/^[0-9a-f-]{36}$/),
+ }),
+ );
+ expect(api.link).not.toHaveBeenCalled();
+});
+
+it("retries a lost save after Check is opened again with the same request, so the job and copy are saved once", async () => {
+ useEditorStore.setState({ pastedPosting: "Staff Designer at Lumen. Figma and SQL." });
+ api.applications = [];
+ api.save.mockResolvedValue(true);
+ api.create.mockReset();
+ api.navigate.mockReset();
+ // The first response is lost: the server saved both, the browser never heard.
+ api.copyForJob.mockReset().mockRejectedValueOnce(new Error("Network error")).mockResolvedValueOnce("copy-lumen");
+ const fill = async () => {
+ fireEvent.click(await screen.findByRole("button", { name: "Save as a job…" }));
+ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Lumen" } });
+ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "Staff Designer" } });
+ fireEvent.click(screen.getByRole("button", { name: "Save job and make a copy" }));
+ };
+ mount();
+ await fill();
+ await waitFor(() => expect(api.copyForJob).toHaveBeenCalledTimes(1));
+
+ cleanup();
+ mount();
+ await fill();
+
+ await waitFor(() => expect(api.navigate).toHaveBeenCalled());
+ const [first, retry] = api.copyForJob.mock.calls.map((call) => call[0]);
+ expect(retry).toEqual(first);
+ expect(api.create).not.toHaveBeenCalled();
+});
++
++it("keeps saved-job choices visible when copying or linking fails", async () => {
++ useEditorStore.setState({ pastedPosting: "" });
++ api.applications = [{ id: "job-retry", company: "Retry Co", role: "Engineer", status: "saved" }];
++ api.save.mockResolvedValue(true);
++ api.copyForJob.mockReset().mockRejectedValue(new Error("Network error"));
++ api.link.mockReset().mockRejectedValueOnce(new Error("Network error")).mockResolvedValue(undefined);
++ mount();
++ const picker = await screen.findByRole("combobox", { name: "Link an application" });
++ await screen.findByRole("option", { name: "Engineer · Retry Co" });
++ fireEvent.change(picker, { target: { value: "job-retry" } });
++ fireEvent.click(screen.getByRole("button", { name: "Make a copy for this job" }));
++ await waitFor(() => expect(api.copyForJob).toHaveBeenCalledTimes(1));
++ expect(screen.getByRole("button", { name: "Make a copy for this job" })).toBeDefined();
++ fireEvent.click(screen.getByRole("button", { name: "Link this resume" }));
++ await waitFor(() => expect(api.link).toHaveBeenCalledTimes(1));
++ expect(screen.getByRole("button", { name: "Link this resume" })).toBeDefined();
++ fireEvent.click(screen.getByRole("button", { name: "Link this resume" }));
++ await waitFor(() => expect(api.link).toHaveBeenCalledTimes(2));
++ await waitFor(() => expect(screen.queryByRole("button", { name: "Link this resume" })).toBeNull());
++});
++
++it("reuses the created job ID when saving succeeds but linking fails", async () => {
++ useEditorStore.setState({ pastedPosting: "Build reliable systems." });
++ api.applications = [];
++ api.create.mockReset().mockResolvedValue("saved-job");
++ api.link.mockReset().mockRejectedValueOnce(new Error("Offline")).mockResolvedValue(undefined);
++ mount();
++ fireEvent.click(await screen.findByRole("button", { name: "Save as a job…" }));
++ fireEvent.change(screen.getByLabelText("Company"), { target: { value: "Retry Co" } });
++ fireEvent.change(screen.getByLabelText("Role"), { target: { value: "Engineer" } });
++ fireEvent.click(screen.getByRole("button", { name: "Save and link this resume" }));
++ await waitFor(() => expect(api.link).toHaveBeenCalledTimes(1));
++ expect(useEditorStore.getState().pastedPosting).toBe("Build reliable systems.");
++ await waitFor(() => expect(screen.getByRole("button", { name: "Save and link this resume" })).toBeEnabled());
++ fireEvent.click(screen.getByRole("button", { name: "Save and link this resume" }));
++ await waitFor(() => expect(api.link).toHaveBeenCalledTimes(2));
++ expect(api.create.mock.calls[0]?.[0].newId).toBe(api.create.mock.calls[1]?.[0].newId);
++ await waitFor(() => expect(useEditorStore.getState().pastedPosting).toBe(""));
++});
diff --cc apps/web/src/features/resume/editor/check/job-match.tsx
index b956fb760,d2207c5ae..2a03b6cfe
--- a/apps/web/src/features/resume/editor/check/job-match.tsx
+++ b/apps/web/src/features/resume/editor/check/job-match.tsx
@@@ -324,111 -305,14 +324,121 @@@ function useLinkApplication()
patchResume((resume) => {
resume.applicationId = applicationId;
});
++ return true;
} catch (error) {
toastError(error, t`Couldn't link the application. Try again.`);
++ return false;
}
};
return { link, isPending };
}
+type NewJob = NonNullable<RouterInput["documents"]["copyForJob"]["application"]>;
+
+/**
+ * Copies this resume for a job and opens the copy on Job match, leaving this one as it was. Tailoring then happens on
+ * the job's own copy, never on the base every later copy starts from. Unsaved edits are saved first, so the copy has
+ * what's on screen.
+ */
+function useMakeCopy() {
+ const resumeId = useCurrentBuilderResumeSelector((resume) => resume.id);
+ const navigate = useNavigate();
+ const queryClient = useQueryClient();
+ const markNew = useNewDocumentsStore((state) => state.markNew);
+ const { mutateAsync, isPending } = useMutation(orpc.documents.copyForJob.mutationOptions());
+
+ /** A copy for an existing job, or for a new one saved with it: both land together, or neither does. */
+ const makeCopy = async (job: { applicationId: string; company: string } | { application: NewJob }) => {
+ if (!(await savePendingChanges(resumeId))) {
+ toast.add({ type: "error", description: t`Save this resume's changes before copying it.` });
+ return false;
+ }
+ const input =
+ "application" in job
+ ? { resumeId, application: job.application }
+ : { resumeId, applicationId: job.applicationId };
+ const company = "application" in job ? job.application.company : job.company;
+ // A retry (a lost response, a second press, Check opened again) sends the same ID, so it's made once.
+ const key = `copy-for-job:${JSON.stringify(input)}`;
+ try {
+ const copyId = await mutateAsync({ ...input, newId: pendingRequestId(key) });
+ settleRequestId(key);
+ markNew(copyId);
+ void queryClient.invalidateQueries({ queryKey: orpc.documents.key() });
+ void queryClient.invalidateQueries({ queryKey: applicationsListQueryKey() });
+ useEditorStore.setState({ pastedPosting: "" });
+ toast.add({ description: t`Copy made for ${company}. This resume is unchanged.` });
+ // The editor resets when this resume's shell unmounts, so the copy's tab is chosen once it has opened.
+ await navigate({ to: "/builder/$resumeId", params: { resumeId: copyId }, search: { mode: "check" } });
+ useEditorStore.setState({ checkTab: "match" });
+ return true;
+ } catch (error) {
+ toastError(
+ error,
+ "application" in job
+ ? t`Couldn't save the job and its copy. Try again.`
+ : t`Couldn't copy the resume. Try again.`,
+ );
+ return false;
+ }
+ };
+
+ return { makeCopy, isPending };
+}
+
+type CopyOrLinkProps = {
+ application: { id: string; company: string; role: string };
+ onDone: () => void;
+};
+
+/**
+ * A job picked for a resume that isn't its copy: make a copy for it (the default, so this resume stays as it is), or
+ * link this resume itself.
+ */
+function CopyOrLink({ application, onDone }: CopyOrLinkProps) {
+ const { link, isPending: linking } = useLinkApplication();
+ const { makeCopy, isPending: copying } = useMakeCopy();
+ const locked = useIsResumeLocked();
+
+ return (
+ <div className={cn(ENTER_CLASS, "grid gap-2 rounded-lg border border-line p-3")}>
+ <p className="text-[13px] leading-[19px] text-ink-2">
+ <Trans>
+ Tailor a copy for {application.company} so this resume stays as it is for other jobs, or link this resume
+ itself.
+ </Trans>
+ </p>
+ <div className="flex flex-wrap gap-1.5">
+ <Button
+ size="sm"
+ disabled={copying || linking}
- onClick={() => void makeCopy({ applicationId: application.id, company: application.company }).then(onDone)}
++ onClick={() =>
++ void makeCopy({ applicationId: application.id, company: application.company }).then((saved) => {
++ if (saved) onDone();
++ })
++ }
+ >
+ <Icon name="copy" size={16} />
+ <Trans>Make a copy for this job</Trans>
+ </Button>
+ <Button
+ size="sm"
+ variant="ghost"
+ disabled={locked || copying || linking}
- onClick={() => void link(application.id).then(onDone)}
++ onClick={() =>
++ void link(application.id).then((saved) => {
++ if (saved) onDone();
++ })
++ }
+ >
+ <Trans>Link this resume</Trans>
+ </Button>
+ </div>
+ </div>
+ );
+}
+
/** Where the posting comes from, with Change (link another application or unlink) or Save as application. */
function PostingSource({ application }: { application: JobMatch["application"] }) {
const [changing, setChanging] = useState(false);
@@@ -653,34 -522,21 +663,34 @@@ function SaveAsApplication()
);
}
- const save = async () => {
+ const pasted = posting.trim();
+ const truncated = pasted.length > MAX_POSTING_CHARS;
+ const job: NewJob = {
+ company: company.trim(),
+ role: role.trim(),
+ jobDescription: pasted.slice(0, MAX_POSTING_CHARS),
+ postingSource: { method: "paste", format: "text", truncated, completeness: truncated ? "incomplete" : "unknown" },
+ };
+
+ const save = async (mode: "copy" | "link") => {
+ if (mode === "copy") {
+ await makeCopy({ application: job });
+ return;
+ }
+ // The job is saved with this resume linked; a retry sends the same ID, so it's saved once.
+ const key = `save-job:${resumeId}:${JSON.stringify(job)}`;
+ let id: string;
try {
- const id = await create({
- company: company.trim(),
- role: role.trim(),
- jobDescription: posting.trim().slice(0, MAX_POSTING_CHARS),
- resumeId,
- });
- await queryClient.invalidateQueries({ queryKey: applicationsListQueryKey() });
- await link(id);
- useEditorStore.setState({ pastedPosting: "" });
- toast.add({ description: t`Saved as an application and linked` });
+ id = await create({ ...job, resumeId, newId: pendingRequestId(key) });
- settleRequestId(key);
} catch (error) {
- toastError(error, t`Couldn't save the application. Try again.`);
+ toastError(error, t`Couldn't save the job. Try again.`);
+ return;
}
+ await queryClient.invalidateQueries({ queryKey: applicationsListQueryKey() });
- await link(id);
++ if (!(await link(id))) return;
++ settleRequestId(key);
+ useEditorStore.setState({ pastedPosting: "" });
+ toast.add({ description: t`Saved as a job and linked to this resume` });
};
return (
diff --cc apps/web/src/router.tsx
index c53fad7cf,be501eec6..62029acbc
--- a/apps/web/src/router.tsx
+++ b/apps/web/src/router.tsx
@@@ -3,7 -2,8 +3,9 @@@ import { followStageWrites } from "@rea
import { ErrorScreen } from "./components/layout/error-screen";
import { LoadingScreen } from "./components/layout/loading-screen";
import { NotFoundScreen } from "./components/layout/not-found-screen";
+import { listedApplication, STAGE_SCOPE } from "./features/applications/use-application-actions";
+ import { registerAccountReset } from "./libs/auth/account-scope";
+ import { clearAccountState, syncAccountDataAcrossTabs } from "./libs/auth/clear-account-data";
import { orpc } from "./libs/orpc/client";
import { getQueryClient } from "./libs/query/client";
import { loadRootContext } from "./libs/root-context";
@@@ -15,12 -15,9 +17,15 @@@ const supportsTransitionTypes = globalT
export const getRouter = async () => {
const queryClient = getQueryClient();
+ // A bulk move chosen while a single stage change is on its way starts from what that change saved.
+ followStageWrites(
+ queryClient,
+ () => STAGE_SCOPE,
+ (id) => listedApplication(queryClient, id),
+ );
+ // A root load that discovers another account drops this account's cached data before adopting the new identity.
+ registerAccountReset(() => clearAccountState(queryClient));
+ syncAccountDataAcrossTabs(queryClient);
const { theme, locale, session, flags } = await loadRootContext(queryClient);
diff --cc docs/guides/career-workspace-reference.mdx
index e494ddd6a,89437eae1..e361c2573
--- a/docs/guides/career-workspace-reference.mdx
+++ b/docs/guides/career-workspace-reference.mdx
@@@ -39,7 -43,7 +43,7 @@@ The native iPhone app opens the relevan
Generated fit checks, briefings, practice feedback, debriefs and message reviews are saved. Drafted or tightened form answers first need **Accept**; answers are copied into Library when recorded through **Apply → Mark as applied**.
- **Add offer** is available in **Career → Offers** and the current application's **Messages** tab on web and mobile. It saves structured terms linked to an application without an AI connection or provider request. Currency and pay period are explicit; blank amounts remain unknown, and zero is a known amount. Optional response deadlines use the account timezone. Saving an offer never sends a reply. For an application still before **Offer**, saving moves it to **Offer** with **Undo**; at **Offer** or later, the stage stays as it is. The newest saved offer for the application stays in view above **Add a newer offer**, and **Next step** reads **Reply to the offer** (with its deadline), **Decide on the offer** or **Add the offer's terms**.
-**Add offer** is available in **Career → Offers** and the current application's **Messages** tab on web and mobile. It saves structured terms linked to an application without an AI connection or provider request. Currency and pay period are explicit; the currency starts as the last saved offer's, and the less common terms sit under **More options**. Blank amounts remain unknown, and zero is a known amount. Without any application, the action reads **Add an application first**. Optional response deadlines use the account timezone. Saving an offer does not change the application stage or send a reply. Offer-stage applications without terms appear separately, each with **Add offer**. Loading or failed application metadata does not count as an empty list; use **Try again** on web or **Retry** in the native app after a failure. Saved offers remain available during this lookup.
++**Add offer** is available in **Career → Offers** and the current application's **Messages** tab on web and mobile. It saves structured terms linked to an application without an AI connection or provider request. Currency and pay period are explicit; the currency starts as the last saved offer's, and the less common terms sit under **More options**. Blank amounts remain unknown, and zero is a known amount. Without any application, the action reads **Add an application first**. Optional response deadlines use the account timezone. Saving an offer for an application before **Offer** moves it to **Offer** with **Undo**. Undo keeps the terms and restores the prior stage. Applications already at **Offer** or closed keep their stage. The newest terms stay in view above **Add a newer offer**. **Next step** leads with a reply deadline, a follow-up if set, or an offer decision. Saving sends no reply. Offer-stage applications without terms appear separately, each with **Add offer**. Loading or failed application metadata does not count as an empty list; use **Try again** on web or **Retry** in the native app after a failure. Saved offers remain available during this lookup.
**Library** lists items newest first and offers filters by type. Removing the last item in a selected type returns the list to All. **Open in…** opens an earlier version read-only in its tab; **Back to current** returns to current work. Offer items open in Career → Offers.
diff --cc docs/guides/checking-your-resume.mdx
index 4e88acd85,f6b5ceb16..bdf455053
--- a/docs/guides/checking-your-resume.mdx
+++ b/docs/guides/checking-your-resume.mdx
@@@ -20,7 -20,7 +20,7 @@@ Check updates as you edit. Switch to **
## Read the score
- The panel starts with a score from 0 to 100 and a short verdict: **Reads cleanly** (80 and above), **Mostly readable** (50 to 79) or **Hard for software to read** (below 50). While any entry **Looks like part of the entry above**, the verdict stays **Mostly readable**, whatever the score.
-The panel starts with a score from 0 to 100 and a short verdict: **Reads cleanly** (80 and above), **Mostly readable** (50 to 79) or **Hard for software to read** (below 50).
++The panel starts with a score from 0 to 100 and a short verdict: **Reads cleanly** (80 and above), **Mostly readable** (50 to 79) or **Hard for software to read** (below 50). While any entry **Looks like part of the entry above**, **Reads cleanly** is blocked: scores of 50 or more read **Mostly readable**, while scores below 50 still read **Hard for software to read**.
<Frame caption="Check shows issues beside the affected resume">
<img
diff --cc docs/guides/comparing-job-offers.mdx
index 84abd740a,9214d2ed6..ff1eb918d
--- a/docs/guides/comparing-job-offers.mdx
+++ b/docs/guides/comparing-job-offers.mdx
@@@ -5,11 -5,13 +5,14 @@@ description: "Compare saved offers agai
One offer pays more. Another is remote. Both mention options, but neither explains their value. **Career → Offers** puts the terms side by side so you can see what is known and what you still need to ask.
- ## Save each offer
+ Offer-stage applications appear first in **Add offer**; applications closed as **Not selected** are omitted. Accepted applications remain available, with **Accepted** shown in the picker and comparison. Closing an application as accepted records the outcome, not the offer terms: add those separately. Accepted offers have no questions to ask before deciding.
+
+ **Compare offers** in an application's workspace opens that application's newest terms on side A. The default comparison uses the newest version of each job. Pick older versions deliberately to review history. **Latest** marks the newest saved version; the version number distinguishes saves made in the same minute. Two versions of one application show **Changes since…** and signed money changes against the other version, without **Ask both**.
- Choose **Add offer** in **Career → Offers**, or in the relevant application's **Messages** tab. Select an application, enter the three-letter currency code and pay period, then add the terms you know. Base salary, bonus and learning budget can stay blank when unknown; enter `0` only when the amount is confirmed as zero. Optional fields include bonus conditions, equity, location, office days, leave, other benefits and a response deadline in your account timezone. Choose **Save offer**. Manual entry needs no AI connection and sends no terms to an AI provider. If the application was still at an earlier stage, saving moves it to **Offer** and the message offers **Undo**, which keeps the offer and leaves the stage where it was. In the application's **Messages** tab, the newest saved offer stays in view as a one-line summary, such as "Written offer · €182,000 a year · respond by Thu 12 Nov", with **Compare**.
+ ## Save each offer
-Choose **Add offer** in **Career → Offers**, or in the relevant application's **Messages** tab. An offer belongs to an application: with none yet, the button reads **Add an application first** and opens **Save a job**. Select an application, enter the three-letter currency code and pay period, then the base salary and response deadline if you know them. The currency starts as the one your last saved offer used, so offers compare; type over it for a different one. Base salary, bonus and learning budget can stay blank when unknown; enter `0` only when the amount is confirmed as zero. A deadline asks for a time too, in your account timezone. **More options** holds the offer type (written or verbal), bonus, bonus conditions, equity, learning budget, office days, location, leave and other benefits. Choose **Save offer**. Manual entry needs no AI connection and sends no terms to an AI provider.
+Moving an application to **Offer** shows **Add the offer's terms** in the confirmation, which opens this form in its **Messages** tab.
++Choose **Add offer** in **Career → Offers**, or in the relevant application's **Messages** tab. An offer belongs to an application: with none yet, the button reads **Add an application first** and opens **Save a job**. Select an application, enter the three-letter currency code and pay period, then the base salary and response deadline if you know them. The currency starts as the one your last saved offer used, so offers compare; type over it for a different one. Base salary, bonus and learning budget can stay blank when unknown; enter `0` only when the amount is confirmed as zero. A deadline asks for a time too, in your account timezone. **More options** holds the offer type (written or verbal), bonus, bonus conditions, equity, learning budget, office days, location, leave and other benefits. Choose **Save offer**. For applications before **Offer**, saving moves them to **Offer** with **Undo**, which keeps the offer and restores the prior stage. The newest terms stay visible in **Messages**, with **Compare**. Manual entry needs no AI connection and sends no terms to an AI provider.
Use full amounts such as `95000` rather than `95k`. Errors appear after leaving a field or choosing **Save offer**, and your entered terms stay available for correction. A response deadline must be a valid local time in your account timezone; times skipped by daylight saving cannot be saved. On mobile, wait for the account timezone to load, retry a failed load, or clear the optional deadline.
diff --cc docs/guides/managing-an-application.mdx
index 3fee42e14,6242b92f8..40745f5ad
--- a/docs/guides/managing-an-application.mdx
+++ b/docs/guides/managing-an-application.mdx
@@@ -48,11 -52,9 +52,11 @@@ Each move is added to the activity hist
1. The next interview that hasn't finished yet.
2. Otherwise, the follow-up you set.
- 3. Otherwise, for **Applied**, how long ago you applied, turning into "No reply in _n_ days" after 10 days; for later stages, how long you've been waiting to hear back.
+ 3. Otherwise, what the stage is waiting on. For **Applied**, how long ago you applied, turning into "No reply in _n_ days" after 10 days. For **Screening**, how long you've been waiting to hear back. For **Interview**, "Waiting for interview feedback" once every interview is behind you, or "No interview scheduled" before you've added one. For **Offer**, "Decide on the offer".
-A **Saved** application shows "Not applied yet", and a closed one shows its reason. Overdue follow-ups, long waits and offers to decide are highlighted in amber.
+At **Offer**, the offer leads instead: **Reply to the offer** by the deadline saved with its terms (amber once it has passed), **Decide on the offer** with **Compare offers** when terms are saved without a deadline, or **Add the offer's terms** when none are saved yet. When no deadline is saved, a follow-up you set comes first. Interviews booked before the offer stay in **Activity** and the calendar.
+
+A **Saved** application shows "Not applied yet", and a closed one shows its reason. Overdue follow-ups and long waits are highlighted in amber.
<Frame caption="Review next steps and sent documents in the detail sheet">
<img
diff --cc docs/guides/managing-documents.mdx
index 7844f853f,01321ab22..83a2a3247
--- a/docs/guides/managing-documents.mdx
+++ b/docs/guides/managing-documents.mdx
@@@ -116,16 -135,12 +135,16 @@@ Duplicating is useful when you want a s
## Copy a resume for a job
- **Copy for a job…** opens the **Copy a resume for a job** dialog with that resume selected under **Start from**. Pick an application under **For which job?** (or **No job yet**), check the suggested **Name**, and select **Create and open**.
-**Copy for a job…** opens the **Copy a resume for a job** dialog with that resume under **Start from**; select **Change** to pick another. Pick an application under **For which job?** (each shows its role and company), or **No job yet**. If the job isn't saved yet, select **Add a job…**, paste its link or posting, and save it: it's chosen for you. Check the suggested **Name**, and select **Create and open**. **Cancel** closes the dialog.
++**Copy for a job…** opens the **Copy a resume for a job** dialog with that resume under **Start from**; select **Change** to pick another. Pick an application under **For which job?** (each shows its role and company), or **No job yet**. Check the suggested **Name**, and select **Create and open**. For a new job, enter its details as described below. **Cancel** closes the dialog.
+
+When the dialog opens from **New** or a saved job, **Start from** picks your base resume: the most recently edited resume that isn't already a copy for a job. Each resume shows the job it was made for (**Copy for _company_**) or **Not linked to a job**, so a copy tailored for one job isn't used as the start for another by accident. When every resume is a job copy, the most recent one is picked.
+
+If the job isn't saved yet, select **Add a job**, enter its **Company** and **Role** (and the posting, if you have it), then **Save job, create and open**. The job is saved to Applications as a saved job together with the copy linked to it: if either can't be saved, neither is, and trying again doesn't save them twice. No AI request is made.
<Frame caption="Choose the resume and job for a tailored copy">
<img
-- src="/images/guides/managing-documents/copy-for-a-job.webp"
- alt="The Copy a resume for a job dialog with the chosen resume and a Change button under Start from, the saved job and Add a job, a Name field, Cancel and Create and open"
++ src="/images/guides/managing-documents/copy-for-a-job.png"
+ alt="The Copy a resume for a job dialog with Morgan Chen — base selected under Start from and marked Not linked to a job, a Northwind Labs copy marked Copy for Northwind Labs, Add a job chosen with Company Fieldnote, Role VP of Engineering and a pasted posting, the suggested name Morgan Chen — Fieldnote and Save job, create and open"
/>
</Frame>
diff --cc docs/images/guides/managing-documents/copy-for-a-job.png
index 000000000,000000000..126ee500f
new file mode 100644
Binary files differ
diff --cc docs/images/guides/managing-documents/copy-for-a-job.webp
index 5bb0e6252,3fba9e07e..000000000
deleted file mode 100644,100644
Binary files differ
diff --cc docs/spec.json
index 650d6f874,8f7fcc091..0f5ffecee
--- a/docs/spec.json
+++ b/docs/spec.json
@@@ -66352,11 -66001,6 +66664,11 @@@
"minLength": 1,
"maxLength": 100,
"description": "Defaults to “{source} — {company}”."
+ },
+ "newId": {
+ "type": "string",
+ "format": "uuid",
- "description": "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash is refused with CONFLICT and nothing changes."
++ "description": "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash, or whose new-job copy was unlinked or relinked to another job, is refused with CONFLICT and nothing changes."
}
},
"required": [
@@@ -114540,11 -114043,6 +114852,11 @@@
"minLength": 1,
"maxLength": 100,
"description": "Defaults to “{source} — {company}”."
+ },
+ "newId": {
+ "type": "string",
+ "format": "uuid",
- "description": "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash is refused with CONFLICT and nothing changes."
++ "description": "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash, or whose new-job copy was unlinked or relinked to another job, is refused with CONFLICT and nothing changes."
}
},
"required": [
diff --cc migrations/20261101043047_rx110_create_request/snapshot.json
index 89efb3864,000000000..ee7643296
mode 100644,000000..100644
--- a/migrations/20261101043047_rx110_create_request/snapshot.json
+++ b/migrations/20261101043047_rx110_create_request/snapshot.json
@@@ -1,11498 -1,0 +1,11537 @@@
+{
+ "version": "8",
+ "dialect": "postgres",
+ "id": "3d32d8f1-b7e2-46b0-bfde-9ea05eb2b07a",
+ "prevIds": [
- "c625e5f7-c927-46e4-a583-f7a049e8a938",
- "f4763d19-4c06-408d-aa90-056adaa8bc81"
++ "49d48212-055e-4545-b070-a37b845efb84",
++ "977e85a2-830a-47aa-8ede-e7b09cee6541"
+ ],
+ "ddl": [
+ {
+ "isRlsEnabled": false,
+ "name": "agent_actions",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "agent_attachments",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "agent_messages",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "agent_threads",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "ai_providers",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "application",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "application_lane",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "application_pipeline",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_answer",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_artifact",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_fact",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_job",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_notification",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_opportunity",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_profile",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_schedule",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_story",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_transcript",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "career_workspace",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "account",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "apikey",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "jwks",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_access_token",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_client",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_client_assertion",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_client_resource",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_consent",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_refresh_token",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "oauth_resource",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "passkey",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "released_username",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "session",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "two_factor",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "user",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "verification",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "cover_letter",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "cover_letter_version",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "custom_domain",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume_slug_redirect",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume_statistics",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume_statistics_daily",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume_version",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "resume_writing_review",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "storage_cleanup_job",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "web_access_credentials",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "ai_content_report",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "application_profile",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "isRlsEnabled": false,
+ "name": "create_request",
+ "entityType": "tables",
+ "schema": "public"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "thread_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "message_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "kind",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'applied'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "title",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "summary",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "operations",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "snapshot_data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "base_updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "applied_updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reverted_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "revert_message",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "thread_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "message_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "storage_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "filename",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "media_type",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "size",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "thread_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "role",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'completed'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "sequence",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ui_message",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "error",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ai_provider_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "working_resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "cover_letter_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'document'",
+ "generated": null,
+ "identity": null,
+ "name": "scope",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "title",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "edits_proposed",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "edits_accepted",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'active'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "review_patches",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "active_run_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "active_stream_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "active_run_started_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "last_message_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "archived_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "deleted_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "label",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "provider",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "model",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "base_url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "encrypted_api_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "api_key_salt",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "api_key_hash",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "api_key_preview",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'untested'",
+ "generated": null,
+ "identity": null,
+ "name": "test_status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "test_error",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "test_error_kind",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "user_disabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_tested_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_used_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "enabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_default",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "company",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "role",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "location",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "salary",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'saved'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "lane_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "closed_reason",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "cover_letter_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "sent_resume_version_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "smallint",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "sent_check_score",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "sent_cover_letter_version_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": "'{}'",
+ "generated": null,
+ "identity": null,
+ "name": "tags",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "job_description",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "posting_source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'[]'",
+ "generated": null,
+ "identity": null,
+ "name": "requirements",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "match_score",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ai_metadata",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "notes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_file_url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_file_name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "cover_letter_url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "cover_letter_name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "follow_up_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "follow_up_date_only",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "follow_up_note",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'[]'",
+ "generated": null,
+ "identity": null,
+ "name": "contacts",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'[]'",
+ "generated": null,
+ "identity": null,
+ "name": "activity",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "applied_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "category",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "label",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "color",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "position",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "system_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "closed_reason",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "retired_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_pipeline"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "revision",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_pipeline"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "question",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "answer",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scope",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "employer",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "fact_ids",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "story_ids",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "evidence",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reviewed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "1",
+ "generated": null,
+ "identity": null,
+ "name": "revision",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "duplicate_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "interview_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "title",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "evidence",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "job_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "input_version",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "text",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "category",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'active'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'[]'",
+ "generated": null,
+ "identity": null,
+ "name": "revisions",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "schedule_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "due_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'queued'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "attempts",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "lease",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "lease_until",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "error",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "notice",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "read_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "emailed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "email_attempted_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "url",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "role",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "company",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "location",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "snippet",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "discovery_source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "description",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "first_seen_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "last_seen_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "dismissed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "tracked_application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_profile"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_profile"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_profile"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "interview_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "kind",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "query",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "lead",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'en-US'",
+ "generated": null,
+ "identity": null,
+ "name": "locale",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'UTC'",
+ "generated": null,
+ "identity": null,
+ "name": "timezone",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "enabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "email",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "next_run_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_queued_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "interval_days",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ai_provider_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ai_provider_version",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "original",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "edited",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "model",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "account_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'credential'",
+ "generated": null,
+ "identity": null,
+ "name": "provider_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "issuer",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scope",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id_token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "password",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "access_token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refresh_token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "access_token_expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refresh_token_expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "start",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "prefix",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'default'",
+ "generated": null,
+ "identity": null,
+ "name": "config_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reference_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refill_interval",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refill_amount",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_refill_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "true",
+ "generated": null,
+ "identity": null,
+ "name": "enabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "rate_limit_enabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "86400000",
+ "generated": null,
+ "identity": null,
+ "name": "rate_limit_time_window",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "10",
+ "generated": null,
+ "identity": null,
+ "name": "rate_limit_max",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "request_count",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "remaining",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_request",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "permissions",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "metadata",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "public_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "private_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "alg",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "crv",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "jwks"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "authorization_code_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resources",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "requested_user_info_claims",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "revoked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "confirmation",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "session_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reference_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refresh_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_discovery_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": "'{}'",
+ "generated": null,
+ "identity": null,
+ "name": "client_credentials_scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "backchannel_logout_uri",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "backchannel_logout_session_required",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_type",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "jwks",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "jwks_uri",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "dpop_bound_access_tokens",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_secret",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "disabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "skip_consent",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "enable_end_session",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "subject_type",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "uri",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "icon",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "contacts",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "tos",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "policy",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "software_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "software_version",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "software_statement",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "redirect_uris",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "post_logout_redirect_uris",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "token_endpoint_auth_method",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "grant_types",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "response_types",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "public",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "type",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "require_pkce",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reference_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "metadata",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_assertion"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_assertion"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resource_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "metadata",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resources",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "requested_user_info_claims",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reference_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "authorization_code_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resources",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "requested_user_info_claims",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "rotated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "rotation_replay_response",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "rotation_replay_expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "confirmation",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "client_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "session_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reference_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "revoked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "auth_time",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "identifier",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "access_token_ttl",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "refresh_token_ttl",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "signing_algorithm",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "signing_key_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 1,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "allowed_scopes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "custom_claims",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "dpop_bound_access_tokens_required",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "disabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "1",
+ "generated": null,
+ "identity": null,
+ "name": "policy_version",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "metadata",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "oauth_resource"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "aaguid",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "public_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "credential_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "counter",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "device_type",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "backed_up",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "transports",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "username",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "released_username"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "released_username"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "released_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "released_username"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ip_address",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_agent",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "impersonated_by",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "secret",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "backup_codes",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "true",
+ "generated": null,
+ "identity": null,
+ "name": "verified",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "failed_verification_count",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "locked_until",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "image",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "email",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "email_verified",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "username",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "display_username",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "two_factor_enabled",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'UTC'",
+ "generated": null,
+ "identity": null,
+ "name": "timezone",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_active_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "'user'",
+ "generated": null,
+ "identity": null,
+ "name": "role",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "banned",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ban_reason",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "timestamp(6) with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "ban_expires",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_anonymous",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "identifier",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "value",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "recipient",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "content",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "greeting",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "sign_off",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "style",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'freeform'",
+ "generated": null,
+ "identity": null,
+ "name": "layout",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "recipient_name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "''",
+ "generated": null,
+ "identity": null,
+ "name": "recipient_company",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "letter_date",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "sender_linked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "design_linked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source_application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": "'{}'",
+ "generated": null,
+ "identity": null,
+ "name": "tags",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_locked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "trashed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "1",
+ "generated": null,
+ "identity": null,
+ "name": "revision",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter"
+ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "edited_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "cover_letter_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'auto'",
+ "generated": null,
+ "identity": null,
+ "name": "kind",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "session_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "hostname",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "verification_token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "verified_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_checked_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "failing_since",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "slug",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 1,
+ "default": "'{}'",
+ "generated": null,
+ "identity": null,
+ "name": "tags",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_public",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "true",
+ "generated": null,
+ "identity": null,
+ "name": "show_download_buttons",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "show_in_search_engines",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "hide_contact_details",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_primary",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "is_locked",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "password",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "application_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "trashed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "auto_name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "boolean",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "false",
+ "generated": null,
+ "identity": null,
+ "name": "auto_slug",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume"
+ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "edited_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "slug",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "expires_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "views",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "downloads",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_viewed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_downloaded_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "date",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "date",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "views",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "downloads",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'auto'",
+ "generated": null,
+ "identity": null,
+ "name": "kind",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "name",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "session_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "resume_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "1",
+ "generated": null,
+ "identity": null,
+ "name": "request_generation",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "input_text",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "passages",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "review",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "requested_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reviewed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "owner_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "storage_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "'pending'",
+ "generated": null,
+ "identity": null,
+ "name": "status",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "integer",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "0",
+ "generated": null,
+ "identity": null,
+ "name": "attempts",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "claim_token",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "next_attempt_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_error",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "updated_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "provider",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "encrypted_api_key",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "test_result",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "last_tested_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "source",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reason",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "content",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "note",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": false,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reviewed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_profile"
+ },
+ {
+ "type": "jsonb",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "data",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_profile"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "reviewed_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_profile"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "revision",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "application_profile"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "user_id",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "type": "text",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": null,
+ "generated": null,
+ "identity": null,
+ "name": "fingerprint",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "type": "timestamp with time zone",
+ "typeSchema": null,
+ "notNull": true,
+ "dimensions": 0,
+ "default": "now()",
+ "generated": null,
+ "identity": null,
+ "name": "created_at",
+ "entityType": "columns",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "thread_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_actions_thread_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_actions_resume_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "message_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_actions_message_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "thread_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_attachments_thread_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "message_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_attachments_message_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_attachments_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "thread_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "sequence",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_messages_thread_id_sequence_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_messages_user_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "status",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "last_message_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_threads_user_id_status_last_message_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "working_resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_threads_working_resume_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "cover_letter_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_threads_cover_letter_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "ai_provider_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "agent_threads_ai_provider_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "enabled",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "ai_providers_user_id_enabled_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "last_used_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "ai_providers_user_id_last_used_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "ai_providers_user_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": "\"is_default\"",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "ai_providers_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "application_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "updated_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "application_user_id_updated_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "lane_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "application_user_id_lane_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "application_lane_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "duplicate_key",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_answer_user_id_duplicate_key_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "application_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_artifact_user_id_application_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "job_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_artifact_job_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "application_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "status",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_fact_user_id_application_id_status_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "source_key",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_fact_user_id_source_key_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "schedule_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "due_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_job_schedule_id_due_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "status",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "lease_until",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_job_status_lease_until_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "key",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_notification_user_id_key_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_notification_user_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "url",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_opportunity_user_id_url_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "enabled",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "next_run_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_schedule_enabled_next_run_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "application_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_story_user_id_application_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "application_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "career_transcript_user_id_application_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "account_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "provider_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "account_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "account_provider_id_account_id_unique",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "reference_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "apikey_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "key",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "apikey_key_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "config_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "apikey_config_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "enabled",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "reference_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "apikey_enabled_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "token",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_access_token_token_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "client_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_client_client_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "client_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_client_resource_client_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "resource_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_client_resource_resource_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "client_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "resource_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_client_resource_client_id_resource_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "client_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_consent_user_id_client_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "token",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "oauth_refresh_token_token_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "passkey_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "token",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "session_token_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "expires_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "session_expires_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "two_factor_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "secret",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "two_factor_secret_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "user_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "lower(\"email\")",
+ "isExpression": true,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "user_email_lower_unique_idx",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "user"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "identifier",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "verification_identifier_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "verification"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "updated_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "id",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "cover_letter_user_id_updated_at_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "trashed_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": "\"trashed_at\" is not null",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "cover_letter_trashed_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "cover_letter_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "cover_letter_version_cover_letter_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "cover_letter_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "session_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": "\"kind\" = 'auto'",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "cover_letter_version_session_unique",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "hostname",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": "\"verified_at\" is not null",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "custom_domain_verified_hostname",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "updated_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_user_id_updated_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "is_public",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "slug",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_is_public_slug_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": "\"is_primary\"",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_primary_unique",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "trashed_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": "\"trashed_at\" is not null",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_trashed_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_slug_redirect_resume_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "date",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_statistics_daily_resume_id_date_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": false,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_version_resume_id_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "resume_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "session_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": true,
+ "where": "\"kind\" = 'auto'",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "resume_version_session_unique",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ {
+ "value": "status",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "next_attempt_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": "\"status\" = 'pending'",
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "storage_cleanup_job_due_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "reviewed_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ },
+ {
+ "value": "created_at",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "ai_content_report_reviewed_at_created_at_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ {
+ "value": "user_id",
+ "isExpression": false,
+ "asc": true,
+ "nullsFirst": false,
+ "opclass": null
+ }
+ ],
+ "isUnique": false,
+ "where": null,
+ "with": "",
+ "method": "btree",
+ "concurrently": false,
+ "name": "create_request_user_id_index",
+ "entityType": "indexes",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_actions_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "thread_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "agent_threads",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_actions_thread_id_agent_threads_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "message_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "agent_messages",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_actions_message_id_agent_messages_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_actions_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_actions"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_attachments_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "thread_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "agent_threads",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_attachments_thread_id_agent_threads_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "message_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "agent_messages",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_attachments_message_id_agent_messages_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_attachments"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_messages_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "thread_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "agent_threads",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_messages_thread_id_agent_threads_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_messages"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_threads_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "ai_provider_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "ai_providers",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_threads_ai_provider_id_ai_providers_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "source_resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_threads_source_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "working_resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_threads_working_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "cover_letter_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "cover_letter",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "agent_threads_cover_letter_id_cover_letter_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "agent_threads_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "agent_threads"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "ai_providers_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "ai_providers"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "application_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "application_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "cover_letter_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "cover_letter",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "application_cover_letter_id_cover_letter_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "sent_resume_version_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume_version",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "application_sent_resume_version_id_resume_version_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "sent_cover_letter_version_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "cover_letter_version",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "application_QJaGmijrxJ0T_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ "user_id",
+ "lane_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application_lane",
+ "columnsTo": [
+ "user_id",
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "NO ACTION",
+ "name": "application_lane_owner_fk",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "application_lane_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "application_pipeline_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application_pipeline"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_answer_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_answer_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "source_application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "career_answer_source_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_answer"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_artifact_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_artifact_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "job_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "career_job",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "career_artifact_job_id_career_job_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_artifact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_fact_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_fact_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_fact"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_job_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "schedule_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "career_schedule",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_job_schedule_id_career_schedule_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_notification_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_notification_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_notification"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_opportunity_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "tracked_application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "career_opportunity_tracked_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_opportunity"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_profile_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_profile"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_schedule_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_schedule_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "ai_provider_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "ai_providers",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "career_schedule_ai_provider_id_ai_providers_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_schedule"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_story_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_story_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_story"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_transcript_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_transcript_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_transcript"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_workspace_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "career_workspace_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "career_workspace"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "account_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "account"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "reference_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "apikey_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "apikey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "client_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_client",
+ "columnsTo": [
+ "client_id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_access_token_client_id_oauth_client_client_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "session_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "session",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "oauth_access_token_session_id_session_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_access_token_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "refresh_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_refresh_token",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_access_token_refresh_id_oauth_refresh_token_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_access_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_client_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_client"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "client_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_client",
+ "columnsTo": [
+ "client_id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_client_resource_client_id_oauth_client_client_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resource_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_resource",
+ "columnsTo": [
+ "identifier"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_client_resource_dn2L1gs9Dolm_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_client_resource"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "client_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_client",
+ "columnsTo": [
+ "client_id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_consent_client_id_oauth_client_client_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_consent_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_consent"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "client_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "oauth_client",
+ "columnsTo": [
+ "client_id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_refresh_token_client_id_oauth_client_client_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "session_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "session",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "oauth_refresh_token_session_id_session_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "oauth_refresh_token_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "oauth_refresh_token"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "passkey_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "passkey"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "session_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "session"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "two_factor_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "two_factor"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "cover_letter_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "source_resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "cover_letter_source_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "source_application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "cover_letter_source_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "cover_letter"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "cover_letter_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "cover_letter",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "cover_letter_version_cover_letter_id_cover_letter_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "cover_letter_version_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "cover_letter_version"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "custom_domain_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "custom_domain"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "application_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "application",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "SET NULL",
+ "name": "resume_application_id_application_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_slug_redirect_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_slug_redirect_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_statistics_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_statistics"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_statistics_daily_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_version_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_version_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_version"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "resume",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_writing_review_resume_id_resume_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "resume_writing_review_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "resume_writing_review"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "web_access_credentials_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "web_access_credentials"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "ai_content_report_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "ai_content_report"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "application_profile_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "application_profile"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id"
+ ],
+ "schemaTo": "public",
+ "tableTo": "user",
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "name": "create_request_user_id_user_id_fkey",
+ "entityType": "fks",
+ "schema": "public",
+ "table": "create_request"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "agent_actions_pkey",
+ "schema": "public",
+ "table": "agent_actions",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "agent_attachments_pkey",
+ "schema": "public",
+ "table": "agent_attachments",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "agent_messages_pkey",
+ "schema": "public",
+ "table": "agent_messages",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "agent_threads_pkey",
+ "schema": "public",
+ "table": "agent_threads",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "ai_providers_pkey",
+ "schema": "public",
+ "table": "ai_providers",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "application_pkey",
+ "schema": "public",
+ "table": "application",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "application_lane_pkey",
+ "schema": "public",
+ "table": "application_lane",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "user_id"
+ ],
+ "nameExplicit": false,
+ "name": "application_pipeline_pkey",
+ "schema": "public",
+ "table": "application_pipeline",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_answer_pkey",
+ "schema": "public",
+ "table": "career_answer",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_artifact_pkey",
+ "schema": "public",
+ "table": "career_artifact",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_fact_pkey",
+ "schema": "public",
+ "table": "career_fact",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_job_pkey",
+ "schema": "public",
+ "table": "career_job",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_notification_pkey",
+ "schema": "public",
+ "table": "career_notification",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_opportunity_pkey",
+ "schema": "public",
+ "table": "career_opportunity",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "user_id"
+ ],
+ "nameExplicit": false,
+ "name": "career_profile_pkey",
+ "schema": "public",
+ "table": "career_profile",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_schedule_pkey",
+ "schema": "public",
+ "table": "career_schedule",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_story_pkey",
+ "schema": "public",
+ "table": "career_story",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "career_transcript_pkey",
+ "schema": "public",
+ "table": "career_transcript",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "application_id"
+ ],
+ "nameExplicit": false,
+ "name": "career_workspace_pkey",
+ "schema": "public",
+ "table": "career_workspace",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "account_pkey",
+ "schema": "public",
+ "table": "account",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "apikey_pkey",
+ "schema": "public",
+ "table": "apikey",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "jwks_pkey",
+ "schema": "public",
+ "table": "jwks",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_access_token_pkey",
+ "schema": "public",
+ "table": "oauth_access_token",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_client_pkey",
+ "schema": "public",
+ "table": "oauth_client",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_client_assertion_pkey",
+ "schema": "public",
+ "table": "oauth_client_assertion",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_client_resource_pkey",
+ "schema": "public",
+ "table": "oauth_client_resource",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_consent_pkey",
+ "schema": "public",
+ "table": "oauth_consent",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_refresh_token_pkey",
+ "schema": "public",
+ "table": "oauth_refresh_token",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "oauth_resource_pkey",
+ "schema": "public",
+ "table": "oauth_resource",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "passkey_pkey",
+ "schema": "public",
+ "table": "passkey",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "username"
+ ],
+ "nameExplicit": false,
+ "name": "released_username_pkey",
+ "schema": "public",
+ "table": "released_username",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "session_pkey",
+ "schema": "public",
+ "table": "session",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "two_factor_pkey",
+ "schema": "public",
+ "table": "two_factor",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "user_pkey",
+ "schema": "public",
+ "table": "user",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "verification_pkey",
+ "schema": "public",
+ "table": "verification",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "cover_letter_pkey",
+ "schema": "public",
+ "table": "cover_letter",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "cover_letter_version_pkey",
+ "schema": "public",
+ "table": "cover_letter_version",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "user_id"
+ ],
+ "nameExplicit": false,
+ "name": "custom_domain_pkey",
+ "schema": "public",
+ "table": "custom_domain",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_pkey",
+ "schema": "public",
+ "table": "resume",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_slug_redirect_pkey",
+ "schema": "public",
+ "table": "resume_slug_redirect",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_statistics_pkey",
+ "schema": "public",
+ "table": "resume_statistics",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_statistics_daily_pkey",
+ "schema": "public",
+ "table": "resume_statistics_daily",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_version_pkey",
+ "schema": "public",
+ "table": "resume_version",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "resume_id"
+ ],
+ "nameExplicit": false,
+ "name": "resume_writing_review_pkey",
+ "schema": "public",
+ "table": "resume_writing_review",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "storage_cleanup_job_pkey",
+ "schema": "public",
+ "table": "storage_cleanup_job",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "user_id"
+ ],
+ "nameExplicit": false,
+ "name": "web_access_credentials_pkey",
+ "schema": "public",
+ "table": "web_access_credentials",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "ai_content_report_pkey",
+ "schema": "public",
+ "table": "ai_content_report",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "user_id"
+ ],
+ "nameExplicit": false,
+ "name": "application_profile_pkey",
+ "schema": "public",
+ "table": "application_profile",
+ "entityType": "pks"
+ },
+ {
+ "columns": [
+ "id"
+ ],
+ "nameExplicit": false,
+ "name": "create_request_pkey",
+ "schema": "public",
+ "table": "create_request",
+ "entityType": "pks"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ "user_id",
+ "id"
+ ],
+ "nullsNotDistinct": false,
+ "name": "application_lane_owner_id_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ "user_id",
+ "system_key"
+ ],
+ "nullsNotDistinct": false,
+ "name": "application_lane_owner_system_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "application_lane"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "slug",
+ "user_id"
+ ],
+ "nullsNotDistinct": false,
+ "name": "resume_slug_user_id_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "resume"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "user_id",
+ "slug"
+ ],
+ "nullsNotDistinct": false,
+ "name": "resume_slug_redirect_user_id_slug_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "resume_slug_redirect"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id",
+ "date"
+ ],
+ "nullsNotDistinct": false,
+ "name": "resume_statistics_daily_resume_id_date_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "resume_statistics_daily"
+ },
+ {
+ "nameExplicit": true,
+ "columns": [
+ "owner_id",
+ "storage_key"
+ ],
+ "nullsNotDistinct": false,
+ "name": "storage_cleanup_job_owner_key_unique",
+ "entityType": "uniques",
+ "schema": "public",
+ "table": "storage_cleanup_job"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "token"
+ ],
+ "nullsNotDistinct": false,
+ "name": "oauth_access_token_token_key",
+ "schema": "public",
+ "table": "oauth_access_token",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "client_id"
+ ],
+ "nullsNotDistinct": false,
+ "name": "oauth_client_client_id_key",
+ "schema": "public",
+ "table": "oauth_client",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "identifier"
+ ],
+ "nullsNotDistinct": false,
+ "name": "oauth_resource_identifier_key",
+ "schema": "public",
+ "table": "oauth_resource",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "token"
+ ],
+ "nullsNotDistinct": false,
+ "name": "session_token_key",
+ "schema": "public",
+ "table": "session",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "email"
+ ],
+ "nullsNotDistinct": false,
+ "name": "user_email_key",
+ "schema": "public",
+ "table": "user",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "username"
+ ],
+ "nullsNotDistinct": false,
+ "name": "user_username_key",
+ "schema": "public",
+ "table": "user",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "display_username"
+ ],
+ "nullsNotDistinct": false,
+ "name": "user_display_username_key",
+ "schema": "public",
+ "table": "user",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "identifier"
+ ],
+ "nullsNotDistinct": false,
+ "name": "verification_identifier_key",
+ "schema": "public",
+ "table": "verification",
+ "entityType": "uniques"
+ },
+ {
+ "nameExplicit": false,
+ "columns": [
+ "resume_id"
+ ],
+ "nullsNotDistinct": false,
+ "name": "resume_statistics_resume_id_key",
+ "schema": "public",
+ "table": "resume_statistics",
+ "entityType": "uniques"
+ }
+ ],
+ "renames": []
- }
++}
diff --cc migrations/20261101163454_massive_stephen_strange/migration.sql
index 000000000,000000000..be54d980d
new file mode 100644
--- /dev/null
+++ b/migrations/20261101163454_massive_stephen_strange/migration.sql
@@@ -1,0 -1,0 +1,1 @@@
++ALTER TABLE "create_request" ADD COLUMN "application_id" text;
diff --cc migrations/20261101163454_massive_stephen_strange/snapshot.json
index 000000000,000000000..165f993d4
new file mode 100644
--- /dev/null
+++ b/migrations/20261101163454_massive_stephen_strange/snapshot.json
@@@ -1,0 -1,0 +1,11549 @@@
++{
++ "version": "8",
++ "dialect": "postgres",
++ "id": "1eb566f0-463c-42d8-a930-9612e7dbb867",
++ "prevIds": [
++ "3d32d8f1-b7e2-46b0-bfde-9ea05eb2b07a"
++ ],
++ "ddl": [
++ {
++ "isRlsEnabled": false,
++ "name": "agent_actions",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "agent_attachments",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "agent_messages",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "agent_threads",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "ai_providers",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "application",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "application_lane",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "application_pipeline",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_answer",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_artifact",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_fact",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_job",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_notification",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_opportunity",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_profile",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_schedule",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_story",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_transcript",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "career_workspace",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "account",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "apikey",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "jwks",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_access_token",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_client",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_client_assertion",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_client_resource",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_consent",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_refresh_token",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "oauth_resource",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "passkey",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "released_username",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "session",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "two_factor",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "user",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "verification",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "cover_letter",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "cover_letter_version",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "custom_domain",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume_slug_redirect",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume_statistics",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume_statistics_daily",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume_version",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "resume_writing_review",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "storage_cleanup_job",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "web_access_credentials",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "ai_content_report",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "application_profile",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "isRlsEnabled": false,
++ "name": "create_request",
++ "entityType": "tables",
++ "schema": "public"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "thread_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "message_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "kind",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'applied'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "title",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "summary",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "operations",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "snapshot_data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "base_updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "applied_updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reverted_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "revert_message",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "thread_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "message_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "storage_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "filename",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "media_type",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "size",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "thread_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "role",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'completed'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "sequence",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ui_message",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "error",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ai_provider_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "working_resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "cover_letter_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'document'",
++ "generated": null,
++ "identity": null,
++ "name": "scope",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "title",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "edits_proposed",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "edits_accepted",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'active'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "review_patches",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "active_run_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "active_stream_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "active_run_started_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "last_message_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "archived_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "deleted_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "label",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "provider",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "model",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "base_url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "encrypted_api_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "api_key_salt",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "api_key_hash",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "api_key_preview",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'untested'",
++ "generated": null,
++ "identity": null,
++ "name": "test_status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "test_error",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "test_error_kind",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "user_disabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_tested_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_used_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "enabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_default",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "company",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "role",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "location",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "salary",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'saved'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "lane_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "closed_reason",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "cover_letter_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "sent_resume_version_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "smallint",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "sent_check_score",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "sent_cover_letter_version_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": "'{}'",
++ "generated": null,
++ "identity": null,
++ "name": "tags",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "job_description",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "posting_source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'[]'",
++ "generated": null,
++ "identity": null,
++ "name": "requirements",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "match_score",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ai_metadata",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "notes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_file_url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_file_name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "cover_letter_url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "cover_letter_name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "follow_up_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "follow_up_date_only",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "follow_up_note",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'[]'",
++ "generated": null,
++ "identity": null,
++ "name": "contacts",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'[]'",
++ "generated": null,
++ "identity": null,
++ "name": "activity",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "applied_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "category",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "label",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "color",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "position",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "system_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "closed_reason",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "retired_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_pipeline"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "revision",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_pipeline"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "question",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "answer",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scope",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "employer",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "fact_ids",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "story_ids",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "evidence",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reviewed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "1",
++ "generated": null,
++ "identity": null,
++ "name": "revision",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "duplicate_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "interview_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "title",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "evidence",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "job_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "input_version",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "text",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "category",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'active'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'[]'",
++ "generated": null,
++ "identity": null,
++ "name": "revisions",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "schedule_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "due_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'queued'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "attempts",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "lease",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "lease_until",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "error",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "notice",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "read_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "emailed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "email_attempted_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "url",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "role",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "company",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "location",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "snippet",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "discovery_source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "description",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "first_seen_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "last_seen_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "dismissed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "tracked_application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_profile"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_profile"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_profile"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "interview_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "kind",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "query",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "lead",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'en-US'",
++ "generated": null,
++ "identity": null,
++ "name": "locale",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'UTC'",
++ "generated": null,
++ "identity": null,
++ "name": "timezone",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "enabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "email",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "next_run_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_queued_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "interval_days",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ai_provider_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ai_provider_version",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "original",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "edited",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "model",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "account_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'credential'",
++ "generated": null,
++ "identity": null,
++ "name": "provider_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "issuer",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scope",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id_token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "password",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "access_token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refresh_token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "access_token_expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refresh_token_expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "start",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "prefix",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'default'",
++ "generated": null,
++ "identity": null,
++ "name": "config_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reference_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refill_interval",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refill_amount",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_refill_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "true",
++ "generated": null,
++ "identity": null,
++ "name": "enabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "rate_limit_enabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "86400000",
++ "generated": null,
++ "identity": null,
++ "name": "rate_limit_time_window",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "10",
++ "generated": null,
++ "identity": null,
++ "name": "rate_limit_max",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "request_count",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "remaining",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_request",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "permissions",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "metadata",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "public_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "private_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "alg",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "crv",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "jwks"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "authorization_code_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resources",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "requested_user_info_claims",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "revoked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "confirmation",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "session_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reference_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refresh_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_discovery_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": "'{}'",
++ "generated": null,
++ "identity": null,
++ "name": "client_credentials_scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "backchannel_logout_uri",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "backchannel_logout_session_required",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_type",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "jwks",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "jwks_uri",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "dpop_bound_access_tokens",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_secret",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "disabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "skip_consent",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "enable_end_session",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "subject_type",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "uri",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "icon",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "contacts",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "tos",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "policy",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "software_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "software_version",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "software_statement",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "redirect_uris",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "post_logout_redirect_uris",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "token_endpoint_auth_method",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "grant_types",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "response_types",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "public",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "type",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "require_pkce",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reference_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "metadata",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_assertion"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_assertion"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resource_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "metadata",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resources",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "requested_user_info_claims",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reference_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "authorization_code_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resources",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "requested_user_info_claims",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "rotated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "rotation_replay_response",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "rotation_replay_expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "confirmation",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "client_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "session_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reference_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "revoked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "auth_time",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "identifier",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "access_token_ttl",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "refresh_token_ttl",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "signing_algorithm",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "signing_key_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 1,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "allowed_scopes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "custom_claims",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "dpop_bound_access_tokens_required",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "disabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "1",
++ "generated": null,
++ "identity": null,
++ "name": "policy_version",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "metadata",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "oauth_resource"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "aaguid",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "public_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "credential_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "counter",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "device_type",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "backed_up",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "transports",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "username",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "released_username"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "released_username"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "released_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "released_username"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ip_address",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_agent",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "impersonated_by",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "secret",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "backup_codes",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "true",
++ "generated": null,
++ "identity": null,
++ "name": "verified",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "failed_verification_count",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "locked_until",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "image",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "email",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "email_verified",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "username",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "display_username",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "two_factor_enabled",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'UTC'",
++ "generated": null,
++ "identity": null,
++ "name": "timezone",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_active_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "'user'",
++ "generated": null,
++ "identity": null,
++ "name": "role",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "banned",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ban_reason",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "timestamp(6) with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "ban_expires",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_anonymous",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "identifier",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "value",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "recipient",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "content",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "greeting",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "sign_off",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "style",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'freeform'",
++ "generated": null,
++ "identity": null,
++ "name": "layout",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "recipient_name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "''",
++ "generated": null,
++ "identity": null,
++ "name": "recipient_company",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "letter_date",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "sender_linked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "design_linked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source_application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": "'{}'",
++ "generated": null,
++ "identity": null,
++ "name": "tags",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_locked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "trashed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "1",
++ "generated": null,
++ "identity": null,
++ "name": "revision",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "edited_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "cover_letter_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'auto'",
++ "generated": null,
++ "identity": null,
++ "name": "kind",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "session_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "hostname",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "verification_token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "verified_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_checked_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "failing_since",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "slug",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 1,
++ "default": "'{}'",
++ "generated": null,
++ "identity": null,
++ "name": "tags",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_public",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "true",
++ "generated": null,
++ "identity": null,
++ "name": "show_download_buttons",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "show_in_search_engines",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "hide_contact_details",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_primary",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "is_locked",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "password",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "trashed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "auto_name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "boolean",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "false",
++ "generated": null,
++ "identity": null,
++ "name": "auto_slug",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "edited_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "slug",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "expires_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "views",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "downloads",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_viewed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_downloaded_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "date",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "date",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "views",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "downloads",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'auto'",
++ "generated": null,
++ "identity": null,
++ "name": "kind",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "name",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "session_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "resume_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "1",
++ "generated": null,
++ "identity": null,
++ "name": "request_generation",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "input_text",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "passages",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "review",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "requested_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reviewed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "owner_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "storage_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "'pending'",
++ "generated": null,
++ "identity": null,
++ "name": "status",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "integer",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "0",
++ "generated": null,
++ "identity": null,
++ "name": "attempts",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "claim_token",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "next_attempt_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_error",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "updated_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "provider",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "encrypted_api_key",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "test_result",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "last_tested_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "source",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reason",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "content",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "note",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reviewed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_profile"
++ },
++ {
++ "type": "jsonb",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "data",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_profile"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "reviewed_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_profile"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "revision",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "application_profile"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "user_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "fingerprint",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "type": "text",
++ "typeSchema": null,
++ "notNull": false,
++ "dimensions": 0,
++ "default": null,
++ "generated": null,
++ "identity": null,
++ "name": "application_id",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "type": "timestamp with time zone",
++ "typeSchema": null,
++ "notNull": true,
++ "dimensions": 0,
++ "default": "now()",
++ "generated": null,
++ "identity": null,
++ "name": "created_at",
++ "entityType": "columns",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "thread_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_actions_thread_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_actions_resume_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "message_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_actions_message_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "thread_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_attachments_thread_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "message_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_attachments_message_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_attachments_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "thread_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "sequence",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_messages_thread_id_sequence_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_messages_user_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "status",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "last_message_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_threads_user_id_status_last_message_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "working_resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_threads_working_resume_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "cover_letter_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_threads_cover_letter_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "ai_provider_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "agent_threads_ai_provider_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "enabled",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "ai_providers_user_id_enabled_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "last_used_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "ai_providers_user_id_last_used_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "ai_providers_user_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": "\"is_default\"",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "ai_providers_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "application_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "updated_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "application_user_id_updated_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "lane_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "application_user_id_lane_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "application_lane_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "duplicate_key",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_answer_user_id_duplicate_key_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "application_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_artifact_user_id_application_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "job_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_artifact_job_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "application_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "status",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_fact_user_id_application_id_status_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "source_key",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_fact_user_id_source_key_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "schedule_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "due_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_job_schedule_id_due_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "status",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "lease_until",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_job_status_lease_until_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "key",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_notification_user_id_key_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_notification_user_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "url",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_opportunity_user_id_url_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "enabled",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "next_run_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_schedule_enabled_next_run_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "application_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_story_user_id_application_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "application_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "career_transcript_user_id_application_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "account_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "provider_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "account_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "account_provider_id_account_id_unique",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "reference_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "apikey_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "key",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "apikey_key_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "config_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "apikey_config_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "enabled",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "reference_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "apikey_enabled_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "token",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_access_token_token_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "client_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_client_client_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "client_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_client_resource_client_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "resource_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_client_resource_resource_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "client_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "resource_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_client_resource_client_id_resource_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "client_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_consent_user_id_client_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "token",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "oauth_refresh_token_token_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "passkey_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "token",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "session_token_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "expires_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "session_expires_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "two_factor_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "secret",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "two_factor_secret_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "user_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "lower(\"email\")",
++ "isExpression": true,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "user_email_lower_unique_idx",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "user"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "identifier",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "verification_identifier_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "verification"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "updated_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "id",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "cover_letter_user_id_updated_at_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "trashed_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": "\"trashed_at\" is not null",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "cover_letter_trashed_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "cover_letter_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "cover_letter_version_cover_letter_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "cover_letter_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "session_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": "\"kind\" = 'auto'",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "cover_letter_version_session_unique",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "hostname",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": "\"verified_at\" is not null",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "custom_domain_verified_hostname",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "updated_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_user_id_updated_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "is_public",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "slug",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_is_public_slug_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": "\"is_primary\"",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_primary_unique",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "trashed_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": "\"trashed_at\" is not null",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_trashed_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_slug_redirect_resume_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "date",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_statistics_daily_resume_id_date_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": false,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_version_resume_id_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "resume_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "session_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": true,
++ "where": "\"kind\" = 'auto'",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "resume_version_session_unique",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ {
++ "value": "status",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "next_attempt_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": "\"status\" = 'pending'",
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "storage_cleanup_job_due_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "reviewed_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ },
++ {
++ "value": "created_at",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "ai_content_report_reviewed_at_created_at_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ {
++ "value": "user_id",
++ "isExpression": false,
++ "asc": true,
++ "nullsFirst": false,
++ "opclass": null
++ }
++ ],
++ "isUnique": false,
++ "where": null,
++ "with": "",
++ "method": "btree",
++ "concurrently": false,
++ "name": "create_request_user_id_index",
++ "entityType": "indexes",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_actions_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "thread_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "agent_threads",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_actions_thread_id_agent_threads_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "message_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "agent_messages",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_actions_message_id_agent_messages_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_actions_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_actions"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_attachments_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "thread_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "agent_threads",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_attachments_thread_id_agent_threads_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "message_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "agent_messages",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_attachments_message_id_agent_messages_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_attachments"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_messages_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "thread_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "agent_threads",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_messages_thread_id_agent_threads_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_messages"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_threads_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "ai_provider_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "ai_providers",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_threads_ai_provider_id_ai_providers_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "source_resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_threads_source_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "working_resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_threads_working_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "cover_letter_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "cover_letter",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "agent_threads_cover_letter_id_cover_letter_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "agent_threads_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "agent_threads"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "ai_providers_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "ai_providers"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "application_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "application_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "cover_letter_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "cover_letter",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "application_cover_letter_id_cover_letter_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "sent_resume_version_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume_version",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "application_sent_resume_version_id_resume_version_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "sent_cover_letter_version_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "cover_letter_version",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "application_QJaGmijrxJ0T_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ "user_id",
++ "lane_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application_lane",
++ "columnsTo": [
++ "user_id",
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "NO ACTION",
++ "name": "application_lane_owner_fk",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "application_lane_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "application_pipeline_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application_pipeline"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_answer_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_answer_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "source_application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "career_answer_source_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_answer"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_artifact_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_artifact_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "job_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "career_job",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "career_artifact_job_id_career_job_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_artifact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_fact_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_fact_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_fact"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_job_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "schedule_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "career_schedule",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_job_schedule_id_career_schedule_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_notification_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_notification_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_notification"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_opportunity_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "tracked_application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "career_opportunity_tracked_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_opportunity"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_profile_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_profile"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_schedule_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_schedule_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "ai_provider_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "ai_providers",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "career_schedule_ai_provider_id_ai_providers_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_schedule"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_story_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_story_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_story"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_transcript_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_transcript_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_transcript"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_workspace_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "career_workspace_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "career_workspace"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "account_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "account"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "reference_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "apikey_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "apikey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "client_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_client",
++ "columnsTo": [
++ "client_id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_access_token_client_id_oauth_client_client_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "session_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "session",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "oauth_access_token_session_id_session_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_access_token_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "refresh_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_refresh_token",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_access_token_refresh_id_oauth_refresh_token_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_access_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_client_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_client"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "client_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_client",
++ "columnsTo": [
++ "client_id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_client_resource_client_id_oauth_client_client_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resource_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_resource",
++ "columnsTo": [
++ "identifier"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_client_resource_dn2L1gs9Dolm_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_client_resource"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "client_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_client",
++ "columnsTo": [
++ "client_id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_consent_client_id_oauth_client_client_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_consent_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_consent"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "client_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "oauth_client",
++ "columnsTo": [
++ "client_id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_refresh_token_client_id_oauth_client_client_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "session_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "session",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "oauth_refresh_token_session_id_session_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "oauth_refresh_token_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "oauth_refresh_token"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "passkey_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "passkey"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "session_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "session"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "two_factor_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "two_factor"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "cover_letter_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "source_resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "cover_letter_source_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "source_application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "cover_letter_source_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "cover_letter"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "cover_letter_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "cover_letter",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "cover_letter_version_cover_letter_id_cover_letter_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "cover_letter_version_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "cover_letter_version"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "custom_domain_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "custom_domain"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "application_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "application",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "SET NULL",
++ "name": "resume_application_id_application_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_slug_redirect_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_slug_redirect_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_statistics_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_statistics"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_statistics_daily_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_version_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_version_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_version"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "resume",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_writing_review_resume_id_resume_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "resume_writing_review_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "resume_writing_review"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "web_access_credentials_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "web_access_credentials"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "ai_content_report_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "ai_content_report"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "application_profile_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "application_profile"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id"
++ ],
++ "schemaTo": "public",
++ "tableTo": "user",
++ "columnsTo": [
++ "id"
++ ],
++ "onUpdate": "NO ACTION",
++ "onDelete": "CASCADE",
++ "name": "create_request_user_id_user_id_fkey",
++ "entityType": "fks",
++ "schema": "public",
++ "table": "create_request"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "agent_actions_pkey",
++ "schema": "public",
++ "table": "agent_actions",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "agent_attachments_pkey",
++ "schema": "public",
++ "table": "agent_attachments",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "agent_messages_pkey",
++ "schema": "public",
++ "table": "agent_messages",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "agent_threads_pkey",
++ "schema": "public",
++ "table": "agent_threads",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "ai_providers_pkey",
++ "schema": "public",
++ "table": "ai_providers",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "application_pkey",
++ "schema": "public",
++ "table": "application",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "application_lane_pkey",
++ "schema": "public",
++ "table": "application_lane",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "user_id"
++ ],
++ "nameExplicit": false,
++ "name": "application_pipeline_pkey",
++ "schema": "public",
++ "table": "application_pipeline",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_answer_pkey",
++ "schema": "public",
++ "table": "career_answer",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_artifact_pkey",
++ "schema": "public",
++ "table": "career_artifact",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_fact_pkey",
++ "schema": "public",
++ "table": "career_fact",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_job_pkey",
++ "schema": "public",
++ "table": "career_job",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_notification_pkey",
++ "schema": "public",
++ "table": "career_notification",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_opportunity_pkey",
++ "schema": "public",
++ "table": "career_opportunity",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "user_id"
++ ],
++ "nameExplicit": false,
++ "name": "career_profile_pkey",
++ "schema": "public",
++ "table": "career_profile",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_schedule_pkey",
++ "schema": "public",
++ "table": "career_schedule",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_story_pkey",
++ "schema": "public",
++ "table": "career_story",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "career_transcript_pkey",
++ "schema": "public",
++ "table": "career_transcript",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "application_id"
++ ],
++ "nameExplicit": false,
++ "name": "career_workspace_pkey",
++ "schema": "public",
++ "table": "career_workspace",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "account_pkey",
++ "schema": "public",
++ "table": "account",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "apikey_pkey",
++ "schema": "public",
++ "table": "apikey",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "jwks_pkey",
++ "schema": "public",
++ "table": "jwks",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_access_token_pkey",
++ "schema": "public",
++ "table": "oauth_access_token",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_client_pkey",
++ "schema": "public",
++ "table": "oauth_client",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_client_assertion_pkey",
++ "schema": "public",
++ "table": "oauth_client_assertion",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_client_resource_pkey",
++ "schema": "public",
++ "table": "oauth_client_resource",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_consent_pkey",
++ "schema": "public",
++ "table": "oauth_consent",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_refresh_token_pkey",
++ "schema": "public",
++ "table": "oauth_refresh_token",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "oauth_resource_pkey",
++ "schema": "public",
++ "table": "oauth_resource",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "passkey_pkey",
++ "schema": "public",
++ "table": "passkey",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "username"
++ ],
++ "nameExplicit": false,
++ "name": "released_username_pkey",
++ "schema": "public",
++ "table": "released_username",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "session_pkey",
++ "schema": "public",
++ "table": "session",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "two_factor_pkey",
++ "schema": "public",
++ "table": "two_factor",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "user_pkey",
++ "schema": "public",
++ "table": "user",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "verification_pkey",
++ "schema": "public",
++ "table": "verification",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "cover_letter_pkey",
++ "schema": "public",
++ "table": "cover_letter",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "cover_letter_version_pkey",
++ "schema": "public",
++ "table": "cover_letter_version",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "user_id"
++ ],
++ "nameExplicit": false,
++ "name": "custom_domain_pkey",
++ "schema": "public",
++ "table": "custom_domain",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_pkey",
++ "schema": "public",
++ "table": "resume",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_slug_redirect_pkey",
++ "schema": "public",
++ "table": "resume_slug_redirect",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_statistics_pkey",
++ "schema": "public",
++ "table": "resume_statistics",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_statistics_daily_pkey",
++ "schema": "public",
++ "table": "resume_statistics_daily",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_version_pkey",
++ "schema": "public",
++ "table": "resume_version",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "resume_id"
++ ],
++ "nameExplicit": false,
++ "name": "resume_writing_review_pkey",
++ "schema": "public",
++ "table": "resume_writing_review",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "storage_cleanup_job_pkey",
++ "schema": "public",
++ "table": "storage_cleanup_job",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "user_id"
++ ],
++ "nameExplicit": false,
++ "name": "web_access_credentials_pkey",
++ "schema": "public",
++ "table": "web_access_credentials",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "ai_content_report_pkey",
++ "schema": "public",
++ "table": "ai_content_report",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "user_id"
++ ],
++ "nameExplicit": false,
++ "name": "application_profile_pkey",
++ "schema": "public",
++ "table": "application_profile",
++ "entityType": "pks"
++ },
++ {
++ "columns": [
++ "id"
++ ],
++ "nameExplicit": false,
++ "name": "create_request_pkey",
++ "schema": "public",
++ "table": "create_request",
++ "entityType": "pks"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ "user_id",
++ "id"
++ ],
++ "nullsNotDistinct": false,
++ "name": "application_lane_owner_id_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ "user_id",
++ "system_key"
++ ],
++ "nullsNotDistinct": false,
++ "name": "application_lane_owner_system_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "application_lane"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "slug",
++ "user_id"
++ ],
++ "nullsNotDistinct": false,
++ "name": "resume_slug_user_id_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "resume"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "user_id",
++ "slug"
++ ],
++ "nullsNotDistinct": false,
++ "name": "resume_slug_redirect_user_id_slug_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "resume_slug_redirect"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id",
++ "date"
++ ],
++ "nullsNotDistinct": false,
++ "name": "resume_statistics_daily_resume_id_date_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "resume_statistics_daily"
++ },
++ {
++ "nameExplicit": true,
++ "columns": [
++ "owner_id",
++ "storage_key"
++ ],
++ "nullsNotDistinct": false,
++ "name": "storage_cleanup_job_owner_key_unique",
++ "entityType": "uniques",
++ "schema": "public",
++ "table": "storage_cleanup_job"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "token"
++ ],
++ "nullsNotDistinct": false,
++ "name": "oauth_access_token_token_key",
++ "schema": "public",
++ "table": "oauth_access_token",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "client_id"
++ ],
++ "nullsNotDistinct": false,
++ "name": "oauth_client_client_id_key",
++ "schema": "public",
++ "table": "oauth_client",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "identifier"
++ ],
++ "nullsNotDistinct": false,
++ "name": "oauth_resource_identifier_key",
++ "schema": "public",
++ "table": "oauth_resource",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "token"
++ ],
++ "nullsNotDistinct": false,
++ "name": "session_token_key",
++ "schema": "public",
++ "table": "session",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "email"
++ ],
++ "nullsNotDistinct": false,
++ "name": "user_email_key",
++ "schema": "public",
++ "table": "user",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "username"
++ ],
++ "nullsNotDistinct": false,
++ "name": "user_username_key",
++ "schema": "public",
++ "table": "user",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "display_username"
++ ],
++ "nullsNotDistinct": false,
++ "name": "user_display_username_key",
++ "schema": "public",
++ "table": "user",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "identifier"
++ ],
++ "nullsNotDistinct": false,
++ "name": "verification_identifier_key",
++ "schema": "public",
++ "table": "verification",
++ "entityType": "uniques"
++ },
++ {
++ "nameExplicit": false,
++ "columns": [
++ "resume_id"
++ ],
++ "nullsNotDistinct": false,
++ "name": "resume_statistics_resume_id_key",
++ "schema": "public",
++ "table": "resume_statistics",
++ "entityType": "uniques"
++ }
++ ],
++ "renames": []
++}
diff --cc packages/api/src/dto/documents.ts
index 88d3693a5,46b49a876..7ccc0eaa4
--- a/packages/api/src/dto/documents.ts
+++ b/packages/api/src/dto/documents.ts
@@@ -109,17 -119,7 +120,17 @@@ export const documentsDto =
input: z.object({
resumeId: z.string().min(1).describe("The resume to copy."),
applicationId: z.string().min(1).optional().describe("The job the copy is for; omit for no job yet."),
+ application: applicationDto.create.input
+ .pick({ company: true, role: true, location: true, sourceUrl: true, jobDescription: true, postingSource: true })
+ .optional()
+ .describe("A new job to save with the copy: both are saved together, or neither is. Not with `applicationId`."),
name: z.string().trim().min(1).max(100).optional().describe("Defaults to “{source} — {company}”."),
+ newId: z
+ .uuid()
+ .optional()
+ .describe(
- "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash is refused with CONFLICT and nothing changes.",
++ "A UUID the client chose for the new copy. A retry of the same request with the same ID (after a lost response, say) returns the copy already made, and its job, instead of making another. The ID with any other request, one already used by a resume or application, or one whose copy or job has since been deleted or moved to Trash, or whose new-job copy was unlinked or relinked to another job, is refused with CONFLICT and nothing changes.",
+ ),
}),
output: z.string().describe("The ID of the copy."),
},
diff --cc packages/api/src/features/applications/lanes.integration.test.ts
index c5b0aae3e,93033bbf9..06c6ec761
--- a/packages/api/src/features/applications/lanes.integration.test.ts
+++ b/packages/api/src/features/applications/lanes.integration.test.ts
@@@ -302,924 -295,6 +302,933 @@@ describe.skipIf(!databaseUrl)("applicat
expect((await read(id)).activity).toHaveLength(2);
});
+ it("a deferred bulk move through the router leaves rows whose stage changed since, and moves the rest", async () => {
+ const { applicationsRouter } = await import("./router");
+ const { latestStageEntryId } = await import("@reactive-resume/schema/applications/data");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const alpha = await applications.create({ userId: "alice", company: "Alpha", role: "Role", status: "applied" });
+ const beta = await applications.create({ userId: "alice", company: "Beta", role: "Role", status: "applied" });
+ const seen = await Promise.all([read(alpha), read(beta)]);
+ const expectedStages = seen.map((row) => ({
+ id: row.id,
+ status: row.status,
+ laneId: row.laneId,
+ closedReason: row.closedReason,
+ }));
+
+ // The user bulk-moves both to Interview (deferred behind Undo), then moves Alpha to Offer, which is written first.
+ await client.update({ id: alpha, status: "offer" });
+ const result = await client.bulkUpdate({ ids: [alpha, beta], status: "interview", expectedStages });
+
+ expect(result.updated).toBe(1);
+ const [alphaAfter, betaAfter] = await Promise.all([read(alpha), read(beta)]);
+ // Only the moved row comes back, with its stage and stage change as saved.
+ expect(result.stages).toEqual([
+ {
+ id: beta,
+ status: "interview",
+ laneId: betaAfter.laneId,
+ closedReason: null,
+ stageEntryId: latestStageEntryId(betaAfter.activity),
+ },
+ ]);
+ expect(alphaAfter.status).toBe("offer");
+ // No Interview step was recorded for the move that lost.
+ expect(
+ alphaAfter.activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .sort(),
+ ).toEqual(["applied", "offer"]);
+ expect(betaAfter.status).toBe("interview");
+
+ // Without expected stages (an older client), the move is written as before.
+ await client.bulkUpdate({ ids: [alpha], status: "screening" });
+ expect((await read(alpha)).status).toBe("screening");
+ });
+
+ it("two quick bulk moves of one row from one client are saved in order, the second from what the first saved", async () => {
+ const { applicationsRouter } = await import("./router");
+ const { stageBaselinesFor } = await import("@reactive-resume/schema/applications/stage-baselines");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const id = await applications.create({ userId: "alice", company: "Aspen", role: "Lead", status: "applied" });
+ const listed = await read(id);
+ const tracker = stageBaselinesFor({});
+ const commit = async (move: ReturnType<typeof tracker.begin>, status: "interview" | "offer") => {
+ const expectedStages = await Promise.all(
+ [...move.baselines].map(async ([row, baseline]) => ({ id: row, ...(await baseline) })),
+ );
+ const result = await client.bulkUpdate({ ids: [id], status, expectedStages });
+ move.settle(result.stages);
+ return result;
+ };
+
+ // Both moves start from the list as it was (the list shows the first move, not its stage change).
+ const first = tracker.begin("", new Map([[id, listed]]));
+ const second = tracker.begin("", new Map([[id, { ...listed, status: "interview" as const }]]));
+ const [secondResult, firstResult] = await Promise.all([commit(second, "offer"), commit(first, "interview")]);
+
+ expect([firstResult.updated, secondResult.updated]).toEqual([1, 1]);
+ const after = await read(id);
+ expect(after.status).toBe("offer");
+ expect(
+ after.activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .reverse(),
+ ).toEqual(["applied", "interview", "offer"]);
+
+ // The list's older timeline alone (a client that doesn't follow its first move) is refused, as before.
+ const stale = { id, status: "interview" as const, laneId: after.laneId, closedReason: null, stageEntryId: null };
+ expect(await client.bulkUpdate({ ids: [id], status: "screening", expectedStages: [stale] })).toMatchObject({
+ updated: 0,
+ stages: [],
+ });
+ });
+
+ it("a bulk move chosen while a single move of the row is on its way is saved after it, from its answer", async () => {
+ const { applicationsRouter } = await import("./router");
+ const { latestStageEntryId } = await import("@reactive-resume/schema/applications/data");
+ const { stageBaselinesFor } = await import("@reactive-resume/schema/applications/stage-baselines");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const commit = async (move: { baselines: Map<string, Promise<object>> }, ids: string[], status: "offer") => {
+ const expectedStages = await Promise.all(
+ [...move.baselines].map(async ([row, baseline]) => ({ id: row, ...(await baseline) })),
+ );
+ return client.bulkUpdate({ ids, status, expectedStages: expectedStages as never });
+ };
+ const stagesOf = async (id: string) =>
+ (await read(id)).activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .reverse();
+
+ // The single move is sent first; the bulk move is chosen before its answer, while the list shows it moved.
+ const id = await applications.create({ userId: "alice", company: "Birch", role: "Lead", status: "applied" });
+ const listed = await read(id);
+ const tracker = stageBaselinesFor({});
+ const answered = tracker.write("", id, listed);
+ // The update answers with the application; the app's follower takes its stage from it.
+ const stageOf = (row: {
+ status: StageBaseline["status"];
+ laneId?: string | null | undefined;
+ closedReason: StageBaseline["closedReason"];
+ activity: Parameters<typeof latestStageEntryId>[0];
+ }) => ({
+ status: row.status,
+ laneId: row.laneId ?? null,
+ closedReason: row.closedReason,
+ stageEntryId: latestStageEntryId(row.activity),
+ });
+ const single = client.update({ id, status: "interview" }).then((row) => answered(stageOf(row)));
+ const bulk = tracker.begin("", new Map([[id, { ...listed, status: "interview" as const }]]));
+ await single;
+ expect(await commit(bulk, [id], "offer")).toMatchObject({ updated: 1 });
+ expect(await stagesOf(id)).toEqual(["applied", "interview", "offer"]);
+
+ // The list's older timeline alone (no follow-up of the single move) is refused, as before.
+ const other = await applications.create({ userId: "alice", company: "Cedar", role: "Lead", status: "applied" });
+ const stale = await read(other);
+ await client.update({ id: other, status: "interview" });
+ const unfollowed = stageBaselinesFor({}).begin("", new Map([[other, { ...stale, status: "interview" as const }]]));
+ expect(await commit(unfollowed, [other], "offer")).toMatchObject({ updated: 0 });
+
+ // A move made elsewhere after the single move's answer still wins over the bulk move.
+ const elsewhere = await applications.create({
+ userId: "alice",
+ company: "Dogwood",
+ role: "Lead",
+ status: "applied",
+ });
+ const before = await read(elsewhere);
+ const settleSingle = tracker.write("", elsewhere, before);
+ settleSingle(stageOf(await client.update({ id: elsewhere, status: "interview" })));
+ await client.update({ id: elsewhere, status: "screening" });
+ await client.update({ id: elsewhere, status: "interview" });
+ const late = tracker.begin("", new Map([[elsewhere, { ...before, status: "interview" as const }]]));
+ expect(await commit(late, [elsewhere], "offer")).toMatchObject({ updated: 0 });
+ expect((await read(elsewhere)).status).toBe("interview");
+ });
+
+ it("Career submit and message changes answer with their saved stage, and a bulk move after them is saved", async () => {
+ const { applicationsRouter } = await import("./router");
+ const { careerRouter } = await import("../career/router");
+ const { savedStageIn, stageBaselinesFor } = await import("@reactive-resume/schema/applications/stage-baselines");
+ const context = {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never;
+ const apps = createRouterClient(applicationsRouter, { context });
+ const careerClient = createRouterClient(careerRouter, { context });
+ const tracker = stageBaselinesFor({});
+ const bulkTo = async (id: string, listed: Awaited<ReturnType<typeof read>>, status: "interview" | "offer") => {
+ const move = tracker.begin("", new Map([[id, listed]]));
+ const expectedStages = await Promise.all(
+ [...move.baselines].map(async ([row, baseline]) => ({ id: row, ...(await baseline) })),
+ );
+ const result = await apps.bulkUpdate({ ids: [id], status, expectedStages });
+ move.settle(result.stages);
+ return result.updated;
+ };
+ const stagesOf = async (id: string) =>
+ (await read(id)).activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .reverse();
+ const replyFor = async (id: string) => {
+ const version = (await career.context({ userId: "alice", applicationId: id })).version;
+ const reply = await career.saveSavedItem({
+ userId: "alice",
+ applicationId: id,
+ interviewId: null,
+ title: "Interview invitation",
+ data: {
+ kind: "reply",
+ message: "Interview invitation",
+ title: "Interview invitation",
+ asks: [],
+ unconfirmed: [],
+ reply: "",
+ changes: [{ type: "stage", stage: "interview" }],
+ offer: null,
+ applied: null,
+ },
+ evidence: { factIds: [], storyIds: [] },
+ inputVersion: version,
+ });
+ if (!reply) throw new Error("Expected reply");
+ return reply.id;
+ };
+
+ // Mark as applied answers with the stage it saved; the list (still Saved) is behind, the bulk move isn't.
+ const submitted = await applications.create({ userId: "alice", company: "Fir", role: "Lead", status: "saved" });
+ const listedSaved = await read(submitted);
+ const answered = tracker.write("", submitted, listedSaved);
+ const submitAnswer = await careerClient.submitApplication({
+ applicationId: submitted,
+ answers: [],
+ expectedAnswers: [],
+ });
+ expect(submitAnswer.stages).toEqual([
+ expect.objectContaining({ id: submitted, status: "applied", stageEntryId: expect.any(String) }),
+ ]);
+ answered(savedStageIn(submitAnswer, submitted));
+ expect(await bulkTo(submitted, listedSaved, "interview")).toBe(1);
+ expect(await stagesOf(submitted)).toEqual(["saved", "applied", "interview"]);
+ // Repeating Mark as applied once the application has moved on is refused, as before.
+ expect(
+ (await careerClient
+ .submitApplication({ applicationId: submitted, answers: [], expectedAnswers: [] })
+ .catch((error: { code?: string }) => error.code)) as unknown,
+ ).toBe("CONFLICT");
+
+ // Only the write acknowledges its saved stage; a repeat must not adopt the current row.
+ const replied = await applications.create({ userId: "alice", company: "Hazel", role: "Lead", status: "applied" });
+ const listedApplied = await read(replied);
+ const reply = await replyFor(replied);
+ const saved = tracker.write("", replied, listedApplied);
+ const replyAnswer = await careerClient.applyReply({ id: reply, changes: [0] });
+ expect(replyAnswer.stages).toEqual([expect.objectContaining({ id: replied, status: "interview" })]);
+ expect(await careerClient.applyReply({ id: reply, changes: [0] })).toEqual({ stages: [] });
+ saved(savedStageIn(replyAnswer, replied));
+ expect(await bulkTo(replied, listedApplied, "offer")).toBe(1);
+ expect(await stagesOf(replied)).toEqual(["applied", "interview", "offer"]);
+
+ // The same instrument with the list's older timeline alone (no answer followed, as before) is refused.
+ const unfollowed = await applications.create({ userId: "alice", company: "Ivy", role: "Lead", status: "saved" });
+ const listedUnfollowed = await read(unfollowed);
+ await careerClient.submitApplication({ applicationId: unfollowed, answers: [], expectedAnswers: [] });
+ const blind = stageBaselinesFor({}).begin("", new Map([[unfollowed, listedUnfollowed]]));
+ const blindStages = await Promise.all([...blind.baselines].map(async ([row, b]) => ({ id: row, ...(await b) })));
+ expect(
+ (await apps.bulkUpdate({ ids: [unfollowed], status: "interview", expectedStages: blindStages })).updated,
+ ).toBe(0);
+
+ // A move made elsewhere after the Career change's answer still wins over the bulk move.
+ const raced = await applications.create({ userId: "alice", company: "Juniper", role: "Lead", status: "saved" });
+ const listedRaced = await read(raced);
+ const racedAnswer = tracker.write("", raced, listedRaced);
+ racedAnswer(
+ savedStageIn(
+ await careerClient.submitApplication({ applicationId: raced, answers: [], expectedAnswers: [] }),
+ raced,
+ ),
+ );
+ await apps.update({ id: raced, status: "screening" });
+ await apps.update({ id: raced, status: "applied" });
+ expect(await bulkTo(raced, listedRaced, "interview")).toBe(0);
+ expect((await read(raced)).status).toBe("applied");
+ });
+
+ it("a retired lane doesn't stop a bulk move that checks stage changes, and an older client still checks the lane", async () => {
+ const { applicationsRouter } = await import("./router");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const { latestStageEntryId } = await import("@reactive-resume/schema/applications/data");
+ const takeHome = await addLane("Take-home", "interview");
+ const replacement = await addLane("Panel", "interview");
+ const id = await applications.create({ userId: "alice", company: "Kauri", role: "Lead", laneId: takeHome.id });
+ const other = await applications.create({ userId: "alice", company: "Larch", role: "Lead", laneId: takeHome.id });
+ const listed = await Promise.all([read(id), read(other)]);
+ // The lane is retired (settings, not a move) after the list was read.
+ const pipeline = await lanes.get("alice");
+ await lanes.retire("alice", {
+ id: takeHome.id,
+ replacementId: replacement.id,
+ expectedRevision: pipeline.revision,
+ });
+ const [row, olderRow] = listed;
+ if (!row || !olderRow) throw new Error("Expected rows");
+
+ const checked = await client.bulkUpdate({
+ ids: [id],
+ status: "offer",
+ expectedStages: [
+ {
+ id,
+ status: row.status,
+ laneId: row.laneId,
+ closedReason: null,
+ stageEntryId: latestStageEntryId(row.activity),
+ },
+ ],
+ });
+ const older = await client.bulkUpdate({
+ ids: [other],
+ status: "offer",
+ expectedStages: [{ id: other, status: olderRow.status, laneId: olderRow.laneId, closedReason: null }],
+ });
+ expect([checked.updated, older.updated]).toEqual([1, 0]);
+ expect((await read(id)).status).toBe("offer");
+ // A lane-only move elsewhere adds a stage change, so it still wins over a bulk move that checks stage changes.
+ const third = await applications.create({
+ userId: "alice",
+ company: "Maple",
+ role: "Lead",
+ laneId: replacement.id,
+ });
+ const thirdListed = await read(third);
+ await client.update({ id: third, laneId: "application-lane:alice:interview" });
+ const laneMoved = await client.bulkUpdate({
+ ids: [third],
+ status: "offer",
+ expectedStages: [
+ {
+ id: third,
+ status: thirdListed.status,
+ laneId: thirdListed.laneId,
+ closedReason: null,
+ stageEntryId: latestStageEntryId(thirdListed.activity),
+ },
+ ],
+ });
+ expect(laneMoved.updated).toBe(0);
+ });
+
+ it("a deferred bulk move leaves a row moved away and back since, but not one only edited since", async () => {
+ const { applicationsRouter } = await import("./router");
+ const { latestStageEntryId } = await import("@reactive-resume/schema/applications/data");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const alpha = await applications.create({ userId: "alice", company: "Alpha", role: "Role", status: "applied" });
+ const beta = await applications.create({ userId: "alice", company: "Beta", role: "Role", status: "saved" });
+ // Beta has two stage changes; the API lists them newest first, the stored timeline oldest first.
+ await client.update({ id: beta, status: "applied" });
+ const seen = await Promise.all([read(alpha), read(beta)]);
+ const expectedStages = seen.map((row) => ({
+ id: row.id,
+ status: row.status,
+ laneId: row.laneId,
+ closedReason: row.closedReason,
+ stageEntryId: latestStageEntryId(row.activity),
+ }));
+
+ // Inside the Undo window Alpha goes to Offer and back to Applied; Beta only gets a note.
+ await client.update({ id: alpha, status: "offer" });
+ await client.update({ id: alpha, status: "applied" });
+ await client.addNote({ id: beta, text: "Recruiter called" });
+ const alphaBefore = await read(alpha);
+ const result = await client.bulkUpdate({ ids: [alpha, beta], status: "interview", expectedStages });
+
+ expect(result.updated).toBe(1);
+ expect(result.stages.map((stage) => stage.id)).toEqual([beta]);
+ const alphaAfter = await read(alpha);
+ expect(alphaAfter.status).toBe("applied");
+ expect(alphaAfter.activity).toEqual(alphaBefore.activity);
+ expect(alphaAfter.updatedAt).toEqual(alphaBefore.updatedAt);
+ expect((await read(beta)).status).toBe("interview");
+ });
+
+ describe("stage write order before noon UTC", () => {
+ beforeEach(() => vi.useFakeTimers({ toFake: ["Date"] }).setSystemTime(new Date("2026-11-01T08:00:00Z")));
+ afterEach(() => vi.useRealTimers());
+ const clients = async () => {
+ const context = {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never;
+ return {
+ apps: createRouterClient((await import("./router")).applicationsRouter, { context }),
+ careerClient: createRouterClient((await import("../career/router")).careerRouter, { context }),
+ };
+ };
+ const replyFor = async (id: string) => {
+ const item = await career.saveSavedItem({
+ userId: "alice",
+ applicationId: id,
+ interviewId: null,
+ title: "Interview invitation",
+ data: {
+ kind: "reply",
+ message: "Interview invitation",
+ title: "Interview invitation",
+ asks: [],
+ unconfirmed: [],
+ reply: "",
+ changes: [{ type: "stage", stage: "interview" }],
+ offer: null,
+ applied: null,
+ },
+ evidence: { factIds: [], storyIds: [] },
+ inputVersion: (await career.context({ userId: "alice", applicationId: id })).version,
+ });
+ if (!item) throw new Error("Expected reply");
+ return item.id;
+ };
+ const checked = async (id: string) => {
+ const row = await read(id);
+ return {
+ id,
+ status: row.status,
+ laneId: row.laneId,
+ closedReason: row.closedReason,
+ stageEntryId: (await import("@reactive-resume/schema/applications/data")).latestStageEntryId(row.activity),
+ };
+ };
+ const stored = async (id: string) =>
+ (await pool.query("SELECT status, lane_id, activity FROM application WHERE id = $1", [id])).rows[0];
+
+ it.each(["dated", "undated"] as const)(
+ "%s: outside lane-only and ABA win; notes and retirement still allow bulk",
+ async (kind) => {
+ const { apps } = await clients();
+ const referral = await addLane("Referral", "applied");
+ const replacement = await addLane("Referral replacement", "applied");
+ const ids = await Promise.all(
+ ["lane", "aba", "notes", "retire"].map((company) =>
+ apps.create({
+ company,
+ role: "Lead",
+ status: "applied",
+ ...(company === "retire" ? { laneId: referral.id } : {}),
+ ...(kind === "dated" ? { stageEnteredAt: "2026-11-01" } : {}),
+ }),
+ ),
+ );
+ const [lane, aba, notes, retired] = ids as [string, string, string, string];
+ const expectedStages = await Promise.all(ids.map(checked));
+ await apps.update({ id: lane, laneId: referral.id, stageEnteredAt: "2026-10-30" });
+ await apps.update({ id: aba, status: "screening" });
+ await apps.update({ id: aba, status: "applied" });
+ await apps.addNote({ id: notes, text: "Keep this note" });
+ await apps.lanes.retire({
+ id: referral.id,
+ replacementId: replacement.id,
+ expectedRevision: (await lanes.get("alice")).revision,
+ });
+ const outside = await Promise.all([stored(lane), stored(aba)]);
+ const result = await apps.bulkUpdate({ ids, status: "interview", expectedStages });
+ expect(result.updated).toBe(2);
+ expect(result.stages.map((stage) => stage.id).sort()).toEqual([notes, retired].sort());
+ expect(await Promise.all([stored(lane), stored(aba)])).toEqual(outside);
+ expect((await stored(lane)).lane_id).toBe(replacement.id);
+ expect(
+ (await stored(aba)).activity
+ .filter((e: { type: string }) => e.type === "stage")
+ .map((e: { stage: string }) => e.stage),
+ ).toEqual(["applied", "screening", "applied"]);
+ expect((await stored(notes)).status).toBe("interview");
+ expect((await stored(retired)).status).toBe("interview");
+ },
+ );
+
+ it.each(["dated", "undated"] as const)(
+ "%s: answered Career reply then bulk uses its saved write before list reload",
+ async (kind) => {
+ const { apps, careerClient } = await clients();
+ const { savedStageIn, stageBaselinesFor } =
+ await import("@reactive-resume/schema/applications/stage-baselines");
+ const id = await apps.create({
+ company: "Cedar",
+ role: "Lead",
+ status: "applied",
+ ...(kind === "dated" ? { stageEnteredAt: "2026-11-01" } : {}),
+ });
+ const listed = await read(id);
+ const tracker = stageBaselinesFor({});
+ const settle = tracker.write("", id, listed);
+ const answer = await careerClient.applyReply({ id: await replyFor(id), changes: [0] });
+ settle(savedStageIn(answer, id));
+ await new Promise((resolve) => setTimeout(resolve, 0));
+ const bulk = tracker.begin("", new Map([[id, listed]]));
+ const expectedStages = await Promise.all(
+ [...bulk.baselines].map(async ([id, value]) => ({ id, ...(await value) })),
+ );
+ expect((await apps.bulkUpdate({ ids: [id], status: "offer", expectedStages })).updated).toBe(1);
+ const row = await stored(id);
+ expect(row.status).toBe("offer");
+ expect(row.activity.map((e: { stage: string }) => e.stage)).toEqual(["applied", "interview", "offer"]);
+ expect((await read(id)).activity.filter((entry) => entry.type === "stage").map((entry) => entry.stage)).toEqual(
+ kind === "dated" ? ["applied", "offer", "interview"] : ["offer", "interview", "applied"],
+ );
+ },
+ );
+
+ it("legacy histories upgrade on their next move; current write cannot be deleted by changing display order", async () => {
+ const { apps } = await clients();
+ const referral = await addLane("Referral", "applied");
+ const id = await apps.create({
+ company: "Legacy",
+ role: "Lead",
+ status: "applied",
+ stageEnteredAt: "2026-11-01",
+ });
+ await pool.query(
+ "UPDATE application SET activity = (SELECT jsonb_agg(entry - 'writeSequence') FROM jsonb_array_elements(activity) entry) WHERE id = $1",
+ [id],
+ );
+ const before = await checked(id);
+ await apps.update({ id, laneId: referral.id, stageEnteredAt: "2026-10-30" });
+ const current = await checked(id);
+ expect(current.stageEntryId).not.toBe(before.stageEntryId);
+ if (!current.stageEntryId) throw new Error("Expected current stage identity");
+ expect(
+ await apps
+ .deleteTimelineEntry({ id, entryId: current.stageEntryId })
+ .catch((error: { code: string }) => error.code),
+ ).toBe("BAD_REQUEST");
+ expect((await stored(id)).activity).toHaveLength(2);
+ });
+
+ it.each(["reply", "submission"] as const)(
+ "repeated %s cannot acknowledge an outside later move",
+ async (action) => {
+ const { apps, careerClient } = await clients();
+ const { savedStageIn, stageBaselinesFor } =
+ await import("@reactive-resume/schema/applications/stage-baselines");
+ const referral = await addLane("Referral", "applied");
+ const id = await apps.create({
+ company: "Hazel",
+ role: "Lead",
+ status: action === "reply" ? "applied" : "saved",
+ stageEnteredAt: "2026-11-01",
+ });
+ const listed = await read(id);
+ const reply = action === "reply" ? await replyFor(id) : null;
+ const send = () =>
+ reply
+ ? careerClient.applyReply({ id: reply, changes: [0] })
+ : careerClient.submitApplication({ applicationId: id, answers: [], expectedAnswers: [] });
+ await send();
+ await apps.update(action === "reply" ? { id, status: "offer" } : { id, laneId: referral.id });
+ const outside = await stored(id);
+ const tracker = stageBaselinesFor({});
+ const settle = tracker.write("", id, listed);
+ const repeated = await send();
+ expect(repeated).toEqual({ stages: [] });
+ settle(savedStageIn(repeated, id));
+ const bulk = tracker.begin("", new Map([[id, listed]]));
+ const expectedStages = await Promise.all(
+ [...bulk.baselines].map(async ([id, value]) => ({ id, ...(await value) })),
+ );
+ expect(
+ await apps.bulkUpdate({ ids: [id], status: "closed", closedReason: "withdrew", expectedStages }),
+ ).toEqual({ updated: 0, stages: [] });
+ expect(await stored(id)).toEqual(outside);
+ },
+ );
+ });
+
+ it("keeps unrelated notes and interviews editable after a backdated lane move", async () => {
+ const { applicationsRouter } = await import("./router");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const lane = await addLane("Referral", "applied");
+ const id = await client.create({
+ company: "Backdated",
+ role: "Lead",
+ status: "applied",
+ stageEnteredAt: "2026-11-01",
+ });
+ await client.addNote({ id, text: "Private note" });
+ await client.addInterview({ id, at: "2026-11-03T08:00:00Z", kind: "other" });
+ await client.update({ id, laneId: lane.id, stageEnteredAt: "2026-10-30" });
+ const before = await client.getById({ id });
+ const note = before.activity.find((entry) => entry.type === "note");
+ const interview = before.activity.find((entry) => entry.type === "interview");
+ if (!note || !interview) throw new Error("Expected note and interview");
+ const stages = before.activity.filter((entry) => entry.type === "stage");
+ const edited = await client.updateTimelineEntry({ id, entryId: note.id, text: "Corrected", date: "2026-11-02" });
+ expect(edited.activity.find((entry) => entry.id === note.id)).toMatchObject({ text: "Corrected" });
+ await client.deleteTimelineEntry({ id, entryId: note.id });
+ await client.deleteTimelineEntry({ id, entryId: interview.id });
+ const after = await client.getById({ id });
+ expect(after.activity).toEqual(stages);
+ expect(after).toMatchObject({ status: before.status, laneId: before.laneId, appliedAt: before.appliedAt });
+ expect((await pool.query("SELECT activity FROM application WHERE id = $1", [id])).rows[0]?.activity).toEqual(
+ JSON.parse(JSON.stringify(stages)),
+ );
+ });
+
+ it("distinguishes follow-up dates in retried creation requests through the router", async () => {
+ const { applicationsRouter } = await import("./router");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const newId = randomUUID();
+ const followUpAt = new Date("2026-11-10T08:00:00Z");
+ const request = { newId, company: "Date receipt", role: "Lead", followUpAt };
+ expect(await client.create(request)).toBe(newId);
+ expect(await client.create({ ...request, followUpAt: new Date(followUpAt) })).toBe(newId);
+ await expect(client.create({ ...request, followUpAt: new Date("2026-12-10T08:00:00Z") })).rejects.toMatchObject({
+ code: "CONFLICT",
+ });
+ expect((await pool.query("SELECT id, follow_up_at FROM application WHERE id = $1", [newId])).rows).toEqual([
+ { id: newId, follow_up_at: followUpAt },
+ ]);
+ expect((await pool.query("SELECT id FROM create_request WHERE id = $1", [newId])).rows).toEqual([{ id: newId }]);
+ });
+
+ it.each(["resumeFile", "coverLetterFile"] as const)(
+ "binds the creation receipt to %s bytes before accepting a retry",
+ async (slot) => {
+ const { applicationsRouter } = await import("./router");
+ const client = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const { uploadFile } = await import("../storage/service");
+ const upload = vi.mocked(uploadFile).mockResolvedValue({ url: "uploads/cv.pdf" } as never);
+ const file = (body: string, lastModified: number) =>
+ new File([body], "document.pdf", { type: "application/pdf", lastModified });
+ const original = file("%PDF-1.4 A", 1);
+ const request = { newId: randomUUID(), company: "Attachment receipt", role: "Lead", [slot]: original };
+ expect(await client.create(request)).toBe(request.newId);
+ const before = (await pool.query("SELECT * FROM application WHERE id = $1", [request.newId])).rows;
+ const receipt = (await pool.query("SELECT * FROM create_request WHERE id = $1", [request.newId])).rows;
+ expect(await client.create({ ...request, [slot]: file("%PDF-1.4 A", 2) })).toBe(request.newId);
+ await expect(client.create({ ...request, [slot]: file("%PDF-1.4 B", 1) })).rejects.toMatchObject({
+ code: "CONFLICT",
+ });
+ expect((await pool.query("SELECT * FROM application WHERE id = $1", [request.newId])).rows).toEqual(before);
+ expect((await pool.query("SELECT * FROM create_request WHERE id = $1", [request.newId])).rows).toEqual(receipt);
+ expect(upload).toHaveBeenCalledTimes(1);
+ expect(upload.mock.calls[0]?.[0].data).toEqual(new Uint8Array(await original.arrayBuffer()));
+ },
+ );
+
+ it("saves a job with its copy once, through the router, whatever the retries, and never one without the other", async () => {
+ const { documentsRouter } = await import("../documents/router");
+ const { resumeService } = await import("../resume/service");
+ const client = createRouterClient(documentsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const base = await resumeService.create({ userId: "alice", name: "Base", tags: [], locale: "en-US" });
+ const job = {
+ company: "Fieldnote",
+ role: "Designer",
+ jobDescription: "Figma and SQL.",
+ sourceUrl: "https://jobs.example.test/fieldnote/designer",
+ };
+ const copies = () =>
+ getDb()
+ .select()
+ .from(tables.resume)
+ .where(eq(tables.resume.userId, "alice"))
+ .then((rows) => rows.filter((row) => row.id !== base));
+ const jobs = () => getDb().select().from(tables.application).where(eq(tables.application.userId, "alice"));
+
+ // A double press sends the same ID twice at once; a lost response is retried with it.
+ const id = randomUUID();
+ const [first, second] = await Promise.all([
+ client.copyForJob({ resumeId: base, application: job, newId: id }),
+ client.copyForJob({ resumeId: base, application: job, newId: id }),
+ ]);
+ const retried = await client.copyForJob({ resumeId: base, application: job, newId: id });
+
+ expect([first, second, retried]).toEqual([id, id, id]);
+ const [savedJob, ...moreJobs] = await jobs();
+ expect(moreJobs).toEqual([]);
+ expect(savedJob).toMatchObject({
+ company: "Fieldnote",
+ status: "saved",
+ resumeId: id,
+ jobDescription: "Figma and SQL.",
+ });
+ expect((await copies()).map((row) => [row.id, row.applicationId, row.name])).toEqual([
+ [id, savedJob?.id, "Base — Fieldnote"],
+ ]);
+ const [baseRow] = await getDb().select().from(tables.resume).where(eq(tables.resume.id, base));
+ expect(baseRow?.applicationId).toBeNull();
+
+ // A job that can't be saved (its posting is already tracked) leaves no copy behind either.
+ await expect(client.copyForJob({ resumeId: base, application: job, newId: randomUUID() })).rejects.toMatchObject({
+ code: "CONFLICT",
+ });
+ expect(await copies()).toHaveLength(1);
+ expect(await jobs()).toHaveLength(1);
+
+ // Another account can't reuse the ID.
+ const bob = createRouterClient(documentsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "bob" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const bobBase = await resumeService.create({ userId: "bob", name: "Bob", tags: [], locale: "en-US" });
+ await expect(bob.copyForJob({ resumeId: bobBase, newId: id })).rejects.toMatchObject({ code: "CONFLICT" });
+
+ // Saving and linking a job is retry-safe the same way.
+ const { applicationsRouter } = await import("./router");
+ const apps = createRouterClient(applicationsRouter, {
+ context: {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never,
+ });
+ const jobId = randomUUID();
+ const linked = { company: "Northwind", role: "Lead", resumeId: base, newId: jobId };
+ expect(await Promise.all([apps.create(linked), apps.create(linked)])).toEqual([jobId, jobId]);
+ expect(await apps.create(linked)).toBe(jobId);
+ expect((await jobs()).filter((row) => row.company === "Northwind")).toHaveLength(1);
+ });
+
+ it("a late retry of a copy respects what happened since, through the router, and expected presses log nothing", async () => {
+ const { documentsRouter } = await import("../documents/router");
+ const { applicationsRouter } = await import("./router");
+ const { resumeService } = await import("../resume/service");
+ const context = {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never;
+ const documents = createRouterClient(documentsRouter, { context });
+ const apps = createRouterClient(applicationsRouter, { context });
+ const newResume = (name: string) => resumeService.create({ userId: "alice", name, tags: [], locale: "en-US" });
+ const purge = async (id: string) => {
+ await documents.trash({ type: "resume", id });
+ await documents.purge({ type: "resume", id });
+ };
+ const snapshot = async () => ({
+ resumes: await getDb().select().from(tables.resume).where(eq(tables.resume.userId, "alice")),
+ jobs: await getDb().select().from(tables.application).where(eq(tables.application.userId, "alice")),
+ receipts: await getDb().select().from(tables.createRequest),
+ });
+ const conflict = { code: "CONFLICT" };
+ const errors = vi.spyOn(console, "error");
+
+ // Concurrent presses of one request: one copy, and the presses that lose the race are answered, not logged.
+ const base = await newResume("Base");
+ const pressed = { resumeId: base, application: { company: "Northwind", role: "Lead" }, newId: randomUUID() };
+ const presses = await Promise.all([1, 2, 3, 4].map(() => documents.copyForJob(pressed)));
+ expect(new Set(presses)).toEqual(new Set([pressed.newId]));
+ expect(errors.mock.calls.filter(([message]) => String(message).includes("Couldn't create the resume"))).toEqual([]);
+
+ // A retry needs only its receipt: the copy is returned after the source was deleted for good.
+ const source = await newResume("Source");
+ const fromSource = { resumeId: source, newId: randomUUID() };
+ expect(await documents.copyForJob(fromSource)).toBe(fromSource.newId);
+ await purge(source);
+ expect(await documents.copyForJob(fromSource)).toBe(fromSource.newId);
+
+ // Resumes and applications share the ID space: a job's ID can't name a copy, nor a resume's a job.
+ const unreceipted = await apps.create({ company: "Contoso", role: "Engineer" });
+ let before = await snapshot();
+ await expect(documents.copyForJob({ resumeId: base, newId: unreceipted })).rejects.toMatchObject(conflict);
+ await expect(apps.create({ company: "Fabrikam", role: "Engineer", newId: base })).rejects.toMatchObject(conflict);
+ expect(await snapshot()).toEqual(before);
+
+ // A copy deleted or moved to Trash since, or one whose new job was deleted since, isn't brought back or re-saved.
+ const deleted = { resumeId: base, application: { company: "Gone Co", role: "Lead" }, newId: randomUUID() };
+ const trashed = { resumeId: base, application: { company: "Bin Co", role: "Lead" }, newId: randomUUID() };
+ const jobless = { resumeId: base, application: { company: "Jobless Co", role: "Lead" }, newId: randomUUID() };
+ for (const request of [deleted, trashed, jobless]) await documents.copyForJob(request);
+ await purge(deleted.newId);
+ await documents.trash({ type: "resume", id: trashed.newId });
+ const joblessJob = (await snapshot()).jobs.find((job) => job.company === "Jobless Co");
+ await apps.delete({ id: joblessJob?.id ?? "" });
+ before = await snapshot();
+ for (const request of [deleted, trashed, jobless])
+ await expect(documents.copyForJob(request)).rejects.toMatchObject(conflict);
+ expect(await snapshot()).toEqual(before);
+
++ // Relinking a new-job copy to a different live job must not satisfy the original receipt.
++ const relocated = { resumeId: base, application: { company: "Original Co", role: "Lead" }, newId: randomUUID() };
++ await documents.copyForJob(relocated);
++ const replacementJob = await apps.create({ company: "Replacement Co", role: "Lead" });
++ await documents.linkApplication({ type: "resume", id: relocated.newId, applicationId: replacementJob });
++ before = await snapshot();
++ await expect(documents.copyForJob(relocated)).rejects.toMatchObject(conflict);
++ expect(await snapshot()).toEqual(before);
++
+ // A retry of a copy for a saved job leaves the job's link alone once the user has linked another resume.
+ const saved = await apps.create({ company: "Linked Co", role: "Lead", resumeId: base });
+ const forSaved = { resumeId: base, applicationId: saved, newId: randomUUID() };
+ expect(await documents.copyForJob(forSaved)).toBe(forSaved.newId);
+ const other = await newResume("Other");
+ await apps.update({ id: saved, resumeId: other });
+ expect(await documents.copyForJob(forSaved)).toBe(forSaved.newId);
+ expect((await read(saved)).resumeId).toBe(other);
+ errors.mockRestore();
+
+ // A job saved with a file and deleted since: its retry is refused before the file is uploaded again.
+ const storage = await import("../storage/service");
+ const upload = vi.mocked(storage.uploadFile).mockResolvedValue({ url: "uploads/cv.pdf" } as never);
+ const withFile = {
+ company: "Filed Co",
+ role: "Lead",
+ newId: randomUUID(),
+ resumeFile: new File(["%PDF-1.4"], "cv.pdf", { type: "application/pdf" }),
+ };
+ expect(await apps.create(withFile)).toBe(withFile.newId);
+ await apps.delete({ id: withFile.newId });
+ await expect(apps.create(withFile)).rejects.toMatchObject(conflict);
+ expect(upload).toHaveBeenCalledTimes(1);
+ });
+
+ it("refuses a client ID reused for another request or held by another row, through the router, changing nothing", async () => {
+ const { documentsRouter } = await import("../documents/router");
+ const { applicationsRouter } = await import("./router");
+ const { resumeService } = await import("../resume/service");
+ const context = {
+ locale: "en-US",
+ reqHeaders: new Headers(),
+ authentication: { user: { id: "alice" }, method: "session", permissions: ["read", "write", "delete"] },
+ } as never;
+ const documents = createRouterClient(documentsRouter, { context });
+ const apps = createRouterClient(applicationsRouter, { context });
+ const base = await resumeService.create({ userId: "alice", name: "Base", tags: [], locale: "en-US" });
+ const contoso = await apps.create({ company: "Contoso", role: "Engineer" });
+ const snapshot = async () => ({
+ resumes: await getDb().select().from(tables.resume).where(eq(tables.resume.userId, "alice")),
+ jobs: await getDb().select().from(tables.application).where(eq(tables.application.userId, "alice")),
+ receipts: await getDb().select().from(tables.createRequest),
+ });
+ const conflict = { code: "CONFLICT" };
+
+ // The base's own ID as the copy's: no copy, and the base is never linked to the job (J2-05).
+ const before = await snapshot();
+ await expect(documents.copyForJob({ resumeId: base, applicationId: contoso, newId: base })).rejects.toMatchObject(
+ conflict,
+ );
+ await expect(
+ documents.copyForJob({ resumeId: base, application: { company: "Fieldnote", role: "Designer" }, newId: base }),
+ ).rejects.toMatchObject(conflict);
+ // An existing job's ID for a different job: the new job is not dropped silently, and nothing is saved.
+ await expect(apps.create({ company: "Different Co", role: "Engineer", newId: contoso })).rejects.toMatchObject(
+ conflict,
+ );
+ expect(await snapshot()).toEqual(before);
+
+ // A copy made under an ID, then that ID with a different request: refused, the copy and its job left as they were.
+ const copyId = randomUUID();
+ const request = { resumeId: base, application: { company: "Fieldnote", role: "Designer" }, newId: copyId };
+ expect(await documents.copyForJob(request)).toBe(copyId);
+ const made = await snapshot();
+ for (const other of [
+ { ...request, application: { company: "Other Co", role: "Designer" } },
+ { ...request, name: "Renamed" },
+ { resumeId: base, applicationId: contoso, newId: copyId },
+ { resumeId: copyId, newId: copyId },
+ ])
+ await expect(documents.copyForJob(other)).rejects.toMatchObject(conflict);
+ await expect(apps.create({ company: "Fieldnote", role: "Designer", newId: copyId })).rejects.toMatchObject(
+ conflict,
+ );
+ expect(await snapshot()).toEqual(made);
+
+ // The same request is still a retry after the copy and its job were edited: same copy, nothing new.
+ const job = made.jobs.find((row) => row.company === "Fieldnote");
+ await documents.rename({ type: "resume", id: copyId, name: "Edited copy" });
+ await apps.update({ id: job?.id ?? "", company: "Fieldnote Ltd" });
+ const edited = await snapshot();
+ expect(await documents.copyForJob(request)).toBe(copyId);
+ expect(await snapshot()).toEqual(edited);
+
+ // Two different requests racing on one ID: one is saved, the other refused, and only one copy and job exist.
+ const raced = randomUUID();
+ const results = await Promise.allSettled([
+ documents.copyForJob({ resumeId: base, application: { company: "Alpha", role: "Lead" }, newId: raced }),
+ documents.copyForJob({ resumeId: base, application: { company: "Beta", role: "Lead" }, newId: raced }),
+ ]);
+ expect(results.map((result) => result.status).sort()).toEqual(["fulfilled", "rejected"]);
+ expect(results.find((result) => result.status === "rejected")).toMatchObject({ reason: conflict });
+ const after = await snapshot();
+ expect(after.resumes.filter((row) => row.id === raced)).toHaveLength(1);
+ expect(after.jobs.filter((row) => row.company === "Alpha" || row.company === "Beta")).toHaveLength(1);
+ expect(after.receipts.filter((row) => row.id === raced)).toHaveLength(1);
+
+ // A copy and a job racing on one ID: only one of them is saved.
+ const shared = randomUUID();
+ const pair = await Promise.allSettled([
+ documents.copyForJob({ resumeId: base, newId: shared }),
+ apps.create({ company: "Gamma", role: "Lead", newId: shared }),
+ ]);
+ expect(pair.map((result) => result.status).sort()).toEqual(["fulfilled", "rejected"]);
+ const held = await snapshot();
+ expect(
+ held.resumes.filter((row) => row.id === shared).length + held.jobs.filter((row) => row.id === shared).length,
+ ).toBe(1);
+ });
+
it("Closed presets derive outcome and retain immutable historical no-response evidence after reopening", async () => {
const ghosted = await addLane("Ghosted", "closed", "no-response");
const id = await applications.create({
diff --cc packages/api/src/features/applications/service.ts
index 4df2c33e5,7b5ba12cd..26ca98a48
--- a/packages/api/src/features/applications/service.ts
+++ b/packages/api/src/features/applications/service.ts
@@@ -14,7 -13,7 +14,8 @@@ import { db } from "@reactive-resume/db
import * as schema from "@reactive-resume/db/schema";
import { lintResumeForAts } from "@reactive-resume/resume/ats";
import { copyCoverLetterStyle } from "@reactive-resume/resume/cover-letter";
+import { latestStageEntryId } from "@reactive-resume/schema/applications/data";
+ import { isDateOnlyFollowUp } from "@reactive-resume/schema/applications/follow-up";
import { canonicalOpportunityUrl } from "@reactive-resume/schema/applications/posting-url";
import { coverLetterSchema } from "@reactive-resume/schema/cover-letter/data";
import { generateId } from "@reactive-resume/utils/string";
@@@ -27,42 -26,8 +28,57 @@@ import { resumeService } from "../resum
import { writeVersion } from "../resume/version-history";
import { getStorageService, uploadFile } from "../storage/service";
import { assertUntrackedPosting, findTrackedPosting } from "./duplicates";
+ import { syncFollowUp } from "./follow-up";
-import { applicationTransitionValues, ensureApplicationPipeline } from "./lanes";
+import { applicationTransitionValues, ensureApplicationPipeline, savedStageOf } from "./lanes";
+
+/**
+ * Saves a new application inside the caller's transaction, under the user's lock: Add application, and Copy for a job
+ * when the job is saved with its copy. Returns its ID. With a client-chosen ID, `request` is what the client asked for:
+ * a retry of the same request returns the application without saving again, and any other use of the ID is refused.
+ */
+export async function insertApplication(
+ tx: DbOrTx,
+ input: {
+ userId: string;
+ id?: string | undefined;
+ request?: unknown;
+ fields: EditableFields & { company: string; role: string };
+ stage?: {
+ status?: ApplicationStatus | undefined;
+ laneId?: string | undefined;
+ closedReason?: ApplicationClosedReason | null | undefined;
+ };
+ at?: Date;
+ },
+) {
+ const id = input.id ?? generateId();
+ const created = input.id ? { table: "application" as const, id, userId: input.userId, request: input.request } : null;
+ await lockUser(tx, input.userId);
+ if (created && (await isRetriedCreate(tx, created))) return id;
+ await assertUntrackedPosting(tx, input.userId, input.fields.sourceUrl);
+ const { values } = await applicationTransitionValues(tx, input.userId, input.stage ?? {}, undefined, input.at);
+ const [row] = await tx
+ .insert(schema.application)
- .values({ id, userId: input.userId, ...input.fields, ...values })
++ .values({
++ id,
++ userId: input.userId,
++ ...input.fields,
++ followUpDateOnly:
++ input.fields.followUpDateOnly ??
++ isDateOnlyFollowUp({
++ followUpAt: input.fields.followUpAt ?? null,
++ followUpDateOnly: input.fields.followUpDateOnly,
++ }),
++ ...values,
++ })
+ .returning();
+ if (created) await recordCreateRequest(tx, created);
- if (row) await recordSentResume(row, tx);
++ if (row) {
++ await recordSentResume(row, tx);
++ if (row.followUpAt) await syncFollowUp(tx, row);
++ }
+ return id;
+}
function timelineDate(value: Date | string): Date {
return value instanceof Date ? value : new Date(value);
diff --cc packages/api/src/features/career/jobs.integration.test.ts
index 590aaa585,37a2c39b7..d9b13d205
--- a/packages/api/src/features/career/jobs.integration.test.ts
+++ b/packages/api/src/features/career/jobs.integration.test.ts
@@@ -125,18 -135,549 +135,551 @@@ describe.skipIf(!databaseUrl)("durable
fixture.email.mockReset().mockResolvedValue(true);
fixture.generate.mockReset().mockResolvedValue({ item: null, answer: null });
await pool.query('TRUNCATE "user" CASCADE');
- await getDb().insert(tables.user).values({
- id: "alice",
- name: "Alice Example",
- email: "[email protected]",
- username: "alice",
- displayUsername: "alice",
- emailVerified: true,
- });
+ await getDb()
+ .insert(tables.user)
+ .values({
+ id: "alice",
+ name: "Alice Example",
+ email: "[email protected]",
+ username: `${schemaName}-alice`,
+ displayUsername: `${schemaName}-alice`,
+ emailVerified: true,
+ });
});
+ it("creates an inactive follow-up when the deployment has no career runner", async () => {
+ vi.stubEnv("VERCEL", "1");
+ const { applicationService } = await import("../applications/service");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "No runner",
+ role: "Engineer",
+ followUpAt: due(),
+ });
+ expect(await jobs.list("alice")).toMatchObject([{ applicationId: id, enabled: false }]);
+ });
+
+ it("enforces the account schedule cap atomically for application follow-ups", async () => {
+ await getDb()
+ .insert(tables.careerSchedule)
+ .values(
+ Array.from({ length: 99 }, (_, index) => ({
+ userId: "alice",
+ kind: "discovery" as const,
+ query: `Search ${index}`,
+ timezone: "UTC",
+ nextRunAt: due(),
+ enabled: false,
+ })),
+ );
+ const { applicationService } = await import("../applications/service");
+ const attempts = await Promise.allSettled(
+ ["One", "Two"].map((company) =>
+ applicationService.create({ userId: "alice", company, role: "Engineer", followUpAt: due() }),
+ ),
+ );
+ expect(attempts.filter((attempt) => attempt.status === "fulfilled")).toHaveLength(1);
+ expect(attempts.find((attempt) => attempt.status === "rejected")).toMatchObject({
+ reason: { code: "BAD_REQUEST" },
+ });
+ expect(await jobs.list("alice")).toHaveLength(100);
+ expect(await getDb().select().from(tables.application)).toHaveLength(1);
+ });
+
+ it.each(["failed", "canceled"] as const)(
+ "owner migration retains older completed logical-day delivery behind newer %s history",
+ async (status) => {
+ const { applicationService } = await import("../applications/service");
+ const day = new Date("2026-10-30T00:00:00Z");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Completed history",
+ role: "Engineer",
+ followUpAt: day,
+ followUpDateOnly: true,
+ });
+ const [schedule] = await jobs.list("alice");
+ if (!schedule) throw new Error("Missing follow-up");
+ await getDb()
+ .update(tables.careerSchedule)
+ .set({ nextRunAt: new Date("2026-10-30T08:00:00Z"), lastQueuedAt: new Date("2026-10-30T08:00:00Z") })
+ .where(eq(tables.careerSchedule.id, schedule.id));
+ await getDb()
+ .insert(tables.careerJob)
+ .values([
+ {
+ id: "older-completed",
+ userId: "alice",
+ scheduleId: schedule.id,
+ dueAt: new Date("2026-10-30T08:00:00Z"),
+ status: "completed",
+ createdAt: new Date("2026-10-30T08:00:00Z"),
+ },
+ {
+ id: "newer-history",
+ userId: "alice",
+ scheduleId: schedule.id,
+ dueAt: new Date("2026-10-30T09:00:00Z"),
+ status,
+ createdAt: new Date("2026-10-30T09:00:00Z"),
+ },
+ ]);
+ const history = await getDb().select().from(tables.careerJob).orderBy(tables.careerJob.id);
+ const sql = await readFile(
+ new URL("../../../../../migrations/20261031160926_rx106_follow_up_owner/migration.sql", import.meta.url),
+ "utf8",
+ );
+ await pool.query(sql.slice(sql.indexOf("--> statement-breakpoint") + "--> statement-breakpoint".length));
+ expect(await jobs.list("alice")).toMatchObject([
+ { applicationId: id, lastQueuedAt: new Date("2026-10-30T09:00:00Z") },
+ ]);
+ expect(await getDb().select().from(tables.careerJob).orderBy(tables.careerJob.id)).toEqual(history);
+ await run();
+ expect(await getDb().select().from(tables.careerJob).orderBy(tables.careerJob.id)).toEqual(history);
+ },
+ );
+
+ it("recovery cancels pending duplicates behind completed history while preserving a distinct explicit time", async () => {
+ const { applicationService } = await import("../applications/service");
+ for (const dateOnly of [true, false]) {
+ const at = new Date(dateOnly ? "2026-10-30T00:00:00Z" : "2026-10-30T16:00:00Z");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: String(dateOnly),
+ role: "Engineer",
+ followUpAt: at,
+ followUpDateOnly: dateOnly,
+ });
+ const schedule = (await jobs.list("alice")).find((row) => row.applicationId === id);
+ if (!schedule) throw new Error("Missing follow-up");
+ await getDb()
+ .update(tables.careerSchedule)
+ .set({ lastQueuedAt: dateOnly ? null : at })
+ .where(eq(tables.careerSchedule.id, schedule.id));
+ await getDb()
+ .insert(tables.careerJob)
+ .values([
+ {
+ id: `done-${dateOnly}`,
+ userId: "alice",
+ scheduleId: schedule.id,
+ dueAt: new Date("2026-10-30T08:00:00Z"),
+ status: "completed",
+ createdAt: new Date("2026-10-30T08:00:00Z"),
+ },
+ {
+ id: `queued-${dateOnly}`,
+ userId: "alice",
+ scheduleId: schedule.id,
+ dueAt: schedule.nextRunAt,
+ status: "queued",
+ createdAt: new Date("2026-10-30T09:00:00Z"),
+ },
+ ]);
+ }
+ const sql = await readFile(
+ new URL(
+ "../../../../../migrations/20261101090000_rx106_follow_up_watermark_recovery/migration.sql",
+ import.meta.url,
+ ),
+ "utf8",
+ );
+ await pool.query(sql);
+ expect(
+ await getDb()
+ .select({ id: tables.careerJob.id, status: tables.careerJob.status })
+ .from(tables.careerJob)
+ .orderBy(tables.careerJob.id),
+ ).toEqual([
+ { id: "done-false", status: "completed" },
+ { id: "done-true", status: "completed" },
+ { id: "queued-false", status: "queued" },
+ { id: "queued-true", status: "canceled" },
+ ]);
+ const rows = await jobs.list("alice");
+ expect(rows.find((row) => row.nextRunAt.getUTCHours() === 9)?.lastQueuedAt).toEqual(
+ new Date("2026-10-30T09:00:00Z"),
+ );
+ expect(rows.find((row) => row.nextRunAt.getUTCHours() === 16)?.lastQueuedAt).toBeNull();
+ const snapshot = await getDb().select().from(tables.careerJob).orderBy(tables.careerJob.id);
+ await pool.query(sql);
+ expect(await getDb().select().from(tables.careerJob).orderBy(tables.careerJob.id)).toEqual(snapshot);
+ });
+
+ it("note-only edits preserve completed follow-up occurrence, email and job history", async () => {
+ fixture.smtp = true;
+ const { applicationService } = await import("../applications/service");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Review Repeat",
+ role: "Engineer",
+ status: "applied",
+ });
+ const at = due();
+ await jobs.save(
+ "alice",
+ careerScheduleInputSchema.parse({
+ kind: "follow-up",
+ applicationId: id,
+ nextRunAt: at,
+ timezone: "UTC",
+ query: "Original note",
+ }),
+ );
+ await getDb().update(tables.careerSchedule).set({ email: true }).where(eq(tables.careerSchedule.applicationId, id));
+ await run();
+ const beforeJobs = await getDb().select().from(tables.careerJob);
+ expect(await jobs.notifications("alice")).toHaveLength(1);
+ await applicationService.update({ userId: "alice", id, followUpNote: "Original note" });
+ await run();
+ expect(await jobs.notifications("alice")).toHaveLength(1);
+ await applicationService.update({ userId: "alice", id, followUpNote: "Corrected note" });
+ const [schedule] = await jobs.list("alice");
+ if (!schedule) throw new Error("Missing completed schedule");
+ await jobs.save("alice", {
+ ...careerScheduleInputSchema.parse(schedule),
+ id: schedule.id,
+ query: "Today note edit",
+ });
+ await run();
+ const notices = await jobs.notifications("alice");
+ const afterJobs = await getDb().select().from(tables.careerJob);
+ expect(fixture.email).toHaveBeenCalledTimes(1);
+ expect(afterJobs).toEqual(beforeJobs);
+ expect(notices).toHaveLength(1);
+ expect(afterJobs.map((row) => row.id)).toContain(beforeJobs[0]?.id);
+ });
+ it("old-client unchanged exact-midnight echo preserves discriminator", async () => {
+ const { applicationService } = await import("../applications/service");
+ await getDb().update(tables.user).set({ timezone: "Pacific/Honolulu" }).where(eq(tables.user.id, "alice"));
+ const at = new Date("2030-01-03T00:00:00Z");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Exact midnight",
+ role: "Engineer",
+ followUpAt: at,
+ followUpDateOnly: false,
+ });
+ await applicationService.update({ userId: "alice", id, followUpAt: at, followUpNote: "Old client note edit" });
+ const application = await applicationService.getById({ userId: "alice", id });
+
+ expect(application.followUpDateOnly).toBe(false);
+ expect((await jobs.list("alice"))[0]?.nextRunAt).toEqual(at);
+ });
+
+ it("logical-day delivery follows account timezone without moving exact times", async () => {
+ const { applicationService } = await import("../applications/service");
+ await getDb().update(tables.user).set({ timezone: "Asia/Tokyo" }).where(eq(tables.user.id, "alice"));
+ const at = new Date("2030-01-03T00:00:00Z");
+ const logical = await applicationService.create({
+ userId: "alice",
+ company: "Logical",
+ role: "Engineer",
+ followUpAt: at,
+ followUpDateOnly: true,
+ });
+ const exact = await applicationService.create({
+ userId: "alice",
+ company: "Exact",
+ role: "Engineer",
+ followUpAt: at,
+ followUpDateOnly: false,
+ });
+ const original = (await jobs.list("alice")).find((row) => row.applicationId === logical);
+ if (!original) throw new Error("Missing logical-day schedule");
+ await getDb()
+ .insert(tables.careerJob)
+ .values({
+ id: "clock-running",
+ userId: "alice",
+ scheduleId: original.id,
+ dueAt: at,
+ status: "running",
+ lease: "clock-lease",
+ leaseUntil: new Date(Date.now() + 60000),
+ });
+ await getDb()
+ .update(tables.careerSchedule)
+ .set({ lastQueuedAt: at })
+ .where(eq(tables.careerSchedule.id, original.id));
+ await getDb().update(tables.user).set({ timezone: "Pacific/Honolulu" }).where(eq(tables.user.id, "alice"));
+ const rows = await jobs.list("alice");
+ expect(rows.find((row) => row.applicationId === logical)).toMatchObject({
+ nextRunAt: new Date("2030-01-03T19:00:00Z"),
+ timezone: "Pacific/Honolulu",
+ lastQueuedAt: null,
+ });
+ expect(rows.find((row) => row.applicationId === exact)).toMatchObject({ nextRunAt: at, timezone: "Asia/Tokyo" });
+ expect(await applicationService.getById({ userId: "alice", id: logical })).toMatchObject({
+ followUpAt: at,
+ followUpDateOnly: true,
+ });
+ expect((await getDb().select().from(tables.careerJob))[0]).toMatchObject({
+ id: "clock-running",
+ status: "canceled",
+ lease: null,
+ });
+ });
+ it("account clock changes retain a completed logical-day occurrence through repeated timezone changes", async () => {
+ const { applicationService } = await import("../applications/service");
+ const raw = new Date();
+ raw.setUTCHours(0, 0, 0, 0);
+ raw.setUTCDate(raw.getUTCDate() - 1);
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Delivered day",
+ role: "Engineer",
+ status: "applied",
+ followUpAt: raw,
+ followUpDateOnly: true,
+ });
+ await run();
+ const history = await getDb().select().from(tables.careerJob);
+ expect(history).toHaveLength(1);
+ expect(history[0]?.status).toBe("completed");
+ for (const timezone of ["Pacific/Honolulu", "Asia/Tokyo", "UTC"]) {
+ await getDb().update(tables.user).set({ timezone }).where(eq(tables.user.id, "alice"));
+ await applicationService.update({ userId: "alice", id, followUpNote: "Updated metadata" });
+ await run();
+ expect(await jobs.notifications("alice")).toHaveLength(1);
+ expect(await getDb().select().from(tables.careerJob)).toEqual(history);
+ }
+ });
+ it.each(["queued", "running"] as const)(
+ "note-only edits retain %s occurrence and lease, then deliver updated note once",
+ async (status) => {
+ fixture.smtp = true;
+ const { applicationService } = await import("../applications/service");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Pending note",
+ role: "Engineer",
+ status: "applied",
+ });
+ const at = due();
+ const saved = await jobs.save(
+ "alice",
+ careerScheduleInputSchema.parse({
+ kind: "follow-up",
+ applicationId: id,
+ nextRunAt: at,
+ timezone: "UTC",
+ query: "Original",
+ email: true,
+ }),
+ );
+ await getDb()
+ .update(tables.careerSchedule)
+ .set({ lastQueuedAt: at })
+ .where(eq(tables.careerSchedule.id, saved.id));
+ await getDb()
+ .insert(tables.careerJob)
+ .values({
+ id: "kept-job",
+ userId: "alice",
+ scheduleId: saved.id,
+ dueAt: at,
+ status,
+ lease: status === "running" ? "kept-lease" : null,
+ leaseUntil: status === "running" ? new Date(Date.now() + 60000) : null,
+ });
+ const before = await getDb().select().from(tables.careerJob);
+ await applicationService.update({ userId: "alice", id, followUpNote: "Latest note" });
+ await jobs.save("alice", { ...careerScheduleInputSchema.parse(saved), id: saved.id, query: "Latest note" });
+ expect(await getDb().select().from(tables.careerJob)).toEqual(before);
+ expect((await jobs.list("alice"))[0]).toMatchObject({ query: "Latest note", lastQueuedAt: at });
+ if (status === "running")
+ await getDb()
+ .update(tables.careerJob)
+ .set({ leaseUntil: expired() })
+ .where(eq(tables.careerJob.id, "kept-job"));
+ await run();
+ await run();
+ expect(await jobs.notifications("alice")).toMatchObject([
+ { key: "kept-job", notice: { type: "followup", note: "Latest note" } },
+ ]);
+ expect(fixture.email).toHaveBeenCalledTimes(1);
+ expect((await getDb().select().from(tables.careerJob))[0]).toMatchObject({ id: "kept-job", status: "completed" });
+ },
+ );
+
+ it("publication reads the note that won under application locks even after an earlier schedule read", async () => {
+ const { applicationService } = await import("../applications/service");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "In-flight metadata",
+ role: "Engineer",
+ status: "applied",
+ });
+ const at = due();
+ await jobs.save(
+ "alice",
+ careerScheduleInputSchema.parse({
+ kind: "follow-up",
+ applicationId: id,
+ nextRunAt: at,
+ timezone: "UTC",
+ query: "Stale snapshot",
+ }),
+ );
+ let release = () => {};
+ let observed = () => {};
+ const barrier = new Promise<void>((resolve) => {
+ release = resolve;
+ });
+ const read = new Promise<void>((resolve) => {
+ observed = resolve;
+ });
+ const original = pool.query;
+ let paused = false;
+ const spy = vi.spyOn(pool, "query").mockImplementation(((...args: unknown[]) => {
+ const result = Reflect.apply(original, pool, args);
+ const query = args[0] as { text?: string } | string;
+ const text = typeof query === "string" ? query : (query.text ?? "");
+ if (!paused && text.includes('from "career_schedule"') && !text.includes("for update")) {
+ paused = true;
+ return Promise.resolve(result).then(async (rows) => {
+ observed();
+ await barrier;
+ return rows;
+ });
+ }
+ return result;
+ }) as typeof pool.query);
+ let running: Promise<unknown> | undefined;
+ try {
+ running = run();
+ await read;
+ expect((await getDb().select().from(tables.careerJob))[0]?.status).toBe("running");
+ await applicationService.update({ userId: "alice", id, followUpNote: "Winning note" });
+ release();
+ await running;
+ expect(await jobs.notifications("alice")).toMatchObject([{ notice: { type: "followup", note: "Winning note" } }]);
+ } finally {
+ release();
+ await running;
+ spy.mockRestore();
+ }
+ });
+ it("timezone writes reject nonexistent logical days atomically", async () => {
+ const { applicationService } = await import("../applications/service");
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Missing local day",
+ role: "Engineer",
+ followUpAt: new Date("2011-12-30T00:00:00Z"),
+ followUpDateOnly: true,
+ });
+ const original = await jobs.list("alice");
+ await expect(
+ getDb().update(tables.user).set({ timezone: "Pacific/Apia" }).where(eq(tables.user.id, "alice")),
+ ).rejects.toThrow();
+ expect((await getDb().select().from(tables.user).where(eq(tables.user.id, "alice")))[0]?.timezone).toBe("UTC");
+ expect(await jobs.list("alice")).toEqual(original);
+ expect((await applicationService.getById({ userId: "alice", id })).followUpDateOnly).toBe(true);
+ });
+
+ it.each(["queued", "running"] as const)(
+ "account clock moves %s logical-day delivery without losing or duplicating occurrence",
+ async (status) => {
+ fixture.smtp = true;
+ const { applicationService } = await import("../applications/service");
+ await getDb().update(tables.user).set({ timezone: "Asia/Tokyo" }).where(eq(tables.user.id, "alice"));
+ const raw = new Date();
+ raw.setUTCHours(0, 0, 0, 0);
+ raw.setUTCDate(raw.getUTCDate() - 1);
+ await applicationService.create({
+ userId: "alice",
+ company: "Moving clock",
+ role: "Engineer",
+ status: "applied",
+ followUpAt: raw,
+ followUpDateOnly: true,
+ followUpNote: "Current note",
+ });
+ const [saved] = await jobs.list("alice");
+ if (!saved) throw new Error("Missing schedule");
+ await getDb()
+ .update(tables.careerSchedule)
+ .set({ email: true, lastQueuedAt: raw })
+ .where(eq(tables.careerSchedule.id, saved.id));
+ await getDb()
+ .insert(tables.careerJob)
+ .values({
+ id: "previous-clock",
+ userId: "alice",
+ scheduleId: saved.id,
+ dueAt: raw,
+ status,
+ lease: status === "running" ? "previous-lease" : null,
+ leaseUntil: status === "running" ? new Date(Date.now() + 60000) : null,
+ });
+ await getDb().update(tables.user).set({ timezone: "Pacific/Honolulu" }).where(eq(tables.user.id, "alice"));
+ await jobs.save("alice", { ...careerScheduleInputSchema.parse(saved), id: saved.id, email: true });
+ expect((await getDb().select().from(tables.application))[0]?.followUpDateOnly).toBe(true);
+ await run();
+ await run();
+ const history = await getDb().select().from(tables.careerJob);
+ expect(history).toHaveLength(2);
+ expect(history.find((row) => row.id === "previous-clock")).toMatchObject({
+ status: "canceled",
+ lease: null,
+ dueAt: raw,
+ });
+ const expected = new Date(raw.getTime() + 19 * 3600000);
+ expect(history.find((row) => row.status === "completed")).toMatchObject({ dueAt: expected });
+ expect(await jobs.notifications("alice")).toMatchObject([{ notice: { type: "followup", note: "Current note" } }]);
+ expect(fixture.email).toHaveBeenCalledTimes(1);
+ await getDb().update(tables.user).set({ timezone: "Asia/Tokyo" }).where(eq(tables.user.id, "alice"));
+ await run();
+ expect(await jobs.notifications("alice")).toHaveLength(1);
+ expect(await getDb().select().from(tables.careerJob)).toEqual(history);
+ },
+ );
+
+ it("Today note-only edits preserve logical-day intent and completed occurrence across account clocks", async () => {
+ const { applicationService } = await import("../applications/service");
+ const raw = new Date();
+ raw.setUTCHours(0, 0, 0, 0);
+ raw.setUTCDate(raw.getUTCDate() - 1);
+ const id = await applicationService.create({
+ userId: "alice",
+ company: "Logical Today note",
+ role: "Engineer",
+ status: "applied",
+ followUpAt: raw,
+ followUpDateOnly: true,
+ });
+ await run();
+ const history = await getDb().select().from(tables.careerJob);
+ const [schedule] = await jobs.list("alice");
+ if (!schedule) throw new Error("Missing logical schedule");
+ await jobs.save("alice", {
+ ...careerScheduleInputSchema.parse(schedule),
+ id: schedule.id,
+ query: "Today-only note",
+ });
+ expect(await applicationService.getById({ userId: "alice", id })).toMatchObject({
+ followUpAt: raw,
+ followUpDateOnly: true,
+ followUpNote: "Today-only note",
+ });
+ await getDb().update(tables.user).set({ timezone: "Pacific/Honolulu" }).where(eq(tables.user.id, "alice"));
+ await jobs.save("alice", {
+ ...careerScheduleInputSchema.parse(schedule),
+ id: schedule.id,
+ query: "Old-clock note edit",
+ });
+ expect(await applicationService.getById({ userId: "alice", id })).toMatchObject({
+ followUpAt: raw,
+ followUpDateOnly: true,
+ followUpNote: "Old-clock note edit",
+ });
+ await run();
+ expect(await jobs.notifications("alice")).toHaveLength(1);
+ expect(await getDb().select().from(tables.careerJob)).toEqual(history);
+ });
+
const due = () => new Date(Date.now() - 60_000);
afterEach(() => vi.unstubAllEnvs());
const expired = () => new Date(Date.now() - 3_600_000);
diff --cc packages/api/src/features/career/service.ts
index 99227858e,e0581fb46..46170a08c
--- a/packages/api/src/features/career/service.ts
+++ b/packages/api/src/features/career/service.ts
@@@ -24,7 -24,8 +24,8 @@@ import { generateId } from "@reactive-r
import { requestRunCancellation } from "../agent/cancellation";
import { aiProvidersService } from "../ai-providers/service";
import { findTrackedPosting } from "../applications/duplicates";
+ import { syncFollowUp } from "../applications/follow-up";
-import { applicationTransitionValues, ensureApplicationPipeline } from "../applications/lanes";
+import { applicationTransitionValues, ensureApplicationPipeline, savedStageOf } from "../applications/lanes";
import { applicationService, assertApplicationVersion, recordSentResume } from "../applications/service";
import { assertSharedDocument, lockUser } from "../documents/ownership";
import { matchPosting } from "./matching";
diff --cc packages/api/src/features/documents/service.ts
index 5e96ddb8d,232a04918..87ea5718d
--- a/packages/api/src/features/documents/service.ts
+++ b/packages/api/src/features/documents/service.ts
@@@ -371,72 -366,23 +371,85 @@@ export const documentsService =
userId: string;
resumeId: string;
applicationId?: string | undefined;
+ application?: (EditableFields & { company: string; role: string }) | undefined;
name?: string | undefined;
+ newId?: string | undefined;
}) => {
- const source = await resumeService.getById({ id: input.resumeId, userId: input.userId });
+ if (input.applicationId && input.application)
+ throw new ORPCError("BAD_REQUEST", { message: "Give an existing job or a new one, not both." });
+
const application = input.applicationId ? await assertOwnedApplication(input.userId, input.applicationId) : null;
+ const { userId, resumeId, applicationId, application: newJob, name, newId } = input;
+ // What this copy is for: a retry must ask for the same, so a reused ID never returns or links another resume.
+ const created = newId && {
+ table: "resume" as const,
+ id: newId,
+ userId,
+ request: { operation: "documents.copyForJob", resumeId, applicationId, application: newJob, name },
+ };
+ let retried = Boolean(created && (await isRetriedCreate(db, created)));
+ let id = retried && created ? created.id : undefined;
+ if (!id) {
+ const source = await resumeService.getById({ id: resumeId, userId });
+ try {
+ id = await resumeService.create({
+ ...(created ? { id: created.id } : {}),
+ userId,
+ name: name ?? suggestCopyName(source.name, application?.company ?? newJob?.company),
+ tags: source.tags,
+ locale: source.data.metadata.page.locale as never,
+ data: source.data,
+ ...(created || newJob
+ ? {
+ inTransaction: async (tx, copyId) => {
+ if (created) await recordCreateRequest(tx, created);
+ if (!newJob) return;
+ const jobId = await insertApplication(tx, { userId, fields: { ...newJob, resumeId: copyId } });
+ await tx.update(schema.resume).set({ applicationId: jobId }).where(eq(schema.resume.id, copyId));
++ if (created)
++ await tx
++ .update(schema.createRequest)
++ .set({ applicationId: jobId })
++ .where(eq(schema.createRequest.id, copyId));
+ },
+ }
+ : {}),
+ });
+ } catch (error) {
+ // Two presses at once: the first made the copy, the second returns it.
+ if (!created || !(await isRetriedCreate(db, created))) throw error;
+ id = created.id;
+ retried = true;
+ }
+ }
- const id = await resumeService.create({
- userId: input.userId,
- name: input.name ?? suggestCopyName(source.name, application?.company),
- tags: source.tags,
- locale: source.data.metadata.page.locale as never,
- data: source.data,
- });
+ const [copy] = retried
+ ? await db
+ .select({ applicationId: schema.resume.applicationId })
+ .from(schema.resume)
+ .where(eq(schema.resume.id, id))
+ : [];
+ // The job saved with this copy is part of what the request made: if it has since been deleted or unlinked, a retry
+ // is refused rather than saving the job again.
- if (retried && newJob && !copy?.applicationId)
- throw new ORPCError("CONFLICT", { message: "The job saved with this copy has since been deleted or unlinked." });
++ if (retried && newJob) {
++ const [receipt] = await db
++ .select({ applicationId: schema.createRequest.applicationId })
++ .from(schema.createRequest)
++ .where(and(eq(schema.createRequest.id, id), eq(schema.createRequest.userId, userId)));
++ if (!receipt?.applicationId || receipt.applicationId !== copy?.applicationId)
++ throw new ORPCError("CONFLICT", {
++ message: "The job saved with this copy has since been deleted, unlinked or changed.",
++ });
++ }
+ // A retry completes only links the first attempt didn't finish; a link the user has changed since stays.
if (application) {
- await update({ userId: input.userId, type: "resume", id }, { applicationId: application.id });
- if (!application.sentResumeVersionId && (!application.resumeId || application.status === "saved"))
- await applicationService.update({ userId: input.userId, id: application.id, resumeId: id });
+ const jobUnchanged = !application.resumeId || application.resumeId === resumeId;
+ if (!retried || (!copy?.applicationId && (jobUnchanged || application.resumeId === id)))
+ await update({ userId, type: "resume", id }, { applicationId: application.id });
+ const linkable = !application.sentResumeVersionId && (!application.resumeId || application.status === "saved");
+ if (linkable && application.resumeId !== id && (!retried || jobUnchanged))
+ await applicationService.update({ userId, id: application.id, resumeId: id });
}
return id;
diff --cc packages/db/src/schema/create-request.ts
index 350294b50,000000000..7312acf36
mode 100644,000000..100644
--- a/packages/db/src/schema/create-request.ts
+++ b/packages/db/src/schema/create-request.ts
@@@ -1,23 -1,0 +1,25 @@@
+import * as pg from "drizzle-orm/pg-core";
+import { user } from "./auth";
+
+/**
+ * The request behind a resume or application saved under an ID the client chose (`newId`), written in the same
+ * transaction as the row. A retry with that ID is only a retry when it is the same request: the same ID sent with
+ * anything else is refused, so a reused ID never returns, links or changes a row it didn't make.
+ */
+export const createRequest = pg.pgTable(
+ "create_request",
+ {
+ /** The client-chosen ID, which is also the ID of the row it created. */
+ id: pg.text("id").primaryKey(),
+ userId: pg
+ .text("user_id")
+ .notNull()
+ .references(() => user.id, { onDelete: "cascade" }),
+ /** SHA-256 of what the request asked for, not of what the row later becomes, so later edits don't matter. */
+ fingerprint: pg.text("fingerprint").notNull(),
++ /** Job created atomically with a copy. Retained after deletion to reject stale retries. */
++ applicationId: pg.text("application_id"),
+ createdAt: pg.timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
+ },
+ (t) => [pg.index().on(t.userId)],
+);
diff --cc packages/resume/src/ats-pdf/jd/match.test.ts
index 5ed242936,31b6cf7bd..622e1ae37
--- a/packages/resume/src/ats-pdf/jd/match.test.ts
+++ b/packages/resume/src/ats-pdf/jd/match.test.ts
@@@ -73,241 -73,3 +73,274 @@@ describe("matchJobDescription", () =>
expect(report.missingTerms).toEqual([]);
});
});
+
+describe("matchJobDescription on a senior posting (J2-04)", () => {
+ const northwind = [
+ "Director of Engineering, Payments Platform — Northwind Labs (Berlin, hybrid)",
+ "",
+ "About the role",
+ "Northwind Labs is hiring a Director of Engineering to lead our Payments Platform group (5 teams, ~45 engineers). You will own reliability, PCI DSS compliance and the roadmap for card acquiring and payouts across 14 European markets.",
+ "",
+ "What you'll do",
+ "- Lead and grow engineering managers and staff engineers across five teams",
+ "- Own availability (99.99%) and incident response for payment rails",
+ "- Partner with Product and Risk on a multi-year platform strategy",
+ "- Drive hiring, career frameworks and performance calibration",
+ "",
+ "What we're looking for",
+ "- 12+ years in software engineering, 5+ years managing managers",
+ "- Experience with payments, fintech or regulated environments (PCI DSS, PSD2)",
+ "- Track record of scaling distributed systems (Kafka, Kubernetes, Go or Java)",
+ "- Excellent stakeholder communication in English; German is a plus",
+ "",
+ "Salary: €165,000 – €190,000 + equity",
+ ].join("\n");
+
+ const parcel = [
+ "Head of Engineering — Parcel & Co. (Lisbon)",
+ "",
+ "Parcel & Co. is hiring a Head of Engineering to report to the CEO and own technical direction for our logistics marketplace.",
+ "",
+ "Requirements",
+ "- 10+ years building products, 3+ years leading engineering teams",
+ "- Background in marketplace or logistics systems, with carrier integrations",
+ "- Make build-vs-buy decisions and improve deployment frequency across multiple teams",
+ "- Coach managers through changes; DORA metrics experience is nice-to-have",
+ "- Python and AWS, event-driven architecture; Portuguese is a plus",
+ "",
+ "What we offer",
+ "- 25 days holiday",
+ "- Relocation support to Lisbon",
+ "- Learning budget",
+ "- Next steps: two interviews",
+ ].join("\n");
+
+ const termsOf = (jobDescription: string, extra: { company?: string; location?: string } = {}) =>
+ matchJobDescription({ jobDescription, resumeText: "Engineering leader.", ...extra }).terms.map((term) => term.term);
+
+ it("leaves out the employer, place, pay, perks and plain numbers", () => {
+ const terms = termsOf(northwind, { company: "Northwind Labs", location: "Berlin (hybrid)" });
+
+ for (const noise of ["northwind", "northwind labs", "labs", "berlin", "hybrid", "equity", "salary"])
+ expect(terms).not.toContain(noise);
+ expect(terms.filter((term) => /(?:^|\s)[~€$]?\d[\d.,]*(?:\+|%|k|m)?(?:\s|$)/.test(term))).toEqual([]);
+ expect(terms).not.toContain("five");
+ });
+
+ it("leaves out single generic verbs and adjectives but keeps real skills", () => {
+ const terms = termsOf(northwind, { company: "Northwind Labs", location: "Berlin (hybrid)" });
+
+ for (const noise of ["drive", "grow", "partner", "lead", "multi-year", "frameworks", "rails"])
+ expect(terms).not.toContain(noise);
+ for (const skill of ["kafka", "kubernetes", "go", "java", "pci-dss", "psd2", "fintech"])
+ expect(terms).toContain(skill);
+ });
+
+ it("finds the employer and place in a pasted posting with no application", () => {
+ const terms = termsOf(parcel);
+
+ for (const noise of ["parcel", "parcel co", "lisbon", "relocation", "days holiday", "holiday", "ceo", "next"])
+ expect(terms).not.toContain(noise);
+ for (const noise of ["changes", "background", "multiple", "nice-to-have", "coach", "head", "improve deployment"])
+ expect(terms).not.toContain(noise);
+ for (const skill of ["python", "aws", "event-driven", "carrier integrations", "dora metrics", "logistics"])
+ expect(terms).toContain(skill);
+ });
+
+ it("counts only the remaining terms", () => {
+ const report = matchJobDescription({ jobDescription: parcel, resumeText: "Python and AWS." });
+
+ expect(report.totalTerms).toBe(report.terms.length);
+ expect(report.matchedCount + report.missingTerms.length).toBe(report.totalTerms);
+ });
+});
+
+describe("matchJobDescription keeps concrete skills while dropping noise", () => {
+ const termsOf = (jobDescription: string, extra: { company?: string; location?: string } = {}) =>
+ matchJobDescription({ jobDescription, resumeText: "Engineer.", ...extra }).terms.map((term) => term.term);
+
+ it("reads a list of tools after a title's dash as skills, not the employer", () => {
+ const terms = termsOf(
+ "Senior Product Designer — Figma, Sketch, SQL\nRequirements\n- Strong Figma and SQL skills\n- Docker for prototypes",
+ );
+
+ for (const skill of ["figma", "sketch", "sql", "docker", "product designer"]) expect(terms).toContain(skill);
+ });
+
+ it("keeps a tool that opens a sentence", () => {
+ const terms = termsOf(
+ "About the role\nDocker builds and SQL tuning are a daily part of this job.\nYou will write SQL every day and maintain Docker images.",
+ );
+
+ expect(terms).toContain("docker");
+ expect(terms).toContain("sql");
+ });
+
+ it("reads an everyday-word skill that opens a bullet as the skill when it stands as an item", () => {
+ const terms = termsOf(
+ "Requirements\n- Go and Kubernetes in production\n- Experience with Spark\n- Next steps: a call",
+ );
+
+ expect(terms).toContain("go");
+ expect(terms).toContain("kubernetes");
+ expect(terms).not.toContain("next");
+ });
+
+ it("keeps multi-word skills that contain a generic word, without leaving fragments", () => {
+ const terms = termsOf(
+ "Requirements\n- Big data and hybrid cloud experience\n- Partner management\n- Technical lead experience",
+ );
+
+ for (const skill of ["big data", "hybrid cloud", "partner management", "technical lead"])
+ expect(terms).toContain(skill);
+ for (const fragment of ["big", "hybrid", "partner", "lead", "data", "cloud", "management", "technical"])
+ expect(terms).not.toContain(fragment);
+ });
+
+ it("hides the employer as a whole name, not word by word", () => {
+ const terms = termsOf("Requirements\n- Data modeling for Data Systems clients\n- SQL", {
+ company: "Data Systems",
+ });
+
+ expect(terms).toContain("data modeling");
+ for (const noise of ["data systems", "systems", "systems clients"]) expect(terms).not.toContain(noise);
+ });
+
+ it.each([
+ ["an em dash", "Staff Engineer — Observability", "observability"],
+ ["a hyphen", "Backend Engineer - Payments", "payments"],
+ ["a bar", "Product Manager | Checkout", "checkout"],
+ ])("reads a title's one-word tail after %s as the field, not the employer", (_name, title, skill) => {
+ const field = skill.charAt(0).toUpperCase() + skill.slice(1);
+ const terms = termsOf(`${title}\nRequirements\n- ${field} tooling in production\n- ${field} systems at scale`);
+
+ expect(terms.some((term) => term.split(" ").includes(skill))).toBe(true);
+ });
+
+ it.each([
+ [
+ "the posting names it as hiring",
+ "Senior Engineer — Fieldnote\nFieldnote is hiring a senior engineer.",
+ "fieldnote",
+ ],
+ ["it carries a company suffix", "Senior Designer — Acme Corp\nRequirements\n- Figma prototyping", "acme corp"],
+ ["the title says at", "Data Engineer at Fieldnote\nRequirements\n- dbt and SQL", "fieldnote"],
+ ])("still leaves out a title's tail when %s", (_name, posting, employer) => {
+ const terms = termsOf(`${posting}\n- Python`);
+
+ expect(terms.filter((term) => term.includes(employer))).toEqual([]);
+ });
+
+ it.each([
+ ["help desk", "Requirements\n- 3+ years of help desk experience\n- Help desk ticketing in ServiceNow", "desk"],
+ [
+ "early childhood",
+ "Requirements\n- Degree in early childhood education\n- Early childhood certification",
+ "childhood",
+ ],
+ [
+ "quarterly business",
+ "Requirements\n- Run quarterly business reviews\n- Quarterly business reviews and renewals",
+ null,
+ ],
+ ["building codes", "Requirements\n- Knowledge of building codes\n- Building codes compliance", null],
+ ])("keeps %s whole when the posting repeats it", (phrase, posting, fragment) => {
+ const terms = termsOf(posting);
+
+ expect(terms).toContain(phrase);
+ if (fragment) expect(terms).not.toContain(fragment);
+ });
+
+ it("drops a verb with its object, leaving no fragment behind", () => {
+ const terms = termsOf("Requirements\n- Help desk experience\n- Drive hiring across the org\n- Python");
+
+ for (const noise of ["desk", "drive hiring", "hiring"]) expect(terms).not.toContain(noise);
+ expect(terms).toContain("python");
+ });
+
+ it.each([
+ "Experience managing Workday",
+ "Hands-on experience running Datadog",
+ "Help scale Temporal",
+ "Strong background building Pulumi",
+ "Experience with modern Dagster",
+ "Senior PagerDuty experience",
+ ])("keeps a named tool after a generic word: %s", (line) => {
+ const tool = (line.split(" ").find((word, index) => index > 0 && /[A-Z]/.test(word)) ?? "").toLowerCase();
+ const terms = termsOf(`Requirements\n- ${line}\n- Communication`);
+
+ expect(terms.some((term) => term.split(/[\s-]/).includes(tool))).toBe(true);
+ });
+
+ it("doesn't take a capital at a line start or in a Title Case heading as naming the word", () => {
+ const offer = termsOf(
+ "Requirements\n- Help desk experience\n- Python\n\nWhat we offer\n- Desk budget for your home office",
+ );
+ const heading = termsOf("Senior Engineer at Fieldnote\nRequirements\n- Python and SQL");
+
+ expect(offer).not.toContain("desk");
+ expect(heading).not.toContain("engineer");
+ });
+
+ it("reads a title's tail as the employer when the posting says the job is at it", () => {
+ const terms = termsOf("Staff Engineer — Fieldnote\nAt Fieldnote, we build tools for field teams.\n- Python");
+
+ expect(terms.filter((term) => term.includes("fieldnote"))).toEqual([]);
+ });
+
+ it("doesn't read a team the posting asks you to join as the employer", () => {
+ const terms = termsOf(
+ "Senior Engineer — Search\nYou will join Search, a team of eight.\n- Search relevance tuning\n- Search ranking",
+ );
+
+ expect(terms.some((term) => term.split(" ").includes("search"))).toBe(true);
+ });
+
+ it("leaves out the company and city of a two-part details line", () => {
+ const terms = termsOf("Fieldnote · Lisbon\nRequirements\n- Python and SQL");
+
+ for (const noise of ["fieldnote", "lisbon"]) expect(terms).not.toContain(noise);
+ expect(terms).toContain("python");
+ });
+});
+
+it("a Help Desk term never suppresses the distinct named tool Zendesk", () => {
+ const report = matchJobDescription({
+ jobDescription: "Manage our Help Desk team of six\nExperience with Zendesk",
+ resumeText: "Zendesk",
+ });
+ expect(report.matchedTerms).toContain("zendesk");
+});
++
++describe("posting boundaries and known employers", () => {
++ const terms = (jobDescription: string, company?: string) => {
++ const report = matchJobDescription({ jobDescription, resumeText: "", company });
++ return [...report.missingTerms, ...report.matchedTerms];
++ };
++ it("keeps equity research requirements", () => {
++ expect(terms("Requirements\nExperience in equity research and financial modeling.")).toContain(
++ "financial modeling",
++ );
++ });
++ it("keeps skills after required skills and get-to-do headings", () => {
++ for (const heading of ["Required skills", "What you'll get to do"])
++ expect(terms(`Benefits\nPaid vacation\n${heading}\nKubernetes and Terraform`)).toEqual(
++ expect.arrayContaining(["kubernetes", "terraform"]),
++ );
++ });
++ it("keeps a field after a role's middle dot", () => {
++ expect(terms("Senior Engineer · Observability\nBuild reliable services with Observability.")).toContain(
++ "observability",
++ );
++ });
++ it("subsumes a standalone token of a canonical hyphenated skill", () => {
++ const selected = terms("Requirements\nLead generation and generation expertise.");
++ expect(selected).toContain("lead-generation");
++ expect(selected).not.toContain("generation");
++ });
++ it.each(["Google Cloud", "Amazon Web Services"])("excludes explicitly supplied employer %s", (company) => {
++ const selected = terms(`${company} is hiring.\nRequirements\n${company}, Kubernetes and Terraform`, company);
++ expect(selected).not.toContain(company === "Google Cloud" ? "google-cloud" : "aws");
++ expect(selected).toContain("kubernetes");
++ });
++});
diff --cc packages/resume/src/ats-pdf/jd/match.ts
index 38957447c,72b81a19b..e8ca6b6a4
--- a/packages/resume/src/ats-pdf/jd/match.ts
+++ b/packages/resume/src/ats-pdf/jd/match.ts
@@@ -42,240 -38,8 +42,251 @@@ export type JdMatchOptions =
type JdTerm = { term: string; count: number; inRequirements: boolean; words: number; isSkill: boolean };
-function collectJdTerms(jobDescription: string): Map<string, JdTerm> {
- const runs = splitIntoRuns(normalizeForMatching(jobDescription));
+/**
+ * Lines about pay and perks describe what the job offers, not what it asks for: "30 days holiday" and "+ equity" are
+ * not skills, and a line naming one of these is left out whole.
+ */
+const OFFER_LINE =
+ /\b(?:salary|salaries|compensation|equity|bonus(?:es)?|holidays?|vacation|pto|paid time off|relocation|pension|401\s?\(?k\)?|perks?|stipend|parental leave|per (?:year|annum|month|hour)|days? (?:of )?(?:annual )?leave)\b/;
+/** A heading that opens the offer's part of a posting; its lines are skipped until a heading about the work. */
+const OFFER_HEADING =
- /^(?:what we offer|what you(?:'| wi)ll get|benefits|perks|compensation|our offer|why (?:join|work)|what'?s in it for you|the package|pay and benefits|salary)\b/;
++ /^(?:what we offer|what you(?:'| wi)ll get$|benefits|perks|compensation|our offer|why (?:join|work)|what'?s in it for you|the package|pay and benefits|salary)\b/;
+const WORK_HEADING =
- /^(?:about (?:the role|you|the team|the job)|the role|responsibilities|what you(?:'| wi)ll (?:do|need|bring)|requirements|qualifications|who you are|your profile|must[- ]haves?|nice[- ]to[- ]haves?)\b/;
++ /^(?:about (?:the role|you|the team|the job)|the role|responsibilities|required skills|what you(?:'| wi)ll (?:do|need|bring|get to do)|requirements|qualifications|who you are|your profile|must[- ]haves?|nice[- ]to[- ]haves?)\b/;
+const BULLET = /^[\s•▪◦‣·*-]+/;
+
+/** The posting's lines that say what the job asks for: offer lines and offer sections are dropped. */
+function workLines(posting: string): string[] {
+ const lines: string[] = [];
+ let inOffer = false;
+
+ for (const line of posting.split(/\r?\n/)) {
+ const bare = line.replace(BULLET, "").trim();
+ if (!bare) continue;
+
+ const text = normalizeForMatching(bare);
+ const heading = !BULLET.test(line) && text.split(/\s+/).length <= 6 && !/[.!?]$/.test(text);
+ if (heading && OFFER_HEADING.test(text)) {
+ inOffer = true;
+ continue;
+ }
+ if (heading && (WORK_HEADING.test(text) || REQUIREMENTS_HEADING.test(text))) inOffer = false;
- if (inOffer || OFFER_LINE.test(text)) continue;
++ if (
++ inOffer ||
++ (OFFER_LINE.test(text) &&
++ !/\b(?:experience|expertise|skills?|knowledge|proficien|research|analysis|manage|build|develop|design|responsib|require)/.test(
++ text,
++ ))
++ )
++ continue;
+
+ lines.push(line);
+ }
+
+ return lines;
+}
+
+const NAME = String.raw`[A-Z][\w'’&.-]*(?:\s+(?:&\s+)?[A-Z][\w'’&.-]*){0,3}`;
+/** "Fieldnote is hiring…", "Parcel & Co. is looking…": the subject of these is the employer. */
+const EMPLOYER_SENTENCE = new RegExp(
+ String.raw`(?:^|\n|[.!?]\s+)(${NAME})\s+(?:is|are)\s+(?:hiring|looking|recruiting)\b`,
+ "g",
+);
+
+/**
+ * A header part reads as a name: one to four capitalised words, no list commas, and no word a skill. "Figma, Sketch,
+ * SQL" after a title's dash is a list of tools, not an employer.
+ */
+function readsAsName(text: string): boolean {
+ const name = text.trim();
+ if (!name || name.includes(",")) return false;
+ const words = name.split(/\s+/);
+ if (words.length > 4 || !words.every((word) => word === "&" || /^[A-Z0-9][\w'’&.-]*$/.test(word))) return false;
+ return !tokenize(normalizeForMatching(name)).some(isKnownSkillForm);
+}
+
+/** "Parcel & Co.", "Acme Corp", "Northwind Labs": the name says it is a company. */
+const COMPANY_SUFFIX =
+ /\s(?:&\s*Co\.?|Co\.?|Inc\.?|Ltd\.?|LLC|LLP|PLC|plc|Corp\.?|Corporation|GmbH|AG|S\.?A\.?|B\.?V\.?|Labs|Technologies|Limited)$/;
+
+const escapeRegExp = (text: string) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
+
+/**
+ * Names a pasted posting gives the employer and the place, without an application to say so: the subject of "X is
+ * hiring", a heading's "Role at Company (City)", or a "Company · City · Full-time" line near the top.
+ *
+ * A title's tail after a dash or bar is as often the team or field ("Staff Engineer — Observability") as the
+ * employer, so it counts only with a second sign: a company suffix, or the posting naming it as the employer
+ * elsewhere ("X is hiring", "at X"). "Join X" isn't one: "join Search, a team of eight". Only a part that reads as a
+ * name counts, so a guess never hides a skill.
+ */
+function guessEmployerAndPlace(posting: string): string[] {
+ const subjects = [...posting.matchAll(EMPLOYER_SENTENCE)].map((match) => (match[1] ?? "").trim());
+ const namedAsEmployer = (name: string) =>
+ COMPANY_SUFFIX.test(name) ||
+ subjects.includes(name) ||
+ new RegExp(String.raw`\b[Aa]t\s+${escapeRegExp(name)}(?![\w'’-])`).test(posting);
+ const names = [...subjects];
+
+ for (const line of posting
+ .split(/\r?\n/)
+ .filter((entry) => entry.trim())
+ .slice(0, 3)) {
+ const atTail = line.split(/\s+(?:at|@)\s+/);
+ const header = atTail.length > 1 ? atTail : line.split(/\s+[—–|]\s+|\s+-\s+/);
+ if (header.length > 1) {
+ const tail = header.at(-1) ?? "";
+ const name = tail.replace(/\(.*?\)/g, "").trim();
+ if (atTail.length > 1 || namedAsEmployer(name)) names.push(name);
+ // "(Lisbon)", "(Berlin, hybrid)" after a title: the place.
+ for (const match of tail.matchAll(/\(([^)]*)\)/g)) names.push(...(match[1] ?? "").split(/[,/]/));
+ }
+ // "Fieldnote · Lisbon · Full-time": a job's details line, company first.
+ const parts = line.split(/\s+·\s+/);
- if (parts.length > 1) names.push(parts[0] ?? "", (parts[1] ?? "").replace(/\(.*?\)/g, ""));
++ if (
++ parts.length > 1 &&
++ !/\b(?:engineer|developer|designer|manager|director|analyst|lead|senior|staff)\b/i.test(parts[0] ?? "")
++ )
++ names.push(parts[0] ?? "", (parts[1] ?? "").replace(/\(.*?\)/g, ""));
+ }
+
+ return names.filter(readsAsName);
+}
+
+/**
+ * The employer's name and the place, as whole phrases no term may contain or overlap: "Data Systems" hides "data
+ * systems", never "data modeling".
+ *
+ * ponytail: a later bare "Northwind" for "Northwind Labs" still counts; matching name prefixes needs a way to tell
+ * them from ordinary words ("Data" of "Data Systems").
+ */
+function excludedPhrases(posting: string, options: JdMatchOptions): string[][] {
+ const sources = [
+ options.company ?? "",
+ ...(options.location ?? "").split(/[,()/·|]/),
+ ...guessEmployerAndPlace(posting),
+ ];
+ const phrases: string[][] = [];
+
+ for (const source of sources) {
+ const tokens = tokenize(normalizeForMatching(source));
- if (tokens.length === 0 || isKnownSkillForm(tokens.join(" "))) continue;
++ if (tokens.length === 0 || (source !== options.company && isKnownSkillForm(tokens.join(" ")))) continue;
+ // A one-word place such as "Remote" or "hybrid" is already noise, and hiding it would split "hybrid cloud".
+ if (tokens.length === 1 && isGenericWord(tokens[0] ?? "")) continue;
+ phrases.push(tokens);
+ }
+
+ return phrases;
+}
+
+/** The parts of a run left once every excluded phrase is cut out of it. */
+function cutPhrases(tokens: readonly string[], phrases: readonly string[][]): string[][] {
+ const pieces: string[][] = [];
+ let current: string[] = [];
+
+ for (let index = 0; index < tokens.length;) {
+ const hit = phrases.find((phrase) => phrase.every((token, offset) => tokens[index + offset] === token));
+ if (hit) {
+ if (current.length > 0) pieces.push(current);
+ current = [];
+ index += hit.length;
+ continue;
+ }
+ current.push(tokens[index] ?? "");
+ index += 1;
+ }
+ if (current.length > 0) pieces.push(current);
+
+ return pieces;
+}
+
+/**
+ * Skills whose name is also an everyday word count only when the posting writes them as a name: "Go or Java" is the
+ * language, "payment rails" and "next steps" are not Rails or Next.js. A capitalised use away from the start of a
+ * sentence, or an unambiguous spelling ("Next.js", "Ruby on Rails"), settles it.
+ */
+const EVERYDAY_WORD_SKILLS: Readonly<Record<string, RegExp>> = {
+ next: /next\.?js/i,
+ rails: /ruby|\bror\b/i,
+ go: /golang/i,
+ safe: /scaled agile/i,
+ rest: /restful|rest api|\bREST\b/,
+ shell: /\bbash\b|shell script/i,
+ lambda: /aws lambda/i,
+ spark: /apache spark|pyspark/i,
+};
+
+/** The word's spellings in the posting that carry a capital ("Workday", "PagerDuty", "AWS"), with what comes before. */
+function* capitalisedUses(posting: string, word: string) {
+ const escaped = word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
+ for (const match of posting.matchAll(new RegExp(String.raw`(?<![\p{L}\p{N}])${escaped}(?![\p{L}\p{N}])`, "giu")))
+ if (match[0] !== match[0].toLowerCase()) yield { match, before: posting.slice(0, match.index).trimEnd() };
+}
+
+/**
+ * A capital away from the start of a line or sentence: the posting writes the word as a name ("managing Workday").
+ * With `inProse`, only in a line with a lower-case word of four letters or more, since a Title Case heading
+ * capitalises every word but its short connectors ("Senior Engineer at Fieldnote").
+ */
+function writesCapitalisedMidSentence(posting: string, word: string, inProse = false): boolean {
+ for (const { match, before } of capitalisedUses(posting, word)) {
+ if (!before || /[.!?:\n•*-]$/.test(before)) continue;
+ const line = posting.slice(posting.lastIndexOf("\n", match.index) + 1).split("\n", 1)[0] ?? "";
+ if (!inProse || /(?:^|\s)\p{Ll}{4}/u.test(line)) return true;
+ }
+ return false;
+}
+
+/**
+ * Whether an everyday-word skill is written as the skill: capitalised away from the start of a line or sentence, or
+ * at the start standing alone as an item ("- Go and Kubernetes", "Go, Java or Rust"), not "Next steps".
+ */
+function writesAsName(posting: string, word: string): boolean {
+ const forms = new Set([word.charAt(0).toUpperCase() + word.slice(1), word.toUpperCase()]);
+ for (const { match, before } of capitalisedUses(posting, word)) {
+ if (!forms.has(match[0])) continue;
+ if (before && !/[.!?:\n•*-]$/.test(before)) return true;
+ if (/^\s*(?:[,/&(]|(?:and|or)\b|\r?\n|$)/.test(posting.slice(match.index + match[0].length))) return true;
+ }
+ return false;
+}
+
+function skillJudge(posting: string) {
+ const settled = new Map<string, boolean>();
+
+ return (phrase: string) => {
+ if (!isKnownSkillForm(phrase)) return false;
+ const spelling = EVERYDAY_WORD_SKILLS[phrase];
+ if (!spelling) return true;
+
+ let named = settled.get(phrase);
+ if (named === undefined) {
+ named = spelling.test(posting) || writesAsName(posting, phrase);
+ settled.set(phrase, named);
+ }
+ return named;
+ };
+}
+
+function collectJdTerms(options: JdMatchOptions): Map<string, JdTerm> {
+ const posting = options.jobDescription;
+ const excluded = excludedPhrases(posting, options);
+ const isSkill = skillJudge(posting);
+ const runs = workLines(posting).flatMap((line) => splitIntoRuns(normalizeForMatching(line)));
+ const piecesOf = runs.map((run) => cutPhrases(tokenize(run), excluded));
+ const pairs = new Map<string, number>();
+ for (const piece of piecesOf.flat())
+ for (let index = 0; index + 1 < piece.length; index += 1) {
+ const pair = `${piece[index]} ${piece[index + 1]}`;
+ pairs.set(pair, (pairs.get(pair) ?? 0) + 1);
+ }
+ const isRepeated = (phrase: string) => (pairs.get(phrase) ?? 0) > 1;
+ const names = new Map<string, boolean>();
+ const isName = (word: string) => {
+ let named = names.get(word);
+ if (named === undefined) names.set(word, (named = writesCapitalisedMidSentence(posting, word, true)));
+ return named;
+ };
const terms = new Map<string, JdTerm>();
let inRequirements = false;
@@@ -360,10 -122,8 +371,12 @@@ function selectTerms(entries: readonly
for (const entry of ranked) {
if (selected.length >= maxTerms) break;
++ const phrase = (term: string) => term.replace(/-/g, " ");
const subsumed = selected.some(
- (chosen) => (chosen.term.includes(entry.term) || entry.term.includes(chosen.term)) && entry.count <= chosen.count,
+ (chosen) =>
- (` ${chosen.term} `.includes(` ${entry.term} `) || ` ${entry.term} `.includes(` ${chosen.term} `)) &&
- entry.count <= chosen.count,
++ (` ${phrase(chosen.term)} `.includes(` ${phrase(entry.term)} `) ||
++ ` ${phrase(entry.term)} `.includes(` ${phrase(chosen.term)} `)) &&
++ (entry.count <= chosen.count || (chosen.isSkill && !entry.isSkill)),
);
if (subsumed) continue;
diff --cc packages/resume/src/ats/merge.ts
index 4dce2ad2c,000000000..b91aef3a3
mode 100644,000000..100644
--- a/packages/resume/src/ats/merge.ts
+++ b/packages/resume/src/ats/merge.ts
@@@ -1,83 -1,0 +1,91 @@@
+import type { AtsReport } from "./types";
+import type { ResumeData } from "@reactive-resume/schema/resume/data";
+import { escapeHtml, stripHtml } from "@reactive-resume/utils/string";
+
+/** The fields an import can push a sentence into, in reading order. */
+const HEADING_FIELDS = ["company", "position", "school", "degree", "area", "grade", "location"] as const;
+
+const decodeToken = (token: string) => token.replace(/~1/g, "/").replace(/~0/g, "~");
+
+/**
+ * Fields a merge has nowhere to put: dates of any kind, a link, roles. An entry carrying one is never merged, so
+ * nothing the user wrote is silently dropped.
+ */
+export function carriesUnmergedFields(entry: Readonly<Record<string, unknown>>): boolean {
+ const filled = (value: unknown) => typeof value === "string" && value.trim().length > 0;
+ const website = entry.website as { url?: unknown; label?: unknown } | undefined;
+ const dates = entry.dates as { start?: unknown; end?: unknown; present?: unknown; raw?: unknown } | undefined;
+
+ return (
+ filled(website?.url) ||
+ filled(website?.label) ||
+ filled(entry.period) ||
+ Boolean(dates?.start || dates?.end || dates?.present === true || filled(dates?.raw)) ||
+ (Array.isArray(entry.roles) && entry.roles.length > 0)
+ );
+}
+
+/**
+ * Folds an entry the import split off back into the visible entry above it: its heading text and description are
+ * appended to that entry's description as one paragraph, and the entry is removed. `pointer` names the entry
+ * (`/sections/experience/items/3`), as a FRAGMENTED_ENTRY finding does. Returns false, changing nothing, when there
+ * is nothing above or the entry carries a field the merge would lose.
+ */
+export function mergeIntoPreviousEntry(data: ResumeData, pointer: string): boolean {
+ const tokens = pointer.split("/").slice(1).map(decodeToken);
+ const index = Number(tokens.pop());
+ if (tokens.pop() !== "items" || !Number.isInteger(index)) return false;
+
+ let node: unknown = data;
+ for (const token of tokens) node = (node as Record<string, unknown> | undefined)?.[token];
+ const items = (node as { items?: unknown } | undefined)?.items;
+ if (!Array.isArray(items)) return false;
+
+ const entry = items[index] as Record<string, unknown> | undefined;
+ let previousIndex = index - 1;
+ while (previousIndex >= 0 && (items[previousIndex] as { hidden?: unknown }).hidden === true) previousIndex -= 1;
+ const previous = items[previousIndex] as Record<string, unknown> | undefined;
+ if (!entry || !previous || carriesUnmergedFields(entry)) return false;
+
+ const heading = escapeHtml(
+ HEADING_FIELDS.map((field) => entry[field])
+ .filter((value): value is string => typeof value === "string" && value.trim().length > 0)
+ .map((value) => value.trim())
+ .join(" "),
+ );
+ const description = typeof entry.description === "string" ? entry.description.trim() : "";
+ const hasText = stripHtml(description).trim().length > 0;
+ const moved = !heading
+ ? hasText
+ ? description
+ : ""
+ : !hasText
+ ? `<p>${heading}</p>`
+ : description.startsWith("<p>")
+ ? `<p>${heading} ${description.slice(3)}`
+ : `<p>${heading}</p>${description}`;
+
+ const before = typeof previous.description === "string" ? previous.description : "";
- previous.description = `${before}${moved}`;
++ // Rejoin a split sentence inside its final paragraph/bullet, rather than adding a new block.
++ const tail = before.match(/^(.*?)(<\/(?:p|li)>)(\s*(?:<\/(?:ul|ol)>)?\s*)$/s);
++ const lastText = stripHtml(before).trim();
++ const continuation = lastText.length > 0 && !/[.!?…"”)]$/.test(lastText);
++ const firstParagraph = moved.match(/^<p>(.*?)<\/p>(.*)$/s);
++ previous.description =
++ tail && continuation && firstParagraph
++ ? `${tail[1]?.trimEnd()} ${firstParagraph[1]}${tail[2]}${tail[3]}${firstParagraph[2]}`
++ : `${before}${moved}`;
+ items.splice(index, 1);
+ return true;
+}
+
+export type AtsVerdict = "clean" | "mostly" | "hard";
+
+/**
+ * The headline over Check's score. A resume with entries split off by an import is never "Reads cleanly", however few
+ * rules that costs: the split itself is what a reader and a parser both trip on.
+ */
+export function atsVerdict(report: Pick<AtsReport, "score" | "findings">): AtsVerdict {
+ if (report.score >= 80 && !report.findings.some((finding) => finding.code === "FRAGMENTED_ENTRY")) return "clean";
+ return report.score >= 50 ? "mostly" : "hard";
+}
diff --cc packages/resume/src/ats/rules.test.ts
index f739ac48d,2f4eca619..95ad64d87
--- a/packages/resume/src/ats/rules.test.ts
+++ b/packages/resume/src/ats/rules.test.ts
@@@ -421,302 -421,3 +421,339 @@@ describe("sample resume", () =>
expect(lint(sampleResumeData).findings.filter((item) => item.severity === "error")).toEqual([]);
});
});
+
+describe("entries that are part of the one above (J2-02)", () => {
+ const fragment = (id: string, company: string, description = "") =>
+ experienceItem({ id, company, position: "", location: "", period: "", description });
+
+ const imported = () =>
+ makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "studio", company: "Synthetic Studio 1", period: "2020 - Present" }),
+ fragment(
+ "f1",
+ "Project 1.3: Built accessible services for global customers, mentored four engineers, and reduced processing time by",
+ "<p>25%. Tracked reliability and customer feedback.</p>",
+ ),
+ fragment("f2", "and kept the on-call rotation healthy,", "<p>Cut pages by half.</p>"),
+ ];
+ });
+
+ it("reports a sentence split off a dated entry as part of it, not as an entry missing dates", () => {
+ const findings = lint(imported()).findings;
+
+ expect(findings.filter((item) => item.code === "FRAGMENTED_ENTRY").map((item) => item.pointer)).toEqual([
+ "/sections/experience/items/1",
+ "/sections/experience/items/2",
+ ]);
+ expect(findings.map((item) => item.code)).not.toContain("EMPTY_PERIOD");
+ });
+
+ it("still asks for dates on a real entry that has none", () => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a" }),
+ experienceItem({ id: "b", company: "Freelance", position: "Consultant", period: "" }),
+ ];
+ });
+
+ expect(codesOf(data)).toContain("EMPTY_PERIOD");
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ });
+
+ it("never calls the resume clean while a fragment is open", () => {
+ const report = lint(imported());
+
+ expect(report.score).toBeGreaterThanOrEqual(80);
+ expect(atsVerdict(report)).toBe("mostly");
+ expect(atsVerdict(lint(makeResume()))).toBe("clean");
+ });
+
+ it("merges a fragment into the entry above, keeping its words in order", () => {
+ const data = imported();
+ mergeIntoPreviousEntry(data, "/sections/experience/items/1");
+
+ expect(data.sections.experience.items.map((item) => item.id)).toEqual(["studio", "f2"]);
+ expect(data.sections.experience.items[0]?.description).toBe(
+ "<p>Designed and shipped the difference engine.</p><p>Project 1.3: Built accessible services for global customers, mentored four engineers, and reduced processing time by 25%. Tracked reliability and customer feedback.</p>",
+ );
+ });
+
+ it("escapes the heading text it moves into the description", () => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description: "" }),
+ fragment("b", "Shipped <script> & more to customers in twelve markets across the region by"),
+ ];
+ });
+ mergeIntoPreviousEntry(data, "/sections/experience/items/1");
+
+ expect(data.sections.experience.items[0]?.description).toBe(
+ "<p>Shipped &lt;script&gt; &amp; more to customers in twelve markets across the region by</p>",
+ );
+ });
+
+ it.each([
+ ["eBay", { company: "eBay", position: "Senior Product Manager", location: "" }],
+ [
+ "a long senior title",
+ {
+ company: "Contoso",
+ position: "Senior Vice President of Global Engineering Operations",
+ location: "New York, NY",
+ },
+ ],
+ [
+ "a board seat",
+ {
+ company: "Northwind Children's Hospital Foundation",
+ position: "Advisory Board Member and Treasurer",
+ location: "Seattle, WA",
+ },
+ ],
+ ])("treats %s without dates as a real entry that needs dates", (_name, heading) => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a" }),
+ experienceItem({ id: "b", ...heading, period: "", description: "<p>Ran the marketplace roadmap</p>" }),
+ ];
+ });
+
+ expect(codesOf(data)).toContain("EMPTY_PERIOD");
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ });
+
+ it("treats an undated degree as a real entry that needs dates", () => {
+ const data = makeResume((resume) => {
+ const school = { hidden: false, website: { url: "", label: "", inlineLink: false }, description: "", grade: "" };
+ resume.sections.education.items = [
+ {
+ ...school,
+ id: "e1",
+ school: "Stanford University",
+ degree: "Executive Program",
+ area: "Leadership",
+ location: "",
+ period: "2021",
+ },
+ {
+ ...school,
+ id: "e2",
+ school: "Massachusetts Institute of Technology",
+ degree: "Master of Science",
+ area: "Electrical Engineering and Computer Science",
+ location: "Cambridge, MA",
+ period: "",
+ },
+ ];
+ resume.metadata.layout.pages = [{ fullWidth: false, main: ["experience", "education"], sidebar: [] }];
+ });
+
+ expect(lint(data).findings.map((item) => `${item.code} ${item.pointer}`)).toContain(
+ "EMPTY_PERIOD /sections/education/items/1/period",
+ );
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ });
+
+ it("reads a long heading as the rest of a sentence when the entry above stops mid-sentence", () => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description: "<p>Reduced processing time by 25% while keeping</p>" }),
+ fragment("b", "uptime above target for every regional customer team across the whole platform group"),
+ ];
+ });
+
+ expect(codesOf(data)).toContain("FRAGMENTED_ENTRY");
+ });
+
+ const unpunctuatedBullets =
+ "<ul><li>Led the platform migration to Kubernetes</li><li>Grew the team from 8 to 40 engineers</li></ul>";
+ const elevenWordTitle = "Senior Vice President of Global Engineering and Product Operations for EMEA";
+
+ it.each([
+ ["an 11-word title", { company: "Contoso", position: elevenWordTitle }],
+ ["a lower-case brand", { company: "eBay Marketplace Platform Group", position: "Senior Product Manager" }],
+ ["a lower-case title", { company: "Contoso", position: "iOS platform engineering lead" }],
+ ])("treats %s after bullets without full stops as a real entry that needs dates", (_name, heading) => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description: unpunctuatedBullets }),
+ experienceItem({ id: "b", ...heading, location: "", period: "", description: "<p>Ran the roadmap</p>" }),
+ ];
+ });
+
+ expect(codesOf(data)).toContain("EMPTY_PERIOD");
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ expect(atsVerdict(lint(data))).toBe("clean");
+ });
+
+ it.each([
+ ["a dangling word", "<ul><li>Led the migration</li><li>Reduced processing time by</li></ul>"],
+ ["a comma", "<ul><li>Led the migration</li><li>Cut costs, grew the team,</li></ul>"],
+ ["a dash", "<p>Rebuilt the billing platform \u2014</p>"],
+ ])("still reads a long or lower-case heading as the rest of a bullet that stops on %s", (_name, description) => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description }),
+ fragment("b", "uptime above target for every regional customer team"),
+ ];
+ });
+
+ expect(codesOf(data)).toContain("FRAGMENTED_ENTRY");
+ expect(codesOf(data)).not.toContain("EMPTY_PERIOD");
+ });
+
+ it("keeps a title of up to 10 words after a cut bullet, and reads 11 as the rest of it", () => {
+ const after = (position: string) =>
+ makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description: "<ul><li>Reduced processing time by</li></ul>" }),
+ experienceItem({ id: "b", company: "Contoso", position, location: "", period: "", description: "" }),
+ ];
+ });
+
+ expect(codesOf(after(elevenWordTitle.replace(" for EMEA", " EMEA")))).not.toContain("FRAGMENTED_ENTRY");
+ expect(codesOf(after(elevenWordTitle))).toContain("FRAGMENTED_ENTRY");
+ expect(codesOf(after("Senior Platform Engineer"))).not.toContain("FRAGMENTED_ENTRY");
+ expect(codesOf(after("platform engineer for payments"))).toContain("FRAGMENTED_ENTRY");
+ });
+
+ it.each([
+ ["a link", { website: { url: "https://example.com/case-study", label: "Case study", inlineLink: false } }],
+ ["an end date", { dates: { start: null, end: "2019-05", present: false } }],
+ ["date text", { dates: { start: null, end: null, present: false, raw: "Summer" } }],
+ ])("never offers to merge a fragment carrying %s, and merging it changes nothing", (_name, extra) => {
+ const data = makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a" }),
+ { ...fragment("b", "and kept the on-call rotation healthy,", "<p>Cut pages.</p>"), ...extra },
+ ];
+ });
+ const before = structuredClone(data);
+
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ expect(mergeIntoPreviousEntry(data, "/sections/experience/items/1")).toBe(false);
+ expect(data).toEqual(before);
+ });
+});
+
+describe("split entries are read by grammar, not by a list of company or title words (J2-02)", () => {
+ const entryAfter = (above: string, heading: Partial<ExperienceItem>) =>
+ makeResume((resume) => {
+ resume.sections.experience.items = [
+ experienceItem({ id: "a", description: above }),
+ experienceItem({ id: "b", company: "", position: "", location: "", period: "", description: "", ...heading }),
+ ];
+ });
+ const elevenWordTitle = "Senior Vice President of Global Engineering and Product Operations for EMEA";
+
+ it.each([
+ [
+ "a sign-on bullet",
+ "<ul><li>Shipped SAML single sign-on</li></ul>",
+ { company: "Contoso", position: elevenWordTitle },
+ ],
+ [
+ "a logged-in bullet",
+ "<ul><li>Cut the time it took users to get logged in</li></ul>",
+ { company: "Contoso", position: elevenWordTitle },
+ ],
+ [
+ "a Series A bullet",
+ "<ul><li>Helped raise a Series A</li></ul>",
+ { company: "Contoso", position: elevenWordTitle },
+ ],
+ [
+ "a walk-through bullet",
+ "<ul><li>Led the quarterly security walk-through</li></ul>",
+ { company: "Contoso", position: elevenWordTitle },
+ ],
+ ["a closed line", "<p>Shipped the app.</p>", { company: "Vipps AS", position: "Senior Engineer" }],
+ ["a closed line", "<p>Shipped the app.</p>", { company: "Via", position: "Senior Engineer" }],
+ [
+ "a closed line",
+ "<p>Shipped the app.</p>",
+ { company: "Fabrikam Ventures", position: "Investment Analyst, Series A" },
+ ],
+ [
+ "an open line",
+ "<ul><li>Shipped SAML single sign-on</li></ul>",
+ { company: "Contoso", position: "iOS platform engineering lead" },
+ ],
+ [
+ "bullets that never close",
+ "<ul><li>Led the platform migration</li><li>Grew the team from 8 to 40</li></ul>",
+ { company: "Contoso", position: "senior platform engineering lead" },
+ ],
+ ])("treats a real undated entry after %s as one that needs dates", (_name, above, heading) => {
+ const data = entryAfter(above, heading);
+
+ expect(codesOf(data)).toContain("EMPTY_PERIOD");
+ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
+ expect(atsVerdict(lint(data))).toBe("clean");
+ });
+
+ it.each([
+ [
+ "through",
+ "<ul><li>Reduced processing time 40% through</li></ul>",
+ "automated reconciliation for every regional desk",
+ ],
+ ["using", "<ul><li>Rebuilt the billing pipeline using</li></ul>", "event sourcing and idempotent consumers"],
+ ["including", "<ul><li>Hired 12 engineers including</li></ul>", "two staff engineers and a manager"],
+ ["a noun phrase", "<ul><li>Reduced processing time for the payments</li></ul>", "team by 40% across all regions"],
+ [
+ "an open last bullet among closed ones",
+ "<ul><li>Led the platform migration.</li><li>Grew the team from 8 to 40 while keeping</li></ul>",
+ "senior engineers on call across every region",
+ ],
+ [
+ "during",
+ "<ul><li>Kept checkout up during</li></ul>",
+ "Black Friday Cyber Monday Peak Season Traffic Across All Twelve Regional Markets",
+ ],
+ ])("reads the rest of a sentence cut at %s as part of the entry above", (_name, above, company) => {
+ const data = entryAfter(above, { company });
+
+ expect(codesOf(data)).toContain("FRAGMENTED_ENTRY");
+ expect(codesOf(data)).not.toContain("EMPTY_PERIOD");
+ expect(atsVerdict(lint(data))).toBe("mostly");
+ });
+});
++
++it("rejoins a cut sentence in its original paragraph", () => {
++ const data = makeResume((resume) => {
++ resume.sections.experience.items = [
++ experienceItem({ id: "a", description: "<p>Reduced processing time by</p>" }),
++ experienceItem({
++ id: "b",
++ company: "25% across the region",
++ position: "",
++ location: "",
++ period: "",
++ description: "",
++ }),
++ ];
++ });
++ expect(mergeIntoPreviousEntry(data, "/sections/experience/items/1")).toBe(true);
++ expect(data.sections.experience.items[0]?.description).toBe(
++ "<p>Reduced processing time by 25% across the region</p>",
++ );
++});
++it("keeps an undated company ending in a dangling word after a closed sentence", () => {
++ const data = makeResume((resume) => {
++ resume.sections.experience.items = [
++ experienceItem({ id: "a", description: "<p>Delivered reliable services.</p>" }),
++ experienceItem({
++ id: "b",
++ company: "Design With",
++ position: "Director",
++ location: "",
++ period: "",
++ description: "<p>Led design.</p>",
++ }),
++ ];
++ });
++ expect(codesOf(data)).not.toContain("FRAGMENTED_ENTRY");
++ expect(codesOf(data)).toContain("EMPTY_PERIOD");
++});
diff --cc packages/resume/src/ats/rules.ts
index 46b648ac5,7f8fd0e1a..6c0bee413
--- a/packages/resume/src/ats/rules.ts
+++ b/packages/resume/src/ats/rules.ts
@@@ -154,117 -153,8 +154,123 @@@ function singleDateFindings(raw: unknow
return readable ? [] : [finding("UNPARSEABLE_DATE", pointer, { value })];
}
+/** The heading fields an import can split, each judged on its own: employer and title; school, degree and field. */
+const HEADING_FIELDS: Partial<Record<CustomSectionType, readonly string[]>> = {
+ experience: ["company", "position"],
+ education: ["school", "degree", "area"],
+};
+
+/**
+ * Words a sentence can't end on: conjunctions, articles, possessives and prepositions, in lower case and on their own
+ * (not "sign-on", "Vipps AS" or "Series A"). Particles a phrasal verb ends on ("logged in", "took over") are left out.
+ */
+const DANGLING_WORD =
+ /(?:^|\s)(?:and|or|but|nor|by|of|to|the|for|with|from|as|into|onto|than|that|which|while|across|per|via|through|using|including|during|within|between|without|among|toward|towards|against|a|an|our|their|its|my|your|whose)$/;
+/** Words that continue a sentence: a heading that opens on one was cut from the text above. */
+const CONTINUING_WORD = /^(?:and|or|but|which|while|then|so|to|with|by|of|for|including|plus)\s/;
+const MAX_HEADING_WORDS = 10;
+/** How a sentence or bullet closes. A line without one is still open, unless the writer never closes lines. */
+const CLOSING_PUNCTUATION = /[.!?…"”)]$/;
+
+const textOf = (value: unknown) =>
+ typeof value === "string"
+ ? stripHtml(value)
+ .replace(/&nbsp;/g, " ")
+ .trim()
+ : "";
+
+/** The description's lines: its paragraphs, bullets and line breaks. */
+const linesOf = (value: unknown) =>
+ typeof value === "string"
+ ? value
+ .split(/<\/(?:p|li|h\d)>|<br\s*\/?>/i)
+ .map(textOf)
+ .filter(Boolean)
+ : [];
+
+/** Text that stops on a comma, dash or dangling word: the sentence goes on somewhere else. */
+const endsMidSentence = (text: string) => /[,;:\u2013\u2014-]$/.test(text) || DANGLING_WORD.test(text);
+
+/** A field cut out of a sentence: it ends mid-sentence, or opens on a continuing word. */
+const isCutMidSentence = (text: string) => endsMidSentence(text) || CONTINUING_WORD.test(text);
+
+/** How the text above ends: cut on a dangling word or comma, or only open (its last line has no closing punctuation). */
+type AboveEnding = { cut: boolean; open: boolean };
+
+function aboveEnding(value: Readonly<Record<string, unknown>>): AboveEnding {
+ const lines = linesOf(value.description);
+ const last = lines.at(-1) ?? "";
+ // Bullets written without full stops aren't open sentences: only a line left open among closed ones, or a lone
+ // line, says the sentence went on.
+ const closesLines = lines.length === 1 || lines.slice(0, -1).some((line) => CLOSING_PUNCTUATION.test(line));
+ return { cut: endsMidSentence(last), open: last.length > 0 && !CLOSING_PUNCTUATION.test(last) && closesLines };
+}
+
+/**
+ * A heading that is the rest of a sentence from the entry above: it ends or opens like a cut ("…time by", "and kept…");
+ * or the text above was cut and it runs on for more than 10 words; or the text above is open and it reads as prose,
+ * opening on an ordinary lower-case word ("uptime above target…", "team by 40%…", "25% across…"). "Senior Vice
+ * President of Global Engineering Operations", "eBay Marketplace" and "iOS platform lead" are real headings.
+ */
+function readsAsSentence(text: string, above: AboveEnding): boolean {
- if (isCutMidSentence(text)) return true;
++ if ((above.cut || above.open) && isCutMidSentence(text)) return true;
+ const words = text.split(/\s+/).filter(Boolean);
- if (above.cut && words.length > MAX_HEADING_WORDS) return true;
++ if (
++ words.length > MAX_HEADING_WORDS &&
++ (above.cut ||
++ (isCutMidSentence(text) && /\b(?:built|shipped|reduced|led|delivered|managed|improved|mentored)\b/i.test(text)))
++ )
++ return true;
+ const prose = /^(?:[\d•·*-]|\p{Ll}[^\p{Lu}]*$)/u.test(words[0] ?? "");
+ return (above.cut || above.open) && words.length >= 4 && prose;
+}
+
+const isDated = (value: Readonly<Record<string, unknown>>) =>
+ textOf(value.period).length > 0 || (readItemDates(value.dates)?.start ?? null) !== null;
+
+/**
+ * Entries a PDF import split off the entry above: nothing a merge would lose (no dates, link or roles of their own),
+ * and a heading field that is a sentence fragment (or no heading at all, only text), directly after a dated entry or
+ * another such fragment. Adding dates would make them look like real jobs, so they're reported as part of the entry
+ * above instead. A real entry without dates still gets "Add dates".
+ */
+const fragmentsBySections = new WeakMap<readonly WalkedSection[], ReadonlySet<string>>();
+
+function fragmentPointers(sections: readonly WalkedSection[]): ReadonlySet<string> {
+ const cached = fragmentsBySections.get(sections);
+ if (cached) return cached;
+
+ const fragments = new Set<string>();
+ for (const section of sections) {
+ const fields = HEADING_FIELDS[section.type];
+ if (!fields || !isRenderedSection(section)) continue;
+
+ section.items.forEach((item, index) => {
+ const previous = section.items[index - 1];
+ if (!previous || !(isDated(previous.value) || fragments.has(previous.pointer))) return;
+ if (carriesUnmergedFields(item.value)) return;
+
+ const headings = fields.map((field) => textOf(item.value[field])).filter(Boolean);
+ const above = aboveEnding(previous.value);
++ if (fragments.has(previous.pointer)) above.open = true;
+ const fragment =
+ headings.length > 0
+ ? headings.some((heading) => readsAsSentence(heading, above))
+ : !textOf(item.value.location) && textOf(item.value.description).length > 0;
+ if (fragment) fragments.add(item.pointer);
+ });
+ }
+
+ fragmentsBySections.set(sections, fragments);
+ return fragments;
+}
+
+const fragmentRules: AtsRule = (context) =>
+ [...fragmentPointers(context.sections)].map((pointer) => finding("FRAGMENTED_ENTRY", pointer));
+
const dateRules: AtsRule = (context) => {
const findings: AtsRuleFinding[] = [];
+ const fragments = fragmentPointers(context.sections);
for (const section of context.sections) {
if (isCoverLetter(section) || !isRenderedSection(section)) continue;
diff --cc packages/schema/src/applications/next-step.test.ts
index 000000000,b442ddcd1..97791ecd7
mode 000000,100644..100644
--- a/packages/schema/src/applications/next-step.test.ts
+++ b/packages/schema/src/applications/next-step.test.ts
@@@ -1,0 -1,94 +1,113 @@@
+ import type { ApplicationStatus, ApplicationTimelineEntry } from "./data";
+ import { expect, it } from "vite-plus/test";
+ import { applicationStageSince, compareNextStepSortKeys, getNextStep, nextStepSortKey } from "./next-step";
+
+ const now = new Date("2026-10-31T12:00:00Z");
+ const event = (stage: ApplicationStatus, at: string, canonicalTransition = true): ApplicationTimelineEntry => ({
+ id: at,
+ type: "stage",
+ stage,
+ at: new Date(at),
+ canonicalTransition,
+ });
+ const app = (id: string, stage: ApplicationStatus, at: string, laneAt: string) => ({
+ id,
+ status: stage,
+ appliedAt: new Date("2026-08-01"),
+ activity: [event(stage, at), event(stage, laneAt, false)],
+ followUpAt: null,
+ followUpNote: null,
+ });
+ const order = (rows: ReturnType<typeof app>[], direction: "asc" | "desc" = "asc") =>
+ rows
+ .toSorted((a, b) =>
+ compareNextStepSortKeys(nextStepSortKey(a, now), nextStepSortKey(b, now), a.id, b.id, direction),
+ )
+ .map((row) => row.id);
+
+ it.each(["applied", "screening", "interview", "offer"] as const)(
+ "lane-only moves preserve the %s clock and stage ordering",
+ (status) => {
+ const a = app("A", status, "2026-10-01", "2026-10-30");
+ const b = app("B", status, "2026-10-21", "2026-10-21");
+ expect(order([b, a])).toEqual(["A", "B"]);
+ expect(applicationStageSince(a)).toEqual(new Date("2026-10-01"));
+ expect(getNextStep(a, now)).toMatchObject({ days: 30 });
+ if (status === "applied") expect(getNextStep(a, now).kind).toBe("no-reply");
+ a.activity[0] = event(status, "2026-10-25");
+ expect(order([a, b])).toEqual(["B", "A"]);
+ },
+ );
+
+ it("uses latest canonical re-entry, legacy entries, and appliedAt only when no canonical history exists", () => {
+ const a = app("A", "offer", "2026-10-01", "2026-10-30");
+ a.activity.push(event("offer", "2026-10-26"));
+ expect(applicationStageSince(a)).toEqual(new Date("2026-10-26"));
+ a.activity = [{ id: "legacy", type: "stage", stage: "offer", at: new Date("2026-10-09") }];
+ expect(applicationStageSince(a)).toEqual(new Date("2026-10-09"));
+ a.activity = [event("offer", "2026-10-30", false)];
+ expect(applicationStageSince(a)).toEqual(a.appliedAt);
+ });
+
+ it("ranks dated actions first, sorts their dates, and breaks equal keys by stable IDs in either direction", () => {
+ const a = app("A", "offer", "2026-10-01", "2026-10-30");
+ const b = app("B", "offer", "2026-10-01", "2026-10-21");
+ expect(order([b, a])).toEqual(["A", "B"]);
+ expect(order([b, a], "desc")).toEqual(["A", "B"]);
+ const dated = { ...b, followUpAt: new Date("2026-11-02") };
+ expect(nextStepSortKey(dated, now)[0]).toBe(0);
+ expect(nextStepSortKey(a, now)[0]).toBe(1);
+ expect(compareNextStepSortKeys(nextStepSortKey(dated, now), nextStepSortKey(a, now), dated.id, a.id)).toBeLessThan(0);
+ expect(compareNextStepSortKeys([0, 100], [0, 200], "B", "A")).toBeLessThan(0);
+ });
+
+ it("uses only the current Interview visit when deciding whether feedback is due", () => {
+ const application = app("A", "interview", "2026-10-25", "2026-10-30");
+ const interview: ApplicationTimelineEntry = {
+ id: "interview",
+ type: "interview",
+ at: new Date("2026-10-20T10:00:00Z"),
+ kind: "technical",
+ durationMinutes: 60,
+ location: "",
+ notes: "",
+ participants: [],
+ audience: "practitioner",
+ timezone: "UTC",
+ };
+ application.activity.push(interview);
+ expect(getNextStep(application, now).kind).toBe("no-interview");
+ application.activity.push({ ...interview, id: "current", at: new Date("2026-10-27T10:00:00Z") });
+ expect(getNextStep(application, now).kind).toBe("interview-feedback");
+ });
+
+ it("shares account-clock sorting while preserving explicitly timed midnight follow-ups", () => {
+ const application = { ...app("A", "applied", "2026-10-25", "2026-10-30"), followUpAt: new Date("2030-01-03") };
+ expect(nextStepSortKey({ ...application, followUpDateOnly: true }, now, "Pacific/Honolulu")).toEqual([
+ 0,
+ new Date("2030-01-03T19:00:00Z").getTime(),
+ ]);
+ expect(nextStepSortKey({ ...application, followUpDateOnly: false }, now, "Pacific/Honolulu")).toEqual([
+ 0,
+ application.followUpAt.getTime(),
+ ]);
+ });
++
++it("orders offers by saved reply deadlines before undated decisions, preserving stage age", () => {
++ const early = app("early", "offer", "2026-10-21", "2026-10-30");
++ const late = app("late", "offer", "2026-10-01", "2026-10-30");
++ const earlyHint = { respondBy: "2026-11-01T09:00:00Z" };
++ const lateHint = { respondBy: "2026-11-03T09:00:00Z" };
++ expect(nextStepSortKey(early, now, "Pacific/Honolulu", earlyHint)).toEqual([0, Date.parse(earlyHint.respondBy)]);
++ expect(nextStepSortKey(late, now, "Pacific/Honolulu", lateHint)).toEqual([0, Date.parse(lateHint.respondBy)]);
++ expect(
++ compareNextStepSortKeys(
++ nextStepSortKey(early, now, "UTC", earlyHint),
++ nextStepSortKey(late, now, "UTC", lateHint),
++ early.id,
++ late.id,
++ ),
++ ).toBeLessThan(0);
++ expect(nextStepSortKey(late, now, "UTC", null)).toEqual([1, Date.parse("2026-10-01")]);
++ expect(getNextStep(early, now, "UTC", earlyHint)).toMatchObject({ kind: "offer", days: 10 });
++});
diff --cc packages/schema/src/applications/next-step.ts
index 000000000,9c52e76b4..3761f1678
mode 000000,100644..100644
--- a/packages/schema/src/applications/next-step.ts
+++ b/packages/schema/src/applications/next-step.ts
@@@ -1,0 -1,130 +1,152 @@@
+ import type { ApplicationStatus, ApplicationTimelineEntry, InterviewTimelineEntry } from "./data";
+ import { followUpInstant } from "./follow-up";
+
+ const DAY_MS = 86_400_000;
+ const FOLLOW_UP_AFTER_DAYS = 10;
+
+ export type ApplicationStageSource = {
+ status: ApplicationStatus;
+ activity: readonly ApplicationTimelineEntry[];
+ appliedAt: Date | string;
+ };
+ type NextStepSource = ApplicationStageSource & {
+ followUpAt: Date | string | null;
+ followUpNote: string | null;
+ followUpDateOnly?: boolean | undefined;
+ };
+
+ /**
- * What an application needs next, derived rather than stored: the earliest interview still to come, else the
- * follow-up date, else what its stage is waiting on. Closed applications need nothing.
++ * What an application needs next: an offer decision or deadline at Offer; otherwise the earliest upcoming
++ * interview, follow-up date, then what its stage awaits. Closed applications need nothing.
+ */
++export type OfferHint = { respondBy: string | null };
++
+ export type NextStep =
+ | { kind: "interview"; interview: InterviewTimelineEntry; at: Date }
+ | { kind: "follow-up"; at: Date; note: string; overdue: boolean }
+ | { kind: "no-reply"; days: number }
+ | { kind: "waiting"; days: number }
+ /** Interview stage with every recorded interview behind it: the employer's answer is due. */
+ | { kind: "interview-feedback"; days: number }
+ /** Interview stage with no interview recorded yet. */
+ | { kind: "no-interview"; days: number }
+ /** Offer stage: the user decides. */
- | { kind: "offer"; days: number }
++ | { kind: "offer"; days: number; respondBy: Date | null; overdue: boolean; terms: boolean }
+ | { kind: "not-applied" }
+ | { kind: "closed" };
+
+ /** The latest canonical category entry. Lane-only moves never restart the employer-reply clock. */
+ export function applicationStageSince(application: ApplicationStageSource): Date {
+ const entries = application.activity.filter(
+ (entry) => entry.type === "stage" && entry.stage === application.status && entry.canonicalTransition !== false,
+ );
+ return new Date(
+ entries.length ? Math.max(...entries.map((entry) => new Date(entry.at).getTime())) : application.appliedAt,
+ );
+ }
+
+ const daysBetween = (from: Date, to: Date) => Math.max(0, Math.floor((to.getTime() - from.getTime()) / DAY_MS));
+
+ /** Whole days since the application entered its current stage; moving between lanes of that stage doesn't count. */
+ const daysInStage = (application: ApplicationStageSource, now: Date) =>
+ daysBetween(applicationStageSince(application), now);
+
-export function getNextStep(application: NextStepSource, now = new Date(), timeZone = "UTC"): NextStep {
++export function getNextStep(
++ application: NextStepSource,
++ now = new Date(),
++ timeZone = "UTC",
++ offer?: OfferHint | null,
++): NextStep {
+ if (application.status === "closed") return { kind: "closed" };
++ if (application.status === "offer") {
++ if (!offer?.respondBy && application.followUpAt) {
++ const at = followUpInstant(application, timeZone) ?? new Date(application.followUpAt);
++ return { kind: "follow-up", at, note: application.followUpNote ?? "", overdue: at.getTime() < now.getTime() };
++ }
++ const respondBy = offer?.respondBy ? new Date(offer.respondBy) : null;
++ return {
++ kind: "offer",
++ days: daysInStage(application, now),
++ respondBy,
++ overdue: respondBy !== null && respondBy.getTime() < now.getTime(),
++ terms: offer !== null,
++ };
++ }
+
+ const upcoming = application.activity
+ .filter((entry): entry is InterviewTimelineEntry => entry.type === "interview")
+ .map((interview) => ({ interview, at: new Date(interview.at) }))
+ .filter(({ interview, at }) => at.getTime() + interview.durationMinutes * 60_000 >= now.getTime())
+ .sort((a, b) => a.at.getTime() - b.at.getTime())[0];
+ if (upcoming) return { kind: "interview", ...upcoming };
+
+ if (application.followUpAt) {
+ const at = followUpInstant(application, timeZone) ?? new Date(application.followUpAt);
+ return { kind: "follow-up", at, note: application.followUpNote ?? "", overdue: at.getTime() < now.getTime() };
+ }
+
+ if (application.status === "saved") return { kind: "not-applied" };
+
+ const days = daysInStage(application, now);
+ if (application.status === "applied" && days >= FOLLOW_UP_AFTER_DAYS) return { kind: "no-reply", days };
- if (application.status === "offer") return { kind: "offer", days };
+ if (application.status === "interview") {
+ const since = applicationStageSince(application).getTime();
+ const feedbackDue = application.activity.some(
+ (entry) => entry.type === "interview" && new Date(entry.at).getTime() >= since,
+ );
+ return feedbackDue ? { kind: "interview-feedback", days } : { kind: "no-interview", days };
+ }
+ return { kind: "waiting", days };
+ }
+
+ /** Interviews this close count as needing the user now (preparation), not just as coming up. */
+ const INTERVIEW_ATTENTION_MS = 7 * DAY_MS;
+
+ /**
+ * Whether a next step needs the user: an interview within a week, a follow-up due within a day or overdue, no reply
+ * after ten days, or an offer to decide. Career → Today and the Applications banner both read this.
+ */
+ export function needsAttention(step: NextStep, now = new Date()): boolean {
+ switch (step.kind) {
+ case "interview":
+ return step.at.getTime() - now.getTime() <= INTERVIEW_ATTENTION_MS;
+ case "follow-up":
+ return step.at.getTime() - now.getTime() <= DAY_MS;
+ case "no-reply":
+ case "offer":
+ return true;
+ default:
+ return false;
+ }
+ }
+
+ /** A follow-up the user owes: one that is due, or a reply that's ten days late. */
+ export const needsFollowUp = (step: NextStep, now = new Date()) =>
+ (step.kind === "follow-up" || step.kind === "no-reply") && needsAttention(step, now);
+
+ /**
+ * Sort key for "Next step": dated steps first, soonest first; then the rest by when they entered their stage, so the
+ * longest wait comes first. Compare the rank, then the time; callers break ties by ID so the order is stable.
+ */
+ export function nextStepSortKey(
+ application: NextStepSource,
+ now = new Date(),
+ timeZone = "UTC",
++ offer?: OfferHint | null,
+ ): [rank: number, time: number] {
- const step = getNextStep(application, now, timeZone);
++ const step = getNextStep(application, now, timeZone, offer);
+ if (step.kind === "interview" || step.kind === "follow-up") return [0, step.at.getTime()];
++ if (step.kind === "offer" && step.respondBy) return [0, step.respondBy.getTime()];
+ return [1, applicationStageSince(application).getTime()];
+ }
+
+ /** Stable ordering shared by both lists and Today; reversing the date order keeps ID ties stable. */
+ export function compareNextStepSortKeys(
+ a: readonly [number, number],
+ b: readonly [number, number],
+ aId: string,
+ bId: string,
+ direction: "asc" | "desc" = "asc",
+ ) {
+ return (direction === "asc" ? 1 : -1) * (a[0] - b[0] || a[1] - b[1]) || aId.localeCompare(bId);
+ }
diff --cc tests/e2e/specs/senior-tailoring.spec.ts
index cf79d84cf,000000000..f72848b8a
mode 100644,000000..100644
--- a/tests/e2e/specs/senior-tailoring.spec.ts
+++ b/tests/e2e/specs/senior-tailoring.spec.ts
@@@ -1,426 -1,0 +1,426 @@@
+import type { Locator, Page, TestInfo } from "@playwright/test";
+import { expect, test } from "../fixtures/test";
+
+/**
+ * A senior professional's tailoring journey: a base resume, job copies, Check after an import, offers and closing.
+ * Fictional companies throughout. Moves with Undo are checked against the API, so persistence is what's asserted.
+ */
+
+const NORTHWIND_POSTING = [
+ "Director of Engineering, Payments Platform — Northwind Labs (Berlin, hybrid)",
+ "",
+ "About the role",
+ "Northwind Labs is hiring a Director of Engineering to lead our Payments Platform group (5 teams, ~45 engineers).",
+ "",
+ "What you'll do",
+ "- Lead and grow engineering managers and staff engineers across five teams",
+ "- Own availability (99.99%) and incident response for payment rails",
+ "- Drive hiring, career frameworks and performance calibration",
+ "",
+ "What we're looking for",
+ "- 12+ years in software engineering, 5+ years managing managers",
+ "- Experience with payments, fintech or regulated environments (PCI DSS, PSD2)",
+ "- Track record of scaling distributed systems (Kafka, Kubernetes, Go or Java)",
+ "",
+ "Salary: €165,000 – €190,000 + equity",
+].join("\n");
+
+async function api<T>(page: Page, method: "get" | "post" | "put", path: string, data?: unknown): Promise<T> {
+ const response = await page.request[method](`/api/openapi${path}`, data === undefined ? {} : { data });
+ await expect(response, `${method} ${path}`).toBeOK();
+ const text = await response.text();
+ return (text ? JSON.parse(text) : undefined) as T;
+}
+
+type Resume = { id: string; name: string; applicationId: string | null; data: Record<string, never> };
+type Application = {
+ id: string;
+ status: string;
+ closedReason: string | null;
+ company: string;
+ resumeId: string | null;
+};
+
+const createResume = (page: Page, name: string) =>
+ api<string>(page, "post", "/resumes", { name, tags: [], withSampleData: true });
+const createApplication = (page: Page, company: string, role: string, status = "saved") =>
+ api<string>(page, "post", "/applications", { company, role, status });
+const application = (page: Page, id: string) => api<Application>(page, "get", `/applications/${id}`);
+
+/** Guide screenshots: the part of the page a guide describes, once it has settled. */
+async function shoot(target: Locator, testInfo: TestInfo, name: string) {
+ await expect(target).toBeVisible();
+ await target.screenshot({ path: testInfo.outputPath(`${name}.png`), animations: "disabled" });
+}
+
+/** A guide screenshot spanning from one element down to another, at the width of the wider. */
+async function shootSpan(page: Page, from: Locator, to: Locator, testInfo: TestInfo, name: string) {
+ await expect(from).toBeVisible();
+ await expect(to).toBeVisible();
+ const [top, bottom] = await Promise.all([from.boundingBox(), to.boundingBox()]);
+ if (!top || !bottom) throw new Error(`Nothing to shoot for ${name}`);
+ const x = Math.min(top.x, bottom.x);
+ const width = Math.max(top.x + top.width, bottom.x + bottom.width) - x;
+ await page.screenshot({
+ path: testInfo.outputPath(`${name}.png`),
+ animations: "disabled",
+ clip: { x, y: top.y, width, height: bottom.y + bottom.height - top.y },
+ });
+}
+
+test("a mistyped app address opens the app page, not a resume that isn't shared (J2-16)", async ({
+ authPage: page,
+}) => {
+ await page.goto("/applications");
+ await page.waitForURL(/\/dashboard\/applications$/);
+ await expect(page.getByRole("heading", { name: "Applications", level: 1 })).toBeVisible();
+ await expect(page.getByText("This resume isn't shared right now.")).toHaveCount(0);
+});
+
+test("first-run Choose a file opens the picker and imports the picked file (J2-15)", async ({
+ authPage: page,
+}, testInfo) => {
+ const resumeId = await createResume(page, "Fixture source");
+ const source = await api<Resume>(page, "get", `/resumes/${resumeId}`);
+ await expect(await page.request.delete(`/api/openapi/resumes/${resumeId}`)).toBeOK();
+ const file = testInfo.outputPath("morgan.json");
+ await import("node:fs/promises").then((fs) => fs.writeFile(file, JSON.stringify(source.data)));
+
+ await page.goto("/dashboard");
+ await expect(page.getByText("Let's start with what you have")).toBeVisible();
+ const chooser = page.waitForEvent("filechooser");
+ await page.getByRole("button", { name: "Choose a file" }).click();
+ await (await chooser).setFiles(file);
+ await expect(page.getByRole("button", { name: "Open in editor" })).toBeVisible({ timeout: 20_000 });
+});
+
+test("copies start from the base resume, and a job can be added in the copy dialog (J2-03, J2-23)", async ({
+ authPage: page,
+}, testInfo) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const base = await createResume(page, "Morgan Chen — base");
+ const northwind = await createApplication(page, "Northwind Labs", "Director of Engineering");
+ // The Northwind copy is edited last, so the old default would have started the next copy from it.
+ await api(page, "post", "/documents/copy-for-job", { resumeId: base, applicationId: northwind });
+
+ await page.goto("/dashboard");
+ await page.getByRole("button", { name: "New", exact: true }).click();
+ await page.getByRole("button", { name: /^Copy a resume for a job/ }).click();
+ await expect(page.getByRole("radio", { name: /Morgan Chen — base/ })).toBeChecked();
+ await expect(page.getByText("Copy for Northwind Labs")).toBeVisible();
+
+ await page.getByRole("button", { name: "Add a job" }).click();
+ await page.getByLabel("Company").fill("Fieldnote");
+ await page.getByLabel("Role").fill("VP of Engineering");
+ await page
+ .getByLabel("Job posting (optional)")
+ .fill("Own delivery, quality and on-call health for all product teams.");
+ await expect(page.getByLabel("Name")).toHaveValue("Morgan Chen — Fieldnote");
+ await shoot(page.getByRole("dialog"), testInfo, "copy-for-a-job");
+ await page.getByRole("button", { name: "Save job, create and open" }).click();
+ await page.waitForURL(/\/builder\/(?!.*base)/);
+
+ const copyId = new URL(page.url()).pathname.split("/").pop() ?? "";
+ const copy = await api<Resume>(page, "get", `/resumes/${copyId}`);
+ expect(copy.applicationId).not.toBeNull();
+ const job = await application(page, copy.applicationId ?? "");
+ expect(job).toMatchObject({ company: "Fieldnote", status: "saved", resumeId: copyId });
+ expect((await api<Resume>(page, "get", `/resumes/${base}`)).applicationId).toBeNull();
+});
+
+test("Job match on a base resume saves the job with a copy and keeps the base unlinked (J2-04, J2-05)", async ({
+ authPage: page,
+}, testInfo) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const base = await createResume(page, "Morgan Chen — base");
+ await page.goto(`/builder/${base}?mode=check`);
+ await page.getByRole("tab", { name: /Job match/ }).click();
+ await page.getByRole("textbox", { name: "Job posting" }).fill(NORTHWIND_POSTING);
+ await page.getByRole("button", { name: "Match this posting" }).click();
+ await expect(page.getByText(/posting terms appear/)).toBeVisible();
+
+ const missing = page
+ .getByRole("region", { name: /Not in your resume/ })
+ .or(page.locator("#match-missing").locator(".."));
+ for (const noise of ["Northwind Labs", "12+", "5+", "equity", "Drive", "grow", "five", "rails"])
+ await expect(missing.getByRole("button", { name: noise, exact: true })).toHaveCount(0);
+ for (const skill of [/^kafka$/i, /^go$/i, /^kubernetes$/i])
+ await expect(missing.getByRole("button", { name: skill })).toHaveCount(1);
+
+ await page.getByRole("button", { name: "Save as a job…" }).click();
+ await page.getByLabel("Company").fill("Northwind Labs");
+ await page.getByLabel("Role").fill("Director of Engineering, Payments Platform");
+ await shoot(page.getByRole("tabpanel", { name: /Job match/ }), testInfo, "job-match-save-as-job");
+
+ // The first response is lost on the way back: the server saved the job and the copy, the browser never heard.
+ let lost = false;
+ await page.route("**/api/rpc/documents/copyForJob", async (route) => {
+ if (lost) return route.continue();
+ lost = true;
+ await route.fetch();
+ await route.abort("connectionreset");
+ });
+ await page.getByRole("button", { name: "Save job and make a copy" }).click();
+ // A dropped connection is reported as such; the form stays, ready to try again.
+ await expect(page.getByRole("region", { name: "Notifications" }).getByText("Failed to fetch")).toBeVisible();
+ await page.getByRole("button", { name: "Save job and make a copy" }).click();
+
+ await page.waitForURL((url) => url.pathname.startsWith("/builder/") && !url.pathname.endsWith(base));
+ await page.unroute("**/api/rpc/documents/copyForJob");
+ await expect(page.getByText("Posting from the linked application")).toBeVisible();
+ const copyId = new URL(page.url()).pathname.split("/").pop() ?? "";
+ const copy = await api<Resume>(page, "get", `/resumes/${copyId}`);
+ expect(copy.applicationId).not.toBeNull();
+ expect((await api<Resume>(page, "get", `/resumes/${base}`)).applicationId).toBeNull();
+ // One job and one copy, whatever the retry.
+ const jobs = await api<Application[]>(page, "get", "/applications");
+ expect(jobs.filter((job) => job.company === "Northwind Labs").map((job) => [job.id, job.resumeId])).toEqual([
+ [copy.applicationId, copyId],
+ ]);
+ const resumes = await api<Resume[]>(page, "get", "/resumes");
+ expect(resumes.filter((resume) => resume.name.endsWith("— Northwind Labs")).map((resume) => resume.id)).toEqual([
+ copyId,
+ ]);
+});
+
+test("Check reports a split import entry and merges it with Undo (J2-02)", async ({ authPage: page }, testInfo) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const sourceId = await createResume(page, "Fixture");
+ const source = await api<Resume & { data: { sections: { experience: { items: Record<string, unknown>[] } } } }>(
+ page,
+ "get",
+ `/resumes/${sourceId}`,
+ );
+ const [first] = source.data.sections.experience.items;
+ source.data.sections.experience.items = [
+ { ...first, period: "2020 - Present" },
+ {
+ ...first,
+ id: "fragment0000000000000",
+ company:
+ "Project 1.3: Built accessible services for global customers, mentored four engineers, and reduced processing time by",
+ position: "",
+ location: "",
+ period: "",
+ dates: undefined,
+ roles: [],
+ description: "<p>25%. Tracked reliability and customer feedback.</p>",
+ },
+ ];
+ const imported = await api<string>(page, "post", "/resumes/import", { data: source.data });
+
+ await page.goto(`/builder/${imported}?mode=check`);
+ await expect(page.getByText("Looks like part of the entry above")).toBeVisible();
+ await expect(page.getByText("Reads cleanly")).toHaveCount(0);
+ await expect(page.getByText("An entry has no dates")).toHaveCount(0);
+ await expect(page.getByText("Mostly readable")).toBeVisible();
+ await shoot(page.getByRole("tabpanel", { name: /Issues/ }), testInfo, "check-fragment");
+
+ await page.getByRole("button", { name: "Merge into previous entry" }).click();
+ await expect(page.getByText("Merged into the entry above")).toBeVisible();
+ await expect(page.getByText("Looks like part of the entry above")).toHaveCount(0);
+ await expect(page.getByText(/ of 23 checks pass\./)).toBeVisible();
+ await expect(page.getByText("Saved", { exact: true })).toBeVisible();
+ const score = page.getByRole("img", { name: /Readability score/ }).locator("..");
+ await score.scrollIntoViewIfNeeded();
+ await page.mouse.move(0, 0);
+ await shootSpan(
+ page,
+ score,
+ page.getByRole("list", { name: "Issues" }).locator("li").first(),
+ testInfo,
+ "score-and-issues",
+ );
+ await expect
+ .poll(async () => {
+ const saved = await api<typeof source>(page, "get", `/resumes/${imported}`);
+ return saved.data.sections.experience.items.length;
+ })
+ .toBe(1);
+});
+
+test("bulk moves have Undo, and only a committed move is saved (J2-18)", async ({ authPage: page }) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const a = await createApplication(page, "Alder Co", "Head of Platform", "applied");
+ const b = await createApplication(page, "Birch Ltd", "Engineering Director", "applied");
+ await page.goto("/dashboard/applications");
+
+ for (const company of ["Alder Co", "Birch Ltd"])
+ await page.getByRole("checkbox", { name: new RegExp(`at ${company}`) }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Interview" }).click();
+ await expect(page.getByText("2 applications moved to Interview")).toBeVisible();
+ await page.getByRole("button", { name: "Undo" }).click();
+ await page.waitForTimeout(500);
+ expect((await application(page, a)).status).toBe("applied");
+ const history = await api<{ activity: { type: string }[] }>(page, "get", `/applications/${b}`);
+ expect(history.activity.filter((entry) => entry.type === "stage")).toHaveLength(1);
+
+ for (const company of ["Alder Co", "Birch Ltd"])
+ await page.getByRole("checkbox", { name: new RegExp(`at ${company}`) }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Interview" }).click();
+ await expect.poll(async () => (await application(page, b)).status, { timeout: 15_000 }).toBe("interview");
+ expect((await application(page, a)).status).toBe("interview");
+});
+
+test("an outside stage move wins over a pending bulk move (J2-18)", async ({ authPage: page }) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const a = await createApplication(page, "Alder Co", "Head of Platform", "interview");
+ const b = await createApplication(page, "Birch Ltd", "Engineering Director", "interview");
+ await page.goto("/dashboard/applications");
+ for (const company of ["Alder Co", "Birch Ltd"])
+ await page.getByRole("checkbox", { name: new RegExp(`at ${company}`) }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Offer" }).click();
+ await expect(page.getByText("2 applications moved to Offer")).toBeVisible();
+ await api(page, "put", `/applications/${a}`, { status: "screening" });
+ await expect(page.getByText("1 application changed in the meantime, so it keeps its newer stage")).toBeVisible({
+ timeout: 15_000,
+ });
+ expect((await application(page, a)).status).toBe("screening");
+ expect((await application(page, b)).status).toBe("offer");
+});
+
+test("an outside move away and back wins over a pending bulk move (J2-18)", async ({ authPage: page }) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const a = await createApplication(page, "Alder Co", "Head of Platform", "screening");
+ const b = await createApplication(page, "Birch Ltd", "Engineering Director", "offer");
+ await page.goto("/dashboard/applications");
+ const changed = page.getByText("1 application changed in the meantime, so it keeps its newer stage");
+ for (const company of ["Alder Co", "Birch Ltd"])
+ await page.getByRole("checkbox", { name: new RegExp(`at ${company}`) }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Interview" }).click();
+ await expect(page.getByText("2 applications moved to Interview")).toBeVisible();
+ await api(page, "put", `/applications/${a}`, { status: "applied" });
+ await api(page, "put", `/applications/${a}`, { status: "screening" });
+ await expect(changed).toBeVisible({ timeout: 15_000 });
+ expect((await application(page, a)).status).toBe("screening");
+ expect((await application(page, b)).status).toBe("interview");
+});
+
+test("a second bulk move of the same application while the first one's Undo is open is the one saved (J2-18)", async ({
+ authPage: page,
+}) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const a = await createApplication(page, "Aspen Co", "Head of Platform", "applied");
+ const writes: unknown[] = [];
+ page.on("request", (request) => {
+ if (/bulk/i.test(request.url())) writes.push(request.postDataJSON());
+ });
+ await page.goto("/dashboard/applications");
+
+ await page.getByRole("checkbox", { name: /at Aspen Co/ }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Interview" }).click();
+ await expect(page.getByText("1 application moved to Interview")).toBeVisible();
+ // The toast covers the bar's Move to…, so the correction is made from the keyboard, as a keyboard user would.
+ await page.getByRole("checkbox", { name: /at Aspen Co/ }).click();
+ await page.getByRole("button", { name: "Move to…" }).focus();
+ await page.keyboard.press("Enter");
+ await page.getByRole("menuitem", { name: "Offer" }).click();
+ await expect(page.getByText("1 application moved to Offer")).toBeVisible();
+
+ await expect.poll(async () => (await application(page, a)).status, { timeout: 15_000 }).toBe("offer");
+ await expect.poll(() => writes.length, { timeout: 15_000 }).toBe(2);
+ const history = await api<{ activity: { type: string; stage?: string }[] }>(page, "get", `/applications/${a}`);
+ expect(
+ history.activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .reverse(),
+ ).toEqual(["applied", "interview", "offer"]);
+ await expect(page.getByText("1 application changed in the meantime, so it keeps its newer stage")).toHaveCount(0);
+});
+
+for (const outcome of ["saved", "failed"] as const)
+ test(`a bulk move chosen while a single move of the same application is on its way (${outcome}) is the one saved (J2-18)`, async ({
+ authPage: page,
+ }) => {
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const a = await createApplication(page, "Elm Co", "Head of Data", "applied");
+ await page.goto("/dashboard/applications");
+
+ // Hold the single move on its way to the server until the bulk move has been chosen.
+ let release = () => {};
+ const held = new Promise<void>((resolve) => (release = resolve));
+ let heldWrites = 0;
+ await page.route("**/api/rpc/applications/update", async (route) => {
+ heldWrites += 1;
+ await held;
+ if (outcome === "saved") await route.continue();
+ else await route.abort("connectionreset");
+ });
+ await page.getByText("Head of Data", { exact: true }).click();
+ await page.getByRole("button", { name: /^Move to / }).click();
+ await page.keyboard.press("Escape");
+
+ await page.getByRole("checkbox", { name: /at Elm Co/ }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: "Offer" }).click();
+ await expect(page.getByText("1 application moved to Offer")).toBeVisible();
+ expect(heldWrites).toBe(1);
+ release();
+
+ await expect.poll(async () => (await application(page, a)).status, { timeout: 15_000 }).toBe("offer");
+ const history = await api<{ activity: { type: string; stage?: string }[] }>(page, "get", `/applications/${a}`);
+ expect(
+ history.activity
+ .filter((entry) => entry.type === "stage")
+ .map((entry) => entry.stage)
+ .reverse(),
+ ).toEqual(outcome === "saved" ? ["applied", "screening", "offer"] : ["applied", "offer"]);
+ await expect(page.getByText("1 application changed in the meantime, so it keeps its newer stage")).toHaveCount(0);
+ });
+
+test("reaching Offer asks for terms, saving them keeps them in view, and accepting offers to close the rest (J2-06, J2-07, J2-17)", async ({
+ authPage: page,
+}, testInfo) => {
+ test.setTimeout(60_000);
+ await page.setViewportSize({ width: 1280, height: 900 });
+ const won = await createApplication(page, "Northwind Labs", "Director of Engineering", "interview");
+ const other = await createApplication(page, "Parcel & Co.", "Head of Engineering", "applied");
+ const third = await createApplication(page, "Fieldnote", "VP of Engineering", "applied");
+
+ await page.goto("/dashboard/applications");
+ await page.getByText("Director of Engineering", { exact: true }).click();
+ await page.getByRole("button", { name: /Move to Offer/ }).click();
+ await page.getByRole("button", { name: "Add the offer's terms" }).click();
+ await page.waitForURL(new RegExp(`/dashboard/applications/${won}/messages\\?offer=new`));
+ await expect(page.getByRole("heading", { name: "Add offer" })).toBeVisible();
+ await page.getByLabel("Currency").fill("EUR");
+ await page.getByLabel("Base salary").fill("182000");
+ await page.getByRole("button", { name: "Save offer" }).click();
+ const summary = page.getByRole("status").filter({ hasText: "Written offer" });
+ await expect(summary).toContainText("€182,000 a year");
+ await expect(page.getByRole("button", { name: "Add a newer offer" })).toBeVisible();
+ await expect(page.getByText("Decide on the offer")).toBeVisible();
+ await shoot(summary, testInfo, "offer-summary");
+
+ // An offer added in Career → Offers for an Applied job moves it to Offer once the Undo window closes.
+ await page.goto("/dashboard/career/offers");
+ await page.getByRole("button", { name: "Add offer" }).first().click();
- await page.getByLabel("Application").selectOption({ label: "Fieldnote · VP of Engineering" });
++ await page.getByLabel("Application").selectOption(third);
+ await page.getByLabel("Currency").fill("EUR");
+ await page.getByLabel("Base salary").fill("175000");
+ await page.getByRole("button", { name: "Save offer" }).click();
+ await expect(page.getByText("Offer saved. Fieldnote moved to Offer.")).toBeVisible();
+ await expect.poll(async () => (await application(page, third)).status, { timeout: 15_000 }).toBe("offer");
+
+ await page.goto("/dashboard/applications");
+ await page.getByText("Director of Engineering", { exact: true }).click();
+ await page.getByRole("button", { name: "Mark as closed…" }).click();
+ await expect(page.getByRole("radio", { name: "Accepted offer" })).toBeChecked();
+ await shoot(page.getByRole("dialog", { name: "Mark as closed" }), testInfo, "close-accepted");
+ await page.getByRole("button", { name: "Mark as closed", exact: true }).click();
+ await expect(page.getByText(/Close your 2 other open applications as Accepted another offer\?/)).toBeVisible();
+ expect((await application(page, other)).status).toBe("applied");
+ await page.getByRole("button", { name: "Close all 2" }).click();
+ await expect(page.getByText("2 applications closed as Accepted another offer")).toBeVisible();
+ await expect
+ .poll(async () => (await application(page, other)).closedReason, { timeout: 15_000 })
+ .toBe("accepted-other");
+ expect(await application(page, won)).toMatchObject({ status: "closed", closedReason: "accepted" });
+ expect(await application(page, third)).toMatchObject({ status: "closed", closedReason: "accepted-other" });
+});
diff --cc tests/e2e/specs/stage-write-order.spec.ts
index 690437036,000000000..908a9ded6
mode 100644,000000..100644
--- a/tests/e2e/specs/stage-write-order.spec.ts
+++ b/tests/e2e/specs/stage-write-order.spec.ts
@@@ -1,267 -1,0 +1,272 @@@
+import type { Page, Route } from "@playwright/test";
- import { Pool } from "pg";
++import { Client } from "pg";
+import { approveLocalStubOperations } from "../fixtures/ai-consent";
+import { startAiStub } from "../fixtures/ai-stub";
+import { expect, test } from "../fixtures/test";
+
+// Both server and browser run at 08:00 UTC; display dates must never stand for write order.
+
- const pool = new Pool({ connectionString: process.env.DATABASE_URL });
- const stored = async (id: string) =>
- (await pool.query("select status, lane_id, activity from application where id = $1", [id])).rows[0];
++const stored = async (id: string) => {
++ const client = new Client({ connectionString: process.env.DATABASE_URL });
++ await client.connect();
++ try {
++ return (await client.query("select status, lane_id, activity from application where id = $1", [id])).rows[0];
++ } finally {
++ await client.end();
++ }
++};
+async function history(id: string, intended: unknown) {
+ await test.info().attach("SQL history and intended result", {
+ body: JSON.stringify({ clock: new Date().toISOString(), intended, stored: await stored(id) }, null, 2),
+ contentType: "application/json",
+ });
+}
+
+let stub: Awaited<ReturnType<typeof startAiStub>>;
+test.beforeAll(async () => {
+ stub = await startAiStub();
+});
+test.afterAll(async () => {
+ await stub?.close();
- await pool.end();
+});
+test.beforeEach(async ({ authPage }) => {
+ await approveLocalStubOperations(authPage);
+ await authPage.clock.setFixedTime(new Date("2026-11-01T08:00:00Z"));
+ await authPage.setViewportSize({ width: 1280, height: 900 });
+});
+
+const today = "2026-11-01";
+
+async function api<T>(page: Page, method: "get" | "post" | "put", path: string, data?: unknown): Promise<T> {
+ const response = await page.request[method](`/api/openapi${path}`, data === undefined ? {} : { data });
+ await expect(response, `${method} ${path}`).toBeOK();
+ const text = await response.text();
+ return (text ? JSON.parse(text) : undefined) as T;
+}
+type Application = { status: string; laneId: string | null; activity: { type: string; stage?: string }[] };
+const read = (page: Page, id: string) => api<Application>(page, "get", `/applications/${id}`);
+
+async function hold(page: Page, path: string) {
+ let release = (_outcome: "continue" | "fail") => {};
+ const released = new Promise<"continue" | "fail">((resolve) => (release = resolve));
+ let held = 0;
+ await page.route(`**/api/rpc/${path}`, async (route: Route) => {
+ held += 1;
+ if ((await released) === "continue") await route.continue();
+ else await route.abort("connectionreset");
+ });
+ return { release, held: () => held };
+}
+
+/** Holds every RPC request (single or batched) that carries `path`, until released. */
+async function holdCarrying(page: Page, path: string) {
+ let release = () => {};
+ const released = new Promise<void>((resolve) => (release = resolve));
+ let held = 0;
+ await page.route("**/api/rpc/**", async (route: Route) => {
+ const request = route.request();
+ const carries = request.url().includes(path) || (request.postData() ?? "").includes(path);
+ if (!carries) return route.fallback();
+ held += 1;
+ await released;
+ await route.continue();
+ });
+ return { release, held: () => held };
+}
+
+async function bulkMove(page: Page, company: string, stage: string, navigate = true) {
+ if (navigate) await page.getByRole("link", { name: "Applications", exact: true }).click();
+ await page.getByRole("checkbox", { name: new RegExp(`at ${company}`) }).click();
+ await page.getByRole("button", { name: "Move to…" }).click();
+ await page.getByRole("menuitem", { name: stage }).click();
+ await expect(page.getByText(`1 application moved to ${stage}`)).toBeVisible();
+}
+const changedToast = (page: Page) =>
+ page.getByText("1 application changed in the meantime, so it keeps its newer stage");
+
+for (const dated of [true, false])
+ for (const origin of ["add", "mark-applied"] as const)
+ for (const outside of ["lane-only", "ABA"] as const)
+ test(`R1 outside ${outside} move while bulk waits (${origin}, ${dated ? "dated today" : "undated"}) wins`, async ({
+ authPage: page,
+ }) => {
+ const pipeline = await api<{ revision: number }>(page, "get", "/applications/lanes");
+ const lanes = await api<{ lanes: { id: string; label: string | null }[] }>(
+ page,
+ "post",
+ "/applications/lanes",
+ {
+ expectedRevision: pipeline.revision,
+ label: "Referral",
+ category: "applied",
+ color: "#123456",
+ },
+ );
+ const referral = lanes.lanes.find((lane) => lane.label === "Referral");
+ if (!referral) throw new Error("lane");
+ const company = dated ? "Alder Co" : "Birch Co";
+ const id = await api<string>(page, "post", "/applications", {
+ company,
+ role: "Probe lead",
+ status: origin === "add" ? "applied" : "saved",
+ ...(dated ? { stageEnteredAt: today } : {}),
+ });
+ if (origin === "mark-applied")
+ await api(page, "put", `/applications/${id}`, {
+ status: "applied",
+ ...(dated ? { stageEnteredAt: today } : {}),
+ });
+ await page.goto("/dashboard/applications");
+ await expect(page.getByText(company).first()).toBeVisible();
+ const initialLaneId = (await read(page, id)).laneId;
+ const bulk = await hold(page, "applications/bulkUpdate");
+ await bulkMove(page, company, "Interview", false);
+ // Another device drags it to another Applied lane before this move reaches the server.
+ if (outside === "lane-only") await api(page, "put", `/applications/${id}`, { laneId: referral.id });
+ else {
+ await api(page, "put", `/applications/${id}`, { status: "screening" });
+ await api(page, "put", `/applications/${id}`, { status: "applied" });
+ }
+ const outsideRow = await stored(id);
+ expect(outsideRow.status).toBe("applied");
+ expect(outsideRow.lane_id).toBe(outside === "lane-only" ? referral.id : initialLaneId);
+ expect(outsideRow.activity.map((entry: { stage: string }) => entry.stage)).toEqual([
+ ...(origin === "mark-applied" ? ["saved"] : []),
+ "applied",
+ ...(outside === "ABA" ? ["screening", "applied"] : ["applied"]),
+ ]);
+ await expect.poll(() => bulk.held(), { timeout: 15_000 }).toBe(1);
+ const answered = page.waitForResponse((response) => response.url().includes("/applications/bulkUpdate"));
+ bulk.release("continue");
+ expect((await answered).ok()).toBe(true);
+ await history(id, outsideRow);
+ expect(await stored(id)).toEqual(outsideRow);
+ await expect(changedToast(page)).toBeVisible({ timeout: 15_000 });
+ const final = await read(page, id);
+ expect({ status: final.status, laneId: final.laneId }).toEqual({
+ status: "applied",
+ laneId: outsideRow.lane_id,
+ });
+ });
+
+for (const dated of [true, false])
+ test(`R2 bulk move after a message's change is answered, list reload still on its way (${dated ? "added Applied today" : "undated"}) is saved`, async ({
+ authPage: page,
+ }) => {
+ expect(process.env.FLAG_ALLOW_UNSAFE_AI_BASE_URL).toBe("true");
+ test.setTimeout(60_000);
+ const provider = await api<{ id: string }>(page, "post", "/ai-providers", {
+ label: "Stub",
+ provider: "openai-compatible",
+ model: "stub",
+ baseURL: stub.baseURL,
+ apiKey: "stub-key",
+ });
+ await api(page, "post", `/ai-providers/${provider.id}/test`);
+ const company = dated ? "Cedar Co" : "Dogwood Co";
+ const id = await api<string>(page, "post", "/applications", {
+ company,
+ role: "Ops probe",
+ status: "applied",
+ ...(dated ? { stageEnteredAt: today } : {}),
+ });
+ await page.goto("/dashboard/applications");
+ await page.getByText("Ops probe", { exact: true }).click();
+ await page.getByRole("button", { name: "Open workspace" }).click();
+ await page.getByRole("tab", { name: /Messages/ }).click();
+ await page.getByLabel(`Paste a message from ${company}`).fill("We'd like to invite you to an interview next week.");
+ await page.getByRole("button", { name: "Read it for me" }).click();
+ const answered = page.waitForResponse((response) => response.url().includes("/career/applyReply"));
+ await page.getByRole("button", { name: "Apply 1 change" }).click({ timeout: 30_000 });
+ // The Undo window closes and the change is saved.
+ expect((await answered).ok()).toBe(true);
+ // Back on the list before its reload lands (slow network): the list still shows Applied.
+ const list = await holdCarrying(page, "listSummary");
+ await bulkMove(page, company, "Offer");
+ // The list on screen is the cached one: its reload is held.
+ await expect.poll(() => list.held(), { timeout: 15_000 }).toBeGreaterThan(0);
+ await expect.poll(async () => (await read(page, id)).status, { timeout: 15_000 }).not.toBe("applied");
+ try {
+ await expect.poll(async () => (await read(page, id)).status, { timeout: 15_000 }).toBe("offer");
+ } finally {
+ await history(id, { status: "offer", history: ["applied", "interview", "offer"] });
+ }
+ expect((await stored(id)).activity.map((entry: { stage: string }) => entry.stage)).toEqual([
+ "applied",
+ "interview",
+ "offer",
+ ]);
+ await expect(changedToast(page)).toHaveCount(0);
+ list.release();
+ });
+
+for (const action of ["reply", "submission"] as const)
+ test(`R3 repeated ${action} cannot acknowledge an outside move before bulk`, async ({ authPage: page }) => {
+ test.setTimeout(60_000);
+ const company = "Hazel Co";
+ const role = "Repeat lead";
+ const id = await api<string>(page, "post", "/applications", {
+ company,
+ role,
+ status: action === "reply" ? "applied" : "saved",
+ });
+ const pipeline = await api<{ revision: number }>(page, "get", "/applications/lanes");
+ const lanes = await api<{ lanes: { id: string; label: string | null }[] }>(page, "post", "/applications/lanes", {
+ expectedRevision: pipeline.revision,
+ label: "Referral",
+ category: "applied",
+ color: "#123456",
+ });
+ const referral = lanes.lanes.find((lane) => lane.label === "Referral");
+ if (!referral) throw new Error("Expected referral lane");
+ if (action === "reply") {
+ const provider = await api<{ id: string }>(page, "post", "/ai-providers", {
+ label: "Stub",
+ provider: "openai-compatible",
+ model: "stub",
+ baseURL: stub.baseURL,
+ apiKey: "stub-key",
+ });
+ await api(page, "post", `/ai-providers/${provider.id}/test`);
+ }
+ await page.goto("/dashboard/applications");
+ await page.getByText(role, { exact: true }).click();
+ await page.getByRole("button", { name: "Open workspace" }).click();
+ if (action === "reply") {
+ await page.getByRole("tab", { name: /Messages/ }).click();
+ await page
+ .getByLabel(`Paste a message from ${company}`)
+ .fill("We'd like to invite you to an interview next week.");
+ await page.getByRole("button", { name: "Read it for me" }).click();
+ await expect(page.getByRole("button", { name: "Apply 1 change" })).toBeVisible();
+ const items = await api<{ id: string }[]>(page, "get", `/career/saved?applicationId=${id}&kind=reply`);
+ const reply = items[0];
+ if (!reply) throw new Error("Expected saved reply");
+ await api(page, "post", `/career/saved/${reply.id}/apply`, { changes: [0] });
+ await api(page, "put", `/applications/${id}`, { status: "offer" });
+ } else {
+ await api(page, "post", `/career/workspace/${id}/submit`, { answers: [], expectedAnswers: [] });
+ await api(page, "put", `/applications/${id}`, { laneId: referral.id });
+ }
+ const outside = await stored(id);
+ expect(outside.status).toBe(action === "reply" ? "offer" : "applied");
+ if (action === "submission") expect(outside.lane_id).toBe(referral.id);
+ expect(outside.activity.map((entry: { stage: string }) => entry.stage)).toEqual(
+ action === "reply" ? ["applied", "interview", "offer"] : ["saved", "applied", "applied"],
+ );
+ const list = await holdCarrying(page, "listSummary");
+ const answered = page.waitForResponse((response) =>
+ response.url().includes(action === "reply" ? "/career/applyReply" : "/career/submitApplication"),
+ );
+ await page
+ .getByRole("button", { name: action === "reply" ? "Apply 1 change" : "Mark as applied", exact: true })
+ .click();
+ expect((await answered).ok()).toBe(true);
+ const bulk = page.waitForResponse((response) => response.url().includes("/applications/bulkUpdate"));
+ await bulkMove(page, company, "Interview");
+ expect((await bulk).ok()).toBe(true);
+ await history(id, outside);
+ expect(await stored(id)).toEqual(outside);
+ await expect(changedToast(page)).toBeVisible();
+ list.release();
+ });