84 lines
2.1 KiB
PHP
84 lines
2.1 KiB
PHP
<?php
|
|
|
|
// "entity_field" => "index_field",
|
|
|
|
return [
|
|
"trait" => [
|
|
"class" => \App\Entity\Pf2e\Tpait::class,
|
|
"schema" => [
|
|
"rarity" => [
|
|
"method" => "enum",
|
|
"field" => "rarity_id",
|
|
"enum" => \App\Entity\Rarity::class,
|
|
],
|
|
],
|
|
"localization" => [
|
|
"title" => "name",
|
|
"markdown" => "markdown",
|
|
"url" => "url"
|
|
]
|
|
],
|
|
"source" => [
|
|
"class" => \App\Entity\Pf2e\Source::class,
|
|
"schema" => [
|
|
"rarity" => [
|
|
"method" => "enum",
|
|
"field" => "rarity_id",
|
|
"enum" => \App\Entity\Rarity::class,
|
|
],
|
|
"source_category" => "primary_source_category",
|
|
"source_group" => "primary_source_group",
|
|
|
|
],
|
|
"localization" => [
|
|
"title" => "name",
|
|
"markdown" => "markdown",
|
|
"url" => "url"
|
|
]
|
|
],
|
|
"ancestry" => [
|
|
"class" => \App\Entity\Pf2e\Ancestry::class,
|
|
"schema" => [
|
|
"name" => true,
|
|
"rarity" => [
|
|
"method" => "enum",
|
|
"field" => "rarity_id",
|
|
"enum" => \App\Entity\Rarity::class,
|
|
],
|
|
"type" => true,
|
|
"attribute" => true,
|
|
"attribute_flaw" => true,
|
|
"hp_raw" => true,
|
|
"image" => true,
|
|
"size" => true,
|
|
"speed" => "speed_markdown",
|
|
|
|
// "trait" => [],
|
|
// "source" => [],
|
|
],
|
|
"localization" => [
|
|
"title" => "name",
|
|
"markdown" => "markdown",
|
|
"url" => "url"
|
|
]
|
|
],
|
|
];
|
|
|
|
/*
|
|
"" => [
|
|
"class" => ,
|
|
"schema" => [
|
|
"rarity" => [
|
|
"method" => "enum",
|
|
"field" => "rarity_id",
|
|
"enum" => \App\Entity\Rarity::class,
|
|
],
|
|
|
|
],
|
|
"localization" => [
|
|
"title" => "name",
|
|
"markdown" => "markdown",
|
|
"url" => "url"
|
|
]
|
|
],
|
|
*/ |