Skip to content

Commit b7fa4ab

Browse files
authored
fix: move wpp event to its own enum for easier later expansion (#92)
1 parent 268e9cf commit b7fa4ab

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supabase/shared-types",
3-
"version": "0.1.78",
3+
"version": "0.1.79",
44
"description": "Shared Types for Supabase",
55
"scripts": {
66
"lint": "eslint . --ext .ts,.tsx",

src/events.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export enum ProjectEvents {
2525
ProjectDiskGrowth = 'project.disk_growth',
2626
ProjectSoftwareUpgraded = 'project.software_upgraded',
2727
ProjectTransfered = 'project.transfered',
28-
ProjectTransferredFromWarmPool = 'project.transfered_from_warm_pool',
2928
ProjectPhysicalBackupTransition = 'project.physical_backup_transition',
3029
ProjectPhysicalBackupIneligible = 'project.physical_backup_ineligible',
3130
ProjectIPv4AddressUpdate = 'project.network.ipv4_update',
@@ -38,6 +37,10 @@ export enum ProjectEvents {
3837
ProjectStorageArchiveCompleted = 'project.storage_archive_completed',
3938
}
4039

40+
export enum WarmProjectPoolEvents {
41+
Transferred = 'transfered_from_warm_project_pool',
42+
}
43+
4144
export enum ProjectCloningEvents {
4245
ClonedFromSource = 'cloned_from_source',
4346
ClonedToTarget = 'cloned_to_target',

0 commit comments

Comments
 (0)