bb-plane-fork/packages/utils/src/index.ts
Jayash Tripathy cd61e8dd44
[WEB-4705] chore: url utilities (#7589)
* feat: add truncated link export and URL utility to respective modules

* refactor: replace Link2 with ExternalLink in TruncatedUrl component

* feat: add TruncatedUrl component and update link exports

* fix: export ParsedURL interface for better accessibility in URL utilities

* refactor: remove TruncatedUrl component and update link exports

* fix: update parseURL function to return undefined for invalid URLs

* refactor: rename ParsedURL interface to IParsedURL for consistency

* refactor: rename IParsedURL to IURLComponents and update parsing functions for improved clarity

* refactor: update URL utility functions and improve documentation for clarity

* refactor: add full URL property to IURLComponents interface and update extractURLComponents function

* refactor: rename createURL function to isUrlValid and update its implementation to validate URL strings

* refactor: rename isUrlValid function to getValidURL and update its implementation to return URL object or undefined
2025-08-19 20:09:03 +05:30

31 lines
860 B
TypeScript

export * from "./array";
export * from "./attachment";
export * from "./auth";
export * from "./calendar";
export * from "./color";
export * from "./common";
export * from "./cycle";
export * from "./datetime";
export * from "./distribution-update";
export * from "./editor";
export * from "./emoji";
export * from "./estimates";
export * from "./file";
export * from "./filter";
export * from "./get-icon-for-link";
export * from "./intake";
export * from "./math";
export * from "./module";
export * from "./notification";
export * from "./page";
export * from "./permission";
export * from "./project";
export * from "./project-views";
export * from "./router";
export * from "./string";
export * from "./subscription";
export * from "./tab-indices";
export * from "./theme";
export * from "./url";
export * from "./work-item";
export * from "./workspace";