This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Intro to XState</title> | |
<link rel="stylesheet" href="styles.css" /> | |
</head> | |
<body> | |
<div id="box"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Some\Package\Http; | |
use Neos\Flow\Http\Component\ComponentContext; | |
use Neos\Flow\Http\Component\ComponentInterface; | |
use Neos\Flow\Http\Helper\MediaTypeHelper; | |
final class ServerSentComponent implements ComponentInterface | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Some\Package; | |
use Neos\ContentRepository\Domain\Model\NodeInterface; | |
use Neos\ContentRepository\Domain\Model\Workspace; | |
use Neos\Eel\FlowQuery\FlowQuery; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Http\HttpRequestHandlerInterface; | |
use Neos\Flow\Mvc\ActionRequest; | |
use Neos\Flow\Mvc\Routing\UriBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Some\Package\Error; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Http\Helper\ResponseInformationHelper; | |
use Neos\Flow\Http\Request; | |
use Neos\Flow\Mvc\Controller\ControllerContext; | |
use Neos\Flow\Mvc\View\ViewInterface; | |
use Neos\Utility\MediaTypes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Some\Package; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Mvc\ActionRequest; | |
use Neos\Flow\Mvc\RequestInterface; | |
use Neos\Flow\Security\Context; | |
use Neos\Flow\Security\Exception as SecurityException; | |
use Neos\Flow\Security\Exception\InvalidRequestPatternException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Some\Package\Security; | |
use Neos\Cache\CacheAwareInterface; | |
use Neos\Flow\Annotations as Flow; | |
/** | |
* @Flow\Scope("singleton") | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"regexp" | |
) | |
// EmailAddress Value Object | |
type EmailAddress string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(Some.Package:Component.ContentWithToc) < prototype(Neos.Fusion:Component) { | |
blocks = Neos.Fusion:RawArray | |
renderer = afx` | |
<nav> | |
<ul> | |
<Neos.Fusion:Collection collection={props.blocks} itemName="block" @children="itemRenderer"> | |
<li> | |
<a href={'#c-' + iterator.cycle}>{block.label}</a> | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(My.Package:Form.DefaultElement) < prototype(Neos.Fusion:Component) { | |
# API | |
id = '' | |
name = '' | |
label = '' | |
value = null | |
isRequired = false | |
properties = Neos.Fusion:RawArray | |
validationErrors = Neos.Fusion:RawArray |