Skip to content

Refactor MediaType and fix imports - #483

Merged
wyf7107 merged 1 commit into
google:mainfrom
wyf7107:main
Aug 18, 2026
Merged

Refactor MediaType and fix imports#483
wyf7107 merged 1 commit into
google:mainfrom
wyf7107:main

Conversation

@wyf7107

@wyf7107 wyf7107 commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Refactor MediaType and fix imports

The google3 copy of these files carries changes this repo does not: the
safevalues hardening in theme.service and analytics.service, MediaType moved
out of artifact-tab into core/models/types, 1p test scaffolding in six spec
files, and an @license header on audio-processor.js. Most were dropped by the
revert in google#481.

Adopting them here makes the two trees identical under the Copybara export
transforms, so re-enabling the Piper -> GitHub postsubmit is a no-op rather
than a surprise content push. Reconciling in content is also the right layer:
expressing the difference as transform rules instead would permanently block
the safevalues hardening from ever reaching this repo.

MediaType keeps a re-export from artifact-tab.component.ts, so imports from
that path are unaffected, and the enum values are unchanged.

Verified: ng build clean, and ng test 628 passing -- identical to the
pre-change baseline.
@wyf7107
wyf7107 merged commit 1c832dc into google:main Aug 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants