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
This commit is contained in:
Szu-Kai Hsu
2023-05-10 07:36:49 -07:00
committed by Facebook GitHub Bot
parent 23ebd8b865
commit 10f967fe60

View File

@@ -13,6 +13,7 @@ export type CreatePasteArgs = {
showSuccessNotification?: boolean; showSuccessNotification?: boolean;
showErrorNotification?: boolean; showErrorNotification?: boolean;
writeToClipboard?: boolean; writeToClipboard?: boolean;
language?: string;
}; };
export type CreatePasteResult = { export type CreatePasteResult = {