UNPKG

@it_kyryl/arbitrage_admin_schema

Version:

Schema for arbitrage admin panel

10 lines (9 loc) 577 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.offerStatusDto = exports.offerTypeDto = exports.offerTypeArray = exports.providerDto = exports.providersArray = void 0; const zod_1 = require("zod"); exports.providersArray = ['TONIC', 'ADSCOM', 'SYSTEM1', 'DOMAIN_ACTIVE', 'INUVO']; exports.providerDto = zod_1.z.enum(exports.providersArray); exports.offerTypeArray = ['AFD', 'RSOC']; exports.offerTypeDto = zod_1.z.enum(exports.offerTypeArray); exports.offerStatusDto = zod_1.z.enum(['ACTIVE', 'ERROR', 'PENDING', 'NEW', 'CREATION_ERROR']);