basis.entity: deprecate `state` in type config
basis.entity: move aside deprecated things