Skip to content

Commit

Permalink
Published by publish-to-git
Browse files Browse the repository at this point in the history
1d669f8 (HEAD -> refs/heads/master, refs/remotes/origin/master) Extended format on the plus giro format
  • Loading branch information
edgarbjorntvedt committed Jan 21, 2019
0 parents commit ce415a5
Show file tree
Hide file tree
Showing 86 changed files with 2,414 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dist/src/BankAccountValidation.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import * as types from './types';
import { ValidationInput } from "./types";
export declare class BankAccountValidation {
_config: types.BankAccountValidationConfig;
_validationRules: types.IValidation[];
constructor(config: Partial<types.BankAccountValidationConfig>);
add(validationRule: types.IValidation): void;
validate(input: string | ValidationInput): types.ValidationResult[];
}
24 changes: 24 additions & 0 deletions dist/src/BankAccountValidation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/BankAccountValidation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions dist/src/IbanValidation.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as types from './types';
import { IValidation, ValidationInput } from './types';
export declare class IbanValidation implements IValidation {
_config: types.BankAccountValidationConfig;
_validationRules: types.IValidation[];
private _ibanTester;
constructor(config: Partial<types.BankAccountValidationConfig>);
canValidate(input: string | ValidationInput): Boolean;
validate(input: string | ValidationInput): {
valid: boolean;
};
}
25 changes: 25 additions & 0 deletions dist/src/IbanValidation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/IbanValidation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/src/createBankAccountValidation.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BankAccountValidation } from '../src';
import * as types from "./types";
export declare function createValidationWithAllAvailableValidators(config: Partial<types.BankAccountValidationConfig>): BankAccountValidation;
19 changes: 19 additions & 0 deletions dist/src/createBankAccountValidation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/createBankAccountValidation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/src/defaultConfig.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const _default: {};
export default _default;
4 changes: 4 additions & 0 deletions dist/src/defaultConfig.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/defaultConfig.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { BankAccountValidation } from './BankAccountValidation';
export { createValidationWithAllAvailableValidators } from './createBankAccountValidation';
7 changes: 7 additions & 0 deletions dist/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/src/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export interface BankAccountValidationConfig {
}
export interface ValidationInput {
accountNumber: string;
countryCode?: string;
type?: string;
}
export interface ValidationResult {
valid: Boolean;
}
export interface IValidation {
validate(input: any): ValidationResult;
canValidate(input: any): Boolean;
}
3 changes: 3 additions & 0 deletions dist/src/types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/src/util/banks.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
declare const _default: {
"bank": string;
"clearingFrom": number;
"n": string;
"clearingTo": number;
"format": string;
"type": number;
"comment": number;
}[];
export = _default;
Loading

0 comments on commit ce415a5

Please sign in to comment.