sveak-chrome-extension/popup/src/stubs/Stub2Flow.ts

12 lines
399 B
TypeScript

import { FlowEnum } from '@/stubs/FlowEnum'
import MocksSchema from '@/api/Main/Schemas/MocksSchema'
import MocksSchemaSuccess from '@/stubs/stubs/Main/MocksSchema/MocksSchemaSuccess'
const map: Record<string, any> = {}
// Регистрируем базовые успешные заглуши
map[FlowEnum.base] = {}
map[FlowEnum.base][MocksSchema.code] = MocksSchemaSuccess
export default map