beanbagdb 0.6.2 → 0.6.4
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/package.json +1 -1
- package/src/index.js +1 -1
- package/src/system_schema.js +3 -3
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -836,7 +836,7 @@ async create_edge(input){
|
|
|
836
836
|
let edges_constraint
|
|
837
837
|
|
|
838
838
|
try {
|
|
839
|
-
let d = await this.read({schema:"
|
|
839
|
+
let d = await this.read({schema:"system_edge_constraint",data:{name:edge_name}})
|
|
840
840
|
edges_constraint = d["doc"]["data"]
|
|
841
841
|
let errors = []
|
|
842
842
|
let node1id = n1.doc._id
|
package/src/system_schema.js
CHANGED
|
@@ -218,13 +218,13 @@ export const default_app = {
|
|
|
218
218
|
title: "Edge constraint",
|
|
219
219
|
system_generated: true,
|
|
220
220
|
active: true,
|
|
221
|
-
version: 0.
|
|
221
|
+
version: 0.60,
|
|
222
222
|
description:
|
|
223
223
|
"To define edge constraints for simple directed graph of records.",
|
|
224
224
|
schema: {
|
|
225
225
|
type: "object",
|
|
226
226
|
additionalProperties: true,
|
|
227
|
-
required: ["node1", "node2", "
|
|
227
|
+
required: ["node1", "node2", "name"],
|
|
228
228
|
properties: {
|
|
229
229
|
node1: {
|
|
230
230
|
type: "string",
|
|
@@ -369,7 +369,7 @@ export const default_app = {
|
|
|
369
369
|
system_generated: true,
|
|
370
370
|
title: "Executable script",
|
|
371
371
|
active: true,
|
|
372
|
-
version: 0.
|
|
372
|
+
version: 0.2,
|
|
373
373
|
description: "To create scripts that implement some logic. Can run both on browser and client.",
|
|
374
374
|
schema: {
|
|
375
375
|
type: "object",
|