* Page builder foundation * Form builder document type * Dashboard builder document type * Report builder document type * Menu builder document type * Email builder document type * Query builder document type * Workflow builder document type * Reusable component registry * Form-field registry * Dashboard-widget registry * Hero, heading, and rich-content components * JSON document schema * Saved builder documents * Draft, published, and archived states * Document version history * Reusable builder templates * Component rendering service * Extensible BuilderComponent contract * Authenticated Builder REST endpoints * Administration navigation * Builder permissions * Module registration and test
12 lines
339 B
PHP
12 lines
339 B
PHP
<?php
|
|
namespace Modules\Builder\Contracts;
|
|
interface BuilderComponent
|
|
{
|
|
public function type(): string;
|
|
public function label(): string;
|
|
public function category(): string;
|
|
public function schema(): array;
|
|
public function defaults(): array;
|
|
public function render(array $properties, array $context = []): string;
|
|
}
|