@ddd-tool/domain-designer-ui-component 0.0.0-alpha.12 → 0.0.0-alpha.13

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.
Files changed (2) hide show
  1. package/index.js +6 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10775,10 +10775,13 @@ function* Jd(o, e, t) {
10775
10775
  function Po(o) {
10776
10776
  if (!o)
10777
10777
  return "";
10778
- const e = "+", t = [""];
10778
+ function e(n) {
10779
+ return n ? "*" : "-";
10780
+ }
10781
+ const t = [""];
10779
10782
  for (const n in o) {
10780
- const i = o[n], r = i._attributes.type;
10781
- r === "Document" ? t.push(`|${e} ${i._attributes.name}: Document`) : r === "Function" ? t.push(`|${e} ${i._attributes.name}: Function`) : r === "Id" ? t.push(`|${e} ${i._attributes.name}: Id`) : r === "ValueObject" ? t.push(`|${e} ${i._attributes.name}: Value`) : r === "Version" ? t.push(`|${e} ${i._attributes.name}: Version`) : isNever(r);
10783
+ const i = o[n], r = i._attributes.type, c = e(i._attributes.description);
10784
+ r === "Document" ? t.push(`|${c} ${i._attributes.name}: Document`) : r === "Function" ? t.push(`|${c} ${i._attributes.name}: Function`) : r === "Id" ? t.push(`|${c} ${i._attributes.name}: Id`) : r === "ValueObject" ? t.push(`|${c} ${i._attributes.name}: Value`) : r === "Version" ? t.push(`|${c} ${i._attributes.name}: Version`) : isNever(r);
10782
10785
  }
10783
10786
  return t.join(`
10784
10787
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-tool/domain-designer-ui-component",
3
- "version": "0.0.0-alpha.12",
3
+ "version": "0.0.0-alpha.13",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "dependencies": {