mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-09 06:23:45 +00:00
FIX: es-lint
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -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 === "" ||
|
||||
|
||||
Reference in New Issue
Block a user