'use strict';
import { aliases } from '../../base-repo/app-constants/alias-symbols.js';
import { packagesPath, folders, projectPaths, nonRootProjectPaths, httpWrappersPaths } from '../../base-repo/app-constants/project-paths.js';

const noRestrictedPathsMessages={'server':'Importing\x20from\x20'+folders['src']+'\x20and\x20'+aliases['npmCommands']+'\x20into\x20'+packagesPath['packagesServer']+'\x20is\x20prohibited.','common':'Importing\x20from\x20'+folders['src']+'\x20and\x20'+aliases['server']+'\x20into\x20'+packagesPath['packagesCommon']+'\x20is\x20prohibited.','fdToolboxCore':'Only\x20imports\x20from\x20'+aliases['fdToolboxCore']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesFdToolboxCore']+'.','fdToolbox':'Only\x20imports\x20from\x20'+aliases['fdToolbox']+'\x20and\x20'+aliases['fdToolboxCore']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesFdToolbox']+'.','meta':'Only\x20imports\x20from\x20'+aliases['meta']+',\x20'+aliases['fdToolbox']+',\x20'+aliases['fdToolboxCore']+',\x20'+aliases['fdComponentToolbox']+',\x20'+packagesPath['packagesBaseRepo']+',\x20'+folders['nodeModules']+',\x20'+aliases['db']+'\x20and\x20'+httpWrappersPaths['httpWrappersTs']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesMeta']+'.','metaServer':'Importing\x20from\x20'+nonRootProjectPaths['metaServer']+'\x20is\x20not\x20allowed.','fdAppToolbox':'Only\x20imports\x20from\x20'+aliases['meta']+',\x20'+aliases['fdToolbox']+',\x20'+aliases['fdAppToolbox']+',\x20'+aliases['fdToolboxCore']+'\x20and\x20'+aliases['fdComponentToolbox']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesFdAppToolbox']+'.','fdComponentToolbox':'Only\x20imports\x20from\x20'+aliases['fdComponentToolbox']+',\x20'+aliases['fdToolbox']+'\x20and\x20'+aliases['fdToolboxCore']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesFdComponentToolbox']+'.','client':'Importing\x20from\x20'+aliases['server']+'\x20is\x20forbidden\x20in\x20'+folders['client']+',\x20except\x20in\x20'+folders['pages']+'.','src':'Importing\x20from\x20'+aliases['server']+'\x20is\x20forbidden\x20in\x20'+folders['src']+',\x20except\x20in\x20'+projectPaths['app']+'.','db':'Only\x20imports\x20from\x20'+aliases['fdToolbox']+',\x20and\x20'+aliases['fdToolboxCore']+'\x20are\x20permitted\x20in\x20the\x20'+packagesPath['packagesDb']+'.'};const noRestrictedSyntaxMessages={'server':'Placing\x20resource\x20files\x20in\x20the\x20'+folders['server']+'\x20folder\x20is\x20not\x20allowed.\x20If\x20the\x20created\x20file\x20is\x20not\x20a\x20resource,\x20avoid\x20using\x20the\x20\x27.resource.ts\x27\x20suffix.','reactApi':'Forbidden\x20React\x20API\x20usage:\x20useCallback,\x20useMemo\x20and\x20forwardRef\x20are\x20not\x20allowed.'};const noRestrictedImportsMessages={'relativeImports':'Use\x20path\x20aliases\x20instead\x20of\x20relative\x20imports.','testImports':'Do\x20not\x20import\x20from\x20'+aliases['test']+'.','nextImports':'Imports\x20from\x20\x27next\x27\x20are\x20only\x20allowed\x20in\x20the\x20'+nonRootProjectPaths['clientFramework']+'\x20and\x20'+nonRootProjectPaths['serverFramework']+'\x20folders.','reactImports':'Use\x20\x27react\x27\x20only\x20in\x20.tsx.','tsMorphImports':'Importing\x20ts-morph\x20is\x20prohibited\x20in\x20the\x20'+folders['src']+'\x20directory.\x20Please\x20use\x20it\x20only\x20in\x20scripts\x20or\x20utilities\x20outside\x20'+folders['src']+'.','level2Imports':'Importing\x20from\x20'+folders['level2']+'\x20is\x20prohibited\x20in\x20the\x20'+folders['infra']+'\x20directory.','internalCliImport':'Importing\x20from\x20'+folders['internalCli']+'\x20is\x20prohibited\x20in\x20the\x20'+folders['infra']+'\x20directory.','packageImport':'Importing\x20from\x20npm\x20package\x20is\x20prohibited\x20in\x20the\x20'+folders['packages']+'\x20directory.','packagesImports':'Do\x20not\x20import\x20from\x20'+aliases['packages']+'.'};

export { noRestrictedImportsMessages, noRestrictedPathsMessages, noRestrictedSyntaxMessages };
