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:
+16
-12
@@ -1,3 +1,7 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { EventEmitter } from 'node:events';
|
||||
import { StringDecoder } from 'node:string_decoder';
|
||||
/**
|
||||
@@ -11,17 +15,17 @@ export type { SD, Pipe, PipeProxyErrors };
|
||||
* Return true if the argument is a Minipass stream, Node stream, or something
|
||||
* else that Minipass can interact with.
|
||||
*/
|
||||
export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
}) | (EventEmitter<any> & {
|
||||
export declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
pause(): any;
|
||||
resume(): any;
|
||||
pipe(...destArgs: any[]): any;
|
||||
}) | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (NodeJS.WriteStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
});
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Readable}
|
||||
@@ -529,17 +533,17 @@ export declare class Minipass<RType extends unknown = Buffer, WType extends unkn
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
}) | (EventEmitter<any> & {
|
||||
static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
pause(): any;
|
||||
resume(): any;
|
||||
pipe(...destArgs: any[]): any;
|
||||
}) | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (NodeJS.WriteStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-13
@@ -22,11 +22,7 @@ const isStream = (s) => !!s &&
|
||||
(s instanceof Minipass ||
|
||||
s instanceof node_stream_1.default ||
|
||||
(0, exports.isReadable)(s) ||
|
||||
(0, exports.isWritable)(s))
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Readable}
|
||||
*/
|
||||
;
|
||||
(0, exports.isWritable)(s));
|
||||
exports.isStream = isStream;
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Readable}
|
||||
@@ -36,11 +32,7 @@ const isReadable = (s) => !!s &&
|
||||
s instanceof node_events_1.EventEmitter &&
|
||||
typeof s.pipe === 'function' &&
|
||||
// node core Writable streams have a pipe() method, but it throws
|
||||
s.pipe !== node_stream_1.default.Writable.prototype.pipe
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Writable}
|
||||
*/
|
||||
;
|
||||
s.pipe !== node_stream_1.default.Writable.prototype.pipe;
|
||||
exports.isReadable = isReadable;
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Writable}
|
||||
@@ -137,7 +129,7 @@ class PipeProxyErrors extends Pipe {
|
||||
}
|
||||
constructor(src, dest, opts) {
|
||||
super(src, dest, opts);
|
||||
this.proxyErrors = (er) => this.dest.emit('error', er);
|
||||
this.proxyErrors = er => dest.emit('error', er);
|
||||
src.on('error', this.proxyErrors);
|
||||
}
|
||||
}
|
||||
@@ -947,7 +939,6 @@ class Minipass extends node_events_1.EventEmitter {
|
||||
[Symbol.asyncIterator]() {
|
||||
return this;
|
||||
},
|
||||
[Symbol.asyncDispose]: async () => { },
|
||||
};
|
||||
}
|
||||
/**
|
||||
@@ -985,7 +976,6 @@ class Minipass extends node_events_1.EventEmitter {
|
||||
[Symbol.iterator]() {
|
||||
return this;
|
||||
},
|
||||
[Symbol.dispose]: () => { },
|
||||
};
|
||||
}
|
||||
/**
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+16
-12
@@ -1,3 +1,7 @@
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
import { EventEmitter } from 'node:events';
|
||||
import { StringDecoder } from 'node:string_decoder';
|
||||
/**
|
||||
@@ -11,17 +15,17 @@ export type { SD, Pipe, PipeProxyErrors };
|
||||
* Return true if the argument is a Minipass stream, Node stream, or something
|
||||
* else that Minipass can interact with.
|
||||
*/
|
||||
export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
}) | (EventEmitter<any> & {
|
||||
export declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
pause(): any;
|
||||
resume(): any;
|
||||
pipe(...destArgs: any[]): any;
|
||||
}) | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (NodeJS.WriteStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
});
|
||||
/**
|
||||
* Return true if the argument is a valid {@link Minipass.Readable}
|
||||
@@ -529,17 +533,17 @@ export declare class Minipass<RType extends unknown = Buffer, WType extends unkn
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
}) | (EventEmitter<any> & {
|
||||
static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
pause(): any;
|
||||
resume(): any;
|
||||
pipe(...destArgs: any[]): any;
|
||||
}) | (NodeJS.ReadStream & {
|
||||
fd: number;
|
||||
}) | (NodeJS.WriteStream & {
|
||||
fd: number;
|
||||
}) | (EventEmitter & {
|
||||
end(): any;
|
||||
write(chunk: any, ...args: any[]): any;
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-3
@@ -120,7 +120,7 @@ class PipeProxyErrors extends Pipe {
|
||||
}
|
||||
constructor(src, dest, opts) {
|
||||
super(src, dest, opts);
|
||||
this.proxyErrors = (er) => this.dest.emit('error', er);
|
||||
this.proxyErrors = er => dest.emit('error', er);
|
||||
src.on('error', this.proxyErrors);
|
||||
}
|
||||
}
|
||||
@@ -930,7 +930,6 @@ export class Minipass extends EventEmitter {
|
||||
[Symbol.asyncIterator]() {
|
||||
return this;
|
||||
},
|
||||
[Symbol.asyncDispose]: async () => { },
|
||||
};
|
||||
}
|
||||
/**
|
||||
@@ -968,7 +967,6 @@ export class Minipass extends EventEmitter {
|
||||
[Symbol.iterator]() {
|
||||
return this;
|
||||
},
|
||||
[Symbol.dispose]: () => { },
|
||||
};
|
||||
}
|
||||
/**
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+14
-9
@@ -1,14 +1,13 @@
|
||||
{
|
||||
"name": "minipass",
|
||||
"version": "7.1.3",
|
||||
"version": "7.1.2",
|
||||
"description": "minimal implementation of a PassThrough stream",
|
||||
"main": "./dist/commonjs/index.js",
|
||||
"types": "./dist/commonjs/index.d.ts",
|
||||
"module": "./dist/esm/index.js",
|
||||
"type": "module",
|
||||
"tshy": {
|
||||
"selfLink": false,
|
||||
"compiler": "tsgo",
|
||||
"main": true,
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": "./src/index.ts"
|
||||
@@ -55,14 +54,14 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/end-of-stream": "^1.4.2",
|
||||
"@types/node": "^25.2.3",
|
||||
"@types/node": "^20.1.2",
|
||||
"end-of-stream": "^1.4.0",
|
||||
"node-abort-controller": "^3.1.1",
|
||||
"prettier": "^3.8.1",
|
||||
"tap": "^21.6.1",
|
||||
"prettier": "^2.6.2",
|
||||
"tap": "^19.0.0",
|
||||
"through2": "^2.0.3",
|
||||
"tshy": "^3.3.2",
|
||||
"typedoc": "^0.28.17"
|
||||
"tshy": "^1.14.0",
|
||||
"typedoc": "^0.25.1"
|
||||
},
|
||||
"repository": "https://github.com/isaacs/minipass",
|
||||
"keywords": [
|
||||
@@ -70,8 +69,14 @@
|
||||
"stream"
|
||||
],
|
||||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
},
|
||||
"tap": {
|
||||
"typecheck": true,
|
||||
"include": [
|
||||
"test/*.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user