654b297e2e
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
63 lines
2.1 KiB
TypeScript
63 lines
2.1 KiB
TypeScript
import * as core from "../core/index.js";
|
|
import * as schemas from "./schemas.js";
|
|
|
|
// iso time
|
|
export interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<"datetime"> {
|
|
_zod: core.$ZodISODateTimeInternals;
|
|
}
|
|
export const ZodMiniISODateTime: core.$constructor<ZodMiniISODateTime> = /*@__PURE__*/ core.$constructor(
|
|
"$ZodISODateTime",
|
|
(inst, def) => {
|
|
core.$ZodISODateTime.init(inst, def);
|
|
schemas.ZodMiniStringFormat.init(inst, def);
|
|
}
|
|
);
|
|
export function datetime(params?: string | core.$ZodISODateTimeParams): ZodMiniISODateTime {
|
|
return core._isoDateTime(ZodMiniISODateTime, params);
|
|
}
|
|
|
|
// iso date
|
|
export interface ZodMiniISODate extends schemas.ZodMiniStringFormat<"date"> {
|
|
_zod: core.$ZodISODateInternals;
|
|
}
|
|
export const ZodMiniISODate: core.$constructor<ZodMiniISODate> = /*@__PURE__*/ core.$constructor(
|
|
"$ZodISODate",
|
|
(inst, def) => {
|
|
core.$ZodISODate.init(inst, def);
|
|
schemas.ZodMiniStringFormat.init(inst, def);
|
|
}
|
|
);
|
|
export function date(params?: string | core.$ZodISODateParams): ZodMiniISODate {
|
|
return core._isoDate(ZodMiniISODate, params);
|
|
}
|
|
|
|
// iso time
|
|
export interface ZodMiniISOTime extends schemas.ZodMiniStringFormat<"time"> {
|
|
_zod: core.$ZodISOTimeInternals;
|
|
}
|
|
export const ZodMiniISOTime: core.$constructor<ZodMiniISOTime> = /*@__PURE__*/ core.$constructor(
|
|
"$ZodISOTime",
|
|
(inst, def) => {
|
|
core.$ZodISOTime.init(inst, def);
|
|
schemas.ZodMiniStringFormat.init(inst, def);
|
|
}
|
|
);
|
|
export function time(params?: string | core.$ZodISOTimeParams): ZodMiniISOTime {
|
|
return core._isoTime(ZodMiniISOTime, params);
|
|
}
|
|
|
|
// iso duration
|
|
export interface ZodMiniISODuration extends schemas.ZodMiniStringFormat<"duration"> {
|
|
_zod: core.$ZodISODurationInternals;
|
|
}
|
|
export const ZodMiniISODuration: core.$constructor<ZodMiniISODuration> = /*@__PURE__*/ core.$constructor(
|
|
"$ZodISODuration",
|
|
(inst, def) => {
|
|
core.$ZodISODuration.init(inst, def);
|
|
schemas.ZodMiniStringFormat.init(inst, def);
|
|
}
|
|
);
|
|
export function duration(params?: string | core.$ZodISODurationParams): ZodMiniISODuration {
|
|
return core._isoDuration(ZodMiniISODuration, params);
|
|
}
|