Skip to content

Commit

Permalink
chore(all): prepare release 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed May 10, 2016
1 parent d70b547 commit 2dd0266
Show file tree
Hide file tree
Showing 17 changed files with 2,508 additions and 1,828 deletions.
23 changes: 23 additions & 0 deletions aurelia-validation/aurelia-validation.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
declare module 'aurelia-validation' {
export class ValidationEngine {
static getValidationReporter(instance: any): any;
}
export class ValidationError {
message: any;
object: any;
propertyName: any;
value: any;
constructor(data: any);
}
export class ValidationReporter {
add(object: any): any;
remove(object: any): any;
subscribe(callback: any): any;
publish(errors: any): any;
destroyObserver(observer: any): any;
}
export class Validator {
validate(object: any, prop: any): any;
getProperties(): any;
}
}
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-validation",
"version": "0.8.0",
"version": "0.8.1",
"description": "This is a validation interface for hooking in to Aurelia's binding and templating engines.",
"keywords": [
"aurelia",
Expand Down
8 changes: 7 additions & 1 deletion dist/amd/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', './validator', './validation-reporter', './validation-engine'], function (exports, _validator, _validationReporter, _validationEngine) {
define(['exports', './validator', './validation-reporter', './validation-engine', './validation-error'], function (exports, _validator, _validationReporter, _validationEngine, _validationError) {
'use strict';

Object.defineProperty(exports, "__esModule", {
Expand All @@ -22,6 +22,12 @@ define(['exports', './validator', './validation-reporter', './validation-engine'
return _validationEngine.ValidationEngine;
}
});
Object.defineProperty(exports, 'ValidationError', {
enumerable: true,
get: function () {
return _validationError.ValidationError;
}
});
exports.configure = configure;
function configure(config) {}
});
8 changes: 0 additions & 8 deletions dist/amd/metadata-key.js

This file was deleted.

4 changes: 3 additions & 1 deletion dist/amd/validation-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ define(['exports'], function (exports) {
}
}

var ValidationError = exports.ValidationError = function ValidationError() {
var ValidationError = exports.ValidationError = function ValidationError(data) {
_classCallCheck(this, ValidationError);

this.message = '';
this.propertyName = '';

Object.assign(this, data);
};
});
9 changes: 9 additions & 0 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,14 @@ Object.defineProperty(exports, 'ValidationEngine', {
return _validationEngine.ValidationEngine;
}
});

var _validationError = require('./validation-error');

Object.defineProperty(exports, 'ValidationError', {
enumerable: true,
get: function get() {
return _validationError.ValidationError;
}
});
exports.configure = configure;
function configure(config) {}
6 changes: 0 additions & 6 deletions dist/commonjs/metadata-key.js

This file was deleted.

4 changes: 3 additions & 1 deletion dist/commonjs/validation-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ Object.defineProperty(exports, "__esModule", {

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var ValidationError = exports.ValidationError = function ValidationError() {
var ValidationError = exports.ValidationError = function ValidationError(data) {
_classCallCheck(this, ValidationError);

this.message = '';
this.propertyName = '';

Object.assign(this, data);
};
1 change: 1 addition & 0 deletions dist/es2015/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { Validator } from './validator';
export { ValidationReporter } from './validation-reporter';
export { ValidationEngine } from './validation-engine';
export { ValidationError } from './validation-error';

export function configure(config) {}
1 change: 0 additions & 1 deletion dist/es2015/metadata-key.js

This file was deleted.

5 changes: 3 additions & 2 deletions dist/es2015/validation-error.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export let ValidationError = class ValidationError {
constructor() {
constructor(data) {
this.message = '';
this.propertyName = '';
}

Object.assign(this, data);
}
};
7 changes: 6 additions & 1 deletion dist/system/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

System.register(['./validator', './validation-reporter', './validation-engine'], function (_export, _context) {
System.register(['./validator', './validation-reporter', './validation-engine', './validation-error'], function (_export, _context) {
return {
setters: [function (_validator) {
var _exportObj = {};
Expand All @@ -17,6 +17,11 @@ System.register(['./validator', './validation-reporter', './validation-engine'],
_exportObj3.ValidationEngine = _validationEngine.ValidationEngine;

_export(_exportObj3);
}, function (_validationError) {
var _exportObj4 = {};
_exportObj4.ValidationError = _validationError.ValidationError;

_export(_exportObj4);
}],
execute: function () {
function configure(config) {}
Expand Down
13 changes: 0 additions & 13 deletions dist/system/metadata-key.js

This file was deleted.

4 changes: 3 additions & 1 deletion dist/system/validation-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ System.register([], function (_export, _context) {
return {
setters: [],
execute: function () {
_export('ValidationError', ValidationError = function ValidationError() {
_export('ValidationError', ValidationError = function ValidationError(data) {
_classCallCheck(this, ValidationError);

this.message = '';
this.propertyName = '';

Object.assign(this, data);
});

_export('ValidationError', ValidationError);
Expand Down
8 changes: 8 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 0.8.1 (2016-05-10)


#### Bug Fixes

* **package.json:** fix dependencies ([3415f243](https://github.com/aurelia/validation/commit/3415f243b158682bbcb0b45adaac2838a536fb33))


## 0.8.0 (2016-05-03)


Expand Down
Loading

0 comments on commit 2dd0266

Please sign in to comment.