@etherspot/data-utils
Version:
Etherspot Data Utils
29 lines (27 loc) • 685 B
JavaScript
import {
TOKEN_LIST_MAX_NAME_LENGTH,
TOKEN_LIST_MIN_NAME_LENGTH
} from "./chunk-Y33F53A7.mjs";
import {
__decorateClass
} from "./chunk-PVVZGNOS.mjs";
// src/sdk/dto/get-token-list.dto.ts
import { IsString, MinLength, MaxLength, IsOptional, IsPositive } from "class-validator";
var GetTokenListDto = class {
constructor() {
this.name = null;
}
};
__decorateClass([
IsPositive()
], GetTokenListDto.prototype, "chainId", 2);
__decorateClass([
IsOptional(),
IsString(),
MinLength(TOKEN_LIST_MIN_NAME_LENGTH),
MaxLength(TOKEN_LIST_MAX_NAME_LENGTH)
], GetTokenListDto.prototype, "name", 2);
export {
GetTokenListDto
};
//# sourceMappingURL=chunk-7W6QEWUT.mjs.map