Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / docs-proto / lib / Factory / CreateSquashCommit.ts
blob8e7dfedbfb8bea0e54ed93f46671dbe4d8c2bcea
1 import { SquashCommit, type Commit } from '../Generated'
3 export function CreateSquashCommit(dto: { lockId: string; commitId: string; commit: Commit }): SquashCommit {
4   const commit = new SquashCommit(dto)
6   return commit