"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__tsfTypeAliases = exports.is = exports.cast = exports.assert = void 0;
const tslib_1 = require("tslib");
const _a = tslib_1.__importStar(require("@zyno-io/ts-server-foundation/type-metadata-runtime"));
var reflection_1 = require("../reflection");
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return reflection_1.assert; } });
Object.defineProperty(exports, "cast", { enumerable: true, get: function () { return reflection_1.cast; } });
Object.defineProperty(exports, "is", { enumerable: true, get: function () { return reflection_1.is; } });
tslib_1.__exportStar(require("./primitives"), exports);
tslib_1.__exportStar(require("./type-annotations"), exports);
tslib_1.__exportStar(require("./phone"), exports);
tslib_1.__exportStar(require("./runtime"), exports);
exports.__tsfTypeAliases = _a.decodeCompactMetadataV1("[1,{\"ArrowFunction\":{\"kind\":2,\"typeName\":\"(...args: any[]) =\\u003e any\",\"typeName\":\"ArrowFunction\"},\"ArrowFunctionNoArgs\":{\"kind\":2,\"typeName\":\"() =\\u003e any\",\"typeName\":\"ArrowFunctionNoArgs\"},\"ConcretePrimitive\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":7},{\"kind\":8}],\"typeName\":\"ConcretePrimitive\"},\"DateString\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Format\",\"validation\":[{\"name\":\"pattern\",\"args\":[{\"kind\":10,\"literal\":\"^\\\\d{4}-\\\\d{2}-\\\\d{2}$\"}]}]},{\"kind\":2,\"typeName\":\"DatabaseField\",\"database\":{\"*\":{\"type\":\"DATE\"}}},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:type\":{\"kind\":10,\"literal\":\"date\"}}}],\"typeName\":\"DateString\"},\"DefinedPrimitive\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":7},{\"kind\":8}],\"typeName\":\"ConcretePrimitive\"},{\"kind\":5}],\"typeName\":\"DefinedPrimitive\"},\"EmailAddress\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Format\",\"validation\":[{\"name\":\"pattern\",\"args\":[{\"kind\":10,\"literal\":\"^[a-zA-Z0-9_+.-]+@[a-zA-Z0-9-.]+\\\\.[a-zA-Z]+$\"}]}]}],\"typeName\":\"EmailAddress\"},\"HasDefault\":{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:hasDefault\":{\"kind\":4}},\"typeName\":\"HasDefault\"},\"MySQLCoordinate\":{\"kind\":13,\"types\":[{\"kind\":16,\"typeName\":\"Coordinate\",\"classType\":{\"$tsf\":0}},{\"kind\":2,\"typeName\":\"MySQL\",\"database\":{\"mysql\":{\"type\":\"point\"}}}],\"typeName\":\"MySQLCoordinate\"},\"NonEmptyTrimmedString\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:trim\":{\"kind\":4}}},{\"kind\":2,\"typeName\":\"MinLength\",\"validation\":[{\"name\":\"minLength\",\"args\":[{\"kind\":10,\"literal\":1}]}]}],\"typeName\":\"NonEmptyTrimmedString\"},\"NullableMySQLCoordinate\":{\"kind\":12,\"types\":[{\"kind\":13,\"types\":[{\"kind\":16,\"typeName\":\"Coordinate\",\"classType\":{\"$tsf\":0}},{\"kind\":2,\"typeName\":\"MySQL\",\"database\":{\"mysql\":{\"type\":\"point\"}}}]},{\"kind\":5}],\"typeName\":\"NullableMySQLCoordinate\"},\"PhoneNumber\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Validator\",\"validation\":[{\"name\":\"validator\",\"args\":[{\"kind\":10,\"literal\":\"phone\"}]}]},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:type\":{\"kind\":10,\"literal\":\"phone\"}}}],\"typeName\":\"PhoneNumber\"},\"PhoneNumberNANP\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Validator\",\"validation\":[{\"name\":\"validator\",\"args\":[{\"kind\":10,\"literal\":\"phoneNanp\"}]}]},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:type\":{\"kind\":10,\"literal\":\"phoneNanp\"}}}],\"typeName\":\"PhoneNumberNANP\"},\"Primitive\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":7},{\"kind\":8}],\"typeName\":\"ConcretePrimitive\"},{\"kind\":5}],\"typeName\":\"DefinedPrimitive\"},{\"kind\":4}],\"typeName\":\"Primitive\"},\"StrictBool\":{\"kind\":12,\"types\":[{\"kind\":10,\"literal\":true},{\"kind\":10,\"literal\":false}],\"typeName\":\"StrictBool\"},\"TrimmedString\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:trim\":{\"kind\":4}}}],\"typeName\":\"TrimmedString\"},\"UUID\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Format\",\"validation\":[{\"name\":\"pattern\",\"args\":[{\"kind\":10,\"literal\":\"^(?:urn:uuid:)?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$\"}]}]},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:type\":{\"kind\":10,\"literal\":\"uuid\"}}}],\"typeName\":\"UUID\"},\"UnsignedNumber\":{\"kind\":13,\"types\":[{\"kind\":7},{\"kind\":2,\"typeName\":\"Minimum\",\"validation\":[{\"name\":\"minimum\",\"args\":[{\"kind\":10,\"literal\":0}]}]}],\"typeName\":\"UnsignedNumber\"},\"UuidString\":{\"kind\":13,\"types\":[{\"kind\":6},{\"kind\":2,\"typeName\":\"Format\",\"validation\":[{\"name\":\"pattern\",\"args\":[{\"kind\":10,\"literal\":\"^(?:urn:uuid:)?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$\"}]}]},{\"kind\":2,\"typeName\":\"TypeAnnotation\",\"annotations\":{\"tsf:type\":{\"kind\":10,\"literal\":\"uuidString\"}}}],\"typeName\":\"UuidString\"},\"ValidDate\":{\"kind\":13,\"types\":[{\"kind\":16,\"typeName\":\"Date\",\"classType\":{\"$tsf\":1}},{\"kind\":2,\"typeName\":\"Validator\",\"validation\":[{\"name\":\"validator\",\"args\":[{\"kind\":10,\"literal\":\"validDate\"}]}]}],\"typeName\":\"ValidDate\"},\"VoidFunction\":{\"kind\":2,\"typeName\":\"() =\\u003e void\",\"typeName\":\"VoidFunction\"}}]", [() => (typeof Coordinate !== "undefined" ? Coordinate : (typeof exports !== "undefined" ? exports.Coordinate : undefined)), () => (typeof Date !== "undefined" ? Date : (typeof exports !== "undefined" ? exports.Date : undefined))]);
//# sourceMappingURL=index.js.map