ワンクリックで
getting-started
Use when working with geographic coordinates in apis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when working with geographic coordinates in apis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
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),
}