move bundle to root dir for inclusion in packagist refs #259

This commit is contained in:
2014-11-04 17:10:59 +01:00
parent b826d8e132
commit 8011746b26
100 changed files with 5243 additions and 823 deletions

View File

@@ -0,0 +1,14 @@
Chill\CustomFieldsBundle\Entity\Adress:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
data:
type: string
length: 255
lifecycleCallbacks: { }

View File

@@ -0,0 +1,23 @@
Chill\CustomFieldsBundle\Entity\BlopEntity:
type: entity
table: blop_entity
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
field1:
type: string
length: 255
field2:
type: string
length: 255
customField:
type: json_array
manyToOne:
adress:
targetEntity: Chill\CustomFieldsBundle\Entity\Adress
cascade: [persist]
lifecycleCallbacks: { }

View File

@@ -0,0 +1,16 @@
Chill\CustomFieldsBundle\Entity\BlopEntity2:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
customFieldData:
type: json_array
lifecycleCallbacks:
postLoad: [ loadCustomFieldConfig, unfoldCustomFieldData ]
preFlush: [ preFlush ]
prePersist: [ prePersist ]

View File

@@ -0,0 +1,30 @@
Chill\CustomFieldsBundle\Entity\CustomField:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: json_array
slug:
type: string
length: 255
type:
type: string
length: 255
active:
type: boolean
ordering:
type: float
options:
type: json_array
lifecycleCallbacks: { }
manyToOne:
customFieldGroup:
targetEntity: Chill\CustomFieldsBundle\Entity\CustomFieldsGroup
inversedBy: customFields
#TODO: add an unique constraint slug+customFieldsGroup

View File

@@ -0,0 +1,19 @@
Chill\CustomFieldsBundle\Entity\CustomFieldsGroup:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: json_array
entity:
type: string
length: 255
oneToMany:
customFields:
targetEntity: Chill\CustomFieldsBundle\Entity\CustomField
mappedBy: customFieldGroup