Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package billing
|
||||
|
||||
// SparseLegacyOverrides returns false overrides for every registry key not on the legacy allow-list.
|
||||
// Storing these makes admin UIs show an explicit legacy matrix; resolve also applies DefaultPlanFeatures.
|
||||
func SparseLegacyOverrides() map[string]bool {
|
||||
out := make(map[string]bool)
|
||||
for _, k := range FeatureCatalogKeys {
|
||||
if !LegacyFeatureAllowed(k) {
|
||||
out[k] = false
|
||||
}
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
// featuresMapEmpty reports whether the sparse override map is unset (nil or no keys).
|
||||
func featuresMapEmpty(features map[string]bool) bool {
|
||||
return len(features) == 0
|
||||
}
|
||||
Reference in New Issue
Block a user