/** * @file indexes.ts * @description Index decorators: @Index, @IndexSort, @PrimaryKey * @description Decoradores de índices: @Index, @IndexSort, @PrimaryKey */ /** * @description Marks a property as Partition Key for a GSI * @description Marca una propiedad como Partition Key de un GSI */ export declare const Index: (...params: any[]) => (target: any, propertyKey: string | symbol) => void; /** * @description Marks a property as Sort Key * @description Marca una propiedad como Sort Key */ export declare const IndexSort: (...params: any[]) => (target: any, propertyKey: string | symbol) => void; /** * @description Primary key: Default(ulid) + NotNull + Index + IndexSort. Any non-empty string is a valid id (ULID by default; UUID or custom keys already stored are accepted) * @description Clave primaria: Default(ulid) + NotNull + Index + IndexSort. Cualquier string no vacío es un id válido (ULID por defecto; se aceptan UUID u otras claves ya almacenadas) */ export declare const PrimaryKey: (...params: any[]) => (target: any, propertyKey: string | symbol) => void;