Skip to content

Add limited time drop service layer#356

Open
a676840815-sys wants to merge 7 commits into
StarShopCr:mainfrom
a676840815-sys:codex/issue-282-limited-time-drop-service
Open

Add limited time drop service layer#356
a676840815-sys wants to merge 7 commits into
StarShopCr:mainfrom
a676840815-sys:codex/issue-282-limited-time-drop-service

Conversation

@a676840815-sys
Copy link
Copy Markdown

🚀 StarShop Pull Request

Mark with an x all the checkboxes that apply (like [x])


📌 Type of Change

  • Documentation (updates to README, docs, or comments)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

📝 Changes description

  • Add a LimitedTimeDropService wrapper for create/get/update/cancel/access/participation/status/time helpers.
  • Add typed drop/access models, constants, validation utilities, cache/event helpers, and README usage notes.
  • Document current generated-contract limitations for whitelist listing and end-time extension.

📸 Evidence (A photo is required as evidence)

Not applicable; service-layer code change.


⏰ Time spent breakdown

  • Implementation: 1h
  • Local review/diff check: 15m

🌌 Comments

Validation: ran git diff --check locally and fetched the fork branch back to compare against the local tree. Full type/lint test not run because this environment has no npm/pnpm/yarn/tsc available.

Closes #282

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Warning

Rate limit exceeded

@a676840815-sys has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 43 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fcd1cbd4-be7b-4ff1-ba58-1812545a9dc9

📥 Commits

Reviewing files that changed from the base of the PR and between caf26b1 and 9cebdf9.

📒 Files selected for processing (7)
  • src/shared/services/limited_time_drop/README.md
  • src/shared/services/limited_time_drop/constants/drop.constants.ts
  • src/shared/services/limited_time_drop/index.ts
  • src/shared/services/limited_time_drop/limited_drop.service.ts
  • src/shared/services/limited_time_drop/types/access.types.ts
  • src/shared/services/limited_time_drop/types/drop.types.ts
  • src/shared/services/limited_time_drop/utils/drop.utils.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

[Service] Limited Time Drop Contract Service for StarShop Frontend

1 participant