feat: add StroyBot app shell with URL routing
One web part replaces the separate stroy-bot-* web parts. The section and its parameters live in the page query string (?page=objects&projectId=5), so links can be copied, opened in a new tab and the browser Back button works. - shared config: site/Dataverse/API addresses, list and table names - HTTP layer behind IHttpClient so repositories can be unit-tested - ui-kit AppLayout + Sidebar, placeholder for sections not ported yet - migration checklist with every feature of the old web parts - design tokens mirrored from ui-kit instead of 8 copies Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Таблицы Dataverse StroyBot (Web API, множественное число — как в URL).
|
||||
|
||||
export const DATAVERSE_API_PATH = '/api/data/v9.2/';
|
||||
|
||||
export const DV_TABLES = {
|
||||
/** Работы (иерархия, привязка к объекту SharePoint через cree9_objectid). */
|
||||
works: 'cree9_tables',
|
||||
/** Отчёты. */
|
||||
reports: 'cree9_reports',
|
||||
/** Строки отчётов: работы, персонал, техника. */
|
||||
reportData: 'cree9_report_datas'
|
||||
} as const;
|
||||
|
||||
/** Логическое имя (единственное число) таблицы работ — для EntityDefinitions. */
|
||||
export const DV_WORKS_LOGICAL_NAME = 'cree9_table';
|
||||
Reference in New Issue
Block a user