feat(planning): grille hebdomadaire complète avec API et filtres
- 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>
This commit is contained in:
+19
-22
@@ -2,7 +2,7 @@
|
||||
* The type of error that occurred.
|
||||
* @public
|
||||
*/
|
||||
export declare type ErrorType = "invalid-retry" | "unknown-field";
|
||||
export declare type ErrorType = 'invalid-retry' | 'unknown-field'
|
||||
|
||||
/**
|
||||
* A parsed EventSource message event
|
||||
@@ -15,16 +15,16 @@ export declare interface EventSourceMessage {
|
||||
* implementation in that browsers will default this to `message`, whereas this parser will
|
||||
* leave this as `undefined` if not explicitly declared.
|
||||
*/
|
||||
event?: string | undefined;
|
||||
event?: string | undefined
|
||||
/**
|
||||
* ID of the message, if any was provided by the server. Can be used by clients to keep the
|
||||
* last received message ID in sync when reconnecting.
|
||||
*/
|
||||
id?: string | undefined;
|
||||
id?: string | undefined
|
||||
/**
|
||||
* The data received for this message
|
||||
*/
|
||||
data: string;
|
||||
data: string
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,11 +48,8 @@ export declare interface EventSourceMessage {
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export declare class EventSourceParserStream extends TransformStream<
|
||||
string,
|
||||
EventSourceMessage
|
||||
> {
|
||||
constructor({ onError, onRetry, onComment }?: StreamOptions);
|
||||
export declare class EventSourceParserStream extends TransformStream<string, EventSourceMessage> {
|
||||
constructor({onError, onRetry, onComment}?: StreamOptions)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,28 +61,28 @@ export declare class ParseError extends Error {
|
||||
/**
|
||||
* The type of error that occurred.
|
||||
*/
|
||||
type: ErrorType;
|
||||
type: ErrorType
|
||||
/**
|
||||
* In the case of an unknown field encountered in the stream, this will be the field name.
|
||||
*/
|
||||
field?: string | undefined;
|
||||
field?: string | undefined
|
||||
/**
|
||||
* In the case of an unknown field encountered in the stream, this will be the value of the field.
|
||||
*/
|
||||
value?: string | undefined;
|
||||
value?: string | undefined
|
||||
/**
|
||||
* The line that caused the error, if available.
|
||||
*/
|
||||
line?: string | undefined;
|
||||
line?: string | undefined
|
||||
constructor(
|
||||
message: string,
|
||||
options: {
|
||||
type: ErrorType;
|
||||
field?: string;
|
||||
value?: string;
|
||||
line?: string;
|
||||
type: ErrorType
|
||||
field?: string
|
||||
value?: string
|
||||
line?: string
|
||||
},
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -103,19 +100,19 @@ export declare interface StreamOptions {
|
||||
*
|
||||
* @defaultValue `undefined`
|
||||
*/
|
||||
onError?: ("terminate" | ((error: Error) => void)) | undefined;
|
||||
onError?: ('terminate' | ((error: Error) => void)) | undefined
|
||||
/**
|
||||
* Callback for when a reconnection interval is sent from the server.
|
||||
*
|
||||
* @param retry - The number of milliseconds to wait before reconnecting.
|
||||
*/
|
||||
onRetry?: ((retry: number) => void) | undefined;
|
||||
onRetry?: ((retry: number) => void) | undefined
|
||||
/**
|
||||
* Callback for when a comment is encountered in the stream.
|
||||
*
|
||||
* @param comment - The comment encountered in the stream.
|
||||
*/
|
||||
onComment?: ((comment: string) => void) | undefined;
|
||||
onComment?: ((comment: string) => void) | undefined
|
||||
}
|
||||
|
||||
export {};
|
||||
export {}
|
||||
|
||||
Reference in New Issue
Block a user