Initial release of Moniki paid services site and CMS (v1.0.0).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alexey Novikov
2026-09-16 13:10:25 +03:00
co-authored by Cursor
commit 8abd8d06dd
263 changed files with 24973 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"name": "@moniki/shared",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts"
}
}
+27
View File
@@ -0,0 +1,27 @@
export const LOCALES = ['ru', 'en', 'be', 'tg', 'ky', 'zh'] as const
export type Locale = (typeof LOCALES)[number]
export const DEFAULT_LOCALE: Locale = 'ru'
export const BOOKING_STATUSES = [
'pending',
'confirmed',
'cancelled',
'completed',
'expired',
] as const
export type BookingStatus = (typeof BOOKING_STATUSES)[number]
export const PAYMENT_STATUSES = [
'unpaid',
'pending',
'paid',
'failed',
'refunded',
] as const
export type PaymentStatus = (typeof PAYMENT_STATUSES)[number]
/** Auto-hold window before admin confirmation (hours). */
export const BOOKING_HOLD_HOURS = 24
export const NOTIFICATION_CHANNELS = ['email', 'sms'] as const
export type NotificationChannel = (typeof NOTIFICATION_CHANNELS)[number]