mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 02:07:55 +00:00
c48ded7ff2
Restructured the project to support multiple frontend applications: - Move web app to web/ directory - Create pezkuwi-sdk-ui/ for Polkadot SDK clone (planned) - Create mobile/ directory for mobile app development - Add shared/ directory with common utilities, types, and blockchain code - Update README.md with comprehensive documentation - Remove obsolete DKSweb/ directory This monorepo structure enables better code sharing and organized development across web, mobile, and SDK UI projects.
35 lines
653 B
TypeScript
35 lines
653 B
TypeScript
/**
|
|
* Shared constants for Pezkuwi Web App Projects
|
|
*/
|
|
|
|
/**
|
|
* Application version
|
|
*/
|
|
export const APP_VERSION = '1.0.0';
|
|
|
|
/**
|
|
* Supported languages
|
|
*/
|
|
export const SUPPORTED_LANGUAGES = [
|
|
{ code: 'en', name: 'English' },
|
|
{ code: 'tr', name: 'Türkçe' },
|
|
{ code: 'kmr', name: 'Kurdî' },
|
|
{ code: 'ckb', name: 'سۆرانی' },
|
|
{ code: 'ar', name: 'العربية' },
|
|
{ code: 'fa', name: 'فارسی' },
|
|
] as const;
|
|
|
|
/**
|
|
* Default language
|
|
*/
|
|
export const DEFAULT_LANGUAGE = 'en';
|
|
|
|
/**
|
|
* API timeouts (in milliseconds)
|
|
*/
|
|
export const TIMEOUTS = {
|
|
API_REQUEST: 30000,
|
|
BLOCKCHAIN_QUERY: 60000,
|
|
TRANSACTION: 120000,
|
|
} as const;
|