@start9labs/start-sdk 0.4.0-beta.59 → 0.4.0-beta.60

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.
Files changed (164) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +97 -12
  3. package/base/lib/coverage/lcov-report/block-navigation.js +87 -0
  4. package/base/lib/coverage/lcov-report/prettify.js +2 -0
  5. package/base/lib/coverage/lcov-report/sorter.js +196 -0
  6. package/base/lib/osBindings/AddPackageSignerParams.d.ts +1 -1
  7. package/base/lib/osBindings/DesiredStatus.d.ts +1 -0
  8. package/base/lib/osBindings/ServerInfo.d.ts +1 -1
  9. package/base/lib/osBindings/index.d.ts +1 -0
  10. package/base/lib/osBindings/index.js +35 -0
  11. package/base/lib/osBindings/index.js.map +1 -1
  12. package/base/lib/osBindings/tunnel/AddDeviceParams.d.ts +5 -0
  13. package/base/lib/osBindings/tunnel/AddDeviceParams.js +4 -0
  14. package/base/lib/osBindings/tunnel/AddDeviceParams.js.map +1 -0
  15. package/base/lib/osBindings/tunnel/AddKeyParams.d.ts +5 -0
  16. package/base/lib/osBindings/tunnel/AddKeyParams.js +3 -0
  17. package/base/lib/osBindings/tunnel/AddKeyParams.js.map +1 -0
  18. package/base/lib/osBindings/tunnel/AddPortForwardParams.d.ts +5 -0
  19. package/base/lib/osBindings/tunnel/AddPortForwardParams.js +4 -0
  20. package/base/lib/osBindings/tunnel/AddPortForwardParams.js.map +1 -0
  21. package/base/lib/osBindings/tunnel/AddSubnetParams.d.ts +3 -0
  22. package/base/lib/osBindings/tunnel/AddSubnetParams.js +4 -0
  23. package/base/lib/osBindings/tunnel/AddSubnetParams.js.map +1 -0
  24. package/base/lib/osBindings/tunnel/AnyVerifyingKey.d.ts +1 -0
  25. package/base/lib/osBindings/tunnel/AnyVerifyingKey.js +4 -0
  26. package/base/lib/osBindings/tunnel/AnyVerifyingKey.js.map +1 -0
  27. package/base/lib/osBindings/tunnel/Base64.d.ts +1 -0
  28. package/base/lib/osBindings/tunnel/Base64.js +4 -0
  29. package/base/lib/osBindings/tunnel/Base64.js.map +1 -0
  30. package/base/lib/osBindings/tunnel/GatewayId.d.ts +1 -0
  31. package/base/lib/osBindings/tunnel/GatewayId.js +4 -0
  32. package/base/lib/osBindings/tunnel/GatewayId.js.map +1 -0
  33. package/base/lib/osBindings/tunnel/GatewayType.d.ts +1 -0
  34. package/base/lib/osBindings/tunnel/GatewayType.js +4 -0
  35. package/base/lib/osBindings/tunnel/GatewayType.js.map +1 -0
  36. package/base/lib/osBindings/tunnel/IpInfo.d.ts +11 -0
  37. package/base/lib/osBindings/tunnel/IpInfo.js +3 -0
  38. package/base/lib/osBindings/tunnel/IpInfo.js.map +1 -0
  39. package/base/lib/osBindings/tunnel/ListDevicesParams.d.ts +3 -0
  40. package/base/lib/osBindings/tunnel/ListDevicesParams.js +4 -0
  41. package/base/lib/osBindings/tunnel/ListDevicesParams.js.map +1 -0
  42. package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.d.ts +8 -0
  43. package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.js +3 -0
  44. package/base/lib/osBindings/tunnel/NetworkInterfaceInfo.js.map +1 -0
  45. package/base/lib/osBindings/tunnel/NetworkInterfaceType.d.ts +1 -0
  46. package/base/lib/osBindings/tunnel/NetworkInterfaceType.js +4 -0
  47. package/base/lib/osBindings/tunnel/NetworkInterfaceType.js.map +1 -0
  48. package/base/lib/osBindings/tunnel/Pem.d.ts +1 -0
  49. package/base/lib/osBindings/tunnel/Pem.js +4 -0
  50. package/base/lib/osBindings/tunnel/Pem.js.map +1 -0
  51. package/base/lib/osBindings/tunnel/PortForwardEntry.d.ts +5 -0
  52. package/base/lib/osBindings/tunnel/PortForwardEntry.js +4 -0
  53. package/base/lib/osBindings/tunnel/PortForwardEntry.js.map +1 -0
  54. package/base/lib/osBindings/tunnel/PortForwards.d.ts +4 -0
  55. package/base/lib/osBindings/tunnel/PortForwards.js +3 -0
  56. package/base/lib/osBindings/tunnel/PortForwards.js.map +1 -0
  57. package/base/lib/osBindings/tunnel/RemoveDeviceParams.d.ts +4 -0
  58. package/base/lib/osBindings/tunnel/RemoveDeviceParams.js +4 -0
  59. package/base/lib/osBindings/tunnel/RemoveDeviceParams.js.map +1 -0
  60. package/base/lib/osBindings/tunnel/RemoveKeyParams.d.ts +4 -0
  61. package/base/lib/osBindings/tunnel/RemoveKeyParams.js +3 -0
  62. package/base/lib/osBindings/tunnel/RemoveKeyParams.js.map +1 -0
  63. package/base/lib/osBindings/tunnel/RemovePortForwardParams.d.ts +3 -0
  64. package/base/lib/osBindings/tunnel/RemovePortForwardParams.js +4 -0
  65. package/base/lib/osBindings/tunnel/RemovePortForwardParams.js.map +1 -0
  66. package/base/lib/osBindings/tunnel/Session.d.ts +5 -0
  67. package/base/lib/osBindings/tunnel/Session.js +4 -0
  68. package/base/lib/osBindings/tunnel/Session.js.map +1 -0
  69. package/base/lib/osBindings/tunnel/Sessions.d.ts +4 -0
  70. package/base/lib/osBindings/tunnel/Sessions.js +3 -0
  71. package/base/lib/osBindings/tunnel/Sessions.js.map +1 -0
  72. package/base/lib/osBindings/tunnel/SetPasswordParams.d.ts +3 -0
  73. package/base/lib/osBindings/tunnel/SetPasswordParams.js +4 -0
  74. package/base/lib/osBindings/tunnel/SetPasswordParams.js.map +1 -0
  75. package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.d.ts +4 -0
  76. package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.js +4 -0
  77. package/base/lib/osBindings/tunnel/SetPortForwardEnabledParams.js.map +1 -0
  78. package/base/lib/osBindings/tunnel/ShowConfigParams.d.ts +5 -0
  79. package/base/lib/osBindings/tunnel/ShowConfigParams.js +4 -0
  80. package/base/lib/osBindings/tunnel/ShowConfigParams.js.map +1 -0
  81. package/base/lib/osBindings/tunnel/SignerInfo.d.ts +3 -0
  82. package/base/lib/osBindings/tunnel/SignerInfo.js +4 -0
  83. package/base/lib/osBindings/tunnel/SignerInfo.js.map +1 -0
  84. package/base/lib/osBindings/tunnel/SubnetParams.d.ts +3 -0
  85. package/base/lib/osBindings/tunnel/SubnetParams.js +4 -0
  86. package/base/lib/osBindings/tunnel/SubnetParams.js.map +1 -0
  87. package/base/lib/osBindings/tunnel/TunnelCertData.d.ts +5 -0
  88. package/base/lib/osBindings/tunnel/TunnelCertData.js +3 -0
  89. package/base/lib/osBindings/tunnel/TunnelCertData.js.map +1 -0
  90. package/base/lib/osBindings/tunnel/TunnelDatabase.d.ts +21 -0
  91. package/base/lib/osBindings/tunnel/TunnelDatabase.js +3 -0
  92. package/base/lib/osBindings/tunnel/TunnelDatabase.js.map +1 -0
  93. package/base/lib/osBindings/tunnel/TunnelUpdateResult.d.ts +14 -0
  94. package/base/lib/osBindings/tunnel/TunnelUpdateResult.js +4 -0
  95. package/base/lib/osBindings/tunnel/TunnelUpdateResult.js.map +1 -0
  96. package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.d.ts +4 -0
  97. package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.js +4 -0
  98. package/base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.js.map +1 -0
  99. package/base/lib/osBindings/tunnel/WebserverInfo.d.ts +6 -0
  100. package/base/lib/osBindings/tunnel/WebserverInfo.js +3 -0
  101. package/base/lib/osBindings/tunnel/WebserverInfo.js.map +1 -0
  102. package/base/lib/osBindings/tunnel/WgConfig.d.ts +6 -0
  103. package/base/lib/osBindings/tunnel/WgConfig.js +3 -0
  104. package/base/lib/osBindings/tunnel/WgConfig.js.map +1 -0
  105. package/base/lib/osBindings/tunnel/WgServer.d.ts +7 -0
  106. package/base/lib/osBindings/tunnel/WgServer.js +3 -0
  107. package/base/lib/osBindings/tunnel/WgServer.js.map +1 -0
  108. package/base/lib/osBindings/tunnel/WgSubnetClients.d.ts +4 -0
  109. package/base/lib/osBindings/tunnel/WgSubnetClients.js +3 -0
  110. package/base/lib/osBindings/tunnel/WgSubnetClients.js.map +1 -0
  111. package/base/lib/osBindings/tunnel/WgSubnetConfig.d.ts +5 -0
  112. package/base/lib/osBindings/tunnel/WgSubnetConfig.js +3 -0
  113. package/base/lib/osBindings/tunnel/WgSubnetConfig.js.map +1 -0
  114. package/base/lib/osBindings/tunnel/WgSubnetMap.d.ts +4 -0
  115. package/base/lib/osBindings/tunnel/WgSubnetMap.js +3 -0
  116. package/base/lib/osBindings/tunnel/WgSubnetMap.js.map +1 -0
  117. package/base/lib/osBindings/tunnel/index.d.ts +35 -0
  118. package/base/lib/osBindings/tunnel/index.js +3 -0
  119. package/base/lib/osBindings/tunnel/index.js.map +1 -0
  120. package/base/lib/util/GetContainerIp.d.ts +1 -1
  121. package/base/lib/util/GetContainerIp.js +1 -1
  122. package/base/lib/util/GetContainerIp.js.map +1 -1
  123. package/base/lib/util/GetHostInfo.d.ts +1 -1
  124. package/base/lib/util/GetHostInfo.js +1 -1
  125. package/base/lib/util/GetHostInfo.js.map +1 -1
  126. package/base/lib/util/GetOutboundGateway.d.ts +1 -1
  127. package/base/lib/util/GetOutboundGateway.js +1 -1
  128. package/base/lib/util/GetOutboundGateway.js.map +1 -1
  129. package/base/lib/util/GetServiceManifest.d.ts +7 -2
  130. package/base/lib/util/GetServiceManifest.js +11 -3
  131. package/base/lib/util/GetServiceManifest.js.map +1 -1
  132. package/base/lib/util/GetSslCertificate.d.ts +1 -1
  133. package/base/lib/util/GetSslCertificate.js +1 -1
  134. package/base/lib/util/GetSslCertificate.js.map +1 -1
  135. package/base/lib/util/GetStatus.d.ts +1 -1
  136. package/base/lib/util/GetStatus.js +1 -1
  137. package/base/lib/util/GetStatus.js.map +1 -1
  138. package/base/lib/util/GetSystemSmtp.d.ts +1 -1
  139. package/base/lib/util/GetSystemSmtp.js +1 -1
  140. package/base/lib/util/GetSystemSmtp.js.map +1 -1
  141. package/base/lib/util/Watchable.d.ts +33 -9
  142. package/base/lib/util/Watchable.js +68 -19
  143. package/base/lib/util/Watchable.js.map +1 -1
  144. package/base/lib/util/getServiceInterface.d.ts +8 -30
  145. package/base/lib/util/getServiceInterface.js +18 -108
  146. package/base/lib/util/getServiceInterface.js.map +1 -1
  147. package/base/lib/util/getServiceInterfaces.d.ts +8 -30
  148. package/base/lib/util/getServiceInterfaces.js +17 -106
  149. package/base/lib/util/getServiceInterfaces.js.map +1 -1
  150. package/base/lib/util/index.d.ts +1 -1
  151. package/base/lib/util/index.js +2 -1
  152. package/base/lib/util/index.js.map +1 -1
  153. package/package/lib/StartSdk.d.ts +4 -23
  154. package/package/lib/StartSdk.js +5 -144
  155. package/package/lib/StartSdk.js.map +1 -1
  156. package/package/lib/test/output.sdk.d.ts +2 -22
  157. package/package/lib/util/fileHelper.d.ts +2 -5
  158. package/package/lib/util/fileHelper.js +61 -99
  159. package/package/lib/util/fileHelper.js.map +1 -1
  160. package/package/lib/util/index.d.ts +0 -2
  161. package/package/lib/util/index.js +1 -6
  162. package/package/lib/util/index.js.map +1 -1
  163. package/package/package.json +1 -1
  164. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AddKeyParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddKeyParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/AddKeyParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export type AddPortForwardParams = {
2
+ source: string;
3
+ target: string;
4
+ label: string | null;
5
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=AddPortForwardParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddPortForwardParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/AddPortForwardParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,3 @@
1
+ export type AddSubnetParams = {
2
+ name: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=AddSubnetParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddSubnetParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/AddSubnetParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type AnyVerifyingKey = string;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=AnyVerifyingKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyVerifyingKey.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/AnyVerifyingKey.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type Base64 = string;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Base64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Base64.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/Base64.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type GatewayId = string;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=GatewayId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayId.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/GatewayId.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type GatewayType = 'inbound-outbound' | 'outbound-only';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=GatewayType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayType.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/GatewayType.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,11 @@
1
+ import type { NetworkInterfaceType } from './NetworkInterfaceType';
2
+ export type IpInfo = {
3
+ name: string;
4
+ scopeId: number;
5
+ deviceType: NetworkInterfaceType | null;
6
+ subnets: string[];
7
+ lanIp: string[];
8
+ wanIp: string | null;
9
+ ntpServers: string[];
10
+ dnsServers: string[];
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IpInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IpInfo.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/IpInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ListDevicesParams = {
2
+ subnet: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ListDevicesParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListDevicesParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/ListDevicesParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,8 @@
1
+ import type { GatewayType } from './GatewayType';
2
+ import type { IpInfo } from './IpInfo';
3
+ export type NetworkInterfaceInfo = {
4
+ name: string | null;
5
+ secure: boolean | null;
6
+ ipInfo: IpInfo | null;
7
+ type: GatewayType | null;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NetworkInterfaceInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkInterfaceInfo.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/NetworkInterfaceInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type NetworkInterfaceType = 'ethernet' | 'wireless' | 'bridge' | 'wireguard' | 'loopback';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=NetworkInterfaceType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkInterfaceType.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/NetworkInterfaceType.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type Pem = string;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Pem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pem.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/Pem.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,5 @@
1
+ export type PortForwardEntry = {
2
+ target: string;
3
+ label: string | null;
4
+ enabled: boolean;
5
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=PortForwardEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PortForwardEntry.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/PortForwardEntry.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
1
+ import type { PortForwardEntry } from './PortForwardEntry';
2
+ export type PortForwards = {
3
+ [key: string]: PortForwardEntry;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PortForwards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PortForwards.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/PortForwards.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export type RemoveDeviceParams = {
2
+ subnet: string;
3
+ ip: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=RemoveDeviceParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoveDeviceParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/RemoveDeviceParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
1
+ import type { AnyVerifyingKey } from './AnyVerifyingKey';
2
+ export type RemoveKeyParams = {
3
+ key: AnyVerifyingKey;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RemoveKeyParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoveKeyParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/RemoveKeyParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type RemovePortForwardParams = {
2
+ source: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=RemovePortForwardParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemovePortForwardParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/RemovePortForwardParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,5 @@
1
+ export type Session = {
2
+ loggedIn: string;
3
+ lastActive: string;
4
+ userAgent: string | null;
5
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/Session.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
1
+ import type { Session } from './Session';
2
+ export type Sessions = {
3
+ [key: string]: Session;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Sessions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sessions.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/Sessions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type SetPasswordParams = {
2
+ password: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=SetPasswordParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetPasswordParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/SetPasswordParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
1
+ export type SetPortForwardEnabledParams = {
2
+ source: string;
3
+ enabled: boolean;
4
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=SetPortForwardEnabledParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetPortForwardEnabledParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/SetPortForwardEnabledParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,5 @@
1
+ export type ShowConfigParams = {
2
+ subnet: string;
3
+ ip: string;
4
+ wanAddr: string | null;
5
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ShowConfigParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowConfigParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/ShowConfigParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,3 @@
1
+ export type SignerInfo = {
2
+ name: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=SignerInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignerInfo.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/SignerInfo.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,3 @@
1
+ export type SubnetParams = {
2
+ subnet: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=SubnetParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubnetParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/SubnetParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,5 @@
1
+ import type { Pem } from './Pem';
2
+ export type TunnelCertData = {
3
+ key: Pem;
4
+ cert: Pem;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TunnelCertData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TunnelCertData.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/TunnelCertData.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import type { AnyVerifyingKey } from './AnyVerifyingKey';
2
+ import type { GatewayId } from './GatewayId';
3
+ import type { NetworkInterfaceInfo } from './NetworkInterfaceInfo';
4
+ import type { PortForwards } from './PortForwards';
5
+ import type { Sessions } from './Sessions';
6
+ import type { SignerInfo } from './SignerInfo';
7
+ import type { WebserverInfo } from './WebserverInfo';
8
+ import type { WgServer } from './WgServer';
9
+ export type TunnelDatabase = {
10
+ webserver: WebserverInfo;
11
+ sessions: Sessions;
12
+ password: string | null;
13
+ authPubkeys: {
14
+ [key: AnyVerifyingKey]: SignerInfo;
15
+ };
16
+ gateways: {
17
+ [key: GatewayId]: NetworkInterfaceInfo;
18
+ };
19
+ wg: WgServer;
20
+ portForwards: PortForwards;
21
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TunnelDatabase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TunnelDatabase.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/TunnelDatabase.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type TunnelUpdateResult = {
2
+ /**
3
+ * "up-to-date", "update-available", or "updating"
4
+ */
5
+ status: string;
6
+ /**
7
+ * Currently installed version
8
+ */
9
+ installed: string;
10
+ /**
11
+ * Available candidate version
12
+ */
13
+ candidate: string;
14
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=TunnelUpdateResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TunnelUpdateResult.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/TunnelUpdateResult.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
1
+ export type UpdatePortForwardLabelParams = {
2
+ source: string;
3
+ label: string | null;
4
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=UpdatePortForwardLabelParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdatePortForwardLabelParams.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/UpdatePortForwardLabelParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,6 @@
1
+ import type { TunnelCertData } from './TunnelCertData';
2
+ export type WebserverInfo = {
3
+ enabled: boolean;
4
+ listen: string | null;
5
+ certificate: TunnelCertData | null;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WebserverInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebserverInfo.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WebserverInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { Base64 } from './Base64';
2
+ export type WgConfig = {
3
+ name: string;
4
+ key: Base64;
5
+ psk: Base64;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WgConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WgConfig.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WgConfig.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { Base64 } from './Base64';
2
+ import type { WgSubnetMap } from './WgSubnetMap';
3
+ export type WgServer = {
4
+ port: number;
5
+ key: Base64;
6
+ subnets: WgSubnetMap;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WgServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WgServer.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WgServer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { WgConfig } from './WgConfig';
2
+ export type WgSubnetClients = {
3
+ [key: string]: WgConfig;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WgSubnetClients.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WgSubnetClients.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WgSubnetClients.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { WgSubnetClients } from './WgSubnetClients';
2
+ export type WgSubnetConfig = {
3
+ name: string;
4
+ clients: WgSubnetClients;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WgSubnetConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WgSubnetConfig.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WgSubnetConfig.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { WgSubnetConfig } from './WgSubnetConfig';
2
+ export type WgSubnetMap = {
3
+ [key: string]: WgSubnetConfig;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WgSubnetMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WgSubnetMap.js","sourceRoot":"","sources":["../../../../../base/lib/osBindings/tunnel/WgSubnetMap.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ export { AddDeviceParams } from './AddDeviceParams';
2
+ export { AddKeyParams } from './AddKeyParams';
3
+ export { AddPortForwardParams } from './AddPortForwardParams';
4
+ export { AddSubnetParams } from './AddSubnetParams';
5
+ export { AnyVerifyingKey } from './AnyVerifyingKey';
6
+ export { Base64 } from './Base64';
7
+ export { GatewayId } from './GatewayId';
8
+ export { GatewayType } from './GatewayType';
9
+ export { IpInfo } from './IpInfo';
10
+ export { ListDevicesParams } from './ListDevicesParams';
11
+ export { NetworkInterfaceInfo } from './NetworkInterfaceInfo';
12
+ export { NetworkInterfaceType } from './NetworkInterfaceType';
13
+ export { Pem } from './Pem';
14
+ export { PortForwardEntry } from './PortForwardEntry';
15
+ export { PortForwards } from './PortForwards';
16
+ export { RemoveDeviceParams } from './RemoveDeviceParams';
17
+ export { RemoveKeyParams } from './RemoveKeyParams';
18
+ export { RemovePortForwardParams } from './RemovePortForwardParams';
19
+ export { Sessions } from './Sessions';
20
+ export { Session } from './Session';
21
+ export { SetPasswordParams } from './SetPasswordParams';
22
+ export { SetPortForwardEnabledParams } from './SetPortForwardEnabledParams';
23
+ export { ShowConfigParams } from './ShowConfigParams';
24
+ export { SignerInfo } from './SignerInfo';
25
+ export { SubnetParams } from './SubnetParams';
26
+ export { TunnelCertData } from './TunnelCertData';
27
+ export { TunnelDatabase } from './TunnelDatabase';
28
+ export { TunnelUpdateResult } from './TunnelUpdateResult';
29
+ export { UpdatePortForwardLabelParams } from './UpdatePortForwardLabelParams';
30
+ export { WebserverInfo } from './WebserverInfo';
31
+ export { WgConfig } from './WgConfig';
32
+ export { WgServer } from './WgServer';
33
+ export { WgSubnetClients } from './WgSubnetClients';
34
+ export { WgSubnetConfig } from './WgSubnetConfig';
35
+ export { WgSubnetMap } from './WgSubnetMap';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map