@dforge-core/metadata 0.0.55 → 0.0.56

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/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ All notable changes to `@dforge-core/metadata` are documented here.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.56] — 2026-11-14
9
+
10
+ ### Added
11
+
12
+ - **`export_templates.schema.json`:** `ui/export_templates.json`, the Excel export templates of a module (`entityCd`,
13
+ `description`, `file` under `export_templates/`). `ExportTemplateDef` and its map type are exported from the package root.
14
+ - **DSL built-in `exportXlsx(entity, templateCd, options?)`:** in the built-in list for completion, hover and the
15
+ function-name drift check. Fills an export template and hands the workbook over as the action's download.
16
+
8
17
  ## [0.0.55] — 2026-11-14
9
18
 
10
19
  ### Added
package/dist/dsl/index.js CHANGED
@@ -915,6 +915,12 @@ var BUILTINS = [
915
915
  returns: "string",
916
916
  doc: "`downloadText()` for bytes: decodes `base64` and hands it to the user as `fileName` (`application/octet-stream` unless `mimeType` says otherwise). Returns the signed download URL."
917
917
  },
918
+ {
919
+ name: "exportXlsx",
920
+ signature: "exportXlsx(entity, templateCd, options?)",
921
+ returns: "object",
922
+ doc: "Fill an Excel export template of `entity` with its rows and hand the user the workbook as the action's download. `options`: `filter` (`{c,o,v}` / `{g,i}` as in `select()`, `v` a scalar), `orderBy` (as in `select()`), `fileName` (default: the template's description). The rows are read as `data.export` reads them, under the current user's rights. Returns `{ url, fileName, recordCount }`. Counts as a download; not available in a scheduled or background run."
923
+ },
918
924
  {
919
925
  name: "attachText",
920
926
  signature: "attachText(content, fileName, encoding?, mimeType?)",