_entry-question-cards.ts 725 B

123456789101112131415
  1. /** esbuild 入口:问卷作答写回(纯函数)—— 供 verify-question-cards.mjs 直接引用真实现 */
  2. export {
  3. buildAnsweredQuestionCardsContent,
  4. applyQuestionCardsAnswers,
  5. hasAnsweredQuestionCards,
  6. } from '../../src/utils/question-cards-answers';
  7. // 真实切行器(渲染层就是把它的输出交给组件的)—— 让验证能跑**完整往返**,
  8. // 而不是自己手工剥标记(2026-09-24 的教训:手工剥标记的测试放过了"卡片渲染成空")
  9. export { StreamXMLFilter, RecordRowTypes } from '../../src/utils/stream-xml-filter';
  10. export {
  11. unwrapQuestionCardsContent,
  12. parseQuestionsFromContent,
  13. parseAnswersFromContent,
  14. } from '../../src/utils/question-cards-content';