added id fields with orm type to discovery doc
[xtuple] / lib / orm / source / xt / javascript / schema.sql
index debd3c6..5115c1d 100644 (file)
@@ -289,7 +289,7 @@ select xt.install_js('XT','Schema','xtuple', $$
         nkey = XT.Orm.naturalKey(orm),
         pkey = XT.Orm.primaryKey(orm),
         prop,
-        ret = {},
+        ret = {"id": orm.type, "type": "object"},
         relatedORM = {},
         relatedKey,
         relatedKeyProp,