@theia/remote 1.49.1 → 1.50.1

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 (104) hide show
  1. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +3 -3
  2. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +1 -1
  3. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +1 -0
  4. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +1 -1
  5. package/lib/electron-browser/port-forwarding/port-forwarding-service.js +16 -4
  6. package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +1 -1
  7. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +12 -12
  8. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +1 -1
  9. package/lib/electron-browser/remote-electron-file-dialog-service.js +4 -4
  10. package/lib/electron-browser/remote-electron-file-dialog-service.js.map +1 -1
  11. package/lib/electron-browser/remote-frontend-contribution.js +17 -17
  12. package/lib/electron-browser/remote-frontend-contribution.js.map +1 -1
  13. package/lib/electron-browser/remote-preferences.d.ts +1 -1
  14. package/lib/electron-browser/remote-preferences.d.ts.map +1 -1
  15. package/lib/electron-browser/remote-registry-contribution.js +4 -4
  16. package/lib/electron-browser/remote-registry-contribution.js.map +1 -1
  17. package/lib/electron-browser/remote-service.js +2 -2
  18. package/lib/electron-browser/remote-service.js.map +1 -1
  19. package/lib/electron-browser/remote-ssh-contribution.js +11 -11
  20. package/lib/electron-browser/remote-ssh-contribution.js.map +1 -1
  21. package/lib/electron-common/remote-port-forwarding-provider.d.ts +1 -0
  22. package/lib/electron-common/remote-port-forwarding-provider.d.ts.map +1 -1
  23. package/lib/electron-common/remote-status-service.d.ts +1 -1
  24. package/lib/electron-common/remote-status-service.d.ts.map +1 -1
  25. package/lib/electron-node/backend-remote-service-impl.d.ts +1 -1
  26. package/lib/electron-node/backend-remote-service-impl.d.ts.map +1 -1
  27. package/lib/electron-node/backend-remote-service-impl.js +3 -3
  28. package/lib/electron-node/backend-remote-service-impl.js.map +1 -1
  29. package/lib/electron-node/remote-backend-module.d.ts.map +1 -1
  30. package/lib/electron-node/remote-backend-module.js +5 -4
  31. package/lib/electron-node/remote-backend-module.js.map +1 -1
  32. package/lib/electron-node/remote-connection-service.d.ts +2 -2
  33. package/lib/electron-node/remote-connection-service.d.ts.map +1 -1
  34. package/lib/electron-node/remote-connection-service.js +9 -9
  35. package/lib/electron-node/remote-connection-service.js.map +1 -1
  36. package/lib/electron-node/remote-connection-socket-provider.js +2 -2
  37. package/lib/electron-node/remote-connection-socket-provider.js.map +1 -1
  38. package/lib/electron-node/remote-port-forwarding-provider.d.ts +9 -1
  39. package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +1 -1
  40. package/lib/electron-node/remote-port-forwarding-provider.js +19 -13
  41. package/lib/electron-node/remote-port-forwarding-provider.js.map +1 -1
  42. package/lib/electron-node/remote-proxy-server-provider.js +2 -2
  43. package/lib/electron-node/remote-proxy-server-provider.js.map +1 -1
  44. package/lib/electron-node/remote-status-service.js +4 -4
  45. package/lib/electron-node/remote-status-service.js.map +1 -1
  46. package/lib/electron-node/remote-types.d.ts +6 -7
  47. package/lib/electron-node/remote-types.d.ts.map +1 -1
  48. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +1 -1
  49. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +1 -1
  50. package/lib/electron-node/setup/app-native-dependency-contribution.js +2 -2
  51. package/lib/electron-node/setup/app-native-dependency-contribution.js.map +1 -1
  52. package/lib/electron-node/setup/main-copy-contribution.d.ts +1 -1
  53. package/lib/electron-node/setup/main-copy-contribution.d.ts.map +1 -1
  54. package/lib/electron-node/setup/main-copy-contribution.js +2 -2
  55. package/lib/electron-node/setup/main-copy-contribution.js.map +1 -1
  56. package/lib/electron-node/setup/remote-copy-contribution.d.ts +3 -19
  57. package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +1 -1
  58. package/lib/electron-node/setup/remote-copy-contribution.js +18 -14
  59. package/lib/electron-node/setup/remote-copy-contribution.js.map +1 -1
  60. package/lib/electron-node/setup/remote-copy-service.d.ts +5 -3
  61. package/lib/electron-node/setup/remote-copy-service.d.ts.map +1 -1
  62. package/lib/electron-node/setup/remote-copy-service.js +13 -12
  63. package/lib/electron-node/setup/remote-copy-service.js.map +1 -1
  64. package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts +2 -2
  65. package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts.map +1 -1
  66. package/lib/electron-node/setup/remote-native-dependency-contribution.js +2 -2
  67. package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +1 -1
  68. package/lib/electron-node/setup/remote-native-dependency-service.d.ts +1 -1
  69. package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +1 -1
  70. package/lib/electron-node/setup/remote-native-dependency-service.js +6 -6
  71. package/lib/electron-node/setup/remote-native-dependency-service.js.map +1 -1
  72. package/lib/electron-node/setup/remote-node-setup-service.d.ts +1 -1
  73. package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +1 -1
  74. package/lib/electron-node/setup/remote-node-setup-service.js +6 -6
  75. package/lib/electron-node/setup/remote-node-setup-service.js.map +1 -1
  76. package/lib/electron-node/setup/remote-setup-script-service.d.ts +1 -1
  77. package/lib/electron-node/setup/remote-setup-script-service.d.ts.map +1 -1
  78. package/lib/electron-node/setup/remote-setup-script-service.js +10 -10
  79. package/lib/electron-node/setup/remote-setup-script-service.js.map +1 -1
  80. package/lib/electron-node/setup/remote-setup-service.d.ts +4 -1
  81. package/lib/electron-node/setup/remote-setup-service.d.ts.map +1 -1
  82. package/lib/electron-node/setup/remote-setup-service.js +29 -13
  83. package/lib/electron-node/setup/remote-setup-service.js.map +1 -1
  84. package/lib/electron-node/ssh/remote-ssh-connection-provider.js +17 -17
  85. package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +1 -1
  86. package/lib/electron-node/ssh/ssh-identity-file-collector.js +2 -2
  87. package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +1 -1
  88. package/package.json +5 -5
  89. package/src/electron-browser/port-forwarding/port-forwarding-service.ts +9 -1
  90. package/src/electron-common/remote-port-forwarding-provider.ts +1 -0
  91. package/src/electron-node/backend-remote-service-impl.ts +1 -1
  92. package/src/electron-node/remote-backend-module.ts +4 -3
  93. package/src/electron-node/remote-connection-service.ts +4 -3
  94. package/src/electron-node/remote-port-forwarding-provider.ts +22 -6
  95. package/src/electron-node/remote-types.ts +1 -6
  96. package/src/electron-node/setup/app-native-dependency-contribution.ts +1 -1
  97. package/src/electron-node/setup/main-copy-contribution.ts +1 -1
  98. package/src/electron-node/setup/remote-copy-contribution.ts +13 -28
  99. package/src/electron-node/setup/remote-copy-service.ts +6 -4
  100. package/src/electron-node/setup/remote-native-dependency-contribution.ts +1 -1
  101. package/src/electron-node/setup/remote-native-dependency-service.ts +1 -1
  102. package/src/electron-node/setup/remote-node-setup-service.ts +1 -1
  103. package/src/electron-node/setup/remote-setup-script-service.ts +1 -1
  104. package/src/electron-node/setup/remote-setup-service.ts +18 -4
@@ -1 +1 @@
1
- {"version":3,"file":"remote-connection-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,sCAAyC;AACzC,qEAAgE;AAChE,+FAAyF;AAIzF,IAAa,uBAAuB,GAApC,MAAa,uBAAuB;IAApC;QAQuB,gBAAW,GAAG,IAAI,GAAG,EAA4B,CAAC;IAsBzE,CAAC;IApBG,aAAa,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,qBAAqB,CAAC,IAAY;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC;IACnG,CAAC;IAED,QAAQ,CAAC,UAA4B;QACjC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;QAChD,OAAO,iBAAU,CAAC,MAAM,CAAC,GAAG,EAAE;YAC1B,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;IAED,MAAM;QACF,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE;YAChD,UAAU,CAAC,OAAO,EAAE,CAAC;SACxB;IACL,CAAC;CACJ,CAAA;AA3BG;IADC,IAAA,kBAAM,EAAC,uCAAiB,CAAC;2CACM,uCAAiB;4DAAC;AAGlD;IADC,IAAA,kBAAM,EAAC,gEAA6B,CAAC;2CACM,gEAA6B;wEAAC;AANjE,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CA8BnC;AA9BY,0DAAuB"}
1
+ {"version":3,"file":"remote-connection-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,sCAAyC;AACzC,qEAAgE;AAEhE,uEAAkE;AAG3D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAA7B;QASgB,gBAAW,GAAG,IAAI,GAAG,EAA4B,CAAC;IAsBzE,CAAC;IApBG,aAAa,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,qBAAqB,CAAC,IAAY;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC;IACnG,CAAC;IAED,QAAQ,CAAC,UAA4B;QACjC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;QAChD,OAAO,iBAAU,CAAC,MAAM,CAAC,GAAG,EAAE;YAC1B,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;IAED,MAAM;QACF,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,CAAC;YACjD,UAAU,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC;IACL,CAAC;CACJ,CAAA;AA/BY,0DAAuB;AAGb;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;sCACM,uCAAiB;4DAAC;AAI/B;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;sCACY,yCAAkB;mEAAC;kCAPjD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CA+BnC"}
@@ -26,8 +26,8 @@ let RemoteConnectionSocketProvider = class RemoteConnectionSocketProvider {
26
26
  return socket;
27
27
  }
28
28
  };
29
- RemoteConnectionSocketProvider = (0, tslib_1.__decorate)([
29
+ exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider;
30
+ exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider = tslib_1.__decorate([
30
31
  (0, inversify_1.injectable)()
31
32
  ], RemoteConnectionSocketProvider);
32
- exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider;
33
33
  //# sourceMappingURL=remote-connection-socket-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-connection-socket-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAC1D,uDAA8C;AAQ9C,IAAa,8BAA8B,GAA3C,MAAa,8BAA8B;IAEvC,cAAc,CAAC,OAAyC;QACpD,MAAM,MAAM,GAAG,IAAA,qBAAE,EAAC,kBAAkB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ,CAAA;AARY,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAQ1C;AARY,wEAA8B"}
1
+ {"version":3,"file":"remote-connection-socket-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAC1D,uDAA8C;AAQvC,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,cAAc,CAAC,OAAyC;QACpD,MAAM,MAAM,GAAG,IAAA,qBAAE,EAAC,kBAAkB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ,CAAA;AARY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAQ1C"}
@@ -2,10 +2,18 @@
2
2
  import { ForwardedPort, RemotePortForwardingProvider } from '../electron-common/remote-port-forwarding-provider';
3
3
  import { Server } from 'net';
4
4
  import { RemoteConnectionService } from './remote-connection-service';
5
+ import { RemoteConnection } from './remote-types';
6
+ interface ForwardInfo {
7
+ connection: RemoteConnection;
8
+ port: ForwardedPort;
9
+ server: Server;
10
+ }
5
11
  export declare class RemotePortForwardingProviderImpl implements RemotePortForwardingProvider {
6
12
  protected readonly connectionService: RemoteConnectionService;
7
- protected forwardedPorts: Map<number, Server>;
13
+ protected static forwardedPorts: ForwardInfo[];
8
14
  forwardPort(connectionPort: number, portToForward: ForwardedPort): Promise<void>;
9
15
  portRemoved(forwardedPort: ForwardedPort): Promise<void>;
16
+ getForwardedPorts(): Promise<ForwardedPort[]>;
10
17
  }
18
+ export {};
11
19
  //# sourceMappingURL=remote-port-forwarding-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,aAAa,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAgB,MAAM,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,qBACa,gCAAiC,YAAW,4BAA4B;IAGjF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAE9D,SAAS,CAAC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAa;IAEpD,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAYhF,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;CAQjE"}
1
+ {"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,aAAa,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAgB,MAAM,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,UAAU,WAAW;IACjB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,qBACa,gCAAiC,YAAW,4BAA4B;IAGjF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAE9D,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,CAAM;IAE9C,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBhF,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,iBAAiB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAItD"}
@@ -14,16 +14,14 @@
14
14
  //
15
15
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
16
  // *****************************************************************************
17
+ var RemotePortForwardingProviderImpl_1;
17
18
  Object.defineProperty(exports, "__esModule", { value: true });
18
19
  exports.RemotePortForwardingProviderImpl = void 0;
19
20
  const tslib_1 = require("tslib");
20
21
  const inversify_1 = require("@theia/core/shared/inversify");
21
22
  const net_1 = require("net");
22
23
  const remote_connection_service_1 = require("./remote-connection-service");
23
- let RemotePortForwardingProviderImpl = class RemotePortForwardingProviderImpl {
24
- constructor() {
25
- this.forwardedPorts = new Map();
26
- }
24
+ let RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = class RemotePortForwardingProviderImpl {
27
25
  async forwardPort(connectionPort, portToForward) {
28
26
  const currentConnection = this.connectionService.getConnectionFromPort(connectionPort);
29
27
  if (!currentConnection) {
@@ -32,22 +30,30 @@ let RemotePortForwardingProviderImpl = class RemotePortForwardingProviderImpl {
32
30
  const server = (0, net_1.createServer)(socket => {
33
31
  currentConnection === null || currentConnection === void 0 ? void 0 : currentConnection.forwardOut(socket, portToForward.port);
34
32
  }).listen(portToForward.port, portToForward.address);
35
- this.forwardedPorts.set(portToForward.port, server);
33
+ currentConnection.onDidDisconnect(() => {
34
+ this.portRemoved(portToForward);
35
+ });
36
+ RemotePortForwardingProviderImpl_1.forwardedPorts.push({ connection: currentConnection, port: portToForward, server });
36
37
  }
37
38
  async portRemoved(forwardedPort) {
38
- const proxy = this.forwardedPorts.get(forwardedPort.port);
39
- if (proxy) {
40
- proxy.close();
41
- this.forwardedPorts.delete(forwardedPort.port);
39
+ const forwardInfo = RemotePortForwardingProviderImpl_1.forwardedPorts.find(info => info.port.port === forwardedPort.port);
40
+ if (forwardInfo) {
41
+ forwardInfo.server.close();
42
+ RemotePortForwardingProviderImpl_1.forwardedPorts.splice(RemotePortForwardingProviderImpl_1.forwardedPorts.indexOf(forwardInfo), 1);
42
43
  }
43
44
  }
45
+ async getForwardedPorts() {
46
+ return Array.from(RemotePortForwardingProviderImpl_1.forwardedPorts)
47
+ .map(forwardInfo => ({ ...forwardInfo.port, editing: false }));
48
+ }
44
49
  };
45
- (0, tslib_1.__decorate)([
50
+ exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl;
51
+ RemotePortForwardingProviderImpl.forwardedPorts = [];
52
+ tslib_1.__decorate([
46
53
  (0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
47
- (0, tslib_1.__metadata)("design:type", remote_connection_service_1.RemoteConnectionService)
54
+ tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
48
55
  ], RemotePortForwardingProviderImpl.prototype, "connectionService", void 0);
49
- RemotePortForwardingProviderImpl = (0, tslib_1.__decorate)([
56
+ exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = tslib_1.__decorate([
50
57
  (0, inversify_1.injectable)()
51
58
  ], RemotePortForwardingProviderImpl);
52
- exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl;
53
59
  //# sourceMappingURL=remote-port-forwarding-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,6BAA2C;AAC3C,2EAAsE;AAGtE,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;IAA7C;QAKc,mBAAc,GAAwB,IAAI,GAAG,EAAE,CAAC;IAsB9D,CAAC;IApBG,KAAK,CAAC,WAAW,CAAC,cAAsB,EAAE,aAA4B;QAClE,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;QACvF,IAAI,CAAC,iBAAiB,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,gCAAgC,cAAc,EAAE,CAAC,CAAC;SACrE;QAED,MAAM,MAAM,GAAG,IAAA,kBAAY,EAAC,MAAM,CAAC,EAAE;YACjC,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,UAAU,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;QAC9D,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,aAA4B;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC1D,IAAI,KAAK,EAAE;YACP,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SAClD;IACL,CAAC;CAEJ,CAAA;AAxBG;IADC,IAAA,kBAAM,EAAC,mDAAuB,CAAC;2CACM,mDAAuB;2EAAC;AAHrD,gCAAgC;IAD5C,IAAA,sBAAU,GAAE;GACA,gCAAgC,CA2B5C;AA3BY,4EAAgC"}
1
+ {"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;;AAEhF,4DAAkE;AAElE,6BAA2C;AAC3C,2EAAsE;AAU/D,IAAM,gCAAgC,wCAAtC,MAAM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IAAI,CAAC,kCAAgC,CAAC,cAAc,CAAC;aAC7D,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;;AAnCQ,4EAAgC;AAKxB,+CAAc,GAAkB,EAAE,AAApB,CAAqB;AAFjC;IADlB,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACM,mDAAuB;2EAAC;2CAHrD,gCAAgC;IAD5C,IAAA,sBAAU,GAAE;GACA,gCAAgC,CAoC5C"}
@@ -32,8 +32,8 @@ let RemoteProxyServerProvider = class RemoteProxyServerProvider {
32
32
  return proxy;
33
33
  }
34
34
  };
35
- RemoteProxyServerProvider = (0, tslib_1.__decorate)([
35
+ exports.RemoteProxyServerProvider = RemoteProxyServerProvider;
36
+ exports.RemoteProxyServerProvider = RemoteProxyServerProvider = tslib_1.__decorate([
36
37
  (0, inversify_1.injectable)()
37
38
  ], RemoteProxyServerProvider);
38
- exports.RemoteProxyServerProvider = RemoteProxyServerProvider;
39
39
  //# sourceMappingURL=remote-proxy-server-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-proxy-server-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,sEAA+D;AAC/D,4DAA0D;AAC1D,2BAA2B;AAG3B,IAAa,yBAAyB,GAAtC,MAAa,yBAAyB;IAElC,KAAK,CAAC,cAAc,CAAC,QAAuC;QACxD,MAAM,QAAQ,GAAG,IAAI,uBAAQ,EAAE,CAAC;QAEhC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACpC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,MAAM,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE;YACd,QAAQ,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,OAAO,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAfY,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAerC;AAfY,8DAAyB"}
1
+ {"version":3,"file":"remote-proxy-server-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,sEAA+D;AAC/D,4DAA0D;AAC1D,2BAA2B;AAGpB,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAElC,KAAK,CAAC,cAAc,CAAC,QAAuC;QACxD,MAAM,QAAQ,GAAG,IAAI,uBAAQ,EAAE,CAAC;QAEhC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACpC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,MAAM,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE;YACd,QAAQ,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,OAAO,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAfY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAerC"}
@@ -36,12 +36,12 @@ let RemoteStatusServiceImpl = class RemoteStatusServiceImpl {
36
36
  }
37
37
  }
38
38
  };
39
- (0, tslib_1.__decorate)([
39
+ exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl;
40
+ tslib_1.__decorate([
40
41
  (0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
41
- (0, tslib_1.__metadata)("design:type", remote_connection_service_1.RemoteConnectionService)
42
+ tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
42
43
  ], RemoteStatusServiceImpl.prototype, "remoteConnectionService", void 0);
43
- RemoteStatusServiceImpl = (0, tslib_1.__decorate)([
44
+ exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl = tslib_1.__decorate([
44
45
  (0, inversify_1.injectable)()
45
46
  ], RemoteStatusServiceImpl);
46
- exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl;
47
47
  //# sourceMappingURL=remote-status-service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,2EAAsE;AAGtE,IAAa,uBAAuB,GAApC,MAAa,uBAAuB;IAKhC,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE;YACZ,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,IAAI,EAAE,UAAU,CAAC,IAAI;aACxB,CAAC;SACL;aAAM;YACH,OAAO;gBACH,KAAK,EAAE,KAAK;aACf,CAAC;SACL;IACL,CAAC;CACJ,CAAA;AAhBG;IADC,IAAA,kBAAM,EAAC,mDAAuB,CAAC;2CACG,mDAAuB;wEAAC;AAHlD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAmBnC;AAnBY,0DAAuB"}
1
+ {"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAElE,2EAAsE;AAG/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAKhC,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,IAAI,EAAE,UAAU,CAAC,IAAI;aACxB,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,KAAK,EAAE,KAAK;aACf,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AAnBY,0DAAuB;AAGtB;IADT,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACG,mDAAuB;wEAAC;kCAHlD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAmBnC"}
@@ -1,11 +1,10 @@
1
1
  /// <reference types="node" />
2
- import { Disposable, Event, OS } from '@theia/core';
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
4
+ /// <reference types="node" />
5
+ import { Disposable, Event } from '@theia/core';
3
6
  import * as net from 'net';
4
- export interface RemotePlatform {
5
- os: OS.Type;
6
- arch: string;
7
- }
8
- export declare type RemoteStatusReport = (message: string) => void;
7
+ export type RemoteStatusReport = (message: string) => void;
9
8
  export interface ExpressLayer {
10
9
  name: string;
11
10
  regexp: RegExp;
@@ -19,7 +18,7 @@ export interface RemoteExecResult {
19
18
  stdout: string;
20
19
  stderr: string;
21
20
  }
22
- export declare type RemoteExecTester = (stdout: string, stderr: string) => boolean;
21
+ export type RemoteExecTester = (stdout: string, stderr: string) => boolean;
23
22
  export interface RemoteConnection extends Disposable {
24
23
  id: string;
25
24
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-types.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-types.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,EAAE,CAAC,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACf;AAED,oBAAY,kBAAkB,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;AAE3D,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,QAAQ,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,gBAAgB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ribution, DownloadOptions, DependencyDownload } from './remote-native-dependency-contribution';
2
- import { RemotePlatform } from '../remote-types';
2
+ import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
3
3
  export declare class AppNativeDependencyContribution implements RemoteNativeDependencyContribution {
4
4
  appDownloadUrlBase: string;
5
5
  protected getDefaultURLForFile(remotePlatform: RemotePlatform, theiaVersion: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"app-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClI,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGjD,qBACa,+BAAgC,YAAW,kCAAkC;IAEtF,kBAAkB,SAA8D;IAEhF,SAAS,CAAC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAetF,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMxE"}
1
+ {"version":3,"file":"app-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClI,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF,qBACa,+BAAgC,YAAW,kCAAkC;IAEtF,kBAAkB,SAA8D;IAEhF,SAAS,CAAC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAetF,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMxE"}
@@ -46,8 +46,8 @@ let AppNativeDependencyContribution = class AppNativeDependencyContribution {
46
46
  };
47
47
  }
48
48
  };
49
- AppNativeDependencyContribution = (0, tslib_1.__decorate)([
49
+ exports.AppNativeDependencyContribution = AppNativeDependencyContribution;
50
+ exports.AppNativeDependencyContribution = AppNativeDependencyContribution = tslib_1.__decorate([
50
51
  (0, inversify_1.injectable)()
51
52
  ], AppNativeDependencyContribution);
52
- exports.AppNativeDependencyContribution = AppNativeDependencyContribution;
53
53
  //# sourceMappingURL=app-native-dependency-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAG1D,sCAAiC;AAGjC,IAAa,+BAA+B,GAA5C,MAAa,+BAA+B;IAA5C;QAEI,uBAAkB,GAAG,0DAA0D,CAAC;IAuBpF,CAAC;IArBa,oBAAoB,CAAC,cAA8B,EAAE,YAAoB;QAC/E,IAAI,cAAc,CAAC,IAAI,KAAK,KAAK,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,cAAc,CAAC,IAAI,4DAA4D,CAAC,CAAC;SACxI;QACD,IAAI,QAAgB,CAAC;QACrB,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,OAAO,EAAE;YACvC,QAAQ,GAAG,OAAO,CAAC;SACtB;aAAM,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,GAAG,EAAE;YAC1C,QAAQ,GAAG,QAAQ,CAAC;SACvB;aAAM;YACH,QAAQ,GAAG,OAAO,CAAC;SACtB;QACD,OAAO,GAAG,IAAI,CAAC,kBAAkB,KAAK,YAAY,wBAAwB,QAAQ,IAAI,cAAc,CAAC,IAAI,MAAM,CAAC;IACpH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,OAAwB;QACnC,OAAO;YACH,MAAM,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;YACvG,OAAO,EAAE,KAAK;SACjB,CAAC;IACN,CAAC;CACJ,CAAA;AAzBY,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAyB3C;AAzBY,0EAA+B"}
1
+ {"version":3,"file":"app-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAG1D,sCAAiC;AAG1B,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAArC;QAEH,uBAAkB,GAAG,0DAA0D,CAAC;IAuBpF,CAAC;IArBa,oBAAoB,CAAC,cAA8B,EAAE,YAAoB;QAC/E,IAAI,cAAc,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,oCAAoC,cAAc,CAAC,IAAI,4DAA4D,CAAC,CAAC;QACzI,CAAC;QACD,IAAI,QAAgB,CAAC;QACrB,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACxC,QAAQ,GAAG,OAAO,CAAC;QACvB,CAAC;aAAM,IAAI,cAAc,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YAC3C,QAAQ,GAAG,QAAQ,CAAC;QACxB,CAAC;aAAM,CAAC;YACJ,QAAQ,GAAG,OAAO,CAAC;QACvB,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,kBAAkB,KAAK,YAAY,wBAAwB,QAAQ,IAAI,cAAc,CAAC,IAAI,MAAM,CAAC;IACpH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,OAAwB;QACnC,OAAO;YACH,MAAM,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;YACvG,OAAO,EAAE,KAAK;SACjB,CAAC;IACN,CAAC;CACJ,CAAA;AAzBY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAyB3C"}
@@ -1,4 +1,4 @@
1
- import { RemoteCopyContribution, RemoteCopyRegistry } from './remote-copy-contribution';
1
+ import { RemoteCopyContribution, RemoteCopyRegistry } from '@theia/core/lib/node/remote/remote-copy-contribution';
2
2
  export declare class MainCopyContribution implements RemoteCopyContribution {
3
3
  copy(registry: RemoteCopyRegistry): Promise<void>;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"main-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAExF,qBACa,oBAAqB,YAAW,sBAAsB;IACzD,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAM1D"}
1
+ {"version":3,"file":"main-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAElH,qBACa,oBAAqB,YAAW,sBAAsB;IACzD,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAM1D"}
@@ -26,8 +26,8 @@ let MainCopyContribution = class MainCopyContribution {
26
26
  await registry.directory('lib/webview');
27
27
  }
28
28
  };
29
- MainCopyContribution = (0, tslib_1.__decorate)([
29
+ exports.MainCopyContribution = MainCopyContribution;
30
+ exports.MainCopyContribution = MainCopyContribution = tslib_1.__decorate([
30
31
  (0, inversify_1.injectable)()
31
32
  ], MainCopyContribution);
32
- exports.MainCopyContribution = MainCopyContribution;
33
33
  //# sourceMappingURL=main-copy-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"main-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAI1D,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAC7B,KAAK,CAAC,IAAI,CAAC,QAA4B;QACnC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9B,MAAM,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3C,MAAM,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAPY,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAOhC;AAPY,oDAAoB"}
1
+ {"version":3,"file":"main-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAInD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,KAAK,CAAC,IAAI,CAAC,QAA4B;QACnC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9B,MAAM,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3C,MAAM,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAPY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAOhC"}
@@ -1,27 +1,11 @@
1
1
  import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
2
- import { MaybePromise } from '@theia/core';
3
- export declare const RemoteCopyContribution: unique symbol;
4
- export interface RemoteCopyContribution {
5
- copy(registry: RemoteCopyRegistry): MaybePromise<void>;
6
- }
7
- export interface RemoteCopyOptions {
8
- /**
9
- * The mode that the file should be set to once copied to the remote.
10
- *
11
- * Only relevant for POSIX-like systems
12
- */
13
- mode?: number;
14
- }
15
- export interface RemoteFile {
16
- path: string;
17
- target: string;
18
- options?: RemoteCopyOptions;
19
- }
20
- export declare class RemoteCopyRegistry {
2
+ import { RemoteCopyRegistry, RemoteFile, RemoteCopyOptions } from '@theia/core/lib/node/remote/remote-copy-contribution';
3
+ export declare class RemoteCopyRegistryImpl implements RemoteCopyRegistry {
21
4
  protected readonly applicationPackage: ApplicationPackage;
22
5
  protected readonly files: RemoteFile[];
23
6
  getFiles(): RemoteFile[];
24
7
  glob(pattern: string, target?: string): Promise<void>;
8
+ doGlob(pattern: string, cwd: string, target?: string): Promise<void>;
25
9
  file(file: string, target?: string, options?: RemoteCopyOptions): void;
26
10
  directory(dir: string, target?: string): Promise<void>;
27
11
  protected withTarget(file: string, target?: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAKnF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AAEvE,MAAM,WAAW,sBAAsB;IACnC,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,YAAY,CAAC,IAAI,CAAC,CAAA;CACzD;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC/B;AAED,qBACa,kBAAkB;IAG3B,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAE1D,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,CAAM;IAE5C,QAAQ,IAAI,UAAU,EAAE;IAIlB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAc3D,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI;IAShE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAG9D"}
1
+ {"version":3,"file":"remote-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAOzH,qBACa,sBAAuB,YAAW,kBAAkB;IAG7D,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAE1D,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,CAAM;IAE5C,QAAQ,IAAI,UAAU,EAAE;IAIlB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrD,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAY1E,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI;IAShE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ5D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAG9D"}
@@ -15,7 +15,7 @@
15
15
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
16
  // *****************************************************************************
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteCopyRegistry = exports.RemoteCopyContribution = void 0;
18
+ exports.RemoteCopyRegistryImpl = void 0;
19
19
  const tslib_1 = require("tslib");
20
20
  const application_package_1 = require("@theia/core/shared/@theia/application-package");
21
21
  const inversify_1 = require("@theia/core/shared/inversify");
@@ -23,8 +23,7 @@ const glob_1 = require("glob");
23
23
  const util_1 = require("util");
24
24
  const path = require("path");
25
25
  const promiseGlob = (0, util_1.promisify)(glob_1.glob);
26
- exports.RemoteCopyContribution = Symbol('RemoteCopyContribution');
27
- let RemoteCopyRegistry = class RemoteCopyRegistry {
26
+ let RemoteCopyRegistryImpl = class RemoteCopyRegistryImpl {
28
27
  constructor() {
29
28
  this.files = [];
30
29
  }
@@ -32,14 +31,15 @@ let RemoteCopyRegistry = class RemoteCopyRegistry {
32
31
  return this.files.slice();
33
32
  }
34
33
  async glob(pattern, target) {
34
+ return this.doGlob(pattern, this.applicationPackage.projectPath, target);
35
+ }
36
+ async doGlob(pattern, cwd, target) {
35
37
  const projectPath = this.applicationPackage.projectPath;
36
- const globResult = await promiseGlob(pattern, {
37
- cwd: projectPath
38
- });
38
+ const globResult = await promiseGlob(pattern, { cwd, nodir: true });
39
39
  for (const file of globResult) {
40
40
  const targetFile = this.withTarget(file, target);
41
41
  this.files.push({
42
- path: file,
42
+ path: path.relative(projectPath, path.resolve(cwd, file)),
43
43
  target: targetFile
44
44
  });
45
45
  }
@@ -53,18 +53,22 @@ let RemoteCopyRegistry = class RemoteCopyRegistry {
53
53
  });
54
54
  }
55
55
  async directory(dir, target) {
56
- return this.glob(dir + '/**', target);
56
+ let absoluteDir = dir;
57
+ if (!path.isAbsolute(absoluteDir)) {
58
+ absoluteDir = path.join(this.applicationPackage.projectPath, dir);
59
+ }
60
+ return this.doGlob('**/*', absoluteDir, target !== null && target !== void 0 ? target : dir);
57
61
  }
58
62
  withTarget(file, target) {
59
63
  return target ? path.join(target, file) : file;
60
64
  }
61
65
  };
62
- (0, tslib_1.__decorate)([
66
+ exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl;
67
+ tslib_1.__decorate([
63
68
  (0, inversify_1.inject)(application_package_1.ApplicationPackage),
64
- (0, tslib_1.__metadata)("design:type", application_package_1.ApplicationPackage)
65
- ], RemoteCopyRegistry.prototype, "applicationPackage", void 0);
66
- RemoteCopyRegistry = (0, tslib_1.__decorate)([
69
+ tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
70
+ ], RemoteCopyRegistryImpl.prototype, "applicationPackage", void 0);
71
+ exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl = tslib_1.__decorate([
67
72
  (0, inversify_1.injectable)()
68
- ], RemoteCopyRegistry);
69
- exports.RemoteCopyRegistry = RemoteCopyRegistry;
73
+ ], RemoteCopyRegistryImpl);
70
74
  //# sourceMappingURL=remote-copy-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,uFAAmF;AACnF,4DAAkE;AAClE,+BAA4C;AAC5C,+BAAiC;AACjC,6BAA6B;AAG7B,MAAM,WAAW,GAAG,IAAA,gBAAS,EAAC,WAAY,CAAC,CAAC;AAE/B,QAAA,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAsBvE,IAAa,kBAAkB,GAA/B,MAAa,kBAAkB;IAA/B;QAKuB,UAAK,GAAiB,EAAE,CAAC;IAoChD,CAAC;IAlCG,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,MAAe;QACvC,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC;QACxD,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,OAAO,EAAE;YAC1C,GAAG,EAAE,WAAW;SACnB,CAAC,CAAC;QACH,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE;YAC3B,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YACjD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,UAAU;aACrB,CAAC,CAAC;SACN;IACL,CAAC;IAED,IAAI,CAAC,IAAY,EAAE,MAAe,EAAE,OAA2B;QAC3D,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,UAAU;YAClB,OAAO;SACV,CAAC,CAAC;IACP,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAW,EAAE,MAAe;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,KAAK,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IAES,UAAU,CAAC,IAAY,EAAE,MAAe;QAC9C,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;CACJ,CAAA;AAtCG;IADC,IAAA,kBAAM,EAAC,wCAAkB,CAAC;2CACY,wCAAkB;8DAAC;AAHjD,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAyC9B;AAzCY,gDAAkB"}
1
+ {"version":3,"file":"remote-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EA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CAAC,IAAY,EAAE,MAAe,EAAE,OAA2B;QAC3D,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,UAAU;YAClB,OAAO;SACV,CAAC,CAAC;IACP,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,GAAW,EAAE,MAAe;QACxC,IAAI,WAAW,GAAG,GAAG,CAAC;QACtB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;YAChC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,GAAG,CAAC,CAAC;IAC3D,CAAC;IAES,UAAU,CAAC,IAAY,EAAE,MAAe;QAC9C,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;CACJ,CAAA;AA/CY,wDAAsB;AAGZ;IADlB,IAAA,kBAAM,EAAC,wCAAkB,CAAC;sCACY,wCAAkB;kEAAC;iCAHjD,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA+ClC"}
@@ -1,11 +1,13 @@
1
1
  import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
2
- import { RemoteConnection, RemotePlatform } from '../remote-types';
2
+ import { RemoteConnection } from '../remote-types';
3
+ import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
3
4
  import { RemoteNativeDependencyService } from './remote-native-dependency-service';
4
5
  import { ContributionProvider } from '@theia/core';
5
- import { RemoteCopyContribution, RemoteCopyRegistry, RemoteFile } from './remote-copy-contribution';
6
+ import { RemoteCopyRegistryImpl } from './remote-copy-contribution';
7
+ import { RemoteCopyContribution, RemoteFile } from '@theia/core/lib/node/remote/remote-copy-contribution';
6
8
  export declare class RemoteCopyService {
7
9
  protected readonly applicationPackage: ApplicationPackage;
8
- protected readonly copyRegistry: RemoteCopyRegistry;
10
+ protected readonly copyRegistry: RemoteCopyRegistryImpl;
9
11
  protected readonly nativeDependencyService: RemoteNativeDependencyService;
10
12
  protected readonly copyContributions: ContributionProvider<RemoteCopyContribution>;
11
13
  protected initialized: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-copy-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEpG,qBACa,iBAAiB;IAG1B,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAG1D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAGpD,SAAS,CAAC,QAAQ,CAAC,uBAAuB,EAAE,6BAA6B,CAAC;IAG1E,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;IAEnF,SAAS,CAAC,WAAW,UAAS;IAExB,YAAY,CAAC,MAAM,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cA+BhG,QAAQ,CAAC,cAAc,EA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AAC;cA+BhG,QAAQ,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;cAQhF,qBAAqB,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;cAU9C,sBAAsB,CAAC,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;cAW9F,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;cAM7B,yBAAyB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAG3E"}
@@ -26,6 +26,7 @@ const inversify_1 = require("@theia/core/shared/inversify");
26
26
  const remote_native_dependency_service_1 = require("./remote-native-dependency-service");
27
27
  const core_1 = require("@theia/core");
28
28
  const remote_copy_contribution_1 = require("./remote-copy-contribution");
29
+ const remote_copy_contribution_2 = require("@theia/core/lib/node/remote/remote-copy-contribution");
29
30
  let RemoteCopyService = class RemoteCopyService {
30
31
  constructor() {
31
32
  this.initialized = false;
@@ -95,25 +96,25 @@ let RemoteCopyService = class RemoteCopyService {
95
96
  return undefined;
96
97
  }
97
98
  };
98
- (0, tslib_1.__decorate)([
99
+ exports.RemoteCopyService = RemoteCopyService;
100
+ tslib_1.__decorate([
99
101
  (0, inversify_1.inject)(application_package_1.ApplicationPackage),
100
- (0, tslib_1.__metadata)("design:type", application_package_1.ApplicationPackage)
102
+ tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
101
103
  ], RemoteCopyService.prototype, "applicationPackage", void 0);
102
- (0, tslib_1.__decorate)([
103
- (0, inversify_1.inject)(remote_copy_contribution_1.RemoteCopyRegistry),
104
- (0, tslib_1.__metadata)("design:type", remote_copy_contribution_1.RemoteCopyRegistry)
104
+ tslib_1.__decorate([
105
+ (0, inversify_1.inject)(remote_copy_contribution_1.RemoteCopyRegistryImpl),
106
+ tslib_1.__metadata("design:type", remote_copy_contribution_1.RemoteCopyRegistryImpl)
105
107
  ], RemoteCopyService.prototype, "copyRegistry", void 0);
106
- (0, tslib_1.__decorate)([
108
+ tslib_1.__decorate([
107
109
  (0, inversify_1.inject)(remote_native_dependency_service_1.RemoteNativeDependencyService),
108
- (0, tslib_1.__metadata)("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
110
+ tslib_1.__metadata("design:type", remote_native_dependency_service_1.RemoteNativeDependencyService)
109
111
  ], RemoteCopyService.prototype, "nativeDependencyService", void 0);
110
- (0, tslib_1.__decorate)([
112
+ tslib_1.__decorate([
111
113
  (0, inversify_1.inject)(core_1.ContributionProvider),
112
- (0, inversify_1.named)(remote_copy_contribution_1.RemoteCopyContribution),
113
- (0, tslib_1.__metadata)("design:type", Object)
114
+ (0, inversify_1.named)(remote_copy_contribution_2.RemoteCopyContribution),
115
+ tslib_1.__metadata("design:type", Object)
114
116
  ], RemoteCopyService.prototype, "copyContributions", void 0);
115
- RemoteCopyService = (0, tslib_1.__decorate)([
117
+ exports.RemoteCopyService = RemoteCopyService = tslib_1.__decorate([
116
118
  (0, inversify_1.injectable)()
117
119
  ], RemoteCopyService);
118
- exports.RemoteCopyService = RemoteCopyService;
119
120
  //# sourceMappingURL=remote-copy-service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-copy-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qCAAqC;AACrC,6BAA6B;AAC7B,yBAAyB;AACzB,yBAAyB;AACzB,uFAAmF;AACnF,4DAAyE;AAEzE,yFAAmF;AACnF,sCAAmD;AACnD,yEAAoG;AAGpG,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAA9B;QA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AES,KAAK,CAAC,UAAU;QACtB,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC,CAAC;QACpD,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC/C,OAAO,OAAO,CAAC;IACnB,CAAC;IAES,KAAK,CAAC,yBAAyB;QACrC,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ,CAAA;AAlFG;IADC,IAAA,kBAAM,EAAC,wCAAkB,CAAC;2CACY,wCAAkB;6DAAC;AAG1D;IADC,IAAA,kBAAM,EAAC,6CAAkB,CAAC;2CACM,6CAAkB;uDAAC;AAGpD;IADC,IAAA,kBAAM,EAAC,gEAA6B,CAAC;2CACM,gEAA6B;kEAAC;AAG1E;IADC,IAAA,kBAAM,EAAC,2BAAoB,CAAC;IAAE,IAAA,iBAAK,EAAC,iDAAsB,CAAC;;4DACuB;AAZ1E,iBAAiB;IAD7B,IAAA,sBAAU,GAAE;GACA,iBAAiB,CAqF7B;AArFY,8CAAiB"}
1
+ {"version":3,"file":"remote-copy-service.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qCAAqC;AACrC,6BAA6B;AAC7B,yBAAyB;AACzB,yBAAyB;AACzB,uFAAmF;AACnF,4DAAyE;AAGzE,yFAAmF;AACnF,sCAAmD;AACnD,yEAAoE;AACpE,mGAA0G;AAGnG,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QAcO,gBAAW,GAAG,KAAK,CAAC;IAuElC,C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C,UAAU;QACtB,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC,CAAC;QACpD,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC/C,OAAO,OAAO,CAAC;IACnB,CAAC;IAES,KAAK,CAAC,yBAAyB;QACrC,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ,CAAA;AArFY,8CAAiB;AAGP;IADlB,IAAA,kBAAM,EAAC,wCAAkB,CAAC;sCACY,wCAAkB;6DAAC;AAGvC;IADlB,IAAA,kBAAM,EAAC,iDAAsB,CAAC;sCACE,iDAAsB;uDAAC;AAGrC;IADlB,IAAA,kBAAM,EAAC,gEAA6B,CAAC;sCACM,gEAA6B;kEAAC;AAGvD;IADlB,IAAA,kBAAM,EAAC,2BAAoB,CAAC;IAAE,IAAA,iBAAK,EAAC,iDAAsB,CAAC;;4DACuB;4BAZ1E,iBAAiB;IAD7B,IAAA,sBAAU,GAAE;GACA,iBAAiB,CAqF7B"}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="node" />
2
2
  import { RequestOptions } from '@theia/core/shared/@theia/request';
3
- import { RemotePlatform } from '../remote-types';
3
+ import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
4
4
  export interface FileDependencyResult {
5
5
  path: string;
6
6
  mode?: number;
7
7
  }
8
- export declare type DependencyDownload = FileDependencyDownload | DirectoryDependencyDownload;
8
+ export type DependencyDownload = FileDependencyDownload | DirectoryDependencyDownload;
9
9
  export interface FileDependencyDownload {
10
10
  file: FileDependencyResult;
11
11
  buffer: Buffer;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,kBAAkB,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AAEtF,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,oBAAoB,CAAC;IAClC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,sBAAsB,CAEhE;CACJ;AAED,MAAM,WAAW,2BAA2B;IACxC,OAAO,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,2BAA2B,CAAC;IACzC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,2BAA2B,CAErE;CACJ;AAED,MAAM,WAAW,eAAe;IAC5B,cAAc,EAAE,cAAc,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtE;AAED,eAAO,MAAM,kCAAkC,eAA+C,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACnE"}
1
+ {"version":3,"file":"remote-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAiBA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AAEtF,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,oBAAoB,CAAC;IAClC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,sBAAsB,CAEhE;CACJ;AAED,MAAM,WAAW,2BAA2B;IACxC,OAAO,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,yBAAiB,2BAA2B,CAAC;IACzC,SAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,2BAA2B,CAErE;CACJ;AAED,MAAM,WAAW,eAAe;IAC5B,cAAc,EAAE,cAAc,CAAA;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtE;AAED,eAAO,MAAM,kCAAkC,eAA+C,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACnE"}
@@ -23,13 +23,13 @@ var FileDependencyResult;
23
23
  return (0, core_1.isObject)(item) && 'buffer' in item && 'file' in item;
24
24
  }
25
25
  FileDependencyResult.is = is;
26
- })(FileDependencyResult = exports.FileDependencyResult || (exports.FileDependencyResult = {}));
26
+ })(FileDependencyResult || (exports.FileDependencyResult = FileDependencyResult = {}));
27
27
  var DirectoryDependencyDownload;
28
28
  (function (DirectoryDependencyDownload) {
29
29
  function is(item) {
30
30
  return (0, core_1.isObject)(item) && 'buffer' in item && 'archive' in item;
31
31
  }
32
32
  DirectoryDependencyDownload.is = is;
33
- })(DirectoryDependencyDownload = exports.DirectoryDependencyDownload || (exports.DirectoryDependencyDownload = {}));
33
+ })(DirectoryDependencyDownload || (exports.DirectoryDependencyDownload = DirectoryDependencyDownload = {}));
34
34
  exports.RemoteNativeDependencyContribution = Symbol('RemoteNativeDependencyContribution');
35
35
  //# sourceMappingURL=remote-native-dependency-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,sCAAuC;AAgBvC,IAAiB,oBAAoB,CAIpC;AAJD,WAAiB,oBAAoB;IACjC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC;IAChE,CAAC;IAFe,uBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAIpC;AAOD,IAAiB,2BAA2B,CAI3C;AAJD,WAAiB,2BAA2B;IACxC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,CAAC;IACnE,CAAC;IAFe,8BAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAI3C;AAQY,QAAA,kCAAkC,GAAG,MAAM,CAAC,oCAAoC,CAAC,CAAC"}
1
+ {"version":3,"file":"remote-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,sCAAuC;AAgBvC,IAAiB,oBAAoB,CAIpC;AAJD,WAAiB,oBAAoB;IACjC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC;IAChE,CAAC;IAFe,uBAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,oBAAoB,oCAApB,oBAAoB,QAIpC;AAOD,IAAiB,2BAA2B,CAI3C;AAJD,WAAiB,2BAA2B;IACxC,SAAgB,EAAE,CAAC,IAAa;QAC5B,OAAO,IAAA,eAAQ,EAAC,IAAI,CAAC,IAAI,QAAQ,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,CAAC;IACnE,CAAC;IAFe,8BAAE,KAEjB,CAAA;AACL,CAAC,EAJgB,2BAA2B,2CAA3B,2BAA2B,QAI3C;AAQY,QAAA,kCAAkC,GAAG,MAAM,CAAC,oCAAoC,CAAC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  import { ContributionProvider } from '@theia/core';
3
3
  import { RequestService, RequestOptions } from '@theia/core/shared/@theia/request';
4
4
  import { DependencyDownload, RemoteNativeDependencyContribution } from './remote-native-dependency-contribution';
5
- import { RemotePlatform } from '../remote-types';
5
+ import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
6
6
  export declare const DEFAULT_HTTP_OPTIONS: {
7
7
  method: string;
8
8
  headers: {
@@ -1 +1 @@
1
- {"version":3,"file":"remote-native-dependency-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,oBAAoB,EAAiB,MAAM,aAAa,CAAC;AAElE,OAAO,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInG,OAAO,EAAE,kBAAkB,EAA+B,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC9I,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAMjD,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBACa,6BAA6B;IAGtC,SAAS,CAAC,6BAA6B,EAAE,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;IAGlG,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAEnC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;cAc9F,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;cAYzE,eAAe,CAAC,UAAU,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;CAiCtH"}
1
+ {"version":3,"file":"remote-native-dependency-service.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-native-dependency-service.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,oBAAoB,EAAiB,MAAM,aAAa,CAAC;AAElE,OAAO,EAAkB,cAAc,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInG,OAAO,EAAE,kBAAkB,EAA+B,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC9I,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAMrF,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBACa,6BAA6B;IAGtC,SAAS,CAAC,6BAA6B,EAAE,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;IAGlG,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAEnC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;cAc9F,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;cAYzE,eAAe,CAAC,UAAU,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;CAiCtH"}
@@ -95,17 +95,17 @@ let RemoteNativeDependencyService = class RemoteNativeDependencyService {
95
95
  }
96
96
  }
97
97
  };
98
- (0, tslib_1.__decorate)([
98
+ exports.RemoteNativeDependencyService = RemoteNativeDependencyService;
99
+ tslib_1.__decorate([
99
100
  (0, inversify_1.inject)(core_1.ContributionProvider),
100
101
  (0, inversify_1.named)(remote_native_dependency_contribution_1.RemoteNativeDependencyContribution),
101
- (0, tslib_1.__metadata)("design:type", Object)
102
+ tslib_1.__metadata("design:type", Object)
102
103
  ], RemoteNativeDependencyService.prototype, "nativeDependencyContributions", void 0);
103
- (0, tslib_1.__decorate)([
104
+ tslib_1.__decorate([
104
105
  (0, inversify_1.inject)(request_1.RequestService),
105
- (0, tslib_1.__metadata)("design:type", Object)
106
+ tslib_1.__metadata("design:type", Object)
106
107
  ], RemoteNativeDependencyService.prototype, "requestService", void 0);
107
- RemoteNativeDependencyService = (0, tslib_1.__decorate)([
108
+ exports.RemoteNativeDependencyService = RemoteNativeDependencyService = tslib_1.__decorate([
108
109
  (0, inversify_1.injectable)()
109
110
  ], RemoteNativeDependencyService);
110
- exports.RemoteNativeDependencyService = RemoteNativeDependencyService;
111
111
  //# sourceMappingURL=remote-native-dependency-service.js.map