Skip to content

Added collections/globals to Payload config#20

Merged
hugo-hsi-dev merged 2 commits intomainfrom
opencode/issue11-20260312021401
Mar 12, 2026
Merged

Added collections/globals to Payload config#20
hugo-hsi-dev merged 2 commits intomainfrom
opencode/issue11-20260312021401

Conversation

@opencode-agent
Copy link
Copy Markdown
Contributor

Implementation complete. Here's what was done:

Collections created:

  • src/collections/Experience.ts - Work experience entries
  • src/collections/Projects.ts - Portfolio projects

Globals created:

  • src/globals/Homepage.ts - Homepage hero, featured projects, skills
  • src/globals/About.ts - Bio, avatar, resume, skills by category
  • src/globals/Contact.ts - Contact info, social links, availability
  • src/globals/SiteSettings.ts - Site metadata, SEO, analytics

Config updated (src/payload.config.ts):

  • Added all new collection imports and registered them
  • Added all new global imports and registered them
  • Generated types via npm run generate:types

TypeScript compiles successfully with tsc --noEmit.

Closes #11

New%20session%20-%202026-03-12T02%3A14%3A00.489Z
opencode session  |  github run

Co-authored-by: hugo-hsi-dev <hugo-hsi-dev@users.noreply.github.com>
@opencode-agent opencode-agent bot mentioned this pull request Mar 12, 2026
5 tasks
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Ready Ready Preview, Comment Mar 12, 2026 6:42pm

@hugo-hsi-dev
Copy link
Copy Markdown
Owner

/oc merge main and resolve conflict

@opencode-agent
Copy link
Copy Markdown
Contributor Author

Merge completed successfully. Resolved conflicts in 7 files:

  • src/payload.config.ts - Combined both versions with all collections and globals
  • src/collections/Experience.ts - Merged fields (slug, logo, order from HEAD; admin descriptions from main)
  • src/collections/Projects.ts - Combined all fields including category, gallery, context, company
  • src/globals/About.ts - Combined bio, avatar, resume, skills
  • src/globals/Contact.ts - Combined email type with socialLinks array
  • src/globals/Homepage.ts - Combined hero group, featuredProjects, skills, resume
  • src/payload-types.ts - Used main version (will regenerate)

TypeScript compiles successfully.

New%20session%20-%202026-03-12T18%3A38%3A11.797Z
opencode session  |  github run

@hugo-hsi-dev hugo-hsi-dev merged commit 2d575a4 into main Mar 12, 2026
2 checks passed
@hugo-hsi-dev hugo-hsi-dev deleted the opencode/issue11-20260312021401 branch March 16, 2026 20:38
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.

Update Payload Config

1 participant