684 lines
29 KiB
JavaScript
684 lines
29 KiB
JavaScript
/* eslint-disable */
|
|
/* prettier-ignore */
|
|
|
|
/* auto-generated by NAPI-RS */
|
|
|
|
const __nodeFs= require('node:fs')
|
|
const __nodePath = require('node:path')
|
|
const { WASI: __nodeWASI } = require('node:wasi')
|
|
const { Worker } = require('node:worker_threads')
|
|
|
|
const {
|
|
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
|
|
} = require('@emnapi/core')
|
|
const {
|
|
getDefaultContext: __emnapiGetDefaultContext,
|
|
} = require('@emnapi/runtime')
|
|
|
|
const __wasi = new __nodeWASI({
|
|
version: 'preview1',
|
|
env: process.env,
|
|
preopens: {
|
|
'/': __dirname,
|
|
},
|
|
})
|
|
|
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
|
|
const __sharedMemory = new WebAssembly.Memory({
|
|
initial: 1024,
|
|
maximum: 10240,
|
|
shared: true,
|
|
})
|
|
|
|
const {
|
|
instance: __napiInstance,
|
|
module: __wasiModule,
|
|
napiModule: __napiModule,
|
|
} = __emnapiInstantiateNapiModuleSync(
|
|
__nodeFs.readFileSync(__nodePath.join(__dirname, 'index.wasi-wasm32.wasm')),
|
|
{
|
|
context: __emnapiContext,
|
|
asyncWorkPoolSize: 4,
|
|
wasi: __wasi,
|
|
onCreateWorker() {
|
|
return new Worker(__nodePath.join(__dirname, 'wasi-worker.mjs'), {
|
|
env: process.env,
|
|
execArgv: ['--experimental-wasi-unstable-preview1'],
|
|
})
|
|
},
|
|
overwriteImports(importObject) {
|
|
importObject.env = {
|
|
...importObject.env,
|
|
...importObject.napi,
|
|
...importObject.emnapi,
|
|
memory: __sharedMemory,
|
|
}
|
|
return importObject
|
|
},
|
|
beforeInit({ instance }) {
|
|
__napi_rs_initialize_modules(instance)
|
|
},
|
|
},
|
|
)
|
|
|
|
function __napi_rs_initialize_modules(__napiInstance) {
|
|
__napiInstance.exports['__napi_register__DEFAULT_COST_0']()
|
|
__napiInstance.exports['__napi_register__TYPE_SKIPPED_CONST_1']()
|
|
__napiInstance.exports['__napi_register__get_words_2']()
|
|
__napiInstance.exports['__napi_register__get_nums_3']()
|
|
__napiInstance.exports['__napi_register__sum_nums_4']()
|
|
__napiInstance.exports['__napi_register__to_js_obj_5']()
|
|
__napiInstance.exports['__napi_register__get_num_arr_6']()
|
|
__napiInstance.exports['__napi_register__get_nested_num_arr_7']()
|
|
__napiInstance.exports['__napi_register__read_file_async_8']()
|
|
__napiInstance.exports['__napi_register__async_multi_two_9']()
|
|
__napiInstance.exports['__napi_register__bigint_add_10']()
|
|
__napiInstance.exports['__napi_register__create_big_int_11']()
|
|
__napiInstance.exports['__napi_register__create_big_int_i64_12']()
|
|
__napiInstance.exports['__napi_register__bigint_get_u64_as_string_13']()
|
|
__napiInstance.exports['__napi_register__bigint_from_i64_14']()
|
|
__napiInstance.exports['__napi_register__bigint_from_i128_15']()
|
|
__napiInstance.exports['__napi_register__get_cwd_16']()
|
|
__napiInstance.exports['__napi_register__option_end_17']()
|
|
__napiInstance.exports['__napi_register__option_start_18']()
|
|
__napiInstance.exports['__napi_register__option_start_end_19']()
|
|
__napiInstance.exports['__napi_register__option_only_20']()
|
|
__napiInstance.exports['__napi_register__read_file_21']()
|
|
__napiInstance.exports['__napi_register__return_js_function_22']()
|
|
__napiInstance.exports['__napi_register__callback_return_promise_23']()
|
|
__napiInstance.exports[
|
|
'__napi_register__callback_return_promise_and_spawn_24'
|
|
]()
|
|
__napiInstance.exports['__napi_register__capture_error_in_callback_25']()
|
|
__napiInstance.exports['__napi_register__Animal_struct_26']()
|
|
__napiInstance.exports['__napi_register__Animal_impl_27']()
|
|
__napiInstance.exports['__napi_register__Dog_struct_28']()
|
|
__napiInstance.exports['__napi_register__Bird_struct_29']()
|
|
__napiInstance.exports['__napi_register__Bird_impl_30']()
|
|
__napiInstance.exports['__napi_register__Blake2bHasher_struct_31']()
|
|
__napiInstance.exports['__napi_register__Blake2bHasher_impl_32']()
|
|
__napiInstance.exports['__napi_register__Blake2bHasher_impl_33']()
|
|
__napiInstance.exports['__napi_register__Blake2bKey_struct_34']()
|
|
__napiInstance.exports['__napi_register__Context_struct_35']()
|
|
__napiInstance.exports['__napi_register__Context_impl_36']()
|
|
__napiInstance.exports[
|
|
'__napi_register__AnimalWithDefaultConstructor_struct_37'
|
|
]()
|
|
__napiInstance.exports['__napi_register__NinjaTurtle_struct_38']()
|
|
__napiInstance.exports['__napi_register__NinjaTurtle_impl_39']()
|
|
__napiInstance.exports['__napi_register__JsAssets_struct_40']()
|
|
__napiInstance.exports['__napi_register__JsAssets_impl_41']()
|
|
__napiInstance.exports['__napi_register__JsAsset_struct_42']()
|
|
__napiInstance.exports['__napi_register__JsAsset_impl_43']()
|
|
__napiInstance.exports['__napi_register__Optional_struct_44']()
|
|
__napiInstance.exports['__napi_register__Optional_impl_45']()
|
|
__napiInstance.exports['__napi_register__create_object_with_class_field_46']()
|
|
__napiInstance.exports[
|
|
'__napi_register__receive_object_with_class_field_47'
|
|
]()
|
|
__napiInstance.exports['__napi_register__NotWritableClass_struct_48']()
|
|
__napiInstance.exports['__napi_register__NotWritableClass_impl_49']()
|
|
__napiInstance.exports['__napi_register__CustomFinalize_struct_50']()
|
|
__napiInstance.exports['__napi_register__CustomFinalize_impl_51']()
|
|
__napiInstance.exports['__napi_register__Width_struct_52']()
|
|
__napiInstance.exports['__napi_register__plus_one_53']()
|
|
__napiInstance.exports[
|
|
'__napi_register__GetterSetterWithClosures_struct_54'
|
|
]()
|
|
__napiInstance.exports['__napi_register__GetterSetterWithClosures_impl_55']()
|
|
__napiInstance.exports['__napi_register__ClassWithFactory_struct_56']()
|
|
__napiInstance.exports['__napi_register__ClassWithFactory_impl_57']()
|
|
__napiInstance.exports['__napi_register__Selector_struct_58']()
|
|
__napiInstance.exports['__napi_register__date_to_number_59']()
|
|
__napiInstance.exports['__napi_register__chrono_date_to_millis_60']()
|
|
__napiInstance.exports['__napi_register__chrono_date_add_1_minute_61']()
|
|
__napiInstance.exports['__napi_register__chrono_native_date_time_62']()
|
|
__napiInstance.exports['__napi_register__chrono_native_date_time_return_63']()
|
|
__napiInstance.exports['__napi_register__either_string_or_number_64']()
|
|
__napiInstance.exports['__napi_register__return_either_65']()
|
|
__napiInstance.exports['__napi_register__either3_66']()
|
|
__napiInstance.exports['__napi_register__either4_67']()
|
|
__napiInstance.exports['__napi_register__JsClassForEither_struct_68']()
|
|
__napiInstance.exports['__napi_register__JsClassForEither_impl_69']()
|
|
__napiInstance.exports['__napi_register__AnotherClassForEither_struct_70']()
|
|
__napiInstance.exports['__napi_register__AnotherClassForEither_impl_71']()
|
|
__napiInstance.exports['__napi_register__receive_class_or_number_72']()
|
|
__napiInstance.exports['__napi_register__receive_mut_class_or_number_73']()
|
|
__napiInstance.exports['__napi_register__receive_different_class_74']()
|
|
__napiInstance.exports['__napi_register__return_either_class_75']()
|
|
__napiInstance.exports['__napi_register__either_from_option_76']()
|
|
__napiInstance.exports['__napi_register__either_from_objects_77']()
|
|
__napiInstance.exports['__napi_register__either_bool_or_function_78']()
|
|
__napiInstance.exports['__napi_register__promise_in_either_79']()
|
|
__napiInstance.exports['__napi_register__Kind_80']()
|
|
__napiInstance.exports['__napi_register__Empty_81']()
|
|
__napiInstance.exports['__napi_register__Status_82']()
|
|
__napiInstance.exports['__napi_register__CustomNumEnum_83']()
|
|
__napiInstance.exports['__napi_register__enum_to_i32_84']()
|
|
__napiInstance.exports['__napi_register__SkippedEnums_85']()
|
|
__napiInstance.exports['__napi_register__run_script_86']()
|
|
__napiInstance.exports['__napi_register__get_module_file_name_87']()
|
|
__napiInstance.exports['__napi_register__throw_syntax_error_88']()
|
|
__napiInstance.exports['__napi_register__throw_error_89']()
|
|
__napiInstance.exports['__napi_register__panic_90']()
|
|
__napiInstance.exports['__napi_register__receive_string_91']()
|
|
__napiInstance.exports['__napi_register__custom_status_code_92']()
|
|
__napiInstance.exports['__napi_register__throw_async_error_93']()
|
|
__napiInstance.exports['__napi_register__create_external_94']()
|
|
__napiInstance.exports['__napi_register__create_external_string_95']()
|
|
__napiInstance.exports['__napi_register__get_external_96']()
|
|
__napiInstance.exports['__napi_register__mutate_external_97']()
|
|
__napiInstance.exports['__napi_register__validate_array_98']()
|
|
__napiInstance.exports['__napi_register__validate_buffer_99']()
|
|
__napiInstance.exports['__napi_register__validate_typed_array_100']()
|
|
__napiInstance.exports['__napi_register__validate_bigint_101']()
|
|
__napiInstance.exports['__napi_register__validate_boolean_102']()
|
|
__napiInstance.exports['__napi_register__validate_date_103']()
|
|
__napiInstance.exports['__napi_register__validate_date_time_104']()
|
|
__napiInstance.exports['__napi_register__validate_external_105']()
|
|
__napiInstance.exports['__napi_register__validate_function_106']()
|
|
__napiInstance.exports['__napi_register__validate_hash_map_107']()
|
|
__napiInstance.exports['__napi_register__validate_null_108']()
|
|
__napiInstance.exports['__napi_register__validate_undefined_109']()
|
|
__napiInstance.exports['__napi_register__validate_number_110']()
|
|
__napiInstance.exports['__napi_register__validate_promise_111']()
|
|
__napiInstance.exports['__napi_register__validate_string_112']()
|
|
__napiInstance.exports['__napi_register__validate_symbol_113']()
|
|
__napiInstance.exports['__napi_register__validate_optional_114']()
|
|
__napiInstance.exports['__napi_register__return_undefined_if_invalid_115']()
|
|
__napiInstance.exports[
|
|
'__napi_register__return_undefined_if_invalid_promise_116'
|
|
]()
|
|
__napiInstance.exports['__napi_register__ts_rename_117']()
|
|
__napiInstance.exports[
|
|
'__napi_register__override_individual_arg_on_function_118'
|
|
]()
|
|
__napiInstance.exports[
|
|
'__napi_register__override_individual_arg_on_function_with_cb_arg_119'
|
|
]()
|
|
__napiInstance.exports['__napi_register__Fib_struct_120']()
|
|
__napiInstance.exports['__napi_register__Fib_impl_121']()
|
|
__napiInstance.exports['__napi_register__Fib_impl_122']()
|
|
__napiInstance.exports['__napi_register__Fib2_struct_123']()
|
|
__napiInstance.exports['__napi_register__Fib2_impl_124']()
|
|
__napiInstance.exports['__napi_register__Fib2_impl_125']()
|
|
__napiInstance.exports['__napi_register__Fib3_struct_126']()
|
|
__napiInstance.exports['__napi_register__Fib3_impl_127']()
|
|
__napiInstance.exports['__napi_register__ALIGNMENT_128']()
|
|
__napiInstance.exports['__napi_register__xxh64_129']()
|
|
__napiInstance.exports['__napi_register__xxh128_130']()
|
|
__napiInstance.exports['__napi_register__Xxh3_struct_131']()
|
|
__napiInstance.exports['__napi_register__Xxh3_impl_132']()
|
|
__napiInstance.exports['__napi_register__xxh2_plus_133']()
|
|
__napiInstance.exports['__napi_register__xxh3_xxh64_alias_134']()
|
|
__napiInstance.exports['__napi_register__xxh64_alias_135']()
|
|
__napiInstance.exports['__napi_register__get_mapping_136']()
|
|
__napiInstance.exports['__napi_register__sum_mapping_137']()
|
|
__napiInstance.exports['__napi_register__map_option_138']()
|
|
__napiInstance.exports['__napi_register__return_null_139']()
|
|
__napiInstance.exports['__napi_register__return_undefined_140']()
|
|
__napiInstance.exports['__napi_register__add_141']()
|
|
__napiInstance.exports['__napi_register__fibonacci_142']()
|
|
__napiInstance.exports['__napi_register__list_obj_keys_143']()
|
|
__napiInstance.exports['__napi_register__create_obj_144']()
|
|
__napiInstance.exports['__napi_register__get_global_145']()
|
|
__napiInstance.exports['__napi_register__get_undefined_146']()
|
|
__napiInstance.exports['__napi_register__get_null_147']()
|
|
__napiInstance.exports['__napi_register__receive_all_optional_object_148']()
|
|
__napiInstance.exports['__napi_register__AliasedEnum_149']()
|
|
__napiInstance.exports['__napi_register__fn_received_aliased_150']()
|
|
__napiInstance.exports['__napi_register__receive_strict_object_151']()
|
|
__napiInstance.exports['__napi_register__get_str_from_object_152']()
|
|
__napiInstance.exports['__napi_register__create_obj_with_property_153']()
|
|
__napiInstance.exports['__napi_register__getter_from_obj_154']()
|
|
__napiInstance.exports['__napi_register__receive_object_only_from_js_155']()
|
|
__napiInstance.exports['__napi_register__async_plus_100_156']()
|
|
__napiInstance.exports['__napi_register__JsRepo_struct_157']()
|
|
__napiInstance.exports['__napi_register__JsRepo_impl_158']()
|
|
__napiInstance.exports['__napi_register__JsRemote_struct_159']()
|
|
__napiInstance.exports['__napi_register__JsRemote_impl_160']()
|
|
__napiInstance.exports['__napi_register__CSSRuleList_struct_161']()
|
|
__napiInstance.exports['__napi_register__CSSRuleList_impl_162']()
|
|
__napiInstance.exports['__napi_register__CSSStyleSheet_struct_163']()
|
|
__napiInstance.exports['__napi_register__AnotherCSSStyleSheet_struct_164']()
|
|
__napiInstance.exports['__napi_register__AnotherCSSStyleSheet_impl_165']()
|
|
__napiInstance.exports['__napi_register__CSSStyleSheet_impl_166']()
|
|
__napiInstance.exports['__napi_register__read_package_json_167']()
|
|
__napiInstance.exports['__napi_register__get_package_json_name_168']()
|
|
__napiInstance.exports['__napi_register__test_serde_roundtrip_169']()
|
|
__napiInstance.exports[
|
|
'__napi_register__test_serde_big_number_precision_170'
|
|
]()
|
|
__napiInstance.exports['__napi_register__return_from_shared_crate_171']()
|
|
__napiInstance.exports['__napi_register__contains_172']()
|
|
__napiInstance.exports['__napi_register__concat_str_173']()
|
|
__napiInstance.exports['__napi_register__concat_utf16_174']()
|
|
__napiInstance.exports['__napi_register__concat_latin1_175']()
|
|
__napiInstance.exports['__napi_register__roundtrip_str_176']()
|
|
__napiInstance.exports['__napi_register__set_symbol_in_obj_177']()
|
|
__napiInstance.exports['__napi_register__create_symbol_178']()
|
|
__napiInstance.exports['__napi_register__create_symbol_for_179']()
|
|
__napiInstance.exports['__napi_register__DelaySum_impl_180']()
|
|
__napiInstance.exports['__napi_register__without_abort_controller_181']()
|
|
__napiInstance.exports['__napi_register__with_abort_controller_182']()
|
|
__napiInstance.exports['__napi_register__AsyncTaskVoidReturn_impl_183']()
|
|
__napiInstance.exports['__napi_register__async_task_void_return_184']()
|
|
__napiInstance.exports['__napi_register__AsyncTaskOptionalReturn_impl_185']()
|
|
__napiInstance.exports['__napi_register__async_task_optional_return_186']()
|
|
__napiInstance.exports['__napi_register__call_threadsafe_function_187']()
|
|
__napiInstance.exports['__napi_register__call_long_threadsafe_function_188']()
|
|
__napiInstance.exports[
|
|
'__napi_register__threadsafe_function_throw_error_189'
|
|
]()
|
|
__napiInstance.exports[
|
|
'__napi_register__threadsafe_function_fatal_mode_190'
|
|
]()
|
|
__napiInstance.exports[
|
|
'__napi_register__threadsafe_function_fatal_mode_error_191'
|
|
]()
|
|
__napiInstance.exports[
|
|
'__napi_register__threadsafe_function_closure_capture_192'
|
|
]()
|
|
__napiInstance.exports['__napi_register__tsfn_call_with_callback_193']()
|
|
__napiInstance.exports['__napi_register__tsfn_async_call_194']()
|
|
__napiInstance.exports['__napi_register__accept_threadsafe_function_195']()
|
|
__napiInstance.exports[
|
|
'__napi_register__accept_threadsafe_function_fatal_196'
|
|
]()
|
|
__napiInstance.exports[
|
|
'__napi_register__accept_threadsafe_function_tuple_args_197'
|
|
]()
|
|
__napiInstance.exports['__napi_register__tsfn_return_promise_198']()
|
|
__napiInstance.exports['__napi_register__tsfn_return_promise_timeout_199']()
|
|
__napiInstance.exports['__napi_register__tsfn_throw_from_js_200']()
|
|
__napiInstance.exports['__napi_register__get_buffer_201']()
|
|
__napiInstance.exports['__napi_register__append_buffer_202']()
|
|
__napiInstance.exports['__napi_register__get_empty_buffer_203']()
|
|
__napiInstance.exports['__napi_register__convert_u32_array_204']()
|
|
__napiInstance.exports['__napi_register__create_external_typed_array_205']()
|
|
__napiInstance.exports['__napi_register__mutate_typed_array_206']()
|
|
__napiInstance.exports['__napi_register__deref_uint8_array_207']()
|
|
__napiInstance.exports['__napi_register__buffer_pass_through_208']()
|
|
__napiInstance.exports['__napi_register__array_buffer_pass_through_209']()
|
|
__napiInstance.exports['__napi_register__AsyncBuffer_impl_210']()
|
|
__napiInstance.exports['__napi_register__async_reduce_buffer_211']()
|
|
}
|
|
const {
|
|
Animal,
|
|
AnimalWithDefaultConstructor,
|
|
AnotherClassForEither,
|
|
AnotherCssStyleSheet,
|
|
AnotherCSSStyleSheet,
|
|
Asset,
|
|
JsAsset,
|
|
Assets,
|
|
JsAssets,
|
|
Bird,
|
|
Blake2BHasher,
|
|
Blake2bHasher,
|
|
Blake2BKey,
|
|
Blake2bKey,
|
|
ClassWithFactory,
|
|
Context,
|
|
CssRuleList,
|
|
CSSRuleList,
|
|
CssStyleSheet,
|
|
CSSStyleSheet,
|
|
CustomFinalize,
|
|
Dog,
|
|
Fib,
|
|
Fib2,
|
|
Fib3,
|
|
GetterSetterWithClosures,
|
|
JsClassForEither,
|
|
JsRemote,
|
|
JsRepo,
|
|
NinjaTurtle,
|
|
NotWritableClass,
|
|
Optional,
|
|
Selector,
|
|
Width,
|
|
acceptThreadsafeFunction,
|
|
acceptThreadsafeFunctionFatal,
|
|
acceptThreadsafeFunctionTupleArgs,
|
|
add,
|
|
ALIAS,
|
|
AliasedEnum,
|
|
appendBuffer,
|
|
arrayBufferPassThrough,
|
|
asyncMultiTwo,
|
|
asyncPlus100,
|
|
asyncReduceBuffer,
|
|
asyncTaskOptionalReturn,
|
|
asyncTaskVoidReturn,
|
|
bigintAdd,
|
|
bigintFromI128,
|
|
bigintFromI64,
|
|
bigintGetU64AsString,
|
|
bufferPassThrough,
|
|
callbackReturnPromise,
|
|
callbackReturnPromiseAndSpawn,
|
|
callLongThreadsafeFunction,
|
|
callThreadsafeFunction,
|
|
captureErrorInCallback,
|
|
chronoDateAdd1Minute,
|
|
chronoDateToMillis,
|
|
chronoNativeDateTime,
|
|
chronoNativeDateTimeReturn,
|
|
concatLatin1,
|
|
concatStr,
|
|
concatUtf16,
|
|
contains,
|
|
convertU32Array,
|
|
createBigInt,
|
|
createBigIntI64,
|
|
createExternal,
|
|
createExternalString,
|
|
createExternalTypedArray,
|
|
createObj,
|
|
createObjectWithClassField,
|
|
createObjWithProperty,
|
|
createSymbol,
|
|
createSymbolFor,
|
|
CustomNumEnum,
|
|
customStatusCode,
|
|
dateToNumber,
|
|
DEFAULT_COST,
|
|
derefUint8Array,
|
|
either3,
|
|
either4,
|
|
eitherBoolOrFunction,
|
|
eitherFromObjects,
|
|
eitherFromOption,
|
|
eitherStringOrNumber,
|
|
Empty,
|
|
enumToI32,
|
|
fibonacci,
|
|
fnReceivedAliased,
|
|
getBuffer,
|
|
getCwd,
|
|
getEmptyBuffer,
|
|
getExternal,
|
|
getGlobal,
|
|
getMapping,
|
|
getModuleFileName,
|
|
getNestedNumArr,
|
|
getNull,
|
|
getNumArr,
|
|
getNums,
|
|
getPackageJsonName,
|
|
getStrFromObject,
|
|
getterFromObj,
|
|
getUndefined,
|
|
getWords,
|
|
Kind,
|
|
listObjKeys,
|
|
mapOption,
|
|
mutateExternal,
|
|
mutateTypedArray,
|
|
optionEnd,
|
|
optionOnly,
|
|
optionStart,
|
|
optionStartEnd,
|
|
overrideIndividualArgOnFunction,
|
|
overrideIndividualArgOnFunctionWithCbArg,
|
|
panic,
|
|
plusOne,
|
|
promiseInEither,
|
|
readFile,
|
|
readFileAsync,
|
|
readPackageJson,
|
|
receiveAllOptionalObject,
|
|
receiveClassOrNumber,
|
|
receiveDifferentClass,
|
|
receiveMutClassOrNumber,
|
|
receiveObjectOnlyFromJs,
|
|
receiveObjectWithClassField,
|
|
receiveStrictObject,
|
|
receiveString,
|
|
returnEither,
|
|
returnEitherClass,
|
|
returnFromSharedCrate,
|
|
returnJsFunction,
|
|
returnNull,
|
|
returnUndefined,
|
|
returnUndefinedIfInvalid,
|
|
returnUndefinedIfInvalidPromise,
|
|
roundtripStr,
|
|
runScript,
|
|
setSymbolInObj,
|
|
Status,
|
|
sumMapping,
|
|
sumNums,
|
|
testSerdeBigNumberPrecision,
|
|
testSerdeRoundtrip,
|
|
threadsafeFunctionClosureCapture,
|
|
threadsafeFunctionFatalMode,
|
|
threadsafeFunctionFatalModeError,
|
|
threadsafeFunctionThrowError,
|
|
throwAsyncError,
|
|
throwError,
|
|
throwSyntaxError,
|
|
toJsObj,
|
|
tsfnAsyncCall,
|
|
tsfnCallWithCallback,
|
|
tsfnReturnPromise,
|
|
tsfnReturnPromiseTimeout,
|
|
tsfnThrowFromJs,
|
|
tsRename,
|
|
validateArray,
|
|
validateBigint,
|
|
validateBoolean,
|
|
validateBuffer,
|
|
validateDate,
|
|
validateDateTime,
|
|
validateExternal,
|
|
validateFunction,
|
|
validateHashMap,
|
|
validateNull,
|
|
validateNumber,
|
|
validateOptional,
|
|
validatePromise,
|
|
validateString,
|
|
validateSymbol,
|
|
validateTypedArray,
|
|
validateUndefined,
|
|
withAbortController,
|
|
withoutAbortController,
|
|
xxh64Alias,
|
|
xxh2,
|
|
xxh3,
|
|
} = __napiModule.exports
|
|
;(module.exports.Animal = Animal),
|
|
(module.exports.AnimalWithDefaultConstructor = AnimalWithDefaultConstructor),
|
|
(module.exports.AnotherClassForEither = AnotherClassForEither),
|
|
(module.exports.AnotherCssStyleSheet = AnotherCssStyleSheet),
|
|
(module.exports.AnotherCSSStyleSheet = AnotherCSSStyleSheet),
|
|
(module.exports.Asset = Asset),
|
|
(module.exports.JsAsset = JsAsset),
|
|
(module.exports.Assets = Assets),
|
|
(module.exports.JsAssets = JsAssets),
|
|
(module.exports.Bird = Bird),
|
|
(module.exports.Blake2BHasher = Blake2BHasher),
|
|
(module.exports.Blake2bHasher = Blake2bHasher),
|
|
(module.exports.Blake2BKey = Blake2BKey),
|
|
(module.exports.Blake2bKey = Blake2bKey),
|
|
(module.exports.ClassWithFactory = ClassWithFactory),
|
|
(module.exports.Context = Context),
|
|
(module.exports.CssRuleList = CssRuleList),
|
|
(module.exports.CSSRuleList = CSSRuleList),
|
|
(module.exports.CssStyleSheet = CssStyleSheet),
|
|
(module.exports.CSSStyleSheet = CSSStyleSheet),
|
|
(module.exports.CustomFinalize = CustomFinalize),
|
|
(module.exports.Dog = Dog),
|
|
(module.exports.Fib = Fib),
|
|
(module.exports.Fib2 = Fib2),
|
|
(module.exports.Fib3 = Fib3),
|
|
(module.exports.GetterSetterWithClosures = GetterSetterWithClosures),
|
|
(module.exports.JsClassForEither = JsClassForEither),
|
|
(module.exports.JsRemote = JsRemote),
|
|
(module.exports.JsRepo = JsRepo),
|
|
(module.exports.NinjaTurtle = NinjaTurtle),
|
|
(module.exports.NotWritableClass = NotWritableClass),
|
|
(module.exports.Optional = Optional),
|
|
(module.exports.Selector = Selector),
|
|
(module.exports.Width = Width),
|
|
(module.exports.acceptThreadsafeFunction = acceptThreadsafeFunction),
|
|
(module.exports.acceptThreadsafeFunctionFatal =
|
|
acceptThreadsafeFunctionFatal),
|
|
(module.exports.acceptThreadsafeFunctionTupleArgs =
|
|
acceptThreadsafeFunctionTupleArgs),
|
|
(module.exports.add = add),
|
|
(module.exports.ALIAS = ALIAS),
|
|
(module.exports.AliasedEnum = AliasedEnum),
|
|
(module.exports.appendBuffer = appendBuffer),
|
|
(module.exports.arrayBufferPassThrough = arrayBufferPassThrough),
|
|
(module.exports.asyncMultiTwo = asyncMultiTwo),
|
|
(module.exports.asyncPlus100 = asyncPlus100),
|
|
(module.exports.asyncReduceBuffer = asyncReduceBuffer),
|
|
(module.exports.asyncTaskOptionalReturn = asyncTaskOptionalReturn),
|
|
(module.exports.asyncTaskVoidReturn = asyncTaskVoidReturn),
|
|
(module.exports.bigintAdd = bigintAdd),
|
|
(module.exports.bigintFromI128 = bigintFromI128),
|
|
(module.exports.bigintFromI64 = bigintFromI64),
|
|
(module.exports.bigintGetU64AsString = bigintGetU64AsString),
|
|
(module.exports.bufferPassThrough = bufferPassThrough),
|
|
(module.exports.callbackReturnPromise = callbackReturnPromise),
|
|
(module.exports.callbackReturnPromiseAndSpawn =
|
|
callbackReturnPromiseAndSpawn),
|
|
(module.exports.callLongThreadsafeFunction = callLongThreadsafeFunction),
|
|
(module.exports.callThreadsafeFunction = callThreadsafeFunction),
|
|
(module.exports.captureErrorInCallback = captureErrorInCallback),
|
|
(module.exports.chronoDateAdd1Minute = chronoDateAdd1Minute),
|
|
(module.exports.chronoDateToMillis = chronoDateToMillis),
|
|
(module.exports.chronoNativeDateTime = chronoNativeDateTime),
|
|
(module.exports.chronoNativeDateTimeReturn = chronoNativeDateTimeReturn),
|
|
(module.exports.concatLatin1 = concatLatin1),
|
|
(module.exports.concatStr = concatStr),
|
|
(module.exports.concatUtf16 = concatUtf16),
|
|
(module.exports.contains = contains),
|
|
(module.exports.convertU32Array = convertU32Array),
|
|
(module.exports.createBigInt = createBigInt),
|
|
(module.exports.createBigIntI64 = createBigIntI64),
|
|
(module.exports.createExternal = createExternal),
|
|
(module.exports.createExternalString = createExternalString),
|
|
(module.exports.createExternalTypedArray = createExternalTypedArray),
|
|
(module.exports.createObj = createObj),
|
|
(module.exports.createObjectWithClassField = createObjectWithClassField),
|
|
(module.exports.createObjWithProperty = createObjWithProperty),
|
|
(module.exports.createSymbol = createSymbol),
|
|
(module.exports.createSymbolFor = createSymbolFor),
|
|
(module.exports.CustomNumEnum = CustomNumEnum),
|
|
(module.exports.customStatusCode = customStatusCode),
|
|
(module.exports.dateToNumber = dateToNumber),
|
|
(module.exports.DEFAULT_COST = DEFAULT_COST),
|
|
(module.exports.derefUint8Array = derefUint8Array),
|
|
(module.exports.either3 = either3),
|
|
(module.exports.either4 = either4),
|
|
(module.exports.eitherBoolOrFunction = eitherBoolOrFunction),
|
|
(module.exports.eitherFromObjects = eitherFromObjects),
|
|
(module.exports.eitherFromOption = eitherFromOption),
|
|
(module.exports.eitherStringOrNumber = eitherStringOrNumber),
|
|
(module.exports.Empty = Empty),
|
|
(module.exports.enumToI32 = enumToI32),
|
|
(module.exports.fibonacci = fibonacci),
|
|
(module.exports.fnReceivedAliased = fnReceivedAliased),
|
|
(module.exports.getBuffer = getBuffer),
|
|
(module.exports.getCwd = getCwd),
|
|
(module.exports.getEmptyBuffer = getEmptyBuffer),
|
|
(module.exports.getExternal = getExternal),
|
|
(module.exports.getGlobal = getGlobal),
|
|
(module.exports.getMapping = getMapping),
|
|
(module.exports.getModuleFileName = getModuleFileName),
|
|
(module.exports.getNestedNumArr = getNestedNumArr),
|
|
(module.exports.getNull = getNull),
|
|
(module.exports.getNumArr = getNumArr),
|
|
(module.exports.getNums = getNums),
|
|
(module.exports.getPackageJsonName = getPackageJsonName),
|
|
(module.exports.getStrFromObject = getStrFromObject),
|
|
(module.exports.getterFromObj = getterFromObj),
|
|
(module.exports.getUndefined = getUndefined),
|
|
(module.exports.getWords = getWords),
|
|
(module.exports.Kind = Kind),
|
|
(module.exports.listObjKeys = listObjKeys),
|
|
(module.exports.mapOption = mapOption),
|
|
(module.exports.mutateExternal = mutateExternal),
|
|
(module.exports.mutateTypedArray = mutateTypedArray),
|
|
(module.exports.optionEnd = optionEnd),
|
|
(module.exports.optionOnly = optionOnly),
|
|
(module.exports.optionStart = optionStart),
|
|
(module.exports.optionStartEnd = optionStartEnd),
|
|
(module.exports.overrideIndividualArgOnFunction =
|
|
overrideIndividualArgOnFunction),
|
|
(module.exports.overrideIndividualArgOnFunctionWithCbArg =
|
|
overrideIndividualArgOnFunctionWithCbArg),
|
|
(module.exports.panic = panic),
|
|
(module.exports.plusOne = plusOne),
|
|
(module.exports.promiseInEither = promiseInEither),
|
|
(module.exports.readFile = readFile),
|
|
(module.exports.readFileAsync = readFileAsync),
|
|
(module.exports.readPackageJson = readPackageJson),
|
|
(module.exports.receiveAllOptionalObject = receiveAllOptionalObject),
|
|
(module.exports.receiveClassOrNumber = receiveClassOrNumber),
|
|
(module.exports.receiveDifferentClass = receiveDifferentClass),
|
|
(module.exports.receiveMutClassOrNumber = receiveMutClassOrNumber),
|
|
(module.exports.receiveObjectOnlyFromJs = receiveObjectOnlyFromJs),
|
|
(module.exports.receiveObjectWithClassField = receiveObjectWithClassField),
|
|
(module.exports.receiveStrictObject = receiveStrictObject),
|
|
(module.exports.receiveString = receiveString),
|
|
(module.exports.returnEither = returnEither),
|
|
(module.exports.returnEitherClass = returnEitherClass),
|
|
(module.exports.returnFromSharedCrate = returnFromSharedCrate),
|
|
(module.exports.returnJsFunction = returnJsFunction),
|
|
(module.exports.returnNull = returnNull),
|
|
(module.exports.returnUndefined = returnUndefined),
|
|
(module.exports.returnUndefinedIfInvalid = returnUndefinedIfInvalid),
|
|
(module.exports.returnUndefinedIfInvalidPromise =
|
|
returnUndefinedIfInvalidPromise),
|
|
(module.exports.roundtripStr = roundtripStr),
|
|
(module.exports.runScript = runScript),
|
|
(module.exports.setSymbolInObj = setSymbolInObj),
|
|
(module.exports.Status = Status),
|
|
(module.exports.sumMapping = sumMapping),
|
|
(module.exports.sumNums = sumNums),
|
|
(module.exports.testSerdeBigNumberPrecision = testSerdeBigNumberPrecision),
|
|
(module.exports.testSerdeRoundtrip = testSerdeRoundtrip),
|
|
(module.exports.threadsafeFunctionClosureCapture =
|
|
threadsafeFunctionClosureCapture),
|
|
(module.exports.threadsafeFunctionFatalMode = threadsafeFunctionFatalMode),
|
|
(module.exports.threadsafeFunctionFatalModeError =
|
|
threadsafeFunctionFatalModeError),
|
|
(module.exports.threadsafeFunctionThrowError = threadsafeFunctionThrowError),
|
|
(module.exports.throwAsyncError = throwAsyncError),
|
|
(module.exports.throwError = throwError),
|
|
(module.exports.throwSyntaxError = throwSyntaxError),
|
|
(module.exports.toJsObj = toJsObj),
|
|
(module.exports.tsfnAsyncCall = tsfnAsyncCall),
|
|
(module.exports.tsfnCallWithCallback = tsfnCallWithCallback),
|
|
(module.exports.tsfnReturnPromise = tsfnReturnPromise),
|
|
(module.exports.tsfnReturnPromiseTimeout = tsfnReturnPromiseTimeout),
|
|
(module.exports.tsfnThrowFromJs = tsfnThrowFromJs),
|
|
(module.exports.tsRename = tsRename),
|
|
(module.exports.validateArray = validateArray),
|
|
(module.exports.validateBigint = validateBigint),
|
|
(module.exports.validateBoolean = validateBoolean),
|
|
(module.exports.validateBuffer = validateBuffer),
|
|
(module.exports.validateDate = validateDate),
|
|
(module.exports.validateDateTime = validateDateTime),
|
|
(module.exports.validateExternal = validateExternal),
|
|
(module.exports.validateFunction = validateFunction),
|
|
(module.exports.validateHashMap = validateHashMap),
|
|
(module.exports.validateNull = validateNull),
|
|
(module.exports.validateNumber = validateNumber),
|
|
(module.exports.validateOptional = validateOptional),
|
|
(module.exports.validatePromise = validatePromise),
|
|
(module.exports.validateString = validateString),
|
|
(module.exports.validateSymbol = validateSymbol),
|
|
(module.exports.validateTypedArray = validateTypedArray),
|
|
(module.exports.validateUndefined = validateUndefined),
|
|
(module.exports.withAbortController = withAbortController),
|
|
(module.exports.withoutAbortController = withoutAbortController),
|
|
(module.exports.xxh64Alias = xxh64Alias),
|
|
(module.exports.xxh2 = xxh2),
|
|
(module.exports.xxh3 = xxh3)
|