| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | import type {ServerPlatform} from '../src/serverPlatform'; |
| b69ab31 | | | 9 | |
| b69ab31 | | | 10 | export const platform: ServerPlatform = { |
| b69ab31 | | | 11 | platformName: 'androidStudio', |
| b69ab31 | | | 12 | async handleMessageFromClient(this: ServerPlatform, _repo, _ctx, message, _postMessage) { |
| b69ab31 | | | 13 | switch (message.type) { |
| b69ab31 | | | 14 | // TODO: handle any android-studio platform file events |
| b69ab31 | | | 15 | case 'platform/openFile': { |
| b69ab31 | | | 16 | break; |
| b69ab31 | | | 17 | } |
| b69ab31 | | | 18 | case 'platform/openFiles': { |
| b69ab31 | | | 19 | break; |
| b69ab31 | | | 20 | } |
| b69ab31 | | | 21 | } |
| b69ab31 | | | 22 | }, |
| b69ab31 | | | 23 | }; |