javonet-ruby-sdk 2.6.6 → 2.6.8
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs2218RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libJavonetTcpTlsClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/ARM64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs2218RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPhp848RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPhpRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Configs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPhpRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Configs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs2218RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPhp848RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPhpRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPython2RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Configs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPhpRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPython2RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Plugins.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/handler/Handler.cjs +2 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/handler/LoadLibraryHandler.cjs +26 -12
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/handler/PassDelegateHandler.cjs +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/interpreter/Interpreter.cjs +27 -92
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/protocol/CommandSerializer.cjs +3 -8
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/core/receiver/Receiver.cjs +6 -6
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/Activator.cjs +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/ActivatorDetails.cjs +13 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/ConfigRuntimeFactory.cjs +9 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/InvocationContext.cjs +52 -200
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/Javonet.cjs +3 -11
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/RuntimeContext.cjs +11 -57
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/configuration/ConfigSourceResolver.cjs +43 -21
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/sdk/tools/ComplexTypeResolver.cjs +84 -45
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/core/handler/Handler.d.ts +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/core/handler/PassDelegateHandler.d.ts +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/core/interpreter/Interpreter.d.ts +2 -9
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/core/protocol/CommandSerializer.d.ts +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/core/receiver/Receiver.d.ts +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/Activator.d.ts +12 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/ActivatorDetails.d.ts +5 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/ConfigRuntimeFactory.d.ts +7 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/InvocationContext.d.ts +11 -34
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/Javonet.d.ts +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/RuntimeContext.d.ts +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/configuration/ConfigSourceResolver.d.ts +21 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/tools/ComplexTypeResolver.d.ts +21 -5
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/utils/Primitives.d.ts +5 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/utils/Primitives.cjs +201 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +96 -96
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +108 -11
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +24 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +108 -11
- data/lib/javonet-ruby-sdk/Binaries/Php/javonet/core/handler/LoadLibraryHandler.php +56 -21
- data/lib/javonet-ruby-sdk/Binaries/Php/javonet/core/interpreter/Interpreter.php +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Php/javonet/core/protocol/CommandDeserializer.php +219 -106
- data/lib/javonet-ruby-sdk/Binaries/Php/javonet/core/protocol/CommandSerializer.php +55 -13
- data/lib/javonet-ruby-sdk/Binaries/Php/javonet/utils/Command.php +27 -9
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/GetTypeHandler.py +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/LoadLibraryHandler.py +54 -14
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AddEventListenerHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayReferenceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AsOutHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AsRefHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ConvertTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateNullHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ExceptionHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GenerateLibHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetAsyncOperationResultHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetGlobalFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetKwargHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetModuleHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetRefValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetResultTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HeartBeatHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeGenericMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeGenericStaticMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeGlobalFunctionHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/OptimizeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PluginWrapperHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/RetrieveArrayHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/LazyModuleLoader.py +8 -11
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/LazyModuleLoader.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/TypesHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/UtilsConst.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/ExceptionSerializer.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionThrower.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/JavonetException.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/MessageHelper.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/handler/load_library_handler.rb +22 -9
- data/lib/javonet-ruby-sdk/core/interpreter/interpreter.rb +1 -1
- data/lib/javonet-ruby-sdk/core/receiver/receiver_new.rb +3 -3
- data/lib/javonet-ruby-sdk/sdk/config_runtime_factory.rb +8 -0
- data/lib/javonet-ruby-sdk/utils/exceptions/exception_serializer.rb +0 -1
- data/lib/javonet-ruby-sdk/utils/runtime_logger.rb +3 -0
- metadata +6 -2
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,32 +15,39 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var ConfigSourceResolver_exports = {};
|
|
30
20
|
__export(ConfigSourceResolver_exports, {
|
|
31
21
|
ConfigSourceResolver: () => ConfigSourceResolver
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(ConfigSourceResolver_exports);
|
|
34
|
-
var import_fs = __toESM(require("fs"), 1);
|
|
35
|
-
var import_process = __toESM(require("process"), 1);
|
|
36
24
|
var import_ConfigsDictionary = require("./ConfigsDictionary.cjs");
|
|
37
25
|
var import_JsonConfigResolver = require("./configResolvers/JsonConfigResolver.cjs");
|
|
38
26
|
var import_YamlConfigResolver = require("./configResolvers/YamlConfigResolver.cjs");
|
|
39
27
|
var import_ConnectionStringConfigResolver = require("./configResolvers/ConnectionStringConfigResolver.cjs");
|
|
28
|
+
var import_Runtime = require("../../utils/Runtime.cjs");
|
|
29
|
+
const import_meta = {};
|
|
30
|
+
let fs = null;
|
|
31
|
+
let process = null;
|
|
32
|
+
const requireDynamic = (0, import_Runtime.getRequire)(import_meta.url);
|
|
40
33
|
class ConfigSourceResolver {
|
|
34
|
+
/**
|
|
35
|
+
* @param {import('./ConfigPriority.js').ConfigPriority} priority
|
|
36
|
+
* @param {string | any} configSource
|
|
37
|
+
*/
|
|
41
38
|
static addConfigs(priority, configSource) {
|
|
42
39
|
console.log(`Adding config from source: ${configSource} with priority '${priority}'`);
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
if (configSource && typeof configSource === "object") {
|
|
41
|
+
import_JsonConfigResolver.JsonConfigResolver.addConfigs(priority, configSource);
|
|
42
|
+
} else {
|
|
43
|
+
const configString = ConfigSourceResolver._getConfigSourceAsString(configSource);
|
|
44
|
+
ConfigSourceResolver._parseConfigsAndAddToCollection(priority, configString);
|
|
45
|
+
}
|
|
45
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @param {string} configName
|
|
49
|
+
* @returns {*}
|
|
50
|
+
*/
|
|
46
51
|
static getConfig(configName) {
|
|
47
52
|
console.log(`Retrieving config ${configName}`);
|
|
48
53
|
return import_ConfigsDictionary.ConfigsDictionary.getConfig(configName);
|
|
@@ -50,19 +55,36 @@ class ConfigSourceResolver {
|
|
|
50
55
|
static clearConfigs() {
|
|
51
56
|
import_ConfigsDictionary.ConfigsDictionary.clearConfigs();
|
|
52
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* @param {string} configSource
|
|
60
|
+
* @returns {string}
|
|
61
|
+
*/
|
|
53
62
|
static _getConfigSourceAsString(configSource) {
|
|
54
63
|
if (!configSource || configSource.trim() === "") {
|
|
55
64
|
throw new Error("Config source cannot be null or whitespace.");
|
|
56
65
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
if ((0, import_Runtime.isNodejsRuntime)()) {
|
|
67
|
+
if (!process) {
|
|
68
|
+
process = requireDynamic("process");
|
|
69
|
+
}
|
|
70
|
+
if (!fs) {
|
|
71
|
+
fs = requireDynamic("fs");
|
|
72
|
+
}
|
|
73
|
+
const envValue = process?.env[configSource];
|
|
74
|
+
if (envValue && envValue.trim() !== "") {
|
|
75
|
+
configSource = envValue;
|
|
76
|
+
}
|
|
77
|
+
if (fs?.existsSync(configSource) && fs?.statSync(configSource).isFile()) {
|
|
78
|
+
configSource = fs.readFileSync(configSource, { encoding: "utf-8" });
|
|
79
|
+
}
|
|
63
80
|
}
|
|
64
81
|
return configSource.trim();
|
|
65
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* @param {import('./ConfigPriority.js').ConfigPriority} priority
|
|
85
|
+
* @param {string} configString
|
|
86
|
+
* @returns
|
|
87
|
+
*/
|
|
66
88
|
static _parseConfigsAndAddToCollection(priority, configString) {
|
|
67
89
|
try {
|
|
68
90
|
const jsonObject = JSON.parse(configString);
|
|
@@ -78,7 +100,7 @@ class ConfigSourceResolver {
|
|
|
78
100
|
import_YamlConfigResolver.YamlConfigResolver.addConfigs(priority, configString);
|
|
79
101
|
return;
|
|
80
102
|
} catch (ex) {
|
|
81
|
-
if (ex
|
|
103
|
+
if (ex?.name === "SyntaxError") {
|
|
82
104
|
} else {
|
|
83
105
|
console.log("Failed to parse config source as YAML: " + ex);
|
|
84
106
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,42 +15,37 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var ComplexTypeResolver_exports = {};
|
|
30
20
|
__export(ComplexTypeResolver_exports, {
|
|
31
21
|
ComplexTypeResolver: () => ComplexTypeResolver
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(ComplexTypeResolver_exports);
|
|
24
|
+
var import_Primitives = require("../../utils/Primitives.cjs");
|
|
34
25
|
var import_Runtime = require("../../utils/Runtime.cjs");
|
|
35
26
|
var import_RuntimeName = require("../../utils/RuntimeName.cjs");
|
|
27
|
+
var import_Activator = require("../Activator.cjs");
|
|
36
28
|
var import_ActivatorDetails = require("../ActivatorDetails.cjs");
|
|
37
29
|
var import_InvocationContext = require("../InvocationContext.cjs");
|
|
38
30
|
var import_JavaTypeParsingFunctions = require("./typeParsingFunctions/JavaTypeParsingFunctions.cjs");
|
|
39
31
|
var import_NetcoreTypeParsingFunctions = require("./typeParsingFunctions/NetcoreTypeParsingFunctions.cjs");
|
|
40
32
|
var import_NodejsTypeParsingFunctions = require("./typeParsingFunctions/NodejsTypeParsingFunctions.cjs");
|
|
41
33
|
var import_PythonTypeParsingFunctions = require("./typeParsingFunctions/PythonTypeParsingFunctions.cjs");
|
|
42
|
-
var util = __toESM(require("node:util"), 1);
|
|
43
34
|
const import_meta = {};
|
|
44
35
|
const dynamicImport = (0, import_Runtime.getRequire)(import_meta.url);
|
|
36
|
+
const typeParsingFunctions = /* @__PURE__ */ new Map([
|
|
37
|
+
[import_RuntimeName.RuntimeName.Netcore, import_NetcoreTypeParsingFunctions.NetcoreTypeParsingFunctions],
|
|
38
|
+
[import_RuntimeName.RuntimeName.Jvm, import_JavaTypeParsingFunctions.JavaTypeParsingFunctions],
|
|
39
|
+
[import_RuntimeName.RuntimeName.Nodejs, import_NodejsTypeParsingFunctions.NodejsTypeParsingFunctions],
|
|
40
|
+
[import_RuntimeName.RuntimeName.Python, import_PythonTypeParsingFunctions.PythonTypeParsingFunctions],
|
|
41
|
+
[import_RuntimeName.RuntimeName.Python27, import_PythonTypeParsingFunctions.PythonTypeParsingFunctions]
|
|
42
|
+
]);
|
|
45
43
|
class ComplexTypeResolver {
|
|
46
44
|
/** @type {Map<string, ActivatorDetails>} */
|
|
47
|
-
#typeMap
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
[import_RuntimeName.RuntimeName.Jvm, import_JavaTypeParsingFunctions.JavaTypeParsingFunctions],
|
|
52
|
-
[import_RuntimeName.RuntimeName.Nodejs, import_NodejsTypeParsingFunctions.NodejsTypeParsingFunctions],
|
|
53
|
-
[import_RuntimeName.RuntimeName.Python, import_PythonTypeParsingFunctions.PythonTypeParsingFunctions],
|
|
54
|
-
[import_RuntimeName.RuntimeName.Python27, import_PythonTypeParsingFunctions.PythonTypeParsingFunctions]
|
|
55
|
-
]);
|
|
45
|
+
#typeMap;
|
|
46
|
+
constructor() {
|
|
47
|
+
this.#typeMap = /* @__PURE__ */ new Map();
|
|
48
|
+
}
|
|
56
49
|
/**
|
|
57
50
|
* Register a custom type mapping
|
|
58
51
|
* @param {string} resultType - The type name from the target runtime
|
|
@@ -67,38 +60,40 @@ class ComplexTypeResolver {
|
|
|
67
60
|
/**
|
|
68
61
|
* Convert InvocationContext result to appropriate JavaScript type
|
|
69
62
|
* @param {InvocationContext} ic - The invocation context
|
|
70
|
-
* @returns {Promise<any>
|
|
63
|
+
* @returns {Promise<any>} The converted result
|
|
71
64
|
*/
|
|
72
|
-
convertResult(ic) {
|
|
65
|
+
async convertResult(ic) {
|
|
73
66
|
const runtimeName = ic.getRuntimeName();
|
|
74
|
-
const resultType = ic.getResultType();
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
let parsingFunc = null;
|
|
78
|
-
if (resultType instanceof Promise) {
|
|
79
|
-
parsingFunc = resultType.then((result) => {
|
|
80
|
-
parsingFunc = runtimeDict.get(result);
|
|
81
|
-
});
|
|
82
|
-
} else {
|
|
83
|
-
parsingFunc = runtimeDict.get(resultType);
|
|
84
|
-
}
|
|
85
|
-
if (parsingFunc) {
|
|
86
|
-
return parsingFunc(ic);
|
|
87
|
-
}
|
|
67
|
+
const resultType = await ic.getResultType();
|
|
68
|
+
if (!resultType) {
|
|
69
|
+
throw new Error("resultType is not valid");
|
|
88
70
|
}
|
|
89
|
-
let
|
|
90
|
-
if (
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
71
|
+
let underlyingType = ComplexTypeResolver.tryGetUnderlyingArrayType(resultType);
|
|
72
|
+
if (underlyingType !== null) {
|
|
73
|
+
const { Type } = (
|
|
74
|
+
/** @type {ActivatorDetails} */
|
|
75
|
+
this.#typeMap.get(underlyingType)
|
|
76
|
+
);
|
|
77
|
+
const complexTypesArray = await ic.retrieveArray();
|
|
78
|
+
return complexTypesArray.map((item) => import_Activator.Activator.createInstance(Type, item));
|
|
96
79
|
}
|
|
80
|
+
const parsingFunction = ComplexTypeResolver.tryGetTypeParsingFunction(runtimeName, resultType);
|
|
81
|
+
if (parsingFunction) {
|
|
82
|
+
return parsingFunction(ic);
|
|
83
|
+
}
|
|
84
|
+
const activatorDetails = this.tryGetValueFromTypeMap(resultType);
|
|
97
85
|
if (!activatorDetails) {
|
|
98
86
|
throw new Error(`No type registered for key '${resultType}'.`);
|
|
99
87
|
}
|
|
100
|
-
|
|
101
|
-
|
|
88
|
+
if (runtimeName === import_RuntimeName.RuntimeName.Nodejs) {
|
|
89
|
+
const value = await ic.getValue();
|
|
90
|
+
if (value) {
|
|
91
|
+
if (value instanceof activatorDetails.Type) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return import_Activator.Activator.createInstance(activatorDetails.Type, activatorDetails.arguments ?? null);
|
|
102
97
|
}
|
|
103
98
|
/**
|
|
104
99
|
* Resolve type from string name and optional module
|
|
@@ -132,6 +127,50 @@ class ComplexTypeResolver {
|
|
|
132
127
|
}
|
|
133
128
|
return typeObj;
|
|
134
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Attempts to extract the underlying element type from an array type string
|
|
132
|
+
* @param {string} type - The type string to parse (e.g., "MyType[]")
|
|
133
|
+
* @returns {string | null} Object indicating success and the element type
|
|
134
|
+
* @throws {Error} If the array element type is a primitive type
|
|
135
|
+
*/
|
|
136
|
+
static tryGetUnderlyingArrayType(type) {
|
|
137
|
+
if (typeof type !== "string" || !type.includes("[")) {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
let trimmedType = type.trim();
|
|
141
|
+
if (!trimmedType) return null;
|
|
142
|
+
const commaIndex = trimmedType.indexOf(",");
|
|
143
|
+
if (commaIndex > 0) {
|
|
144
|
+
trimmedType = trimmedType.substring(0, commaIndex).trim();
|
|
145
|
+
}
|
|
146
|
+
const bracketIndex = trimmedType.indexOf("[");
|
|
147
|
+
if (bracketIndex > 0) {
|
|
148
|
+
trimmedType = trimmedType.substring(0, bracketIndex).trim();
|
|
149
|
+
}
|
|
150
|
+
if (import_Primitives.PrimitiveSet.has(trimmedType)) {
|
|
151
|
+
throw new Error("Primitive array element types are not supported.");
|
|
152
|
+
}
|
|
153
|
+
return trimmedType;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @param {RuntimeName} runtimeName
|
|
157
|
+
* @param {string} resultType
|
|
158
|
+
* @returns {any}
|
|
159
|
+
*/
|
|
160
|
+
static tryGetTypeParsingFunction(runtimeName, resultType) {
|
|
161
|
+
const runtimeDict = typeParsingFunctions.get(runtimeName);
|
|
162
|
+
return runtimeDict ? runtimeDict.get(resultType) ?? null : null;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @param {string} resultType
|
|
166
|
+
* @returns {ActivatorDetails | null}
|
|
167
|
+
*/
|
|
168
|
+
tryGetValueFromTypeMap(resultType) {
|
|
169
|
+
if (!resultType) {
|
|
170
|
+
throw new Error("resultType is not valid");
|
|
171
|
+
}
|
|
172
|
+
return this.#typeMap.get(resultType) ?? null;
|
|
173
|
+
}
|
|
135
174
|
}
|
|
136
175
|
// Annotate the CommonJS export names for ESM import in node:
|
|
137
176
|
0 && (module.exports = {
|
|
@@ -7,8 +7,9 @@ export class Handler {
|
|
|
7
7
|
interpreter: import("../interpreter/Interpreter.js").Interpreter;
|
|
8
8
|
/**
|
|
9
9
|
* @param {Command} command
|
|
10
|
+
* @returns {Promise<Command> | Command}
|
|
10
11
|
*/
|
|
11
|
-
handleCommand(command: Command): Command |
|
|
12
|
+
handleCommand(command: Command): Promise<Command> | Command;
|
|
12
13
|
/**
|
|
13
14
|
* @param {any} response
|
|
14
15
|
* @param {RuntimeName} runtimeName
|
|
@@ -68,9 +68,9 @@ export class PassDelegateHandler extends AbstractHandler {
|
|
|
68
68
|
/**
|
|
69
69
|
* Creates a method call to execute the command.
|
|
70
70
|
* @param {Command} command - The command object.
|
|
71
|
-
* @returns {any} The response object.
|
|
71
|
+
* @returns {Promise<any>} The response object.
|
|
72
72
|
*/
|
|
73
|
-
createExecuteCall(command: Command): any
|
|
73
|
+
createExecuteCall(command: Command): Promise<any>;
|
|
74
74
|
/**
|
|
75
75
|
* Retrieves the response payload from the execution call.
|
|
76
76
|
* @param {Object<string, any>} executeCall - Object containing the execution call.
|
|
@@ -7,16 +7,9 @@ export class Interpreter {
|
|
|
7
7
|
*
|
|
8
8
|
* @param {Command} command
|
|
9
9
|
* @param {IConnectionData} connectionData
|
|
10
|
-
* @returns
|
|
10
|
+
* @returns {Promise<Command>}
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param {Command} command
|
|
16
|
-
* @param {IConnectionData} connectionData
|
|
17
|
-
* @returns {Command | Promise<Command>}
|
|
18
|
-
*/
|
|
19
|
-
execute(command: Command, connectionData: IConnectionData): Command | Promise<Command>;
|
|
12
|
+
execute(command: Command, connectionData: IConnectionData): Promise<Command>;
|
|
20
13
|
/**
|
|
21
14
|
*
|
|
22
15
|
* @param {Uint8Array} messageByteArray
|
|
@@ -5,12 +5,12 @@ export type IConnectionData = import("../../utils/connectionData/IConnectionData
|
|
|
5
5
|
export class CommandSerializer {
|
|
6
6
|
/**
|
|
7
7
|
* Serializes the root command with connection data and optional runtime version.
|
|
8
|
-
* @param {
|
|
8
|
+
* @param {Command} rootCommand
|
|
9
9
|
* @param {IConnectionData} connectionData
|
|
10
10
|
* @param {number} runtimeVersion
|
|
11
|
-
* @returns {
|
|
11
|
+
* @returns {Uint8Array}
|
|
12
12
|
*/
|
|
13
|
-
serialize(rootCommand:
|
|
13
|
+
serialize(rootCommand: Command, connectionData: IConnectionData, runtimeVersion?: number): Uint8Array;
|
|
14
14
|
/**
|
|
15
15
|
* Recursively serializes command payload.
|
|
16
16
|
* @param {Command} command
|
|
@@ -3,14 +3,14 @@ export class Receiver {
|
|
|
3
3
|
static getRuntimeInfo(): string;
|
|
4
4
|
/**
|
|
5
5
|
* @param {Uint8Array} messageByteArray
|
|
6
|
-
* @returns {Promise<Uint8Array>
|
|
6
|
+
* @returns {Promise<Uint8Array>}
|
|
7
7
|
*/
|
|
8
|
-
static sendCommand(messageByteArray: Uint8Array): Promise<Uint8Array
|
|
8
|
+
static sendCommand(messageByteArray: Uint8Array): Promise<Uint8Array>;
|
|
9
9
|
/**
|
|
10
10
|
* @param {Uint8Array} messageByteArray
|
|
11
|
-
* @returns {Promise<Uint8Array>
|
|
11
|
+
* @returns {Promise<Uint8Array>}
|
|
12
12
|
*/
|
|
13
|
-
static heartBeat(messageByteArray: Uint8Array): Promise<Uint8Array
|
|
13
|
+
static heartBeat(messageByteArray: Uint8Array): Promise<Uint8Array>;
|
|
14
14
|
Receiver(): void;
|
|
15
15
|
}
|
|
16
16
|
import { InMemoryConnectionData } from '../../utils/connectionData/InMemoryConnectionData.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for activating a type with constructor arguments
|
|
3
|
+
*/
|
|
4
|
+
export class Activator {
|
|
5
|
+
/**
|
|
6
|
+
* Create a new instance of a type
|
|
7
|
+
* @param {Function} Type - The constructor function/class
|
|
8
|
+
* @param {any[] | any} args - The arguments to pass to the constructor
|
|
9
|
+
* @returns {any} The new instance
|
|
10
|
+
*/
|
|
11
|
+
static createInstance(Type: Function, args: any[] | any): any;
|
|
12
|
+
}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
export class ActivatorDetails {
|
|
5
5
|
/**
|
|
6
6
|
* @param {Function} type - The constructor function/class
|
|
7
|
-
* @param {any[]} [args] - Arguments to pass to constructor
|
|
7
|
+
* @param {any[]|any} [args] - Arguments to pass to constructor (array or single value)
|
|
8
8
|
*/
|
|
9
|
-
constructor(type: Function, args?: any[]);
|
|
10
|
-
type
|
|
9
|
+
constructor(type: Function, args?: any[] | any);
|
|
10
|
+
/** @type {Function} */
|
|
11
|
+
Type: Function;
|
|
12
|
+
/** @type {any[]} */
|
|
11
13
|
arguments: any[];
|
|
12
14
|
}
|
|
@@ -65,6 +65,13 @@ export class ConfigRuntimeFactory {
|
|
|
65
65
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
66
66
|
*/
|
|
67
67
|
nodejs(configName?: string): RuntimeContext;
|
|
68
|
+
/**
|
|
69
|
+
* Creates RuntimeContext instance to interact with the Php runtime.
|
|
70
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
71
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Php runtime
|
|
72
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
73
|
+
*/
|
|
74
|
+
php(configName?: string): RuntimeContext;
|
|
68
75
|
/**
|
|
69
76
|
* Creates RuntimeContext instance to interact with the Python 2.7 runtime.
|
|
70
77
|
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
@@ -31,11 +31,11 @@ export class InvocationContext {
|
|
|
31
31
|
* Commands are becoming nested through each invocation of methods on Invocation Context.
|
|
32
32
|
* Each invocation triggers the creation of new Invocation Context instance wrapping the current command with new parent command valid for invoked method.
|
|
33
33
|
* Developer can decide on any moment of the materialization for the context taking full control of the chunks of the expression being transferred and processed on target runtime.
|
|
34
|
-
* @returns {Promise<InvocationContext>
|
|
34
|
+
* @returns {Promise<InvocationContext>} the InvocationContext after executing the command.
|
|
35
35
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
36
36
|
* @method
|
|
37
37
|
*/
|
|
38
|
-
execute(): Promise<InvocationContext
|
|
38
|
+
execute(): Promise<InvocationContext>;
|
|
39
39
|
/**
|
|
40
40
|
* Invokes a static method on the target runtime.
|
|
41
41
|
* @param {string} methodName - The name of the method to invoke.
|
|
@@ -188,19 +188,19 @@ export class InvocationContext {
|
|
|
188
188
|
* Creates a null object of a specific type on the target runtime.
|
|
189
189
|
* @param {string} methodName - The name of the method to invoke.
|
|
190
190
|
* @param {...any} args - Method arguments.
|
|
191
|
-
* @returns {InvocationContext
|
|
191
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
192
192
|
* TODO: connect documentation page url
|
|
193
193
|
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
194
194
|
* @method
|
|
195
195
|
*/
|
|
196
|
-
getInstanceMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext
|
|
196
|
+
getInstanceMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
197
197
|
/**
|
|
198
198
|
* Retrieves the type of the object from the target runtime.
|
|
199
|
-
* @returns {Promise<string>
|
|
199
|
+
* @returns {Promise<string>} The type of the object.
|
|
200
200
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/type-handling/getting-object-type)
|
|
201
201
|
* @method
|
|
202
202
|
*/
|
|
203
|
-
getResultType(): Promise<string
|
|
203
|
+
getResultType(): Promise<string>;
|
|
204
204
|
/**
|
|
205
205
|
* Retrieves the name of the runtime where the command is executed.
|
|
206
206
|
* @returns {number} The name of the runtime.
|
|
@@ -210,6 +210,7 @@ export class InvocationContext {
|
|
|
210
210
|
getRuntimeName(): number;
|
|
211
211
|
/**
|
|
212
212
|
* Retrieves an array from the target runtime.
|
|
213
|
+
* @async
|
|
213
214
|
* @returns {Promise<any[]>}
|
|
214
215
|
* @method
|
|
215
216
|
*/
|
|
@@ -222,36 +223,12 @@ export class InvocationContext {
|
|
|
222
223
|
* @method
|
|
223
224
|
*/
|
|
224
225
|
getValue(): unknown;
|
|
225
|
-
[Symbol.iterator]: () => {
|
|
226
|
-
next: () => {
|
|
227
|
-
value: InvocationContext;
|
|
228
|
-
done: boolean;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
#private;
|
|
232
|
-
}
|
|
233
|
-
export class InvocationWsContext extends InvocationContext {
|
|
234
226
|
/**
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
* Commands are becoming nested through each invocation of methods on Invocation Context.
|
|
239
|
-
* Each invocation triggers the creation of new Invocation Context instance wrapping the current command with new parent command valid for invoked method.
|
|
240
|
-
* Developer can decide on any moment of the materialization for the context taking full control of the chunks of the expression being transferred and processed on target runtime.
|
|
241
|
-
* @returns {Promise<InvocationWsContext>} the InvocationContext after executing the command.
|
|
242
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
243
|
-
* @async
|
|
244
|
-
* @method
|
|
227
|
+
* Async iterator for InvocationContext arrays
|
|
228
|
+
* Use: for await (const item of invocationContext) { ... }
|
|
229
|
+
* @returns {AsyncGenerator<InvocationContext, void, unknown>}
|
|
245
230
|
*/
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Retrieves the type of the object from the target runtime.
|
|
249
|
-
* @returns {Promise<string>} The type of the object.
|
|
250
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/type-handling/getting-object-type)
|
|
251
|
-
* @async
|
|
252
|
-
* @method
|
|
253
|
-
*/
|
|
254
|
-
getResultType(): Promise<string>;
|
|
231
|
+
[Symbol.asyncIterator](): AsyncGenerator<InvocationContext, void, unknown>;
|
|
255
232
|
#private;
|
|
256
233
|
}
|
|
257
234
|
import { Command } from '../utils/Command.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type ConfigSource = import("../types.d.ts").ConfigSource;
|
|
2
|
+
/** @typedef {import('../types.d.ts').ConfigSource} ConfigSource */
|
|
2
3
|
/**
|
|
3
4
|
* The Javonet class is a singleton class that serves as the entry point for interacting with Javonet.
|
|
4
5
|
* It provides methods to activate and initialize the Javonet SDK.
|
|
@@ -76,7 +77,8 @@ import { WsConnectionData } from '../utils/connectionData/WsConnectionData.js';
|
|
|
76
77
|
import { CommandSerializer } from '../core/protocol/CommandSerializer.js';
|
|
77
78
|
import { CommandDeserializer } from '../core/protocol/CommandDeserializer.js';
|
|
78
79
|
import { ConfigPriority } from './configuration/ConfigPriority.js';
|
|
80
|
+
import { ComplexTypeResolver } from './tools/ComplexTypeResolver.js';
|
|
79
81
|
import { RuntimeFactory } from './RuntimeFactory.js';
|
|
80
82
|
import { ConfigRuntimeFactory } from './ConfigRuntimeFactory.js';
|
|
81
83
|
import { RuntimeContext } from './RuntimeContext.js';
|
|
82
|
-
export { TcpConnectionData, WsConnectionData, CommandSerializer, CommandDeserializer, ConfigPriority };
|
|
84
|
+
export { TcpConnectionData, WsConnectionData, CommandSerializer, CommandDeserializer, ConfigPriority, ComplexTypeResolver };
|
|
@@ -40,20 +40,21 @@ export class RuntimeContext {
|
|
|
40
40
|
* Each invocation triggers the creation of a new RuntimeContext instance wrapping the current command with a new parent command.
|
|
41
41
|
* The developer can decide at any moment of the materialization for the context, taking full control of the chunks of the expression being transferred and processed on the target runtime.
|
|
42
42
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
43
|
+
* @returns {Promise<void>}
|
|
43
44
|
* @method
|
|
44
45
|
*/
|
|
45
|
-
execute(): void
|
|
46
|
+
execute(): Promise<void>;
|
|
46
47
|
/**
|
|
47
48
|
* Adds a reference to a library. Javonet allows you to reference and use modules or packages written in various languages.
|
|
48
49
|
* This method allows you to use any library from all supported technologies. The necessary libraries need to be referenced.
|
|
49
50
|
* The argument is a relative or full path to the library. If the library has dependencies on other libraries, the latter needs to be added first.
|
|
50
51
|
* After referencing the library, any objects stored in this package can be used. Use static classes, create instances, call methods, use fields and properties, and much more.
|
|
51
52
|
* @param {string} libraryPath - The relative or full path to the library.
|
|
52
|
-
* @returns {RuntimeContext} RuntimeContext instance.
|
|
53
|
+
* @returns {Promise<RuntimeContext>} RuntimeContext instance.
|
|
53
54
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/adding-references-to-libraries)
|
|
54
55
|
* @method
|
|
55
56
|
*/
|
|
56
|
-
loadLibrary(libraryPath: string): RuntimeContext
|
|
57
|
+
loadLibrary(libraryPath: string): Promise<RuntimeContext>;
|
|
57
58
|
/**
|
|
58
59
|
* Retrieves a reference to a specific type. The type can be a class, interface or enum. The type can be retrieved from any referenced library.
|
|
59
60
|
* @param {string} typeName - The full name of the type.
|
data/lib/javonet-ruby-sdk/Binaries/Nodejs/dist/types/sdk/configuration/ConfigSourceResolver.d.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
export class ConfigSourceResolver {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @param {import('./ConfigPriority.js').ConfigPriority} priority
|
|
4
|
+
* @param {string | any} configSource
|
|
5
|
+
*/
|
|
6
|
+
static addConfigs(priority: any, configSource: string | any): void;
|
|
7
|
+
/**
|
|
8
|
+
* @param {string} configName
|
|
9
|
+
* @returns {*}
|
|
10
|
+
*/
|
|
11
|
+
static getConfig(configName: string): any;
|
|
4
12
|
static clearConfigs(): void;
|
|
5
|
-
|
|
6
|
-
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} configSource
|
|
15
|
+
* @returns {string}
|
|
16
|
+
*/
|
|
17
|
+
static _getConfigSourceAsString(configSource: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* @param {import('./ConfigPriority.js').ConfigPriority} priority
|
|
20
|
+
* @param {string} configString
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
static _parseConfigsAndAddToCollection(priority: any, configString: string): void;
|
|
7
24
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
export type RuntimeName = import("../../types.d.ts").RuntimeName;
|
|
2
|
-
/**
|
|
3
|
-
* @typedef {import('../../types.d.ts').RuntimeName} RuntimeName
|
|
4
|
-
*/
|
|
5
2
|
export class ComplexTypeResolver {
|
|
6
3
|
/**
|
|
7
4
|
* Resolve type from string name and optional module
|
|
@@ -10,6 +7,19 @@ export class ComplexTypeResolver {
|
|
|
10
7
|
* @returns {Function} The resolved type/constructor function
|
|
11
8
|
*/
|
|
12
9
|
static resolveType(typeName: string, moduleName?: string): Function;
|
|
10
|
+
/**
|
|
11
|
+
* Attempts to extract the underlying element type from an array type string
|
|
12
|
+
* @param {string} type - The type string to parse (e.g., "MyType[]")
|
|
13
|
+
* @returns {string | null} Object indicating success and the element type
|
|
14
|
+
* @throws {Error} If the array element type is a primitive type
|
|
15
|
+
*/
|
|
16
|
+
static tryGetUnderlyingArrayType(type: string): string | null;
|
|
17
|
+
/**
|
|
18
|
+
* @param {RuntimeName} runtimeName
|
|
19
|
+
* @param {string} resultType
|
|
20
|
+
* @returns {any}
|
|
21
|
+
*/
|
|
22
|
+
static tryGetTypeParsingFunction(runtimeName: RuntimeName, resultType: string): any;
|
|
13
23
|
/**
|
|
14
24
|
* Register a custom type mapping
|
|
15
25
|
* @param {string} resultType - The type name from the target runtime
|
|
@@ -20,9 +30,15 @@ export class ComplexTypeResolver {
|
|
|
20
30
|
/**
|
|
21
31
|
* Convert InvocationContext result to appropriate JavaScript type
|
|
22
32
|
* @param {InvocationContext} ic - The invocation context
|
|
23
|
-
* @returns {Promise<any>
|
|
33
|
+
* @returns {Promise<any>} The converted result
|
|
34
|
+
*/
|
|
35
|
+
convertResult(ic: InvocationContext): Promise<any>;
|
|
36
|
+
/**
|
|
37
|
+
* @param {string} resultType
|
|
38
|
+
* @returns {ActivatorDetails | null}
|
|
24
39
|
*/
|
|
25
|
-
|
|
40
|
+
tryGetValueFromTypeMap(resultType: string): ActivatorDetails | null;
|
|
26
41
|
#private;
|
|
27
42
|
}
|
|
28
43
|
import { InvocationContext } from '../InvocationContext.js';
|
|
44
|
+
import { ActivatorDetails } from '../ActivatorDetails.js';
|