Comparing version 0.2.1 to 0.2.2
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isIncludeTree(some) { | ||
@@ -2,0 +4,0 @@ if (!some) { |
'use strict'; | ||
var isIncludeTree_1 = require('./isIncludeTree'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var isIncludeTree_1 = require("./isIncludeTree"); | ||
var JsonBuilder = (function () { | ||
@@ -177,4 +178,4 @@ function JsonBuilder() { | ||
return JsonBuilder; | ||
})(); | ||
}()); | ||
exports.default = JsonBuilder; | ||
//# sourceMappingURL=JsonBuilder.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ModelBuilder = (function () { | ||
@@ -97,4 +98,4 @@ function ModelBuilder() { | ||
return ModelBuilder; | ||
})(); | ||
}()); | ||
exports.default = ModelBuilder; | ||
//# sourceMappingURL=ModelBuilder.js.map |
'use strict'; | ||
var SimpleJsonaModel_1 = require('../models/SimpleJsonaModel'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var SimpleJsonaModel_1 = require("../models/SimpleJsonaModel"); | ||
var SimpleModelsFactory = (function () { | ||
@@ -12,4 +13,4 @@ function SimpleModelsFactory() { | ||
return SimpleModelsFactory; | ||
})(); | ||
}()); | ||
exports.default = SimpleModelsFactory; | ||
//# sourceMappingURL=SimpleModelsFactory.js.map |
import Jsona from './Jsona'; | ||
import JsonBuilder from './helpers/JsonBuilder'; | ||
import ModelBuilder from './helpers/ModelBuilder'; | ||
import SimpleModelsFactory from './helpers/SimpleModelsFactory'; | ||
import BaseJsonaModel from './models/BaseJsonaModel'; | ||
import SimpleJsonaModel from './models/SimpleJsonaModel'; | ||
export { Jsona, JsonBuilder, ModelBuilder, SimpleModelsFactory, BaseJsonaModel, SimpleJsonaModel }; | ||
export default Jsona; |
@@ -1,14 +0,16 @@ | ||
var Jsona_1 = require('./Jsona'); | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Jsona_1 = require("./Jsona"); | ||
exports.Jsona = Jsona_1.default; | ||
var JsonBuilder_1 = require('./helpers/JsonBuilder'); | ||
var JsonBuilder_1 = require("./helpers/JsonBuilder"); | ||
exports.JsonBuilder = JsonBuilder_1.default; | ||
var ModelBuilder_1 = require('./helpers/ModelBuilder'); | ||
var ModelBuilder_1 = require("./helpers/ModelBuilder"); | ||
exports.ModelBuilder = ModelBuilder_1.default; | ||
var SimpleModelsFactory_1 = require('./helpers/SimpleModelsFactory'); | ||
var SimpleModelsFactory_1 = require("./helpers/SimpleModelsFactory"); | ||
exports.SimpleModelsFactory = SimpleModelsFactory_1.default; | ||
var BaseJsonaModel_1 = require('./models/BaseJsonaModel'); | ||
var BaseJsonaModel_1 = require("./models/BaseJsonaModel"); | ||
exports.BaseJsonaModel = BaseJsonaModel_1.default; | ||
var SimpleJsonaModel_1 = require('./models/SimpleJsonaModel'); | ||
var SimpleJsonaModel_1 = require("./models/SimpleJsonaModel"); | ||
exports.SimpleJsonaModel = SimpleJsonaModel_1.default; | ||
exports.default = Jsona_1.default; | ||
//# sourceMappingURL=index.js.map |
'use strict'; | ||
var JsonBuilder_1 = require('./helpers/JsonBuilder'); | ||
var ModelBuilder_1 = require('./helpers/ModelBuilder'); | ||
var SimpleModelsFactory_1 = require('./helpers/SimpleModelsFactory'); | ||
var isIncludeTree_1 = require('./helpers/isIncludeTree'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var JsonBuilder_1 = require("./helpers/JsonBuilder"); | ||
var ModelBuilder_1 = require("./helpers/ModelBuilder"); | ||
var SimpleModelsFactory_1 = require("./helpers/SimpleModelsFactory"); | ||
var isIncludeTree_1 = require("./helpers/isIncludeTree"); | ||
var Jsona = (function () { | ||
@@ -97,4 +98,4 @@ /** | ||
return Jsona; | ||
})(); | ||
}()); | ||
exports.default = Jsona; | ||
//# sourceMappingURL=Jsona.js.map |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=JsonaInterfaces.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var BaseJsonaModel = (function () { | ||
@@ -48,4 +49,4 @@ function BaseJsonaModel() { | ||
return BaseJsonaModel; | ||
})(); | ||
}()); | ||
exports.default = BaseJsonaModel; | ||
//# sourceMappingURL=BaseJsonaModel.js.map |
'use strict'; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var BaseJsonaModel_1 = require('./BaseJsonaModel'); | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var BaseJsonaModel_1 = require("./BaseJsonaModel"); | ||
var SimpleJsonaModel = (function (_super) { | ||
__extends(SimpleJsonaModel, _super); | ||
function SimpleJsonaModel() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -23,4 +29,4 @@ SimpleJsonaModel.prototype.getRelationships = function () { | ||
return SimpleJsonaModel; | ||
})(BaseJsonaModel_1.default); | ||
}(BaseJsonaModel_1.default)); | ||
exports.default = SimpleJsonaModel; | ||
//# sourceMappingURL=SimpleJsonaModel.js.map |
{ | ||
"name": "jsona", | ||
"description": "Two-way transformer from JSON API formatted object into instances of predefined constructor objects. If you use TypeScript, it possible to create custom model classes (describe inside) beforehand and inject it into Deserializer via custom ModelsGateway, using special Deserializer's set-method.", | ||
"version": "0.2.1", | ||
"description": "Framework agnostic library that provide systemized way to work with JSON API spetification v1.0 in your JavaScript / TypeScript code", | ||
"version": "0.2.2", | ||
"main": "lib/index.js", | ||
@@ -15,3 +15,3 @@ "typings": "lib/index", | ||
"scripts": { | ||
"build": "tsc" | ||
"build": "./node_modules/.bin/tsc" | ||
}, | ||
@@ -34,9 +34,12 @@ "jest": { | ||
"keywords": [ | ||
"json api", | ||
"json-api", | ||
"jsonapi", | ||
"json" | ||
"jsona", | ||
"json", | ||
"api" | ||
], | ||
"author": "Sergei Solo", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"dependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
51924
30
685
0
223