FIX: es-lint

This commit is contained in:
Boris Waaub
2026-02-04 15:03:58 +01:00
parent 701dd44169
commit c66105fb67
3 changed files with 6 additions and 7 deletions

View File

@@ -47,8 +47,7 @@ export interface StoredObjectVersionCreated extends StoredObjectVersion {
persisted: false;
}
export interface StoredObjectVersionPersisted
extends StoredObjectVersionCreated {
export interface StoredObjectVersionPersisted extends StoredObjectVersionCreated {
version: number;
id: number;
createdAt: DateTime | null;
@@ -62,8 +61,7 @@ export interface StoredObjectStatusChange {
type: string;
}
export interface StoredObjectVersionWithPointInTime
extends StoredObjectVersionPersisted {
export interface StoredObjectVersionWithPointInTime extends StoredObjectVersionPersisted {
"point-in-times": StoredObjectPointInTime[];
"from-restored": StoredObjectVersionPersisted | null;
}

View File

@@ -18,6 +18,7 @@
<div
v-for="err in violations.violationTitles('lastName')"
class="invalid-feedback was-validated-force"
:key="err"
>
{{ err }}
</div>
@@ -72,7 +73,7 @@
</div>
<template v-if="action === 'create'">
<div v-for="(a, i) in config.altNames" :key="a.key" class="mb-3">
<div v-for="a in config.altNames" :key="a.key" class="mb-3">
<div class="input-group has-validation">
<div class="form-floating">
<input
@@ -473,7 +474,7 @@ const addAddress = reactive({
target: {},
edit: false,
addressId: null as number | null,
defaults: (window as any).addaddress,
defaults: window.addaddress,
},
});

View File

@@ -39,7 +39,7 @@ function isBaseThirdParty(t: unknown): t is BaseThirdParty {
if (typeof t !== "object" || t === null) return false;
const o = t as Partial<BaseThirdParty>;
return (
(o as any).type === "thirdparty" &&
o.type === "thirdparty" &&
typeof o.id === "number" &&
typeof o.text === "string" &&
(o.kind === "" ||