con un clic
getting-started
Use when working with geographic coordinates in apis.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Use when working with geographic coordinates in apis.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Use when creating or updating api specific packages in `packages/api/*`, especially for package structure, exports, module wiring, docs, and validation.
Use when implementing or reviewing HTTP integrations inside api specific packages, especially for transport choice, timeout placement, request shaping, and error handling.
Use when configuring a shared OSRM client in NestJS APIs.
Use when configuring transactional mail delivery in NestJS APIs with @wisemen/nestjs-mail.
Use when generating CSVs in APIs.
Use when scanning NestJS providers with DiscoveryService-backed utilities.
| name | getting-started |
| description | Use when working with geographic coordinates in apis. |
Use Coordinates as the shared type for geographic coordinates. Use
CoordinatesCommand in request DTOs, CoordinatesQuery for query parameters,
@CoordinatesColumn() in TypeORM entities, and CoordinatesResponse in API
responses.
import { ApiProperty } from '@nestjs/swagger'
import { Coordinates, CoordinatesColumn, CoordinatesCommand, CoordinatesQuery, CoordinatesResponse } from '@wisemen/coordinates'
export class UpdateLocationCommand {
@ApiProperty({ type: CoordinatesCommand })
coordinates: CoordinatesCommand
}
export class LocationResponse {
@ApiProperty({ type: CoordinatesResponse, nullable: true })
coordinates: CoordinatesResponse | null
}
@Entity()
export class Location {
@CoordinatesColumn({ nullable: true })
coordinates: Coordinates | null
}
const coordinates = dto.coordinates.parse()
const center = query.parse()
return {
coordinates: CoordinatesResponse.from(location.coordinates),
}