@zenstackhq/language 3.3.3 → 3.4.0-beta.2

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.3.3",
4
+ "version": "3.4.0-beta.2",
5
5
  "license": "MIT",
6
6
  "author": "ZenStack Team",
7
7
  "files": [
@@ -40,6 +40,16 @@
40
40
  "default": "./dist/utils.cjs"
41
41
  }
42
42
  },
43
+ "./factory": {
44
+ "import": {
45
+ "types": "./dist/factory.d.ts",
46
+ "default": "./dist/factory.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/factory.d.cts",
50
+ "default": "./dist/factory.cjs"
51
+ }
52
+ },
43
53
  "./package.json": {
44
54
  "import": "./package.json",
45
55
  "require": "./package.json"
@@ -50,7 +60,7 @@
50
60
  "pluralize": "^8.0.0",
51
61
  "ts-pattern": "^5.7.1",
52
62
  "vscode-languageserver": "^9.0.1",
53
- "@zenstackhq/common-helpers": "3.3.3"
63
+ "@zenstackhq/common-helpers": "3.4.0-beta.2"
54
64
  },
55
65
  "devDependencies": {
56
66
  "@types/pluralize": "^0.0.33",
@@ -58,9 +68,9 @@
58
68
  "glob": "^11.1.0",
59
69
  "langium-cli": "3.5.0",
60
70
  "tmp": "^0.2.3",
61
- "@zenstackhq/eslint-config": "3.3.3",
62
- "@zenstackhq/typescript-config": "3.3.3",
63
- "@zenstackhq/vitest-config": "3.3.3"
71
+ "@zenstackhq/eslint-config": "3.4.0-beta.2",
72
+ "@zenstackhq/typescript-config": "3.4.0-beta.2",
73
+ "@zenstackhq/vitest-config": "3.4.0-beta.2"
64
74
  },
65
75
  "scripts": {
66
76
  "build": "pnpm langium:generate && tsc --noEmit && tsup-node",
package/res/stdlib.zmodel CHANGED
@@ -120,7 +120,7 @@ function dbgenerated(expr: String?): Any {
120
120
  /**
121
121
  * Checks if the field value contains the search string. By default, the search is case-sensitive, and
122
122
  * "LIKE" operator is used to match. If `caseInSensitive` is true, "ILIKE" operator is used if
123
- * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
123
+ * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
124
124
  * behavior is.
125
125
  */
126
126
  function contains(field: String, search: String, caseInSensitive: Boolean?): Boolean {
@@ -135,7 +135,7 @@ function contains(field: String, search: String, caseInSensitive: Boolean?): Boo
135
135
  /**
136
136
  * Checks the field value starts with the search string. By default, the search is case-sensitive, and
137
137
  * "LIKE" operator is used to match. If `caseInSensitive` is true, "ILIKE" operator is used if
138
- * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
138
+ * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
139
139
  * behavior is.
140
140
  */
141
141
  function startsWith(field: String, search: String, caseInSensitive: Boolean?): Boolean {
@@ -144,7 +144,7 @@ function startsWith(field: String, search: String, caseInSensitive: Boolean?): B
144
144
  /**
145
145
  * Checks if the field value ends with the search string. By default, the search is case-sensitive, and
146
146
  * "LIKE" operator is used to match. If `caseInSensitive` is true, "ILIKE" operator is used if
147
- * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
147
+ * supported, otherwise it still falls back to "LIKE" and delivers whatever the database's
148
148
  * behavior is.
149
149
  */
150
150
  function endsWith(field: String, search: String, caseInSensitive: Boolean?): Boolean {