From 471476175ca058cd96ba76e045d4b72aab2a40d6 Mon Sep 17 00:00:00 2001 From: Arnaud Moncel Date: Thu, 9 Jan 2025 10:26:19 +0100 Subject: [PATCH 1/2] fix: upgrade FE to fix permission cache issue --- .forestadmin-schema.json | 3028 ++++++++++++++++++++++++++++++++++++++ package.json | 2 +- yarn.lock | 28 +- 3 files changed, 3043 insertions(+), 15 deletions(-) create mode 100644 .forestadmin-schema.json diff --git a/.forestadmin-schema.json b/.forestadmin-schema.json new file mode 100644 index 00000000..f5a7688e --- /dev/null +++ b/.forestadmin-schema.json @@ -0,0 +1,3028 @@ +{ + "collections": [{ + "name": "activityMapping", + "nameOld": "activityMapping", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "activityId", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "activityLabel", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "activityMappingActivityMappingCarbononeSpec", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "activityMappingCarbononeSpec.id", + "inverseOf": "activityMapping", + "relationship": "HasOne", + "validations": [] + }, { + "field": "activityMappingActivityMappingClimatiqUnitInfo", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "activityMappingClimatiqUnitInfo.id", + "inverseOf": "activityMapping", + "relationship": "HasOne", + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "file", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/file", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "toto", + "type": "File", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "load": false, + "change": [] + } + }] + }, { + "name": "activityMappingCarbononeSpec", + "nameOld": "activityMappingCarbononeSpec", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "activityMapping", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "activityMapping.id", + "inverseOf": "activityMappingActivityMappingCarbononeSpec", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "commodityGroup", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "defaultTemperatureControl", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "flwPercentage", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "includedActivityNotes", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "types", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "activityMappingClimatiqUnitInfo", + "nameOld": "activityMappingClimatiqUnitInfo", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "activityMapping", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "activityMapping.id", + "inverseOf": "activityMappingActivityMappingClimatiqUnitInfo", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "defaultUnitType", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "density", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "estimationUnitType", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "boxCv", + "nameOld": "boxCv", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "cvBoxCvg", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "boxCvg.id", + "inverseOf": "cv", + "relationship": "HasOne", + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "boxCvg", + "nameOld": "boxCvg", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "cv", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "boxCv.id", + "inverseOf": "cvBoxCvg", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "category", + "nameOld": "category", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "categoryCategoryDeliveryMethod", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "categoryDeliveryMethod.id", + "inverseOf": "category", + "relationship": "HasOne", + "validations": [] + }, { + "field": "iconUrl", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "isMainCategory", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "minimumNumberOfPictures", + "type": "Number", + "defaultValue": 1, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "pictureRequirementMessage", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "position", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "slug", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }], + "segments": [], + "actions": [] + }, { + "name": "categoryDeliveryMethod", + "nameOld": "categoryDeliveryMethod", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "category", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "category.id", + "inverseOf": "categoryCategoryDeliveryMethod", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "deliveryMethods", + "type": ["Enum"], + "defaultValue": null, + "enums": ["\"DL 1\"", "\"DL 2\""], + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "message", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "size", + "type": "Enum", + "defaultValue": null, + "enums": ["M", "L"], + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "volume", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "weight", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "chenil", + "nameOld": "chenil", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "chenilName", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "pets", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "pets.id", + "inverseOf": null, + "relationship": "HasMany", + "validations": [] + }, { + "field": "spa", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "spa.id", + "inverseOf": "chenils", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "users", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": "user.id", + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "tot", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/tot", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "st", + "type": "Enum", + "defaultValue": null, + "enums": ["fo", "lo"], + "isRequired": true, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "load": true, + "change": [] + } + }] + }, { + "name": "Comment", + "nameOld": "Comment", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": true, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "description", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "published_at", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "global test", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/global-test", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "toto", + "type": "Number", + "defaultValue": 1, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }, { + "field": "toto2", + "type": "String", + "defaultValue": "a que coucou", + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 1, + "widget": "text area" + }], + "hooks": { + "load": false, + "change": [] + } + }] + }, { + "name": "concat", + "nameOld": "concat", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "ex", + "type": "Boolean", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "change name", + "type": "single", + "baseUrl": null, + "endpoint": "/forest/actions/change-name", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "load": false, + "change": [] + } + }] + }, { + "name": "dep", + "nameOld": "dep", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "orgThroughOrgDeps", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "org.id", + "inverseOf": "depThroughOrgDeps", + "relationship": "BelongsToMany", + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "down", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/down", + "httpMethod": "POST", + "redirect": null, + "download": true, + "fields": [{ + "field": "down ?", + "type": "Boolean", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "load": false, + "change": [] + } + }, { + "name": "test multi", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/test-multi", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "Loading...", + "type": "String", + "defaultValue": null, + "enums": null, + "isRequired": false, + "isReadOnly": true, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "change": ["onChange"], + "load": true + } + }] + }, { + "name": "fourtout", + "nameOld": "fourtout", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "child", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "childFourtouts", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "createdby", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "createdbyFourtouts", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "deletedBy", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "deletedByFourtouts", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "fourtoutId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "giver", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "giverFourtouts", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "lastModifiedBy", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "lastModifiedByFourtouts", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "refsmart", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": "smart", + "inverseOf": null, + "validations": [] + }, { + "field": "toto", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "org", + "nameOld": "org", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "depThroughOrgDeps", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "dep.id", + "inverseOf": "orgThroughOrgDeps", + "relationship": "BelongsToMany", + "validations": [] + }, { + "field": "enums", + "type": ["Enum"], + "defaultValue": null, + "enums": ["e1", "e2"], + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "users", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": "user", + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "orgDep", + "nameOld": "orgDep", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "dep", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "dep.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [], + "foreignAndPrimaryKey": true + }, { + "field": "depId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "org", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "org.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [], + "foreignAndPrimaryKey": true + }, { + "field": "orgId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "pets", + "nameOld": "pets", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "owner", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [] + }], + "segments": [{ + "name": "coucou" + }], + "actions": [{ + "name": "bulk", + "type": "bulk", + "baseUrl": null, + "endpoint": "/forest/actions/bulk", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [], + "hooks": { + "load": false, + "change": [] + } + }, { + "name": "global", + "type": "global", + "baseUrl": null, + "endpoint": "/forest/actions/global", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [], + "hooks": { + "load": false, + "change": [] + } + }, { + "name": "single", + "type": "single", + "baseUrl": null, + "endpoint": "/forest/actions/single", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "toto", + "type": "Boolean", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "change": ["onChange"], + "load": true + } + }] + }, { + "name": "product", + "nameOld": "product", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "busyTimeSlots", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "productTimeSlot.id", + "inverseOf": "product", + "relationship": "HasMany", + "validations": [] + }, { + "field": "createdAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "defaultMeetingPassword", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is longer than", + "value": 0 + }, { + "message": null, + "type": "is shorter than", + "value": 10 + }] + }, { + "field": "deletedAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "deprecated", + "type": "Boolean", + "defaultValue": true, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "description", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "dietaryRestrictionsAvailable", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "durationExplanation", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "hiddenFromSearch", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "internalNotes", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "inviteIntro", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "inviteNameOverride", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "inviteText", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "isAlcoholic", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "isExperience", + "type": "Boolean", + "defaultValue": true, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "isHybrid", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "isParticipantsSubmissionBased", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "isVirtual", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "legalTerms", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "longDescription", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }, { + "message": null, + "type": "is longer than", + "value": 0 + }] + }, { + "field": "maxAmount", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "maxDuration", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "maxHeadcount", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "metaDescription", + "type": "String", + "defaultValue": "", + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is longer than", + "value": 0 + }, { + "message": null, + "type": "is shorter than", + "value": 160 + }] + }, { + "field": "minHeadcount", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }, { + "message": null, + "type": "is longer than", + "value": 0 + }, { + "message": null, + "type": "is shorter than", + "value": 40 + }] + }, { + "field": "policyId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "proTip", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "requiresExpert", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "setupTime", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "shortName", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "slug", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }, { + "message": null, + "type": "is like", + "value": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/" + }] + }, { + "field": "tagline", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }, { + "message": null, + "type": "is longer than", + "value": 0 + }] + }, { + "field": "taxRate", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "titlePrefix", + "type": "String", + "defaultValue": "", + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "updatedAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "productTimeSlot", + "nameOld": "productTimeSlot", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "blocked", + "type": "Boolean", + "defaultValue": false, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "endDate", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "product", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "product.id", + "inverseOf": "busyTimeSlots", + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "startDate", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }], + "segments": [], + "actions": [] + }, { + "name": "project", + "nameOld": "project", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "link", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "userThroughUserProjects", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": "projectThroughUserProjects", + "relationship": "BelongsToMany", + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "pts", + "nameOld": "pts", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "coord", + "type": "Point", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "smart", + "nameOld": "smart", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": false, + "isVirtual": true, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "createdAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "string", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isRequired": false, + "isSortable": false, + "isVirtual": true, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }, { + "name": "spa", + "nameOld": "spa", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "chenils", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "chenil.id", + "inverseOf": "spa", + "relationship": "HasMany", + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "spaName", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "test SA form SW", + "type": "bulk", + "baseUrl": null, + "endpoint": "/forest/actions/test-sa-form-sw", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "comment", + "type": "String", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null + }], + "hooks": { + "load": false, + "change": [] + } + }] + }, { + "name": "test", + "nameOld": "test", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "intrange", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }], + "segments": [], + "actions": [] + }, { + "name": "user", + "nameOld": "user", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "arrayOfTimestamp", + "type": ["Date"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "childFourtouts", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "fourtout.fourtout_id", + "inverseOf": "child", + "relationship": "HasMany", + "validations": [] + }, { + "field": "createdAt", + "type": "Dateonly", + "defaultValue": "2023-08-03", + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "createdbyFourtouts", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "fourtout.fourtout_id", + "inverseOf": "createdby", + "relationship": "HasMany", + "validations": [] + }, { + "field": "deletedByFourtouts", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "fourtout.fourtout_id", + "inverseOf": "deletedBy", + "relationship": "HasMany", + "validations": [] + }, { + "field": "dep", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "dep.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [] + }, { + "field": "giverFourtouts", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "fourtout.fourtout_id", + "inverseOf": "giver", + "relationship": "HasMany", + "validations": [] + }, { + "field": "id", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "lastModifiedByFourtouts", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "fourtout.fourtout_id", + "inverseOf": "lastModifiedBy", + "relationship": "HasMany", + "validations": [] + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "projectThroughUserProjects", + "type": ["Number"], + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "project.id", + "inverseOf": "userThroughUserProjects", + "relationship": "BelongsToMany", + "validations": [] + }], + "segments": [], + "actions": [{ + "name": "Add whatever (test)", + "type": "single", + "baseUrl": null, + "endpoint": "/forest/action/toto/tata", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "multiselect", + "type": ["Enum"], + "defaultValue": null, + "enums": [ + "unverified", + "personal", + "business", + "receive-only" + ], + "isRequired": false, + "reference": null, + "description": null, + "position": 0, + "widget": null, + "hook": "onEnumChange" + }, { + "field": "belo", + "type": "Number", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": "pets", + "description": null, + "position": 1, + "widget": "dropdown" + }], + "hooks": { + "change": ["onEnumChange"], + "load": true + } + }, { + "name": "Create pets", + "type": "single", + "baseUrl": null, + "endpoint": "/forest/actions/create-pets", + "httpMethod": "POST", + "redirect": null, + "download": false, + "fields": [{ + "field": "owner", + "type": "Number", + "defaultValue": null, + "enums": null, + "isRequired": false, + "isReadOnly": true, + "reference": "user", + "description": null, + "position": 0, + "widget": null + }, { + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "isRequired": false, + "reference": null, + "description": "Pet name", + "position": 1, + "widget": null + }], + "hooks": { + "load": true, + "change": [] + } + }] + }, { + "name": "userProject", + "nameOld": "userProject", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "createdAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "project", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "project.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [], + "foreignAndPrimaryKey": true + }, { + "field": "projectId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }, { + "field": "updatedAt", + "type": "Date", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }, { + "field": "user", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": "user.id", + "inverseOf": null, + "relationship": "BelongsTo", + "validations": [], + "foreignAndPrimaryKey": true + }, { + "field": "userId", + "type": "Number", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": true, + "isReadOnly": false, + "isRequired": true, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [{ + "message": null, + "type": "is present", + "value": null + }] + }], + "segments": [], + "actions": [] + }, { + "name": "wpk", + "nameOld": "wpk", + "icon": null, + "integration": null, + "isReadOnly": false, + "isSearchable": true, + "isVirtual": false, + "onlyForRelationships": false, + "paginationType": "page", + "fields": [{ + "field": "name", + "type": "String", + "defaultValue": null, + "enums": null, + "integration": null, + "isFilterable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isRequired": false, + "isSortable": true, + "isVirtual": false, + "reference": null, + "inverseOf": null, + "validations": [] + }], + "segments": [], + "actions": [] + }], + "meta": { + "liana": "forest-express-sequelize", + "liana_version": "9.5.2", + "stack": { + "database_type": "postgres", + "engine": "nodejs", + "engine_version": "22.11.0", + "orm_version": "6.35.2" + } + } +} \ No newline at end of file diff --git a/package.json b/package.json index 9bc28872..e5bf1543 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@babel/runtime": "7.15.4", "bluebird": "2.9.25", "core-js": "3.6.5", - "forest-express": "10.6.0", + "forest-express": "10.6.4", "http-errors": "1.6.1", "lodash": "4.17.21", "moment": "2.29.4", diff --git a/yarn.lock b/yarn.lock index 96da0151..46c32e5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1786,15 +1786,15 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@forestadmin/context@1.31.0": - version "1.31.0" - resolved "https://registry.yarnpkg.com/@forestadmin/context/-/context-1.31.0.tgz#b4b5a3b589e52d337a1f45807db22c2860e640a7" - integrity sha512-RQkDBkq+6ySMv+YNezz9VWSyCsqD7fj/+bXrXhQ6lJ62nbRUIUheH7ApvXwfnwFR1u55oT6Yhar11t6DaiE9Ig== +"@forestadmin/context@1.42.11": + version "1.42.11" + resolved "https://registry.yarnpkg.com/@forestadmin/context/-/context-1.42.11.tgz#50b7ad703ab8010d32dc30a6719d395890a2407a" + integrity sha512-y6lRxvjpjBjlCfJDCA4dd3RRtDKHT2RNvaMhB+MXLrvKSi/OEF403ADTcuCMku2M2X67cFkLWoWS+WHLOnlgvg== -"@forestadmin/forestadmin-client@1.35.0": - version "1.35.0" - resolved "https://registry.yarnpkg.com/@forestadmin/forestadmin-client/-/forestadmin-client-1.35.0.tgz#0cc7279f95b07f2c01b9b67cc21f1fc0b04e161a" - integrity sha512-ND3u2iFw1CLCcBEMNVCWAGJIG8P9voxcw9nJAX60IxnIdnlhk950HMB4R9YQ8Yj4mxN5nlw1MVMwzwy/dc3K1Q== +"@forestadmin/forestadmin-client@1.36.3": + version "1.36.3" + resolved "https://registry.yarnpkg.com/@forestadmin/forestadmin-client/-/forestadmin-client-1.36.3.tgz#1c0c87a0ee54ac6956ce3b1b6e0253ab16e8d50a" + integrity sha512-uwzkXy69NRWdPSwg5crStirgEQSCABh+uxRbEGi6YgYDGTM9pcgUIIvwDsh7eNoLOM4oxo6oU6WHWCl5RInokQ== dependencies: eventsource "2.0.2" json-api-serializer "^2.6.6" @@ -5174,14 +5174,14 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -forest-express@10.6.0: - version "10.6.0" - resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-10.6.0.tgz#a13ec3b1164739c73a71d16fd6bde840f9fe79f4" - integrity sha512-tW2uE6aYjQ9BIzFgzcoNVEirdZYvmXq1Ldm/BeAtQjV8uDl1HSw7TWI8KC5cox9opMiTOEgNFZg0ml43PQwgAg== +forest-express@10.6.4: + version "10.6.4" + resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-10.6.4.tgz#2e79e0610c2b35ed0db7b56d04fdf460f1800943" + integrity sha512-UFMTTemjZ9tDpkELagPdfnWf2mBtokCud5dxN22qDR43qniifRF9VIYGErG9rU30d2Gz2IyLqFNrAGx1FZFDcA== dependencies: "@babel/runtime" "7.19.0" - "@forestadmin/context" "1.31.0" - "@forestadmin/forestadmin-client" "1.35.0" + "@forestadmin/context" "1.42.11" + "@forestadmin/forestadmin-client" "1.36.3" base32-encode "1.1.1" bitwise-xor "0.0.0" bluebird "3.7.1" From 1c3e1954234a1e434b19515acdbfe4a886eed5af Mon Sep 17 00:00:00 2001 From: Arnaud Moncel Date: Thu, 9 Jan 2025 10:28:51 +0100 Subject: [PATCH 2/2] chore: remove fa schema --- .forestadmin-schema.json | 3028 -------------------------------------- 1 file changed, 3028 deletions(-) delete mode 100644 .forestadmin-schema.json diff --git a/.forestadmin-schema.json b/.forestadmin-schema.json deleted file mode 100644 index f5a7688e..00000000 --- a/.forestadmin-schema.json +++ /dev/null @@ -1,3028 +0,0 @@ -{ - "collections": [{ - "name": "activityMapping", - "nameOld": "activityMapping", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "activityId", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "activityLabel", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "activityMappingActivityMappingCarbononeSpec", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "activityMappingCarbononeSpec.id", - "inverseOf": "activityMapping", - "relationship": "HasOne", - "validations": [] - }, { - "field": "activityMappingActivityMappingClimatiqUnitInfo", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "activityMappingClimatiqUnitInfo.id", - "inverseOf": "activityMapping", - "relationship": "HasOne", - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "file", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/file", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "toto", - "type": "File", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "load": false, - "change": [] - } - }] - }, { - "name": "activityMappingCarbononeSpec", - "nameOld": "activityMappingCarbononeSpec", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "activityMapping", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "activityMapping.id", - "inverseOf": "activityMappingActivityMappingCarbononeSpec", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "commodityGroup", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "defaultTemperatureControl", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "flwPercentage", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "includedActivityNotes", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "types", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "activityMappingClimatiqUnitInfo", - "nameOld": "activityMappingClimatiqUnitInfo", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "activityMapping", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "activityMapping.id", - "inverseOf": "activityMappingActivityMappingClimatiqUnitInfo", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "defaultUnitType", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "density", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "estimationUnitType", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "boxCv", - "nameOld": "boxCv", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "cvBoxCvg", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "boxCvg.id", - "inverseOf": "cv", - "relationship": "HasOne", - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "boxCvg", - "nameOld": "boxCvg", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "cv", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "boxCv.id", - "inverseOf": "cvBoxCvg", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "category", - "nameOld": "category", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "categoryCategoryDeliveryMethod", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "categoryDeliveryMethod.id", - "inverseOf": "category", - "relationship": "HasOne", - "validations": [] - }, { - "field": "iconUrl", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "isMainCategory", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "minimumNumberOfPictures", - "type": "Number", - "defaultValue": 1, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "pictureRequirementMessage", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "position", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "slug", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }], - "segments": [], - "actions": [] - }, { - "name": "categoryDeliveryMethod", - "nameOld": "categoryDeliveryMethod", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "category", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "category.id", - "inverseOf": "categoryCategoryDeliveryMethod", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "deliveryMethods", - "type": ["Enum"], - "defaultValue": null, - "enums": ["\"DL 1\"", "\"DL 2\""], - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "message", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "size", - "type": "Enum", - "defaultValue": null, - "enums": ["M", "L"], - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "volume", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "weight", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "chenil", - "nameOld": "chenil", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "chenilName", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "pets", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "pets.id", - "inverseOf": null, - "relationship": "HasMany", - "validations": [] - }, { - "field": "spa", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "spa.id", - "inverseOf": "chenils", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "users", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": "user.id", - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "tot", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/tot", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "st", - "type": "Enum", - "defaultValue": null, - "enums": ["fo", "lo"], - "isRequired": true, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "load": true, - "change": [] - } - }] - }, { - "name": "Comment", - "nameOld": "Comment", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": true, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "description", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "published_at", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "global test", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/global-test", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "toto", - "type": "Number", - "defaultValue": 1, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }, { - "field": "toto2", - "type": "String", - "defaultValue": "a que coucou", - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 1, - "widget": "text area" - }], - "hooks": { - "load": false, - "change": [] - } - }] - }, { - "name": "concat", - "nameOld": "concat", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "ex", - "type": "Boolean", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "change name", - "type": "single", - "baseUrl": null, - "endpoint": "/forest/actions/change-name", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "load": false, - "change": [] - } - }] - }, { - "name": "dep", - "nameOld": "dep", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "orgThroughOrgDeps", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "org.id", - "inverseOf": "depThroughOrgDeps", - "relationship": "BelongsToMany", - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "down", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/down", - "httpMethod": "POST", - "redirect": null, - "download": true, - "fields": [{ - "field": "down ?", - "type": "Boolean", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "load": false, - "change": [] - } - }, { - "name": "test multi", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/test-multi", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "Loading...", - "type": "String", - "defaultValue": null, - "enums": null, - "isRequired": false, - "isReadOnly": true, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "change": ["onChange"], - "load": true - } - }] - }, { - "name": "fourtout", - "nameOld": "fourtout", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "child", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "childFourtouts", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "createdby", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "createdbyFourtouts", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "deletedBy", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "deletedByFourtouts", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "fourtoutId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "giver", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "giverFourtouts", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "lastModifiedBy", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "lastModifiedByFourtouts", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "refsmart", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": "smart", - "inverseOf": null, - "validations": [] - }, { - "field": "toto", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "org", - "nameOld": "org", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "depThroughOrgDeps", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "dep.id", - "inverseOf": "orgThroughOrgDeps", - "relationship": "BelongsToMany", - "validations": [] - }, { - "field": "enums", - "type": ["Enum"], - "defaultValue": null, - "enums": ["e1", "e2"], - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "users", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": "user", - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "orgDep", - "nameOld": "orgDep", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "dep", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "dep.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [], - "foreignAndPrimaryKey": true - }, { - "field": "depId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "org", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "org.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [], - "foreignAndPrimaryKey": true - }, { - "field": "orgId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "pets", - "nameOld": "pets", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "owner", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [] - }], - "segments": [{ - "name": "coucou" - }], - "actions": [{ - "name": "bulk", - "type": "bulk", - "baseUrl": null, - "endpoint": "/forest/actions/bulk", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [], - "hooks": { - "load": false, - "change": [] - } - }, { - "name": "global", - "type": "global", - "baseUrl": null, - "endpoint": "/forest/actions/global", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [], - "hooks": { - "load": false, - "change": [] - } - }, { - "name": "single", - "type": "single", - "baseUrl": null, - "endpoint": "/forest/actions/single", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "toto", - "type": "Boolean", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "change": ["onChange"], - "load": true - } - }] - }, { - "name": "product", - "nameOld": "product", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "busyTimeSlots", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "productTimeSlot.id", - "inverseOf": "product", - "relationship": "HasMany", - "validations": [] - }, { - "field": "createdAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "defaultMeetingPassword", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is longer than", - "value": 0 - }, { - "message": null, - "type": "is shorter than", - "value": 10 - }] - }, { - "field": "deletedAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "deprecated", - "type": "Boolean", - "defaultValue": true, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "description", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "dietaryRestrictionsAvailable", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "durationExplanation", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "hiddenFromSearch", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "internalNotes", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "inviteIntro", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "inviteNameOverride", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "inviteText", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "isAlcoholic", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "isExperience", - "type": "Boolean", - "defaultValue": true, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "isHybrid", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "isParticipantsSubmissionBased", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "isVirtual", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "legalTerms", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "longDescription", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }, { - "message": null, - "type": "is longer than", - "value": 0 - }] - }, { - "field": "maxAmount", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "maxDuration", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "maxHeadcount", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "metaDescription", - "type": "String", - "defaultValue": "", - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is longer than", - "value": 0 - }, { - "message": null, - "type": "is shorter than", - "value": 160 - }] - }, { - "field": "minHeadcount", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }, { - "message": null, - "type": "is longer than", - "value": 0 - }, { - "message": null, - "type": "is shorter than", - "value": 40 - }] - }, { - "field": "policyId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "proTip", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "requiresExpert", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "setupTime", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "shortName", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "slug", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }, { - "message": null, - "type": "is like", - "value": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/" - }] - }, { - "field": "tagline", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }, { - "message": null, - "type": "is longer than", - "value": 0 - }] - }, { - "field": "taxRate", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "titlePrefix", - "type": "String", - "defaultValue": "", - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "updatedAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "productTimeSlot", - "nameOld": "productTimeSlot", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "blocked", - "type": "Boolean", - "defaultValue": false, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "endDate", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "product", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "product.id", - "inverseOf": "busyTimeSlots", - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "startDate", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }], - "segments": [], - "actions": [] - }, { - "name": "project", - "nameOld": "project", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "link", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "userThroughUserProjects", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": "projectThroughUserProjects", - "relationship": "BelongsToMany", - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "pts", - "nameOld": "pts", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "coord", - "type": "Point", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "smart", - "nameOld": "smart", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": false, - "isVirtual": true, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "createdAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "string", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": false, - "isPrimaryKey": false, - "isReadOnly": true, - "isRequired": false, - "isSortable": false, - "isVirtual": true, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }, { - "name": "spa", - "nameOld": "spa", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "chenils", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "chenil.id", - "inverseOf": "spa", - "relationship": "HasMany", - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "spaName", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "test SA form SW", - "type": "bulk", - "baseUrl": null, - "endpoint": "/forest/actions/test-sa-form-sw", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "comment", - "type": "String", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null - }], - "hooks": { - "load": false, - "change": [] - } - }] - }, { - "name": "test", - "nameOld": "test", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "intrange", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }], - "segments": [], - "actions": [] - }, { - "name": "user", - "nameOld": "user", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "arrayOfTimestamp", - "type": ["Date"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "childFourtouts", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "fourtout.fourtout_id", - "inverseOf": "child", - "relationship": "HasMany", - "validations": [] - }, { - "field": "createdAt", - "type": "Dateonly", - "defaultValue": "2023-08-03", - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "createdbyFourtouts", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "fourtout.fourtout_id", - "inverseOf": "createdby", - "relationship": "HasMany", - "validations": [] - }, { - "field": "deletedByFourtouts", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "fourtout.fourtout_id", - "inverseOf": "deletedBy", - "relationship": "HasMany", - "validations": [] - }, { - "field": "dep", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "dep.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [] - }, { - "field": "giverFourtouts", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "fourtout.fourtout_id", - "inverseOf": "giver", - "relationship": "HasMany", - "validations": [] - }, { - "field": "id", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "lastModifiedByFourtouts", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "fourtout.fourtout_id", - "inverseOf": "lastModifiedBy", - "relationship": "HasMany", - "validations": [] - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "projectThroughUserProjects", - "type": ["Number"], - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "project.id", - "inverseOf": "userThroughUserProjects", - "relationship": "BelongsToMany", - "validations": [] - }], - "segments": [], - "actions": [{ - "name": "Add whatever (test)", - "type": "single", - "baseUrl": null, - "endpoint": "/forest/action/toto/tata", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "multiselect", - "type": ["Enum"], - "defaultValue": null, - "enums": [ - "unverified", - "personal", - "business", - "receive-only" - ], - "isRequired": false, - "reference": null, - "description": null, - "position": 0, - "widget": null, - "hook": "onEnumChange" - }, { - "field": "belo", - "type": "Number", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": "pets", - "description": null, - "position": 1, - "widget": "dropdown" - }], - "hooks": { - "change": ["onEnumChange"], - "load": true - } - }, { - "name": "Create pets", - "type": "single", - "baseUrl": null, - "endpoint": "/forest/actions/create-pets", - "httpMethod": "POST", - "redirect": null, - "download": false, - "fields": [{ - "field": "owner", - "type": "Number", - "defaultValue": null, - "enums": null, - "isRequired": false, - "isReadOnly": true, - "reference": "user", - "description": null, - "position": 0, - "widget": null - }, { - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "isRequired": false, - "reference": null, - "description": "Pet name", - "position": 1, - "widget": null - }], - "hooks": { - "load": true, - "change": [] - } - }] - }, { - "name": "userProject", - "nameOld": "userProject", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "createdAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "project", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "project.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [], - "foreignAndPrimaryKey": true - }, { - "field": "projectId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }, { - "field": "updatedAt", - "type": "Date", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }, { - "field": "user", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": "user.id", - "inverseOf": null, - "relationship": "BelongsTo", - "validations": [], - "foreignAndPrimaryKey": true - }, { - "field": "userId", - "type": "Number", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": true, - "isReadOnly": false, - "isRequired": true, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [{ - "message": null, - "type": "is present", - "value": null - }] - }], - "segments": [], - "actions": [] - }, { - "name": "wpk", - "nameOld": "wpk", - "icon": null, - "integration": null, - "isReadOnly": false, - "isSearchable": true, - "isVirtual": false, - "onlyForRelationships": false, - "paginationType": "page", - "fields": [{ - "field": "name", - "type": "String", - "defaultValue": null, - "enums": null, - "integration": null, - "isFilterable": true, - "isPrimaryKey": false, - "isReadOnly": false, - "isRequired": false, - "isSortable": true, - "isVirtual": false, - "reference": null, - "inverseOf": null, - "validations": [] - }], - "segments": [], - "actions": [] - }], - "meta": { - "liana": "forest-express-sequelize", - "liana_version": "9.5.2", - "stack": { - "database_type": "postgres", - "engine": "nodejs", - "engine_version": "22.11.0", - "orm_version": "6.35.2" - } - } -} \ No newline at end of file