@atscript/ui 0.1.185 → 0.1.187
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.
|
@@ -345,7 +345,7 @@ function validateDistinct(token, _args, doc) {
|
|
|
345
345
|
return errors;
|
|
346
346
|
}
|
|
347
347
|
const struct = field.struct;
|
|
348
|
-
if (struct && (0, _atscript_core.isStructure)(struct) && field.prop.countAnnotations("db.column.dimension") === 0 && (0, _atscript_db_shared.isStrictAggregateStruct)(struct)) errors.push({
|
|
348
|
+
if (struct && (0, _atscript_core.isStructure)(struct) && field.prop.countAnnotations("db.column.dimension") === 0 && (0, _atscript_db_shared.isStrictAggregateStruct)(struct, doc)) errors.push({
|
|
349
349
|
message: `$groupBy rejects this field of a strict aggregate table: ${_atscript_db_shared.NOT_DIMENSION_REASON} (add @db.column.dimension)`,
|
|
350
350
|
severity: WARNING,
|
|
351
351
|
range: token.range
|
|
@@ -345,7 +345,7 @@ function validateDistinct(token, _args, doc) {
|
|
|
345
345
|
return errors;
|
|
346
346
|
}
|
|
347
347
|
const struct = field.struct;
|
|
348
|
-
if (struct && isStructure(struct) && field.prop.countAnnotations("db.column.dimension") === 0 && isStrictAggregateStruct(struct)) errors.push({
|
|
348
|
+
if (struct && isStructure(struct) && field.prop.countAnnotations("db.column.dimension") === 0 && isStrictAggregateStruct(struct, doc)) errors.push({
|
|
349
349
|
message: `$groupBy rejects this field of a strict aggregate table: ${NOT_DIMENSION_REASON} (add @db.column.dimension)`,
|
|
350
350
|
severity: WARNING,
|
|
351
351
|
range: token.range
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.187",
|
|
4
4
|
"description": "Framework-agnostic runtime for form and table definitions from atscript annotated types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"annotations",
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@atscript/db-client": "^0.1.
|
|
55
|
+
"@atscript/db-client": "^0.1.193"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@atscript/core": "^0.2.
|
|
59
|
-
"@atscript/db": "^0.1.
|
|
60
|
-
"@atscript/typescript": "^0.2.
|
|
58
|
+
"@atscript/core": "^0.2.20",
|
|
59
|
+
"@atscript/db": "^0.1.193",
|
|
60
|
+
"@atscript/typescript": "^0.2.20",
|
|
61
61
|
"@uniqu/core": "^0.2.2",
|
|
62
|
-
"unplugin-atscript": "^0.2.
|
|
62
|
+
"unplugin-atscript": "^0.2.20",
|
|
63
63
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@atscript/core": "^0.2.
|
|
67
|
-
"@atscript/db": "^0.1.
|
|
68
|
-
"@atscript/typescript": "^0.2.
|
|
66
|
+
"@atscript/core": "^0.2.20",
|
|
67
|
+
"@atscript/db": "^0.1.193",
|
|
68
|
+
"@atscript/typescript": "^0.2.20"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "vp pack",
|