@mondaydotcomorg/z2h-cli 0.33.4 → 0.34.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.
@@ -0,0 +1,2 @@
1
+ export { loadDashboardTemplatesCatalog, findTemplate, type DashboardTemplateEntry, } from './util/dashboard-templates/load-catalog';
2
+ //# sourceMappingURL=dashboard-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-templates.d.ts","sourceRoot":"","sources":["../src/dashboard-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,yCAAyC,CAAC"}
@@ -0,0 +1,8 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const util_dashboardTemplates_loadCatalog = require('./util/dashboard-templates/load-catalog.js');
4
+
5
+
6
+
7
+ exports.findTemplate = util_dashboardTemplates_loadCatalog.findTemplate;
8
+ exports.loadDashboardTemplatesCatalog = util_dashboardTemplates_loadCatalog.loadDashboardTemplatesCatalog;
@@ -0,0 +1,2 @@
1
+ export { loadDashboardTemplatesCatalog, findTemplate, type DashboardTemplateEntry, } from './util/dashboard-templates/load-catalog';
2
+ //# sourceMappingURL=dashboard-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-templates.d.ts","sourceRoot":"","sources":["../../src/dashboard-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,yCAAyC,CAAC"}
@@ -0,0 +1 @@
1
+ export { findTemplate, loadDashboardTemplatesCatalog } from './util/dashboard-templates/load-catalog.mjs';
@@ -135,7 +135,7 @@ async function main() {
135
135
  }, (appName, opts) => createCommand(appName, opts)));
136
136
  program
137
137
  .command('templates')
138
- .description("List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's widget schema")
138
+ .description("List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's config schema")
139
139
  .action(runCommand({ event: Z2hCliEvents.templatesSuccess }, () => templatesCommand()));
140
140
  program
141
141
  .command('generate-app-template <app-name>')
package/dist/index.js CHANGED
@@ -141,7 +141,7 @@ async function main() {
141
141
  }, (appName, opts) => commands_create.createCommand(appName, opts)));
142
142
  program
143
143
  .command('templates')
144
- .description("List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's widget schema")
144
+ .description("List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's config schema")
145
145
  .action(util_runCommand.runCommand({ event: observability.Z2hCliEvents.templatesSuccess }, () => commands_templates.templatesCommand()));
146
146
  program
147
147
  .command('generate-app-template <app-name>')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/z2h-cli",
3
- "version": "0.33.4",
3
+ "version": "0.34.0",
4
4
  "bin": "./bin/z2h-cli.js",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,6 +25,11 @@
25
25
  "require": "./dist/s3.js",
26
26
  "types": "./dist/s3.d.ts"
27
27
  },
28
+ "./dashboard-templates": {
29
+ "import": "./dist/esm/dashboard-templates.mjs",
30
+ "require": "./dist/dashboard-templates.js",
31
+ "types": "./dist/dashboard-templates.d.ts"
32
+ },
28
33
  "./package.json": "./package.json"
29
34
  },
30
35
  "nx": {
@@ -0,0 +1,5 @@
1
+ export {
2
+ loadDashboardTemplatesCatalog,
3
+ findTemplate,
4
+ type DashboardTemplateEntry,
5
+ } from './util/dashboard-templates/load-catalog';
package/src/index.ts CHANGED
@@ -205,7 +205,7 @@ async function main(): Promise<void> {
205
205
  program
206
206
  .command('templates')
207
207
  .description(
208
- "List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's widget schema"
208
+ "List the BigBrain Studio (Z2H) template catalog — id, title, description, and each template's config schema"
209
209
  )
210
210
  .action(runCommand({ event: Z2hCliEvents.templatesSuccess }, () => templatesCommand()));
211
211