Skip to content

remove dead google-spreadsheet integration and SF record type env vars#532

Open
pettinarip wants to merge 1 commit into
masterfrom
chore/remove-dead-spreadsheet-and-sf-record-type-envs
Open

remove dead google-spreadsheet integration and SF record type env vars#532
pettinarip wants to merge 1 commit into
masterfrom
chore/remove-dead-spreadsheet-and-sf-record-type-envs

Conversation

@pettinarip

@pettinarip pettinarip commented May 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Deleted src/utils/addRowToSpreadsheet.ts — the only caller of google-spreadsheet and GOOGLE_APPLICATION_CREDENTIALS; not imported anywhere.
  • Dropped google-spreadsheet and @types/google-spreadsheet from dependencies (21 transitive packages removed).
  • Removed the SF_RECORD_TYPE_* env vars from .env.local.example — none are referenced in src/. Record type IDs are hardcoded in src/lib/sf-field-mappings.ts (per-form HARDWIRED_FIELDS.RecordTypeId) and src/lib/sf/index.ts (WISHLIST_RECORD_TYPE_ID, RFP_RECORD_TYPE_ID).
  • Removed the GOOGLE_*_SPREADSHEET_ID / GOOGLE_*_SHEET_NAME env vars from .env.local.example.
  • Updated the salesforce-mapping skill to point at the hardcoded record type IDs instead of the dead env vars.

Test plan

  • npm run type-check passes
  • CI build is green
  • Remove the deleted env vars from Netlify / production env (no app code reads them anymore, but cleanup recommended)

…env vars

- delete src/utils/addRowToSpreadsheet.ts (no callers)
- drop google-spreadsheet and @types/google-spreadsheet deps
- remove GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_*_SPREADSHEET_ID/SHEET_NAME envs
- remove SF_RECORD_TYPE_* envs (record type ids are hardcoded in src/lib/sf-field-mappings.ts and src/lib/sf/index.ts)
- update salesforce-mapping skill to point at hardcoded record type ids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant