Comparing version 0.1.38 to 0.1.39
{ | ||
"name": "reob", | ||
"description": "Remote objects - Create backends for one page web apps with ease. Uses mongo and express.", | ||
"version": "0.1.38", | ||
"version": "0.1.39", | ||
"repository": "https://github.com/bvanheukelom/reob", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -21,3 +21,3 @@ "use strict"; | ||
cb(path, object); | ||
var objectClass = reob_1.getClass(object); | ||
var objectClass = Annotations_1.getClass(object); | ||
Annotations_1.getTypedPropertyNames(objectClass).forEach(function (typedPropertyName) { | ||
@@ -147,3 +147,3 @@ if (!Annotations_1.isParent(objectClass, typedPropertyName)) { | ||
toDocument(object, includeContext, omitPropertiesPrivateToServer) { | ||
const objectClass = reob_1.getClass(object); | ||
const objectClass = Annotations_1.getClass(object); | ||
const result = this.toDocumentRecursive(object, objectClass, omitPropertiesPrivateToServer); | ||
@@ -155,3 +155,3 @@ // console.log("returning document:",result); | ||
var result; | ||
var objectClass = reob_1.getClass(object); | ||
var objectClass = Annotations_1.getClass(object); | ||
var context = reob_1.SerializationPath.getObjectContext(object); | ||
@@ -158,0 +158,0 @@ // console.log(" documenting ", object, typeof object); |
@@ -6,4 +6,5 @@ | ||
import { SubObjectPath } from "./SubObjectPath" | ||
import { getId, getClass, TypeClass, SerializationPath, Request, Handler} from "./reob" | ||
import { getId, TypeClass, SerializationPath, Request, Handler} from "./reob" | ||
import { | ||
getClass, | ||
getClassName, | ||
@@ -10,0 +11,0 @@ getDocumentPropertyName, getEntityClassByName, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8086
576788