
- Complete NestJS TypeScript implementation with WebSocket support - Direct messaging (DM) and group chat functionality - End-to-end encryption with AES encryption and key pairs - Media file support (images, videos, audio, documents) up to 100MB - Push notifications with Firebase Cloud Messaging integration - Mention alerts and real-time typing indicators - User authentication with JWT and Passport - SQLite database with TypeORM entities and relationships - Comprehensive API documentation with Swagger/OpenAPI - File upload handling with secure access control - Online/offline status tracking and presence management - Message editing, deletion, and reply functionality - Notification management with automatic cleanup - Health check endpoint for monitoring - CORS configuration for cross-origin requests - Environment-based configuration management - Structured for Flutter SDK integration Features implemented: ✅ Real-time messaging with Socket.IO ✅ User registration and authentication ✅ Direct messages and group chats ✅ Media file uploads and management ✅ End-to-end encryption ✅ Push notifications ✅ Mention alerts ✅ Typing indicators ✅ Message read receipts ✅ Online status tracking ✅ File access control ✅ Comprehensive API documentation Ready for Flutter SDK development and production deployment.
63 lines
2.4 KiB
JavaScript
63 lines
2.4 KiB
JavaScript
//! moment.js locale configuration
|
||
//! locale : Uzbek [uz]
|
||
//! author : Sardor Muminov : https://github.com/muminoff
|
||
|
||
;(function (global, factory) {
|
||
typeof exports === 'object' && typeof module !== 'undefined'
|
||
&& typeof require === 'function' ? factory(require('../moment')) :
|
||
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
||
factory(global.moment)
|
||
}(this, (function (moment) { 'use strict';
|
||
|
||
//! moment.js locale configuration
|
||
|
||
var uz = moment.defineLocale('uz', {
|
||
months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
|
||
'_'
|
||
),
|
||
monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
|
||
weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
|
||
weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
|
||
weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
|
||
longDateFormat: {
|
||
LT: 'HH:mm',
|
||
LTS: 'HH:mm:ss',
|
||
L: 'DD/MM/YYYY',
|
||
LL: 'D MMMM YYYY',
|
||
LLL: 'D MMMM YYYY HH:mm',
|
||
LLLL: 'D MMMM YYYY, dddd HH:mm',
|
||
},
|
||
calendar: {
|
||
sameDay: '[Бугун соат] LT [да]',
|
||
nextDay: '[Эртага] LT [да]',
|
||
nextWeek: 'dddd [куни соат] LT [да]',
|
||
lastDay: '[Кеча соат] LT [да]',
|
||
lastWeek: '[Утган] dddd [куни соат] LT [да]',
|
||
sameElse: 'L',
|
||
},
|
||
relativeTime: {
|
||
future: 'Якин %s ичида',
|
||
past: 'Бир неча %s олдин',
|
||
s: 'фурсат',
|
||
ss: '%d фурсат',
|
||
m: 'бир дакика',
|
||
mm: '%d дакика',
|
||
h: 'бир соат',
|
||
hh: '%d соат',
|
||
d: 'бир кун',
|
||
dd: '%d кун',
|
||
M: 'бир ой',
|
||
MM: '%d ой',
|
||
y: 'бир йил',
|
||
yy: '%d йил',
|
||
},
|
||
week: {
|
||
dow: 1, // Monday is the first day of the week.
|
||
doy: 7, // The week that contains Jan 4th is the first week of the year.
|
||
},
|
||
});
|
||
|
||
return uz;
|
||
|
||
})));
|