mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
12 lines
411 B
TypeScript
12 lines
411 B
TypeScript
//
|
|
// Copyright @ 2024 Hardcore Engineering Inc.
|
|
//
|
|
|
|
import { copyQuestions } from '@hcengineering/questions-resources'
|
|
import type { Training } from '@hcengineering/training'
|
|
import { type Ref, type TxOperations } from '@hcengineering/core'
|
|
|
|
export async function copyTrainingQuestions (ops: TxOperations, from: Training, to: Ref<Training>): Promise<void> {
|
|
await copyQuestions(ops, from, 'questions', to)
|
|
}
|