Skip to content

Commit

Permalink
feat: MetaStorm column/with
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Feb 9, 2025
1 parent 22cd39c commit 96e649e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .meta-storm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
<?xml version="1.0" encoding="UTF-8" ?>
<meta-storm xmlns="meta-storm">
<definitions>
<classProperty
class="\MoonShine\Laravel\Resources\CrudResource"
property="column"
>
<arrayValues xpath="$containingClass.$model.$fillable"/>
<stopCompletion />
</classProperty>

<classProperty
class="\MoonShine\Laravel\Resources\ModelResource"
property="with"
targetInArray="value"
>
<methods xpath="$containingClass.$model"/>
<stopCompletion />
</classProperty>

<classMethod
class="\MoonShine\Contracts\UI\HasIconContract"
method="icon"
Expand Down

0 comments on commit 96e649e

Please sign in to comment.