From 4d65742d263b1905114ef100ded38a675f0e89be Mon Sep 17 00:00:00 2001 From: krisbitney Date: Mon, 28 Aug 2023 16:33:01 +0300 Subject: [PATCH] added kotlin app bindings to schema/bind --- packages/schema/bind/src/bindings/index.ts | 4 ++++ packages/schema/bind/src/types.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/schema/bind/src/bindings/index.ts b/packages/schema/bind/src/bindings/index.ts index 4bf8889c88..0566593b5d 100644 --- a/packages/schema/bind/src/bindings/index.ts +++ b/packages/schema/bind/src/bindings/index.ts @@ -45,6 +45,10 @@ export function getGenerateBindingFn( return WrapBindgen.getGenerateBindingFn( "https://github.com/polywrap/wrap-abi-bindgen/tree/nk/ts-app-codegen/implementations/app-typescript" ); + case "app-kt": + return WrapBindgen.getGenerateBindingFn( + "https://github.com/polywrap/wrap-abi-bindgen/tree/nk/ts-app-codegen/implementations/app-kotlin" + ); default: throw Error(`Error: Language binding unsupported - ${bindLanguage}`); } diff --git a/packages/schema/bind/src/types.ts b/packages/schema/bind/src/types.ts index c7d043e9f6..0d34d61ba3 100644 --- a/packages/schema/bind/src/types.ts +++ b/packages/schema/bind/src/types.ts @@ -11,6 +11,7 @@ export const bindLanguage = { "plugin-kt": "plugin-kt", "plugin-swift": "plugin-swift", "app-ts": "app-ts", + "app-kt": "app-kt", }; export type BindLanguages = typeof bindLanguage;