typia 13.0.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/TypeGuardError.mjs +42 -3
- package/lib/TypeGuardError.mjs.map +1 -1
- package/lib/_virtual/_rolldown/runtime.mjs +17 -0
- package/lib/compare.mjs +39 -3
- package/lib/compare.mjs.map +1 -1
- package/lib/executable/TypiaGenerateWizard.js +7 -2
- package/lib/executable/TypiaGenerateWizard.js.map +1 -1
- package/lib/executable/TypiaGenerateWizard.mjs +474 -3
- package/lib/executable/TypiaGenerateWizard.mjs.map +1 -1
- package/lib/executable/generate/ttsc.js +11 -8
- package/lib/executable/generate/ttsc.js.map +1 -1
- package/lib/executable/generate/ttsc.mjs +37 -3
- package/lib/executable/generate/ttsc.mjs.map +1 -1
- package/lib/executable/typia.js +10 -4
- package/lib/executable/typia.js.map +1 -1
- package/lib/executable/typia.mjs +59 -3
- package/lib/executable/typia.mjs.map +1 -1
- package/lib/functional.mjs +99 -3
- package/lib/functional.mjs.map +1 -1
- package/lib/http.mjs +139 -3
- package/lib/http.mjs.map +1 -1
- package/lib/index.mjs +18 -2
- package/lib/index.mjs.map +1 -1
- package/lib/internal/_IProtobufWriter.mjs +0 -3
- package/lib/internal/_ProtobufReader.js +7 -6
- package/lib/internal/_ProtobufReader.js.map +1 -1
- package/lib/internal/_ProtobufReader.mjs +140 -3
- package/lib/internal/_ProtobufReader.mjs.map +1 -1
- package/lib/internal/_ProtobufSizer.mjs +84 -3
- package/lib/internal/_ProtobufSizer.mjs.map +1 -1
- package/lib/internal/_ProtobufWriter.mjs +94 -3
- package/lib/internal/_ProtobufWriter.mjs.map +1 -1
- package/lib/internal/_accessExpressionAsString.mjs +46 -3
- package/lib/internal/_accessExpressionAsString.mjs.map +1 -1
- package/lib/internal/_assertGuard.mjs +11 -3
- package/lib/internal/_assertGuard.mjs.map +1 -1
- package/lib/internal/_coerceLlmArguments.mjs +7 -3
- package/lib/internal/_coerceLlmArguments.mjs.map +1 -1
- package/lib/internal/_createStandardSchema.mjs +64 -3
- package/lib/internal/_createStandardSchema.mjs.map +1 -1
- package/lib/internal/_functionalTypeGuardErrorFactory.mjs +7 -3
- package/lib/internal/_functionalTypeGuardErrorFactory.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadArray.mjs +6 -3
- package/lib/internal/_httpFormDataReadArray.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadBigint.mjs +13 -3
- package/lib/internal/_httpFormDataReadBigint.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadBlob.mjs +6 -3
- package/lib/internal/_httpFormDataReadBlob.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadBoolean.mjs +6 -3
- package/lib/internal/_httpFormDataReadBoolean.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadFile.mjs +6 -3
- package/lib/internal/_httpFormDataReadFile.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadNumber.mjs +10 -3
- package/lib/internal/_httpFormDataReadNumber.mjs.map +1 -1
- package/lib/internal/_httpFormDataReadString.mjs +6 -3
- package/lib/internal/_httpFormDataReadString.mjs.map +1 -1
- package/lib/internal/_httpHeaderReadBigint.mjs +13 -3
- package/lib/internal/_httpHeaderReadBigint.mjs.map +1 -1
- package/lib/internal/_httpHeaderReadBoolean.mjs +6 -3
- package/lib/internal/_httpHeaderReadBoolean.mjs.map +1 -1
- package/lib/internal/_httpHeaderReadNumber.mjs +10 -3
- package/lib/internal/_httpHeaderReadNumber.mjs.map +1 -1
- package/lib/internal/_httpParameterReadBigint.mjs +13 -3
- package/lib/internal/_httpParameterReadBigint.mjs.map +1 -1
- package/lib/internal/_httpParameterReadBoolean.mjs +6 -3
- package/lib/internal/_httpParameterReadBoolean.mjs.map +1 -1
- package/lib/internal/_httpParameterReadNumber.mjs +10 -3
- package/lib/internal/_httpParameterReadNumber.mjs.map +1 -1
- package/lib/internal/_httpParameterReadString.mjs +6 -3
- package/lib/internal/_httpParameterReadString.mjs.map +1 -1
- package/lib/internal/_httpQueryParseURLSearchParams.mjs +13 -3
- package/lib/internal/_httpQueryParseURLSearchParams.mjs.map +1 -1
- package/lib/internal/_httpQueryReadArray.mjs +6 -3
- package/lib/internal/_httpQueryReadArray.mjs.map +1 -1
- package/lib/internal/_httpQueryReadBigint.mjs +13 -3
- package/lib/internal/_httpQueryReadBigint.mjs.map +1 -1
- package/lib/internal/_httpQueryReadBoolean.mjs +6 -3
- package/lib/internal/_httpQueryReadBoolean.mjs.map +1 -1
- package/lib/internal/_httpQueryReadNumber.mjs +10 -3
- package/lib/internal/_httpQueryReadNumber.mjs.map +1 -1
- package/lib/internal/_httpQueryReadString.mjs +6 -3
- package/lib/internal/_httpQueryReadString.mjs.map +1 -1
- package/lib/internal/_isBetween.mjs +6 -3
- package/lib/internal/_isBetween.mjs.map +1 -1
- package/lib/internal/_isBigintString.mjs +13 -3
- package/lib/internal/_isBigintString.mjs.map +1 -1
- package/lib/internal/_isFormatByte.mjs +10 -3
- package/lib/internal/_isFormatByte.mjs.map +1 -1
- package/lib/internal/_isFormatDate.mjs +7 -3
- package/lib/internal/_isFormatDate.mjs.map +1 -1
- package/lib/internal/_isFormatDateTime.mjs +7 -3
- package/lib/internal/_isFormatDateTime.mjs.map +1 -1
- package/lib/internal/_isFormatDuration.mjs +7 -3
- package/lib/internal/_isFormatDuration.mjs.map +1 -1
- package/lib/internal/_isFormatEmail.mjs +7 -3
- package/lib/internal/_isFormatEmail.mjs.map +1 -1
- package/lib/internal/_isFormatHostname.mjs +7 -3
- package/lib/internal/_isFormatHostname.mjs.map +1 -1
- package/lib/internal/_isFormatIdnEmail.mjs +7 -3
- package/lib/internal/_isFormatIdnEmail.mjs.map +1 -1
- package/lib/internal/_isFormatIdnHostname.mjs +7 -3
- package/lib/internal/_isFormatIdnHostname.mjs.map +1 -1
- package/lib/internal/_isFormatIpv4.mjs +7 -3
- package/lib/internal/_isFormatIpv4.mjs.map +1 -1
- package/lib/internal/_isFormatIpv6.mjs +7 -3
- package/lib/internal/_isFormatIpv6.mjs.map +1 -1
- package/lib/internal/_isFormatIri.mjs +7 -3
- package/lib/internal/_isFormatIri.mjs.map +1 -1
- package/lib/internal/_isFormatIriReference.mjs +7 -3
- package/lib/internal/_isFormatIriReference.mjs.map +1 -1
- package/lib/internal/_isFormatJsonPointer.mjs +7 -3
- package/lib/internal/_isFormatJsonPointer.mjs.map +1 -1
- package/lib/internal/_isFormatPassword.mjs +6 -3
- package/lib/internal/_isFormatPassword.mjs.map +1 -1
- package/lib/internal/_isFormatRegex.mjs +13 -3
- package/lib/internal/_isFormatRegex.mjs.map +1 -1
- package/lib/internal/_isFormatRelativeJsonPointer.mjs +7 -3
- package/lib/internal/_isFormatRelativeJsonPointer.mjs.map +1 -1
- package/lib/internal/_isFormatTime.mjs +7 -3
- package/lib/internal/_isFormatTime.mjs.map +1 -1
- package/lib/internal/_isFormatUri.mjs +8 -3
- package/lib/internal/_isFormatUri.mjs.map +1 -1
- package/lib/internal/_isFormatUriReference.mjs +7 -3
- package/lib/internal/_isFormatUriReference.mjs.map +1 -1
- package/lib/internal/_isFormatUriTemplate.mjs +7 -3
- package/lib/internal/_isFormatUriTemplate.mjs.map +1 -1
- package/lib/internal/_isFormatUrl.mjs +7 -3
- package/lib/internal/_isFormatUrl.mjs.map +1 -1
- package/lib/internal/_isFormatUuid.mjs +7 -3
- package/lib/internal/_isFormatUuid.mjs.map +1 -1
- package/lib/internal/_isTypeFloat.mjs +8 -3
- package/lib/internal/_isTypeFloat.mjs.map +1 -1
- package/lib/internal/_isTypeInt16.mjs +8 -3
- package/lib/internal/_isTypeInt16.mjs.map +1 -1
- package/lib/internal/_isTypeInt32.mjs +8 -3
- package/lib/internal/_isTypeInt32.mjs.map +1 -1
- package/lib/internal/_isTypeInt64.mjs +8 -3
- package/lib/internal/_isTypeInt64.mjs.map +1 -1
- package/lib/internal/_isTypeInt8.mjs +8 -3
- package/lib/internal/_isTypeInt8.mjs.map +1 -1
- package/lib/internal/_isTypeUint16.mjs +8 -3
- package/lib/internal/_isTypeUint16.mjs.map +1 -1
- package/lib/internal/_isTypeUint32.mjs +8 -3
- package/lib/internal/_isTypeUint32.mjs.map +1 -1
- package/lib/internal/_isTypeUint64.mjs +8 -3
- package/lib/internal/_isTypeUint64.mjs.map +1 -1
- package/lib/internal/_isTypeUint8.mjs +8 -3
- package/lib/internal/_isTypeUint8.mjs.map +1 -1
- package/lib/internal/_isUniqueItems.mjs +67 -3
- package/lib/internal/_isUniqueItems.mjs.map +1 -1
- package/lib/internal/_jsonStringifyNumber.mjs +6 -3
- package/lib/internal/_jsonStringifyNumber.mjs.map +1 -1
- package/lib/internal/_jsonStringifyRest.mjs +8 -3
- package/lib/internal/_jsonStringifyRest.mjs.map +1 -1
- package/lib/internal/_jsonStringifyString.mjs +34 -3
- package/lib/internal/_jsonStringifyString.mjs.map +1 -1
- package/lib/internal/_jsonStringifyTail.mjs +6 -3
- package/lib/internal/_jsonStringifyTail.mjs.map +1 -1
- package/lib/internal/_llmApplicationFinalize.mjs +19 -3
- package/lib/internal/_llmApplicationFinalize.mjs.map +1 -1
- package/lib/internal/_notationAny.mjs +18 -3
- package/lib/internal/_notationAny.mjs.map +1 -1
- package/lib/internal/_notationCamel.mjs +11 -3
- package/lib/internal/_notationCamel.mjs.map +1 -1
- package/lib/internal/_notationPascal.mjs +11 -3
- package/lib/internal/_notationPascal.mjs.map +1 -1
- package/lib/internal/_notationSnake.mjs +32 -3
- package/lib/internal/_notationSnake.mjs.map +1 -1
- package/lib/internal/_parseLlmArguments.mjs +7 -3
- package/lib/internal/_parseLlmArguments.mjs.map +1 -1
- package/lib/internal/_plainCloneAny.mjs +35 -3
- package/lib/internal/_plainCloneAny.mjs.map +1 -1
- package/lib/internal/_randomArray.mjs +22 -3
- package/lib/internal/_randomArray.mjs.map +1 -1
- package/lib/internal/_randomBigint.mjs +7 -3
- package/lib/internal/_randomBigint.mjs.map +1 -1
- package/lib/internal/_randomBoolean.mjs +6 -3
- package/lib/internal/_randomBoolean.mjs.map +1 -1
- package/lib/internal/_randomFormatByte.mjs +7 -3
- package/lib/internal/_randomFormatByte.mjs.map +1 -1
- package/lib/internal/_randomFormatDate.mjs +11 -3
- package/lib/internal/_randomFormatDate.mjs.map +1 -1
- package/lib/internal/_randomFormatDatetime.mjs +11 -3
- package/lib/internal/_randomFormatDatetime.mjs.map +1 -1
- package/lib/internal/_randomFormatDuration.mjs +26 -3
- package/lib/internal/_randomFormatDuration.mjs.map +1 -1
- package/lib/internal/_randomFormatEmail.mjs +12 -3
- package/lib/internal/_randomFormatEmail.mjs.map +1 -1
- package/lib/internal/_randomFormatHostname.mjs +12 -3
- package/lib/internal/_randomFormatHostname.mjs.map +1 -1
- package/lib/internal/_randomFormatIdnEmail.mjs +7 -3
- package/lib/internal/_randomFormatIdnEmail.mjs.map +1 -1
- package/lib/internal/_randomFormatIdnHostname.mjs +7 -3
- package/lib/internal/_randomFormatIdnHostname.mjs.map +1 -1
- package/lib/internal/_randomFormatIpv4.mjs +12 -3
- package/lib/internal/_randomFormatIpv4.mjs.map +1 -1
- package/lib/internal/_randomFormatIpv6.mjs +12 -3
- package/lib/internal/_randomFormatIpv6.mjs.map +1 -1
- package/lib/internal/_randomFormatIri.mjs +7 -3
- package/lib/internal/_randomFormatIri.mjs.map +1 -1
- package/lib/internal/_randomFormatIriReference.mjs +7 -3
- package/lib/internal/_randomFormatIriReference.mjs.map +1 -1
- package/lib/internal/_randomFormatJsonPointer.mjs +12 -3
- package/lib/internal/_randomFormatJsonPointer.mjs.map +1 -1
- package/lib/internal/_randomFormatPassword.mjs +11 -3
- package/lib/internal/_randomFormatPassword.mjs.map +1 -1
- package/lib/internal/_randomFormatRegex.mjs +7 -3
- package/lib/internal/_randomFormatRegex.mjs.map +1 -1
- package/lib/internal/_randomFormatRelativeJsonPointer.mjs +11 -3
- package/lib/internal/_randomFormatRelativeJsonPointer.mjs.map +1 -1
- package/lib/internal/_randomFormatTime.mjs +12 -3
- package/lib/internal/_randomFormatTime.mjs.map +1 -1
- package/lib/internal/_randomFormatUri.mjs +7 -3
- package/lib/internal/_randomFormatUri.mjs.map +1 -1
- package/lib/internal/_randomFormatUriReference.mjs +7 -3
- package/lib/internal/_randomFormatUriReference.mjs.map +1 -1
- package/lib/internal/_randomFormatUriTemplate.mjs +7 -3
- package/lib/internal/_randomFormatUriTemplate.mjs.map +1 -1
- package/lib/internal/_randomFormatUrl.mjs +12 -3
- package/lib/internal/_randomFormatUrl.mjs.map +1 -1
- package/lib/internal/_randomFormatUuid.mjs +9 -3
- package/lib/internal/_randomFormatUuid.mjs.map +1 -1
- package/lib/internal/_randomInteger.mjs +31 -3
- package/lib/internal/_randomInteger.mjs.map +1 -1
- package/lib/internal/_randomNumber.mjs +45 -3
- package/lib/internal/_randomNumber.mjs.map +1 -1
- package/lib/internal/_randomPattern.mjs +14 -3
- package/lib/internal/_randomPattern.mjs.map +1 -1
- package/lib/internal/_randomPick.mjs +12 -3
- package/lib/internal/_randomPick.mjs.map +1 -1
- package/lib/internal/_randomString.mjs +23 -3
- package/lib/internal/_randomString.mjs.map +1 -1
- package/lib/internal/_throwTypeGuardError.mjs +9 -3
- package/lib/internal/_throwTypeGuardError.mjs.map +1 -1
- package/lib/internal/_validateReport.mjs +23 -3
- package/lib/internal/_validateReport.mjs.map +1 -1
- package/lib/internal/private/__notationCapitalize.mjs +6 -3
- package/lib/internal/private/__notationCapitalize.mjs.map +1 -1
- package/lib/internal/private/__notationUnsnake.mjs +15 -3
- package/lib/internal/private/__notationUnsnake.mjs.map +1 -1
- package/lib/json.mjs +94 -3
- package/lib/json.mjs.map +1 -1
- package/lib/llm.mjs +54 -3
- package/lib/llm.mjs.map +1 -1
- package/lib/module.mjs +131 -2
- package/lib/module.mjs.map +1 -1
- package/lib/notations.mjs +169 -3
- package/lib/notations.mjs.map +1 -1
- package/lib/plain.mjs +119 -3
- package/lib/plain.mjs.map +1 -1
- package/lib/protobuf.mjs +94 -3
- package/lib/protobuf.mjs.map +1 -1
- package/lib/re-exports.d.ts +2 -1
- package/lib/re-exports.js +5 -1
- package/lib/re-exports.js.map +1 -1
- package/lib/re-exports.mjs +2 -2
- package/lib/reflect.mjs +29 -3
- package/lib/reflect.mjs.map +1 -1
- package/lib/transform.mjs +15 -2
- package/lib/transform.mjs.map +1 -1
- package/lib/transformers/NoTransformConfigurationError.mjs +19 -3
- package/lib/transformers/NoTransformConfigurationError.mjs.map +1 -1
- package/native/core/factories/LiteralFactory.go +37 -0
- package/native/core/factories/literal_factory_ordered_object_marshals_json_test.go +40 -0
- package/package.json +6 -13
- package/src/executable/TypiaGenerateWizard.ts +5 -1
- package/src/executable/generate/ttsc.ts +3 -4
- package/src/executable/typia.ts +8 -4
- package/src/re-exports.ts +8 -3
- package/lib/TypeGuardError2.mjs +0 -55
- package/lib/TypeGuardError2.mjs.map +0 -1
- package/lib/_virtual/NoTransformConfigurationError.mjs +0 -4
- package/lib/_virtual/NoTransformConfigurationError.mjs.map +0 -1
- package/lib/_virtual/TypeGuardError.mjs +0 -4
- package/lib/_virtual/TypeGuardError.mjs.map +0 -1
- package/lib/_virtual/TypiaGenerateWizard.mjs +0 -4
- package/lib/_virtual/TypiaGenerateWizard.mjs.map +0 -1
- package/lib/_virtual/_IProtobufWriter.mjs +0 -4
- package/lib/_virtual/_IProtobufWriter.mjs.map +0 -1
- package/lib/_virtual/_ProtobufReader.mjs +0 -4
- package/lib/_virtual/_ProtobufReader.mjs.map +0 -1
- package/lib/_virtual/_ProtobufSizer.mjs +0 -4
- package/lib/_virtual/_ProtobufSizer.mjs.map +0 -1
- package/lib/_virtual/_ProtobufWriter.mjs +0 -4
- package/lib/_virtual/_ProtobufWriter.mjs.map +0 -1
- package/lib/_virtual/__notationCapitalize.mjs +0 -4
- package/lib/_virtual/__notationCapitalize.mjs.map +0 -1
- package/lib/_virtual/__notationUnsnake.mjs +0 -4
- package/lib/_virtual/__notationUnsnake.mjs.map +0 -1
- package/lib/_virtual/_accessExpressionAsString.mjs +0 -4
- package/lib/_virtual/_accessExpressionAsString.mjs.map +0 -1
- package/lib/_virtual/_assertGuard.mjs +0 -4
- package/lib/_virtual/_assertGuard.mjs.map +0 -1
- package/lib/_virtual/_coerceLlmArguments.mjs +0 -4
- package/lib/_virtual/_coerceLlmArguments.mjs.map +0 -1
- package/lib/_virtual/_commander.mjs +0 -7
- package/lib/_virtual/_commander.mjs.map +0 -1
- package/lib/_virtual/_commonjsHelpers.mjs +0 -35
- package/lib/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/lib/_virtual/_createStandardSchema.mjs +0 -4
- package/lib/_virtual/_createStandardSchema.mjs.map +0 -1
- package/lib/_virtual/_functionalTypeGuardErrorFactory.mjs +0 -4
- package/lib/_virtual/_functionalTypeGuardErrorFactory.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadArray.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadArray.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadBigint.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadBigint.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadBlob.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadBlob.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadBoolean.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadBoolean.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadFile.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadFile.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadNumber.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadNumber.mjs.map +0 -1
- package/lib/_virtual/_httpFormDataReadString.mjs +0 -4
- package/lib/_virtual/_httpFormDataReadString.mjs.map +0 -1
- package/lib/_virtual/_httpHeaderReadBigint.mjs +0 -4
- package/lib/_virtual/_httpHeaderReadBigint.mjs.map +0 -1
- package/lib/_virtual/_httpHeaderReadBoolean.mjs +0 -4
- package/lib/_virtual/_httpHeaderReadBoolean.mjs.map +0 -1
- package/lib/_virtual/_httpHeaderReadNumber.mjs +0 -4
- package/lib/_virtual/_httpHeaderReadNumber.mjs.map +0 -1
- package/lib/_virtual/_httpParameterReadBigint.mjs +0 -4
- package/lib/_virtual/_httpParameterReadBigint.mjs.map +0 -1
- package/lib/_virtual/_httpParameterReadBoolean.mjs +0 -4
- package/lib/_virtual/_httpParameterReadBoolean.mjs.map +0 -1
- package/lib/_virtual/_httpParameterReadNumber.mjs +0 -4
- package/lib/_virtual/_httpParameterReadNumber.mjs.map +0 -1
- package/lib/_virtual/_httpParameterReadString.mjs +0 -4
- package/lib/_virtual/_httpParameterReadString.mjs.map +0 -1
- package/lib/_virtual/_httpQueryParseURLSearchParams.mjs +0 -4
- package/lib/_virtual/_httpQueryParseURLSearchParams.mjs.map +0 -1
- package/lib/_virtual/_httpQueryReadArray.mjs +0 -4
- package/lib/_virtual/_httpQueryReadArray.mjs.map +0 -1
- package/lib/_virtual/_httpQueryReadBigint.mjs +0 -4
- package/lib/_virtual/_httpQueryReadBigint.mjs.map +0 -1
- package/lib/_virtual/_httpQueryReadBoolean.mjs +0 -4
- package/lib/_virtual/_httpQueryReadBoolean.mjs.map +0 -1
- package/lib/_virtual/_httpQueryReadNumber.mjs +0 -4
- package/lib/_virtual/_httpQueryReadNumber.mjs.map +0 -1
- package/lib/_virtual/_httpQueryReadString.mjs +0 -4
- package/lib/_virtual/_httpQueryReadString.mjs.map +0 -1
- package/lib/_virtual/_inquirer.mjs +0 -7
- package/lib/_virtual/_inquirer.mjs.map +0 -1
- package/lib/_virtual/_isBetween.mjs +0 -4
- package/lib/_virtual/_isBetween.mjs.map +0 -1
- package/lib/_virtual/_isBigintString.mjs +0 -4
- package/lib/_virtual/_isBigintString.mjs.map +0 -1
- package/lib/_virtual/_isFormatByte.mjs +0 -4
- package/lib/_virtual/_isFormatByte.mjs.map +0 -1
- package/lib/_virtual/_isFormatDate.mjs +0 -4
- package/lib/_virtual/_isFormatDate.mjs.map +0 -1
- package/lib/_virtual/_isFormatDateTime.mjs +0 -4
- package/lib/_virtual/_isFormatDateTime.mjs.map +0 -1
- package/lib/_virtual/_isFormatDuration.mjs +0 -4
- package/lib/_virtual/_isFormatDuration.mjs.map +0 -1
- package/lib/_virtual/_isFormatEmail.mjs +0 -4
- package/lib/_virtual/_isFormatEmail.mjs.map +0 -1
- package/lib/_virtual/_isFormatHostname.mjs +0 -4
- package/lib/_virtual/_isFormatHostname.mjs.map +0 -1
- package/lib/_virtual/_isFormatIdnEmail.mjs +0 -4
- package/lib/_virtual/_isFormatIdnEmail.mjs.map +0 -1
- package/lib/_virtual/_isFormatIdnHostname.mjs +0 -4
- package/lib/_virtual/_isFormatIdnHostname.mjs.map +0 -1
- package/lib/_virtual/_isFormatIpv4.mjs +0 -4
- package/lib/_virtual/_isFormatIpv4.mjs.map +0 -1
- package/lib/_virtual/_isFormatIpv6.mjs +0 -4
- package/lib/_virtual/_isFormatIpv6.mjs.map +0 -1
- package/lib/_virtual/_isFormatIri.mjs +0 -4
- package/lib/_virtual/_isFormatIri.mjs.map +0 -1
- package/lib/_virtual/_isFormatIriReference.mjs +0 -4
- package/lib/_virtual/_isFormatIriReference.mjs.map +0 -1
- package/lib/_virtual/_isFormatJsonPointer.mjs +0 -4
- package/lib/_virtual/_isFormatJsonPointer.mjs.map +0 -1
- package/lib/_virtual/_isFormatPassword.mjs +0 -4
- package/lib/_virtual/_isFormatPassword.mjs.map +0 -1
- package/lib/_virtual/_isFormatRegex.mjs +0 -4
- package/lib/_virtual/_isFormatRegex.mjs.map +0 -1
- package/lib/_virtual/_isFormatRelativeJsonPointer.mjs +0 -4
- package/lib/_virtual/_isFormatRelativeJsonPointer.mjs.map +0 -1
- package/lib/_virtual/_isFormatTime.mjs +0 -4
- package/lib/_virtual/_isFormatTime.mjs.map +0 -1
- package/lib/_virtual/_isFormatUri.mjs +0 -4
- package/lib/_virtual/_isFormatUri.mjs.map +0 -1
- package/lib/_virtual/_isFormatUriReference.mjs +0 -4
- package/lib/_virtual/_isFormatUriReference.mjs.map +0 -1
- package/lib/_virtual/_isFormatUriTemplate.mjs +0 -4
- package/lib/_virtual/_isFormatUriTemplate.mjs.map +0 -1
- package/lib/_virtual/_isFormatUrl.mjs +0 -4
- package/lib/_virtual/_isFormatUrl.mjs.map +0 -1
- package/lib/_virtual/_isFormatUuid.mjs +0 -4
- package/lib/_virtual/_isFormatUuid.mjs.map +0 -1
- package/lib/_virtual/_isTypeFloat.mjs +0 -4
- package/lib/_virtual/_isTypeFloat.mjs.map +0 -1
- package/lib/_virtual/_isTypeInt16.mjs +0 -4
- package/lib/_virtual/_isTypeInt16.mjs.map +0 -1
- package/lib/_virtual/_isTypeInt32.mjs +0 -4
- package/lib/_virtual/_isTypeInt32.mjs.map +0 -1
- package/lib/_virtual/_isTypeInt64.mjs +0 -4
- package/lib/_virtual/_isTypeInt64.mjs.map +0 -1
- package/lib/_virtual/_isTypeInt8.mjs +0 -4
- package/lib/_virtual/_isTypeInt8.mjs.map +0 -1
- package/lib/_virtual/_isTypeUint16.mjs +0 -4
- package/lib/_virtual/_isTypeUint16.mjs.map +0 -1
- package/lib/_virtual/_isTypeUint32.mjs +0 -4
- package/lib/_virtual/_isTypeUint32.mjs.map +0 -1
- package/lib/_virtual/_isTypeUint64.mjs +0 -4
- package/lib/_virtual/_isTypeUint64.mjs.map +0 -1
- package/lib/_virtual/_isTypeUint8.mjs +0 -4
- package/lib/_virtual/_isTypeUint8.mjs.map +0 -1
- package/lib/_virtual/_isUniqueItems.mjs +0 -4
- package/lib/_virtual/_isUniqueItems.mjs.map +0 -1
- package/lib/_virtual/_jsonStringifyNumber.mjs +0 -4
- package/lib/_virtual/_jsonStringifyNumber.mjs.map +0 -1
- package/lib/_virtual/_jsonStringifyRest.mjs +0 -4
- package/lib/_virtual/_jsonStringifyRest.mjs.map +0 -1
- package/lib/_virtual/_jsonStringifyString.mjs +0 -4
- package/lib/_virtual/_jsonStringifyString.mjs.map +0 -1
- package/lib/_virtual/_jsonStringifyTail.mjs +0 -4
- package/lib/_virtual/_jsonStringifyTail.mjs.map +0 -1
- package/lib/_virtual/_llmApplicationFinalize.mjs +0 -4
- package/lib/_virtual/_llmApplicationFinalize.mjs.map +0 -1
- package/lib/_virtual/_node_child_process.mjs +0 -7
- package/lib/_virtual/_node_child_process.mjs.map +0 -1
- package/lib/_virtual/_node_fs.mjs +0 -7
- package/lib/_virtual/_node_fs.mjs.map +0 -1
- package/lib/_virtual/_node_module.mjs +0 -7
- package/lib/_virtual/_node_module.mjs.map +0 -1
- package/lib/_virtual/_node_path.mjs +0 -7
- package/lib/_virtual/_node_path.mjs.map +0 -1
- package/lib/_virtual/_notationAny.mjs +0 -4
- package/lib/_virtual/_notationAny.mjs.map +0 -1
- package/lib/_virtual/_notationCamel.mjs +0 -4
- package/lib/_virtual/_notationCamel.mjs.map +0 -1
- package/lib/_virtual/_notationPascal.mjs +0 -4
- package/lib/_virtual/_notationPascal.mjs.map +0 -1
- package/lib/_virtual/_notationSnake.mjs +0 -4
- package/lib/_virtual/_notationSnake.mjs.map +0 -1
- package/lib/_virtual/_parseLlmArguments.mjs +0 -4
- package/lib/_virtual/_parseLlmArguments.mjs.map +0 -1
- package/lib/_virtual/_plainCloneAny.mjs +0 -4
- package/lib/_virtual/_plainCloneAny.mjs.map +0 -1
- package/lib/_virtual/_randexp.mjs +0 -7
- package/lib/_virtual/_randexp.mjs.map +0 -1
- package/lib/_virtual/_randomArray.mjs +0 -4
- package/lib/_virtual/_randomArray.mjs.map +0 -1
- package/lib/_virtual/_randomBigint.mjs +0 -4
- package/lib/_virtual/_randomBigint.mjs.map +0 -1
- package/lib/_virtual/_randomBoolean.mjs +0 -4
- package/lib/_virtual/_randomBoolean.mjs.map +0 -1
- package/lib/_virtual/_randomFormatByte.mjs +0 -4
- package/lib/_virtual/_randomFormatByte.mjs.map +0 -1
- package/lib/_virtual/_randomFormatDate.mjs +0 -4
- package/lib/_virtual/_randomFormatDate.mjs.map +0 -1
- package/lib/_virtual/_randomFormatDatetime.mjs +0 -4
- package/lib/_virtual/_randomFormatDatetime.mjs.map +0 -1
- package/lib/_virtual/_randomFormatDuration.mjs +0 -4
- package/lib/_virtual/_randomFormatDuration.mjs.map +0 -1
- package/lib/_virtual/_randomFormatEmail.mjs +0 -4
- package/lib/_virtual/_randomFormatEmail.mjs.map +0 -1
- package/lib/_virtual/_randomFormatHostname.mjs +0 -4
- package/lib/_virtual/_randomFormatHostname.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIdnEmail.mjs +0 -4
- package/lib/_virtual/_randomFormatIdnEmail.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIdnHostname.mjs +0 -4
- package/lib/_virtual/_randomFormatIdnHostname.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIpv4.mjs +0 -4
- package/lib/_virtual/_randomFormatIpv4.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIpv6.mjs +0 -4
- package/lib/_virtual/_randomFormatIpv6.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIri.mjs +0 -4
- package/lib/_virtual/_randomFormatIri.mjs.map +0 -1
- package/lib/_virtual/_randomFormatIriReference.mjs +0 -4
- package/lib/_virtual/_randomFormatIriReference.mjs.map +0 -1
- package/lib/_virtual/_randomFormatJsonPointer.mjs +0 -4
- package/lib/_virtual/_randomFormatJsonPointer.mjs.map +0 -1
- package/lib/_virtual/_randomFormatPassword.mjs +0 -4
- package/lib/_virtual/_randomFormatPassword.mjs.map +0 -1
- package/lib/_virtual/_randomFormatRegex.mjs +0 -4
- package/lib/_virtual/_randomFormatRegex.mjs.map +0 -1
- package/lib/_virtual/_randomFormatRelativeJsonPointer.mjs +0 -4
- package/lib/_virtual/_randomFormatRelativeJsonPointer.mjs.map +0 -1
- package/lib/_virtual/_randomFormatTime.mjs +0 -4
- package/lib/_virtual/_randomFormatTime.mjs.map +0 -1
- package/lib/_virtual/_randomFormatUri.mjs +0 -4
- package/lib/_virtual/_randomFormatUri.mjs.map +0 -1
- package/lib/_virtual/_randomFormatUriReference.mjs +0 -4
- package/lib/_virtual/_randomFormatUriReference.mjs.map +0 -1
- package/lib/_virtual/_randomFormatUriTemplate.mjs +0 -4
- package/lib/_virtual/_randomFormatUriTemplate.mjs.map +0 -1
- package/lib/_virtual/_randomFormatUrl.mjs +0 -4
- package/lib/_virtual/_randomFormatUrl.mjs.map +0 -1
- package/lib/_virtual/_randomFormatUuid.mjs +0 -4
- package/lib/_virtual/_randomFormatUuid.mjs.map +0 -1
- package/lib/_virtual/_randomInteger.mjs +0 -4
- package/lib/_virtual/_randomInteger.mjs.map +0 -1
- package/lib/_virtual/_randomNumber.mjs +0 -4
- package/lib/_virtual/_randomNumber.mjs.map +0 -1
- package/lib/_virtual/_randomPattern.mjs +0 -4
- package/lib/_virtual/_randomPattern.mjs.map +0 -1
- package/lib/_virtual/_randomPick.mjs +0 -4
- package/lib/_virtual/_randomPick.mjs.map +0 -1
- package/lib/_virtual/_randomString.mjs +0 -4
- package/lib/_virtual/_randomString.mjs.map +0 -1
- package/lib/_virtual/_throwTypeGuardError.mjs +0 -4
- package/lib/_virtual/_throwTypeGuardError.mjs.map +0 -1
- package/lib/_virtual/_tinyglobby.mjs +0 -7
- package/lib/_virtual/_tinyglobby.mjs.map +0 -1
- package/lib/_virtual/_validateReport.mjs +0 -4
- package/lib/_virtual/_validateReport.mjs.map +0 -1
- package/lib/_virtual/compare.mjs +0 -4
- package/lib/_virtual/compare.mjs.map +0 -1
- package/lib/_virtual/functional.mjs +0 -4
- package/lib/_virtual/functional.mjs.map +0 -1
- package/lib/_virtual/http.mjs +0 -4
- package/lib/_virtual/http.mjs.map +0 -1
- package/lib/_virtual/index.mjs +0 -4
- package/lib/_virtual/index.mjs.map +0 -1
- package/lib/_virtual/json.mjs +0 -4
- package/lib/_virtual/json.mjs.map +0 -1
- package/lib/_virtual/llm.mjs +0 -4
- package/lib/_virtual/llm.mjs.map +0 -1
- package/lib/_virtual/module.mjs +0 -4
- package/lib/_virtual/module.mjs.map +0 -1
- package/lib/_virtual/notations.mjs +0 -4
- package/lib/_virtual/notations.mjs.map +0 -1
- package/lib/_virtual/plain.mjs +0 -4
- package/lib/_virtual/plain.mjs.map +0 -1
- package/lib/_virtual/protobuf.mjs +0 -4
- package/lib/_virtual/protobuf.mjs.map +0 -1
- package/lib/_virtual/re-exports.mjs +0 -4
- package/lib/_virtual/re-exports.mjs.map +0 -1
- package/lib/_virtual/reflect.mjs +0 -4
- package/lib/_virtual/reflect.mjs.map +0 -1
- package/lib/_virtual/transform.mjs +0 -4
- package/lib/_virtual/transform.mjs.map +0 -1
- package/lib/_virtual/ttsc.mjs +0 -4
- package/lib/_virtual/ttsc.mjs.map +0 -1
- package/lib/_virtual/typia.mjs +0 -4
- package/lib/_virtual/typia.mjs.map +0 -1
- package/lib/compare2.mjs +0 -39
- package/lib/compare2.mjs.map +0 -1
- package/lib/executable/TypiaGenerateWizard2.mjs +0 -719
- package/lib/executable/TypiaGenerateWizard2.mjs.map +0 -1
- package/lib/executable/generate/ttsc2.mjs +0 -56
- package/lib/executable/generate/ttsc2.mjs.map +0 -1
- package/lib/executable/typia2.mjs +0 -88
- package/lib/executable/typia2.mjs.map +0 -1
- package/lib/functional2.mjs +0 -99
- package/lib/functional2.mjs.map +0 -1
- package/lib/http2.mjs +0 -139
- package/lib/http2.mjs.map +0 -1
- package/lib/index2.mjs +0 -53
- package/lib/index2.mjs.map +0 -1
- package/lib/internal/_IProtobufWriter.mjs.map +0 -1
- package/lib/internal/_IProtobufWriter2.mjs +0 -6
- package/lib/internal/_IProtobufWriter2.mjs.map +0 -1
- package/lib/internal/_ProtobufReader2.mjs +0 -169
- package/lib/internal/_ProtobufReader2.mjs.map +0 -1
- package/lib/internal/_ProtobufSizer2.mjs +0 -119
- package/lib/internal/_ProtobufSizer2.mjs.map +0 -1
- package/lib/internal/_ProtobufWriter2.mjs +0 -107
- package/lib/internal/_ProtobufWriter2.mjs.map +0 -1
- package/lib/internal/_accessExpressionAsString2.mjs +0 -49
- package/lib/internal/_accessExpressionAsString2.mjs.map +0 -1
- package/lib/internal/_assertGuard2.mjs +0 -20
- package/lib/internal/_assertGuard2.mjs.map +0 -1
- package/lib/internal/_coerceLlmArguments2.mjs +0 -11
- package/lib/internal/_coerceLlmArguments2.mjs.map +0 -1
- package/lib/internal/_createStandardSchema2.mjs +0 -138
- package/lib/internal/_createStandardSchema2.mjs.map +0 -1
- package/lib/internal/_functionalTypeGuardErrorFactory2.mjs +0 -12
- package/lib/internal/_functionalTypeGuardErrorFactory2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadArray2.mjs +0 -9
- package/lib/internal/_httpFormDataReadArray2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadBigint2.mjs +0 -23
- package/lib/internal/_httpFormDataReadBigint2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadBlob2.mjs +0 -15
- package/lib/internal/_httpFormDataReadBlob2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadBoolean2.mjs +0 -21
- package/lib/internal/_httpFormDataReadBoolean2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadFile2.mjs +0 -15
- package/lib/internal/_httpFormDataReadFile2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadNumber2.mjs +0 -19
- package/lib/internal/_httpFormDataReadNumber2.mjs.map +0 -1
- package/lib/internal/_httpFormDataReadString2.mjs +0 -15
- package/lib/internal/_httpFormDataReadString2.mjs.map +0 -1
- package/lib/internal/_httpHeaderReadBigint2.mjs +0 -17
- package/lib/internal/_httpHeaderReadBigint2.mjs.map +0 -1
- package/lib/internal/_httpHeaderReadBoolean2.mjs +0 -15
- package/lib/internal/_httpHeaderReadBoolean2.mjs.map +0 -1
- package/lib/internal/_httpHeaderReadNumber2.mjs +0 -13
- package/lib/internal/_httpHeaderReadNumber2.mjs.map +0 -1
- package/lib/internal/_httpParameterReadBigint2.mjs +0 -17
- package/lib/internal/_httpParameterReadBigint2.mjs.map +0 -1
- package/lib/internal/_httpParameterReadBoolean2.mjs +0 -15
- package/lib/internal/_httpParameterReadBoolean2.mjs.map +0 -1
- package/lib/internal/_httpParameterReadNumber2.mjs +0 -13
- package/lib/internal/_httpParameterReadNumber2.mjs.map +0 -1
- package/lib/internal/_httpParameterReadString2.mjs +0 -9
- package/lib/internal/_httpParameterReadString2.mjs.map +0 -1
- package/lib/internal/_httpQueryParseURLSearchParams2.mjs +0 -16
- package/lib/internal/_httpQueryParseURLSearchParams2.mjs.map +0 -1
- package/lib/internal/_httpQueryReadArray2.mjs +0 -9
- package/lib/internal/_httpQueryReadArray2.mjs.map +0 -1
- package/lib/internal/_httpQueryReadBigint2.mjs +0 -17
- package/lib/internal/_httpQueryReadBigint2.mjs.map +0 -1
- package/lib/internal/_httpQueryReadBoolean2.mjs +0 -19
- package/lib/internal/_httpQueryReadBoolean2.mjs.map +0 -1
- package/lib/internal/_httpQueryReadNumber2.mjs +0 -13
- package/lib/internal/_httpQueryReadNumber2.mjs.map +0 -1
- package/lib/internal/_httpQueryReadString2.mjs +0 -9
- package/lib/internal/_httpQueryReadString2.mjs.map +0 -1
- package/lib/internal/_isBetween2.mjs +0 -9
- package/lib/internal/_isBetween2.mjs.map +0 -1
- package/lib/internal/_isBigintString2.mjs +0 -17
- package/lib/internal/_isBigintString2.mjs.map +0 -1
- package/lib/internal/_isFormatByte2.mjs +0 -13
- package/lib/internal/_isFormatByte2.mjs.map +0 -1
- package/lib/internal/_isFormatDate2.mjs +0 -10
- package/lib/internal/_isFormatDate2.mjs.map +0 -1
- package/lib/internal/_isFormatDateTime2.mjs +0 -10
- package/lib/internal/_isFormatDateTime2.mjs.map +0 -1
- package/lib/internal/_isFormatDuration2.mjs +0 -10
- package/lib/internal/_isFormatDuration2.mjs.map +0 -1
- package/lib/internal/_isFormatEmail2.mjs +0 -10
- package/lib/internal/_isFormatEmail2.mjs.map +0 -1
- package/lib/internal/_isFormatHostname2.mjs +0 -10
- package/lib/internal/_isFormatHostname2.mjs.map +0 -1
- package/lib/internal/_isFormatIdnEmail2.mjs +0 -10
- package/lib/internal/_isFormatIdnEmail2.mjs.map +0 -1
- package/lib/internal/_isFormatIdnHostname2.mjs +0 -10
- package/lib/internal/_isFormatIdnHostname2.mjs.map +0 -1
- package/lib/internal/_isFormatIpv42.mjs +0 -10
- package/lib/internal/_isFormatIpv42.mjs.map +0 -1
- package/lib/internal/_isFormatIpv62.mjs +0 -10
- package/lib/internal/_isFormatIpv62.mjs.map +0 -1
- package/lib/internal/_isFormatIri2.mjs +0 -10
- package/lib/internal/_isFormatIri2.mjs.map +0 -1
- package/lib/internal/_isFormatIriReference2.mjs +0 -10
- package/lib/internal/_isFormatIriReference2.mjs.map +0 -1
- package/lib/internal/_isFormatJsonPointer2.mjs +0 -10
- package/lib/internal/_isFormatJsonPointer2.mjs.map +0 -1
- package/lib/internal/_isFormatPassword2.mjs +0 -9
- package/lib/internal/_isFormatPassword2.mjs.map +0 -1
- package/lib/internal/_isFormatRegex2.mjs +0 -17
- package/lib/internal/_isFormatRegex2.mjs.map +0 -1
- package/lib/internal/_isFormatRelativeJsonPointer2.mjs +0 -10
- package/lib/internal/_isFormatRelativeJsonPointer2.mjs.map +0 -1
- package/lib/internal/_isFormatTime2.mjs +0 -10
- package/lib/internal/_isFormatTime2.mjs.map +0 -1
- package/lib/internal/_isFormatUri2.mjs +0 -11
- package/lib/internal/_isFormatUri2.mjs.map +0 -1
- package/lib/internal/_isFormatUriReference2.mjs +0 -10
- package/lib/internal/_isFormatUriReference2.mjs.map +0 -1
- package/lib/internal/_isFormatUriTemplate2.mjs +0 -10
- package/lib/internal/_isFormatUriTemplate2.mjs.map +0 -1
- package/lib/internal/_isFormatUrl2.mjs +0 -10
- package/lib/internal/_isFormatUrl2.mjs.map +0 -1
- package/lib/internal/_isFormatUuid2.mjs +0 -10
- package/lib/internal/_isFormatUuid2.mjs.map +0 -1
- package/lib/internal/_isTypeFloat2.mjs +0 -11
- package/lib/internal/_isTypeFloat2.mjs.map +0 -1
- package/lib/internal/_isTypeInt162.mjs +0 -11
- package/lib/internal/_isTypeInt162.mjs.map +0 -1
- package/lib/internal/_isTypeInt322.mjs +0 -11
- package/lib/internal/_isTypeInt322.mjs.map +0 -1
- package/lib/internal/_isTypeInt642.mjs +0 -11
- package/lib/internal/_isTypeInt642.mjs.map +0 -1
- package/lib/internal/_isTypeInt82.mjs +0 -11
- package/lib/internal/_isTypeInt82.mjs.map +0 -1
- package/lib/internal/_isTypeUint162.mjs +0 -11
- package/lib/internal/_isTypeUint162.mjs.map +0 -1
- package/lib/internal/_isTypeUint322.mjs +0 -11
- package/lib/internal/_isTypeUint322.mjs.map +0 -1
- package/lib/internal/_isTypeUint642.mjs +0 -11
- package/lib/internal/_isTypeUint642.mjs.map +0 -1
- package/lib/internal/_isTypeUint82.mjs +0 -11
- package/lib/internal/_isTypeUint82.mjs.map +0 -1
- package/lib/internal/_isUniqueItems2.mjs +0 -143
- package/lib/internal/_isUniqueItems2.mjs.map +0 -1
- package/lib/internal/_jsonStringifyNumber2.mjs +0 -9
- package/lib/internal/_jsonStringifyNumber2.mjs.map +0 -1
- package/lib/internal/_jsonStringifyRest2.mjs +0 -11
- package/lib/internal/_jsonStringifyRest2.mjs.map +0 -1
- package/lib/internal/_jsonStringifyString2.mjs +0 -45
- package/lib/internal/_jsonStringifyString2.mjs.map +0 -1
- package/lib/internal/_jsonStringifyTail2.mjs +0 -9
- package/lib/internal/_jsonStringifyTail2.mjs.map +0 -1
- package/lib/internal/_llmApplicationFinalize2.mjs +0 -11
- package/lib/internal/_llmApplicationFinalize2.mjs.map +0 -1
- package/lib/internal/_notationAny2.mjs +0 -42
- package/lib/internal/_notationAny2.mjs.map +0 -1
- package/lib/internal/_notationCamel2.mjs +0 -21
- package/lib/internal/_notationCamel2.mjs.map +0 -1
- package/lib/internal/_notationPascal2.mjs +0 -17
- package/lib/internal/_notationPascal2.mjs.map +0 -1
- package/lib/internal/_notationSnake2.mjs +0 -54
- package/lib/internal/_notationSnake2.mjs.map +0 -1
- package/lib/internal/_parseLlmArguments2.mjs +0 -11
- package/lib/internal/_parseLlmArguments2.mjs.map +0 -1
- package/lib/internal/_plainCloneAny2.mjs +0 -67
- package/lib/internal/_plainCloneAny2.mjs.map +0 -1
- package/lib/internal/_randomArray2.mjs +0 -31
- package/lib/internal/_randomArray2.mjs.map +0 -1
- package/lib/internal/_randomBigint2.mjs +0 -12
- package/lib/internal/_randomBigint2.mjs.map +0 -1
- package/lib/internal/_randomBoolean2.mjs +0 -9
- package/lib/internal/_randomBoolean2.mjs.map +0 -1
- package/lib/internal/_randomFormatByte2.mjs +0 -10
- package/lib/internal/_randomFormatByte2.mjs.map +0 -1
- package/lib/internal/_randomFormatDate2.mjs +0 -20
- package/lib/internal/_randomFormatDate2.mjs.map +0 -1
- package/lib/internal/_randomFormatDatetime2.mjs +0 -18
- package/lib/internal/_randomFormatDatetime2.mjs.map +0 -1
- package/lib/internal/_randomFormatDuration2.mjs +0 -35
- package/lib/internal/_randomFormatDuration2.mjs.map +0 -1
- package/lib/internal/_randomFormatEmail2.mjs +0 -17
- package/lib/internal/_randomFormatEmail2.mjs.map +0 -1
- package/lib/internal/_randomFormatHostname2.mjs +0 -13
- package/lib/internal/_randomFormatHostname2.mjs.map +0 -1
- package/lib/internal/_randomFormatIdnEmail2.mjs +0 -12
- package/lib/internal/_randomFormatIdnEmail2.mjs.map +0 -1
- package/lib/internal/_randomFormatIdnHostname2.mjs +0 -12
- package/lib/internal/_randomFormatIdnHostname2.mjs.map +0 -1
- package/lib/internal/_randomFormatIpv42.mjs +0 -17
- package/lib/internal/_randomFormatIpv42.mjs.map +0 -1
- package/lib/internal/_randomFormatIpv62.mjs +0 -17
- package/lib/internal/_randomFormatIpv62.mjs.map +0 -1
- package/lib/internal/_randomFormatIri2.mjs +0 -12
- package/lib/internal/_randomFormatIri2.mjs.map +0 -1
- package/lib/internal/_randomFormatIriReference2.mjs +0 -12
- package/lib/internal/_randomFormatIriReference2.mjs.map +0 -1
- package/lib/internal/_randomFormatJsonPointer2.mjs +0 -13
- package/lib/internal/_randomFormatJsonPointer2.mjs.map +0 -1
- package/lib/internal/_randomFormatPassword2.mjs +0 -16
- package/lib/internal/_randomFormatPassword2.mjs.map +0 -1
- package/lib/internal/_randomFormatRegex2.mjs +0 -10
- package/lib/internal/_randomFormatRegex2.mjs.map +0 -1
- package/lib/internal/_randomFormatRelativeJsonPointer2.mjs +0 -16
- package/lib/internal/_randomFormatRelativeJsonPointer2.mjs.map +0 -1
- package/lib/internal/_randomFormatTime2.mjs +0 -19
- package/lib/internal/_randomFormatTime2.mjs.map +0 -1
- package/lib/internal/_randomFormatUri2.mjs +0 -12
- package/lib/internal/_randomFormatUri2.mjs.map +0 -1
- package/lib/internal/_randomFormatUriReference2.mjs +0 -12
- package/lib/internal/_randomFormatUriReference2.mjs.map +0 -1
- package/lib/internal/_randomFormatUriTemplate2.mjs +0 -12
- package/lib/internal/_randomFormatUriTemplate2.mjs.map +0 -1
- package/lib/internal/_randomFormatUrl2.mjs +0 -17
- package/lib/internal/_randomFormatUrl2.mjs.map +0 -1
- package/lib/internal/_randomFormatUuid2.mjs +0 -13
- package/lib/internal/_randomFormatUuid2.mjs.map +0 -1
- package/lib/internal/_randomInteger2.mjs +0 -47
- package/lib/internal/_randomInteger2.mjs.map +0 -1
- package/lib/internal/_randomNumber2.mjs +0 -66
- package/lib/internal/_randomNumber2.mjs.map +0 -1
- package/lib/internal/_randomPattern2.mjs +0 -22
- package/lib/internal/_randomPattern2.mjs.map +0 -1
- package/lib/internal/_randomPick2.mjs +0 -17
- package/lib/internal/_randomPick2.mjs.map +0 -1
- package/lib/internal/_randomString2.mjs +0 -32
- package/lib/internal/_randomString2.mjs.map +0 -1
- package/lib/internal/_throwTypeGuardError2.mjs +0 -14
- package/lib/internal/_throwTypeGuardError2.mjs.map +0 -1
- package/lib/internal/_validateReport2.mjs +0 -29
- package/lib/internal/_validateReport2.mjs.map +0 -1
- package/lib/internal/private/__notationCapitalize2.mjs +0 -9
- package/lib/internal/private/__notationCapitalize2.mjs.map +0 -1
- package/lib/internal/private/__notationUnsnake2.mjs +0 -29
- package/lib/internal/private/__notationUnsnake2.mjs.map +0 -1
- package/lib/json2.mjs +0 -94
- package/lib/json2.mjs.map +0 -1
- package/lib/llm2.mjs +0 -54
- package/lib/llm2.mjs.map +0 -1
- package/lib/module2.mjs +0 -185
- package/lib/module2.mjs.map +0 -1
- package/lib/notations2.mjs +0 -169
- package/lib/notations2.mjs.map +0 -1
- package/lib/plain2.mjs +0 -119
- package/lib/plain2.mjs.map +0 -1
- package/lib/protobuf2.mjs +0 -94
- package/lib/protobuf2.mjs.map +0 -1
- package/lib/re-exports.mjs.map +0 -1
- package/lib/re-exports2.mjs +0 -17
- package/lib/re-exports2.mjs.map +0 -1
- package/lib/reflect2.mjs +0 -29
- package/lib/reflect2.mjs.map +0 -1
- package/lib/transform2.mjs +0 -26
- package/lib/transform2.mjs.map +0 -1
- package/lib/transformers/NoTransformConfigurationError2.mjs +0 -21
- package/lib/transformers/NoTransformConfigurationError2.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TypiaGenerateWizard2.mjs","sources":["TypiaGenerateWizard.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TypiaGenerateWizard = void 0;\nconst commander_1 = require(\"commander\");\nconst fs_1 = __importDefault(require(\"fs\"));\nconst inquirer_1 = __importDefault(require(\"inquirer\"));\nconst module_1 = require(\"module\");\nconst path_1 = __importDefault(require(\"path\"));\nconst tinyglobby_1 = require(\"tinyglobby\");\nvar TypiaGenerateWizard;\n(function (TypiaGenerateWizard) {\n function generate() {\n return __awaiter(this, void 0, void 0, function* () {\n console.log(\"----------------------------------------\");\n console.log(\" Typia Generate Wizard\");\n console.log(\"----------------------------------------\");\n const options = yield parseArguments();\n yield build(options);\n });\n }\n TypiaGenerateWizard.generate = generate;\n function parseArguments() {\n return __awaiter(this, void 0, void 0, function* () {\n const command = (0, commander_1.createCommand)(\"typia generate\");\n command.usage(\"[options] [files...]\");\n command.argument(\"[files...]\", \"input TypeScript source files or globs\");\n command.option(\"--input <path>\", \"input directory\");\n command.option(\"--output <directory>\", \"output directory\");\n command.option(\"--project <project>\", \"tsconfig.json/jsconfig.json file or directory\");\n const questioned = { value: false };\n const prompt = inquirer_1.default.createPromptModule;\n const input = (name) => (message) => __awaiter(this, void 0, void 0, function* () {\n questioned.value = true;\n const result = yield prompt()({\n type: \"input\",\n name,\n message,\n default: \"\",\n });\n return result[name];\n });\n const configure = () => __awaiter(this, void 0, void 0, function* () {\n const file = findProjectConfigFile(process.cwd());\n if (file === null) {\n throw new URIError(`Unable to find \"tsconfig.json\" or \"jsconfig.json\" file.`);\n }\n return file;\n });\n return new Promise((resolve, reject) => {\n command.action((files, options) => __awaiter(this, void 0, void 0, function* () {\n var _a, _b, _c;\n try {\n if (files.length !== 0 && options.input !== undefined) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): file arguments cannot be combined with --input.\");\n }\n if (files.length === 0) {\n (_a = options.input) !== null && _a !== void 0 ? _a : (options.input = yield input(\"input\")(\"input directory\"));\n }\n if (files.length !== 0 && options.output === undefined) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): output directory is required when file arguments are used.\");\n }\n const output = (_b = options.output) !== null && _b !== void 0 ? _b : (yield input(\"output\")(\"output directory\"));\n const project = (_c = options.project) !== null && _c !== void 0 ? _c : (yield configure());\n if (questioned.value)\n console.log(\"\");\n resolve({\n input: options.input,\n output,\n project,\n files,\n });\n }\n catch (exp) {\n reject(exp);\n }\n }));\n command.parseAsync(process.argv.slice(3), { from: \"user\" }).catch(reject);\n });\n });\n }\n function build(location) {\n return __awaiter(this, void 0, void 0, function* () {\n location.output = path_1.default.resolve(location.output);\n location.project = resolveProjectConfigFile(location.project);\n const entries = location.files.length === 0\n ? yield prepareDirectoryInput(location)\n : yield prepareFileInputs(location);\n const binary = resolveTsgoBinary();\n const cwd = path_1.default.dirname(location.project);\n const transformed = transformProject({\n binary,\n cwd,\n tsconfig: location.project,\n });\n const outputByKey = indexTransformedOutputs(transformed);\n const outputs = entries.map((entry) => {\n const output = getTransformedOutput({\n cwd,\n entry,\n outputByKey,\n });\n if (output === undefined) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): no transformed output for ${entry.file}. Check that --project includes the file.`);\n }\n return { entry, output };\n });\n yield ensureOutputDirectory(location.output);\n yield ensureTargetDirectories({\n output: location.output,\n targets: outputs.map(({ entry }) => entry.target),\n });\n yield ensurePhysicalTargets({\n output: location.output,\n entries: outputs.map(({ entry }) => entry),\n });\n yield ensureTargetFiles(outputs.map(({ entry }) => entry));\n for (const { entry, output } of outputs) {\n yield fs_1.default.promises.writeFile(entry.target, formatOutput(output), \"utf8\");\n }\n });\n }\n function ensureOutputDirectory(output) {\n return __awaiter(this, void 0, void 0, function* () {\n if (fs_1.default.existsSync(output) === false) {\n yield ensureCreatableDirectory(output);\n yield fs_1.default.promises.mkdir(output, { recursive: true });\n }\n else {\n yield ensureExistingDirectory({\n label: \"output path\",\n directory: output,\n });\n }\n });\n }\n function ensureTargetDirectories(props) {\n return __awaiter(this, void 0, void 0, function* () {\n const directories = new Map();\n for (const target of props.targets) {\n const directory = path_1.default.dirname(target);\n directories.set(filesystemKey(directory), directory);\n }\n for (const directory of directories.values()) {\n yield ensureOutputAncestorDirectories({\n output: props.output,\n directory,\n });\n if (fs_1.default.existsSync(directory)) {\n yield ensureExistingDirectory({\n label: \"output parent path\",\n directory,\n });\n }\n }\n for (const directory of directories.values()) {\n try {\n yield fs_1.default.promises.mkdir(directory, { recursive: true });\n }\n catch (exp) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): unable to create output parent directory ${directory}: ${formatUnknownError(exp)}`);\n }\n yield ensureExistingDirectory({\n label: \"output parent path\",\n directory,\n });\n }\n });\n }\n function ensureCreatableDirectory(directory) {\n return __awaiter(this, void 0, void 0, function* () {\n const parent = yield nearestExistingAncestor(directory);\n yield ensureExistingDirectoryPath({\n label: \"output parent path\",\n directory: parent,\n });\n });\n }\n function nearestExistingAncestor(directory) {\n return __awaiter(this, void 0, void 0, function* () {\n let current = path_1.default.resolve(directory);\n while (fs_1.default.existsSync(current) === false) {\n const parent = path_1.default.dirname(current);\n if (parent === current) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): unable to find existing output parent path: ${directory}`);\n }\n current = parent;\n }\n return current;\n });\n }\n function ensureOutputAncestorDirectories(props) {\n return __awaiter(this, void 0, void 0, function* () {\n const output = path_1.default.resolve(props.output);\n const directory = path_1.default.resolve(props.directory);\n if (isSameOrChildPath(directory, output) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output parent path escapes output directory: ${props.directory}`);\n }\n const relative = path_1.default.relative(output, directory);\n if (relative === \"\") {\n return;\n }\n let current = output;\n for (const segment of relative.split(path_1.default.sep)) {\n current = path_1.default.join(current, segment);\n let stat;\n try {\n stat = yield fs_1.default.promises.lstat(current);\n }\n catch (exp) {\n if (isMissingFileError(exp)) {\n return;\n }\n throw new URIError(`Error on TypiaGenerateWizard.generate(): unable to inspect output parent path ${current}: ${formatUnknownError(exp)}`);\n }\n if (stat.isSymbolicLink()) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output parent path contains a symbolic link: ${current}`);\n }\n if (stat.isDirectory() === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output parent path is not a directory: ${current}`);\n }\n }\n });\n }\n function ensureExistingDirectory(props) {\n return __awaiter(this, void 0, void 0, function* () {\n yield ensureExistingDirectoryPath(props);\n });\n }\n function ensureExistingDirectoryPath(props) {\n return __awaiter(this, void 0, void 0, function* () {\n const directory = path_1.default.resolve(props.directory);\n const parsed = path_1.default.parse(directory);\n const relative = path_1.default.relative(parsed.root, directory);\n let current = parsed.root;\n for (const segment of relative === \"\" ? [] : relative.split(path_1.default.sep)) {\n current = path_1.default.join(current, segment);\n yield ensureExistingDirectorySegment({\n label: filesystemKey(current) === filesystemKey(directory)\n ? props.label\n : `${props.label} ancestor`,\n directory: current,\n });\n }\n });\n }\n function ensureExistingDirectorySegment(props) {\n return __awaiter(this, void 0, void 0, function* () {\n const stat = yield fs_1.default.promises.lstat(props.directory);\n if (stat.isSymbolicLink()) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): ${props.label} is a symbolic link: ${props.directory}`);\n }\n if (stat.isDirectory() === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): ${props.label} is not a directory: ${props.directory}`);\n }\n });\n }\n function ensurePhysicalTargets(props) {\n return __awaiter(this, void 0, void 0, function* () {\n const output = yield fs_1.default.promises.realpath(props.output);\n const inputs = new Set();\n for (const entry of props.entries) {\n inputs.add(filesystemKey(yield fs_1.default.promises.realpath(entry.file)));\n }\n for (const entry of props.entries) {\n const parent = path_1.default.dirname(entry.target);\n const directory = yield fs_1.default.promises.realpath(parent);\n if (isSameOrChildPath(directory, output) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output parent path escapes output directory through a symbolic link: ${parent}`);\n }\n const target = path_1.default.join(directory, path_1.default.basename(entry.target));\n if (inputs.has(filesystemKey(target))) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output file would overwrite input file through a symbolic link: ${entry.target}`);\n }\n }\n });\n }\n function ensureTargetFiles(entries) {\n return __awaiter(this, void 0, void 0, function* () {\n const inputs = new Set();\n const files = new Map();\n for (const entry of entries) {\n inputs.add(fileIdentityKey(yield fs_1.default.promises.stat(entry.file)));\n files.set(filesystemKey(entry.target), entry);\n }\n for (const entry of files.values()) {\n let stat;\n try {\n stat = yield fs_1.default.promises.lstat(entry.target);\n }\n catch (exp) {\n if (isMissingFileError(exp)) {\n continue;\n }\n throw new URIError(`Error on TypiaGenerateWizard.generate(): unable to inspect output file ${entry.target}: ${formatUnknownError(exp)}`);\n }\n if (stat.isFile() === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output file path is not a regular file: ${entry.target}`);\n }\n if (inputs.has(fileIdentityKey(stat))) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output file would overwrite input file through a physical file alias: ${entry.target}`);\n }\n if (stat.nlink > 1) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output file has multiple hard links: ${entry.target}`);\n }\n }\n });\n }\n function prepareDirectoryInput(location) {\n return __awaiter(this, void 0, void 0, function* () {\n if (location.input === undefined) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): input path is required.\");\n }\n const input = path_1.default.resolve(location.input);\n if (fs_1.default.existsSync(input) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): input path does not exist: ${input}`);\n }\n if ((yield isDirectory(input)) === false) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): input path is not a directory.\");\n }\n const files = [];\n yield gather({\n location: {\n input,\n output: location.output,\n },\n container: files,\n from: input,\n to: location.output,\n });\n return files.map((file) => ({\n file,\n target: path_1.default.join(location.output, path_1.default.relative(input, file)),\n }));\n });\n }\n function prepareFileInputs(location) {\n return __awaiter(this, void 0, void 0, function* () {\n const targets = new Set();\n const output = [];\n for (const input of yield expandFileInputs(location.files, location.output)) {\n const file = path_1.default.resolve(input);\n if (fs_1.default.existsSync(file) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): input file does not exist: ${input}`);\n }\n else if ((yield isFile(file)) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): input path is not a file: ${input}`);\n }\n else if (isDeclarationFile(file)) {\n continue;\n }\n else if (isSupportedExtension(file) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): input file is not a supported TypeScript source: ${input}`);\n }\n const target = path_1.default.join(location.output, path_1.default.basename(file));\n if (isSamePath(file, target)) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): output file would overwrite input file: ${input}`);\n }\n const key = filesystemKey(target);\n if (targets.has(key)) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): duplicate output filename for ${target}`);\n }\n targets.add(key);\n output.push({ file, target });\n }\n if (output.length === 0) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): input files do not include any supported TypeScript source files outside the output directory.\");\n }\n return output;\n });\n }\n function expandFileInputs(inputs, directory) {\n return __awaiter(this, void 0, void 0, function* () {\n const output = [];\n for (const input of inputs) {\n const pattern = toGlobPattern(input);\n if ((0, tinyglobby_1.isDynamicPattern)(pattern, { caseSensitiveMatch: true })) {\n const matches = yield (0, tinyglobby_1.glob)(pattern, {\n absolute: true,\n caseSensitiveMatch: isCaseSensitive(),\n cwd: process.cwd(),\n onlyFiles: true,\n });\n if (matches.length === 0) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): input pattern does not match any files: ${input}`);\n }\n output.push(...excludeOutputFiles(matches, directory).filter(isSupportedExtension));\n }\n else {\n const file = path_1.default.resolve(input);\n if (isSameOrChildPath(file, directory) === false) {\n output.push(file);\n }\n }\n }\n return output;\n });\n }\n function excludeOutputFiles(files, directory) {\n return files.filter((file) => isSameOrChildPath(file, directory) === false);\n }\n function toGlobPattern(input) {\n return input.replace(/\\\\/g, \"/\");\n }\n function transformProject(props) {\n const TtscCompiler = loadTtscCompiler();\n const result = new TtscCompiler({\n binary: props.binary,\n cwd: props.cwd,\n tsconfig: props.tsconfig,\n }).transform();\n if (result.type === \"success\") {\n return result.typescript;\n }\n if (result.type === \"failure\") {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): ${formatDiagnostics(result.diagnostics)}`);\n }\n throw new URIError(`Error on TypiaGenerateWizard.generate(): ${formatUnknownError(result.error)}`);\n }\n function resolveProjectConfigFile(project) {\n const resolved = path_1.default.resolve(project);\n if (fs_1.default.existsSync(resolved) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): project path does not exist: ${resolved}`);\n }\n const stat = fs_1.default.statSync(resolved);\n if (stat.isDirectory()) {\n for (const filename of [\"tsconfig.json\", \"jsconfig.json\"]) {\n const candidate = path_1.default.join(resolved, filename);\n if (fs_1.default.existsSync(candidate) && fs_1.default.statSync(candidate).isFile()) {\n return resolveRealPath(candidate);\n }\n }\n throw new URIError(`Error on TypiaGenerateWizard.generate(): project directory has no tsconfig.json or jsconfig.json: ${resolved}`);\n }\n if (stat.isFile() === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): project path is not a file: ${resolved}`);\n }\n return resolveRealPath(resolved);\n }\n function findProjectConfigFile(directory) {\n let current = path_1.default.resolve(directory);\n while (true) {\n for (const filename of [\"tsconfig.json\", \"jsconfig.json\"]) {\n const candidate = path_1.default.join(current, filename);\n if (fs_1.default.existsSync(candidate) && fs_1.default.statSync(candidate).isFile()) {\n return resolveRealPath(candidate);\n }\n }\n const parent = path_1.default.dirname(current);\n if (parent === current) {\n return null;\n }\n current = parent;\n }\n }\n function loadTtscCompiler() {\n const packageRoot = resolveTypiaPackageRoot();\n const resolved = resolveFromRoots(\"ttsc\", resolveRuntimeRoots(packageRoot));\n if (resolved === null) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): unable to resolve ttsc from the current project, typia package, or workspace root. Run \"npm i -D ttsc typescript\" before.`);\n }\n const imported = (0, module_1.createRequire)(resolved)(resolved);\n return imported.TtscCompiler;\n }\n function resolveTsgoBinary() {\n const explicit = process.env.TTSC_TSGO_BINARY;\n if (explicit !== undefined && explicit.length !== 0) {\n if (path_1.default.isAbsolute(explicit) && fs_1.default.existsSync(explicit)) {\n return explicit;\n }\n throw new URIError(`Error on TypiaGenerateWizard.generate(): TTSC_TSGO_BINARY must be an existing absolute path: ${explicit}`);\n }\n const packageRoot = resolveTypiaPackageRoot();\n const manifest = resolveFromRoots(\"typescript/package.json\", resolveRuntimeRoots(packageRoot));\n if (manifest === null) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): unable to resolve typescript from the current project, typia package, or workspace root.\");\n }\n const platform = `@typescript/typescript-${process.platform}-${process.arch}`;\n const platformManifest = (0, module_1.createRequire)(manifest).resolve(`${platform}/package.json`);\n const binary = path_1.default.join(path_1.default.dirname(platformManifest), \"lib\", process.platform === \"win32\" ? \"tsc.exe\" : \"tsc\");\n if (fs_1.default.existsSync(binary) === false) {\n throw new URIError(`Error on TypiaGenerateWizard.generate(): TypeScript-Go executable not found: ${binary}`);\n }\n return binary;\n }\n function resolveTypiaPackageRoot() {\n const current = path_1.default.resolve(__dirname);\n for (const directory of [\n path_1.default.resolve(current, \"..\", \"..\"),\n path_1.default.resolve(current, \"..\"),\n ]) {\n const file = path_1.default.join(directory, \"package.json\");\n if (fs_1.default.existsSync(file) === false) {\n continue;\n }\n try {\n const pack = JSON.parse(fs_1.default.readFileSync(file, \"utf8\"));\n if (pack.name === \"typia\") {\n return directory;\n }\n }\n catch (_a) {\n continue;\n }\n }\n const resolved = resolveFromRoots(\"typia/package.json\", [\n process.cwd(),\n current,\n ]);\n if (resolved === null) {\n throw new URIError(\"Error on TypiaGenerateWizard.generate(): unable to resolve typia package root.\");\n }\n return path_1.default.dirname(resolved);\n }\n function resolveRuntimeRoots(packageRoot) {\n return [process.cwd(), packageRoot, path_1.default.resolve(packageRoot, \"..\", \"..\")];\n }\n function resolveFromRoots(request, roots) {\n for (const root of roots) {\n try {\n return require.resolve(request, { paths: [root] });\n }\n catch (_a) {\n continue;\n }\n }\n return null;\n }\n function isDirectory(current) {\n return __awaiter(this, void 0, void 0, function* () {\n const stat = yield fs_1.default.promises.stat(current);\n return stat.isDirectory();\n });\n }\n function isFile(current) {\n return __awaiter(this, void 0, void 0, function* () {\n const stat = yield fs_1.default.promises.stat(current);\n return stat.isFile();\n });\n }\n function gather(props) {\n return __awaiter(this, void 0, void 0, function* () {\n if (isSamePath(props.from, props.location.output))\n return;\n for (const file of yield fs_1.default.promises.readdir(props.from)) {\n const next = path_1.default.join(props.from, file);\n const stat = yield fs_1.default.promises.stat(next);\n if (stat.isDirectory()) {\n yield gather({\n location: props.location,\n container: props.container,\n from: next,\n to: path_1.default.join(props.to, file),\n });\n continue;\n }\n if (isSupportedExtension(file)) {\n props.container.push(next);\n }\n }\n });\n }\n function isSupportedExtension(filename) {\n const normalized = isCaseSensitive()\n ? filename\n : filename.toLowerCase();\n return TS_PATTERN.test(normalized) && !DTS_PATTERN.test(normalized);\n }\n function isDeclarationFile(filename) {\n const normalized = isCaseSensitive()\n ? filename\n : filename.toLowerCase();\n return DTS_PATTERN.test(normalized);\n }\n function formatOutput(output) {\n return output.startsWith(\"// @ts-nocheck\")\n ? output\n : `// @ts-nocheck\\n${output}`;\n }\n function indexTransformedOutputs(outputs) {\n const map = new Map();\n for (const [file, output] of Object.entries(outputs)) {\n map.set(projectFileKey(file), output);\n }\n return map;\n }\n function getTransformedOutput(props) {\n const output = props.outputByKey.get(projectFileKey(projectKey(props.cwd, props.entry.file)));\n if (output !== undefined) {\n return output;\n }\n const real = resolveRealPath(props.entry.file);\n if (isSamePath(real, props.entry.file) ||\n isSameOrChildPath(real, props.cwd) === false) {\n return undefined;\n }\n return props.outputByKey.get(projectFileKey(projectKey(props.cwd, real)));\n }\n function projectKey(root, file) {\n return path_1.default.relative(root, file).replace(/\\\\/g, \"/\");\n }\n function projectFileKey(file) {\n return isCaseSensitive() ? file : file.toLowerCase();\n }\n function resolveRealPath(file) {\n try {\n return fs_1.default.realpathSync(file);\n }\n catch (_a) {\n return file;\n }\n }\n function isSamePath(x, y) {\n return filesystemKey(x) === filesystemKey(y);\n }\n function isSameOrChildPath(file, directory) {\n const fileKey = filesystemKey(path_1.default.resolve(file));\n const directoryKey = filesystemKey(path_1.default.resolve(directory));\n const directoryPrefix = directoryKey.endsWith(path_1.default.sep)\n ? directoryKey\n : `${directoryKey}${path_1.default.sep}`;\n return fileKey === directoryKey || fileKey.startsWith(directoryPrefix);\n }\n function filesystemKey(file) {\n const normalized = path_1.default.normalize(file);\n return isCaseSensitive() ? normalized : normalized.toLowerCase();\n }\n function isCaseSensitive() {\n return process.platform !== \"win32\" && process.platform !== \"darwin\";\n }\n function isMissingFileError(exp) {\n return (typeof exp === \"object\" &&\n exp !== null &&\n \"code\" in exp &&\n exp.code === \"ENOENT\");\n }\n function fileIdentityKey(stat) {\n return `${stat.dev}:${stat.ino}`;\n }\n function formatDiagnostics(diagnostics) {\n return diagnostics.length === 0\n ? \"transformation failed\"\n : diagnostics\n .map((diag) => { var _a, _b; return [\n (_a = diag.file) !== null && _a !== void 0 ? _a : \"ttsc\",\n diag.line === undefined\n ? undefined\n : `${diag.line}:${(_b = diag.character) !== null && _b !== void 0 ? _b : 1}`,\n diag.messageText,\n ]\n .filter((part) => part !== undefined && part !== \"\")\n .join(\": \"); })\n .join(\"\\n\");\n }\n function formatUnknownError(error) {\n if (error instanceof Error) {\n return error.message;\n }\n if (typeof error === \"object\" &&\n error !== null &&\n \"message\" in error &&\n typeof error.message === \"string\") {\n return error.message;\n }\n return String(error);\n }\n})(TypiaGenerateWizard || (exports.TypiaGenerateWizard = TypiaGenerateWizard = {}));\nconst TS_PATTERN = /\\.[cm]?tsx?$/;\nconst DTS_PATTERN = /\\.d\\.[cm]?tsx?$/;\n//# sourceMappingURL=TypiaGenerateWizard.js.map"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { __exports as ttsc } from '../../_virtual/ttsc.mjs';
|
|
2
|
-
import require$$0 from '../../_virtual/_node_child_process.mjs';
|
|
3
|
-
import require$$1$1 from '../../_virtual/_node_fs.mjs';
|
|
4
|
-
import require$$1 from '../../_virtual/_node_path.mjs';
|
|
5
|
-
|
|
6
|
-
var _a, _b;
|
|
7
|
-
Object.defineProperty(ttsc, "__esModule", { value: true });
|
|
8
|
-
const { spawnSync } = require$$0;
|
|
9
|
-
const fs = require$$1$1;
|
|
10
|
-
const path = require$$1;
|
|
11
|
-
const packageRoot = path.resolve(path.dirname(path.resolve((_a = process.argv[1]) !== null && _a !== void 0 ? _a : "")), "..", "..", "..");
|
|
12
|
-
const nativeProject = path.resolve(packageRoot, "native");
|
|
13
|
-
const nativeEntrypoint = path.resolve(nativeProject, "cmd", "ttsc-typia", "main.go");
|
|
14
|
-
const command = process.platform === "win32" ? "go.exe" : "go";
|
|
15
|
-
const invocationCwd = process.cwd();
|
|
16
|
-
const argv = [...process.argv.slice(2)];
|
|
17
|
-
if (process.env.TYPIA_TTSC_TRANSFORM_OUTPUT === "ts" &&
|
|
18
|
-
argv[0] === "transform" &&
|
|
19
|
-
!argv.some((value) => value === "--output" || value.startsWith("--output="))) {
|
|
20
|
-
argv.push("--output=ts");
|
|
21
|
-
}
|
|
22
|
-
if (argv.length > 0 &&
|
|
23
|
-
needsCwd(argv[0]) &&
|
|
24
|
-
!argv.some((value) => value === "--cwd" || value.startsWith("--cwd="))) {
|
|
25
|
-
argv.push(`--cwd=${invocationCwd}`);
|
|
26
|
-
}
|
|
27
|
-
const hasSourceEntrypoint = fs.existsSync(nativeEntrypoint);
|
|
28
|
-
if (!hasSourceEntrypoint) {
|
|
29
|
-
process.stderr.write("ttsc-typia: backend source is missing. Expected native/cmd/ttsc-typia/main.go inside the typia package.\n");
|
|
30
|
-
process.exitCode = 1;
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
const result = spawnSync(command, ["run", "./cmd/ttsc-typia", ...argv], {
|
|
34
|
-
cwd: nativeProject,
|
|
35
|
-
env: process.env,
|
|
36
|
-
stdio: "inherit",
|
|
37
|
-
windowsHide: true,
|
|
38
|
-
});
|
|
39
|
-
if (result.error) {
|
|
40
|
-
process.stderr.write(`ttsc-typia: failed to launch source backend via ${command}: ${result.error.message}\n`);
|
|
41
|
-
process.exitCode = 1;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
process.exitCode = (_b = result.status) !== null && _b !== void 0 ? _b : 1;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
function needsCwd(commandName) {
|
|
48
|
-
return (commandName === "build" ||
|
|
49
|
-
commandName === "check" ||
|
|
50
|
-
commandName === "transform" ||
|
|
51
|
-
commandName === "-p" ||
|
|
52
|
-
commandName === "--project");
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export { ttsc as default };
|
|
56
|
-
//# sourceMappingURL=ttsc2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ttsc2.mjs","sources":["ttsc.js"],"sourcesContent":["\"use strict\";\nvar _a, _b;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst { spawnSync } = require(\"node:child_process\");\nconst fs = require(\"node:fs\");\nconst path = require(\"node:path\");\nconst packageRoot = path.resolve(path.dirname(path.resolve((_a = process.argv[1]) !== null && _a !== void 0 ? _a : \"\")), \"..\", \"..\", \"..\");\nconst nativeProject = path.resolve(packageRoot, \"native\");\nconst nativeEntrypoint = path.resolve(nativeProject, \"cmd\", \"ttsc-typia\", \"main.go\");\nconst command = process.platform === \"win32\" ? \"go.exe\" : \"go\";\nconst invocationCwd = process.cwd();\nconst argv = [...process.argv.slice(2)];\nif (process.env.TYPIA_TTSC_TRANSFORM_OUTPUT === \"ts\" &&\n argv[0] === \"transform\" &&\n !argv.some((value) => value === \"--output\" || value.startsWith(\"--output=\"))) {\n argv.push(\"--output=ts\");\n}\nif (argv.length > 0 &&\n needsCwd(argv[0]) &&\n !argv.some((value) => value === \"--cwd\" || value.startsWith(\"--cwd=\"))) {\n argv.push(`--cwd=${invocationCwd}`);\n}\nconst hasSourceEntrypoint = fs.existsSync(nativeEntrypoint);\nif (!hasSourceEntrypoint) {\n process.stderr.write(\"ttsc-typia: backend source is missing. Expected native/cmd/ttsc-typia/main.go inside the typia package.\\n\");\n process.exitCode = 1;\n}\nelse {\n const result = spawnSync(command, [\"run\", \"./cmd/ttsc-typia\", ...argv], {\n cwd: nativeProject,\n env: process.env,\n stdio: \"inherit\",\n windowsHide: true,\n });\n if (result.error) {\n process.stderr.write(`ttsc-typia: failed to launch source backend via ${command}: ${result.error.message}\\n`);\n process.exitCode = 1;\n }\n else {\n process.exitCode = (_b = result.status) !== null && _b !== void 0 ? _b : 1;\n }\n}\nfunction needsCwd(commandName) {\n return (commandName === \"build\" ||\n commandName === \"check\" ||\n commandName === \"transform\" ||\n commandName === \"-p\" ||\n commandName === \"--project\");\n}\n//# sourceMappingURL=ttsc.js.map"],"names":["require$$1","require$$2"],"mappings":";;;;;AACA,IAAI,EAAE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WAAW,KAAK,OAAO;AAC/B,QAAQ,WAAW,KAAK,WAAW;AACnC,QAAQ,WAAW,KAAK,IAAI;AAC5B,QAAQ,WAAW,KAAK,WAAW;AACnC;;;;"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { __exports as typia } from '../_virtual/typia.mjs';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
// -- Shims --
|
|
5
|
-
import cjsUrl from 'node:url';
|
|
6
|
-
import cjsPath from 'node:path';
|
|
7
|
-
import cjsModule from 'node:module';
|
|
8
|
-
const __filename = cjsUrl.fileURLToPath(import.meta.url);
|
|
9
|
-
const __dirname = cjsPath.dirname(__filename);
|
|
10
|
-
const require = cjsModule.createRequire(import.meta.url);
|
|
11
|
-
var __awaiter = (typia && typia.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
12
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(typia, "__esModule", { value: true });
|
|
21
|
-
const USAGE = `Wrong command has been detected. Use like below:
|
|
22
|
-
|
|
23
|
-
npx typia generate [options] [files...]
|
|
24
|
-
|
|
25
|
-
npx typia generate
|
|
26
|
-
--input src/templates \\
|
|
27
|
-
--output src/generated
|
|
28
|
-
|
|
29
|
-
npx typia generate
|
|
30
|
-
--output src/generated \\
|
|
31
|
-
"src/**/*.typia.ts"
|
|
32
|
-
`;
|
|
33
|
-
const halt = (desc) => {
|
|
34
|
-
console.error(desc);
|
|
35
|
-
process.exit(-1);
|
|
36
|
-
};
|
|
37
|
-
const loadTypeScript = () => {
|
|
38
|
-
loadPackage("typescript/package.json", `typescript has not been installed. Run "npm i -D ttsc typescript" before.`);
|
|
39
|
-
};
|
|
40
|
-
const loadTtsc = () => {
|
|
41
|
-
loadPackage("ttsc/package.json", `ttsc has not been installed. Run "npm i -D ttsc typescript" before.`);
|
|
42
|
-
};
|
|
43
|
-
const loadPackage = (request, desc) => {
|
|
44
|
-
const resolvers = [
|
|
45
|
-
() => require.resolve(request, {
|
|
46
|
-
paths: [process.cwd()],
|
|
47
|
-
}),
|
|
48
|
-
() => require.resolve(request),
|
|
49
|
-
];
|
|
50
|
-
for (const resolve of resolvers) {
|
|
51
|
-
try {
|
|
52
|
-
resolve();
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
catch (_a) { }
|
|
56
|
-
}
|
|
57
|
-
halt(desc);
|
|
58
|
-
};
|
|
59
|
-
const isHelp = (args) => {
|
|
60
|
-
return args.some((arg) => arg === "--help" || arg === "-h");
|
|
61
|
-
};
|
|
62
|
-
const main = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
63
|
-
try {
|
|
64
|
-
yield import('inquirer');
|
|
65
|
-
yield import('commander');
|
|
66
|
-
}
|
|
67
|
-
catch (_a) {
|
|
68
|
-
halt(`typia has not been installed. Run "npm i typia" before.`);
|
|
69
|
-
}
|
|
70
|
-
const type = process.argv[2];
|
|
71
|
-
if (type === "generate") {
|
|
72
|
-
if (isHelp(process.argv.slice(3)) === false) {
|
|
73
|
-
loadTtsc();
|
|
74
|
-
loadTypeScript();
|
|
75
|
-
}
|
|
76
|
-
const { TypiaGenerateWizard } = yield import('./TypiaGenerateWizard2.mjs').then(function (n) { return n.T; });
|
|
77
|
-
yield TypiaGenerateWizard.generate();
|
|
78
|
-
}
|
|
79
|
-
else
|
|
80
|
-
halt(USAGE);
|
|
81
|
-
});
|
|
82
|
-
main().catch((exp) => {
|
|
83
|
-
console.error(exp instanceof URIError ? exp.message : exp);
|
|
84
|
-
process.exit(-1);
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
export { typia as default };
|
|
88
|
-
//# sourceMappingURL=typia2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typia2.mjs","sources":["typia.js"],"sourcesContent":["#!/usr/bin/env node\n\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst USAGE = `Wrong command has been detected. Use like below:\n\n npx typia generate [options] [files...]\n\n npx typia generate\n --input src/templates \\\\\n --output src/generated\n\n npx typia generate\n --output src/generated \\\\\n \"src/**/*.typia.ts\"\n`;\nconst halt = (desc) => {\n console.error(desc);\n process.exit(-1);\n};\nconst loadTypeScript = () => {\n loadPackage(\"typescript/package.json\", `typescript has not been installed. Run \"npm i -D ttsc typescript\" before.`);\n};\nconst loadTtsc = () => {\n loadPackage(\"ttsc/package.json\", `ttsc has not been installed. Run \"npm i -D ttsc typescript\" before.`);\n};\nconst loadPackage = (request, desc) => {\n const resolvers = [\n () => require.resolve(request, {\n paths: [process.cwd()],\n }),\n () => require.resolve(request),\n ];\n for (const resolve of resolvers) {\n try {\n resolve();\n return;\n }\n catch (_a) { }\n }\n halt(desc);\n};\nconst isHelp = (args) => {\n return args.some((arg) => arg === \"--help\" || arg === \"-h\");\n};\nconst main = () => __awaiter(void 0, void 0, void 0, function* () {\n try {\n yield import(\"inquirer\");\n yield import(\"commander\");\n }\n catch (_a) {\n halt(`typia has not been installed. Run \"npm i typia\" before.`);\n }\n const type = process.argv[2];\n if (type === \"generate\") {\n if (isHelp(process.argv.slice(3)) === false) {\n loadTtsc();\n loadTypeScript();\n }\n const { TypiaGenerateWizard } = yield import(\"./TypiaGenerateWizard.js\");\n yield TypiaGenerateWizard.generate();\n }\n else\n halt(USAGE);\n});\nmain().catch((exp) => {\n console.error(exp instanceof URIError ? exp.message : exp);\n process.exit(-1);\n});\n//# sourceMappingURL=typia.js.map"],"names":[],"mappings":";;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;"}
|
package/lib/functional2.mjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { __exports as functional } from './_virtual/functional.mjs';
|
|
2
|
-
import './transformers/NoTransformConfigurationError2.mjs';
|
|
3
|
-
import { __exports as NoTransformConfigurationError } from './_virtual/NoTransformConfigurationError.mjs';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(functional, "__esModule", { value: true });
|
|
6
|
-
var assertFunction_1 = functional.assertFunction = assertFunction;
|
|
7
|
-
var assertParameters_1 = functional.assertParameters = assertParameters;
|
|
8
|
-
var assertReturn_1 = functional.assertReturn = assertReturn;
|
|
9
|
-
var assertEqualsFunction_1 = functional.assertEqualsFunction = assertEqualsFunction;
|
|
10
|
-
var assertEqualsParameters_1 = functional.assertEqualsParameters = assertEqualsParameters;
|
|
11
|
-
var assertEqualsReturn_1 = functional.assertEqualsReturn = assertEqualsReturn;
|
|
12
|
-
var isFunction_1 = functional.isFunction = isFunction;
|
|
13
|
-
var isParameters_1 = functional.isParameters = isParameters;
|
|
14
|
-
var isReturn_1 = functional.isReturn = isReturn;
|
|
15
|
-
var equalsFunction_1 = functional.equalsFunction = equalsFunction;
|
|
16
|
-
var equalsParameters_1 = functional.equalsParameters = equalsParameters;
|
|
17
|
-
var equalsReturn_1 = functional.equalsReturn = equalsReturn;
|
|
18
|
-
var validateFunction_1 = functional.validateFunction = validateFunction;
|
|
19
|
-
var validateParameters_1 = functional.validateParameters = validateParameters;
|
|
20
|
-
var validateReturn_1 = functional.validateReturn = validateReturn;
|
|
21
|
-
var validateEqualsFunction_1 = functional.validateEqualsFunction = validateEqualsFunction;
|
|
22
|
-
var validateEqualsParameters_1 = functional.validateEqualsParameters = validateEqualsParameters;
|
|
23
|
-
var validateEqualsReturn_1 = functional.validateEqualsReturn = validateEqualsReturn;
|
|
24
|
-
const NoTransformConfigurationError_1 = NoTransformConfigurationError;
|
|
25
|
-
/** @internal */
|
|
26
|
-
function assertFunction() {
|
|
27
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertFunction");
|
|
28
|
-
}
|
|
29
|
-
/** @internal */
|
|
30
|
-
function assertParameters() {
|
|
31
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertParameters");
|
|
32
|
-
}
|
|
33
|
-
/** @internal */
|
|
34
|
-
function assertReturn() {
|
|
35
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertReturn");
|
|
36
|
-
}
|
|
37
|
-
/** @internal */
|
|
38
|
-
function assertEqualsFunction() {
|
|
39
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertEqualsFunction");
|
|
40
|
-
}
|
|
41
|
-
/** @internal */
|
|
42
|
-
function assertEqualsParameters() {
|
|
43
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertEqualsParameters");
|
|
44
|
-
}
|
|
45
|
-
/** @internal */
|
|
46
|
-
function assertEqualsReturn() {
|
|
47
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.assertEqualsReturn");
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
function isFunction() {
|
|
51
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.isFunction");
|
|
52
|
-
}
|
|
53
|
-
/** @internal */
|
|
54
|
-
function isParameters() {
|
|
55
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.isParameters");
|
|
56
|
-
}
|
|
57
|
-
/** @internal */
|
|
58
|
-
function isReturn() {
|
|
59
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.isReturn");
|
|
60
|
-
}
|
|
61
|
-
/** @internal */
|
|
62
|
-
function equalsFunction() {
|
|
63
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.equalsFunction");
|
|
64
|
-
}
|
|
65
|
-
/** @internal */
|
|
66
|
-
function equalsParameters() {
|
|
67
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.equalsParameters");
|
|
68
|
-
}
|
|
69
|
-
/** @internal */
|
|
70
|
-
function equalsReturn() {
|
|
71
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.equalsReturn");
|
|
72
|
-
}
|
|
73
|
-
/** @internal */
|
|
74
|
-
function validateFunction() {
|
|
75
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateFunction");
|
|
76
|
-
}
|
|
77
|
-
/** @internal */
|
|
78
|
-
function validateParameters() {
|
|
79
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateParameters");
|
|
80
|
-
}
|
|
81
|
-
/** @internal */
|
|
82
|
-
function validateReturn() {
|
|
83
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateReturn");
|
|
84
|
-
}
|
|
85
|
-
/** @internal */
|
|
86
|
-
function validateEqualsFunction() {
|
|
87
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateEqualsFunction");
|
|
88
|
-
}
|
|
89
|
-
/** @internal */
|
|
90
|
-
function validateEqualsParameters() {
|
|
91
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateEqualsParameters");
|
|
92
|
-
}
|
|
93
|
-
/** @internal */
|
|
94
|
-
function validateEqualsReturn() {
|
|
95
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("functional.validateEqualsReturn");
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export { assertEqualsFunction_1 as assertEqualsFunction, assertEqualsParameters_1 as assertEqualsParameters, assertEqualsReturn_1 as assertEqualsReturn, assertFunction_1 as assertFunction, assertParameters_1 as assertParameters, assertReturn_1 as assertReturn, functional as default, equalsFunction_1 as equalsFunction, equalsParameters_1 as equalsParameters, equalsReturn_1 as equalsReturn, isFunction_1 as isFunction, isParameters_1 as isParameters, isReturn_1 as isReturn, validateEqualsFunction_1 as validateEqualsFunction, validateEqualsParameters_1 as validateEqualsParameters, validateEqualsReturn_1 as validateEqualsReturn, validateFunction_1 as validateFunction, validateParameters_1 as validateParameters, validateReturn_1 as validateReturn };
|
|
99
|
-
//# sourceMappingURL=functional2.mjs.map
|
package/lib/functional2.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"functional2.mjs","sources":["functional.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertFunction = assertFunction;\nexports.assertParameters = assertParameters;\nexports.assertReturn = assertReturn;\nexports.assertEqualsFunction = assertEqualsFunction;\nexports.assertEqualsParameters = assertEqualsParameters;\nexports.assertEqualsReturn = assertEqualsReturn;\nexports.isFunction = isFunction;\nexports.isParameters = isParameters;\nexports.isReturn = isReturn;\nexports.equalsFunction = equalsFunction;\nexports.equalsParameters = equalsParameters;\nexports.equalsReturn = equalsReturn;\nexports.validateFunction = validateFunction;\nexports.validateParameters = validateParameters;\nexports.validateReturn = validateReturn;\nexports.validateEqualsFunction = validateEqualsFunction;\nexports.validateEqualsParameters = validateEqualsParameters;\nexports.validateEqualsReturn = validateEqualsReturn;\nconst NoTransformConfigurationError_1 = require(\"./transformers/NoTransformConfigurationError\");\n/** @internal */\nfunction assertFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertFunction\");\n}\n/** @internal */\nfunction assertParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertParameters\");\n}\n/** @internal */\nfunction assertReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertReturn\");\n}\n/** @internal */\nfunction assertEqualsFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertEqualsFunction\");\n}\n/** @internal */\nfunction assertEqualsParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertEqualsParameters\");\n}\n/** @internal */\nfunction assertEqualsReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.assertEqualsReturn\");\n}\n/** @internal */\nfunction isFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.isFunction\");\n}\n/** @internal */\nfunction isParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.isParameters\");\n}\n/** @internal */\nfunction isReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.isReturn\");\n}\n/** @internal */\nfunction equalsFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.equalsFunction\");\n}\n/** @internal */\nfunction equalsParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.equalsParameters\");\n}\n/** @internal */\nfunction equalsReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.equalsReturn\");\n}\n/** @internal */\nfunction validateFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateFunction\");\n}\n/** @internal */\nfunction validateParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateParameters\");\n}\n/** @internal */\nfunction validateReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateReturn\");\n}\n/** @internal */\nfunction validateEqualsFunction() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateEqualsFunction\");\n}\n/** @internal */\nfunction validateEqualsParameters() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateEqualsParameters\");\n}\n/** @internal */\nfunction validateEqualsReturn() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"functional.validateEqualsReturn\");\n}\n//# sourceMappingURL=functional.js.map"],"names":["require$$0"],"mappings":";;;;AACA,MAAM,CAAC,cAAc,CAAC,UAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,IAAA,gBAAA,GAAA,UAAA,CAAA,cAAsB,GAAG;AACzB,IAAA,kBAAA,GAAA,UAAA,CAAA,gBAAwB,GAAG;AAC3B,IAAA,cAAA,GAAA,UAAA,CAAA,YAAoB,GAAG;AACvB,IAAA,sBAAA,GAAA,UAAA,CAAA,oBAA4B,GAAG;AAC/B,IAAA,wBAAA,GAAA,UAAA,CAAA,sBAA8B,GAAG;AACjC,IAAA,oBAAA,GAAA,UAAA,CAAA,kBAA0B,GAAG;AAC7B,IAAA,YAAA,GAAA,UAAA,CAAA,UAAkB,GAAG;AACrB,IAAA,cAAA,GAAA,UAAA,CAAA,YAAoB,GAAG;AACvB,IAAA,UAAA,GAAA,UAAA,CAAA,QAAgB,GAAG;AACnB,IAAA,gBAAA,GAAA,UAAA,CAAA,cAAsB,GAAG;AACzB,IAAA,kBAAA,GAAA,UAAA,CAAA,gBAAwB,GAAG;AAC3B,IAAA,cAAA,GAAA,UAAA,CAAA,YAAoB,GAAG;AACvB,IAAA,kBAAA,GAAA,UAAA,CAAA,gBAAwB,GAAG;AAC3B,IAAA,oB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,2BAA2B,CAAC;AACnG;AACA;AACA,SAAS,gBAAgB,GAAG;AAC5B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,6BAA6B,CAAC;AACrG;AACA;AACA,SAAS,YAAY,GAAG;AACxB,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,yBAAyB,CAAC;AACjG;AACA;AACA,SAAS,gBAAgB,GAAG;AAC5B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,6BAA6B,CAAC;AACrG;AACA;AACA,SAAS,kBAAkB,GAAG;AAC9B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,+BAA+B,CAAC;AACvG;AACA;AACA,SAAS,cAAc,GAAG;AAC1B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,2BAA2B,CAAC;AACnG;AACA;AACA,SAAS,sBAAsB,GAAG;AAClC,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,mCAAmC,CAAC;AAC3G;AACA;AACA,SAAS,wBAAwB,GAAG;AACpC,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,qCAAqC,CAAC;AAC7G;AACA;AACA,SAAS,oBAAoB,GAAG;AAChC,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,iCAAiC,CAAC;AACzG;;;;"}
|
package/lib/http2.mjs
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { __exports as http } from './_virtual/http.mjs';
|
|
2
|
-
import './transformers/NoTransformConfigurationError2.mjs';
|
|
3
|
-
import { __exports as NoTransformConfigurationError } from './_virtual/NoTransformConfigurationError.mjs';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(http, "__esModule", { value: true });
|
|
6
|
-
var formData_1 = http.formData = formData;
|
|
7
|
-
var assertFormData_1 = http.assertFormData = assertFormData;
|
|
8
|
-
var isFormData_1 = http.isFormData = isFormData;
|
|
9
|
-
var validateFormData_1 = http.validateFormData = validateFormData;
|
|
10
|
-
var query_1 = http.query = query;
|
|
11
|
-
var assertQuery_1 = http.assertQuery = assertQuery;
|
|
12
|
-
var isQuery_1 = http.isQuery = isQuery;
|
|
13
|
-
var validateQuery_1 = http.validateQuery = validateQuery;
|
|
14
|
-
var headers_1 = http.headers = headers;
|
|
15
|
-
var assertHeaders_1 = http.assertHeaders = assertHeaders;
|
|
16
|
-
var isHeaders_1 = http.isHeaders = isHeaders;
|
|
17
|
-
var validateHeaders_1 = http.validateHeaders = validateHeaders;
|
|
18
|
-
var parameter_1 = http.parameter = parameter;
|
|
19
|
-
var createFormData_1 = http.createFormData = createFormData;
|
|
20
|
-
var createAssertFormData_1 = http.createAssertFormData = createAssertFormData;
|
|
21
|
-
var createIsFormData_1 = http.createIsFormData = createIsFormData;
|
|
22
|
-
var createValidateFormData_1 = http.createValidateFormData = createValidateFormData;
|
|
23
|
-
var createQuery_1 = http.createQuery = createQuery;
|
|
24
|
-
var createAssertQuery_1 = http.createAssertQuery = createAssertQuery;
|
|
25
|
-
var createIsQuery_1 = http.createIsQuery = createIsQuery;
|
|
26
|
-
var createValidateQuery_1 = http.createValidateQuery = createValidateQuery;
|
|
27
|
-
var createHeaders_1 = http.createHeaders = createHeaders;
|
|
28
|
-
var createAssertHeaders_1 = http.createAssertHeaders = createAssertHeaders;
|
|
29
|
-
var createIsHeaders_1 = http.createIsHeaders = createIsHeaders;
|
|
30
|
-
var createValidateHeaders_1 = http.createValidateHeaders = createValidateHeaders;
|
|
31
|
-
var createParameter_1 = http.createParameter = createParameter;
|
|
32
|
-
const NoTransformConfigurationError_1 = NoTransformConfigurationError;
|
|
33
|
-
/** @internal */
|
|
34
|
-
function formData() {
|
|
35
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.formData");
|
|
36
|
-
}
|
|
37
|
-
/** @internal */
|
|
38
|
-
function assertFormData() {
|
|
39
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.assertFormData");
|
|
40
|
-
}
|
|
41
|
-
/** @internal */
|
|
42
|
-
function isFormData() {
|
|
43
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.isFormData");
|
|
44
|
-
}
|
|
45
|
-
/** @internal */
|
|
46
|
-
function validateFormData() {
|
|
47
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.validateFormData");
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
function query() {
|
|
51
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.query");
|
|
52
|
-
}
|
|
53
|
-
/** @internal */
|
|
54
|
-
function assertQuery() {
|
|
55
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.assertQuery");
|
|
56
|
-
}
|
|
57
|
-
/** @internal */
|
|
58
|
-
function isQuery() {
|
|
59
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.isQuery");
|
|
60
|
-
}
|
|
61
|
-
/** @internal */
|
|
62
|
-
function validateQuery() {
|
|
63
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.validateQuery");
|
|
64
|
-
}
|
|
65
|
-
/** @internal */
|
|
66
|
-
function headers() {
|
|
67
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.headers");
|
|
68
|
-
}
|
|
69
|
-
/** @internal */
|
|
70
|
-
function assertHeaders() {
|
|
71
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.assertHeaders");
|
|
72
|
-
}
|
|
73
|
-
/** @internal */
|
|
74
|
-
function isHeaders() {
|
|
75
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.isHeaders");
|
|
76
|
-
}
|
|
77
|
-
/** @internal */
|
|
78
|
-
function validateHeaders() {
|
|
79
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.validateHeaders");
|
|
80
|
-
}
|
|
81
|
-
/** @internal */
|
|
82
|
-
function parameter() {
|
|
83
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.parameter");
|
|
84
|
-
}
|
|
85
|
-
/** @internal */
|
|
86
|
-
function createFormData() {
|
|
87
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createFormData");
|
|
88
|
-
}
|
|
89
|
-
/** @internal */
|
|
90
|
-
function createAssertFormData() {
|
|
91
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createAssertFormData");
|
|
92
|
-
}
|
|
93
|
-
/** @internal */
|
|
94
|
-
function createIsFormData() {
|
|
95
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createIsFormData");
|
|
96
|
-
}
|
|
97
|
-
/** @internal */
|
|
98
|
-
function createValidateFormData() {
|
|
99
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createValidateFormData");
|
|
100
|
-
}
|
|
101
|
-
/** @internal */
|
|
102
|
-
function createQuery() {
|
|
103
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createQuery");
|
|
104
|
-
}
|
|
105
|
-
/** @internal */
|
|
106
|
-
function createAssertQuery() {
|
|
107
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createAssertQuery");
|
|
108
|
-
}
|
|
109
|
-
/** @internal */
|
|
110
|
-
function createIsQuery() {
|
|
111
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createIsQuery");
|
|
112
|
-
}
|
|
113
|
-
/** @internal */
|
|
114
|
-
function createValidateQuery() {
|
|
115
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createValidateQuery");
|
|
116
|
-
}
|
|
117
|
-
/** @internal */
|
|
118
|
-
function createHeaders() {
|
|
119
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createHeaders");
|
|
120
|
-
}
|
|
121
|
-
/** @internal */
|
|
122
|
-
function createAssertHeaders() {
|
|
123
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createAssertHeaders");
|
|
124
|
-
}
|
|
125
|
-
/** @internal */
|
|
126
|
-
function createIsHeaders() {
|
|
127
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createIsHeaders");
|
|
128
|
-
}
|
|
129
|
-
/** @internal */
|
|
130
|
-
function createValidateHeaders() {
|
|
131
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createValidateHeaders");
|
|
132
|
-
}
|
|
133
|
-
/** @internal */
|
|
134
|
-
function createParameter() {
|
|
135
|
-
(0, NoTransformConfigurationError_1.NoTransformConfigurationError)("http.createParameter");
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export { assertFormData_1 as assertFormData, assertHeaders_1 as assertHeaders, assertQuery_1 as assertQuery, createAssertFormData_1 as createAssertFormData, createAssertHeaders_1 as createAssertHeaders, createAssertQuery_1 as createAssertQuery, createFormData_1 as createFormData, createHeaders_1 as createHeaders, createIsFormData_1 as createIsFormData, createIsHeaders_1 as createIsHeaders, createIsQuery_1 as createIsQuery, createParameter_1 as createParameter, createQuery_1 as createQuery, createValidateFormData_1 as createValidateFormData, createValidateHeaders_1 as createValidateHeaders, createValidateQuery_1 as createValidateQuery, http as default, formData_1 as formData, headers_1 as headers, isFormData_1 as isFormData, isHeaders_1 as isHeaders, isQuery_1 as isQuery, parameter_1 as parameter, query_1 as query, validateFormData_1 as validateFormData, validateHeaders_1 as validateHeaders, validateQuery_1 as validateQuery };
|
|
139
|
-
//# sourceMappingURL=http2.mjs.map
|
package/lib/http2.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http2.mjs","sources":["http.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formData = formData;\nexports.assertFormData = assertFormData;\nexports.isFormData = isFormData;\nexports.validateFormData = validateFormData;\nexports.query = query;\nexports.assertQuery = assertQuery;\nexports.isQuery = isQuery;\nexports.validateQuery = validateQuery;\nexports.headers = headers;\nexports.assertHeaders = assertHeaders;\nexports.isHeaders = isHeaders;\nexports.validateHeaders = validateHeaders;\nexports.parameter = parameter;\nexports.createFormData = createFormData;\nexports.createAssertFormData = createAssertFormData;\nexports.createIsFormData = createIsFormData;\nexports.createValidateFormData = createValidateFormData;\nexports.createQuery = createQuery;\nexports.createAssertQuery = createAssertQuery;\nexports.createIsQuery = createIsQuery;\nexports.createValidateQuery = createValidateQuery;\nexports.createHeaders = createHeaders;\nexports.createAssertHeaders = createAssertHeaders;\nexports.createIsHeaders = createIsHeaders;\nexports.createValidateHeaders = createValidateHeaders;\nexports.createParameter = createParameter;\nconst NoTransformConfigurationError_1 = require(\"./transformers/NoTransformConfigurationError\");\n/** @internal */\nfunction formData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.formData\");\n}\n/** @internal */\nfunction assertFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.assertFormData\");\n}\n/** @internal */\nfunction isFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.isFormData\");\n}\n/** @internal */\nfunction validateFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.validateFormData\");\n}\n/** @internal */\nfunction query() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.query\");\n}\n/** @internal */\nfunction assertQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.assertQuery\");\n}\n/** @internal */\nfunction isQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.isQuery\");\n}\n/** @internal */\nfunction validateQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.validateQuery\");\n}\n/** @internal */\nfunction headers() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.headers\");\n}\n/** @internal */\nfunction assertHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.assertHeaders\");\n}\n/** @internal */\nfunction isHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.isHeaders\");\n}\n/** @internal */\nfunction validateHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.validateHeaders\");\n}\n/** @internal */\nfunction parameter() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.parameter\");\n}\n/** @internal */\nfunction createFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createFormData\");\n}\n/** @internal */\nfunction createAssertFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createAssertFormData\");\n}\n/** @internal */\nfunction createIsFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createIsFormData\");\n}\n/** @internal */\nfunction createValidateFormData() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createValidateFormData\");\n}\n/** @internal */\nfunction createQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createQuery\");\n}\n/** @internal */\nfunction createAssertQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createAssertQuery\");\n}\n/** @internal */\nfunction createIsQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createIsQuery\");\n}\n/** @internal */\nfunction createValidateQuery() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createValidateQuery\");\n}\n/** @internal */\nfunction createHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createHeaders\");\n}\n/** @internal */\nfunction createAssertHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createAssertHeaders\");\n}\n/** @internal */\nfunction createIsHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createIsHeaders\");\n}\n/** @internal */\nfunction createValidateHeaders() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createValidateHeaders\");\n}\n/** @internal */\nfunction createParameter() {\n (0, NoTransformConfigurationError_1.NoTransformConfigurationError)(\"http.createParameter\");\n}\n//# sourceMappingURL=http.js.map"],"names":["require$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e,GAAG;AAC3B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,sBAAsB,CAAC;AAC9F;AACA;AACA,SAAS,qBAAqB,GAAG;AACjC,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,4BAA4B,CAAC;AACpG;AACA;AACA,SAAS,eAAe,GAAG;AAC3B,IAAI,IAAI,+BAA+B,CAAC,6BAA6B,EAAE,sBAAsB,CAAC;AAC9F;;;;"}
|
package/lib/index2.mjs
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from './_virtual/_commonjsHelpers.mjs';
|
|
2
|
-
import { __exports as lib } from './_virtual/index.mjs';
|
|
3
|
-
import './module2.mjs';
|
|
4
|
-
import { __exports as module$1 } from './_virtual/module.mjs';
|
|
5
|
-
|
|
6
|
-
(function (exports$1) {
|
|
7
|
-
var __createBinding = (lib && lib.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
-
if (k2 === undefined) k2 = k;
|
|
9
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
-
}
|
|
13
|
-
Object.defineProperty(o, k2, desc);
|
|
14
|
-
}) : (function(o, m, k, k2) {
|
|
15
|
-
if (k2 === undefined) k2 = k;
|
|
16
|
-
o[k2] = m[k];
|
|
17
|
-
}));
|
|
18
|
-
var __setModuleDefault = (lib && lib.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
-
}) : function(o, v) {
|
|
21
|
-
o["default"] = v;
|
|
22
|
-
});
|
|
23
|
-
var __importStar = (lib && lib.__importStar) || (function () {
|
|
24
|
-
var ownKeys = function(o) {
|
|
25
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26
|
-
var ar = [];
|
|
27
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
28
|
-
return ar;
|
|
29
|
-
};
|
|
30
|
-
return ownKeys(o);
|
|
31
|
-
};
|
|
32
|
-
return function (mod) {
|
|
33
|
-
if (mod && mod.__esModule) return mod;
|
|
34
|
-
var result = {};
|
|
35
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
36
|
-
__setModuleDefault(result, mod);
|
|
37
|
-
return result;
|
|
38
|
-
};
|
|
39
|
-
})();
|
|
40
|
-
var __exportStar = (lib && lib.__exportStar) || function(m, exports$1) {
|
|
41
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
|
|
42
|
-
};
|
|
43
|
-
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
44
|
-
const typia = __importStar(module$1);
|
|
45
|
-
exports$1.default = typia;
|
|
46
|
-
__exportStar(module$1, exports$1);
|
|
47
|
-
|
|
48
|
-
} (lib));
|
|
49
|
-
|
|
50
|
-
var index = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
51
|
-
|
|
52
|
-
export { index as default };
|
|
53
|
-
//# sourceMappingURL=index2.mjs.map
|
package/lib/index2.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index2.mjs","sources":["index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst typia = __importStar(require(\"./module\"));\nexports.default = typia;\n__exportStar(require(\"./module\"), exports);\n//# sourceMappingURL=index.js.map"],"names":["this","exports","require$$0"],"mappings":";;;;;;CACA,IAAI,eAAe,GAAG,CAACA,GAAI,IAAIA,GAAI,CAAC,eAAe,MAAM,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE;AAChG,KAAI,IAAI,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG,CAAC;KAC5B,IAAI,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC;KAChD,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;AACvF,OAAM,IAAI,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;AACnE,KAAA;KACI,MAAM,CA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rC,IAAI,MAAM,GAAG,EAAE;SACf,IAAI,GAAG,IAAI,IAAI,EAAE,KAAK,IAAI,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,eAAe,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACxI,SAAQ,kBAAkB,CAAC,MAAM,EAAE,GAAG,CAAC;AACvC,SAAQ,OAAO,MAAM;KACrB,CAAK;AACL,CAAA,CAAC,GAAG;AACJ,CAAA,IAAI,YAAY,GAAG,CAACA,GAAI,IAAIA,GAAI,CAAC,YAAY,KAAK,SAAS,CAAC,EAAEC,SAAO,EAAE;AACvE,KAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAACA,SAAO,EAAE,CAAC,CAAC,EAAE,eAAe,CAACA,SAAO,EAAE,CAAC,EAAE,CAAC,CAAC;CAC7H,CAAC;CACD,MAAM,CAAC,cAAc,CAAAA,SAAA,EAAU,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,CAAA,MAAM,KAAK,GAAG,YAAY,CAACC,QAAmB,CAAC;AAC/C,CAAAD,SAAA,CAAA,OAAA,GAAkB,KAAK;AACvB,CAAA,YAAY,CAACC,QAAmB,EAAED,SAAO,CAAC;AAC1C;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_IProtobufWriter.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_IProtobufWriter2.mjs","sources":["_IProtobufWriter.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=_IProtobufWriter.js.map"],"names":[],"mappings":";;AACA,MAAM,CAAC,cAAc,CAAC,gBAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;;;"}
|