*/ public function arguments(): array { return [ 'search: String @search', ...parent::arguments(), 'orderBy: _ @orderBy(columnsEnum: "VideoColumnsOrderable", relations: [ {relation: "likeAggregate", columns: ["value"]}, {relation: "viewAggregate", columns: ["value"]} ] )', ]; } /** * The base return type of the query. * * @return VideoType */ public function baseType(): VideoType { return new VideoType(); } }