New Project
All checks were successful
BeijingMediaOfficialWebsite-ZhaoJian/BeijingMediaOfficialWebsite-ZhaoJian/pipeline/head This commit looks good

This commit is contained in:
2025-12-27 07:57:30 +08:00
parent 3a837da8af
commit 615d671da1
4911 changed files with 1180784 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { find } from './util.js';
export class CustomTransformerRegistry {
constructor() {
this.transfomers = {};
}
register(transformer) {
this.transfomers[transformer.name] = transformer;
}
findApplicable(v) {
return find(this.transfomers, transformer => transformer.isApplicable(v));
}
findByName(name) {
return this.transfomers[name];
}
}
//# sourceMappingURL=custom-transformer-registry.js.map