Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .claude/skills/salesforce-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,7 @@ const curatedData = {

### Record Type

Different forms use different Salesforce record types. Set via environment variables:

```
SF_RECORD_TYPE_OFFICE_HOURS
SF_RECORD_TYPE_PROJECT_GRANTS
SF_RECORD_TYPE_SMALL_GRANTS
SF_RECORD_TYPE_SPONSORSHIPS
SF_RECORD_TYPE_GRANTS_ROUND
```
Different forms use different Salesforce record types. 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`).

## Common Salesforce Errors

Expand Down
22 changes: 0 additions & 22 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,6 @@ SF_PROD_LOGIN_URL=
SF_PROD_CONSUMER_KEY=
SF_PROD_CONSUMER_SECRET=

# salesforce record types
SF_RECORD_TYPE_OFFICE_HOURS=
SF_RECORD_TYPE_PROJECT_GRANTS=
SF_RECORD_TYPE_SMALL_GRANTS=
SF_RECORD_TYPE_SPONSORSHIPS=
SF_RECORD_TYPE_GRANTS_ROUND=
SF_RECORD_TYPE_GENERALIST_ECODEV=
SF_RECORD_TYPE_PSE_COMMUNITY_EVENT=
SF_RECORD_TYPE_PSE_QFI=
SF_RECORD_TYPE_PSE_GRANTS=

# google sheet credentials for applications
GOOGLE_APPLICATION_CREDENTIALS=

# google sheet for academic grants
GOOGLE_ACADEMIC_SPREADSHEET_ID=
GOOGLE_ACADEMIC_SHEET_NAME=

# google sheet for devcon grants
GOOGLE_DEVCON_SPREADSHEET_ID=
GOOGLE_DEVCON_SHEET_NAME=

# captcha (key/secret for testing only, check Netlify for production key if needed)
NEXT_PUBLIC_HCAPTCHA_SITEKEY=10000000-ffff-ffff-ffff-000000000001
HCAPTCHA_SECRET=0x0000000000000000000000000000000000000000
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"formidable": "^2.0.1",
"framer-motion": "^11.0.5",
"github-slugger": "^2.0.0",
"google-spreadsheet": "^3.2.0",
"gray-matter": "^4.0.3",
"jsforce": "^3.10.0",
"jsonwebtoken": "^9.0.2",
Expand All @@ -59,7 +58,6 @@
"devDependencies": {
"@hookform/resolvers": "^3.1.0",
"@types/formidable": "^2.0.4",
"@types/google-spreadsheet": "^3.1.5",
"@types/jsonwebtoken": "^9.0.10",
"@types/mailchimp__mailchimp_marketing": "^3.0.3",
"@types/node": "17.0.0",
Expand Down
Loading
Loading