schema([ Forms\Components\TextInput::make('endpoint')->activeUrl()->required(), Forms\Components\TextInput::make('description')->nullable(), Forms\Components\CheckboxList::make('events')->lazy()->options( fn () => WebhookConfiguration::filamentCheckboxList() ) ->columns(3) ->columnSpanFull() ->gridDirection('row') ->required(), ]); } public static function table(Table $table): Table { return $table ->columns([ // ]) ->filters([ // ]) ->actions([ Tables\Actions\EditAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListWebhookConfigurations::route('/'), 'create' => Pages\CreateWebhookConfiguration::route('/create'), 'edit' => Pages\EditWebhookConfiguration::route('/{record}/edit'), ]; } }