decord/beta/source/actions/NoteActionCreators.tsx

21 lines
613 B
TypeScript
Raw Normal View History

// Module ID: 13353
// Function ID: 13354
// Name: NoteActionCreators
// Dependencies: [1078, 1275, 2]
// Module 13353 (NoteActionCreators)
import Constants from "Constants" /* 1078 */;
import HTTPUtils from "HTTPUtils" /* 1275 */;
import size from "module_2" /* 2 */;
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("actions/NoteActionCreators.tsx");
export default {
updateNote(arg0, note) {
const HTTP = HTTPUtils.HTTP;
const request = { url: Endpoints.NOTE(arg0), body: { note }, oldFormErrors: true, rejectWithError: true };
return HTTP.put(request);
}
};