Skip to content

Commit

Permalink
Snapshot: add plugin, annotation and report data types (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
dana-axinte authored Oct 28, 2024
1 parent 36dadb3 commit 73ef561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const (
NotificationPolicyType MigrateDataType = "NOTIFICATION_POLICY"
NotificationTemplateType MigrateDataType = "NOTIFICATION_TEMPLATE"
MuteTimingType MigrateDataType = "MUTE_TIMING"
PluginDataType MigrateDataType = "PLUGIN"
AnnotationDataType MigrateDataType = "ANNOTATION"
ReportDataType MigrateDataType = "REPORT"
)

type MigrateDataRequestItemDTO struct {
Expand Down
3 changes: 3 additions & 0 deletions src/snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func TestCreateSnapshot(t *testing.T) {
NotificationPolicyType,
NotificationTemplateType,
MuteTimingType,
PluginDataType,
AnnotationDataType,
ReportDataType,
} {
resources = append(resources, input{
resourceType: resourceType,
Expand Down

0 comments on commit 73ef561

Please sign in to comment.