0c9668f779
Move ffmpeg functions to @shared
19 lines
364 B
TypeScript
19 lines
364 B
TypeScript
import { buildUUID } from '@shared/extra-utils'
|
|
|
|
function generateRunnerRegistrationToken () {
|
|
return 'ptrrt-' + buildUUID()
|
|
}
|
|
|
|
function generateRunnerToken () {
|
|
return 'ptrt-' + buildUUID()
|
|
}
|
|
|
|
function generateRunnerJobToken () {
|
|
return 'ptrjt-' + buildUUID()
|
|
}
|
|
|
|
export {
|
|
generateRunnerRegistrationToken,
|
|
generateRunnerToken,
|
|
generateRunnerJobToken
|
|
}
|