@wep2/editor
Version:
The Wepublish Editor
1,429 lines (1,428 loc) • 34.1 kB
YAML
version: 1
directus: 9.0.0-rc.100
collections:
- collection: Memberplans
meta:
collection: Memberplans
icon: null
note: null
display_template: null
hidden: false
singleton: false
translations: null
archive_field: status
archive_app_filter: true
archive_value: archived
unarchive_value: draft
sort_field: sort
accountability: all
color: null
item_duplication_fields: null
sort: null
group: null
collapse: open
schema:
name: Memberplans
schema: public
comment: null
- collection: Pages
meta:
collection: Pages
icon: null
note: null
display_template: null
hidden: false
singleton: false
translations: null
archive_field: status
archive_app_filter: true
archive_value: archived
unarchive_value: draft
sort_field: sort
accountability: all
color: null
item_duplication_fields: null
sort: null
group: null
collapse: open
schema:
name: Pages
schema: public
comment: null
- collection: Posts
meta:
collection: Posts
icon: null
note: null
display_template: null
hidden: false
singleton: false
translations: null
archive_field: status
archive_app_filter: true
archive_value: archived
unarchive_value: draft
sort_field: sort
accountability: all
color: null
item_duplication_fields: null
sort: null
group: null
collapse: open
schema:
name: Posts
schema: public
comment: null
fields:
- collection: Memberplans
field: id
type: integer
schema:
name: id
table: Memberplans
data_type: integer
default_value: nextval('"Memberplans_id_seq"'::regclass)
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: false
is_unique: true
is_primary_key: true
has_auto_increment: true
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: id
special: null
interface: input
options: null
display: null
display_options: null
readonly: true
hidden: true
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: status
type: string
schema:
name: status
table: Memberplans
data_type: character varying
default_value: draft
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: false
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: status
special: null
interface: select-dropdown
options:
choices:
- text: $t:published
value: published
- text: $t:draft
value: draft
- text: $t:archived
value: archived
display: labels
display_options:
showAsDot: true
choices:
- background: '#00C897'
value: published
- background: '#D3DAE4'
value: draft
- background: '#F7971C'
value: archived
readonly: false
hidden: false
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: sort
type: integer
schema:
name: sort
table: Memberplans
data_type: integer
default_value: null
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: sort
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: true
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: date_created
type: timestamp
schema:
name: date_created
table: Memberplans
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: date_created
special:
- date-created
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: null
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: date_updated
type: timestamp
schema:
name: date_updated
table: Memberplans
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: date_updated
special:
- date-updated
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: null
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: Name
type: string
schema:
name: Name
table: Memberplans
data_type: character varying
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: Name
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: Price
type: bigInteger
schema:
name: Price
table: Memberplans
data_type: bigint
default_value: null
generation_expression: null
max_length: null
numeric_precision: 64
numeric_scale: 0
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: Price
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Memberplans
field: Period
type: string
schema:
name: Period
table: Memberplans
data_type: character varying
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Memberplans
field: Period
special: null
interface: select-dropdown
options:
choices:
- text: Annual
value: annual
- text: Quarterly
value: quarterly
- text: Monthly
value: monthly
display: null
display_options: null
readonly: false
hidden: false
sort: null
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: id
type: integer
schema:
name: id
table: Pages
data_type: integer
default_value: nextval('"Pages_id_seq"'::regclass)
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: false
is_unique: true
is_primary_key: true
has_auto_increment: true
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: id
special: null
interface: input
options: null
display: null
display_options: null
readonly: true
hidden: true
sort: 5
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: status
type: string
schema:
name: status
table: Pages
data_type: character varying
default_value: draft
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: false
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: status
special: null
interface: select-dropdown
options:
choices:
- text: $t:published
value: published
- text: $t:draft
value: draft
- text: $t:archived
value: archived
display: labels
display_options:
showAsDot: true
choices:
- background: '#00C897'
value: published
- background: '#D3DAE4'
value: draft
- background: '#F7971C'
value: archived
readonly: false
hidden: false
sort: 4
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: sort
type: integer
schema:
name: sort
table: Pages
data_type: integer
default_value: null
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: sort
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: true
sort: 6
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: user_created
type: uuid
schema:
name: user_created
table: Pages
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_users
foreign_key_column: id
meta:
collection: Pages
field: user_created
special:
- user-created
interface: select-dropdown-m2o
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
display: user
display_options: null
readonly: true
hidden: true
sort: 7
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: date_created
type: timestamp
schema:
name: date_created
table: Pages
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: date_created
special:
- date-created
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: 8
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: user_updated
type: uuid
schema:
name: user_updated
table: Pages
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_users
foreign_key_column: id
meta:
collection: Pages
field: user_updated
special:
- user-updated
interface: select-dropdown-m2o
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
display: user
display_options: null
readonly: true
hidden: true
sort: 9
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: date_updated
type: timestamp
schema:
name: date_updated
table: Pages
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: date_updated
special:
- date-updated
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: 10
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: Title
type: string
schema:
name: Title
table: Pages
data_type: character varying
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: Title
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 1
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: Image
type: uuid
schema:
name: Image
table: Pages
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_files
foreign_key_column: id
meta:
collection: Pages
field: Image
special:
- file
interface: file-image
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 2
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Pages
field: Content
type: text
schema:
name: Content
table: Pages
data_type: text
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Pages
field: Content
special: null
interface: input-rich-text-html
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 3
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: id
type: integer
schema:
name: id
table: Posts
data_type: integer
default_value: nextval('"Posts_id_seq"'::regclass)
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: false
is_unique: true
is_primary_key: true
has_auto_increment: true
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: id
special: null
interface: input
options: null
display: null
display_options: null
readonly: true
hidden: true
sort: 6
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: status
type: string
schema:
name: status
table: Posts
data_type: character varying
default_value: draft
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: false
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: status
special: null
interface: select-dropdown
options:
choices:
- text: $t:published
value: published
- text: $t:draft
value: draft
- text: $t:archived
value: archived
display: labels
display_options:
showAsDot: true
choices:
- background: '#00C897'
value: published
- background: '#D3DAE4'
value: draft
- background: '#F7971C'
value: archived
readonly: false
hidden: false
sort: 5
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: sort
type: integer
schema:
name: sort
table: Posts
data_type: integer
default_value: null
generation_expression: null
max_length: null
numeric_precision: 32
numeric_scale: 0
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: sort
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: true
sort: 7
width: full
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: user_created
type: uuid
schema:
name: user_created
table: Posts
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_users
foreign_key_column: id
meta:
collection: Posts
field: user_created
special:
- user-created
interface: select-dropdown-m2o
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
display: user
display_options: null
readonly: true
hidden: true
sort: 8
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: date_created
type: timestamp
schema:
name: date_created
table: Posts
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: date_created
special:
- date-created
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: 9
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: user_updated
type: uuid
schema:
name: user_updated
table: Posts
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_users
foreign_key_column: id
meta:
collection: Posts
field: user_updated
special:
- user-updated
interface: select-dropdown-m2o
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
display: user
display_options: null
readonly: true
hidden: true
sort: 10
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: date_updated
type: timestamp
schema:
name: date_updated
table: Posts
data_type: timestamp with time zone
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: date_updated
special:
- date-updated
interface: datetime
options: null
display: datetime
display_options:
relative: true
readonly: true
hidden: true
sort: 11
width: half
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: Title
type: string
schema:
name: Title
table: Posts
data_type: character varying
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: Title
special: null
interface: input
options:
placeholder: Enter a title
display: null
display_options: null
readonly: false
hidden: false
sort: 1
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: Content
type: text
schema:
name: Content
table: Posts
data_type: text
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: Content
special: null
interface: input-rich-text-html
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 4
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: Image
type: uuid
schema:
name: Image
table: Posts
data_type: uuid
default_value: null
generation_expression: null
max_length: null
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: public
foreign_key_table: directus_files
foreign_key_column: id
meta:
collection: Posts
field: Image
special:
- file
interface: file-image
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 2
width: fill
translations: null
note: null
conditions: null
required: false
group: null
- collection: Posts
field: ImageCaption
type: string
schema:
name: ImageCaption
table: Posts
data_type: character varying
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
comment: null
schema: public
foreign_key_schema: null
foreign_key_table: null
foreign_key_column: null
meta:
collection: Posts
field: ImageCaption
special: null
interface: input
options: null
display: null
display_options: null
readonly: false
hidden: false
sort: 3
width: fill
translations: null
note: null
conditions: null
required: false
group: null
relations:
- collection: directus_collections
field: group
related_collection: directus_collections
schema:
table: directus_collections
column: group
foreign_key_table: directus_collections
foreign_key_column: collection
foreign_key_schema: public
constraint_name: directus_collections_group_foreign
on_update: NO ACTION
on_delete: NO ACTION
meta: null
- collection: Posts
field: Image
related_collection: directus_files
schema:
table: Posts
column: Image
foreign_key_table: directus_files
foreign_key_column: id
foreign_key_schema: public
constraint_name: posts_image_foreign
on_update: NO ACTION
on_delete: SET NULL
meta:
many_collection: Posts
many_field: Image
one_collection: directus_files
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: Posts
field: user_updated
related_collection: directus_users
schema:
table: Posts
column: user_updated
foreign_key_table: directus_users
foreign_key_column: id
foreign_key_schema: public
constraint_name: posts_user_updated_foreign
on_update: NO ACTION
on_delete: NO ACTION
meta:
many_collection: Posts
many_field: user_updated
one_collection: directus_users
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: Posts
field: user_created
related_collection: directus_users
schema:
table: Posts
column: user_created
foreign_key_table: directus_users
foreign_key_column: id
foreign_key_schema: public
constraint_name: posts_user_created_foreign
on_update: NO ACTION
on_delete: NO ACTION
meta:
many_collection: Posts
many_field: user_created
one_collection: directus_users
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: Pages
field: Image
related_collection: directus_files
schema:
table: Pages
column: Image
foreign_key_table: directus_files
foreign_key_column: id
foreign_key_schema: public
constraint_name: pages_image_foreign
on_update: NO ACTION
on_delete: SET NULL
meta:
many_collection: Pages
many_field: Image
one_collection: directus_files
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: Pages
field: user_updated
related_collection: directus_users
schema:
table: Pages
column: user_updated
foreign_key_table: directus_users
foreign_key_column: id
foreign_key_schema: public
constraint_name: pages_user_updated_foreign
on_update: NO ACTION
on_delete: NO ACTION
meta:
many_collection: Pages
many_field: user_updated
one_collection: directus_users
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: Pages
field: user_created
related_collection: directus_users
schema:
table: Pages
column: user_created
foreign_key_table: directus_users
foreign_key_column: id
foreign_key_schema: public
constraint_name: pages_user_created_foreign
on_update: NO ACTION
on_delete: NO ACTION
meta:
many_collection: Pages
many_field: user_created
one_collection: directus_users
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify