Skip to content

Commit

Permalink
TASK: Declare lower level content stream commands as internal
Browse files Browse the repository at this point in the history
With the content graph / subgraph operating on workspaces, there is no API way of fetching from an arbitrary content stream by id.
And by not being able to access it we declare creating content streams or doing any low level work with it as internal.
  • Loading branch information
mhsdesign committed Jul 7, 2024
1 parent 4b674d6 commit 92ab0d3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId;

/**
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, please use the higher level workspace commands instead.
*/
final readonly class CloseContentStream implements CommandInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamState;

/**
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, please use the higher level workspace commands instead.
*/
final readonly class ReopenContentStream implements CommandInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* CreateContentStream for creating the FIRST content stream.
* All other content streams will be FORKED from this FIRST content stream.
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, please use the higher level workspace commands instead.
*/
final readonly class CreateContentStream implements CommandInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* ForkContentStream for creating a new fork of a content stream.
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, please use the higher level workspace commands instead.
*/
final readonly class ForkContentStream implements CommandInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Command to remove an existing content stream
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, please use the higher level workspace commands instead.
*/
final readonly class RemoveContentStream implements CommandInterface
{
Expand Down

0 comments on commit 92ab0d3

Please sign in to comment.