Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
651 B
TypeScript
19 lines
651 B
TypeScript
export interface MappingEntry {
|
|
readonly pattern: string;
|
|
readonly paths: ReadonlyArray<string>;
|
|
}
|
|
export interface Paths {
|
|
readonly [key: string]: ReadonlyArray<string>;
|
|
}
|
|
/**
|
|
* Converts an absolute baseUrl and paths to an array of absolute mapping entries.
|
|
* The array is sorted by longest prefix.
|
|
* Having an array with entries allows us to keep a sorting order rather than
|
|
* sort by keys each time we use the mappings.
|
|
*
|
|
* @param absoluteBaseUrl
|
|
* @param paths
|
|
* @param addMatchAll
|
|
*/
|
|
export declare function getAbsoluteMappingEntries(absoluteBaseUrl: string, paths: Paths, addMatchAll: boolean): ReadonlyArray<MappingEntry>;
|