From 10f967fe60699bdd30510b273abb1d1f8566b115 Mon Sep 17 00:00:00 2001 From: Szu-Kai Hsu Date: Wed, 10 May 2023 07:36:49 -0700 Subject: [PATCH] feat: Update paste argument schema to support specified programming language (#4732) Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/4732 This diff adds a `language` field into `CreatePasteArgs` type to potentially specify programming language in the paste service Reviewed By: mweststrate Differential Revision: D45701098 fbshipit-source-id: 080d76e5ff332518881e9c6b84aa47aaea680309 --- desktop/flipper-plugin-core/src/plugin/Paste.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/flipper-plugin-core/src/plugin/Paste.tsx b/desktop/flipper-plugin-core/src/plugin/Paste.tsx index d9ae86a40..3d090481e 100644 --- a/desktop/flipper-plugin-core/src/plugin/Paste.tsx +++ b/desktop/flipper-plugin-core/src/plugin/Paste.tsx @@ -13,6 +13,7 @@ export type CreatePasteArgs = { showSuccessNotification?: boolean; showErrorNotification?: boolean; writeToClipboard?: boolean; + language?: string; }; export type CreatePasteResult = {