5925 lines
201 KiB
JSON
5925 lines
201 KiB
JSON
{
|
|
"collections": [
|
|
{
|
|
"collection": "corporate_customer",
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"icon": "accessibility",
|
|
"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": null,
|
|
"accountability": "all",
|
|
"color": "#2ECDA7",
|
|
"item_duplication_fields": null,
|
|
"sort": 1,
|
|
"group": "Corporate",
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "game",
|
|
"meta": {
|
|
"collection": "game",
|
|
"icon": "folder",
|
|
"note": null,
|
|
"display_template": null,
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": null,
|
|
"unarchive_value": null,
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": null,
|
|
"item_duplication_fields": null,
|
|
"sort": 1,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": null
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"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": null,
|
|
"accountability": "all",
|
|
"color": null,
|
|
"item_duplication_fields": null,
|
|
"sort": 1,
|
|
"group": "game",
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"icon": null,
|
|
"note": null,
|
|
"display_template": null,
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": null,
|
|
"unarchive_value": null,
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": null,
|
|
"item_duplication_fields": null,
|
|
"sort": 1,
|
|
"group": "game_campaign",
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"icon": null,
|
|
"note": null,
|
|
"display_template": null,
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": null,
|
|
"unarchive_value": null,
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": null,
|
|
"item_duplication_fields": null,
|
|
"sort": 1,
|
|
"group": "game_prize",
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "Corporate",
|
|
"meta": {
|
|
"collection": "Corporate",
|
|
"icon": "folder",
|
|
"note": null,
|
|
"display_template": null,
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": null,
|
|
"unarchive_value": null,
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": null,
|
|
"item_duplication_fields": null,
|
|
"sort": 4,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": false
|
|
},
|
|
"schema": null
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"meta": {
|
|
"collection": "sites",
|
|
"icon": "language",
|
|
"note": "平台站點主資料",
|
|
"display_template": "{{name}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": "status",
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#3399FF",
|
|
"item_duplication_fields": null,
|
|
"sort": 10,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"icon": "science",
|
|
"note": "實驗主資料",
|
|
"display_template": "{{name}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": "status",
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#7A5AF8",
|
|
"item_duplication_fields": null,
|
|
"sort": 11,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"meta": {
|
|
"collection": "variants",
|
|
"icon": "splitscreen",
|
|
"note": "實驗版本資料",
|
|
"display_template": "{{name}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#F97066",
|
|
"item_duplication_fields": null,
|
|
"sort": 12,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"icon": "edit_note",
|
|
"note": "視覺編輯器變更描述",
|
|
"display_template": "{{change_type}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": null,
|
|
"archive_app_filter": true,
|
|
"archive_value": null,
|
|
"unarchive_value": null,
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#12B76A",
|
|
"item_duplication_fields": null,
|
|
"sort": 13,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"icon": "deployed_code",
|
|
"note": "實驗發佈版本快照",
|
|
"display_template": "v{{version_no}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": "status",
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#F79009",
|
|
"item_duplication_fields": null,
|
|
"sort": 14,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"meta": {
|
|
"collection": "goals",
|
|
"icon": "flag",
|
|
"note": "實驗目標定義",
|
|
"display_template": "{{name}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": "status",
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#06AED4",
|
|
"item_duplication_fields": null,
|
|
"sort": 15,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"icon": "code",
|
|
"note": "SDK 與 snippet 設定",
|
|
"display_template": "{{sdk_key}}",
|
|
"hidden": false,
|
|
"singleton": false,
|
|
"translations": null,
|
|
"archive_field": "status",
|
|
"archive_app_filter": true,
|
|
"archive_value": "archived",
|
|
"unarchive_value": "draft",
|
|
"sort_field": null,
|
|
"accountability": "all",
|
|
"color": "#1570EF",
|
|
"item_duplication_fields": null,
|
|
"sort": 16,
|
|
"group": null,
|
|
"collapse": "open",
|
|
"preview_url": null,
|
|
"versioning": true
|
|
},
|
|
"schema": {}
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "corporate_customer",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "已發佈",
|
|
"value": "published",
|
|
"color": "var(--theme--primary)"
|
|
},
|
|
{
|
|
"text": "草稿",
|
|
"value": "draft",
|
|
"color": "var(--theme--foreground)"
|
|
},
|
|
{
|
|
"text": "已封存",
|
|
"value": "archived",
|
|
"color": "var(--theme--warning)"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": {
|
|
"showAsDot": true,
|
|
"choices": [
|
|
{
|
|
"text": "已發佈",
|
|
"value": "published",
|
|
"color": "var(--theme--primary)",
|
|
"foreground": "var(--theme--primary)",
|
|
"background": "var(--theme--primary-background)"
|
|
},
|
|
{
|
|
"text": "草稿",
|
|
"value": "draft",
|
|
"color": "var(--theme--foreground)",
|
|
"foreground": "var(--theme--foreground)",
|
|
"background": "var(--theme--background-normal)"
|
|
},
|
|
{
|
|
"text": "已封存",
|
|
"value": "archived",
|
|
"color": "var(--theme--warning)",
|
|
"foreground": "var(--theme--warning)",
|
|
"background": "var(--theme--warning-background)"
|
|
}
|
|
]
|
|
},
|
|
"readonly": false,
|
|
"hidden": true,
|
|
"sort": 2,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "tax_id",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "tax_id",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "tax_id",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "user_created",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "user_created",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"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": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "description",
|
|
"type": "text",
|
|
"schema": {
|
|
"name": "description",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "description",
|
|
"special": null,
|
|
"interface": "input-multiline",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "date_updated",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_updated",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "date_updated",
|
|
"special": [
|
|
"date-updated"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "date_created",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_created",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "date_created",
|
|
"special": [
|
|
"date-created"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "tabs-hgzwdn",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "tabs-hgzwdn",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-tabs",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "user_updated",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "user_updated",
|
|
"table": "corporate_customer",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"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": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_informaction",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "system_informaction",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "system_informaction",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tabs-hgzwdn",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "corporate_customer",
|
|
"field": "sites",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "corporate_customer",
|
|
"field": "sites",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"name",
|
|
"site_key",
|
|
"primary_domain",
|
|
"status"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "企業客戶底下的站點",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "id",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "game_campaign",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "id",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "date_created",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_created",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "date_created",
|
|
"special": [
|
|
"date-created"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 1,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "sum_rate",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "sum_rate",
|
|
"table": "game_campaign",
|
|
"data_type": "integer",
|
|
"default_value": 0,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 32,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": true,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "sum_rate",
|
|
"special": null,
|
|
"interface": "computed-mganik",
|
|
"options": {
|
|
"template": "{{SUM(ASUM(game_prize,rate),lose_rate)}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_execution",
|
|
"validation": {
|
|
"_and": [
|
|
{
|
|
"sum_rate": {
|
|
"_eq": "100"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"validation_message": "總中獎機率要100%歐!",
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "tab1",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "tab1",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-tabs",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "main",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "main",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "user_created",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "user_created",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "directus_users",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "user_created",
|
|
"special": [
|
|
"user-created"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
|
},
|
|
"display": "user",
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "corporate_customer",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "corporate_customer",
|
|
"table": "game_campaign",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "corporate_customer",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "corporate_customer",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}",
|
|
"enableCreate": false
|
|
},
|
|
"display": "related-values",
|
|
"display_options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "lose_rate",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "lose_rate",
|
|
"table": "game_campaign",
|
|
"data_type": "integer",
|
|
"default_value": 0,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 32,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": true,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "lose_rate",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_execution",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "game_execution",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "game_execution",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "date_updated",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_updated",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "date_updated",
|
|
"special": [
|
|
"date-updated"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "execution_method",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "execution_method",
|
|
"table": "game_campaign",
|
|
"data_type": "character varying",
|
|
"default_value": "每日重置",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "execution_method",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "單次",
|
|
"value": "單次"
|
|
},
|
|
{
|
|
"text": "每日重置",
|
|
"value": "每日重置"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": {
|
|
"format": false,
|
|
"choices": [
|
|
{
|
|
"text": "單次",
|
|
"value": "單次"
|
|
},
|
|
{
|
|
"text": "每日重置",
|
|
"value": "每日重置"
|
|
}
|
|
]
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_execution",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "game_prize",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "game_prize",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"name",
|
|
"rate",
|
|
"quantity",
|
|
"used_quantity"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "game_campaign",
|
|
"data_type": "character varying",
|
|
"default_value": "草稿",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "已發佈",
|
|
"value": "已發佈",
|
|
"color": "var(--theme--primary)"
|
|
},
|
|
{
|
|
"text": "草稿",
|
|
"value": "草稿",
|
|
"color": "var(--theme--foreground)"
|
|
},
|
|
{
|
|
"text": "已封存",
|
|
"value": "已封存",
|
|
"color": "var(--theme--warning)"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": {
|
|
"showAsDot": true,
|
|
"choices": [
|
|
{
|
|
"text": "已發佈",
|
|
"value": "已發佈",
|
|
"color": "var(--theme--primary)"
|
|
},
|
|
{
|
|
"text": "草稿",
|
|
"value": "草稿",
|
|
"color": "var(--theme--foreground)"
|
|
},
|
|
{
|
|
"text": "已封存",
|
|
"value": "已封存",
|
|
"color": "var(--theme--warning)"
|
|
}
|
|
]
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "user_updated",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "user_updated",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "directus_users",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "user_updated",
|
|
"special": [
|
|
"user-updated"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
|
},
|
|
"display": "user",
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "frequency",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "frequency",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "frequency",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_execution",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "system_information",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "system_information",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "method",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "method",
|
|
"table": "game_campaign",
|
|
"data_type": "character varying",
|
|
"default_value": "刮刮樂",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "method",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "刮刮樂",
|
|
"value": "刮刮樂"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": {
|
|
"choices": [
|
|
{
|
|
"text": "刮刮樂",
|
|
"value": "刮刮樂"
|
|
}
|
|
],
|
|
"format": false
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "rest_time",
|
|
"type": "time",
|
|
"schema": {
|
|
"name": "rest_time",
|
|
"table": "game_campaign",
|
|
"data_type": "time without 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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "rest_time",
|
|
"special": null,
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_execution",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "start_date_time",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "start_date_time",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "start_date_time",
|
|
"special": null,
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "end_date_time",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "end_date_time",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "end_date_time",
|
|
"special": null,
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "description",
|
|
"type": "text",
|
|
"schema": {
|
|
"name": "description",
|
|
"table": "game_campaign",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_campaign",
|
|
"field": "description",
|
|
"special": null,
|
|
"interface": "input-rich-text-html",
|
|
"options": {
|
|
"toolbar": [
|
|
"undo",
|
|
"redo",
|
|
"bold",
|
|
"italic",
|
|
"underline",
|
|
"strikethrough",
|
|
"subscript",
|
|
"superscript",
|
|
"fontfamily",
|
|
"fontsize",
|
|
"h1",
|
|
"h2",
|
|
"h3",
|
|
"h4",
|
|
"h5",
|
|
"h6",
|
|
"customPre",
|
|
"alignleft",
|
|
"aligncenter",
|
|
"alignright",
|
|
"alignjustify",
|
|
"alignnone",
|
|
"indent",
|
|
"outdent",
|
|
"numlist",
|
|
"bullist",
|
|
"forecolor",
|
|
"backcolor",
|
|
"removeformat",
|
|
"blockquote",
|
|
"customInlineCode",
|
|
"customLink",
|
|
"unlink",
|
|
"customImage",
|
|
"customMedia",
|
|
"table",
|
|
"hr",
|
|
"fullscreen",
|
|
"visualaid",
|
|
"ltr rtl",
|
|
"code"
|
|
]
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "main",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "id",
|
|
"type": "bigInteger",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "game_prize",
|
|
"data_type": "bigint",
|
|
"default_value": "nextval('game_prize_id_seq'::regclass)",
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 64,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": true,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "id",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "game_campaign",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "game_campaign",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "game_campaign",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "game_campaign",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}",
|
|
"enableCreate": false
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "code",
|
|
"type": "csv",
|
|
"schema": {
|
|
"name": "code",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "code",
|
|
"special": [
|
|
"cast-csv"
|
|
],
|
|
"interface": "tags",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "game_code",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "game_code",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "game_code",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "date_updated",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_updated",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "date_updated",
|
|
"special": [
|
|
"date-updated"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "system_information",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "system_information",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab1",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "date_created",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_created",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "date_created",
|
|
"special": [
|
|
"date-created"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "type",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "type",
|
|
"table": "game_prize",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "type",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "單個序號",
|
|
"value": "單個序號"
|
|
},
|
|
{
|
|
"text": "多個序號",
|
|
"value": "多個序號"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": {
|
|
"format": false,
|
|
"choices": [
|
|
{
|
|
"text": "單個序號",
|
|
"value": "單個序號"
|
|
},
|
|
{
|
|
"text": "多個序號",
|
|
"value": "多個序號"
|
|
}
|
|
]
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "rate",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "rate",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "rate",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": {
|
|
"min": 0,
|
|
"max": 100
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "quantity",
|
|
"type": "bigInteger",
|
|
"schema": {
|
|
"name": "quantity",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "quantity",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "used_quantity",
|
|
"type": "bigInteger",
|
|
"schema": {
|
|
"name": "used_quantity",
|
|
"table": "game_prize",
|
|
"data_type": "bigint",
|
|
"default_value": 0,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 64,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": true,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "used_quantity",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "content",
|
|
"type": "text",
|
|
"schema": {
|
|
"name": "content",
|
|
"table": "game_prize",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "content",
|
|
"special": null,
|
|
"interface": "input-rich-text-html",
|
|
"options": {
|
|
"toolbar": [
|
|
"undo",
|
|
"redo",
|
|
"bold",
|
|
"italic",
|
|
"underline",
|
|
"strikethrough",
|
|
"subscript",
|
|
"superscript",
|
|
"fontfamily",
|
|
"fontsize",
|
|
"h1",
|
|
"h2",
|
|
"h3",
|
|
"h4",
|
|
"h5",
|
|
"h6",
|
|
"customPre",
|
|
"alignleft",
|
|
"aligncenter",
|
|
"alignright",
|
|
"alignjustify",
|
|
"alignnone",
|
|
"indent",
|
|
"outdent",
|
|
"numlist",
|
|
"bullist",
|
|
"forecolor",
|
|
"backcolor",
|
|
"removeformat",
|
|
"cut",
|
|
"copy",
|
|
"paste",
|
|
"remove",
|
|
"selectall",
|
|
"blockquote",
|
|
"customInlineCode",
|
|
"customLink",
|
|
"unlink",
|
|
"customImage",
|
|
"customMedia",
|
|
"table",
|
|
"hr",
|
|
"fullscreen",
|
|
"visualaid",
|
|
"ltr rtl",
|
|
"code"
|
|
]
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "tab1",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_prize",
|
|
"field": "tab1",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-tabs",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "id",
|
|
"type": "bigInteger",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "game_record",
|
|
"data_type": "bigint",
|
|
"default_value": "nextval('game_record_id_seq'::regclass)",
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 64,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": true,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "id",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "game_prize",
|
|
"type": "bigInteger",
|
|
"schema": {
|
|
"name": "game_prize",
|
|
"table": "game_record",
|
|
"data_type": "bigint",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 64,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "game_prize",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "game_prize",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}",
|
|
"enableCreate": false
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "system_information",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "system_information",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-raw",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "tab",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "date_updated",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_updated",
|
|
"table": "game_record",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "date_updated",
|
|
"special": [
|
|
"date-updated"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "prize_name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "prize_name",
|
|
"table": "game_record",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "prize_name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "date_created",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "date_created",
|
|
"table": "game_record",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "date_created",
|
|
"special": [
|
|
"date-created"
|
|
],
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": true
|
|
},
|
|
"readonly": true,
|
|
"hidden": true,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": "system_information",
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "prize_code",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "prize_code",
|
|
"table": "game_record",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "prize_code",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "tab",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "game_record",
|
|
"field": "tab",
|
|
"special": [
|
|
"alias",
|
|
"no-data",
|
|
"group"
|
|
],
|
|
"interface": "group-tabs",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "sites",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "site_key",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "site_key",
|
|
"table": "sites",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "site_key",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "站點唯一 key",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "sites",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "primary_domain",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "primary_domain",
|
|
"table": "sites",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "primary_domain",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "sites",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "draft",
|
|
"value": "draft"
|
|
},
|
|
{
|
|
"text": "active",
|
|
"value": "active"
|
|
},
|
|
{
|
|
"text": "disabled",
|
|
"value": "disabled"
|
|
},
|
|
{
|
|
"text": "archived",
|
|
"value": "archived"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "site_settings",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "site_settings",
|
|
"table": "sites",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "site_settings",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "高變動站點設定",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "experiments",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "experiments",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"name",
|
|
"experiment_key",
|
|
"status",
|
|
"module_type"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "站點下的實驗",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "sdk_configs",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "sdk_configs",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"sdk_key",
|
|
"status",
|
|
"origin_url",
|
|
"cdn_url"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 9,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "站點下的 SDK 設定",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "corporate_customer",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "corporate_customer",
|
|
"table": "sites",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "corporate_customer",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sites",
|
|
"field": "corporate_customer",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}",
|
|
"enableCreate": false
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 10,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬企業客戶",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "experiments",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "site_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "site_id",
|
|
"table": "experiments",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "site_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬站點",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "experiment_key",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "experiment_key",
|
|
"table": "experiments",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "experiment_key",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "experiments",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "module_type",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "module_type",
|
|
"table": "experiments",
|
|
"data_type": "character varying",
|
|
"default_value": "page_experiment",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "module_type",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "page_experiment",
|
|
"value": "page_experiment"
|
|
},
|
|
{
|
|
"text": "marketing_card",
|
|
"value": "marketing_card"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "experiments",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "draft",
|
|
"value": "draft"
|
|
},
|
|
{
|
|
"text": "scheduled",
|
|
"value": "scheduled"
|
|
},
|
|
{
|
|
"text": "running",
|
|
"value": "running"
|
|
},
|
|
{
|
|
"text": "paused",
|
|
"value": "paused"
|
|
},
|
|
{
|
|
"text": "ended",
|
|
"value": "ended"
|
|
},
|
|
{
|
|
"text": "archived",
|
|
"value": "archived"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "start_at",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "start_at",
|
|
"table": "experiments",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "start_at",
|
|
"special": null,
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": false
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "end_at",
|
|
"type": "timestamp",
|
|
"schema": {
|
|
"name": "end_at",
|
|
"table": "experiments",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "end_at",
|
|
"special": null,
|
|
"interface": "datetime",
|
|
"options": null,
|
|
"display": "datetime",
|
|
"display_options": {
|
|
"relative": false
|
|
},
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "targeting_config",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "targeting_config",
|
|
"table": "experiments",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "targeting_config",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 9,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "URL / audience / targeting 規則",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "variants",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "variants",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"name",
|
|
"variant_key",
|
|
"status",
|
|
"traffic_weight",
|
|
"is_control"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 10,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "實驗底下的版本",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "experiment_releases",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "experiments",
|
|
"field": "experiment_releases",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"version_no",
|
|
"status"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 11,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "實驗發佈版本",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "variants",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "experiment_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "experiment_id",
|
|
"table": "variants",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "experiments",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "experiment_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬實驗",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "variant_key",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "variant_key",
|
|
"table": "variants",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "variant_key",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "variants",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "traffic_weight",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "traffic_weight",
|
|
"table": "variants",
|
|
"data_type": "integer",
|
|
"default_value": 0,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 32,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "traffic_weight",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "content_config",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "content_config",
|
|
"table": "variants",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "content_config",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "版本內容設定",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "variant_changes",
|
|
"type": "alias",
|
|
"schema": null,
|
|
"meta": {
|
|
"collection": "variants",
|
|
"field": "variant_changes",
|
|
"special": [
|
|
"o2m"
|
|
],
|
|
"interface": "list-o2m",
|
|
"options": {
|
|
"layout": "table",
|
|
"tableSpacing": "compact",
|
|
"fields": [
|
|
"change_type",
|
|
"selector_type",
|
|
"selector_value",
|
|
"sort_order",
|
|
"enabled"
|
|
]
|
|
},
|
|
"display": "related-values",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "版本底下的變更列表",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "variant_changes",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "variant_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "variant_id",
|
|
"table": "variant_changes",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "variants",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "variant_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬版本",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "change_type",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "change_type",
|
|
"table": "variant_changes",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "change_type",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "selector_type",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "selector_type",
|
|
"table": "variant_changes",
|
|
"data_type": "character varying",
|
|
"default_value": "css",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "selector_type",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "css",
|
|
"value": "css"
|
|
},
|
|
{
|
|
"text": "xpath",
|
|
"value": "xpath"
|
|
},
|
|
{
|
|
"text": "smart_selector",
|
|
"value": "smart_selector"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "selector_value",
|
|
"type": "text",
|
|
"schema": {
|
|
"name": "selector_value",
|
|
"table": "variant_changes",
|
|
"data_type": "text",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "selector_value",
|
|
"special": null,
|
|
"interface": "input-multiline",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "sort_order",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "sort_order",
|
|
"table": "variant_changes",
|
|
"data_type": "integer",
|
|
"default_value": 0,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 32,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "sort_order",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "payload",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "payload",
|
|
"table": "variant_changes",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "variant_changes",
|
|
"field": "payload",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 8,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "變更內容",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "experiment_releases",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "experiment_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "experiment_id",
|
|
"table": "experiment_releases",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "experiments",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"field": "experiment_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬實驗",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "version_no",
|
|
"type": "integer",
|
|
"schema": {
|
|
"name": "version_no",
|
|
"table": "experiment_releases",
|
|
"data_type": "integer",
|
|
"default_value": 1,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": 32,
|
|
"numeric_scale": 0,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"field": "version_no",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "experiment_releases",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "draft",
|
|
"value": "draft"
|
|
},
|
|
{
|
|
"text": "published",
|
|
"value": "published"
|
|
},
|
|
{
|
|
"text": "rolled_back",
|
|
"value": "rolled_back"
|
|
},
|
|
{
|
|
"text": "archived",
|
|
"value": "archived"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "runtime_payload",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "runtime_payload",
|
|
"table": "experiment_releases",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "experiment_releases",
|
|
"field": "runtime_payload",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "SDK 使用的發佈快照",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "goals",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "site_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "site_id",
|
|
"table": "goals",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "site_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬站點",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "goal_key",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "goal_key",
|
|
"table": "goals",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "goal_key",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "name",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "name",
|
|
"table": "goals",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "name",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "goal_type",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "goal_type",
|
|
"table": "goals",
|
|
"data_type": "character varying",
|
|
"default_value": "ga4_event",
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "goal_type",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "ga4_event",
|
|
"value": "ga4_event"
|
|
},
|
|
{
|
|
"text": "custom_event",
|
|
"value": "custom_event"
|
|
},
|
|
{
|
|
"text": "url_reach",
|
|
"value": "url_reach"
|
|
},
|
|
{
|
|
"text": "click",
|
|
"value": "click"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "match_rule",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "match_rule",
|
|
"table": "goals",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "goals",
|
|
"field": "match_rule",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "目標比對規則",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "id",
|
|
"table": "sdk_configs",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": true,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "id",
|
|
"special": [
|
|
"uuid"
|
|
],
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": true,
|
|
"hidden": false,
|
|
"sort": 1,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "site_id",
|
|
"type": "uuid",
|
|
"schema": {
|
|
"name": "site_id",
|
|
"table": "sdk_configs",
|
|
"data_type": "uuid",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": null,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": false,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "site_id",
|
|
"special": [
|
|
"m2o"
|
|
],
|
|
"interface": "select-dropdown-m2o",
|
|
"options": {
|
|
"template": "{{name}}"
|
|
},
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 2,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": "所屬站點",
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "sdk_key",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "sdk_key",
|
|
"table": "sdk_configs",
|
|
"data_type": "character varying",
|
|
"default_value": null,
|
|
"generation_expression": null,
|
|
"max_length": 255,
|
|
"numeric_precision": null,
|
|
"numeric_scale": null,
|
|
"is_generated": false,
|
|
"is_nullable": false,
|
|
"is_unique": true,
|
|
"is_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "sdk_key",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 3,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "status",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "status",
|
|
"table": "sdk_configs",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "status",
|
|
"special": null,
|
|
"interface": "select-dropdown",
|
|
"options": {
|
|
"choices": [
|
|
{
|
|
"text": "draft",
|
|
"value": "draft"
|
|
},
|
|
{
|
|
"text": "active",
|
|
"value": "active"
|
|
},
|
|
{
|
|
"text": "disabled",
|
|
"value": "disabled"
|
|
},
|
|
{
|
|
"text": "archived",
|
|
"value": "archived"
|
|
}
|
|
]
|
|
},
|
|
"display": "labels",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 4,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": true,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "origin_url",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "origin_url",
|
|
"table": "sdk_configs",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "origin_url",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 5,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "cdn_url",
|
|
"type": "string",
|
|
"schema": {
|
|
"name": "cdn_url",
|
|
"table": "sdk_configs",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "cdn_url",
|
|
"special": null,
|
|
"interface": "input",
|
|
"options": null,
|
|
"display": null,
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 6,
|
|
"width": "half",
|
|
"translations": null,
|
|
"note": null,
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": true
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "sdk_config",
|
|
"type": "json",
|
|
"schema": {
|
|
"name": "sdk_config",
|
|
"table": "sdk_configs",
|
|
"data_type": "json",
|
|
"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_indexed": false,
|
|
"is_primary_key": false,
|
|
"has_auto_increment": false,
|
|
"foreign_key_schema": null,
|
|
"foreign_key_table": null,
|
|
"foreign_key_column": null,
|
|
"comment": null
|
|
},
|
|
"meta": {
|
|
"collection": "sdk_configs",
|
|
"field": "sdk_config",
|
|
"special": [
|
|
"cast-json"
|
|
],
|
|
"interface": "input-code",
|
|
"options": {
|
|
"language": "json"
|
|
},
|
|
"display": "formatted-json-value",
|
|
"display_options": null,
|
|
"readonly": false,
|
|
"hidden": false,
|
|
"sort": 7,
|
|
"width": "full",
|
|
"translations": null,
|
|
"note": "高變動 SDK 設定",
|
|
"conditions": null,
|
|
"required": false,
|
|
"group": null,
|
|
"validation": null,
|
|
"validation_message": null,
|
|
"searchable": false
|
|
}
|
|
}
|
|
],
|
|
"relations": [
|
|
{
|
|
"collection": "game_campaign",
|
|
"field": "user_created",
|
|
"related_collection": "directus_users",
|
|
"schema": {
|
|
"constraint_name": "game_campaign_user_created_foreign",
|
|
"table": "game_campaign",
|
|
"column": "user_created",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "directus_users",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "game_campaign",
|
|
"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": "game_campaign",
|
|
"field": "user_updated",
|
|
"related_collection": "directus_users",
|
|
"schema": {
|
|
"constraint_name": "game_campaign_user_updated_foreign",
|
|
"table": "game_campaign",
|
|
"column": "user_updated",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "directus_users",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "game_campaign",
|
|
"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": "game_campaign",
|
|
"field": "corporate_customer",
|
|
"related_collection": "corporate_customer",
|
|
"schema": {
|
|
"constraint_name": "game_campaign_corporate_customer_foreign",
|
|
"table": "game_campaign",
|
|
"column": "corporate_customer",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "corporate_customer",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "game_campaign",
|
|
"many_field": "corporate_customer",
|
|
"one_collection": "corporate_customer",
|
|
"one_field": "game_campaign",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_prize",
|
|
"field": "game_campaign",
|
|
"related_collection": "game_campaign",
|
|
"schema": {
|
|
"constraint_name": "game_prize_game_campaign_foreign",
|
|
"table": "game_prize",
|
|
"column": "game_campaign",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "game_campaign",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "game_prize",
|
|
"many_field": "game_campaign",
|
|
"one_collection": "game_campaign",
|
|
"one_field": "game_prize",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "game_record",
|
|
"field": "game_prize",
|
|
"related_collection": "game_prize",
|
|
"schema": {
|
|
"constraint_name": "game_record_game_prize_foreign",
|
|
"table": "game_record",
|
|
"column": "game_prize",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "game_prize",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "game_record",
|
|
"many_field": "game_prize",
|
|
"one_collection": "game_prize",
|
|
"one_field": null,
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "sites",
|
|
"field": "corporate_customer",
|
|
"related_collection": "corporate_customer",
|
|
"schema": {
|
|
"constraint_name": "sites_corporate_customer_foreign",
|
|
"table": "sites",
|
|
"column": "corporate_customer",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "corporate_customer",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "sites",
|
|
"many_field": "corporate_customer",
|
|
"one_collection": "corporate_customer",
|
|
"one_field": "sites",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiments",
|
|
"field": "site_id",
|
|
"related_collection": "sites",
|
|
"schema": {
|
|
"constraint_name": "experiments_site_id_foreign",
|
|
"table": "experiments",
|
|
"column": "site_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "experiments",
|
|
"many_field": "site_id",
|
|
"one_collection": "sites",
|
|
"one_field": "experiments",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "variants",
|
|
"field": "experiment_id",
|
|
"related_collection": "experiments",
|
|
"schema": {
|
|
"constraint_name": "variants_experiment_id_foreign",
|
|
"table": "variants",
|
|
"column": "experiment_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "experiments",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "variants",
|
|
"many_field": "experiment_id",
|
|
"one_collection": "experiments",
|
|
"one_field": "variants",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "variant_changes",
|
|
"field": "variant_id",
|
|
"related_collection": "variants",
|
|
"schema": {
|
|
"constraint_name": "variant_changes_variant_id_foreign",
|
|
"table": "variant_changes",
|
|
"column": "variant_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "variants",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "variant_changes",
|
|
"many_field": "variant_id",
|
|
"one_collection": "variants",
|
|
"one_field": "variant_changes",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "experiment_releases",
|
|
"field": "experiment_id",
|
|
"related_collection": "experiments",
|
|
"schema": {
|
|
"constraint_name": "experiment_releases_experiment_id_foreign",
|
|
"table": "experiment_releases",
|
|
"column": "experiment_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "experiments",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "experiment_releases",
|
|
"many_field": "experiment_id",
|
|
"one_collection": "experiments",
|
|
"one_field": "experiment_releases",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "goals",
|
|
"field": "site_id",
|
|
"related_collection": "sites",
|
|
"schema": {
|
|
"constraint_name": "goals_site_id_foreign",
|
|
"table": "goals",
|
|
"column": "site_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "goals",
|
|
"many_field": "site_id",
|
|
"one_collection": "sites",
|
|
"one_field": "goals",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
},
|
|
{
|
|
"collection": "sdk_configs",
|
|
"field": "site_id",
|
|
"related_collection": "sites",
|
|
"schema": {
|
|
"constraint_name": "sdk_configs_site_id_foreign",
|
|
"table": "sdk_configs",
|
|
"column": "site_id",
|
|
"foreign_key_schema": "public",
|
|
"foreign_key_table": "sites",
|
|
"foreign_key_column": "id",
|
|
"on_update": "NO ACTION",
|
|
"on_delete": "NO ACTION"
|
|
},
|
|
"meta": {
|
|
"many_collection": "sdk_configs",
|
|
"many_field": "site_id",
|
|
"one_collection": "sites",
|
|
"one_field": "sdk_configs",
|
|
"one_collection_field": null,
|
|
"one_allowed_collections": null,
|
|
"junction_field": null,
|
|
"sort_field": null,
|
|
"one_deselect_action": "nullify"
|
|
}
|
|
}
|
|
]
|
|
} |