Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update `ResourceIdField` props definition (#5299)

boojack334151ed35f7
diff --git a/frontend/src/components/ResourceIdField.vue b/frontend/src/components/ResourceIdField.vue
index 295a850f37..606e2102c4 100644
--- a/frontend/src/components/ResourceIdField.vue
+++ b/frontend/src/components/ResourceIdField.vue
@@ -90,11 +90,11 @@ type ResourceType = "environment" | "instance" | "project" | "idp";
const props = withDefaults(
defineProps<{
resource: ResourceType;
- value: string;
- resourceTitle: string;
- readonly: boolean;
- randomString: boolean;
- validator: (resourceId: ResourceId) => Promise<string | undefined>;
+ value?: string;
+ resourceTitle?: string;
+ randomString?: boolean;
+ readonly?: boolean;
+ validator?: (resourceId: ResourceId) => Promise<string | undefined>;
}>(),
{
value: "",