semanticdb-core 1.1.28 → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,14 +111,6 @@ function isSchemaValid(schema, schemasDict) {
111
111
  if (schema.type !== 'entity' && birthdayProps) {
112
112
  return { valid: false, message: '只有实体类有生命周期概念' };
113
113
  }
114
- // ==================== 实体表timestamp检查 ====================
115
- const tmsProps = schema.properties.find((p) => p.type === 'timestamp');
116
- if (schema.type === 'entity' && tmsProps && !tmsProps.i_am_an_expert) {
117
- return {
118
- valid: false,
119
- message: `实体表 ${schema.name} 不允许使用时间戳类型字段: ${tmsProps.name}。不然会是一张快照表。如确实需要,请在专家模式中给该字段加入i_am_an_expert: true。`,
120
- };
121
- }
122
114
  // ==================== entity必须有ID属性 ====================
123
115
  if (schema.type === 'entity') {
124
116
  const found = schema.properties.find((p) => p.type === 'ID');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.1.28",
3
+ "version": "1.1.30",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [