ff7e72e0fd
QA report v2.31.x batch:
- **VersionController.tag**: было 'none' (maven build на main без git tag) → UI
показывал «dev · 6077d4df». Helm передаёт image.tag через env
ORDINIS_BUILD_IMAGE_TAG, controller парсит «v2-31-2-e3c82775» → «v2.31.2».
Helm chart change в ordinis-infra (separate MR).
- **/drafts redirect** (BUG-003): пустой 404 «Not Found» plain text → теперь
static redirect на /my-drafts.
- **Audit action filter** (BUG-004): дропдаун содержал только 3 значения
(CREATE/UPDATE/CLOSE), но в таблице 11 типов (DRAFT_*, DEFINITION_*).
Frontend AuditAction enum + ACTIONS list синхронизированы с backend
AuditLogger/SchemaDraftService/DraftService.
- **i18n cleanup** (BUG-006/007/UX-005):
- myDrafts.description: «Все ваши submissions с pending/approved...» →
«Все ваши черновики с историей: ожидает рассмотрения, одобрен...»
- reviews.description: «Pending drafts от makers, ждут approve/reject» →
«Черновики от авторов, ждут одобрения или отклонения. Общая очередь...»
- reviews.queueTotal: «N pending drafts» → «N черновиков в очереди»
- myDrafts.col.reviewer: «Reviewer» → «Рецензент» (RU only)
- notifications chip labels: 'submit/approved/rejected' → 'отправлен/
одобрен/отклонён'
- audit.action.* expanded к 13 entries для каждого backend action
type, с понятными лейблами «Черновик одобрен» вместо «DRAFT_APPROVE»
- **WhatsNewModal markdown** (UX-006): тексты вроде «**График доставки
webhook'ов**» рендерились с буквальными звёздочками. Mini inline renderer
для **bold**, *italic*, `code` — без full markdown library.
375 lines
11 KiB
TypeScript
375 lines
11 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as WebhooksRouteImport } from './routes/webhooks'
|
|
import { Route as SearchRouteImport } from './routes/search'
|
|
import { Route as ReviewsRouteImport } from './routes/reviews'
|
|
import { Route as OutboxRouteImport } from './routes/outbox'
|
|
import { Route as MyDraftsRouteImport } from './routes/my-drafts'
|
|
import { Route as GraphRouteImport } from './routes/graph'
|
|
import { Route as DraftsRouteImport } from './routes/drafts'
|
|
import { Route as DictionariesRouteImport } from './routes/dictionaries'
|
|
import { Route as AuditRouteImport } from './routes/audit'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as WebhooksIndexRouteImport } from './routes/webhooks.index'
|
|
import { Route as DictionariesIndexRouteImport } from './routes/dictionaries.index'
|
|
import { Route as WebhooksIdRouteImport } from './routes/webhooks.$id'
|
|
import { Route as DictionariesNameRouteImport } from './routes/dictionaries.$name'
|
|
import { Route as MeNotificationsPreferencesRouteImport } from './routes/me.notifications.preferences'
|
|
|
|
const WebhooksRoute = WebhooksRouteImport.update({
|
|
id: '/webhooks',
|
|
path: '/webhooks',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SearchRoute = SearchRouteImport.update({
|
|
id: '/search',
|
|
path: '/search',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ReviewsRoute = ReviewsRouteImport.update({
|
|
id: '/reviews',
|
|
path: '/reviews',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const OutboxRoute = OutboxRouteImport.update({
|
|
id: '/outbox',
|
|
path: '/outbox',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const MyDraftsRoute = MyDraftsRouteImport.update({
|
|
id: '/my-drafts',
|
|
path: '/my-drafts',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const GraphRoute = GraphRouteImport.update({
|
|
id: '/graph',
|
|
path: '/graph',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DraftsRoute = DraftsRouteImport.update({
|
|
id: '/drafts',
|
|
path: '/drafts',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DictionariesRoute = DictionariesRouteImport.update({
|
|
id: '/dictionaries',
|
|
path: '/dictionaries',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuditRoute = AuditRouteImport.update({
|
|
id: '/audit',
|
|
path: '/audit',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const WebhooksIndexRoute = WebhooksIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => WebhooksRoute,
|
|
} as any)
|
|
const DictionariesIndexRoute = DictionariesIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => DictionariesRoute,
|
|
} as any)
|
|
const WebhooksIdRoute = WebhooksIdRouteImport.update({
|
|
id: '/$id',
|
|
path: '/$id',
|
|
getParentRoute: () => WebhooksRoute,
|
|
} as any)
|
|
const DictionariesNameRoute = DictionariesNameRouteImport.update({
|
|
id: '/$name',
|
|
path: '/$name',
|
|
getParentRoute: () => DictionariesRoute,
|
|
} as any)
|
|
const MeNotificationsPreferencesRoute =
|
|
MeNotificationsPreferencesRouteImport.update({
|
|
id: '/me/notifications/preferences',
|
|
path: '/me/notifications/preferences',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/audit': typeof AuditRoute
|
|
'/dictionaries': typeof DictionariesRouteWithChildren
|
|
'/drafts': typeof DraftsRoute
|
|
'/graph': typeof GraphRoute
|
|
'/my-drafts': typeof MyDraftsRoute
|
|
'/outbox': typeof OutboxRoute
|
|
'/reviews': typeof ReviewsRoute
|
|
'/search': typeof SearchRoute
|
|
'/webhooks': typeof WebhooksRouteWithChildren
|
|
'/dictionaries/$name': typeof DictionariesNameRoute
|
|
'/webhooks/$id': typeof WebhooksIdRoute
|
|
'/dictionaries/': typeof DictionariesIndexRoute
|
|
'/webhooks/': typeof WebhooksIndexRoute
|
|
'/me/notifications/preferences': typeof MeNotificationsPreferencesRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/audit': typeof AuditRoute
|
|
'/drafts': typeof DraftsRoute
|
|
'/graph': typeof GraphRoute
|
|
'/my-drafts': typeof MyDraftsRoute
|
|
'/outbox': typeof OutboxRoute
|
|
'/reviews': typeof ReviewsRoute
|
|
'/search': typeof SearchRoute
|
|
'/dictionaries/$name': typeof DictionariesNameRoute
|
|
'/webhooks/$id': typeof WebhooksIdRoute
|
|
'/dictionaries': typeof DictionariesIndexRoute
|
|
'/webhooks': typeof WebhooksIndexRoute
|
|
'/me/notifications/preferences': typeof MeNotificationsPreferencesRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/audit': typeof AuditRoute
|
|
'/dictionaries': typeof DictionariesRouteWithChildren
|
|
'/drafts': typeof DraftsRoute
|
|
'/graph': typeof GraphRoute
|
|
'/my-drafts': typeof MyDraftsRoute
|
|
'/outbox': typeof OutboxRoute
|
|
'/reviews': typeof ReviewsRoute
|
|
'/search': typeof SearchRoute
|
|
'/webhooks': typeof WebhooksRouteWithChildren
|
|
'/dictionaries/$name': typeof DictionariesNameRoute
|
|
'/webhooks/$id': typeof WebhooksIdRoute
|
|
'/dictionaries/': typeof DictionariesIndexRoute
|
|
'/webhooks/': typeof WebhooksIndexRoute
|
|
'/me/notifications/preferences': typeof MeNotificationsPreferencesRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/audit'
|
|
| '/dictionaries'
|
|
| '/drafts'
|
|
| '/graph'
|
|
| '/my-drafts'
|
|
| '/outbox'
|
|
| '/reviews'
|
|
| '/search'
|
|
| '/webhooks'
|
|
| '/dictionaries/$name'
|
|
| '/webhooks/$id'
|
|
| '/dictionaries/'
|
|
| '/webhooks/'
|
|
| '/me/notifications/preferences'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/audit'
|
|
| '/drafts'
|
|
| '/graph'
|
|
| '/my-drafts'
|
|
| '/outbox'
|
|
| '/reviews'
|
|
| '/search'
|
|
| '/dictionaries/$name'
|
|
| '/webhooks/$id'
|
|
| '/dictionaries'
|
|
| '/webhooks'
|
|
| '/me/notifications/preferences'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/audit'
|
|
| '/dictionaries'
|
|
| '/drafts'
|
|
| '/graph'
|
|
| '/my-drafts'
|
|
| '/outbox'
|
|
| '/reviews'
|
|
| '/search'
|
|
| '/webhooks'
|
|
| '/dictionaries/$name'
|
|
| '/webhooks/$id'
|
|
| '/dictionaries/'
|
|
| '/webhooks/'
|
|
| '/me/notifications/preferences'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AuditRoute: typeof AuditRoute
|
|
DictionariesRoute: typeof DictionariesRouteWithChildren
|
|
DraftsRoute: typeof DraftsRoute
|
|
GraphRoute: typeof GraphRoute
|
|
MyDraftsRoute: typeof MyDraftsRoute
|
|
OutboxRoute: typeof OutboxRoute
|
|
ReviewsRoute: typeof ReviewsRoute
|
|
SearchRoute: typeof SearchRoute
|
|
WebhooksRoute: typeof WebhooksRouteWithChildren
|
|
MeNotificationsPreferencesRoute: typeof MeNotificationsPreferencesRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/webhooks': {
|
|
id: '/webhooks'
|
|
path: '/webhooks'
|
|
fullPath: '/webhooks'
|
|
preLoaderRoute: typeof WebhooksRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/search': {
|
|
id: '/search'
|
|
path: '/search'
|
|
fullPath: '/search'
|
|
preLoaderRoute: typeof SearchRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/reviews': {
|
|
id: '/reviews'
|
|
path: '/reviews'
|
|
fullPath: '/reviews'
|
|
preLoaderRoute: typeof ReviewsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/outbox': {
|
|
id: '/outbox'
|
|
path: '/outbox'
|
|
fullPath: '/outbox'
|
|
preLoaderRoute: typeof OutboxRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/my-drafts': {
|
|
id: '/my-drafts'
|
|
path: '/my-drafts'
|
|
fullPath: '/my-drafts'
|
|
preLoaderRoute: typeof MyDraftsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/graph': {
|
|
id: '/graph'
|
|
path: '/graph'
|
|
fullPath: '/graph'
|
|
preLoaderRoute: typeof GraphRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/drafts': {
|
|
id: '/drafts'
|
|
path: '/drafts'
|
|
fullPath: '/drafts'
|
|
preLoaderRoute: typeof DraftsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/dictionaries': {
|
|
id: '/dictionaries'
|
|
path: '/dictionaries'
|
|
fullPath: '/dictionaries'
|
|
preLoaderRoute: typeof DictionariesRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/audit': {
|
|
id: '/audit'
|
|
path: '/audit'
|
|
fullPath: '/audit'
|
|
preLoaderRoute: typeof AuditRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/webhooks/': {
|
|
id: '/webhooks/'
|
|
path: '/'
|
|
fullPath: '/webhooks/'
|
|
preLoaderRoute: typeof WebhooksIndexRouteImport
|
|
parentRoute: typeof WebhooksRoute
|
|
}
|
|
'/dictionaries/': {
|
|
id: '/dictionaries/'
|
|
path: '/'
|
|
fullPath: '/dictionaries/'
|
|
preLoaderRoute: typeof DictionariesIndexRouteImport
|
|
parentRoute: typeof DictionariesRoute
|
|
}
|
|
'/webhooks/$id': {
|
|
id: '/webhooks/$id'
|
|
path: '/$id'
|
|
fullPath: '/webhooks/$id'
|
|
preLoaderRoute: typeof WebhooksIdRouteImport
|
|
parentRoute: typeof WebhooksRoute
|
|
}
|
|
'/dictionaries/$name': {
|
|
id: '/dictionaries/$name'
|
|
path: '/$name'
|
|
fullPath: '/dictionaries/$name'
|
|
preLoaderRoute: typeof DictionariesNameRouteImport
|
|
parentRoute: typeof DictionariesRoute
|
|
}
|
|
'/me/notifications/preferences': {
|
|
id: '/me/notifications/preferences'
|
|
path: '/me/notifications/preferences'
|
|
fullPath: '/me/notifications/preferences'
|
|
preLoaderRoute: typeof MeNotificationsPreferencesRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
interface DictionariesRouteChildren {
|
|
DictionariesNameRoute: typeof DictionariesNameRoute
|
|
DictionariesIndexRoute: typeof DictionariesIndexRoute
|
|
}
|
|
|
|
const DictionariesRouteChildren: DictionariesRouteChildren = {
|
|
DictionariesNameRoute: DictionariesNameRoute,
|
|
DictionariesIndexRoute: DictionariesIndexRoute,
|
|
}
|
|
|
|
const DictionariesRouteWithChildren = DictionariesRoute._addFileChildren(
|
|
DictionariesRouteChildren,
|
|
)
|
|
|
|
interface WebhooksRouteChildren {
|
|
WebhooksIdRoute: typeof WebhooksIdRoute
|
|
WebhooksIndexRoute: typeof WebhooksIndexRoute
|
|
}
|
|
|
|
const WebhooksRouteChildren: WebhooksRouteChildren = {
|
|
WebhooksIdRoute: WebhooksIdRoute,
|
|
WebhooksIndexRoute: WebhooksIndexRoute,
|
|
}
|
|
|
|
const WebhooksRouteWithChildren = WebhooksRoute._addFileChildren(
|
|
WebhooksRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AuditRoute: AuditRoute,
|
|
DictionariesRoute: DictionariesRouteWithChildren,
|
|
DraftsRoute: DraftsRoute,
|
|
GraphRoute: GraphRoute,
|
|
MyDraftsRoute: MyDraftsRoute,
|
|
OutboxRoute: OutboxRoute,
|
|
ReviewsRoute: ReviewsRoute,
|
|
SearchRoute: SearchRoute,
|
|
WebhooksRoute: WebhooksRouteWithChildren,
|
|
MeNotificationsPreferencesRoute: MeNotificationsPreferencesRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|