[feature] Typed resource on/off flag