typia 5.3.12-dev.20240118 → 6.0.0-dev.20240119
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/IRandomGenerator.d.ts +1 -0
- package/lib/TypeGuardError.js +1 -4
- package/lib/TypeGuardError.js.map +1 -1
- package/lib/executable/TypiaGenerateWizard.js +23 -24
- package/lib/executable/TypiaGenerateWizard.js.map +1 -1
- package/lib/executable/TypiaPatchWizard.js +9 -9
- package/lib/executable/TypiaPatchWizard.js.map +1 -1
- package/lib/executable/TypiaSetupWizard.js +20 -29
- package/lib/executable/TypiaSetupWizard.js.map +1 -1
- package/lib/executable/setup/ArgumentParser.js +5 -5
- package/lib/executable/setup/ArgumentParser.js.map +1 -1
- package/lib/executable/setup/PackageManager.js +8 -8
- package/lib/executable/setup/PackageManager.js.map +1 -1
- package/lib/executable/setup/PluginConfigurator.js +4 -5
- package/lib/executable/setup/PluginConfigurator.js.map +1 -1
- package/lib/executable/typia.js +21 -21
- package/lib/executable/typia.js.map +1 -1
- package/lib/factories/CommentFactory.js +0 -2
- package/lib/factories/CommentFactory.js.map +1 -1
- package/lib/factories/IdentifierFactory.js +0 -2
- package/lib/factories/IdentifierFactory.js.map +1 -1
- package/lib/factories/LiteralFactory.js +0 -1
- package/lib/factories/LiteralFactory.js.map +1 -1
- package/lib/factories/MetadataCollection.js +1 -19
- package/lib/factories/MetadataCollection.js.map +1 -1
- package/lib/factories/MetadataCommentTagFactory.js +0 -19
- package/lib/factories/MetadataCommentTagFactory.js.map +1 -1
- package/lib/factories/MetadataFactory.js +0 -3
- package/lib/factories/MetadataFactory.js.map +1 -1
- package/lib/factories/MetadataTypeTagFactory.js +3 -25
- package/lib/factories/MetadataTypeTagFactory.js.map +1 -1
- package/lib/factories/ProtobufFactory.js +0 -39
- package/lib/factories/ProtobufFactory.js.map +1 -1
- package/lib/factories/TypeFactory.js +0 -9
- package/lib/factories/TypeFactory.js.map +1 -1
- package/lib/factories/internal/metadata/emend_metadata_atomics.js +0 -3
- package/lib/factories/internal/metadata/emend_metadata_atomics.js.map +1 -1
- package/lib/factories/internal/metadata/emplace_metadata_alias.js +0 -2
- package/lib/factories/internal/metadata/emplace_metadata_alias.js.map +1 -1
- package/lib/factories/internal/metadata/emplace_metadata_array_type.js +0 -2
- package/lib/factories/internal/metadata/emplace_metadata_array_type.js.map +1 -1
- package/lib/factories/internal/metadata/emplace_metadata_object.js +0 -15
- package/lib/factories/internal/metadata/emplace_metadata_object.js.map +1 -1
- package/lib/factories/internal/metadata/emplace_metadata_tuple.js +0 -4
- package/lib/factories/internal/metadata/emplace_metadata_tuple.js.map +1 -1
- package/lib/factories/internal/metadata/explore_metadata.js +0 -2
- package/lib/factories/internal/metadata/explore_metadata.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata.js +0 -2
- package/lib/factories/internal/metadata/iterate_metadata.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_alias.js +0 -1
- package/lib/factories/internal/metadata/iterate_metadata_alias.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_atomic.js +0 -2
- package/lib/factories/internal/metadata/iterate_metadata_atomic.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_intersection.js +0 -7
- package/lib/factories/internal/metadata/iterate_metadata_intersection.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_object.js +0 -10
- package/lib/factories/internal/metadata/iterate_metadata_object.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_sort.js +0 -3
- package/lib/factories/internal/metadata/iterate_metadata_sort.js.map +1 -1
- package/lib/factories/internal/metadata/iterate_metadata_template.js +0 -2
- package/lib/factories/internal/metadata/iterate_metadata_template.js.map +1 -1
- package/lib/functional/$HeadersReader.js +35 -0
- package/lib/functional/$HeadersReader.js.map +1 -0
- package/lib/functional/$ParameterReader.d.ts +1 -0
- package/lib/functional/$ParameterReader.js +35 -0
- package/lib/functional/$ParameterReader.js.map +1 -0
- package/lib/functional/$ProtobufReader.d.ts +1 -35
- package/lib/functional/$ProtobufReader.js +11 -13
- package/lib/functional/$ProtobufReader.js.map +1 -1
- package/lib/functional/$ProtobufSizer.d.ts +1 -36
- package/lib/functional/$ProtobufSizer.js +13 -28
- package/lib/functional/$ProtobufSizer.js.map +1 -1
- package/lib/functional/$ProtobufWriter.d.ts +1 -45
- package/lib/functional/$ProtobufWriter.js +9 -11
- package/lib/functional/$ProtobufWriter.js.map +1 -1
- package/lib/functional/$QueryReader.d.ts +1 -0
- package/lib/functional/$QueryReader.js +60 -0
- package/lib/functional/$QueryReader.js.map +1 -0
- package/lib/functional/$camel.d.ts +1 -0
- package/lib/functional/$camel.js +7 -0
- package/lib/functional/$camel.js.map +1 -0
- package/lib/functional/$clone.d.ts +1 -2
- package/lib/functional/$clone.js +1 -1
- package/lib/functional/$clone.js.map +1 -1
- package/lib/functional/$convention.d.ts +1 -1
- package/lib/functional/$convention.js.map +1 -1
- package/lib/functional/$generator.d.ts +1 -0
- package/lib/functional/$generator.js +6 -0
- package/lib/functional/$generator.js.map +1 -0
- package/lib/functional/$guard.js +0 -20
- package/lib/functional/$guard.js.map +1 -1
- package/lib/functional/$is_between.d.ts +1 -1
- package/lib/functional/$is_between.js.map +1 -1
- package/lib/functional/$join.d.ts +1 -1
- package/lib/functional/$join.js.map +1 -1
- package/lib/functional/$number.d.ts +1 -1
- package/lib/functional/$number.js.map +1 -1
- package/lib/functional/$pascal.d.ts +1 -0
- package/lib/functional/$pascal.js +7 -0
- package/lib/functional/$pascal.js.map +1 -0
- package/lib/functional/$report.d.ts +1 -2
- package/lib/functional/$report.js.map +1 -1
- package/lib/functional/$rest.d.ts +1 -1
- package/lib/functional/$rest.js.map +1 -1
- package/lib/functional/$snake.d.ts +1 -0
- package/lib/functional/$snake.js +7 -0
- package/lib/functional/$snake.js.map +1 -0
- package/lib/functional/$stoll.d.ts +1 -1
- package/lib/functional/$stoll.js.map +1 -1
- package/lib/functional/$string.js +2 -18
- package/lib/functional/$string.js.map +1 -1
- package/lib/functional/$strlen.d.ts +1 -1
- package/lib/functional/$strlen.js.map +1 -1
- package/lib/functional/$tail.js +0 -3
- package/lib/functional/$tail.js.map +1 -1
- package/lib/functional/$throws.d.ts +1 -2
- package/lib/functional/$throws.js.map +1 -1
- package/lib/functional/IProtobufWriter.d.ts +1 -15
- package/lib/http.d.ts +36 -150
- package/lib/http.js +18 -149
- package/lib/http.js.map +1 -1
- package/lib/json.d.ts +27 -119
- package/lib/json.js +14 -108
- package/lib/json.js.map +1 -1
- package/lib/misc.d.ts +30 -130
- package/lib/misc.js +16 -132
- package/lib/misc.js.map +1 -1
- package/lib/module.d.ts +36 -125
- package/lib/module.js +18 -94
- package/lib/module.js.map +1 -1
- package/lib/notations.d.ts +45 -309
- package/lib/notations.js +24 -187
- package/lib/notations.js.map +1 -1
- package/lib/programmers/AssertProgrammer.js +4 -29
- package/lib/programmers/AssertProgrammer.js.map +1 -1
- package/lib/programmers/CheckerProgrammer.d.ts +1 -1
- package/lib/programmers/CheckerProgrammer.js +0 -35
- package/lib/programmers/CheckerProgrammer.js.map +1 -1
- package/lib/programmers/FeatureProgrammer.d.ts +1 -1
- package/lib/programmers/FeatureProgrammer.js +0 -11
- package/lib/programmers/FeatureProgrammer.js.map +1 -1
- package/lib/programmers/IsProgrammer.d.ts +1 -1
- package/lib/programmers/IsProgrammer.js +4 -13
- package/lib/programmers/IsProgrammer.js.map +1 -1
- package/lib/programmers/RandomProgrammer.js +4 -17
- package/lib/programmers/RandomProgrammer.js.map +1 -1
- package/lib/programmers/TypiaProgrammer.js +37 -41
- package/lib/programmers/TypiaProgrammer.js.map +1 -1
- package/lib/programmers/ValidateProgrammer.js +6 -4
- package/lib/programmers/ValidateProgrammer.js.map +1 -1
- package/lib/programmers/helpers/{FunctionImporeter.d.ts → FunctionImporter.d.ts} +2 -2
- package/lib/programmers/helpers/{FunctionImporeter.js → FunctionImporter.js} +25 -9
- package/lib/programmers/helpers/FunctionImporter.js.map +1 -0
- package/lib/programmers/helpers/PruneJoiner.js +0 -1
- package/lib/programmers/helpers/PruneJoiner.js.map +1 -1
- package/lib/programmers/helpers/RandomJoiner.js +0 -2
- package/lib/programmers/helpers/RandomJoiner.js.map +1 -1
- package/lib/programmers/helpers/RandomRanger.js +0 -8
- package/lib/programmers/helpers/RandomRanger.js.map +1 -1
- package/lib/programmers/helpers/StringifyJoinder.d.ts +1 -1
- package/lib/programmers/helpers/StringifyJoinder.js +1 -5
- package/lib/programmers/helpers/StringifyJoinder.js.map +1 -1
- package/lib/programmers/helpers/UnionExplorer.js +0 -10
- package/lib/programmers/helpers/UnionExplorer.js.map +1 -1
- package/lib/programmers/helpers/UnionPredicator.js +0 -5
- package/lib/programmers/helpers/UnionPredicator.js.map +1 -1
- package/lib/programmers/helpers/disable_function_importer_declare.d.ts +1 -1
- package/lib/programmers/helpers/disable_function_importer_declare.js +4 -2
- package/lib/programmers/helpers/disable_function_importer_declare.js.map +1 -1
- package/lib/programmers/http/HttpHeadersProgrammer.js +9 -25
- package/lib/programmers/http/HttpHeadersProgrammer.js.map +1 -1
- package/lib/programmers/http/HttpParameterProgrammer.js +4 -6
- package/lib/programmers/http/HttpParameterProgrammer.js.map +1 -1
- package/lib/programmers/http/HttpQueryProgrammer.js +6 -19
- package/lib/programmers/http/HttpQueryProgrammer.js.map +1 -1
- package/lib/programmers/internal/application_alias.js +0 -2
- package/lib/programmers/internal/application_alias.js.map +1 -1
- package/lib/programmers/internal/application_array.js +0 -5
- package/lib/programmers/internal/application_array.js.map +1 -1
- package/lib/programmers/internal/application_boolean.js +0 -3
- package/lib/programmers/internal/application_boolean.js.map +1 -1
- package/lib/programmers/internal/application_constant.js +0 -3
- package/lib/programmers/internal/application_constant.js.map +1 -1
- package/lib/programmers/internal/application_default.js +0 -3
- package/lib/programmers/internal/application_default.js.map +1 -1
- package/lib/programmers/internal/application_default_string.js +0 -5
- package/lib/programmers/internal/application_default_string.js.map +1 -1
- package/lib/programmers/internal/application_native.js +0 -3
- package/lib/programmers/internal/application_native.js.map +1 -1
- package/lib/programmers/internal/application_number.js +0 -5
- package/lib/programmers/internal/application_number.js.map +1 -1
- package/lib/programmers/internal/application_object.js +3 -16
- package/lib/programmers/internal/application_object.js.map +1 -1
- package/lib/programmers/internal/application_schema.js +0 -17
- package/lib/programmers/internal/application_schema.js.map +1 -1
- package/lib/programmers/internal/application_string.js +0 -5
- package/lib/programmers/internal/application_string.js.map +1 -1
- package/lib/programmers/internal/application_templates.js +0 -6
- package/lib/programmers/internal/application_templates.js.map +1 -1
- package/lib/programmers/internal/application_tuple.js +0 -3
- package/lib/programmers/internal/application_tuple.js.map +1 -1
- package/lib/programmers/internal/check_array_length.js +0 -3
- package/lib/programmers/internal/check_array_length.js.map +1 -1
- package/lib/programmers/internal/check_bigint.js +0 -6
- package/lib/programmers/internal/check_bigint.js.map +1 -1
- package/lib/programmers/internal/check_dynamic_key.d.ts +1 -1
- package/lib/programmers/internal/check_dynamic_key.js +0 -6
- package/lib/programmers/internal/check_dynamic_key.js.map +1 -1
- package/lib/programmers/internal/check_dynamic_properties.js +0 -13
- package/lib/programmers/internal/check_dynamic_properties.js.map +1 -1
- package/lib/programmers/internal/check_everything.js +0 -3
- package/lib/programmers/internal/check_everything.js.map +1 -1
- package/lib/programmers/internal/check_native.js +0 -3
- package/lib/programmers/internal/check_native.js.map +1 -1
- package/lib/programmers/internal/check_number.js +0 -6
- package/lib/programmers/internal/check_number.js.map +1 -1
- package/lib/programmers/internal/check_object.js +0 -9
- package/lib/programmers/internal/check_object.js.map +1 -1
- package/lib/programmers/internal/check_string.js +0 -6
- package/lib/programmers/internal/check_string.js.map +1 -1
- package/lib/programmers/internal/check_template.js +0 -6
- package/lib/programmers/internal/check_template.js.map +1 -1
- package/lib/programmers/internal/check_union_array_like.js +0 -4
- package/lib/programmers/internal/check_union_array_like.js.map +1 -1
- package/lib/programmers/internal/decode_union_object.js +0 -3
- package/lib/programmers/internal/decode_union_object.js.map +1 -1
- package/lib/programmers/internal/feature_object_entries.js +0 -3
- package/lib/programmers/internal/feature_object_entries.js.map +1 -1
- package/lib/programmers/internal/metadata_to_pattern.js +0 -3
- package/lib/programmers/internal/metadata_to_pattern.js.map +1 -1
- package/lib/programmers/internal/prune_object_properties.js +0 -3
- package/lib/programmers/internal/prune_object_properties.js.map +1 -1
- package/lib/programmers/internal/random_custom.js +0 -3
- package/lib/programmers/internal/random_custom.js.map +1 -1
- package/lib/programmers/internal/stringify_dynamic_properties.js +0 -11
- package/lib/programmers/internal/stringify_dynamic_properties.js.map +1 -1
- package/lib/programmers/internal/stringify_native.js +0 -3
- package/lib/programmers/internal/stringify_native.js.map +1 -1
- package/lib/programmers/internal/stringify_regular_properties.js +0 -7
- package/lib/programmers/internal/stringify_regular_properties.js.map +1 -1
- package/lib/programmers/internal/template_to_pattern.js +0 -3
- package/lib/programmers/internal/template_to_pattern.js.map +1 -1
- package/lib/programmers/json/JsonApplicationProgrammer.js +0 -3
- package/lib/programmers/json/JsonApplicationProgrammer.js.map +1 -1
- package/lib/programmers/json/JsonStringifyProgrammer.js +4 -40
- package/lib/programmers/json/JsonStringifyProgrammer.js.map +1 -1
- package/lib/programmers/misc/MiscCloneProgrammer.js +5 -29
- package/lib/programmers/misc/MiscCloneProgrammer.js.map +1 -1
- package/lib/programmers/misc/MiscPruneProgrammer.js +3 -23
- package/lib/programmers/misc/MiscPruneProgrammer.js.map +1 -1
- package/lib/programmers/notations/NotationGeneralProgrammer.js +177 -191
- package/lib/programmers/notations/NotationGeneralProgrammer.js.map +1 -1
- package/lib/programmers/protobuf/ProtobufDecodeProgrammer.js +4 -9
- package/lib/programmers/protobuf/ProtobufDecodeProgrammer.js.map +1 -1
- package/lib/programmers/protobuf/ProtobufEncodeProgrammer.js +21 -41
- package/lib/programmers/protobuf/ProtobufEncodeProgrammer.js.map +1 -1
- package/lib/programmers/protobuf/ProtobufMessageProgrammer.js +0 -6
- package/lib/programmers/protobuf/ProtobufMessageProgrammer.js.map +1 -1
- package/lib/protobuf.d.ts +31 -223
- package/lib/protobuf.js +16 -134
- package/lib/protobuf.js.map +1 -1
- package/lib/reflect.d.ts +2 -6
- package/lib/reflect.js +1 -8
- package/lib/reflect.js.map +1 -1
- package/lib/schemas/metadata/Metadata.js +2 -64
- package/lib/schemas/metadata/Metadata.js.map +1 -1
- package/lib/schemas/metadata/MetadataAlias.js +1 -13
- package/lib/schemas/metadata/MetadataAlias.js.map +1 -1
- package/lib/schemas/metadata/MetadataApplication.js +1 -7
- package/lib/schemas/metadata/MetadataApplication.js.map +1 -1
- package/lib/schemas/metadata/MetadataArray.js +1 -4
- package/lib/schemas/metadata/MetadataArray.js.map +1 -1
- package/lib/schemas/metadata/MetadataArrayType.js +1 -10
- package/lib/schemas/metadata/MetadataArrayType.js.map +1 -1
- package/lib/schemas/metadata/MetadataAtomic.js +1 -4
- package/lib/schemas/metadata/MetadataAtomic.js.map +1 -1
- package/lib/schemas/metadata/MetadataComponents.js +1 -4
- package/lib/schemas/metadata/MetadataComponents.js.map +1 -1
- package/lib/schemas/metadata/MetadataConstant.js +1 -1
- package/lib/schemas/metadata/MetadataEscaped.js +1 -10
- package/lib/schemas/metadata/MetadataEscaped.js.map +1 -1
- package/lib/schemas/metadata/MetadataObject.js +2 -30
- package/lib/schemas/metadata/MetadataObject.js.map +1 -1
- package/lib/schemas/metadata/MetadataProperty.js +1 -13
- package/lib/schemas/metadata/MetadataProperty.js.map +1 -1
- package/lib/schemas/metadata/MetadataTuple.js +1 -7
- package/lib/schemas/metadata/MetadataTuple.js.map +1 -1
- package/lib/schemas/metadata/MetadataTupleType.js +1 -7
- package/lib/schemas/metadata/MetadataTupleType.js.map +1 -1
- package/lib/transformers/CallExpressionTransformer.js +0 -34
- package/lib/transformers/CallExpressionTransformer.js.map +1 -1
- package/lib/transformers/FileTransformer.js +0 -2
- package/lib/transformers/FileTransformer.js.map +1 -1
- package/lib/transformers/TransformerError.js +1 -2
- package/lib/transformers/TransformerError.js.map +1 -1
- package/lib/transformers/features/CreateRandomTransformer.js +0 -3
- package/lib/transformers/features/CreateRandomTransformer.js.map +1 -1
- package/lib/transformers/features/RandomTransformer.js +0 -3
- package/lib/transformers/features/RandomTransformer.js.map +1 -1
- package/lib/transformers/features/json/JsonApplicationTransformer.js +0 -14
- package/lib/transformers/features/json/JsonApplicationTransformer.js.map +1 -1
- package/lib/transformers/features/misc/MiscLiteralsTransformer.js +0 -3
- package/lib/transformers/features/misc/MiscLiteralsTransformer.js.map +1 -1
- package/lib/transformers/features/protobuf/ProtobufMessageTransformer.js +0 -3
- package/lib/transformers/features/protobuf/ProtobufMessageTransformer.js.map +1 -1
- package/lib/transformers/features/reflect/ReflectMetadataTransformer.js +0 -4
- package/lib/transformers/features/reflect/ReflectMetadataTransformer.js.map +1 -1
- package/lib/transformers/internal/GenericTransformer.js +0 -6
- package/lib/transformers/internal/GenericTransformer.js.map +1 -1
- package/lib/utils/NamingConvention.d.ts +5 -0
- package/lib/utils/NamingConvention.js +115 -0
- package/lib/utils/NamingConvention.js.map +1 -0
- package/lib/utils/PatternUtil.js +3 -3
- package/lib/utils/PatternUtil.js.map +1 -1
- package/lib/utils/RandomGenerator.d.ts +1 -0
- package/lib/utils/RandomGenerator.js +66 -0
- package/lib/utils/RandomGenerator.js.map +1 -0
- package/lib/utils/Singleton.js +1 -1
- package/lib/utils/StringUtil.d.ts +3 -0
- package/lib/utils/StringUtil.js +10 -0
- package/lib/utils/StringUtil.js.map +1 -0
- package/package.json +2 -2
- package/src/IRandomGenerator.ts +2 -0
- package/src/functional/$HeadersReader.ts +37 -0
- package/src/functional/$ParameterReader.ts +40 -0
- package/src/functional/$ProtobufReader.ts +19 -5
- package/src/functional/$ProtobufSizer.ts +21 -11
- package/src/functional/$ProtobufWriter.ts +33 -8
- package/src/functional/$QueryReader.ts +65 -0
- package/src/functional/$camel.ts +8 -0
- package/src/functional/$clone.ts +4 -1
- package/src/functional/$convention.ts +3 -0
- package/src/functional/$generator.ts +6 -0
- package/src/functional/$is_between.ts +3 -0
- package/src/functional/$join.ts +12 -0
- package/src/functional/$number.ts +3 -0
- package/src/functional/$pascal.ts +8 -0
- package/src/functional/$report.ts +3 -0
- package/src/functional/$rest.ts +3 -0
- package/src/functional/$snake.ts +8 -0
- package/src/functional/$stoll.ts +3 -0
- package/src/functional/$string.ts +1 -1
- package/src/functional/$strlen.ts +3 -0
- package/src/functional/$throws.ts +9 -6
- package/src/functional/IProtobufWriter.ts +3 -0
- package/src/http.ts +54 -175
- package/src/json.ts +41 -95
- package/src/misc.ts +46 -108
- package/src/module.ts +54 -92
- package/src/notations.ts +70 -203
- package/src/programmers/AssertProgrammer.ts +3 -3
- package/src/programmers/CheckerProgrammer.ts +1 -1
- package/src/programmers/FeatureProgrammer.ts +1 -1
- package/src/programmers/IsProgrammer.ts +2 -2
- package/src/programmers/RandomProgrammer.ts +3 -3
- package/src/programmers/TypiaProgrammer.ts +1 -3
- package/src/programmers/ValidateProgrammer.ts +11 -8
- package/src/programmers/helpers/FunctionImporter.ts +128 -0
- package/src/programmers/helpers/StringifyJoinder.ts +3 -4
- package/src/programmers/helpers/disable_function_importer_declare.ts +4 -3
- package/src/programmers/http/HttpHeadersProgrammer.ts +8 -8
- package/src/programmers/http/HttpParameterProgrammer.ts +7 -5
- package/src/programmers/http/HttpQueryProgrammer.ts +14 -13
- package/src/programmers/internal/check_dynamic_key.ts +1 -1
- package/src/programmers/internal/check_dynamic_properties.ts +1 -1
- package/src/programmers/internal/check_object.ts +1 -1
- package/src/programmers/internal/feature_object_entries.ts +1 -1
- package/src/programmers/json/JsonStringifyProgrammer.ts +3 -3
- package/src/programmers/misc/MiscCloneProgrammer.ts +8 -6
- package/src/programmers/misc/MiscPruneProgrammer.ts +2 -2
- package/src/programmers/notations/NotationGeneralProgrammer.ts +529 -518
- package/src/programmers/protobuf/ProtobufDecodeProgrammer.ts +7 -5
- package/src/programmers/protobuf/ProtobufEncodeProgrammer.ts +13 -10
- package/src/protobuf.ts +47 -130
- package/src/reflect.ts +3 -6
- package/src/schemas/metadata/IMetadataConstant.ts +0 -7
- package/src/schemas/metadata/IMetadataObject.ts +0 -5
- package/src/schemas/metadata/MetadataObject.ts +1 -2
- package/src/transformers/CallExpressionTransformer.ts +28 -28
- package/src/utils/NamingConvention.ts +87 -0
- package/src/utils/RandomGenerator.ts +83 -0
- package/src/utils/StringUtil.ts +4 -0
- package/lib/functional/$HeadersReader/$HeadersReader.d.ts +0 -4
- package/lib/functional/$HeadersReader/$HeadersReader.js +0 -36
- package/lib/functional/$HeadersReader/$HeadersReader.js.map +0 -1
- package/lib/functional/$HeadersReader/index.d.ts +0 -1
- package/lib/functional/$HeadersReader/index.js +0 -28
- package/lib/functional/$HeadersReader/index.js.map +0 -1
- package/lib/functional/$ParameterReader/$ParameterReader.d.ts +0 -4
- package/lib/functional/$ParameterReader/$ParameterReader.js +0 -36
- package/lib/functional/$ParameterReader/$ParameterReader.js.map +0 -1
- package/lib/functional/$ParameterReader/index.d.ts +0 -1
- package/lib/functional/$ParameterReader/index.js +0 -28
- package/lib/functional/$ParameterReader/index.js.map +0 -1
- package/lib/functional/$QueryReader/$QueryReader.d.ts +0 -6
- package/lib/functional/$QueryReader/$QueryReader.js +0 -63
- package/lib/functional/$QueryReader/$QueryReader.js.map +0 -1
- package/lib/functional/$QueryReader/index.d.ts +0 -1
- package/lib/functional/$QueryReader/index.js +0 -28
- package/lib/functional/$QueryReader/index.js.map +0 -1
- package/lib/functional/$any.d.ts +0 -1
- package/lib/functional/$any.js +0 -9
- package/lib/functional/$any.js.map +0 -1
- package/lib/functional/$dictionary.d.ts +0 -2
- package/lib/functional/$dictionary.js +0 -18
- package/lib/functional/$dictionary.js.map +0 -1
- package/lib/functional/$every.d.ts +0 -2
- package/lib/functional/$every.js +0 -12
- package/lib/functional/$every.js.map +0 -1
- package/lib/functional/$varint.d.ts +0 -6
- package/lib/functional/$varint.js +0 -100
- package/lib/functional/$varint.js.map +0 -1
- package/lib/functional/$zigzag.d.ts +0 -4
- package/lib/functional/$zigzag.js +0 -36
- package/lib/functional/$zigzag.js.map +0 -1
- package/lib/functional/Namespace/http.d.ts +0 -6
- package/lib/functional/Namespace/http.js +0 -13
- package/lib/functional/Namespace/http.js.map +0 -1
- package/lib/functional/Namespace/index.d.ts +0 -29
- package/lib/functional/Namespace/index.js +0 -84
- package/lib/functional/Namespace/index.js.map +0 -1
- package/lib/functional/Namespace/json.d.ts +0 -9
- package/lib/functional/Namespace/json.js +0 -23
- package/lib/functional/Namespace/json.js.map +0 -1
- package/lib/functional/Namespace/misc.d.ts +0 -11
- package/lib/functional/Namespace/misc.js +0 -22
- package/lib/functional/Namespace/misc.js.map +0 -1
- package/lib/functional/Namespace/notations.d.ts +0 -18
- package/lib/functional/Namespace/notations.js +0 -26
- package/lib/functional/Namespace/notations.js.map +0 -1
- package/lib/functional/Namespace/protobuf.d.ts +0 -17
- package/lib/functional/Namespace/protobuf.js +0 -25
- package/lib/functional/Namespace/protobuf.js.map +0 -1
- package/lib/functional/is.js +0 -14
- package/lib/functional/is.js.map +0 -1
- package/lib/programmers/helpers/FunctionImporeter.js.map +0 -1
- package/lib/reflect/index.d.ts +0 -0
- package/lib/reflect/index.js +0 -2
- package/lib/reflect/index.js.map +0 -1
- package/lib/utils/NamingConvention/NamingConvention.d.ts +0 -3
- package/lib/utils/NamingConvention/NamingConvention.js +0 -112
- package/lib/utils/NamingConvention/NamingConvention.js.map +0 -1
- package/lib/utils/NamingConvention/index.d.ts +0 -1
- package/lib/utils/NamingConvention/index.js +0 -28
- package/lib/utils/NamingConvention/index.js.map +0 -1
- package/lib/utils/RandomGenerator/RandomGenerator.d.ts +0 -16
- package/lib/utils/RandomGenerator/RandomGenerator.js +0 -85
- package/lib/utils/RandomGenerator/RandomGenerator.js.map +0 -1
- package/lib/utils/RandomGenerator/index.d.ts +0 -1
- package/lib/utils/RandomGenerator/index.js +0 -28
- package/lib/utils/RandomGenerator/index.js.map +0 -1
- package/lib/utils/StringUtil/StringUtil.d.ts +0 -1
- package/lib/utils/StringUtil/StringUtil.js +0 -8
- package/lib/utils/StringUtil/StringUtil.js.map +0 -1
- package/lib/utils/StringUtil/index.d.ts +0 -1
- package/lib/utils/StringUtil/index.js +0 -28
- package/lib/utils/StringUtil/index.js.map +0 -1
- package/src/functional/$HeadersReader/$HeadersReader.ts +0 -26
- package/src/functional/$HeadersReader/index.ts +0 -1
- package/src/functional/$ParameterReader/$ParameterReader.ts +0 -29
- package/src/functional/$ParameterReader/index.ts +0 -1
- package/src/functional/$QueryReader/$QueryReader.ts +0 -54
- package/src/functional/$QueryReader/index.ts +0 -1
- package/src/functional/$any.ts +0 -4
- package/src/functional/$dictionary.ts +0 -22
- package/src/functional/$every.ts +0 -11
- package/src/functional/$varint.ts +0 -130
- package/src/functional/$zigzag.ts +0 -39
- package/src/functional/Namespace/http.ts +0 -7
- package/src/functional/Namespace/index.ts +0 -75
- package/src/functional/Namespace/json.ts +0 -15
- package/src/functional/Namespace/misc.ts +0 -14
- package/src/functional/Namespace/notations.ts +0 -22
- package/src/functional/Namespace/protobuf.ts +0 -20
- package/src/functional/is.ts +0 -10
- package/src/programmers/helpers/FunctionImporeter.ts +0 -87
- package/src/reflect/index.ts +0 -0
- package/src/utils/NamingConvention/NamingConvention.ts +0 -85
- package/src/utils/NamingConvention/index.ts +0 -1
- package/src/utils/RandomGenerator/RandomGenerator.ts +0 -78
- package/src/utils/RandomGenerator/index.ts +0 -1
- package/src/utils/StringUtil/StringUtil.ts +0 -2
- package/src/utils/StringUtil/index.ts +0 -1
- /package/lib/functional/{is.d.ts → $HeadersReader.d.ts} +0 -0
package/lib/protobuf.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare function message<T>(): string;
|
|
|
70
70
|
*
|
|
71
71
|
* @author Jeongho Nam - https://github.com/samchon
|
|
72
72
|
*/
|
|
73
|
-
declare function decode(input: Uint8Array): never;
|
|
73
|
+
export declare function decode(input: Uint8Array): never;
|
|
74
74
|
/**
|
|
75
75
|
* Protocol Buffer Decoder.
|
|
76
76
|
*
|
|
@@ -99,14 +99,7 @@ declare function decode(input: Uint8Array): never;
|
|
|
99
99
|
*
|
|
100
100
|
* @author Jeongho Nam - https://github.com/samchon
|
|
101
101
|
*/
|
|
102
|
-
declare function decode<T>(input: Uint8Array): Resolved<T>;
|
|
103
|
-
declare const decodePure: typeof decode & {
|
|
104
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
105
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
106
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
107
|
-
is_bigint_string: (str: string) => boolean;
|
|
108
|
-
};
|
|
109
|
-
export { decodePure as decode };
|
|
102
|
+
export declare function decode<T>(input: Uint8Array): Resolved<T>;
|
|
110
103
|
/**
|
|
111
104
|
* > You must configure the generic argument `T`.
|
|
112
105
|
*
|
|
@@ -136,7 +129,7 @@ export { decodePure as decode };
|
|
|
136
129
|
*
|
|
137
130
|
* @author Jeongho Nam - https://github.com/samchon
|
|
138
131
|
*/
|
|
139
|
-
declare function assertDecode(input: Uint8Array): never;
|
|
132
|
+
export declare function assertDecode(input: Uint8Array): never;
|
|
140
133
|
/**
|
|
141
134
|
* Protocol Buffer Decoder wity type assertion, but not safe.
|
|
142
135
|
*
|
|
@@ -164,21 +157,7 @@ declare function assertDecode(input: Uint8Array): never;
|
|
|
164
157
|
*
|
|
165
158
|
* @author Jeongho Nam - https://github.com/samchon
|
|
166
159
|
*/
|
|
167
|
-
declare function assertDecode<T>(input: Uint8Array): Resolved<T>;
|
|
168
|
-
declare const assertDecodePure: typeof assertDecode & {
|
|
169
|
-
join: (str: string) => string;
|
|
170
|
-
every: <T>(array: T[], pred: (value: T, i: number) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null;
|
|
171
|
-
guard: (exceptionable: boolean, props: Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
172
|
-
predicate: (matched: boolean, exceptionable: boolean, closure: () => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
173
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
174
|
-
is_bigint_string: (str: string) => boolean;
|
|
175
|
-
} & {
|
|
176
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
177
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
178
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
179
|
-
is_bigint_string: (str: string) => boolean;
|
|
180
|
-
};
|
|
181
|
-
export { assertDecodePure as assertDecode };
|
|
160
|
+
export declare function assertDecode<T>(input: Uint8Array): Resolved<T>;
|
|
182
161
|
/**
|
|
183
162
|
* > You must configure the generic argument `T`.
|
|
184
163
|
*
|
|
@@ -208,7 +187,7 @@ export { assertDecodePure as assertDecode };
|
|
|
208
187
|
*
|
|
209
188
|
* @author Jeongho Nam - https://github.com/samchon
|
|
210
189
|
*/
|
|
211
|
-
declare function isDecode(input: Uint8Array): never;
|
|
190
|
+
export declare function isDecode(input: Uint8Array): never;
|
|
212
191
|
/**
|
|
213
192
|
* Protocol Buffer Decoder wity type checking, but not safe.
|
|
214
193
|
*
|
|
@@ -236,17 +215,7 @@ declare function isDecode(input: Uint8Array): never;
|
|
|
236
215
|
*
|
|
237
216
|
* @author Jeongho Nam - https://github.com/samchon
|
|
238
217
|
*/
|
|
239
|
-
declare function isDecode<T>(input: Uint8Array): Resolved<T> | null;
|
|
240
|
-
declare const isDecodePure: typeof isDecode & {
|
|
241
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
242
|
-
is_bigint_string: (str: string) => boolean;
|
|
243
|
-
} & {
|
|
244
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
245
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
246
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
247
|
-
is_bigint_string: (str: string) => boolean;
|
|
248
|
-
};
|
|
249
|
-
export { isDecodePure as isDecode };
|
|
218
|
+
export declare function isDecode<T>(input: Uint8Array): Resolved<T> | null;
|
|
250
219
|
/**
|
|
251
220
|
* > You must configure the generic argument `T`.
|
|
252
221
|
*
|
|
@@ -277,7 +246,7 @@ export { isDecodePure as isDecode };
|
|
|
277
246
|
*
|
|
278
247
|
* @author Jeongho Nam - https://github.com/samchon
|
|
279
248
|
*/
|
|
280
|
-
declare function validateDecode(input: Uint8Array): never;
|
|
249
|
+
export declare function validateDecode(input: Uint8Array): never;
|
|
281
250
|
/**
|
|
282
251
|
* Protocol Buffer Decoder wity type validation, but not safe.
|
|
283
252
|
*
|
|
@@ -306,20 +275,7 @@ declare function validateDecode(input: Uint8Array): never;
|
|
|
306
275
|
*
|
|
307
276
|
* @author Jeongho Nam - https://github.com/samchon
|
|
308
277
|
*/
|
|
309
|
-
declare function validateDecode<T>(input: Uint8Array): IValidation<Resolved<T>>;
|
|
310
|
-
declare const validateDecodePure: typeof validateDecode & {
|
|
311
|
-
join: (str: string) => string;
|
|
312
|
-
report: (array: IValidation.IError[]) => (exceptable: boolean, error: IValidation.IError) => false;
|
|
313
|
-
predicate: (res: IValidation) => (matched: boolean, exceptionable: boolean, closure: () => IValidation.IError) => boolean;
|
|
314
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
315
|
-
is_bigint_string: (str: string) => boolean;
|
|
316
|
-
} & {
|
|
317
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
318
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
319
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
320
|
-
is_bigint_string: (str: string) => boolean;
|
|
321
|
-
};
|
|
322
|
-
export { validateDecodePure as validateDecode };
|
|
278
|
+
export declare function validateDecode<T>(input: Uint8Array): IValidation<Resolved<T>>;
|
|
323
279
|
/**
|
|
324
280
|
* Protocol Buffer Encoder.
|
|
325
281
|
*
|
|
@@ -347,16 +303,7 @@ export { validateDecodePure as validateDecode };
|
|
|
347
303
|
*
|
|
348
304
|
* @author Jeongho Nam - https://github.com/samchon
|
|
349
305
|
*/
|
|
350
|
-
declare function encode<T>(input: T): Uint8Array;
|
|
351
|
-
declare const encodePure: typeof encode & {
|
|
352
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
353
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
354
|
-
strlen: (s: string) => number;
|
|
355
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
356
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
357
|
-
is_bigint_string: (str: string) => boolean;
|
|
358
|
-
};
|
|
359
|
-
export { encodePure as encode };
|
|
306
|
+
export declare function encode<T>(input: T): Uint8Array;
|
|
360
307
|
/**
|
|
361
308
|
* Protocol Buffer Encoder with type assertion.
|
|
362
309
|
*
|
|
@@ -388,7 +335,7 @@ export { encodePure as encode };
|
|
|
388
335
|
*
|
|
389
336
|
* @author Jeongho Nam - https://github.com/samchon
|
|
390
337
|
*/
|
|
391
|
-
declare function assertEncode<T>(input: T): Uint8Array;
|
|
338
|
+
export declare function assertEncode<T>(input: T): Uint8Array;
|
|
392
339
|
/**
|
|
393
340
|
* Protocol Buffer Encoder with type assertion.
|
|
394
341
|
*
|
|
@@ -420,23 +367,7 @@ declare function assertEncode<T>(input: T): Uint8Array;
|
|
|
420
367
|
*
|
|
421
368
|
* @author Jeongho Nam - https://github.com/samchon
|
|
422
369
|
*/
|
|
423
|
-
declare function assertEncode<T>(input: unknown): Uint8Array;
|
|
424
|
-
declare const assertEncodePure: typeof assertEncode & {
|
|
425
|
-
join: (str: string) => string;
|
|
426
|
-
every: <T>(array: T[], pred: (value: T, i: number) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null;
|
|
427
|
-
guard: (exceptionable: boolean, props: Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
428
|
-
predicate: (matched: boolean, exceptionable: boolean, closure: () => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
429
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
430
|
-
is_bigint_string: (str: string) => boolean;
|
|
431
|
-
} & {
|
|
432
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
433
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
434
|
-
strlen: (s: string) => number;
|
|
435
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
436
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
437
|
-
is_bigint_string: (str: string) => boolean;
|
|
438
|
-
};
|
|
439
|
-
export { assertEncodePure as assertEncode };
|
|
370
|
+
export declare function assertEncode<T>(input: unknown): Uint8Array;
|
|
440
371
|
/**
|
|
441
372
|
* Protocol Buffer Encoder with type checking.
|
|
442
373
|
*
|
|
@@ -468,7 +399,7 @@ export { assertEncodePure as assertEncode };
|
|
|
468
399
|
*
|
|
469
400
|
* @author Jeongho Nam - https://github.com/samchon
|
|
470
401
|
*/
|
|
471
|
-
declare function isEncode<T>(input: T): Uint8Array | null;
|
|
402
|
+
export declare function isEncode<T>(input: T): Uint8Array | null;
|
|
472
403
|
/**
|
|
473
404
|
* Protocol Buffer Encoder with type checking.
|
|
474
405
|
*
|
|
@@ -500,19 +431,7 @@ declare function isEncode<T>(input: T): Uint8Array | null;
|
|
|
500
431
|
*
|
|
501
432
|
* @author Jeongho Nam - https://github.com/samchon
|
|
502
433
|
*/
|
|
503
|
-
declare function isEncode<T>(input: unknown): Uint8Array | null;
|
|
504
|
-
declare const isEncodePure: typeof isEncode & {
|
|
505
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
506
|
-
is_bigint_string: (str: string) => boolean;
|
|
507
|
-
} & {
|
|
508
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
509
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
510
|
-
strlen: (s: string) => number;
|
|
511
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
512
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
513
|
-
is_bigint_string: (str: string) => boolean;
|
|
514
|
-
};
|
|
515
|
-
export { isEncodePure as isEncode };
|
|
434
|
+
export declare function isEncode<T>(input: unknown): Uint8Array | null;
|
|
516
435
|
/**
|
|
517
436
|
* Protocol Buffer Encoder with type validation.
|
|
518
437
|
*
|
|
@@ -545,7 +464,7 @@ export { isEncodePure as isEncode };
|
|
|
545
464
|
*
|
|
546
465
|
* @author Jeongho Nam - https://github.com/samchon
|
|
547
466
|
*/
|
|
548
|
-
declare function validateEncode<T>(input: T): IValidation<Uint8Array>;
|
|
467
|
+
export declare function validateEncode<T>(input: T): IValidation<Uint8Array>;
|
|
549
468
|
/**
|
|
550
469
|
* Protocol Buffer Encoder with type validation.
|
|
551
470
|
*
|
|
@@ -578,22 +497,7 @@ declare function validateEncode<T>(input: T): IValidation<Uint8Array>;
|
|
|
578
497
|
*
|
|
579
498
|
* @author Jeongho Nam - https://github.com/samchon
|
|
580
499
|
*/
|
|
581
|
-
declare function validateEncode<T>(input: unknown): IValidation<Uint8Array>;
|
|
582
|
-
declare const validateEncodePure: typeof validateEncode & {
|
|
583
|
-
join: (str: string) => string;
|
|
584
|
-
report: (array: IValidation.IError[]) => (exceptable: boolean, error: IValidation.IError) => false;
|
|
585
|
-
predicate: (res: IValidation) => (matched: boolean, exceptionable: boolean, closure: () => IValidation.IError) => boolean;
|
|
586
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
587
|
-
is_bigint_string: (str: string) => boolean;
|
|
588
|
-
} & {
|
|
589
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
590
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
591
|
-
strlen: (s: string) => number;
|
|
592
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
593
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
594
|
-
is_bigint_string: (str: string) => boolean;
|
|
595
|
-
};
|
|
596
|
-
export { validateEncodePure as validateEncode };
|
|
500
|
+
export declare function validateEncode<T>(input: unknown): IValidation<Uint8Array>;
|
|
597
501
|
/**
|
|
598
502
|
* Creates a reusable {@link decode} function.
|
|
599
503
|
*
|
|
@@ -603,7 +507,7 @@ export { validateEncodePure as validateEncode };
|
|
|
603
507
|
*
|
|
604
508
|
* @author Jeongho Nam - https://github.com/samchon
|
|
605
509
|
*/
|
|
606
|
-
declare function createDecode(): never;
|
|
510
|
+
export declare function createDecode(): never;
|
|
607
511
|
/**
|
|
608
512
|
* Creates a reusable {@link decode} function.
|
|
609
513
|
*
|
|
@@ -612,14 +516,7 @@ declare function createDecode(): never;
|
|
|
612
516
|
*
|
|
613
517
|
* @author Jeongho Nam - https://github.com/samchon
|
|
614
518
|
*/
|
|
615
|
-
declare function createDecode<T>(): (input: Uint8Array) => Resolved<T>;
|
|
616
|
-
declare const createDecodePure: typeof createDecode & {
|
|
617
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
618
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
619
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
620
|
-
is_bigint_string: (str: string) => boolean;
|
|
621
|
-
};
|
|
622
|
-
export { createDecodePure as createDecode };
|
|
519
|
+
export declare function createDecode<T>(): (input: Uint8Array) => Resolved<T>;
|
|
623
520
|
/**
|
|
624
521
|
* Creates a reusable {@link isDecode} function.
|
|
625
522
|
*
|
|
@@ -629,7 +526,7 @@ export { createDecodePure as createDecode };
|
|
|
629
526
|
*
|
|
630
527
|
* @author Jeongho Nam - https://github.com/samchon
|
|
631
528
|
*/
|
|
632
|
-
declare function createIsDecode(): never;
|
|
529
|
+
export declare function createIsDecode(): never;
|
|
633
530
|
/**
|
|
634
531
|
* Creates a reusable {@link isDecode} function.
|
|
635
532
|
*
|
|
@@ -638,17 +535,7 @@ declare function createIsDecode(): never;
|
|
|
638
535
|
*
|
|
639
536
|
* @author Jeongho Nam - https://github.com/samchon
|
|
640
537
|
*/
|
|
641
|
-
declare function createIsDecode<T>(): (input: Uint8Array) => Resolved<T> | null;
|
|
642
|
-
declare const createIsDecodePure: typeof createIsDecode & {
|
|
643
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
644
|
-
is_bigint_string: (str: string) => boolean;
|
|
645
|
-
} & {
|
|
646
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
647
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
648
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
649
|
-
is_bigint_string: (str: string) => boolean;
|
|
650
|
-
};
|
|
651
|
-
export { createIsDecodePure as createIsDecode };
|
|
538
|
+
export declare function createIsDecode<T>(): (input: Uint8Array) => Resolved<T> | null;
|
|
652
539
|
/**
|
|
653
540
|
* Creates a reusable {@link assertDecode} function.
|
|
654
541
|
*
|
|
@@ -658,7 +545,7 @@ export { createIsDecodePure as createIsDecode };
|
|
|
658
545
|
*
|
|
659
546
|
* @author Jeongho Nam - https://github.com/samchon
|
|
660
547
|
*/
|
|
661
|
-
declare function createAssertDecode(): never;
|
|
548
|
+
export declare function createAssertDecode(): never;
|
|
662
549
|
/**
|
|
663
550
|
* Creates a reusable {@link assertDecode} function.
|
|
664
551
|
*
|
|
@@ -667,21 +554,7 @@ declare function createAssertDecode(): never;
|
|
|
667
554
|
*
|
|
668
555
|
* @author Jeongho Nam - https://github.com/samchon
|
|
669
556
|
*/
|
|
670
|
-
declare function createAssertDecode<T>(): (input: Uint8Array) => Resolved<T>;
|
|
671
|
-
declare const createAssertDecodePure: typeof createAssertDecode & {
|
|
672
|
-
join: (str: string) => string;
|
|
673
|
-
every: <T>(array: T[], pred: (value: T, i: number) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null;
|
|
674
|
-
guard: (exceptionable: boolean, props: Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
675
|
-
predicate: (matched: boolean, exceptionable: boolean, closure: () => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
676
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
677
|
-
is_bigint_string: (str: string) => boolean;
|
|
678
|
-
} & {
|
|
679
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
680
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
681
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
682
|
-
is_bigint_string: (str: string) => boolean;
|
|
683
|
-
};
|
|
684
|
-
export { createAssertDecodePure as createAssertDecode };
|
|
557
|
+
export declare function createAssertDecode<T>(): (input: Uint8Array) => Resolved<T>;
|
|
685
558
|
/**
|
|
686
559
|
* Creates a reusable {@link validateDecode} function.
|
|
687
560
|
*
|
|
@@ -691,7 +564,7 @@ export { createAssertDecodePure as createAssertDecode };
|
|
|
691
564
|
*
|
|
692
565
|
* @author Jeongho Nam - https://github.com/samchon
|
|
693
566
|
*/
|
|
694
|
-
declare function createValidateDecode(): never;
|
|
567
|
+
export declare function createValidateDecode(): never;
|
|
695
568
|
/**
|
|
696
569
|
* Creates a reusable {@link validateDecode} function.
|
|
697
570
|
*
|
|
@@ -700,20 +573,7 @@ declare function createValidateDecode(): never;
|
|
|
700
573
|
*
|
|
701
574
|
* @author Jeongho Nam - https://github.com/samchon
|
|
702
575
|
*/
|
|
703
|
-
declare function createValidateDecode<T>(): (input: Uint8Array) => IValidation<Resolved<T>>;
|
|
704
|
-
declare const createValidateDecodePure: typeof createValidateDecode & {
|
|
705
|
-
join: (str: string) => string;
|
|
706
|
-
report: (array: IValidation.IError[]) => (exceptable: boolean, error: IValidation.IError) => false;
|
|
707
|
-
predicate: (res: IValidation) => (matched: boolean, exceptionable: boolean, closure: () => IValidation.IError) => boolean;
|
|
708
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
709
|
-
is_bigint_string: (str: string) => boolean;
|
|
710
|
-
} & {
|
|
711
|
-
Reader: typeof import("./functional/$ProtobufReader").$ProtobufReader;
|
|
712
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
713
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
714
|
-
is_bigint_string: (str: string) => boolean;
|
|
715
|
-
};
|
|
716
|
-
export { createValidateDecodePure as createValidateDecode };
|
|
576
|
+
export declare function createValidateDecode<T>(): (input: Uint8Array) => IValidation<Resolved<T>>;
|
|
717
577
|
/**
|
|
718
578
|
* Creates a reusable {@link encode} function.
|
|
719
579
|
*
|
|
@@ -723,7 +583,7 @@ export { createValidateDecodePure as createValidateDecode };
|
|
|
723
583
|
*
|
|
724
584
|
* @author Jeongho Nam - https://github.com/samchon
|
|
725
585
|
*/
|
|
726
|
-
declare function createEncode(): never;
|
|
586
|
+
export declare function createEncode(): never;
|
|
727
587
|
/**
|
|
728
588
|
* Creates a reusable {@link encode} function.
|
|
729
589
|
*
|
|
@@ -732,16 +592,7 @@ declare function createEncode(): never;
|
|
|
732
592
|
*
|
|
733
593
|
* @author Jeongho Nam - https://github.com/samchon
|
|
734
594
|
*/
|
|
735
|
-
declare function createEncode<T>(): (input: T) => Uint8Array;
|
|
736
|
-
declare const createEncodePure: typeof createEncode & {
|
|
737
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
738
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
739
|
-
strlen: (s: string) => number;
|
|
740
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
741
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
742
|
-
is_bigint_string: (str: string) => boolean;
|
|
743
|
-
};
|
|
744
|
-
export { createEncodePure as createEncode };
|
|
595
|
+
export declare function createEncode<T>(): (input: T) => Uint8Array;
|
|
745
596
|
/**
|
|
746
597
|
* Creates a reusable {@link isEncode} function.
|
|
747
598
|
*
|
|
@@ -751,7 +602,7 @@ export { createEncodePure as createEncode };
|
|
|
751
602
|
*
|
|
752
603
|
* @author Jeongho Nam - https://github.com/samchon
|
|
753
604
|
*/
|
|
754
|
-
declare function createIsEncode(): never;
|
|
605
|
+
export declare function createIsEncode(): never;
|
|
755
606
|
/**
|
|
756
607
|
* Creates a reusable {@link isEncode} function.
|
|
757
608
|
*
|
|
@@ -760,19 +611,7 @@ declare function createIsEncode(): never;
|
|
|
760
611
|
*
|
|
761
612
|
* @author Jeongho Nam - https://github.com/samchon
|
|
762
613
|
*/
|
|
763
|
-
declare function createIsEncode<T>(): (input: T) => Uint8Array | null;
|
|
764
|
-
declare const createIsEncodePure: typeof createIsEncode & {
|
|
765
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
766
|
-
is_bigint_string: (str: string) => boolean;
|
|
767
|
-
} & {
|
|
768
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
769
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
770
|
-
strlen: (s: string) => number;
|
|
771
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
772
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
773
|
-
is_bigint_string: (str: string) => boolean;
|
|
774
|
-
};
|
|
775
|
-
export { createIsEncodePure as createIsEncode };
|
|
614
|
+
export declare function createIsEncode<T>(): (input: T) => Uint8Array | null;
|
|
776
615
|
/**
|
|
777
616
|
* Creates a reusable {@link assertEncode} function.
|
|
778
617
|
*
|
|
@@ -782,7 +621,7 @@ export { createIsEncodePure as createIsEncode };
|
|
|
782
621
|
*
|
|
783
622
|
* @author Jeongho Nam - https://github.com/samchon
|
|
784
623
|
*/
|
|
785
|
-
declare function createAssertEncode(): never;
|
|
624
|
+
export declare function createAssertEncode(): never;
|
|
786
625
|
/**
|
|
787
626
|
* Creates a reusable {@link assertEncode} function.
|
|
788
627
|
*
|
|
@@ -791,23 +630,7 @@ declare function createAssertEncode(): never;
|
|
|
791
630
|
*
|
|
792
631
|
* @author Jeongho Nam - https://github.com/samchon
|
|
793
632
|
*/
|
|
794
|
-
declare function createAssertEncode<T>(): (input: T) => Uint8Array;
|
|
795
|
-
declare const createAssertEncodePure: typeof createAssertEncode & {
|
|
796
|
-
join: (str: string) => string;
|
|
797
|
-
every: <T>(array: T[], pred: (value: T, i: number) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null) => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method"> | null;
|
|
798
|
-
guard: (exceptionable: boolean, props: Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
799
|
-
predicate: (matched: boolean, exceptionable: boolean, closure: () => Omit<import("./TypeGuardError").TypeGuardError.IProps, "method">) => boolean;
|
|
800
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
801
|
-
is_bigint_string: (str: string) => boolean;
|
|
802
|
-
} & {
|
|
803
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
804
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
805
|
-
strlen: (s: string) => number;
|
|
806
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
807
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
808
|
-
is_bigint_string: (str: string) => boolean;
|
|
809
|
-
};
|
|
810
|
-
export { createAssertEncodePure as createAssertEncode };
|
|
633
|
+
export declare function createAssertEncode<T>(): (input: T) => Uint8Array;
|
|
811
634
|
/**
|
|
812
635
|
* Creates a reusable {@link validateEncode} function.
|
|
813
636
|
*
|
|
@@ -817,7 +640,7 @@ export { createAssertEncodePure as createAssertEncode };
|
|
|
817
640
|
*
|
|
818
641
|
* @author Jeongho Nam - https://github.com/samchon
|
|
819
642
|
*/
|
|
820
|
-
declare function createValidateEncode(): never;
|
|
643
|
+
export declare function createValidateEncode(): never;
|
|
821
644
|
/**
|
|
822
645
|
* Creates a reusable {@link validateEncode} function.
|
|
823
646
|
*
|
|
@@ -826,19 +649,4 @@ declare function createValidateEncode(): never;
|
|
|
826
649
|
*
|
|
827
650
|
* @author Jeongho Nam - https://github.com/samchon
|
|
828
651
|
*/
|
|
829
|
-
declare function createValidateEncode<T>(): (input: T) => IValidation<Uint8Array>;
|
|
830
|
-
declare const createValidateEncodePure: typeof createValidateEncode & {
|
|
831
|
-
join: (str: string) => string;
|
|
832
|
-
report: (array: IValidation.IError[]) => (exceptable: boolean, error: IValidation.IError) => false;
|
|
833
|
-
predicate: (res: IValidation) => (matched: boolean, exceptionable: boolean, closure: () => IValidation.IError) => boolean;
|
|
834
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
835
|
-
is_bigint_string: (str: string) => boolean;
|
|
836
|
-
} & {
|
|
837
|
-
Sizer: typeof import("./functional/$ProtobufSizer").$ProtobufSizer;
|
|
838
|
-
Writer: typeof import("./functional/$ProtobufWriter").$ProtobufWriter;
|
|
839
|
-
strlen: (s: string) => number;
|
|
840
|
-
throws: (props: Pick<import("./TypeGuardError").TypeGuardError.IProps, "expected" | "value">) => never;
|
|
841
|
-
is_between: (value: number, minimum: number, maximum: number) => boolean;
|
|
842
|
-
is_bigint_string: (str: string) => boolean;
|
|
843
|
-
};
|
|
844
|
-
export { createValidateEncodePure as createValidateEncode };
|
|
652
|
+
export declare function createValidateEncode<T>(): (input: T) => IValidation<Uint8Array>;
|
package/lib/protobuf.js
CHANGED
|
@@ -1,192 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.createValidateEncode = exports.createAssertEncode = exports.createIsEncode = exports.createEncode = exports.createValidateDecode = exports.createAssertDecode = exports.createIsDecode = exports.createDecode = exports.validateEncode = exports.isEncode = exports.assertEncode = exports.encode = exports.validateDecode = exports.isDecode = exports.assertDecode = exports.decode = exports.message = void 0;
|
|
27
|
-
var Namespace = __importStar(require("./functional/Namespace"));
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
31
4
|
function message() {
|
|
32
5
|
halt("message");
|
|
33
6
|
}
|
|
34
7
|
exports.message = message;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
8
|
function decode() {
|
|
39
9
|
halt("decode");
|
|
40
10
|
}
|
|
41
|
-
|
|
42
|
-
exports.decode = decodePure;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
11
|
+
exports.decode = decode;
|
|
46
12
|
function assertDecode() {
|
|
47
13
|
halt("assertDecode");
|
|
48
14
|
}
|
|
49
|
-
|
|
50
|
-
/** @__PURE__ */ Namespace.assert("protobuf.assertDecode"),
|
|
51
|
-
/** @__PURE__ */ Namespace.protobuf.decode("assertDecode"));
|
|
52
|
-
exports.assertDecode = assertDecodePure;
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
15
|
+
exports.assertDecode = assertDecode;
|
|
56
16
|
function isDecode() {
|
|
57
17
|
halt("isDecode");
|
|
58
18
|
}
|
|
59
|
-
|
|
60
|
-
/** @__PURE__ */ Namespace.is(),
|
|
61
|
-
/** @__PURE__ */ Namespace.protobuf.decode("isDecode"));
|
|
62
|
-
exports.isDecode = isDecodePure;
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
19
|
+
exports.isDecode = isDecode;
|
|
66
20
|
function validateDecode() {
|
|
67
21
|
halt("validateDecode");
|
|
68
22
|
}
|
|
69
|
-
|
|
70
|
-
/** @__PURE__ */ Namespace.validate(),
|
|
71
|
-
/** @__PURE__ */ Namespace.protobuf.decode("validateDecode"));
|
|
72
|
-
exports.validateDecode = validateDecodePure;
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
23
|
+
exports.validateDecode = validateDecode;
|
|
76
24
|
function encode() {
|
|
77
25
|
halt("encode");
|
|
78
26
|
}
|
|
79
|
-
|
|
80
|
-
exports.encode = encodePure;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
27
|
+
exports.encode = encode;
|
|
84
28
|
function assertEncode() {
|
|
85
29
|
halt("assertEncode");
|
|
86
30
|
}
|
|
87
|
-
|
|
88
|
-
/** @__PURE__ */ Namespace.assert("protobuf.assertEncode"),
|
|
89
|
-
/** @__PURE__ */ Namespace.protobuf.encode("assertEncode"));
|
|
90
|
-
exports.assertEncode = assertEncodePure;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
31
|
+
exports.assertEncode = assertEncode;
|
|
94
32
|
function isEncode() {
|
|
95
33
|
halt("isEncode");
|
|
96
34
|
}
|
|
97
|
-
|
|
98
|
-
/** @__PURE__ */ Namespace.is(),
|
|
99
|
-
/** @__PURE__ */ Namespace.protobuf.encode("isEncode"));
|
|
100
|
-
exports.isEncode = isEncodePure;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
35
|
+
exports.isEncode = isEncode;
|
|
104
36
|
function validateEncode() {
|
|
105
37
|
halt("validateEncode");
|
|
106
38
|
}
|
|
107
|
-
|
|
108
|
-
/** @__PURE__ */ Namespace.validate(),
|
|
109
|
-
/** @__PURE__ */ Namespace.protobuf.encode("validateEncode"));
|
|
110
|
-
exports.validateEncode = validateEncodePure;
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
39
|
+
exports.validateEncode = validateEncode;
|
|
114
40
|
function createDecode() {
|
|
115
41
|
halt("createDecode");
|
|
116
42
|
}
|
|
117
|
-
|
|
118
|
-
exports.createDecode = createDecodePure;
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
43
|
+
exports.createDecode = createDecode;
|
|
122
44
|
function createIsDecode() {
|
|
123
45
|
halt("createIsDecode");
|
|
124
46
|
}
|
|
125
|
-
|
|
126
|
-
/** @__PURE__ */ Namespace.is(),
|
|
127
|
-
/** @__PURE__ */ Namespace.protobuf.decode("createIsDecode"));
|
|
128
|
-
exports.createIsDecode = createIsDecodePure;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
47
|
+
exports.createIsDecode = createIsDecode;
|
|
132
48
|
function createAssertDecode() {
|
|
133
49
|
halt("createAssertDecode");
|
|
134
50
|
}
|
|
135
|
-
|
|
136
|
-
/** @__PURE__ */ Namespace.assert("protobuf.createAssertDecode"),
|
|
137
|
-
/** @__PURE__ */ Namespace.protobuf.decode("createAssertDecode"));
|
|
138
|
-
exports.createAssertDecode = createAssertDecodePure;
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
51
|
+
exports.createAssertDecode = createAssertDecode;
|
|
142
52
|
function createValidateDecode() {
|
|
143
53
|
halt("createValidateDecode");
|
|
144
54
|
}
|
|
145
|
-
|
|
146
|
-
/** @__PURE__ */ Namespace.validate(),
|
|
147
|
-
/** @__PURE__ */ Namespace.protobuf.decode("createValidateDecode"));
|
|
148
|
-
exports.createValidateDecode = createValidateDecodePure;
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
55
|
+
exports.createValidateDecode = createValidateDecode;
|
|
152
56
|
function createEncode() {
|
|
153
57
|
halt("createEncode");
|
|
154
58
|
}
|
|
155
|
-
|
|
156
|
-
exports.createEncode = createEncodePure;
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
59
|
+
exports.createEncode = createEncode;
|
|
160
60
|
function createIsEncode() {
|
|
161
61
|
halt("createIsEncode");
|
|
162
62
|
}
|
|
163
|
-
|
|
164
|
-
/** @__PURE__ */ Namespace.is(),
|
|
165
|
-
/** @__PURE__ */ Namespace.protobuf.encode("createIsEncode"));
|
|
166
|
-
exports.createIsEncode = createIsEncodePure;
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
63
|
+
exports.createIsEncode = createIsEncode;
|
|
170
64
|
function createAssertEncode() {
|
|
171
65
|
halt("createAssertEncode");
|
|
172
66
|
}
|
|
173
|
-
|
|
174
|
-
/** @__PURE__ */ Namespace.assert("protobuf.createAssertEncode"),
|
|
175
|
-
/** @__PURE__ */ Namespace.protobuf.encode("createAssertEncode"));
|
|
176
|
-
exports.createAssertEncode = createAssertEncodePure;
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
67
|
+
exports.createAssertEncode = createAssertEncode;
|
|
180
68
|
function createValidateEncode() {
|
|
181
69
|
halt("createValidateEncode");
|
|
182
70
|
}
|
|
183
|
-
|
|
184
|
-
/** @__PURE__ */ Namespace.validate(),
|
|
185
|
-
/** @__PURE__ */ Namespace.protobuf.encode("createValidateEncode"));
|
|
186
|
-
exports.createValidateEncode = createValidateEncodePure;
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
*/
|
|
71
|
+
exports.createValidateEncode = createValidateEncode;
|
|
190
72
|
function halt(name) {
|
|
191
73
|
throw new Error("Error on typia.protobuf.".concat(name, "(): no transform has been configured. Read and follow https://typia.io/docs/setup please."));
|
|
192
74
|
}
|