chore: update destructiveness

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-06-16 15:05:28 +02:00
parent fcc9fa9e90
commit aa627f4481
2 changed files with 2 additions and 3 deletions
@@ -142,7 +142,7 @@ describe('MockActionsRegistry', () => {
title: 'Test',
description: 'Test',
attributes: {
destructive: false,
destructive: true,
idempotent: false,
readOnly: false,
},
@@ -80,8 +80,7 @@ export class MockActionsRegistry
title: action.title,
description: action.description,
attributes: {
// todo(blam): what's safe defaults?
destructive: action.attributes?.destructive ?? false,
destructive: action.attributes?.destructive ?? true,
idempotent: action.attributes?.idempotent ?? false,
readOnly: action.attributes?.readOnly ?? false,
},