Comparing version 3.1.4 to 4.0.0
@@ -0,1 +1,2 @@ | ||
export { IUserProfile } from './IUserProfile'; | ||
export { IUser } from './IUser'; |
@@ -0,4 +1,10 @@ | ||
import { IUserProfile } from './IUserProfile'; | ||
export interface IUser { | ||
userId?: number; | ||
name?: string; | ||
id?: number; | ||
username: string; | ||
displayName?: string; | ||
online?: string; | ||
language?: string; | ||
profile?: IUserProfile; | ||
patron?: string; | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
const enTranslation = require("./i18n/en-us.json"); | ||
const esTranslation = require("./i18n/es-es.json"); | ||
const ruTranslation = require("./i18n/ru-ru.json"); | ||
@@ -75,2 +76,3 @@ const defaultLocale = "en-us"; | ||
this.registerCategories("en-us", enTranslation); | ||
this.registerCategories("es-es", esTranslation); | ||
this.registerCategories("ru-ru", ruTranslation); | ||
@@ -77,0 +79,0 @@ initialized = true; |
{ | ||
"name": "onix-core", | ||
"version": "3.1.4", | ||
"version": "4.0.0", | ||
"description": "Onix library core", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,1 +1,2 @@ | ||
export { IUserProfile } from './IUserProfile'; | ||
export { IUser } from './IUser'; |
@@ -0,4 +1,11 @@ | ||
import { IUserProfile } from './IUserProfile'; | ||
export interface IUser { | ||
userId?: number, | ||
name?: string, | ||
id?: number, | ||
username: string, | ||
displayName?: string, | ||
online?: string, | ||
language?: string, | ||
profile?: IUserProfile, | ||
patron?: string | ||
} |
import { IntlMessageFormat } from 'intl-messageformat'; | ||
import * as warning from 'warning'; | ||
import * as enTranslation from './i18n/en-us.json'; | ||
import * as esTranslation from './i18n/es-es.json'; | ||
import * as ruTranslation from './i18n/ru-ru.json'; | ||
@@ -94,2 +95,3 @@ | ||
this.registerCategories("en-us", enTranslation); | ||
this.registerCategories("es-es", esTranslation); | ||
this.registerCategories("ru-ru", ruTranslation); | ||
@@ -96,0 +98,0 @@ |
Sorry, the diff of this file is not supported yet
121571
145
2287