@kronor/dtv 9.5.2 → 10.0.0
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/dist/cli/typegen/runTypegen.js +4 -4
- package/dist/index.es.js +5656 -5652
- package/dist/types/App.d.ts +8 -7
- package/dist/types/components/Table.d.ts +5 -5
- package/dist/types/dsl/columnTyping.d.ts +9 -0
- package/dist/types/dsl/columns.d.ts +6 -3
- package/dist/types/dsl/index.d.ts +1 -0
- package/dist/types/dsl/rowExpansion.d.ts +24 -0
- package/dist/types/dsl/view.d.ts +7 -4
- package/dist/types/framework/column-definition.d.ts +9 -4
- package/dist/types/framework/native-runtime/index.d.ts +2 -2
- package/dist/types/framework/rows.d.ts +2 -2
- package/dist/types/framework/typelevel.d.ts +1 -0
- package/dist/types/framework/view.d.ts +64 -20
- package/dist/types/lib/index.d.ts +1 -1
- package/docs/api/row-typed-views.md +60 -2
- package/docs/typegen.md +1 -1
- package/package.json +2 -2
|
@@ -71,11 +71,11 @@ function ensureRowTypeImport(sourceText, sourceFile, importName, importPathNoExt
|
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* DSL helpers that take a `rowType` for type checking against the view's row.
|
|
74
|
-
* The column helpers sit directly in `columnDefinitions
|
|
75
|
-
* the groups of `filterGroups`, so the
|
|
76
|
-
* than one property of it.
|
|
74
|
+
* The column helpers sit directly in `columnDefinitions`, `rowExpansion` in
|
|
75
|
+
* `rowExpansion`; `filter` sits inside the groups of `filterGroups`, so the
|
|
76
|
+
* whole view argument is searched rather than one property of it.
|
|
77
77
|
*/
|
|
78
|
-
const ROW_TYPED_HELPERS = new Set(['column', 'virtualColumn', 'fieldColumn', 'filter']);
|
|
78
|
+
const ROW_TYPED_HELPERS = new Set(['column', 'virtualColumn', 'fieldColumn', 'rowExpansion', 'filter']);
|
|
79
79
|
/** A `DSL.<helper>(...)` / `<ns>.DSL.<helper>(...)` call, however DTV was imported. */
|
|
80
80
|
function getRowTypedHelperCall(node, dslIdentifiers, dtvNamespaces) {
|
|
81
81
|
if (!ts.isCallExpression(node))
|