@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// Fresh, synthetic backend-conformance fixtures: no existing app, record or
|
||||
// adoption history is rewritten. Only modules supporting the tested profile
|
||||
// are installed in this new fixture's registry and its matching data source.
|
||||
import type { DialectProfile } from "@app/config"
|
||||
import { appModules } from "@app/modules"
|
||||
|
||||
export function freshDialectModules(profile: DialectProfile) {
|
||||
return appModules.filter((module) => module.profiles === undefined || module.profiles.includes(profile))
|
||||
}
|
||||
Reference in New Issue
Block a user