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:
-6
@@ -65,12 +65,6 @@ function createVerificationPolicy(options) {
|
||||
if (options.certificateIssuer) {
|
||||
policy.extensions = { issuer: options.certificateIssuer };
|
||||
}
|
||||
if (options.certificateOIDs) {
|
||||
policy.oids = Object.entries(options.certificateOIDs).map(([oid, value]) => ({
|
||||
oid: { id: oid.split('.').map(Number) },
|
||||
value: Buffer.from(value),
|
||||
}));
|
||||
}
|
||||
return policy;
|
||||
}
|
||||
// Instantiate the FulcioSigner based on the supplied options.
|
||||
|
||||
+3
-4
@@ -1,11 +1,10 @@
|
||||
import { SerializedBundle } from '@sigstore/bundle';
|
||||
import { Signer } from '@sigstore/verify';
|
||||
import * as config from './config';
|
||||
export declare function sign(payload: Buffer, options?: config.SignOptions): Promise<SerializedBundle>;
|
||||
export declare function attest(payload: Buffer, payloadType: string, options?: config.SignOptions): Promise<SerializedBundle>;
|
||||
export declare function verify(bundle: SerializedBundle, options?: config.VerifyOptions): Promise<Signer>;
|
||||
export declare function verify(bundle: SerializedBundle, data: Buffer, options?: config.VerifyOptions): Promise<Signer>;
|
||||
export declare function verify(bundle: SerializedBundle, options?: config.VerifyOptions): Promise<void>;
|
||||
export declare function verify(bundle: SerializedBundle, data: Buffer, options?: config.VerifyOptions): Promise<void>;
|
||||
export interface BundleVerifier {
|
||||
verify(bundle: SerializedBundle, data?: Buffer): Signer;
|
||||
verify(bundle: SerializedBundle, data?: Buffer): void;
|
||||
}
|
||||
export declare function createVerifier(options?: config.VerifyOptions): Promise<BundleVerifier>;
|
||||
|
||||
+3
-3
@@ -78,8 +78,7 @@ async function verify(bundle, dataOrOptions, options) {
|
||||
else {
|
||||
options = dataOrOptions;
|
||||
}
|
||||
const verifier = await createVerifier(options);
|
||||
return verifier.verify(bundle, data);
|
||||
return createVerifier(options).then((verifier) => verifier.verify(bundle, data));
|
||||
}
|
||||
async function createVerifier(
|
||||
/* istanbul ignore next */
|
||||
@@ -106,7 +105,8 @@ options = {}) {
|
||||
verify: (bundle, payload) => {
|
||||
const deserializedBundle = (0, bundle_1.bundleFromJSON)(bundle);
|
||||
const signedEntity = (0, verify_1.toSignedEntity)(deserializedBundle, payload);
|
||||
return verifier.verify(signedEntity, policy);
|
||||
verifier.verify(signedEntity, policy);
|
||||
return;
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user