28 lines
906 B
PHP
28 lines
906 B
PHP
<?php
|
|
|
|
namespace App\Helpers\FirstParty\Render;
|
|
|
|
class RenderConstants
|
|
{
|
|
const STATUS_PLANNED = 'STATUS_PLANNED'; // the render is queued for rendering
|
|
|
|
const STATUS_WAITING = 'STATUS_WAITING'; // the render is waiting for a third-party service (e.g., OpenAI or ElevenLabs) to finish
|
|
|
|
const STATUS_TRANSCRIBING = 'STATUS_TRANSCRIBING'; // an input file is being transcribed
|
|
|
|
const STATUS_RENDERING = 'STATUS_RENDERING'; // the render is being processed
|
|
|
|
const STATUS_SUCCEEDED = 'STATUS_SUCCEEDED'; // the render has been completed successfully
|
|
|
|
const STATUS_FAILED = 'STATUS_FAILED'; // the render failed due to the reason specified in the error_message field
|
|
|
|
const STATUSES = [
|
|
self::STATUS_PLANNED,
|
|
self::STATUS_WAITING,
|
|
self::STATUS_TRANSCRIBING,
|
|
self::STATUS_RENDERING,
|
|
self::STATUS_SUCCEEDED,
|
|
self::STATUS_FAILED,
|
|
];
|
|
}
|