en un clic
getting-started
Use when working with street addresses in apis.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Use when working with street addresses in apis.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Use when scanning NestJS providers with DiscoveryService-backed utilities.
Use when working with the @wisemen/nestjs-custom-fields package — developer-defined custom fields in NestJS with TypeORM persistence and runtime validation. Covers registering the CustomFieldDefinition entity, authoring definitions with customFieldDefinition(), storing resolved values via @CustomFieldValueColumn(), exposing them through CustomFieldValueDto / @IsCustomFields(), and validating submissions with CustomFieldDefinitionsRepository + validateCustomFieldValues(). Use this whenever a task involves custom field definitions, CustomFieldValue columns, custom-field DTOs, or tenant-scoped field definitions, even if the package is not named explicitly.
Use when defining Typesense collections, collectors, and search queries in NestJS APIs.
Generate PDFs through API2PDF in NestJS. Use when converting HTML or URLs to PDFs in apis.
Use when storing and validating multilingual text in NestJS apis with TypeORM and class-validator.
Use when configuring NATS messaging, subscribers, or the simple NatsClient in NestJS applications.
| name | getting-started |
| description | Use when working with street addresses in apis. |
Use Address as the shared type for street addresses. Use AddressCommand
in request DTOs, @AddressColumn() in TypeORM entities, and
AddressResponse in API responses.
import { ApiProperty } from '@nestjs/swagger'
import {
Address,
AddressBuilder,
AddressColumn,
AddressCommand,
AddressResponse,
IsAddress,
} from '@wisemen/address'
export class UpdateAddressDto {
@ApiProperty({ type: AddressCommand })
@IsAddress({ countryRequired: true, cityRequired: true })
address: AddressCommand
}
export class CustomerResponse {
@ApiProperty({ type: AddressResponse, nullable: true })
address: AddressResponse | null
}
@Entity()
export class Customer {
@AddressColumn({ nullable: true })
address: Address | null
}
const address = dto.address.parse()
const fallbackAddress = new AddressBuilder()
.withCountry('Belgium')
.withCity('Ghent')
.build()
return {
address: new AddressResponse(customer.address ?? fallbackAddress),
}