feat: add MCP server for the website chatbot over a mirrored TYPO3 content feed
This commit is contained in:
1 parent
ff7ddf7a9e
commit
1b4384e3f3
52 files changed
+5117
-4
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Enum;
|
||||
|
||||
/**
|
||||
* Outcome of the last fetch of one content feed item.
|
||||
*
|
||||
* `Empty` and `Failed` are remembered together with the manifest `modified` they were
|
||||
* reached at, so a page that renders without text or keeps answering 404 is not refetched
|
||||
* every run, only once TYPO3 reports a change or the weekly refresh comes round.
|
||||
*/
|
||||
enum ContentFetchState: string
|
||||
{
|
||||
/** Listed in the manifest, not fetched yet. */
|
||||
case Pending = 'pending';
|
||||
case Ok = 'ok';
|
||||
/** Fetched, but converted to no text. Kept out of the index. */
|
||||
case Empty = 'empty';
|
||||
/** The page answered 404 or 5xx. Kept out of the index. */
|
||||
case Failed = 'failed';
|
||||
}
|
||||
Reference in new issue
Block a user