@brightsideoy/kama 0.1.0-alpha.40 → 0.1.0-alpha.41

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/dist/index.js +10 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7910,7 +7910,7 @@ bi.get("/", async (e) => {
7910
7910
  var xi = new e(), Si = null, Ci = (e) => {
7911
7911
  try {
7912
7912
  if (!Si) {
7913
- let t = e.env?.BUNDLED_DEFINITIONS, n = li(t), r = n.userTemplate || {
7913
+ let t = li(e.env?.BUNDLED_DEFINITIONS || Nr), n = t.userTemplate || {
7914
7914
  id: "userTemplate",
7915
7915
  label: "User Account",
7916
7916
  fields: {
@@ -7947,15 +7947,15 @@ var xi = new e(), Si = null, Ci = (e) => {
7947
7947
  }
7948
7948
  };
7949
7949
  Si = {
7950
- channelTemplate: n.channelTemplate || null,
7951
- treeTemplate: n.treeTemplate || null,
7952
- userTemplate: r,
7953
- channelSchemas: n.channels || n.channelSchemas || {},
7954
- treeSchemas: n.trees || n.treeSchemas || {},
7955
- nodes: n.nodes || n.nodeSchemas || {},
7956
- blocks: n.blocks || n.elements || {},
7957
- nodeLayouts: n.nodeLayouts || {},
7958
- blockLayouts: n.blockLayouts || {}
7950
+ channelTemplate: t.channelTemplate || null,
7951
+ treeTemplate: t.treeTemplate || null,
7952
+ userTemplate: n,
7953
+ channelSchemas: t.channels || t.channelSchemas || {},
7954
+ treeSchemas: t.trees || t.treeSchemas || {},
7955
+ nodes: t.nodes || t.nodeSchemas || {},
7956
+ blocks: t.blocks || t.elements || {},
7957
+ nodeLayouts: t.nodeLayouts || {},
7958
+ blockLayouts: t.blockLayouts || {}
7959
7959
  };
7960
7960
  }
7961
7961
  return e.json(Si, 200, { "Cache-Control": "public, max-age=300, stale-while-revalidate=86400" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightsideoy/kama",
3
- "version": "0.1.0-alpha.40",
3
+ "version": "0.1.0-alpha.41",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",