Repository navigation
ui: Constants refactor - #26908
ui: Constants refactor#26908
Conversation
b8ca43e to
8537236
Compare
There was a problem hiding this comment.
Pull request overview
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Refactors UI constants to a .constants.ts naming scheme, consolidates imports via barrel exports, and reorganizes groups of related constants into structured objects to improve consistency and maintainability.
Changes:
- Renamed/reshaped many constants into grouped objects (e.g.,
GLOB,SEARCH,CACHE,HEADERS,SVG,MODEL_ID) and updated call sites. - Centralized constants exports through
$lib/constantsand moved some helper accessors into$lib/utils. - Introduced/relocated shared types (e.g.,
BuiltinToolUiEntry,DesktopIconStripItem,AttachmentMenuItem) into$lib/types.
Reviewed changes
Copilot reviewed 173 out of 208 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/ui/vite.config.ts | Update PWA options import to new constants filename. |
| tools/ui/tests/unit/working-directory.test.ts | Update tests to new grouped GLOB/SEARCH constants. |
| tools/ui/tests/unit/uri-template.test.ts | Update tests for renamed URI template symbols export. |
| tools/ui/tests/unit/sanitize-headers.test.ts | Update tests to use CORS_PROXY.HEADER_PREFIX. |
| tools/ui/tests/unit/parse-mcp-server-settings.test.ts | Switch to importing MCP prefix from constants barrel. |
| tools/ui/tests/unit/mcp-service.test.ts | Update tests to use CORS_PROXY.HEADER_PREFIX. |
| tools/ui/tests/unit/mcp-servers-default.test.ts | Use constants barrel for settings keys/registry defaults. |
| tools/ui/tests/unit/mcp-override-fallback.test.ts | Consolidate constants imports via barrel. |
| tools/ui/tests/unit/agentic-strip.test.ts | Switch legacy agentic regex import to barrel. |
| tools/ui/tests/client/ui-settings-sync.svelte.test.ts | Switch storage constants import to barrel. |
| tools/ui/tests/client/settings-render-keys-migration.svelte.test.ts | Switch storage constants import to barrel. |
| tools/ui/tests/client/settings-registry-invariants.svelte.test.ts | Switch settings registry/storage imports to barrel. |
| tools/ui/tests/client/chat-form-enter-code-block.svelte.test.ts | Switch settings keys import to barrel. |
| tools/ui/tests/client/apikey-splash.svelte.test.ts | Switch storage constants import to barrel. |
| tools/ui/src/routes/search/+page.svelte | Switch routes import to constants barrel. |
| tools/ui/src/routes/+layout.svelte | Consolidate multiple constants imports into barrel + HEADERS. |
| tools/ui/src/routes/+error.svelte | Consolidate constants imports into barrel. |
| tools/ui/src/lib/utils/working-directory.ts | Update to grouped working-directory constants (GLOB, SEARCH). |
| tools/ui/src/lib/utils/uri-template.ts | Update to single URI_TEMPLATE_SYMBOLS object. |
| tools/ui/src/lib/utils/stream-identity.ts | Use shared conversation id separator constant. |
| tools/ui/src/lib/utils/sanitize-svg.ts | Switch to grouped SVG constants. |
| tools/ui/src/lib/utils/path-display.ts | Switch to barrel constants for separators/regex. |
| tools/ui/src/lib/utils/mention-badge.ts | Switch mention badge constants import/export to barrel. |
| tools/ui/src/lib/utils/mcp.ts | Switch to grouped content detection + MCP SSE constants. |
| tools/ui/src/lib/utils/jpeg-orientation.ts | Consolidate JPEG/EXIF constants under EXIF. |
| tools/ui/src/lib/utils/index.ts | Move built-in tool UI helper + add new utils re-exports. |
| tools/ui/src/lib/utils/heic-to-jpeg.ts | Use grouped IMAGE constants. |
| tools/ui/src/lib/utils/glob-search.ts | Use grouped GLOB/SEARCH constants. |
| tools/ui/src/lib/utils/cors-proxy.ts | Use grouped CORS_PROXY settings for headers/query param. |
| tools/ui/src/lib/utils/contenteditable-tokenizer.ts | Update docs reference to constants barrel. |
| tools/ui/src/lib/utils/code.ts | Use grouped CODE_BLOCK parsing/escaping constants. |
| tools/ui/src/lib/utils/cap-img-size.ts | Use grouped IMAGE constants + barrel import. |
| tools/ui/src/lib/utils/cache-ttl.ts | Use grouped cache defaults CACHE. |
| tools/ui/src/lib/utils/built-in-tools.ts | New helper for resolving built-in tool UI metadata. |
| tools/ui/src/lib/utils/api-key-validation.ts | Use HEADERS constants for auth/content-type. |
| tools/ui/src/lib/utils/api-headers.ts | Use HEADERS/CORS_PROXY for auth + redaction. |
| tools/ui/src/lib/utils/api-fetch.ts | Switch error constants import to barrel. |
| tools/ui/src/lib/utils/agentic.ts | Switch markdown/search-summary constants to grouped objects. |
| tools/ui/src/lib/types/tools.d.ts | Add exported BuiltinToolUiEntry type. |
| tools/ui/src/lib/types/navigation.d.ts | New DesktopIconStripItem type. |
| tools/ui/src/lib/types/index.ts | Re-export new/expanded chat/navigation/tools types. |
| tools/ui/src/lib/types/chat.d.ts | Add AttachmentMenuItem/ChatCommandsOptions/ControlAction. |
| tools/ui/src/lib/stores/viewport.svelte.ts | Switch breakpoint import to constants barrel. |
| tools/ui/src/lib/stores/tools.svelte.ts | Move sandbox tool builder import to $lib/utils. |
| tools/ui/src/lib/stores/models.svelte.ts | Use grouped MODEL_PROPS_CACHE constants. |
| tools/ui/src/lib/stores/mcp.svelte.ts | Use grouped CACHE and MCP_RECONNECT policies. |
| tools/ui/src/lib/stores/mcp-resources.svelte.ts | Use grouped MCP_RESOURCE_CACHE constants. |
| tools/ui/src/lib/stores/conversations.svelte.ts | Use grouped export filename constants + routes from barrel. |
| tools/ui/src/lib/stores/chat.svelte.ts | Use HEADERS + separator + grouped inactive pruning constants. |
| tools/ui/src/lib/stores/agentic.svelte.ts | Use grouped MIME prefix constants for attachment detection. |
| tools/ui/src/lib/services/tools.service.ts | Use HEADERS.X_TOOL_CWD_HEADER. |
| tools/ui/src/lib/services/router.service.ts | Switch routes import to constants barrel. |
| tools/ui/src/lib/services/models.service.ts | Consolidate model-id parsing constants under MODEL_ID. |
| tools/ui/src/lib/services/migration.service.ts | Consolidate legacy constants/settings keys from barrel. |
| tools/ui/src/lib/services/mcp.service.ts | Use HEADERS.PARTIAL_REDACT + CORS_PROXY.HEADER_PREFIX. |
| tools/ui/src/lib/services/index.ts | Update docs reference for sandbox tool builder location. |
| tools/ui/src/lib/services/chat.service.ts | Use HEADERS.X_CONVERSATION_ID_HEADER + AttachmentLabel. |
| tools/ui/src/lib/hooks/use-settings-navigation.svelte.ts | Switch routes import to constants barrel. |
| tools/ui/src/lib/hooks/use-reasoning-menu.svelte.ts | Consolidate reasoning effort constants import via barrel. |
| tools/ui/src/lib/hooks/use-pwa.svelte.ts | Consolidate PWA/storage constants import via barrel. |
| tools/ui/src/lib/hooks/use-keyboard-shortcuts.svelte.ts | Switch routes import to constants barrel. |
| tools/ui/src/lib/hooks/use-chat-form-pickers.svelte.ts | Move getChatCommands to $lib/utils to avoid cycles. |
| tools/ui/src/lib/enums/index.ts | Remove obsolete enums; add AttachmentLabel export. |
| tools/ui/src/lib/enums/files.enums.ts | Remove MIME/URI pattern enums in favor of constants objects. |
| tools/ui/src/lib/enums/attachment.enums.ts | Add AttachmentLabel enum. |
| tools/ui/src/lib/constants/working-directory.ts | Remove old file; replaced by .constants.ts grouping. |
| tools/ui/src/lib/constants/working-directory.constants.ts | New grouped working-directory constants. |
| tools/ui/src/lib/constants/viewport.ts | Remove old file; breakpoint now comes from consolidated constants. |
| tools/ui/src/lib/constants/uri-template.ts | Consolidate URI template operator/separator constants. |
| tools/ui/src/lib/constants/ui.ts | Move tool labels + UI constants; import new routes constants. |
| tools/ui/src/lib/constants/tooltip-config.ts | Remove old file; tooltip delay moved to consolidated constants. |
| tools/ui/src/lib/constants/tools.ts | Remove old file; tool labels/headers moved to consolidated constants. |
| tools/ui/src/lib/constants/svg-blocks.ts | Remove old file; replaced by grouped SVG constants. |
| tools/ui/src/lib/constants/svg-blocks.constants.ts | New grouped SVG rendering constants. |
| tools/ui/src/lib/constants/stream.ts | Remove old file; stream constants moved. |
| tools/ui/src/lib/constants/sse.ts | Add stream visibility + conversation separator alongside SSE defs. |
| tools/ui/src/lib/constants/special-characters.constants.ts | New shared whitespace/control character constants. |
| tools/ui/src/lib/constants/settings-registry.ts | Update internal imports + unify monitor icon aliasing. |
| tools/ui/src/lib/constants/sandbox.ts | Change to importing sandbox constants from barrel. |
| tools/ui/src/lib/constants/sandbox.constants.ts | New sandbox constants file. |
| tools/ui/src/lib/constants/reasoning-effort.ts | Move tokens map into same module as effort levels. |
| tools/ui/src/lib/constants/reasoning-effort-tokens.ts | Remove old tokens-only module. |
| tools/ui/src/lib/constants/pwa.ts | Update internal import to new app constants filename. |
| tools/ui/src/lib/constants/processing-info.ts | Remove old file; constants moved to consolidated UI constants. |
| tools/ui/src/lib/constants/model-id.ts | Remove old file; replaced by grouped MODEL_ID constants. |
| tools/ui/src/lib/constants/model-id.constants.ts | New grouped model id parsing constants. |
| tools/ui/src/lib/constants/message-export.ts | Remove old file; replaced by grouped EXPORT_CONV constants. |
| tools/ui/src/lib/constants/message-export.constants.ts | New grouped message export constants. |
| tools/ui/src/lib/constants/mcp.ts | Group reconnect + proxy + SSE constants. |
| tools/ui/src/lib/constants/markdown.ts | Remove old file; replaced by .constants.ts file. |
| tools/ui/src/lib/constants/markdown.constants.ts | Add grouped MARKDOWN structural regexes. |
| tools/ui/src/lib/constants/literal-html.ts | Move whitespace constants out to special-characters module. |
| tools/ui/src/lib/constants/jpeg-exif.ts | Remove old EXIF constants module; moved under EXIF. |
| tools/ui/src/lib/constants/index.ts | Update barrel exports to .constants.ts modules. |
| tools/ui/src/lib/constants/image.constants.ts | New grouped IMAGE + EXIF constants. |
| tools/ui/src/lib/constants/image-size.ts | Remove old file; moved under IMAGE. |
| tools/ui/src/lib/constants/headers.constants.ts | New header naming/redaction constants bundle. |
| tools/ui/src/lib/constants/floating-ui-constraints.ts | Remove old file; moved into consolidated UI constants. |
| tools/ui/src/lib/constants/database.ts | Update storage constant import to new filename. |
| tools/ui/src/lib/constants/control-actions.ts | Remove exported type alias; keep constant mapping. |
| tools/ui/src/lib/constants/content-detection.constants.ts | New MIME/URI detection string bundles. |
| tools/ui/src/lib/constants/code.ts | Remove old code constants module; moved under CODE_BLOCK etc. |
| tools/ui/src/lib/constants/code-blocks.ts | Remove old CSS class constants; moved under CODE_BLOCK_CLASS. |
| tools/ui/src/lib/constants/code-block.constants.ts | New grouped code-block parsing + CSS class constants. |
| tools/ui/src/lib/constants/chat-commands.ts | Move options/types to $lib/types and clarify circular dependency note. |
| tools/ui/src/lib/constants/cache.ts | Remove old cache constants; moved under grouped cache constants. |
| tools/ui/src/lib/constants/cache.constants.ts | New grouped cache presets/constants. |
| tools/ui/src/lib/constants/built-in-tools.ts | Move UI entry type to $lib/types; remove helper function here. |
| tools/ui/src/lib/constants/attachment-menu.ts | Move AttachmentMenuItem type to $lib/types. |
| tools/ui/src/lib/constants/attachment-labels.ts | Remove old string label constants in favor of enum. |
| tools/ui/src/lib/constants/agentic.ts | Group search-summary constants. |
| tools/ui/src/lib/components/pwa/PwaMetaTags.svelte | Use constants barrel for PWA meta constants. |
| tools/ui/src/lib/components/app/settings/SettingsChatMobileHeader.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/settings/SettingsChatDesktopSidebar.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatToolsTab.svelte | Move built-in tool UI resolver to $lib/utils. |
| tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportSection.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatFields.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/server/ServerStatus.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/server/ServerErrorSplash.svelte | Consolidate headers/routes/settings imports via barrel. |
| tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationActions.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/models/ModelsSelectorOption.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/misc/HorizontalScrollCarousel.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/mcp/McpServerForm.svelte | Use HEADERS redaction + bearer prefix from barrel. |
| tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCard.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserServerItem.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserHeader.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/mcp/McpResourcePreview.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/mcp/McpActiveServersAvatars.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/forms/SearchInput.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/dialogs/DialogModelNotAvailable.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte | Use HEADERS bearer + redaction set via barrel. |
| tools/ui/src/lib/components/app/dialogs/DialogMcpResourcesBrowser.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/dialogs/DialogMcpResourcePreview.svelte | Use MIME substring constants from barrel. |
| tools/ui/src/lib/components/app/content/SyntaxHighlightedCode.svelte | Use constants barrel for auto-scroll threshold. |
| tools/ui/src/lib/components/app/content/MermaidPreviewControls.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/content/MermaidPreview.svelte | Use grouped SVG constants for shadow style. |
| tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/svg-pre.ts | Use grouped SVG constants. |
| tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts | Update docs reference to constants barrel. |
| tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-svg-blocks.ts | Use grouped SVG constants. |
| tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts | Use grouped CODE_BLOCK_CLASS constants. |
| tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/code-block-utils.ts | Use grouped CODE_BLOCK_CLASS constants. |
| tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte | Switch svg/code-block handling to grouped constants. |
| tools/ui/src/lib/components/app/content/CollapsibleContentBlock.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenServerError.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenActionScrollDown.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageReasoningBlock.svelte | Use constants barrel for auto-scroll threshold. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCard.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/write-file.ts | Use CODE_BLOCK constants for language parsing defaults. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-file.ts | Use CODE_BLOCK constants for language parsing defaults. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ToolCallBlock.svelte | Use utils resolver + barrel icon classes. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockSearchResults.svelte | Use constants barrel for icon classes. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadFile.svelte | Use CODE_BLOCK.DEFAULT_LANGUAGE. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockExecShellCommand.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockDefault.svelte | Use getBuiltinToolUi from $lib/utils. |
| tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessage.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormWorkingDirectory.svelte | Switch to grouped SEARCH + consolidated breakpoint constant. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormMentionPicker.svelte | Switch to grouped picker/search constants. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContenteditable.svelte | Use CODE_BLOCK padding regexes. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionRecord.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddToolsSubmenu.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddSheet.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddReasoningSubmenu.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddMcpServersSubmenu.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddButton.svelte | Consolidate constants imports via barrel. |
| tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemPdf.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailFile.svelte | Use constants barrel for icon class. |
| tools/ui/src/lib/components/app/actions/ActionIconCopyToClipboard.svelte | Use constants barrel for icon class. |
| tools/ui/scripts/vite-plugin-splash-screen.ts | Update imports to new PWA + special character constants. |
| tools/ui/scripts/vite-plugin-relativize-base.ts | Update PWA constants import path. |
| tools/ui/scripts/vite-plugin-build-info.ts | Update PWA constants import path. |
| tools/ui/pwa-assets.config.ts | Update PWA constants import path. |
| tools/ui/pwa-assets-dark.config.ts | Update PWA constants import path. |
Suppressed comments (3)
tools/ui/src/lib/constants/index.ts:1
- The barrel now exports only
*.constantsmodules, but several constants were edited in non-*.constantsfiles in this PR (e.g.ui.ts,mcp.ts,reasoning-effort.ts,uri-template.ts,pwa.ts,database.ts,control-actions.ts,sse.ts). If those modules were not actually renamed to*.constants.ts, their exports will no longer be reachable via$lib/constants, and any imports likeimport { DEFAULT_MOBILE_BREAKPOINT } from '$lib/constants'/import { CONVERSATION_ID_SEPARATOR } from '$lib/constants'will fail at build time. Fix by either renaming the remaining files to the*.constants.tsconvention or updating this barrel to export the actual filenames in use (and similarly ensureCONVERSATION_ID_SEPARATOR’s module is included).
tools/ui/src/lib/utils/uri-template.ts:1 - For RFC 6570
{&var}expansions, key/value pairs should be joined with&(the form continuation separator), not,. As written, this produces output like&a=1,b=2which is not a valid query continuation. UseURI_TEMPLATE_SYMBOLS.FORM_CONTINUATIONfor the join separator in this case (mirroring the{?var}branch).
tools/ui/src/lib/constants/headers.constants.ts:1 HEADERS.REDACTEDandHEADERS.PARTIAL_REDACTare mutable collections. Since these directly affect what gets redacted in diagnostics, accidental mutation (at runtime or via tests) could cause sensitive header leakage. Consider making theseReadonlySet/ReadonlyMapin the exported type surface and/or freezing/encapsulating them (e.g., expose helper functions likeisRedactedHeader(name)andgetPartialRedactChars(name)instead of exporting the collections themselves).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
8537236 to
69a1830
Compare
69a1830 to
1f4de07
Compare
* refactor: Constants * refactor: Constants/Enums cleanup * refactor: Constant objects instead of multiple single value constants * refactor: Cleanup constants
* refactor: Constants * refactor: Constants/Enums cleanup * refactor: Constant objects instead of multiple single value constants * refactor: Cleanup constants
* refactor: Constants * refactor: Constants/Enums cleanup * refactor: Constant objects instead of multiple single value constants * refactor: Cleanup constants
Overview
Cleanup PR with:
.constant.tsnamingRequirements