Files
myoffice/MyOffice.SPA/src/app/api-routes.ts
T
2023-06-17 14:16:09 +03:00

31 lines
1.2 KiB
TypeScript

export class ApiRoutes {
static UserRegister = '/api/user/register';
static UserLogin = '/api/user/login';
static UserProfile = '/api/user/profile';
static UserAttach = '/api/user/attach';
static UserDeattach = '/api/user/deattach';
static GeneralCurrencies = '/api/general/currencies';
static SettingsCurrencies = '/api/settings/currencies';
static SettingsCurrenciesRate = '/api/settings/currencies/:id/rate';
static SettingsAccountCategories = '/api/settings/account-categories';
static SettingsAccountCategory = '/api/settings/account-categories/:id';
static SettingsAccounts = '/api/settings/accounts';
static SettingsAccount = '/api/settings/accounts/:id';
static SettingsAccountAccountCategory = '/api/settings/accounts/:id/category/:categoryId';
static SettingsMotionCategories = '/api/settings/motion-categories';
static SettingsMotionCategory = '/api/settings/motion-categories/:id';
static SettingsMotions = '/api/settings/motions';
static SettingsMotion = '/api/settings/motions/:id';
static Accounts = '/api/accounts';
static Account = '/api/accounts/:id';
static Motions = '/api/accounts/:id/motions';
static Motion = '/api/accounts/:id/motions/:motionId';
}