Files
bigtux 20a26affaa 📚 Documentação inicial do ALETHEIA
- MANUAL-PRODUTO.md: Manual do usuário final
- MANUAL-VENDAS.md: Estratégia comercial e vendas
- MANUAL-TECNICO.md: Infraestrutura e deploy
- README.md: Visão geral do projeto
2026-02-10 15:08:15 -03:00

22 lines
665 B
TypeScript

/**
* `app` -> app dir
* `pages` -> pages dir
* `root` -> middleware / instrumentation
* `assets` -> assets
*/
export type EntryKeyType = 'app' | 'pages' | 'root' | 'assets';
export type EntryKeySide = 'client' | 'server';
export type EntryKey = `{"type":"${EntryKeyType}","side":"${EntryKeyType}","page":"${string}"}`;
/**
* Get a key that's unique across all entrypoints.
*/
export declare function getEntryKey(type: EntryKeyType, side: EntryKeySide, page: string): EntryKey;
/**
* Split an `EntryKey` up into its components.
*/
export declare function splitEntryKey(key: EntryKey): {
type: EntryKeyType;
side: EntryKeySide;
page: string;
};