Skip to content

refactor: lift generation type and prompt helpers into shared utils - #170

Draft
dazzatronus wants to merge 1 commit into
mainfrom
derk/lift-generation-type-helpers
Draft

refactor: lift generation type and prompt helpers into shared utils#170
dazzatronus wants to merge 1 commit into
mainfrom
derk/lift-generation-type-helpers

Conversation

@dazzatronus

Copy link
Copy Markdown
Contributor

GENERATION_TYPE and promptProperty describe how an asset type maps to a generated media kind and where a legacy speech asset keeps its prompt. Both are facts about assets, not about a toolbar, and both are needed outside the toolbar.

Pure move: the two declarations are unchanged, the toolbar imports them from their new home, and its now-unused type import goes with them. No behaviour change.

Verify: npm run verify:ci — the existing suite passes unmodified, which is the proof that nothing moved but the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant