@zenstackhq/language 3.0.0-beta.24 → 3.0.0-beta.26

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zenstackhq/language",
3
3
  "description": "ZenStack ZModel language specification",
4
- "version": "3.0.0-beta.24",
4
+ "version": "3.0.0-beta.26",
5
5
  "license": "MIT",
6
6
  "author": "ZenStack Team",
7
7
  "files": [
@@ -49,7 +49,8 @@
49
49
  "langium": "3.5.0",
50
50
  "pluralize": "^8.0.0",
51
51
  "ts-pattern": "^5.7.1",
52
- "vscode-languageserver": "^9.0.1"
52
+ "vscode-languageserver": "^9.0.1",
53
+ "@zenstackhq/common-helpers": "3.0.0-beta.26"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@types/pluralize": "^0.0.33",
@@ -57,10 +58,9 @@
57
58
  "glob": "^11.0.2",
58
59
  "langium-cli": "3.5.0",
59
60
  "tmp": "^0.2.3",
60
- "@zenstackhq/common-helpers": "3.0.0-beta.24",
61
- "@zenstackhq/vitest-config": "3.0.0-beta.24",
62
- "@zenstackhq/typescript-config": "3.0.0-beta.24",
63
- "@zenstackhq/eslint-config": "3.0.0-beta.24"
61
+ "@zenstackhq/eslint-config": "3.0.0-beta.26",
62
+ "@zenstackhq/vitest-config": "3.0.0-beta.26",
63
+ "@zenstackhq/typescript-config": "3.0.0-beta.26"
64
64
  },
65
65
  "volta": {
66
66
  "node": "18.19.1",
package/res/stdlib.zmodel CHANGED
@@ -393,6 +393,13 @@ attribute @ignore() @@@prisma
393
393
  */
394
394
  attribute @@ignore() @@@prisma
395
395
 
396
+ /**
397
+ * Indicates that the field should be omitted by default when read with an ORM client. The omission can be
398
+ * overridden in options passed to create `ZenStackClient`, or at query time by explicitly passing in an
399
+ * `omit` clause. The attribute is only effective for ORM query APIs, not for query-builder APIs.
400
+ */
401
+ attribute @omit()
402
+
396
403
  /**
397
404
  * Automatically stores the time when a record was last updated.
398
405
  */