"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnvSchema = void 0;
var schema_1 = require("@qaing/schema");
var removeLastSlash = function (value) { return value.replace(/\/$/, ''); };
exports.EnvSchema = schema_1.z.object({
    backendApiUrl: schema_1.z.string().min(1).transform(removeLastSlash),
    frontendAppUrl: schema_1.z.string().min(1).transform(removeLastSlash),
    amplitudeKey: schema_1.z.string().min(1).optional(),
    channeltalkKey: schema_1.z.string().min(1).optional(),
    portone: schema_1.z
        .object({
        storeId: schema_1.z.string(),
        channelKey: schema_1.z.string(),
    })
        .optional(),
});
//# sourceMappingURL=schemas.js.map