@start9labs/start-sdk 0.4.0-beta.8 → 0.4.0
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/CHANGELOG.md +171 -0
- package/README.md +97 -12
- package/base/lib/Effects.d.ts +35 -39
- package/base/lib/actions/index.d.ts +18 -19
- package/base/lib/actions/index.js +22 -4
- package/base/lib/actions/index.js.map +1 -1
- package/base/lib/actions/input/builder/index.d.ts +4 -4
- package/base/lib/actions/input/builder/inputSpec.d.ts +156 -29
- package/base/lib/actions/input/builder/inputSpec.js +240 -23
- package/base/lib/actions/input/builder/inputSpec.js.map +1 -1
- package/base/lib/actions/input/builder/inputSpecTools.d.ts +173 -0
- package/base/lib/actions/input/builder/inputSpecTools.js +16 -0
- package/base/lib/actions/input/builder/inputSpecTools.js.map +1 -0
- package/base/lib/actions/input/builder/list.d.ts +39 -29
- package/base/lib/actions/input/builder/list.js +49 -39
- package/base/lib/actions/input/builder/list.js.map +1 -1
- package/base/lib/actions/input/builder/value.d.ts +482 -76
- package/base/lib/actions/input/builder/value.js +629 -230
- package/base/lib/actions/input/builder/value.js.map +1 -1
- package/base/lib/actions/input/builder/variants.d.ts +43 -29
- package/base/lib/actions/input/builder/variants.js +41 -25
- package/base/lib/actions/input/builder/variants.js.map +1 -1
- package/base/lib/actions/input/index.d.ts +3 -3
- package/base/lib/actions/input/inputSpecConstants.d.ts +2246 -19
- package/base/lib/actions/input/inputSpecConstants.js +224 -53
- package/base/lib/actions/input/inputSpecConstants.js.map +1 -1
- package/base/lib/actions/input/inputSpecTypes.d.ts +123 -23
- package/base/lib/actions/input/inputSpecTypes.js +7 -2
- package/base/lib/actions/input/inputSpecTypes.js.map +1 -1
- package/base/lib/actions/setupActions.d.ts +32 -21
- package/base/lib/actions/setupActions.js +45 -7
- package/base/lib/actions/setupActions.js.map +1 -1
- package/base/lib/coverage/lcov-report/block-navigation.js +87 -0
- package/base/lib/coverage/lcov-report/prettify.js +2 -0
- package/base/lib/coverage/lcov-report/sorter.js +196 -0
- package/base/lib/dependencies/dependencies.d.ts +8 -4
- package/base/lib/dependencies/dependencies.js +41 -32
- package/base/lib/dependencies/dependencies.js.map +1 -1
- package/base/lib/dependencies/setupDependencies.d.ts +7 -9
- package/base/lib/dependencies/setupDependencies.js +3 -10
- package/base/lib/dependencies/setupDependencies.js.map +1 -1
- package/base/lib/exver/exver.d.ts +5 -5
- package/base/lib/exver/exver.js +42 -73
- package/base/lib/exver/exver.js.map +1 -1
- package/base/lib/exver/index.d.ts +245 -14
- package/base/lib/exver/index.js +350 -156
- package/base/lib/exver/index.js.map +1 -1
- package/base/lib/index.d.ts +11 -10
- package/base/lib/index.js +4 -2
- package/base/lib/index.js.map +1 -1
- package/base/lib/inits/index.d.ts +2 -0
- package/base/lib/inits/index.js +19 -0
- package/base/lib/inits/index.js.map +1 -0
- package/base/lib/inits/setupInit.d.ts +26 -0
- package/base/lib/inits/setupInit.js +47 -0
- package/base/lib/inits/setupInit.js.map +1 -0
- package/base/lib/inits/setupUninit.d.ts +37 -0
- package/base/lib/inits/setupUninit.js +31 -0
- package/base/lib/inits/setupUninit.js.map +1 -0
- package/base/lib/interfaces/Host.d.ts +12 -6
- package/base/lib/interfaces/Host.js +34 -18
- package/base/lib/interfaces/Host.js.map +1 -1
- package/base/lib/interfaces/Origin.d.ts +6 -6
- package/base/lib/interfaces/Origin.js +5 -5
- package/base/lib/interfaces/Origin.js.map +1 -1
- package/base/lib/interfaces/ServiceInterfaceBuilder.d.ts +5 -5
- package/base/lib/interfaces/setupExportedUrls.d.ts +7 -0
- package/base/lib/interfaces/setupExportedUrls.js +27 -0
- package/base/lib/interfaces/setupExportedUrls.js.map +1 -0
- package/base/lib/interfaces/setupInterfaces.d.ts +4 -6
- package/base/lib/interfaces/setupInterfaces.js +8 -17
- package/base/lib/interfaces/setupInterfaces.js.map +1 -1
- package/base/lib/osBindings/AcceptSigners.d.ts +1 -1
- package/base/lib/osBindings/ActionInput.d.ts +2 -0
- package/base/lib/osBindings/ActionInput.js +0 -1
- package/base/lib/osBindings/ActionInput.js.map +1 -1
- package/base/lib/osBindings/ActionMetadata.d.ts +2 -2
- package/base/lib/osBindings/ActionResult.d.ts +4 -4
- package/base/lib/osBindings/ActionResultMember.d.ts +2 -2
- package/base/lib/osBindings/ActionResultV1.d.ts +1 -1
- package/base/lib/osBindings/ActionResultValue.d.ts +3 -3
- package/base/lib/osBindings/ActionVisibility.d.ts +2 -2
- package/base/lib/osBindings/AddAdminParams.d.ts +1 -1
- package/base/lib/osBindings/AddAssetParams.d.ts +2 -2
- package/base/lib/osBindings/AddCategoryParams.d.ts +2 -3
- package/base/lib/osBindings/AddCategoryParams.js +0 -1
- package/base/lib/osBindings/AddCategoryParams.js.map +1 -1
- package/base/lib/osBindings/AddMirrorParams.d.ts +7 -0
- package/base/lib/osBindings/AddMirrorParams.js +3 -0
- package/base/lib/osBindings/AddMirrorParams.js.map +1 -0
- package/base/lib/osBindings/AddPackageParams.d.ts +3 -3
- package/base/lib/osBindings/AddPackageSignerParams.d.ts +8 -0
- package/base/lib/osBindings/AddPackageSignerParams.js +3 -0
- package/base/lib/osBindings/AddPackageSignerParams.js.map +1 -0
- package/base/lib/osBindings/AddPackageToCategoryParams.d.ts +5 -0
- package/base/lib/osBindings/AddPackageToCategoryParams.js +3 -0
- package/base/lib/osBindings/AddPackageToCategoryParams.js.map +1 -0
- package/base/lib/osBindings/AddPrivateDomainParams.d.ts +5 -0
- package/base/lib/osBindings/AddPrivateDomainParams.js +3 -0
- package/base/lib/osBindings/AddPrivateDomainParams.js.map +1 -0
- package/base/lib/osBindings/AddPublicDomainParams.d.ts +8 -0
- package/base/lib/osBindings/AddPublicDomainParams.js +3 -0
- package/base/lib/osBindings/AddPublicDomainParams.js.map +1 -0
- package/base/lib/osBindings/AddPublicDomainRes.d.ts +5 -0
- package/base/lib/osBindings/{ActionRequestEntry.js → AddPublicDomainRes.js} +1 -1
- package/base/lib/osBindings/AddPublicDomainRes.js.map +1 -0
- package/base/lib/osBindings/AddSslOptions.d.ts +2 -1
- package/base/lib/osBindings/AddTunnelParams.d.ts +7 -0
- package/base/lib/osBindings/AddTunnelParams.js +3 -0
- package/base/lib/osBindings/AddTunnelParams.js.map +1 -0
- package/base/lib/osBindings/AddressInfo.d.ts +1 -1
- package/base/lib/osBindings/Alerts.d.ts +6 -5
- package/base/lib/osBindings/Alerts.js +0 -1
- package/base/lib/osBindings/Alerts.js.map +1 -1
- package/base/lib/osBindings/Algorithm.d.ts +1 -1
- package/base/lib/osBindings/AllPackageData.d.ts +2 -2
- package/base/lib/osBindings/AllowedStatuses.d.ts +1 -1
- package/base/lib/osBindings/AlpnInfo.d.ts +2 -2
- package/base/lib/osBindings/ApiState.d.ts +1 -1
- package/base/lib/osBindings/AttachParams.d.ts +3 -2
- package/base/lib/osBindings/BackupInfo.d.ts +9 -0
- package/base/lib/osBindings/{MainStatus.js → BackupInfo.js} +1 -1
- package/base/lib/osBindings/BackupInfo.js.map +1 -0
- package/base/lib/osBindings/BackupParams.d.ts +9 -0
- package/base/lib/osBindings/{DomainConfig.js → BackupParams.js} +1 -1
- package/base/lib/osBindings/BackupParams.js.map +1 -0
- package/base/lib/osBindings/BackupReport.d.ts +9 -0
- package/base/lib/osBindings/BackupReport.js +3 -0
- package/base/lib/osBindings/BackupReport.js.map +1 -0
- package/base/lib/osBindings/BackupTarget.d.ts +18 -0
- package/base/lib/osBindings/BackupTarget.js +3 -0
- package/base/lib/osBindings/BackupTarget.js.map +1 -0
- package/base/lib/osBindings/BackupTargetFS.d.ts +4 -4
- package/base/lib/osBindings/BackupTargetId.d.ts +1 -0
- package/base/lib/osBindings/{DependencyKind.js → BackupTargetId.js} +1 -1
- package/base/lib/osBindings/BackupTargetId.js.map +1 -0
- package/base/lib/osBindings/BindId.d.ts +1 -1
- package/base/lib/osBindings/BindInfo.d.ts +4 -2
- package/base/lib/osBindings/BindOptions.d.ts +2 -2
- package/base/lib/osBindings/BindParams.d.ts +3 -3
- package/base/lib/osBindings/BindingSetAddressEnabledParams.d.ts +5 -0
- package/base/lib/osBindings/BindingSetAddressEnabledParams.js +4 -0
- package/base/lib/osBindings/BindingSetAddressEnabledParams.js.map +1 -0
- package/base/lib/osBindings/Bindings.d.ts +4 -0
- package/base/lib/osBindings/{HostAddress.js → Bindings.js} +1 -1
- package/base/lib/osBindings/Bindings.js.map +1 -0
- package/base/lib/osBindings/Blake3Commitment.d.ts +1 -1
- package/base/lib/osBindings/CancelInstallParams.d.ts +4 -0
- package/base/lib/osBindings/CancelInstallParams.js +3 -0
- package/base/lib/osBindings/CancelInstallParams.js.map +1 -0
- package/base/lib/osBindings/Category.d.ts +2 -3
- package/base/lib/osBindings/Celsius.d.ts +4 -1
- package/base/lib/osBindings/CheckDependenciesParam.d.ts +1 -1
- package/base/lib/osBindings/CheckDependenciesResult.d.ts +8 -8
- package/base/lib/osBindings/CheckDnsParams.d.ts +4 -0
- package/base/lib/osBindings/{GetStoreParams.js → CheckDnsParams.js} +1 -1
- package/base/lib/osBindings/CheckDnsParams.js.map +1 -0
- package/base/lib/osBindings/CheckPortParams.d.ts +5 -0
- package/base/lib/osBindings/CheckPortParams.js +3 -0
- package/base/lib/osBindings/CheckPortParams.js.map +1 -0
- package/base/lib/osBindings/CheckPortRes.d.ts +7 -0
- package/base/lib/osBindings/{OnionHostname.js → CheckPortRes.js} +1 -1
- package/base/lib/osBindings/CheckPortRes.js.map +1 -0
- package/base/lib/osBindings/CifsAddParams.d.ts +6 -0
- package/base/lib/osBindings/{ActionSeverity.js → CifsAddParams.js} +1 -1
- package/base/lib/osBindings/CifsAddParams.js.map +1 -0
- package/base/lib/osBindings/CifsBackupTarget.d.ts +10 -0
- package/base/lib/osBindings/CifsBackupTarget.js +3 -0
- package/base/lib/osBindings/CifsBackupTarget.js.map +1 -0
- package/base/lib/osBindings/CifsRemoveParams.d.ts +4 -0
- package/base/lib/osBindings/CifsRemoveParams.js +3 -0
- package/base/lib/osBindings/CifsRemoveParams.js.map +1 -0
- package/base/lib/osBindings/CifsUpdateParams.d.ts +8 -0
- package/base/lib/osBindings/CifsUpdateParams.js +3 -0
- package/base/lib/osBindings/CifsUpdateParams.js.map +1 -0
- package/base/lib/osBindings/ClearActionsParams.d.ts +1 -1
- package/base/lib/osBindings/ClearBindingsParams.d.ts +1 -1
- package/base/lib/osBindings/ClearServiceInterfacesParams.d.ts +1 -1
- package/base/lib/osBindings/ClearTaskParams.d.ts +7 -0
- package/base/lib/osBindings/ClearTaskParams.js +3 -0
- package/base/lib/osBindings/ClearTaskParams.js.map +1 -0
- package/base/lib/osBindings/{ClearActionRequestsParams.d.ts → ClearTasksParams.d.ts} +1 -1
- package/base/lib/osBindings/ClearTasksParams.js +4 -0
- package/base/lib/osBindings/ClearTasksParams.js.map +1 -0
- package/base/lib/osBindings/ControlParams.d.ts +4 -0
- package/base/lib/osBindings/{ActionRequest.js → ControlParams.js} +1 -1
- package/base/lib/osBindings/ControlParams.js.map +1 -0
- package/base/lib/osBindings/CreateSubcontainerFsParams.d.ts +1 -1
- package/base/lib/osBindings/CreateTaskParams.d.ts +15 -0
- package/base/lib/osBindings/CreateTaskParams.js +3 -0
- package/base/lib/osBindings/CreateTaskParams.js.map +1 -0
- package/base/lib/osBindings/CurrentDependencies.d.ts +2 -2
- package/base/lib/osBindings/CurrentDependencyInfo.d.ts +5 -4
- package/base/lib/osBindings/DepInfo.d.ts +4 -4
- package/base/lib/osBindings/Dependencies.d.ts +2 -2
- package/base/lib/osBindings/DependencyMetadata.d.ts +4 -3
- package/base/lib/osBindings/DependencyRequirement.d.ts +4 -4
- package/base/lib/osBindings/DerivedAddressInfo.d.ts +15 -0
- package/base/lib/osBindings/DerivedAddressInfo.js +3 -0
- package/base/lib/osBindings/DerivedAddressInfo.js.map +1 -0
- package/base/lib/osBindings/Description.d.ts +3 -2
- package/base/lib/osBindings/Description.js +0 -1
- package/base/lib/osBindings/Description.js.map +1 -1
- package/base/lib/osBindings/DesiredStatus.d.ts +12 -0
- package/base/lib/osBindings/DesiredStatus.js +3 -0
- package/base/lib/osBindings/DesiredStatus.js.map +1 -0
- package/base/lib/osBindings/DestroySubcontainerFsParams.d.ts +1 -1
- package/base/lib/osBindings/DeviceFilter.d.ts +6 -3
- package/base/lib/osBindings/DnsSettings.d.ts +4 -0
- package/base/lib/osBindings/DnsSettings.js +4 -0
- package/base/lib/osBindings/DnsSettings.js.map +1 -0
- package/base/lib/osBindings/DomainSettings.d.ts +4 -0
- package/base/lib/osBindings/DomainSettings.js +3 -0
- package/base/lib/osBindings/DomainSettings.js.map +1 -0
- package/base/lib/osBindings/EditSignerParams.d.ts +3 -3
- package/base/lib/osBindings/EffectsRunActionParams.d.ts +7 -0
- package/base/lib/osBindings/EffectsRunActionParams.js +3 -0
- package/base/lib/osBindings/EffectsRunActionParams.js.map +1 -0
- package/base/lib/osBindings/ErrorData.d.ts +5 -0
- package/base/lib/osBindings/{IpHostname.js → ErrorData.js} +1 -1
- package/base/lib/osBindings/ErrorData.js.map +1 -0
- package/base/lib/osBindings/EventId.d.ts +4 -0
- package/base/lib/osBindings/{ProcedureId.js → EventId.js} +1 -1
- package/base/lib/osBindings/EventId.js.map +1 -0
- package/base/lib/osBindings/ExportActionParams.d.ts +2 -2
- package/base/lib/osBindings/ExportServiceInterfaceParams.d.ts +3 -3
- package/base/lib/osBindings/FileType.d.ts +1 -0
- package/base/lib/osBindings/FileType.js +4 -0
- package/base/lib/osBindings/FileType.js.map +1 -0
- package/base/lib/osBindings/ForgetGatewayParams.d.ts +4 -0
- package/base/lib/osBindings/ForgetGatewayParams.js +3 -0
- package/base/lib/osBindings/ForgetGatewayParams.js.map +1 -0
- package/base/lib/osBindings/FullIndex.d.ts +5 -5
- package/base/lib/osBindings/FullProgress.d.ts +2 -2
- package/base/lib/osBindings/GatewayId.d.ts +1 -0
- package/base/lib/osBindings/GatewayId.js +4 -0
- package/base/lib/osBindings/GatewayId.js.map +1 -0
- package/base/lib/osBindings/GatewayInfo.d.ts +6 -0
- package/base/lib/osBindings/GatewayInfo.js +3 -0
- package/base/lib/osBindings/GatewayInfo.js.map +1 -0
- package/base/lib/osBindings/GatewayType.d.ts +1 -0
- package/base/lib/osBindings/GatewayType.js +4 -0
- package/base/lib/osBindings/GatewayType.js.map +1 -0
- package/base/lib/osBindings/GenerateCertificateParams.d.ts +4 -0
- package/base/lib/osBindings/GenerateCertificateParams.js +4 -0
- package/base/lib/osBindings/GenerateCertificateParams.js.map +1 -0
- package/base/lib/osBindings/GenerateCertificateResponse.d.ts +4 -0
- package/base/lib/osBindings/GenerateCertificateResponse.js +4 -0
- package/base/lib/osBindings/GenerateCertificateResponse.js.map +1 -0
- package/base/lib/osBindings/GetActionInputParams.d.ts +3 -2
- package/base/lib/osBindings/GetContainerIpParams.d.ts +2 -2
- package/base/lib/osBindings/GetHostInfoParams.d.ts +3 -3
- package/base/lib/osBindings/GetOsVersionParams.d.ts +3 -3
- package/base/lib/osBindings/GetOutboundGatewayParams.d.ts +4 -0
- package/base/lib/osBindings/GetOutboundGatewayParams.js +3 -0
- package/base/lib/osBindings/GetOutboundGatewayParams.js.map +1 -0
- package/base/lib/osBindings/GetPackageParams.d.ts +5 -5
- package/base/lib/osBindings/GetPackageResponse.d.ts +3 -3
- package/base/lib/osBindings/GetPackageResponseFull.d.ts +2 -2
- package/base/lib/osBindings/GetServiceInterfaceParams.d.ts +3 -3
- package/base/lib/osBindings/GetServiceManifestParams.d.ts +6 -0
- package/base/lib/osBindings/GetServiceManifestParams.js +3 -0
- package/base/lib/osBindings/GetServiceManifestParams.js.map +1 -0
- package/base/lib/osBindings/GetServicePortForwardParams.d.ts +2 -2
- package/base/lib/osBindings/GetSslCertificateParams.d.ts +2 -2
- package/base/lib/osBindings/GetSslKeyParams.d.ts +1 -1
- package/base/lib/osBindings/GetStatusParams.d.ts +2 -2
- package/base/lib/osBindings/GetSystemSmtpParams.d.ts +1 -1
- package/base/lib/osBindings/GigaBytes.d.ts +4 -1
- package/base/lib/osBindings/HardwareRequirements.d.ts +1 -1
- package/base/lib/osBindings/Host.d.ts +11 -12
- package/base/lib/osBindings/HostnameInfo.d.ts +5 -8
- package/base/lib/osBindings/HostnameMetadata.d.ts +26 -0
- package/base/lib/osBindings/HostnameMetadata.js +3 -0
- package/base/lib/osBindings/HostnameMetadata.js.map +1 -0
- package/base/lib/osBindings/Hosts.d.ts +2 -2
- package/base/lib/osBindings/IdMap.d.ts +5 -0
- package/base/lib/osBindings/IdMap.js +4 -0
- package/base/lib/osBindings/IdMap.js.map +1 -0
- package/base/lib/osBindings/ImageConfig.d.ts +2 -1
- package/base/lib/osBindings/ImageSource.d.ts +2 -2
- package/base/lib/osBindings/InfoParams.d.ts +6 -0
- package/base/lib/osBindings/InfoParams.js +3 -0
- package/base/lib/osBindings/InfoParams.js.map +1 -0
- package/base/lib/osBindings/InitAcmeParams.d.ts +5 -0
- package/base/lib/osBindings/InitAcmeParams.js +3 -0
- package/base/lib/osBindings/InitAcmeParams.js.map +1 -0
- package/base/lib/osBindings/InitProgressRes.d.ts +2 -2
- package/base/lib/osBindings/InstallParams.d.ts +2 -2
- package/base/lib/osBindings/InstalledState.d.ts +1 -1
- package/base/lib/osBindings/InstalledVersionParams.d.ts +1 -1
- package/base/lib/osBindings/InstallingInfo.d.ts +2 -2
- package/base/lib/osBindings/InstallingState.d.ts +1 -1
- package/base/lib/osBindings/IpInfo.d.ts +3 -1
- package/base/lib/osBindings/KeyboardOptions.d.ts +7 -0
- package/base/lib/osBindings/KeyboardOptions.js +4 -0
- package/base/lib/osBindings/KeyboardOptions.js.map +1 -0
- package/base/lib/osBindings/KillParams.d.ts +3 -0
- package/base/lib/osBindings/KillParams.js +4 -0
- package/base/lib/osBindings/KillParams.js.map +1 -0
- package/base/lib/osBindings/ListNotificationParams.d.ts +4 -0
- package/base/lib/osBindings/{ActionRequestCondition.js → ListNotificationParams.js} +1 -1
- package/base/lib/osBindings/ListNotificationParams.js.map +1 -0
- package/base/lib/osBindings/ListPackageSignersParams.d.ts +1 -1
- package/base/lib/osBindings/ListServiceInterfacesParams.d.ts +2 -2
- package/base/lib/osBindings/LocaleString.d.ts +1 -0
- package/base/lib/osBindings/LocaleString.js +4 -0
- package/base/lib/osBindings/LocaleString.js.map +1 -0
- package/base/lib/osBindings/LogEntry.d.ts +5 -0
- package/base/lib/osBindings/LogEntry.js +4 -0
- package/base/lib/osBindings/LogEntry.js.map +1 -0
- package/base/lib/osBindings/LogFollowResponse.d.ts +5 -0
- package/base/lib/osBindings/LogFollowResponse.js +3 -0
- package/base/lib/osBindings/LogFollowResponse.js.map +1 -0
- package/base/lib/osBindings/LogResponse.d.ts +6 -0
- package/base/lib/osBindings/LogResponse.js +3 -0
- package/base/lib/osBindings/LogResponse.js.map +1 -0
- package/base/lib/osBindings/LoginParams.d.ts +1 -2
- package/base/lib/osBindings/LoginParams.js +1 -0
- package/base/lib/osBindings/LoginParams.js.map +1 -1
- package/base/lib/osBindings/LogsParams.d.ts +6 -0
- package/base/lib/osBindings/LogsParams.js +4 -0
- package/base/lib/osBindings/LogsParams.js.map +1 -0
- package/base/lib/osBindings/LshwDevice.d.ts +4 -4
- package/base/lib/osBindings/LshwDisplay.d.ts +4 -1
- package/base/lib/osBindings/LshwProcessor.d.ts +3 -1
- package/base/lib/osBindings/Manifest.d.ts +27 -22
- package/base/lib/osBindings/MebiBytes.d.ts +4 -1
- package/base/lib/osBindings/MerkleArchiveCommitment.d.ts +1 -1
- package/base/lib/osBindings/Metadata.d.ts +6 -0
- package/base/lib/osBindings/Metadata.js +3 -0
- package/base/lib/osBindings/Metadata.js.map +1 -0
- package/base/lib/osBindings/MetadataSrc.d.ts +7 -0
- package/base/lib/osBindings/MetadataSrc.js +3 -0
- package/base/lib/osBindings/MetadataSrc.js.map +1 -0
- package/base/lib/osBindings/Metrics.d.ts +4 -4
- package/base/lib/osBindings/MetricsCpu.d.ts +1 -1
- package/base/lib/osBindings/MetricsDisk.d.ts +2 -2
- package/base/lib/osBindings/MetricsFollowResponse.d.ts +6 -0
- package/base/lib/osBindings/MetricsFollowResponse.js +3 -0
- package/base/lib/osBindings/MetricsFollowResponse.js.map +1 -0
- package/base/lib/osBindings/MetricsGeneral.d.ts +1 -1
- package/base/lib/osBindings/MetricsMemory.d.ts +2 -2
- package/base/lib/osBindings/ModifyNotificationBeforeParams.d.ts +3 -0
- package/base/lib/osBindings/ModifyNotificationBeforeParams.js +4 -0
- package/base/lib/osBindings/ModifyNotificationBeforeParams.js.map +1 -0
- package/base/lib/osBindings/ModifyNotificationParams.d.ts +3 -0
- package/base/lib/osBindings/ModifyNotificationParams.js +4 -0
- package/base/lib/osBindings/ModifyNotificationParams.js.map +1 -0
- package/base/lib/osBindings/MountParams.d.ts +1 -1
- package/base/lib/osBindings/MountTarget.d.ts +4 -2
- package/base/lib/osBindings/NamedHealthCheckResult.d.ts +8 -5
- package/base/lib/osBindings/NamedProgress.d.ts +1 -1
- package/base/lib/osBindings/NetInfo.d.ts +0 -1
- package/base/lib/osBindings/NetworkInfo.d.ts +13 -7
- package/base/lib/osBindings/NetworkInterfaceInfo.d.ts +5 -3
- package/base/lib/osBindings/NetworkInterfaceType.d.ts +1 -1
- package/base/lib/osBindings/Notification.d.ts +12 -0
- package/base/lib/osBindings/Notification.js +3 -0
- package/base/lib/osBindings/Notification.js.map +1 -0
- package/base/lib/osBindings/NotificationLevel.d.ts +1 -0
- package/base/lib/osBindings/NotificationLevel.js +4 -0
- package/base/lib/osBindings/NotificationLevel.js.map +1 -0
- package/base/lib/osBindings/NotificationWithId.d.ts +13 -0
- package/base/lib/osBindings/NotificationWithId.js +3 -0
- package/base/lib/osBindings/NotificationWithId.js.map +1 -0
- package/base/lib/osBindings/OsIndex.d.ts +1 -1
- package/base/lib/osBindings/OsVersionInfo.d.ts +3 -3
- package/base/lib/osBindings/OsVersionInfoMap.d.ts +1 -1
- package/base/lib/osBindings/PackageBackupInfo.d.ts +7 -0
- package/base/lib/osBindings/PackageBackupInfo.js +3 -0
- package/base/lib/osBindings/PackageBackupInfo.js.map +1 -0
- package/base/lib/osBindings/PackageBackupReport.d.ts +3 -0
- package/base/lib/osBindings/PackageBackupReport.js +4 -0
- package/base/lib/osBindings/PackageBackupReport.js.map +1 -0
- package/base/lib/osBindings/PackageDataEntry.d.ts +18 -15
- package/base/lib/osBindings/PackageDetailLevel.d.ts +1 -1
- package/base/lib/osBindings/PackageIndex.d.ts +3 -3
- package/base/lib/osBindings/PackageInfo.d.ts +6 -4
- package/base/lib/osBindings/PackageInfoShort.d.ts +2 -1
- package/base/lib/osBindings/PackageInfoShort.js +0 -1
- package/base/lib/osBindings/PackageInfoShort.js.map +1 -1
- package/base/lib/osBindings/PackagePlugin.d.ts +4 -0
- package/base/lib/osBindings/PackagePlugin.js +3 -0
- package/base/lib/osBindings/PackagePlugin.js.map +1 -0
- package/base/lib/osBindings/PackageState.d.ts +8 -8
- package/base/lib/osBindings/PackageVersionInfo.d.ts +26 -20
- package/base/lib/osBindings/PartitionInfo.d.ts +12 -0
- package/base/lib/osBindings/PartitionInfo.js +3 -0
- package/base/lib/osBindings/PartitionInfo.js.map +1 -0
- package/base/lib/osBindings/PassthroughInfo.d.ts +7 -0
- package/base/lib/osBindings/PassthroughInfo.js +4 -0
- package/base/lib/osBindings/PassthroughInfo.js.map +1 -0
- package/base/lib/osBindings/PasswordType.d.ts +1 -1
- package/base/lib/osBindings/Pem.d.ts +1 -0
- package/base/lib/osBindings/Pem.js +4 -0
- package/base/lib/osBindings/Pem.js.map +1 -0
- package/base/lib/osBindings/Percentage.d.ts +4 -1
- package/base/lib/osBindings/PluginHostnameInfo.d.ts +12 -0
- package/base/lib/osBindings/PluginHostnameInfo.js +3 -0
- package/base/lib/osBindings/PluginHostnameInfo.js.map +1 -0
- package/base/lib/osBindings/PluginId.d.ts +1 -0
- package/base/lib/osBindings/PluginId.js +4 -0
- package/base/lib/osBindings/PluginId.js.map +1 -0
- package/base/lib/osBindings/PortForward.d.ts +6 -0
- package/base/lib/osBindings/PortForward.js +3 -0
- package/base/lib/osBindings/PortForward.js.map +1 -0
- package/base/lib/osBindings/Progress.d.ts +2 -0
- package/base/lib/osBindings/Progress.js +0 -1
- package/base/lib/osBindings/Progress.js.map +1 -1
- package/base/lib/osBindings/ProgressUnits.d.ts +1 -0
- package/base/lib/osBindings/ProgressUnits.js +4 -0
- package/base/lib/osBindings/ProgressUnits.js.map +1 -0
- package/base/lib/osBindings/Public.d.ts +2 -2
- package/base/lib/osBindings/PublicDomainConfig.d.ts +6 -0
- package/base/lib/osBindings/PublicDomainConfig.js +3 -0
- package/base/lib/osBindings/PublicDomainConfig.js.map +1 -0
- package/base/lib/osBindings/QueryDnsParams.d.ts +3 -0
- package/base/lib/osBindings/QueryDnsParams.js +4 -0
- package/base/lib/osBindings/QueryDnsParams.js.map +1 -0
- package/base/lib/osBindings/RebuildParams.d.ts +4 -0
- package/base/lib/osBindings/RebuildParams.js +3 -0
- package/base/lib/osBindings/RebuildParams.js.map +1 -0
- package/base/lib/osBindings/RecoverySource.d.ts +3 -3
- package/base/lib/osBindings/RegistryAsset.d.ts +3 -3
- package/base/lib/osBindings/RegistryInfo.d.ts +2 -2
- package/base/lib/osBindings/RemoveAcmeParams.d.ts +4 -0
- package/base/lib/osBindings/RemoveAcmeParams.js +3 -0
- package/base/lib/osBindings/RemoveAcmeParams.js.map +1 -0
- package/base/lib/osBindings/RemoveAdminParams.d.ts +4 -0
- package/base/lib/osBindings/RemoveAdminParams.js +3 -0
- package/base/lib/osBindings/RemoveAdminParams.js.map +1 -0
- package/base/lib/osBindings/RemoveAssetParams.d.ts +4 -0
- package/base/lib/osBindings/RemoveAssetParams.js +4 -0
- package/base/lib/osBindings/RemoveAssetParams.js.map +1 -0
- package/base/lib/osBindings/RemoveDomainParams.d.ts +3 -0
- package/base/lib/osBindings/{ActionRequestInput.js → RemoveDomainParams.js} +1 -1
- package/base/lib/osBindings/RemoveDomainParams.js.map +1 -0
- package/base/lib/osBindings/RemoveMirrorParams.d.ts +7 -0
- package/base/lib/osBindings/RemoveMirrorParams.js +3 -0
- package/base/lib/osBindings/RemoveMirrorParams.js.map +1 -0
- package/base/lib/osBindings/RemovePackageFromCategoryParams.d.ts +5 -0
- package/base/lib/osBindings/RemovePackageFromCategoryParams.js +3 -0
- package/base/lib/osBindings/RemovePackageFromCategoryParams.js.map +1 -0
- package/base/lib/osBindings/RemovePackageParams.d.ts +8 -0
- package/base/lib/osBindings/RemovePackageParams.js +3 -0
- package/base/lib/osBindings/RemovePackageParams.js.map +1 -0
- package/base/lib/osBindings/RemovePackageSignerParams.d.ts +6 -0
- package/base/lib/osBindings/RemovePackageSignerParams.js +3 -0
- package/base/lib/osBindings/RemovePackageSignerParams.js.map +1 -0
- package/base/lib/osBindings/RemoveTunnelParams.d.ts +4 -0
- package/base/lib/osBindings/RemoveTunnelParams.js +3 -0
- package/base/lib/osBindings/RemoveTunnelParams.js.map +1 -0
- package/base/lib/osBindings/RenameGatewayParams.d.ts +5 -0
- package/base/lib/osBindings/RenameGatewayParams.js +3 -0
- package/base/lib/osBindings/RenameGatewayParams.js.map +1 -0
- package/base/lib/osBindings/RequestCommitment.d.ts +1 -1
- package/base/lib/osBindings/ResetPasswordParams.d.ts +5 -0
- package/base/lib/osBindings/ResetPasswordParams.js +3 -0
- package/base/lib/osBindings/ResetPasswordParams.js.map +1 -0
- package/base/lib/osBindings/RestartReason.d.ts +1 -0
- package/base/lib/osBindings/RestartReason.js +4 -0
- package/base/lib/osBindings/RestartReason.js.map +1 -0
- package/base/lib/osBindings/RestorePackageParams.d.ts +8 -0
- package/base/lib/osBindings/{ActionRequestTrigger.js → RestorePackageParams.js} +1 -1
- package/base/lib/osBindings/RestorePackageParams.js.map +1 -0
- package/base/lib/osBindings/RunActionParams.d.ts +6 -4
- package/base/lib/osBindings/ServerBackupReport.d.ts +4 -0
- package/base/lib/osBindings/ServerBackupReport.js +4 -0
- package/base/lib/osBindings/ServerBackupReport.js.map +1 -0
- package/base/lib/osBindings/ServerHostname.d.ts +1 -0
- package/base/lib/osBindings/ServerHostname.js +4 -0
- package/base/lib/osBindings/ServerHostname.js.map +1 -0
- package/base/lib/osBindings/ServerInfo.d.ts +12 -6
- package/base/lib/osBindings/ServerStatus.d.ts +5 -4
- package/base/lib/osBindings/ServiceInterface.d.ts +3 -3
- package/base/lib/osBindings/ServiceInterfaceType.d.ts +1 -1
- package/base/lib/osBindings/SessionList.d.ts +1 -1
- package/base/lib/osBindings/Sessions.d.ts +2 -5
- package/base/lib/osBindings/Sessions.js +0 -1
- package/base/lib/osBindings/Sessions.js.map +1 -1
- package/base/lib/osBindings/SetCountryParams.d.ts +3 -0
- package/base/lib/osBindings/SetCountryParams.js +4 -0
- package/base/lib/osBindings/SetCountryParams.js.map +1 -0
- package/base/lib/osBindings/SetDefaultOutboundParams.d.ts +4 -0
- package/base/lib/osBindings/SetDefaultOutboundParams.js +3 -0
- package/base/lib/osBindings/SetDefaultOutboundParams.js.map +1 -0
- package/base/lib/osBindings/SetDependenciesParams.d.ts +1 -1
- package/base/lib/osBindings/SetHealth.d.ts +9 -6
- package/base/lib/osBindings/SetIconParams.d.ts +1 -1
- package/base/lib/osBindings/SetLanguageParams.d.ts +3 -0
- package/base/lib/osBindings/SetLanguageParams.js +4 -0
- package/base/lib/osBindings/SetLanguageParams.js.map +1 -0
- package/base/lib/osBindings/SetMainStatus.d.ts +1 -1
- package/base/lib/osBindings/SetMainStatusStatus.d.ts +1 -1
- package/base/lib/osBindings/SetOutboundGatewayParams.d.ts +6 -0
- package/base/lib/osBindings/SetOutboundGatewayParams.js +3 -0
- package/base/lib/osBindings/SetOutboundGatewayParams.js.map +1 -0
- package/base/lib/osBindings/SetServerHostnameParams.d.ts +4 -0
- package/base/lib/osBindings/{BindingSetPublicParams.js → SetServerHostnameParams.js} +1 -1
- package/base/lib/osBindings/SetServerHostnameParams.js.map +1 -0
- package/base/lib/osBindings/SetStaticDnsParams.d.ts +3 -0
- package/base/lib/osBindings/SetStaticDnsParams.js +4 -0
- package/base/lib/osBindings/SetStaticDnsParams.js.map +1 -0
- package/base/lib/osBindings/SetWifiEnabledParams.d.ts +3 -0
- package/base/lib/osBindings/SetWifiEnabledParams.js +4 -0
- package/base/lib/osBindings/SetWifiEnabledParams.js.map +1 -0
- package/base/lib/osBindings/SetupExecuteParams.d.ts +7 -4
- package/base/lib/osBindings/SetupInfo.d.ts +5 -0
- package/base/lib/osBindings/SetupInfo.js +4 -0
- package/base/lib/osBindings/SetupInfo.js.map +1 -0
- package/base/lib/osBindings/SetupProgress.d.ts +2 -2
- package/base/lib/osBindings/SetupResult.d.ts +3 -3
- package/base/lib/osBindings/SetupResult.js +0 -1
- package/base/lib/osBindings/SetupResult.js.map +1 -1
- package/base/lib/osBindings/SetupStatusRes.d.ts +12 -7
- package/base/lib/osBindings/SideloadParams.d.ts +1 -0
- package/base/lib/osBindings/SideloadParams.js +4 -0
- package/base/lib/osBindings/SideloadParams.js.map +1 -0
- package/base/lib/osBindings/SideloadResponse.d.ts +5 -0
- package/base/lib/osBindings/SideloadResponse.js +3 -0
- package/base/lib/osBindings/SideloadResponse.js.map +1 -0
- package/base/lib/osBindings/SignAssetParams.d.ts +1 -1
- package/base/lib/osBindings/SignalStrength.d.ts +4 -0
- package/base/lib/osBindings/SignalStrength.js +4 -0
- package/base/lib/osBindings/SignalStrength.js.map +1 -0
- package/base/lib/osBindings/SignerInfo.d.ts +2 -2
- package/base/lib/osBindings/SmtpSecurity.d.ts +1 -0
- package/base/lib/osBindings/SmtpSecurity.js +4 -0
- package/base/lib/osBindings/SmtpSecurity.js.map +1 -0
- package/base/lib/osBindings/SmtpValue.d.ts +4 -2
- package/base/lib/osBindings/SmtpValue.js +0 -1
- package/base/lib/osBindings/SmtpValue.js.map +1 -1
- package/base/lib/osBindings/SshAddParams.d.ts +4 -0
- package/base/lib/osBindings/SshAddParams.js +3 -0
- package/base/lib/osBindings/SshAddParams.js.map +1 -0
- package/base/lib/osBindings/SshDeleteParams.d.ts +3 -0
- package/base/lib/osBindings/SshDeleteParams.js +4 -0
- package/base/lib/osBindings/SshDeleteParams.js.map +1 -0
- package/base/lib/osBindings/SshKeyResponse.d.ts +6 -0
- package/base/lib/osBindings/SshKeyResponse.js +4 -0
- package/base/lib/osBindings/SshKeyResponse.js.map +1 -0
- package/base/lib/osBindings/SshPubKey.d.ts +1 -0
- package/base/lib/osBindings/SshPubKey.js +4 -0
- package/base/lib/osBindings/SshPubKey.js.map +1 -0
- package/base/lib/osBindings/Ssid.d.ts +4 -0
- package/base/lib/osBindings/Ssid.js +4 -0
- package/base/lib/osBindings/Ssid.js.map +1 -0
- package/base/lib/osBindings/StartOsRecoveryInfo.d.ts +8 -0
- package/base/lib/osBindings/StartOsRecoveryInfo.js +3 -0
- package/base/lib/osBindings/StartOsRecoveryInfo.js.map +1 -0
- package/base/lib/osBindings/StartStop.d.ts +1 -1
- package/base/lib/osBindings/StatusInfo.d.ts +12 -0
- package/base/lib/osBindings/StatusInfo.js +3 -0
- package/base/lib/osBindings/StatusInfo.js.map +1 -0
- package/base/lib/osBindings/Task.d.ts +13 -0
- package/base/lib/osBindings/Task.js +3 -0
- package/base/lib/osBindings/Task.js.map +1 -0
- package/base/lib/osBindings/TaskCondition.d.ts +1 -0
- package/base/lib/osBindings/TaskCondition.js +4 -0
- package/base/lib/osBindings/TaskCondition.js.map +1 -0
- package/base/lib/osBindings/TaskEntry.d.ts +5 -0
- package/base/lib/osBindings/TaskEntry.js +3 -0
- package/base/lib/osBindings/TaskEntry.js.map +1 -0
- package/base/lib/osBindings/TaskInput.d.ts +4 -0
- package/base/lib/osBindings/TaskInput.js +4 -0
- package/base/lib/osBindings/TaskInput.js.map +1 -0
- package/base/lib/osBindings/TaskSeverity.d.ts +1 -0
- package/base/lib/osBindings/TaskSeverity.js +4 -0
- package/base/lib/osBindings/TaskSeverity.js.map +1 -0
- package/base/lib/osBindings/TaskTrigger.d.ts +5 -0
- package/base/lib/osBindings/TaskTrigger.js +3 -0
- package/base/lib/osBindings/TaskTrigger.js.map +1 -0
- package/base/lib/osBindings/TestSmtpParams.d.ts +5 -3
- package/base/lib/osBindings/TestSmtpParams.js +0 -1
- package/base/lib/osBindings/TestSmtpParams.js.map +1 -1
- package/base/lib/osBindings/TimeInfo.d.ts +4 -0
- package/base/lib/osBindings/TimeInfo.js +4 -0
- package/base/lib/osBindings/TimeInfo.js.map +1 -0
- package/base/lib/osBindings/UmountParams.d.ts +4 -0
- package/base/lib/osBindings/UmountParams.js +3 -0
- package/base/lib/osBindings/UmountParams.js.map +1 -0
- package/base/lib/osBindings/UninstallParams.d.ts +6 -0
- package/base/lib/osBindings/UninstallParams.js +3 -0
- package/base/lib/osBindings/UninstallParams.js.map +1 -0
- package/base/lib/osBindings/UpdatingState.d.ts +3 -2
- package/base/lib/osBindings/UrlPluginClearUrlsParams.d.ts +4 -0
- package/base/lib/osBindings/UrlPluginClearUrlsParams.js +3 -0
- package/base/lib/osBindings/UrlPluginClearUrlsParams.js.map +1 -0
- package/base/lib/osBindings/UrlPluginExportUrlParams.d.ts +7 -0
- package/base/lib/osBindings/UrlPluginExportUrlParams.js +3 -0
- package/base/lib/osBindings/UrlPluginExportUrlParams.js.map +1 -0
- package/base/lib/osBindings/UrlPluginRegisterParams.d.ts +4 -0
- package/base/lib/osBindings/UrlPluginRegisterParams.js +3 -0
- package/base/lib/osBindings/UrlPluginRegisterParams.js.map +1 -0
- package/base/lib/osBindings/UrlPluginRegistration.d.ts +4 -0
- package/base/lib/osBindings/UrlPluginRegistration.js +3 -0
- package/base/lib/osBindings/UrlPluginRegistration.js.map +1 -0
- package/base/lib/osBindings/VerifyCifsParams.d.ts +1 -1
- package/base/lib/osBindings/VersionSignerParams.d.ts +1 -1
- package/base/lib/osBindings/WifiAddParams.d.ts +4 -0
- package/base/lib/osBindings/WifiAddParams.js +4 -0
- package/base/lib/osBindings/WifiAddParams.js.map +1 -0
- package/base/lib/osBindings/WifiInfo.d.ts +2 -1
- package/base/lib/osBindings/WifiInfo.js +0 -1
- package/base/lib/osBindings/WifiInfo.js.map +1 -1
- package/base/lib/osBindings/WifiListInfo.d.ts +12 -0
- package/base/lib/osBindings/WifiListInfo.js +3 -0
- package/base/lib/osBindings/WifiListInfo.js.map +1 -0
- package/base/lib/osBindings/WifiListOut.d.ts +7 -0
- package/base/lib/osBindings/WifiListOut.js +3 -0
- package/base/lib/osBindings/WifiListOut.js.map +1 -0
- package/base/lib/osBindings/WifiSsidParams.d.ts +3 -0
- package/base/lib/osBindings/WifiSsidParams.js +4 -0
- package/base/lib/osBindings/WifiSsidParams.js.map +1 -0
- package/base/lib/osBindings/index.d.ts +312 -208
- package/base/lib/osBindings/index.js +35 -0
- package/base/lib/osBindings/index.js.map +1 -1
- package/base/lib/osBindings/tunnel/AddDeviceParams.d.ts +5 -0
- package/base/lib/osBindings/tunnel/AddDeviceParams.js +4 -0
- package/base/lib/osBindings/tunnel/AddDeviceParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/AddKeyParams.d.ts +5 -0
- package/base/lib/osBindings/tunnel/AddKeyParams.js +3 -0
- package/base/lib/osBindings/tunnel/AddKeyParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/AddPortForwardParams.d.ts +5 -0
- package/base/lib/osBindings/tunnel/AddPortForwardParams.js +4 -0
- package/base/lib/osBindings/tunnel/AddPortForwardParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/AddSubnetParams.d.ts +3 -0
- package/base/lib/osBindings/tunnel/AddSubnetParams.js +4 -0
- package/base/lib/osBindings/tunnel/AddSubnetParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/AnyVerifyingKey.d.ts +1 -0
- package/base/lib/osBindings/tunnel/AnyVerifyingKey.js +4 -0
- package/base/lib/osBindings/tunnel/AnyVerifyingKey.js.map +1 -0
- package/base/lib/osBindings/tunnel/Base64.d.ts +1 -0
- package/base/lib/osBindings/tunnel/Base64.js +4 -0
- package/base/lib/osBindings/tunnel/Base64.js.map +1 -0
- package/base/lib/osBindings/tunnel/GatewayId.d.ts +1 -0
- package/base/lib/osBindings/tunnel/GatewayId.js +4 -0
- package/base/lib/osBindings/tunnel/GatewayId.js.map +1 -0
- package/base/lib/osBindings/tunnel/GatewayType.d.ts +1 -0
- package/base/lib/osBindings/tunnel/GatewayType.js +4 -0
- package/base/lib/osBindings/tunnel/GatewayType.js.map +1 -0
- package/base/lib/osBindings/tunnel/IpInfo.d.ts +11 -0
- package/base/lib/osBindings/tunnel/IpInfo.js +3 -0
- package/base/lib/osBindings/tunnel/IpInfo.js.map +1 -0
- package/base/lib/osBindings/tunnel/ListDevicesParams.d.ts +3 -0
- package/base/lib/osBindings/tunnel/ListDevicesParams.js +4 -0
- package/base/lib/osBindings/tunnel/ListDevicesParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.d.ts +8 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.js +3 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.js.map +1 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceType.d.ts +1 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceType.js +4 -0
- package/base/lib/osBindings/tunnel/NetworkInterfaceType.js.map +1 -0
- package/base/lib/osBindings/tunnel/Pem.d.ts +1 -0
- package/base/lib/osBindings/tunnel/Pem.js +4 -0
- package/base/lib/osBindings/tunnel/Pem.js.map +1 -0
- package/base/lib/osBindings/tunnel/PortForwardEntry.d.ts +5 -0
- package/base/lib/osBindings/tunnel/PortForwardEntry.js +4 -0
- package/base/lib/osBindings/tunnel/PortForwardEntry.js.map +1 -0
- package/base/lib/osBindings/tunnel/PortForwards.d.ts +4 -0
- package/base/lib/osBindings/tunnel/PortForwards.js +3 -0
- package/base/lib/osBindings/tunnel/PortForwards.js.map +1 -0
- package/base/lib/osBindings/tunnel/RemoveDeviceParams.d.ts +4 -0
- package/base/lib/osBindings/tunnel/RemoveDeviceParams.js +4 -0
- package/base/lib/osBindings/tunnel/RemoveDeviceParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/RemoveKeyParams.d.ts +4 -0
- package/base/lib/osBindings/tunnel/RemoveKeyParams.js +3 -0
- package/base/lib/osBindings/tunnel/RemoveKeyParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/RemovePortForwardParams.d.ts +3 -0
- package/base/lib/osBindings/tunnel/RemovePortForwardParams.js +4 -0
- package/base/lib/osBindings/tunnel/RemovePortForwardParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/Session.d.ts +5 -0
- package/base/lib/osBindings/tunnel/Session.js +4 -0
- package/base/lib/osBindings/tunnel/Session.js.map +1 -0
- package/base/lib/osBindings/tunnel/Sessions.d.ts +4 -0
- package/base/lib/osBindings/tunnel/Sessions.js +3 -0
- package/base/lib/osBindings/tunnel/Sessions.js.map +1 -0
- package/base/lib/osBindings/tunnel/SetPasswordParams.d.ts +3 -0
- package/base/lib/osBindings/tunnel/SetPasswordParams.js +4 -0
- package/base/lib/osBindings/tunnel/SetPasswordParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.d.ts +4 -0
- package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.js +4 -0
- package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/ShowConfigParams.d.ts +5 -0
- package/base/lib/osBindings/tunnel/ShowConfigParams.js +4 -0
- package/base/lib/osBindings/tunnel/ShowConfigParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/SignerInfo.d.ts +3 -0
- package/base/lib/osBindings/tunnel/SignerInfo.js +4 -0
- package/base/lib/osBindings/tunnel/SignerInfo.js.map +1 -0
- package/base/lib/osBindings/tunnel/SubnetParams.d.ts +3 -0
- package/base/lib/osBindings/tunnel/SubnetParams.js +4 -0
- package/base/lib/osBindings/tunnel/SubnetParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/TunnelCertData.d.ts +5 -0
- package/base/lib/osBindings/tunnel/TunnelCertData.js +3 -0
- package/base/lib/osBindings/tunnel/TunnelCertData.js.map +1 -0
- package/base/lib/osBindings/tunnel/TunnelDatabase.d.ts +21 -0
- package/base/lib/osBindings/tunnel/TunnelDatabase.js +3 -0
- package/base/lib/osBindings/tunnel/TunnelDatabase.js.map +1 -0
- package/base/lib/osBindings/tunnel/TunnelUpdateResult.d.ts +14 -0
- package/base/lib/osBindings/tunnel/TunnelUpdateResult.js +4 -0
- package/base/lib/osBindings/tunnel/TunnelUpdateResult.js.map +1 -0
- package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.d.ts +4 -0
- package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.js +4 -0
- package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.js.map +1 -0
- package/base/lib/osBindings/tunnel/WebserverInfo.d.ts +6 -0
- package/base/lib/osBindings/tunnel/WebserverInfo.js +3 -0
- package/base/lib/osBindings/tunnel/WebserverInfo.js.map +1 -0
- package/base/lib/osBindings/tunnel/WgConfig.d.ts +6 -0
- package/base/lib/osBindings/tunnel/WgConfig.js +3 -0
- package/base/lib/osBindings/tunnel/WgConfig.js.map +1 -0
- package/base/lib/osBindings/tunnel/WgServer.d.ts +7 -0
- package/base/lib/osBindings/tunnel/WgServer.js +3 -0
- package/base/lib/osBindings/tunnel/WgServer.js.map +1 -0
- package/base/lib/osBindings/tunnel/WgSubnetClients.d.ts +4 -0
- package/base/lib/osBindings/tunnel/WgSubnetClients.js +3 -0
- package/base/lib/osBindings/tunnel/WgSubnetClients.js.map +1 -0
- package/base/lib/osBindings/tunnel/WgSubnetConfig.d.ts +5 -0
- package/base/lib/osBindings/tunnel/WgSubnetConfig.js +3 -0
- package/base/lib/osBindings/tunnel/WgSubnetConfig.js.map +1 -0
- package/base/lib/osBindings/tunnel/WgSubnetMap.d.ts +4 -0
- package/base/lib/osBindings/tunnel/WgSubnetMap.js +3 -0
- package/base/lib/osBindings/tunnel/WgSubnetMap.js.map +1 -0
- package/base/lib/osBindings/tunnel/index.d.ts +35 -0
- package/base/lib/osBindings/tunnel/index.js +3 -0
- package/base/lib/osBindings/tunnel/index.js.map +1 -0
- package/base/lib/s9pk/index.d.ts +69 -4
- package/base/lib/s9pk/index.js +89 -26
- package/base/lib/s9pk/index.js.map +1 -1
- package/base/lib/s9pk/merkleArchive/directoryContents.d.ts +1 -1
- package/base/lib/s9pk/merkleArchive/directoryContents.js +2 -2
- package/base/lib/s9pk/merkleArchive/fileContents.d.ts +1 -1
- package/base/lib/s9pk/merkleArchive/fileContents.js +1 -1
- package/base/lib/s9pk/merkleArchive/index.d.ts +3 -3
- package/base/lib/s9pk/merkleArchive/index.js +8 -8
- package/base/lib/s9pk/merkleArchive/varint.js +1 -1
- package/base/lib/types/ManifestTypes.d.ts +47 -30
- package/base/lib/types.d.ts +102 -48
- package/base/lib/types.js +29 -2
- package/base/lib/types.js.map +1 -1
- package/base/lib/util/AbortedError.d.ts +7 -0
- package/base/lib/util/AbortedError.js +14 -0
- package/base/lib/util/AbortedError.js.map +1 -0
- package/base/lib/util/Drop.d.ts +47 -0
- package/base/lib/util/Drop.js +130 -0
- package/base/lib/util/Drop.js.map +1 -0
- package/base/lib/util/GetContainerIp.d.ts +13 -0
- package/base/lib/util/GetContainerIp.js +16 -0
- package/base/lib/util/GetContainerIp.js.map +1 -0
- package/base/lib/util/GetHostInfo.d.ts +15 -0
- package/base/lib/util/GetHostInfo.js +16 -0
- package/base/lib/util/GetHostInfo.js.map +1 -0
- package/base/lib/util/GetOutboundGateway.d.ts +7 -0
- package/base/lib/util/GetOutboundGateway.js +15 -0
- package/base/lib/util/GetOutboundGateway.js.map +1 -0
- package/base/lib/util/GetServiceManifest.d.ts +18 -0
- package/base/lib/util/GetServiceManifest.js +24 -0
- package/base/lib/util/GetServiceManifest.js.map +1 -0
- package/base/lib/util/GetSslCertificate.d.ts +14 -0
- package/base/lib/util/GetSslCertificate.js +16 -0
- package/base/lib/util/GetSslCertificate.js.map +1 -0
- package/base/lib/util/GetStatus.d.ts +13 -0
- package/base/lib/util/GetStatus.js +16 -0
- package/base/lib/util/GetStatus.js.map +1 -0
- package/base/lib/util/GetSystemSmtp.d.ts +6 -20
- package/base/lib/util/GetSystemSmtp.js +6 -54
- package/base/lib/util/GetSystemSmtp.js.map +1 -1
- package/base/lib/util/Watchable.d.ts +56 -0
- package/base/lib/util/Watchable.js +138 -0
- package/base/lib/util/Watchable.js.map +1 -0
- package/base/lib/util/asError.d.ts +8 -0
- package/base/lib/util/asError.js +10 -2
- package/base/lib/util/asError.js.map +1 -1
- package/base/lib/util/deepEqual.d.ts +19 -1
- package/base/lib/util/deepEqual.js +24 -4
- package/base/lib/util/deepEqual.js.map +1 -1
- package/base/lib/util/deepMerge.d.ts +18 -0
- package/base/lib/util/deepMerge.js +27 -4
- package/base/lib/util/deepMerge.js.map +1 -1
- package/base/lib/util/getDefaultString.d.ts +9 -1
- package/base/lib/util/getDefaultString.js +9 -1
- package/base/lib/util/getDefaultString.js.map +1 -1
- package/base/lib/util/getRandomCharInSet.js +9 -9
- package/base/lib/util/getRandomString.d.ts +1 -1
- package/base/lib/util/getRandomString.js +1 -1
- package/base/lib/util/getServiceInterface.d.ts +147 -45
- package/base/lib/util/getServiceInterface.js +156 -178
- package/base/lib/util/getServiceInterface.js.map +1 -1
- package/base/lib/util/getServiceInterfaces.d.ts +16 -21
- package/base/lib/util/getServiceInterfaces.js +21 -67
- package/base/lib/util/getServiceInterfaces.js.map +1 -1
- package/base/lib/util/graph.d.ts +59 -1
- package/base/lib/util/graph.js +59 -0
- package/base/lib/util/graph.js.map +1 -1
- package/base/lib/util/inMs.d.ts +15 -0
- package/base/lib/util/inMs.js +22 -7
- package/base/lib/util/inMs.js.map +1 -1
- package/base/lib/util/index.d.ts +27 -19
- package/base/lib/util/index.js +26 -8
- package/base/lib/util/index.js.map +1 -1
- package/base/lib/util/ip.d.ts +111 -0
- package/base/lib/util/ip.js +338 -0
- package/base/lib/util/ip.js.map +1 -0
- package/base/lib/util/logErrorOnce.d.ts +1 -0
- package/base/lib/util/logErrorOnce.js +13 -0
- package/base/lib/util/logErrorOnce.js.map +1 -0
- package/base/lib/util/once.d.ts +13 -0
- package/base/lib/util/once.js +13 -0
- package/base/lib/util/once.js.map +1 -1
- package/base/lib/util/patterns.d.ts +12 -3
- package/base/lib/util/patterns.js +21 -18
- package/base/lib/util/patterns.js.map +1 -1
- package/base/lib/util/regexes.d.ts +41 -2
- package/base/lib/util/regexes.js +45 -3
- package/base/lib/util/regexes.js.map +1 -1
- package/base/lib/util/splitCommand.d.ts +16 -1
- package/base/lib/util/splitCommand.js +16 -3
- package/base/lib/util/splitCommand.js.map +1 -1
- package/base/lib/util/stringFromStdErrOut.d.ts +7 -0
- package/base/lib/util/stringFromStdErrOut.js +7 -0
- package/base/lib/util/stringFromStdErrOut.js.map +1 -1
- package/base/lib/util/typeHelpers.d.ts +39 -4
- package/base/lib/util/typeHelpers.js +8 -1
- package/base/lib/util/typeHelpers.js.map +1 -1
- package/base/lib/zExport.d.ts +14 -0
- package/base/lib/zExport.js +92 -0
- package/package/lib/StartSdk.d.ts +2496 -603
- package/package/lib/StartSdk.js +289 -493
- package/package/lib/StartSdk.js.map +1 -1
- package/package/lib/backup/Backups.d.ts +151 -8
- package/package/lib/backup/Backups.js +388 -42
- package/package/lib/backup/Backups.js.map +1 -1
- package/package/lib/backup/index.d.ts +2 -2
- package/package/lib/backup/setupBackups.d.ts +22 -5
- package/package/lib/backup/setupBackups.js +16 -5
- package/package/lib/backup/setupBackups.js.map +1 -1
- package/package/lib/health/HealthCheck.d.ts +20 -5
- package/package/lib/health/HealthCheck.js +24 -16
- package/package/lib/health/HealthCheck.js.map +1 -1
- package/package/lib/health/checkFns/HealthCheckResult.d.ts +8 -2
- package/package/lib/health/checkFns/checkPortListening.d.ts +2 -2
- package/package/lib/health/checkFns/checkPortListening.js +7 -7
- package/package/lib/health/checkFns/checkWebUrl.d.ts +3 -3
- package/package/lib/health/checkFns/checkWebUrl.js +2 -2
- package/package/lib/health/checkFns/index.d.ts +12 -4
- package/package/lib/health/checkFns/index.js +9 -1
- package/package/lib/health/checkFns/index.js.map +1 -1
- package/package/lib/health/checkFns/runHealthScript.d.ts +3 -3
- package/package/lib/health/checkFns/runHealthScript.js +2 -2
- package/package/lib/health/index.d.ts +2 -2
- package/package/lib/i18n/index.d.ts +24 -0
- package/package/lib/i18n/index.js +59 -0
- package/package/lib/i18n/index.js.map +1 -0
- package/package/lib/index.d.ts +22 -23
- package/package/lib/index.js +7 -9
- package/package/lib/index.js.map +1 -1
- package/package/lib/mainFn/CommandController.d.ts +39 -22
- package/package/lib/mainFn/CommandController.js +100 -36
- package/package/lib/mainFn/CommandController.js.map +1 -1
- package/package/lib/mainFn/Daemon.d.ts +67 -23
- package/package/lib/mainFn/Daemon.js +155 -33
- package/package/lib/mainFn/Daemon.js.map +1 -1
- package/package/lib/mainFn/Daemons.d.ts +114 -39
- package/package/lib/mainFn/Daemons.js +147 -36
- package/package/lib/mainFn/Daemons.js.map +1 -1
- package/package/lib/mainFn/HealthDaemon.d.ts +17 -15
- package/package/lib/mainFn/HealthDaemon.js +115 -78
- package/package/lib/mainFn/HealthDaemon.js.map +1 -1
- package/package/lib/mainFn/Mounts.d.ts +72 -47
- package/package/lib/mainFn/Mounts.js +57 -58
- package/package/lib/mainFn/Mounts.js.map +1 -1
- package/package/lib/mainFn/Oneshot.d.ts +12 -0
- package/package/lib/mainFn/Oneshot.js +23 -0
- package/package/lib/mainFn/Oneshot.js.map +1 -0
- package/package/lib/mainFn/index.d.ts +7 -7
- package/package/lib/mainFn/index.js +2 -1
- package/package/lib/mainFn/index.js.map +1 -1
- package/package/lib/manifest/setupManifest.d.ts +13 -4
- package/package/lib/manifest/setupManifest.js +28 -15
- package/package/lib/manifest/setupManifest.js.map +1 -1
- package/package/lib/test/output.sdk.d.ts +2510 -921
- package/package/lib/test/output.sdk.js +15 -19
- package/package/lib/test/output.sdk.js.map +1 -1
- package/package/lib/trigger/TriggerInput.d.ts +1 -1
- package/package/lib/trigger/changeOnFirstSuccess.d.ts +1 -1
- package/package/lib/trigger/changeOnFirstSuccess.js +1 -1
- package/package/lib/trigger/index.d.ts +3 -3
- package/package/lib/trigger/lastStatus.d.ts +2 -2
- package/package/lib/trigger/lastStatus.js +1 -1
- package/package/lib/trigger/successFailure.d.ts +1 -1
- package/package/lib/types.d.ts +2 -2
- package/package/lib/util/GetServiceManifest.d.ts +36 -0
- package/package/lib/util/GetServiceManifest.js +117 -0
- package/package/lib/util/GetServiceManifest.js.map +1 -0
- package/package/lib/util/GetSslCertificate.d.ts +13 -4
- package/package/lib/util/GetSslCertificate.js +37 -9
- package/package/lib/util/GetSslCertificate.js.map +1 -1
- package/package/lib/util/SubContainer.d.ts +213 -46
- package/package/lib/util/SubContainer.js +248 -96
- package/package/lib/util/SubContainer.js.map +1 -1
- package/package/lib/util/Volume.d.ts +48 -0
- package/package/lib/util/Volume.js +91 -0
- package/package/lib/util/Volume.js.map +1 -0
- package/package/lib/util/fileHelper.d.ts +99 -22
- package/package/lib/util/fileHelper.js +168 -104
- package/package/lib/util/fileHelper.js.map +1 -1
- package/package/lib/util/index.d.ts +3 -4
- package/package/lib/util/index.js +4 -6
- package/package/lib/util/index.js.map +1 -1
- package/package/lib/version/VersionGraph.d.ts +81 -8
- package/package/lib/version/VersionGraph.js +164 -29
- package/package/lib/version/VersionGraph.js.map +1 -1
- package/package/lib/version/VersionInfo.d.ts +28 -6
- package/package/lib/version/VersionInfo.js +22 -10
- package/package/lib/version/VersionInfo.js.map +1 -1
- package/package/lib/version/index.d.ts +2 -2
- package/package/package.json +65 -0
- package/package.json +15 -14
- package/base/lib/osBindings/ActionRequest.d.ts +0 -13
- package/base/lib/osBindings/ActionRequest.js.map +0 -1
- package/base/lib/osBindings/ActionRequestCondition.d.ts +0 -1
- package/base/lib/osBindings/ActionRequestCondition.js.map +0 -1
- package/base/lib/osBindings/ActionRequestEntry.d.ts +0 -5
- package/base/lib/osBindings/ActionRequestEntry.js.map +0 -1
- package/base/lib/osBindings/ActionRequestInput.d.ts +0 -4
- package/base/lib/osBindings/ActionRequestInput.js.map +0 -1
- package/base/lib/osBindings/ActionRequestTrigger.d.ts +0 -5
- package/base/lib/osBindings/ActionRequestTrigger.js.map +0 -1
- package/base/lib/osBindings/ActionSeverity.d.ts +0 -1
- package/base/lib/osBindings/ActionSeverity.js.map +0 -1
- package/base/lib/osBindings/BindingSetPublicParams.d.ts +0 -4
- package/base/lib/osBindings/BindingSetPublicParams.js.map +0 -1
- package/base/lib/osBindings/ClearActionRequestsParams.js +0 -4
- package/base/lib/osBindings/ClearActionRequestsParams.js.map +0 -1
- package/base/lib/osBindings/DependencyKind.d.ts +0 -1
- package/base/lib/osBindings/DependencyKind.js.map +0 -1
- package/base/lib/osBindings/DomainConfig.d.ts +0 -5
- package/base/lib/osBindings/DomainConfig.js.map +0 -1
- package/base/lib/osBindings/ExposeForDependentsParams.d.ts +0 -3
- package/base/lib/osBindings/ExposeForDependentsParams.js +0 -4
- package/base/lib/osBindings/ExposeForDependentsParams.js.map +0 -1
- package/base/lib/osBindings/ForgetInterfaceParams.d.ts +0 -3
- package/base/lib/osBindings/ForgetInterfaceParams.js +0 -4
- package/base/lib/osBindings/ForgetInterfaceParams.js.map +0 -1
- package/base/lib/osBindings/GetStoreParams.d.ts +0 -7
- package/base/lib/osBindings/GetStoreParams.js.map +0 -1
- package/base/lib/osBindings/HostAddress.d.ts +0 -10
- package/base/lib/osBindings/HostAddress.js.map +0 -1
- package/base/lib/osBindings/IpHostname.d.ts +0 -23
- package/base/lib/osBindings/IpHostname.js.map +0 -1
- package/base/lib/osBindings/MainStatus.d.ts +0 -31
- package/base/lib/osBindings/MainStatus.js.map +0 -1
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.d.ts +0 -4
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.js +0 -4
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.js.map +0 -1
- package/base/lib/osBindings/OnionHostname.d.ts +0 -5
- package/base/lib/osBindings/OnionHostname.js.map +0 -1
- package/base/lib/osBindings/PackageSignerParams.d.ts +0 -6
- package/base/lib/osBindings/PackageSignerParams.js +0 -3
- package/base/lib/osBindings/PackageSignerParams.js.map +0 -1
- package/base/lib/osBindings/ProcedureId.d.ts +0 -4
- package/base/lib/osBindings/ProcedureId.js.map +0 -1
- package/base/lib/osBindings/RequestActionParams.d.ts +0 -15
- package/base/lib/osBindings/RequestActionParams.js +0 -3
- package/base/lib/osBindings/RequestActionParams.js.map +0 -1
- package/base/lib/osBindings/SetStoreParams.d.ts +0 -4
- package/base/lib/osBindings/SetStoreParams.js +0 -4
- package/base/lib/osBindings/SetStoreParams.js.map +0 -1
- package/base/lib/osBindings/UnsetInboundParams.d.ts +0 -3
- package/base/lib/osBindings/UnsetInboundParams.js +0 -4
- package/base/lib/osBindings/UnsetInboundParams.js.map +0 -1
- package/base/lib/util/Hostname.d.ts +0 -2
- package/base/lib/util/Hostname.js +0 -25
- package/base/lib/util/Hostname.js.map +0 -1
- package/base/lib/util/PathBuilder.d.ts +0 -13
- package/base/lib/util/PathBuilder.js +0 -23
- package/base/lib/util/PathBuilder.js.map +0 -1
- package/package/lib/inits/index.d.ts +0 -3
- package/package/lib/inits/index.js +0 -6
- package/package/lib/inits/index.js.map +0 -1
- package/package/lib/inits/setupInit.d.ts +0 -14
- package/package/lib/inits/setupInit.js +0 -56
- package/package/lib/inits/setupInit.js.map +0 -1
- package/package/lib/inits/setupInstall.d.ts +0 -20
- package/package/lib/inits/setupInstall.js +0 -46
- package/package/lib/inits/setupInstall.js.map +0 -1
- package/package/lib/inits/setupUninstall.d.ts +0 -11
- package/package/lib/inits/setupUninstall.js +0 -23
- package/package/lib/inits/setupUninstall.js.map +0 -1
- package/package/lib/store/getStore.d.ts +0 -34
- package/package/lib/store/getStore.js +0 -77
- package/package/lib/store/getStore.js.map +0 -1
- package/package/lib/store/setupExposeStore.d.ts +0 -16
- package/package/lib/store/setupExposeStore.js +0 -21
- package/package/lib/store/setupExposeStore.js.map +0 -1
- package/package/lib/test/health.readyCheck.test.d.ts +0 -1
- package/package/lib/test/health.readyCheck.test.js +0 -18
- package/package/lib/test/health.readyCheck.test.js.map +0 -1
- package/package/lib/test/host.test.d.ts +0 -1
- package/package/lib/test/host.test.js +0 -29
- package/package/lib/test/host.test.js.map +0 -1
- package/package/lib/test/inputSpecBuilder.test.d.ts +0 -1
- package/package/lib/test/inputSpecBuilder.test.js +0 -784
- package/package/lib/test/inputSpecBuilder.test.js.map +0 -1
- package/package/lib/test/makeOutput.d.ts +0 -1
- package/package/lib/test/makeOutput.js +0 -398
- package/package/lib/test/makeOutput.js.map +0 -1
- package/package/lib/test/output.d.ts +0 -187
- package/package/lib/test/output.js +0 -354
- package/package/lib/test/output.js.map +0 -1
- package/package/lib/test/output.test.d.ts +0 -2
- package/package/lib/test/output.test.js +0 -117
- package/package/lib/test/output.test.js.map +0 -1
- package/package/lib/test/store.test.d.ts +0 -1
- package/package/lib/test/store.test.js +0 -90
- package/package/lib/test/store.test.js.map +0 -1
- package/package/lib/util/Drop.d.ts +0 -12
- package/package/lib/util/Drop.js +0 -41
- package/package/lib/util/Drop.js.map +0 -1
- package/package/scripts/oldSpecToBuilder.d.ts +0 -6
- package/package/scripts/oldSpecToBuilder.js +0 -331
- package/package/scripts/oldSpecToBuilder.js.map +0 -1
package/base/lib/types.d.ts
CHANGED
|
@@ -1,131 +1,154 @@
|
|
|
1
|
-
export * as inputSpecTypes from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { Effects } from "./Effects";
|
|
1
|
+
export * as inputSpecTypes from './actions/input/inputSpecTypes';
|
|
2
|
+
export { CurrentDependenciesResult, OptionalDependenciesOf as OptionalDependencies, RequiredDependenciesOf as RequiredDependencies, } from './dependencies/setupDependencies';
|
|
3
|
+
export * from './osBindings';
|
|
4
|
+
export { SDKManifest } from './types/ManifestTypes';
|
|
6
5
|
export { Effects };
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import { InputSpec as InputSpecClass } from './actions/input/builder/inputSpec';
|
|
7
|
+
import { Action, Actions } from './actions/setupActions';
|
|
8
|
+
import { Effects } from './Effects';
|
|
9
|
+
import { ExtendedVersion, VersionRange } from './exver';
|
|
10
|
+
import { ActionId, DependencyRequirement, Manifest, NamedHealthCheckResult, ServiceInterface } from './osBindings';
|
|
11
|
+
import { StringObject, ToKebab } from './util';
|
|
12
|
+
/** An object that can be built into a terminable daemon process. */
|
|
11
13
|
export type DaemonBuildable = {
|
|
12
14
|
build(): Promise<{
|
|
13
15
|
term(): Promise<void>;
|
|
14
16
|
}>;
|
|
15
17
|
};
|
|
16
|
-
|
|
18
|
+
/** The three categories of service network interfaces. */
|
|
19
|
+
export type ServiceInterfaceType = 'ui' | 'p2p' | 'api';
|
|
20
|
+
/** A Node.js signal name (e.g. `"SIGTERM"`, `"SIGKILL"`). */
|
|
17
21
|
export type Signals = NodeJS.Signals;
|
|
22
|
+
/** The SIGTERM signal — used for graceful daemon termination. */
|
|
18
23
|
export declare const SIGTERM: Signals;
|
|
24
|
+
/** The SIGKILL signal — used for forceful daemon termination. */
|
|
19
25
|
export declare const SIGKILL: Signals;
|
|
26
|
+
/** Sentinel value (`-1`) indicating that no timeout should be applied. */
|
|
20
27
|
export declare const NO_TIMEOUT = -1;
|
|
28
|
+
/** A function that builds an absolute file path from a volume name and relative path. */
|
|
21
29
|
export type PathMaker = (options: {
|
|
22
30
|
volume: string;
|
|
23
31
|
path: string;
|
|
24
32
|
}) => string;
|
|
33
|
+
/** A value that may or may not be wrapped in a `Promise`. */
|
|
25
34
|
export type MaybePromise<A> = Promise<A> | A;
|
|
35
|
+
/**
|
|
36
|
+
* Namespace defining the required exports for a StartOS service package.
|
|
37
|
+
* Every package must export implementations matching these types.
|
|
38
|
+
*/
|
|
26
39
|
export declare namespace ExpectedExports {
|
|
27
40
|
/** For backing up service data though the startOS UI */
|
|
28
41
|
type createBackup = (options: {
|
|
29
42
|
effects: Effects;
|
|
30
43
|
}) => Promise<unknown>;
|
|
31
|
-
/** For restoring service data that was previously backed up using the startOS UI create backup flow. Backup restores are also triggered via the startOS UI, or doing a system restore flow during setup. */
|
|
32
|
-
type restoreBackup = (options: {
|
|
33
|
-
effects: Effects;
|
|
34
|
-
}) => Promise<unknown>;
|
|
35
44
|
/**
|
|
36
45
|
* This is the entrypoint for the main container. Used to start up something like the service that the
|
|
37
46
|
* package represents, like running a bitcoind in a bitcoind-wrapper.
|
|
38
47
|
*/
|
|
39
48
|
type main = (options: {
|
|
40
49
|
effects: Effects;
|
|
41
|
-
started(onTerm: () => PromiseLike<void>): PromiseLike<null>;
|
|
42
50
|
}) => Promise<DaemonBuildable>;
|
|
43
|
-
/**
|
|
44
|
-
* After a shutdown, if we wanted to do any operations to clean up things, like
|
|
45
|
-
* set the action as unavailable or something.
|
|
46
|
-
*/
|
|
47
|
-
type afterShutdown = (options: {
|
|
48
|
-
effects: Effects;
|
|
49
|
-
}) => Promise<unknown>;
|
|
50
51
|
/**
|
|
51
52
|
* Every time a service launches (both on startup, and on install) this function is called before packageInit
|
|
52
53
|
* Can be used to register callbacks
|
|
53
54
|
*/
|
|
54
|
-
type
|
|
55
|
-
effects: Effects;
|
|
56
|
-
}) => Promise<unknown>;
|
|
57
|
-
/**
|
|
58
|
-
* Every time a package completes an install, this function is called before the main.
|
|
59
|
-
* Can be used to do migration like things.
|
|
60
|
-
*/
|
|
61
|
-
type packageInit = (options: {
|
|
55
|
+
type init = (options: {
|
|
62
56
|
effects: Effects;
|
|
57
|
+
kind: 'install' | 'update' | 'restore' | null;
|
|
63
58
|
}) => Promise<unknown>;
|
|
64
59
|
/** This will be ran during any time a package is uninstalled, for example during a update
|
|
65
60
|
* this will be called.
|
|
66
61
|
*/
|
|
67
|
-
type
|
|
62
|
+
type uninit = (options: {
|
|
68
63
|
effects: Effects;
|
|
69
|
-
|
|
64
|
+
target: ExtendedVersion | VersionRange | null;
|
|
70
65
|
}) => Promise<unknown>;
|
|
66
|
+
/** The package manifest describing the service's metadata, dependencies, and interfaces. */
|
|
71
67
|
type manifest = Manifest;
|
|
72
|
-
|
|
68
|
+
/** The map of user-invocable actions defined by this service. */
|
|
69
|
+
type actions = Actions<Record<ActionId, Action<ActionId, any>>>;
|
|
73
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* The complete ABI (Application Binary Interface) for a StartOS service package.
|
|
73
|
+
* Maps all required exports to their expected types.
|
|
74
|
+
*/
|
|
74
75
|
export type ABI = {
|
|
75
76
|
createBackup: ExpectedExports.createBackup;
|
|
76
|
-
restoreBackup: ExpectedExports.restoreBackup;
|
|
77
77
|
main: ExpectedExports.main;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
packageInit: ExpectedExports.packageInit;
|
|
81
|
-
packageUninit: ExpectedExports.packageUninit;
|
|
78
|
+
init: ExpectedExports.init;
|
|
79
|
+
uninit: ExpectedExports.uninit;
|
|
82
80
|
manifest: ExpectedExports.manifest;
|
|
83
81
|
actions: ExpectedExports.actions;
|
|
84
82
|
};
|
|
83
|
+
/** A time value in milliseconds. */
|
|
85
84
|
export type TimeMs = number;
|
|
85
|
+
/** A version string in string form. */
|
|
86
86
|
export type VersionString = string;
|
|
87
87
|
declare const DaemonProof: unique symbol;
|
|
88
|
+
/** Opaque branded type proving that a daemon was started. Cannot be constructed directly. */
|
|
88
89
|
export type DaemonReceipt = {
|
|
89
90
|
[DaemonProof]: never;
|
|
90
91
|
};
|
|
92
|
+
/** A running daemon with methods to wait for completion or terminate it. */
|
|
91
93
|
export type Daemon = {
|
|
94
|
+
/** Waits for the daemon to exit and returns its exit message. */
|
|
92
95
|
wait(): Promise<string>;
|
|
96
|
+
/** Terminates the daemon. */
|
|
93
97
|
term(): Promise<null>;
|
|
94
98
|
[DaemonProof]: never;
|
|
95
99
|
};
|
|
96
|
-
|
|
100
|
+
/** The result status of a health check (extracted from `NamedHealthCheckResult`). */
|
|
101
|
+
export type HealthStatus = NamedHealthCheckResult['result'];
|
|
102
|
+
/** SMTP mail server configuration values. */
|
|
97
103
|
export type SmtpValue = {
|
|
98
|
-
|
|
104
|
+
host: string;
|
|
99
105
|
port: number;
|
|
100
106
|
from: string;
|
|
101
|
-
|
|
107
|
+
username: string;
|
|
102
108
|
password: string | null | undefined;
|
|
109
|
+
security: 'starttls' | 'tls';
|
|
103
110
|
};
|
|
111
|
+
/**
|
|
112
|
+
* Marker class indicating that a container should use its own built-in entrypoint
|
|
113
|
+
* rather than a custom command. Optionally accepts an override command array.
|
|
114
|
+
*/
|
|
104
115
|
export declare class UseEntrypoint {
|
|
105
116
|
readonly overridCmd?: string[] | undefined;
|
|
117
|
+
readonly USE_ENTRYPOINT = "USE_ENTRYPOINT";
|
|
106
118
|
constructor(overridCmd?: string[] | undefined);
|
|
107
119
|
}
|
|
108
|
-
|
|
120
|
+
/** Type guard that checks if a {@link CommandType} is a {@link UseEntrypoint} instance. */
|
|
121
|
+
export declare function isUseEntrypoint(command: CommandType): command is UseEntrypoint;
|
|
122
|
+
/**
|
|
123
|
+
* The ways to specify a command to run in a container:
|
|
124
|
+
* - A shell string (run via `sh -c`)
|
|
125
|
+
* - An explicit argv array
|
|
126
|
+
* - A {@link UseEntrypoint} to use the container's built-in entrypoint
|
|
127
|
+
*/
|
|
128
|
+
export type CommandType = string | [string, ...string[]] | readonly [string, ...string[]] | UseEntrypoint;
|
|
129
|
+
/** The return type from starting a daemon — provides `wait()` and `term()` controls. */
|
|
109
130
|
export type DaemonReturned = {
|
|
131
|
+
/** Waits for the daemon process to exit. */
|
|
110
132
|
wait(): Promise<unknown>;
|
|
133
|
+
/** Sends a signal to terminate the daemon. If it doesn't exit within `timeout` ms, sends SIGKILL. */
|
|
111
134
|
term(options?: {
|
|
112
135
|
signal?: Signals;
|
|
113
136
|
timeout?: number;
|
|
114
137
|
}): Promise<null>;
|
|
115
138
|
};
|
|
116
139
|
export declare const hostName: unique symbol;
|
|
140
|
+
/** A branded string type for hostnames (e.g. `.onion` addresses or IP addresses). */
|
|
117
141
|
export type Hostname = string & {
|
|
118
142
|
[hostName]: never;
|
|
119
143
|
};
|
|
144
|
+
/** A string identifier for a service network interface. */
|
|
120
145
|
export type ServiceInterfaceId = string;
|
|
121
146
|
export { ServiceInterface };
|
|
122
|
-
|
|
123
|
-
/** The path to the value in the Store. [JsonPath](https://jsonpath.com/) */
|
|
124
|
-
paths: ExposedStorePaths;
|
|
125
|
-
};
|
|
147
|
+
/** Maps effect method names to their kebab-case RPC equivalents. */
|
|
126
148
|
export type EffectMethod<T extends StringObject = Effects> = {
|
|
127
149
|
[K in keyof T]-?: K extends string ? T[K] extends Function ? ToKebab<K> : T[K] extends StringObject ? `${ToKebab<K>}.${EffectMethod<T[K]>}` : never : never;
|
|
128
150
|
}[keyof T];
|
|
151
|
+
/** Options for rsync-based file synchronization (used in backup/restore). */
|
|
129
152
|
export type SyncOptions = {
|
|
130
153
|
/** delete files that exist in the target directory, but not in the source directory */
|
|
131
154
|
delete: boolean;
|
|
@@ -149,22 +172,53 @@ export type Metadata = {
|
|
|
149
172
|
gid: number;
|
|
150
173
|
mode: number;
|
|
151
174
|
};
|
|
175
|
+
/** Result type for setting a service's dependency configuration and restart signal. */
|
|
152
176
|
export type SetResult = {
|
|
153
177
|
dependsOn: DependsOn;
|
|
154
178
|
signal: Signals;
|
|
155
179
|
};
|
|
180
|
+
/** A string identifier for a StartOS package (e.g. `"bitcoind"`). */
|
|
156
181
|
export type PackageId = string;
|
|
182
|
+
/** A user-facing message string. */
|
|
157
183
|
export type Message = string;
|
|
158
|
-
|
|
184
|
+
/** Whether a dependency needs to be actively running or merely installed. */
|
|
185
|
+
export type DependencyKind = 'running' | 'exists';
|
|
186
|
+
/**
|
|
187
|
+
* Maps package IDs to the health check IDs that must pass before this service considers
|
|
188
|
+
* the dependency satisfied.
|
|
189
|
+
*/
|
|
159
190
|
export type DependsOn = {
|
|
160
191
|
[packageId: string]: string[] | readonly string[];
|
|
161
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* A typed error that can be displayed to the user.
|
|
195
|
+
* Either a plain error message string, or a structured error code with description.
|
|
196
|
+
*/
|
|
162
197
|
export type KnownError = {
|
|
163
198
|
error: string;
|
|
164
199
|
} | {
|
|
165
200
|
errorCode: [number, string] | readonly [number, string];
|
|
166
201
|
};
|
|
202
|
+
/** An array of dependency requirements for a service. */
|
|
167
203
|
export type Dependencies = Array<DependencyRequirement>;
|
|
168
|
-
|
|
204
|
+
/** Recursively makes all properties of `T` optional. */
|
|
205
|
+
export type DeepPartial<T> = T extends [infer A, ...infer Rest] ? [DeepPartial<A>, ...DeepPartial<Rest>] : T extends {} ? {
|
|
169
206
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
170
207
|
} : T;
|
|
208
|
+
/** Recursively removes all `readonly` modifiers from `T`. */
|
|
209
|
+
export type DeepWritable<T> = {
|
|
210
|
+
-readonly [K in keyof T]: T[K];
|
|
211
|
+
};
|
|
212
|
+
/** Casts a value to {@link DeepWritable} (identity at runtime, removes `readonly` at the type level). */
|
|
213
|
+
export declare function writable<T>(value: T): DeepWritable<T>;
|
|
214
|
+
/** Recursively makes all properties of `T` readonly. */
|
|
215
|
+
export type DeepReadonly<T> = {
|
|
216
|
+
readonly [P in keyof T]: DeepReadonly<T[P]>;
|
|
217
|
+
};
|
|
218
|
+
/** Casts a value to {@link DeepReadonly} (identity at runtime, adds `readonly` at the type level). */
|
|
219
|
+
export declare function readonly<T>(value: T): DeepReadonly<T>;
|
|
220
|
+
/** Accepts either a mutable or deeply-readonly version of `T`. */
|
|
221
|
+
export type AllowReadonly<T> = T | {
|
|
222
|
+
readonly [P in keyof T]: AllowReadonly<T[P]>;
|
|
223
|
+
};
|
|
224
|
+
export type InputSpec<Type extends StaticValidatedAs, StaticValidatedAs extends Record<string, unknown> = Type> = InputSpecClass<Type, StaticValidatedAs>;
|
package/base/lib/types.js
CHANGED
|
@@ -37,19 +37,46 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.UseEntrypoint = exports.ExpectedExports = exports.NO_TIMEOUT = exports.SIGKILL = exports.SIGTERM = exports.inputSpecTypes = void 0;
|
|
40
|
+
exports.isUseEntrypoint = isUseEntrypoint;
|
|
41
|
+
exports.writable = writable;
|
|
42
|
+
exports.readonly = readonly;
|
|
40
43
|
exports.inputSpecTypes = __importStar(require("./actions/input/inputSpecTypes"));
|
|
41
44
|
__exportStar(require("./osBindings"), exports);
|
|
42
|
-
|
|
43
|
-
exports.
|
|
45
|
+
/** The SIGTERM signal — used for graceful daemon termination. */
|
|
46
|
+
exports.SIGTERM = 'SIGTERM';
|
|
47
|
+
/** The SIGKILL signal — used for forceful daemon termination. */
|
|
48
|
+
exports.SIGKILL = 'SIGKILL';
|
|
49
|
+
/** Sentinel value (`-1`) indicating that no timeout should be applied. */
|
|
44
50
|
exports.NO_TIMEOUT = -1;
|
|
51
|
+
/**
|
|
52
|
+
* Namespace defining the required exports for a StartOS service package.
|
|
53
|
+
* Every package must export implementations matching these types.
|
|
54
|
+
*/
|
|
45
55
|
var ExpectedExports;
|
|
46
56
|
(function (ExpectedExports) {
|
|
47
57
|
version: 1;
|
|
48
58
|
})(ExpectedExports || (exports.ExpectedExports = ExpectedExports = {}));
|
|
59
|
+
/**
|
|
60
|
+
* Marker class indicating that a container should use its own built-in entrypoint
|
|
61
|
+
* rather than a custom command. Optionally accepts an override command array.
|
|
62
|
+
*/
|
|
49
63
|
class UseEntrypoint {
|
|
50
64
|
constructor(overridCmd) {
|
|
51
65
|
this.overridCmd = overridCmd;
|
|
66
|
+
this.USE_ENTRYPOINT = 'USE_ENTRYPOINT';
|
|
52
67
|
}
|
|
53
68
|
}
|
|
54
69
|
exports.UseEntrypoint = UseEntrypoint;
|
|
70
|
+
/** Type guard that checks if a {@link CommandType} is a {@link UseEntrypoint} instance. */
|
|
71
|
+
function isUseEntrypoint(command) {
|
|
72
|
+
return typeof command === 'object' && 'USE_ENTRYPOINT' in command;
|
|
73
|
+
}
|
|
74
|
+
/** Casts a value to {@link DeepWritable} (identity at runtime, removes `readonly` at the type level). */
|
|
75
|
+
function writable(value) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
/** Casts a value to {@link DeepReadonly} (identity at runtime, adds `readonly` at the type level). */
|
|
79
|
+
function readonly(value) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
55
82
|
//# sourceMappingURL=types.js.map
|
package/base/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../base/lib/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../base/lib/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIA,0CAIC;AAmHD,4BAEC;AAQD,4BAEC;AA1QD,iFAAgE;AAMhE,+CAA4B;AA4B5B,iEAAiE;AACpD,QAAA,OAAO,GAAY,SAAS,CAAA;AACzC,iEAAiE;AACpD,QAAA,OAAO,GAAY,SAAS,CAAA;AACzC,0EAA0E;AAC7D,QAAA,UAAU,GAAG,CAAC,CAAC,CAAA;AAM5B;;;GAGG;AACH,IAAiB,eAAe,CAiC/B;AAjCD,WAAiB,eAAe;IAC9B,OAAO,EAAE,CAAC,CAAA;AAgCZ,CAAC,EAjCgB,eAAe,+BAAf,eAAe,QAiC/B;AA4CD;;;GAGG;AACH,MAAa,aAAa;IAExB,YAAqB,UAAqB;QAArB,eAAU,GAAV,UAAU,CAAW;QADjC,mBAAc,GAAG,gBAAgB,CAAA;IACG,CAAC;CAC/C;AAHD,sCAGC;AACD,2FAA2F;AAC3F,SAAgB,eAAe,CAC7B,OAAoB;IAEpB,OAAO,OAAO,OAAO,KAAK,QAAQ,IAAI,gBAAgB,IAAI,OAAO,CAAA;AACnE,CAAC;AAkHD,yGAAyG;AACzG,SAAgB,QAAQ,CAAI,KAAQ;IAClC,OAAO,KAAK,CAAA;AACd,CAAC;AAOD,sGAAsG;AACtG,SAAgB,QAAQ,CAAI,KAAQ;IAClC,OAAO,KAAK,CAAA;AACd,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbortedError = void 0;
|
|
4
|
+
class AbortedError extends Error {
|
|
5
|
+
constructor(message, options) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.muteUnhandled = true;
|
|
8
|
+
this.name = 'AbortedError';
|
|
9
|
+
if (options?.cause !== undefined)
|
|
10
|
+
this.cause = options.cause;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.AbortedError = AbortedError;
|
|
14
|
+
//# sourceMappingURL=AbortedError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbortedError.js","sourceRoot":"","sources":["../../../../base/lib/util/AbortedError.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAa,SAAQ,KAAK;IAIrC,YAAY,OAAgB,EAAE,OAA6B;QACzD,KAAK,CAAC,OAAO,CAAC,CAAA;QAJP,kBAAa,GAAG,IAAa,CAAA;QAKpC,IAAI,CAAC,IAAI,GAAG,cAAc,CAAA;QAC1B,IAAI,OAAO,EAAE,KAAK,KAAK,SAAS;YAAE,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;IAC9D,CAAC;CACF;AATD,oCASC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const dropId: unique symbol;
|
|
2
|
+
export type DropRef = {
|
|
3
|
+
[dropId]: number;
|
|
4
|
+
};
|
|
5
|
+
export declare abstract class Drop {
|
|
6
|
+
private static weak;
|
|
7
|
+
private static registry;
|
|
8
|
+
private static idCtr;
|
|
9
|
+
private dropId?;
|
|
10
|
+
private dropRef?;
|
|
11
|
+
protected constructor();
|
|
12
|
+
protected register(): void;
|
|
13
|
+
private weak;
|
|
14
|
+
abstract onDrop(): void;
|
|
15
|
+
drop(): void;
|
|
16
|
+
leak(): this;
|
|
17
|
+
}
|
|
18
|
+
export declare class DropPromise<T> implements Promise<T> {
|
|
19
|
+
private readonly promise;
|
|
20
|
+
private static dropFns;
|
|
21
|
+
private static registry;
|
|
22
|
+
private static idCtr;
|
|
23
|
+
private dropId;
|
|
24
|
+
private dropRef;
|
|
25
|
+
[Symbol.toStringTag]: string;
|
|
26
|
+
private constructor();
|
|
27
|
+
static of<T>(promise: Promise<T>, dropFn?: () => void): DropPromise<T>;
|
|
28
|
+
static ref<T>(promise: Promise<T>, dropRef: DropRef): DropPromise<T>;
|
|
29
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
30
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<T | TResult>;
|
|
31
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<T>;
|
|
32
|
+
}
|
|
33
|
+
export declare class DropGenerator<T = unknown, TReturn = any, TNext = unknown> implements AsyncGenerator<T, TReturn, TNext> {
|
|
34
|
+
private readonly generator;
|
|
35
|
+
private static dropFns;
|
|
36
|
+
private static registry;
|
|
37
|
+
private static idCtr;
|
|
38
|
+
private dropId;
|
|
39
|
+
private dropRef;
|
|
40
|
+
[Symbol.asyncIterator]: () => this;
|
|
41
|
+
private constructor();
|
|
42
|
+
static of<T, TReturn, TNext>(generator: AsyncGenerator<T, TReturn, TNext>, dropFn?: () => void): DropGenerator<T, TReturn, TNext>;
|
|
43
|
+
next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
|
|
44
|
+
return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
|
|
45
|
+
throw(e: any): Promise<IteratorResult<T, TReturn>>;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a, _b;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DropGenerator = exports.DropPromise = exports.Drop = void 0;
|
|
5
|
+
const dropId = Symbol('id');
|
|
6
|
+
class Drop {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.dropId = Drop.idCtr++;
|
|
9
|
+
this.dropRef = { [dropId]: this.dropId };
|
|
10
|
+
const weak = this.weak();
|
|
11
|
+
Drop.weak[this.dropId] = weak;
|
|
12
|
+
Drop.registry.register(this.dropRef, this.dropId, this.dropRef);
|
|
13
|
+
return new Proxy(this, {
|
|
14
|
+
set(target, prop, value) {
|
|
15
|
+
if (prop === 'dropRef' || prop == 'dropId')
|
|
16
|
+
return false;
|
|
17
|
+
target[prop] = value;
|
|
18
|
+
weak[prop] = value;
|
|
19
|
+
return true;
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
register() { }
|
|
24
|
+
weak() {
|
|
25
|
+
const weak = Object.assign(Object.create(Object.getPrototypeOf(this)), this);
|
|
26
|
+
if (this.dropRef)
|
|
27
|
+
weak.ref = new WeakRef(this.dropRef);
|
|
28
|
+
return weak;
|
|
29
|
+
}
|
|
30
|
+
drop() {
|
|
31
|
+
if (!this.dropRef || !this.dropId)
|
|
32
|
+
return;
|
|
33
|
+
this.onDrop();
|
|
34
|
+
this.leak();
|
|
35
|
+
}
|
|
36
|
+
leak() {
|
|
37
|
+
if (!this.dropRef || !this.dropId)
|
|
38
|
+
return this;
|
|
39
|
+
Drop.registry.unregister(this.dropRef);
|
|
40
|
+
delete Drop.weak[this.dropId];
|
|
41
|
+
delete this.dropRef;
|
|
42
|
+
delete this.dropId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.Drop = Drop;
|
|
47
|
+
Drop.weak = {};
|
|
48
|
+
Drop.registry = new FinalizationRegistry((id) => {
|
|
49
|
+
const weak = Drop.weak[id];
|
|
50
|
+
if (weak)
|
|
51
|
+
weak.drop();
|
|
52
|
+
});
|
|
53
|
+
Drop.idCtr = 0;
|
|
54
|
+
class DropPromise {
|
|
55
|
+
constructor(promise, dropFnOrRef) {
|
|
56
|
+
this.promise = promise;
|
|
57
|
+
this[_a] = 'DropPromise';
|
|
58
|
+
if (dropFnOrRef && dropId in dropFnOrRef) {
|
|
59
|
+
this.dropId = dropFnOrRef[dropId];
|
|
60
|
+
this.dropRef = dropFnOrRef;
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
this.dropId = DropPromise.idCtr++;
|
|
64
|
+
this.dropRef = { [dropId]: this.dropId };
|
|
65
|
+
if (dropFnOrRef)
|
|
66
|
+
DropPromise.dropFns[this.dropId] = dropFnOrRef;
|
|
67
|
+
DropPromise.registry.register(this.dropRef, this.dropId, this.dropRef);
|
|
68
|
+
}
|
|
69
|
+
static of(promise, dropFn) {
|
|
70
|
+
return new DropPromise(promise, dropFn);
|
|
71
|
+
}
|
|
72
|
+
static ref(promise, dropRef) {
|
|
73
|
+
return new DropPromise(promise, dropRef);
|
|
74
|
+
}
|
|
75
|
+
then(onfulfilled, onrejected) {
|
|
76
|
+
return DropPromise.ref(this.promise.then(onfulfilled, onrejected), this.dropRef);
|
|
77
|
+
}
|
|
78
|
+
catch(onrejected) {
|
|
79
|
+
return DropPromise.ref(this.promise.catch(onrejected), this.dropRef);
|
|
80
|
+
}
|
|
81
|
+
finally(onfinally) {
|
|
82
|
+
return DropPromise.ref(this.promise.finally(onfinally), this.dropRef);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.DropPromise = DropPromise;
|
|
86
|
+
_a = Symbol.toStringTag;
|
|
87
|
+
DropPromise.dropFns = {};
|
|
88
|
+
DropPromise.registry = new FinalizationRegistry((id) => {
|
|
89
|
+
const drop = DropPromise.dropFns[id];
|
|
90
|
+
if (drop) {
|
|
91
|
+
drop();
|
|
92
|
+
delete DropPromise.dropFns[id];
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
DropPromise.idCtr = 0;
|
|
96
|
+
class DropGenerator {
|
|
97
|
+
constructor(generator, dropFn) {
|
|
98
|
+
this.generator = generator;
|
|
99
|
+
this[_b] = () => this;
|
|
100
|
+
this.dropId = DropGenerator.idCtr++;
|
|
101
|
+
this.dropRef = { [dropId]: this.dropId };
|
|
102
|
+
if (dropFn)
|
|
103
|
+
DropGenerator.dropFns[this.dropId] = dropFn;
|
|
104
|
+
DropGenerator.registry.register(this.dropRef, this.dropId, this.dropRef);
|
|
105
|
+
}
|
|
106
|
+
static of(generator, dropFn) {
|
|
107
|
+
return new DropGenerator(generator, dropFn);
|
|
108
|
+
}
|
|
109
|
+
next(...args) {
|
|
110
|
+
return DropPromise.ref(this.generator.next(...args), this.dropRef);
|
|
111
|
+
}
|
|
112
|
+
return(value) {
|
|
113
|
+
return DropPromise.ref(this.generator.return(value), this.dropRef);
|
|
114
|
+
}
|
|
115
|
+
throw(e) {
|
|
116
|
+
return DropPromise.ref(this.generator.throw(e), this.dropRef);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.DropGenerator = DropGenerator;
|
|
120
|
+
_b = Symbol.asyncIterator;
|
|
121
|
+
DropGenerator.dropFns = {};
|
|
122
|
+
DropGenerator.registry = new FinalizationRegistry((id) => {
|
|
123
|
+
const drop = DropGenerator.dropFns[id];
|
|
124
|
+
if (drop) {
|
|
125
|
+
drop();
|
|
126
|
+
delete DropGenerator.dropFns[id];
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
DropGenerator.idCtr = 0;
|
|
130
|
+
//# sourceMappingURL=Drop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drop.js","sourceRoot":"","sources":["../../../../base/lib/util/Drop.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Effects } from '../Effects';
|
|
2
|
+
import { PackageId } from '../osBindings';
|
|
3
|
+
import { Watchable } from './Watchable';
|
|
4
|
+
export declare class GetContainerIp extends Watchable<string> {
|
|
5
|
+
readonly opts: {
|
|
6
|
+
packageId?: PackageId;
|
|
7
|
+
};
|
|
8
|
+
protected readonly label = "GetContainerIp";
|
|
9
|
+
constructor(effects: Effects, opts?: {
|
|
10
|
+
packageId?: PackageId;
|
|
11
|
+
});
|
|
12
|
+
protected fetch(callback?: () => void): Promise<string>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetContainerIp = void 0;
|
|
4
|
+
const Watchable_1 = require("./Watchable");
|
|
5
|
+
class GetContainerIp extends Watchable_1.Watchable {
|
|
6
|
+
constructor(effects, opts = {}) {
|
|
7
|
+
super(effects);
|
|
8
|
+
this.opts = opts;
|
|
9
|
+
this.label = 'GetContainerIp';
|
|
10
|
+
}
|
|
11
|
+
fetch(callback) {
|
|
12
|
+
return this.effects.getContainerIp({ ...this.opts, callback });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.GetContainerIp = GetContainerIp;
|
|
16
|
+
//# sourceMappingURL=GetContainerIp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetContainerIp.js","sourceRoot":"","sources":["../../../../base/lib/util/GetContainerIp.ts"],"names":[],"mappings":";;;AAEA,2CAAuC;AAEvC,MAAa,cAAe,SAAQ,qBAAiB;IAGnD,YACE,OAAgB,EACP,OAAkC,EAAE;QAE7C,KAAK,CAAC,OAAO,CAAC,CAAA;QAFL,SAAI,GAAJ,IAAI,CAAgC;QAJ5B,UAAK,GAAG,gBAAgB,CAAA;IAO3C,CAAC;IAES,KAAK,CAAC,QAAqB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;IAChE,CAAC;CACF;AAbD,wCAaC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Effects } from '../Effects';
|
|
2
|
+
import { Host, HostId, PackageId } from '../osBindings';
|
|
3
|
+
import { Watchable } from './Watchable';
|
|
4
|
+
export declare class GetHostInfo extends Watchable<Host | null> {
|
|
5
|
+
readonly opts: {
|
|
6
|
+
hostId: HostId;
|
|
7
|
+
packageId?: PackageId;
|
|
8
|
+
};
|
|
9
|
+
protected readonly label = "GetHostInfo";
|
|
10
|
+
constructor(effects: Effects, opts: {
|
|
11
|
+
hostId: HostId;
|
|
12
|
+
packageId?: PackageId;
|
|
13
|
+
});
|
|
14
|
+
protected fetch(callback?: () => void): Promise<Host | null>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetHostInfo = void 0;
|
|
4
|
+
const Watchable_1 = require("./Watchable");
|
|
5
|
+
class GetHostInfo extends Watchable_1.Watchable {
|
|
6
|
+
constructor(effects, opts) {
|
|
7
|
+
super(effects);
|
|
8
|
+
this.opts = opts;
|
|
9
|
+
this.label = 'GetHostInfo';
|
|
10
|
+
}
|
|
11
|
+
fetch(callback) {
|
|
12
|
+
return this.effects.getHostInfo({ ...this.opts, callback });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.GetHostInfo = GetHostInfo;
|
|
16
|
+
//# sourceMappingURL=GetHostInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetHostInfo.js","sourceRoot":"","sources":["../../../../base/lib/util/GetHostInfo.ts"],"names":[],"mappings":";;;AAEA,2CAAuC;AAEvC,MAAa,WAAY,SAAQ,qBAAsB;IAGrD,YACE,OAAgB,EACP,IAA+C;QAExD,KAAK,CAAC,OAAO,CAAC,CAAA;QAFL,SAAI,GAAJ,IAAI,CAA2C;QAJvC,UAAK,GAAG,aAAa,CAAA;IAOxC,CAAC;IAES,KAAK,CAAC,QAAqB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC7D,CAAC;CACF;AAbD,kCAaC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Effects } from '../Effects';
|
|
2
|
+
import { Watchable } from './Watchable';
|
|
3
|
+
export declare class GetOutboundGateway extends Watchable<string> {
|
|
4
|
+
protected readonly label = "GetOutboundGateway";
|
|
5
|
+
constructor(effects: Effects);
|
|
6
|
+
protected fetch(callback?: () => void): Promise<string>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOutboundGateway = void 0;
|
|
4
|
+
const Watchable_1 = require("./Watchable");
|
|
5
|
+
class GetOutboundGateway extends Watchable_1.Watchable {
|
|
6
|
+
constructor(effects) {
|
|
7
|
+
super(effects);
|
|
8
|
+
this.label = 'GetOutboundGateway';
|
|
9
|
+
}
|
|
10
|
+
fetch(callback) {
|
|
11
|
+
return this.effects.getOutboundGateway({ callback });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.GetOutboundGateway = GetOutboundGateway;
|
|
15
|
+
//# sourceMappingURL=GetOutboundGateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetOutboundGateway.js","sourceRoot":"","sources":["../../../../base/lib/util/GetOutboundGateway.ts"],"names":[],"mappings":";;;AACA,2CAAuC;AAEvC,MAAa,kBAAmB,SAAQ,qBAAiB;IAGvD,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAA;QAHG,UAAK,GAAG,oBAAoB,CAAA;IAI/C,CAAC;IAES,KAAK,CAAC,QAAqB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAA;IACtD,CAAC;CACF;AAVD,gDAUC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Effects } from '../Effects';
|
|
2
|
+
import { Manifest, PackageId } from '../osBindings';
|
|
3
|
+
import { Watchable } from './Watchable';
|
|
4
|
+
export declare class GetServiceManifest<Mapped = Manifest | null> extends Watchable<Manifest | null, Mapped> {
|
|
5
|
+
readonly opts: {
|
|
6
|
+
packageId: PackageId;
|
|
7
|
+
};
|
|
8
|
+
protected readonly label = "GetServiceManifest";
|
|
9
|
+
constructor(effects: Effects, opts: {
|
|
10
|
+
packageId: PackageId;
|
|
11
|
+
}, options?: {
|
|
12
|
+
map?: (value: Manifest | null) => Mapped;
|
|
13
|
+
eq?: (a: Mapped, b: Mapped) => boolean;
|
|
14
|
+
});
|
|
15
|
+
protected fetch(callback?: () => void): Promise<Manifest>;
|
|
16
|
+
}
|
|
17
|
+
export declare function getServiceManifest(effects: Effects, packageId: PackageId): GetServiceManifest<Manifest | null>;
|
|
18
|
+
export declare function getServiceManifest<Mapped>(effects: Effects, packageId: PackageId, map: (manifest: Manifest | null) => Mapped, eq?: (a: Mapped, b: Mapped) => boolean): GetServiceManifest<Mapped>;
|