feat: page interactive, démos Play/Step et simulateur Carnot
Ajoute le pipeline PageSpec (validation, rendu, publication /p/{slug}),
les démos TipTap /demo, et le simulateur Carnot (modes frigo/PAC/moteur,
énergie kJ vs puissance W, unités K/°C/°F) avec correctifs d’équations KaTeX.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
40
memento-note/lib/interactive-demo/index.ts
Normal file
40
memento-note/lib/interactive-demo/index.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export {
|
||||
INTERACTIVE_DEMO_CAPS,
|
||||
INTERACTIVE_DEMO_SCHEMA_VERSION,
|
||||
PATTERN_IDS,
|
||||
INTENT_IDS,
|
||||
SCOPE_IDS,
|
||||
ANNOTATION_KINDS,
|
||||
PANEL_TYPES,
|
||||
CHART_TYPES,
|
||||
HUMAN_STRING_KEYS,
|
||||
SPEAK_WRITING_RULE,
|
||||
} from './constants'
|
||||
export {
|
||||
SPEAK_WRITING_GUIDE,
|
||||
intentColor,
|
||||
dimOpacity,
|
||||
spotlightColor,
|
||||
} from './intent-colors'
|
||||
export { interactiveDemoV1Schema } from './schema'
|
||||
export {
|
||||
validateInteractiveDemo,
|
||||
assertTranslatePreservesStructure,
|
||||
collectSceneElementIds,
|
||||
heatmapCellIds,
|
||||
} from './validate'
|
||||
export { normalizeInteractiveDemoCandidate } from './normalize'
|
||||
export {
|
||||
resolveInteractiveDemo,
|
||||
resolveActFinalState,
|
||||
} from './resolve'
|
||||
export type {
|
||||
InteractiveDemoV1,
|
||||
ValidationResult,
|
||||
ValidationIssue,
|
||||
DemoAct,
|
||||
DemoStep,
|
||||
DemoScene,
|
||||
Panel,
|
||||
} from './types'
|
||||
export type { StepResolvedState, ActResolvedState, ResolvedAnnotation } from './resolve'
|
||||
Reference in New Issue
Block a user