@nanobpm/nano-ide-ext-types 1.4.0 → 1.5.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/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,7 +48,20 @@ export interface RunConfig {
|
|
|
48
48
|
}
|
|
49
49
|
export interface TemplateSpec {
|
|
50
50
|
id: string;
|
|
51
|
+
/** Short human-facing title rendered on the New Project template card. */
|
|
51
52
|
label: string;
|
|
53
|
+
/** One-line description rendered on the template card. Older packs instead
|
|
54
|
+
* cram "Title — description" into `label`; the console's template menu
|
|
55
|
+
* splits that on the em-dash as a fallback, but new packs should set this.
|
|
56
|
+
* Hosts that don't understand `description` render `label` alone, so if you
|
|
57
|
+
* must support such a host, keep the combined "Title — description" `label`
|
|
58
|
+
* (the em-dash split then keeps modern cards correct too). */
|
|
59
|
+
description?: string;
|
|
60
|
+
/** Language pack id this template's project uses, when it differs from what
|
|
61
|
+
* the pack implies (lang packs → the pack id; app/example packs →
|
|
62
|
+
* `requires[0]`, else "deno"). Drives the card's language icon AND the
|
|
63
|
+
* scaffolded project's `lang`. */
|
|
64
|
+
lang?: string;
|
|
52
65
|
}
|
|
53
66
|
/**
|
|
54
67
|
* The console's design-token vocabulary (nanobpmn
|