@overture-stack/lyric
Version:
Data Submission system
10 lines (9 loc) • 570 B
TypeScript
import type { ResultOnCommit } from '../utils/types.js';
import type { CommitWorkerInput } from './types.js';
/**
* This function is executed in a worker thread to start processing the commit submission logic.
* It fetches the data by the submissionId, prepares the data to be validated and passes it to the submission processor.
* @param message - The input message containing submissionId and username
* @returns The result of the commit submission process
*/
export declare const processCommitSubmission: (message: CommitWorkerInput) => Promise<ResultOnCommit>;