Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit a17ae15

Browse files
author
Dimitar Kerezov
committed
Add default messages.d.ts and messages.ts files
1 parent eb0d709 commit a17ae15

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

messages/messages.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// automatically generated code; do not edit manually!
3+
//
4+
///<reference path="../.d.ts"/>
5+
interface IMessages{
6+
DEVICES : {
7+
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE: string;
8+
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER: string;
9+
NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE: string;
10+
};
11+
12+
}
13+

messages/messages.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
///<reference path="../.d.ts"/>
2+
"use strict";
3+
//
4+
// automatically generated code; do not edit manually!
5+
//
6+
7+
export class Messages implements IMessages{
8+
DEVICES = {
9+
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE: "DEVICES.NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE",
10+
NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER: "DEVICES.NOT_FOUND_DEVICE_BY_IDENTIFIER_ERROR_MESSAGE_WITH_IDENTIFIER",
11+
NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE: "DEVICES.NOT_FOUND_DEVICE_BY_INDEX_ERROR_MESSAGE",
12+
};
13+
14+
}
15+
$injector.register('messages', Messages);
16+

0 commit comments

Comments
 (0)