The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
import type { Comment, CommentId } from "metabase-types/api";
export const createReaction = ({
comment_id,
emoji,
}: {
comment_id: CommentId;
emoji: string;
}): Cypress.Chainable<Cypress.Response<Comment>> => {
return cy.request<Comment>("POST", `/api/comment/${comment_id}/reaction`, {
emoji,
});
};