43 SCHEMA_TYPES = set(( |
43 SCHEMA_TYPES = set(( |
44 'CWEType', 'CWRType', 'CWAttribute', 'CWRelation', |
44 'CWEType', 'CWRType', 'CWAttribute', 'CWRelation', |
45 'CWConstraint', 'CWConstraintType', 'RQLExpression', |
45 'CWConstraint', 'CWConstraintType', 'RQLExpression', |
46 'relation_type', 'from_entity', 'to_entity', |
46 'relation_type', 'from_entity', 'to_entity', |
47 'constrained_by', 'cstrtype', |
47 'constrained_by', 'cstrtype', |
48 # XXX those are not really "schema" entity types |
|
49 # but we usually don't want them as @* targets |
|
50 'CWProperty', 'CWPermission', 'State', 'Transition', |
|
51 )) |
48 )) |
52 |
49 |
53 _LOGGER = getLogger('cubicweb.schemaloader') |
50 _LOGGER = getLogger('cubicweb.schemaloader') |
54 |
51 |
55 # schema entities created from serialized schema have an eid rproperty |
52 # schema entities created from serialized schema have an eid rproperty |