27544fecd1
Catégorie « Énigmes » dans le catalogue Blockly canonique : zacus_scene (écran maître title/subtitle/symbol/effect), zacus_puzzleQR et zacus_puzzleSound. L'export blocks_to_runtime3 les attache au step courant comme objets IR scene/puzzle (pas des actions), avec clamping/troncature vers les limites strictes du gateway pour que l'IR émis valide toujours. Copie hub régénérée via sync_blockly_catalog.sh. 14 tests d'export ajoutés (60 verts).
21 lines
895 B
TypeScript
21 lines
895 B
TypeScript
// Hand-written types for the canonical Blockly catalog (plain .mjs so the
|
|
// hub's classic-script copy can be generated from the same source).
|
|
|
|
export declare const ZACUS_COLOR: Record<string, string>;
|
|
export declare const ZACUS_VOICES: ReadonlyArray<[string, string]>;
|
|
export declare const ZACUS_EMOTIONS: ReadonlyArray<[string, string]>;
|
|
export declare const ZACUS_SCENE_EFFECTS: ReadonlyArray<[string, string]>;
|
|
|
|
/** Register every zacus_* block shape against the given Blockly module. */
|
|
export declare function registerZacusBlocks(blockly: unknown): void;
|
|
|
|
export declare const ZACUS_BLOCK_TYPES: readonly string[];
|
|
export declare const ZACUS_FIELDS_BY_KIND: Readonly<Record<string, readonly string[]>>;
|
|
|
|
export interface ZacusToolboxCategory {
|
|
name: string;
|
|
colour: string;
|
|
types: readonly string[];
|
|
}
|
|
export declare const ZACUS_TOOLBOX_CATEGORIES: readonly ZacusToolboxCategory[];
|