Skip to content

Update uGig social adapter to posts API#84

Open
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/social-ugig-posts-api
Open

Update uGig social adapter to posts API#84
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/social-ugig-posts-api

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the stale uGig prompts-marketplace integration with the current documented /api/posts community feed API
  • support UGIG_API_KEY via X-API-Key, while preserving legacy UGIG_TOKEN bearer auth fallback
  • map sh1pt social posts to uGig content, url, post_type, and tags, returning the public /post/:id URL
  • expand tests from a smoke check to contract, auth, request-shape, fallback-token, and API-error coverage

Validation

  • corepack pnpm exec vitest run packages/social/ugig/src/index.test.ts
  • corepack pnpm exec tsc -p packages/social/ugig/tsconfig.json --noEmit
  • git diff --check

@ralyodio ralyodio self-assigned this May 13, 2026
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.

2 participants