2017-07-15 22:11:03 +00:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
const smartdata_classes_dbdoc_1 = require("./smartdata.classes.dbdoc");
|
|
|
|
const smartdata_classes_dbcollection_1 = require("./smartdata.classes.dbcollection");
|
|
|
|
exports.getObjectDoc = (nameArg, dbArg) => {
|
|
|
|
let objectDoc = new smartdata_classes_dbdoc_1.DbDoc();
|
|
|
|
objectDoc.name = nameArg;
|
2018-01-07 17:10:16 +00:00
|
|
|
objectDoc.collection = new smartdata_classes_dbcollection_1.DbTable(objectDoc, dbArg);
|
2017-07-15 22:11:03 +00:00
|
|
|
return objectDoc;
|
|
|
|
};
|
2018-01-07 17:10:16 +00:00
|
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRkYXRhLmNsYXNzZXMuZGJvYmplY3Rkb2MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGRhdGEuY2xhc3Nlcy5kYm9iamVjdGRvYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUdBLHVFQUFpRDtBQUNqRCxxRkFBMEQ7QUFFL0MsUUFBQSxZQUFZLEdBQUcsQ0FBQyxPQUFPLEVBQUMsS0FBUyxFQUFFLEVBQUU7SUFDOUMsSUFBSSxTQUFTLEdBQUcsSUFBSSwrQkFBSyxFQUFFLENBQUE7SUFDM0IsU0FBUyxDQUFDLElBQUksR0FBRyxPQUFPLENBQUE7SUFDeEIsU0FBUyxDQUFDLFVBQVUsR0FBRyxJQUFJLHdDQUFPLENBQUMsU0FBUyxFQUFFLEtBQUssQ0FBQyxDQUFBO0lBQ3BELE1BQU0sQ0FBQyxTQUFTLENBQUE7QUFDbEIsQ0FBQyxDQUFBIn0=
|