Conversation
There was a problem hiding this comment.
Pull request overview
Adds new ProjectEvents entries for project hibernation lifecycle changes and bumps the package version to publish the updated shared types.
Changes:
- Added two new
ProjectEventsvalues related to hibernation state changes. - Bumped
@supabase/shared-typesversion from0.1.85to0.1.86. - Updated
package-lock.json(includes transitive dependency version changes).
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/events.ts |
Introduces new project event type constants for hibernation lifecycle. |
package.json |
Increments package version for release. |
package-lock.json |
Updates lockfile (version bump plus transitive dependency changes). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ProjectClonedToTarget = 'project.cloned_to_target', | ||
| ProjectClonedFromSource = 'project.cloned_from_source', | ||
| ProjectHibernationSuspended = 'project.hibernation_suspended', | ||
| ProjectHibernationWaken = 'project.hibernation_waken', |
There was a problem hiding this comment.
ProjectHibernationWaken / project.hibernation_waken is grammatically inconsistent with the rest of ProjectEvents (which mostly uses past tense/participle like paused, restored, completed). If this event represents “project was woken”, consider renaming to something like ProjectHibernationWoken (and project.hibernation_woken) or ...Awakened to avoid confusion/mismatched event routing for consumers.
| ProjectHibernationWaken = 'project.hibernation_waken', | |
| ProjectHibernationWoken = 'project.hibernation_woken', |
No description provided.