Commit 982f8783 authored by Cédric Moreau's avatar Cédric Moreau

[fix] #1037 Migrate local_rules

parent 7db783e3
......@@ -11,5 +11,6 @@ app/lib/dal/sqliteDAL/index/*.js
app/lib/dal/fileDALs/*.js
app/lib/dal/fileDAL.js
app/service/*.js
app/lib/rules/local_rules.js
test/*.js
test/**/*.js
\ No newline at end of file
......@@ -47,6 +47,7 @@ app/lib/dal/sqliteDAL/*.js*
app/lib/dal/sqliteDAL/index/*.js*
app/lib/dal/fileDALs/*.js*
app/lib/dal/fileDAL.js*
app/lib/rules/local_rules*.js*
app/lib/logger*js*
app/service/*.js*
app/lib/wot.js*
\ No newline at end of file
import {hashf} from "../common"
export class InputDTO {
export interface BaseDTO {
base: number
}
export class InputDTO implements BaseDTO {
constructor(
public amount: number,
public base: number,
......@@ -11,7 +15,7 @@ export class InputDTO {
) {}
}
export class OutputDTO {
export class OutputDTO implements BaseDTO {
constructor(
public amount: number,
public base: number,
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment