Skip to content

Commit

Permalink
feat: adds new event project.addon_updated (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecktoteckto authored Feb 9, 2024
1 parent b2cf4b2 commit 356544a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
node_modules
.DS_Store
out
.idea/
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@supabase/shared-types",
"version": "0.1.60",
"version": "0.1.61",
"description": "Shared Types for Supabase",
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
Expand Down
7 changes: 7 additions & 0 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export enum ProjectEvents {
ProjectTransfered = 'project.transfered',
ProjectPhysicalBackupTransition = 'project.physical_backup_transition',
ProjectIPv4AddressUpdate = 'project.network.ipv4_update',
ProjectAddonUpdated = 'project.addon_updated',
}

export enum ProjectDiskGrowth {
Expand Down Expand Up @@ -190,3 +191,9 @@ export type ProjectTransferedPayload = {
old_organization_id: number
new_organization_id: number
}

export type ProjectAddonUpdatedPayload = {
addon_type: string
old_addon_variant?: string
new_addon_variant?: string
}

0 comments on commit 356544a

Please sign in to comment.