feat(attributes): Add state.type attribute
#365
+73
−0
state.type attribute
#365