@GuillaumeGautreau In staging environment,
I am attaching .forestadmin-schema.json (authUser & accountingWallet only)
also I am attaching content for the collections of authUser and accountingWallet below
.forestadmin-schema.json
{
"collections": [
{
"name": "accountingWallet",
"nameOld": "accountingWallet",
"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": "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": "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": "transferwiseAccountId",
"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": "userId",
"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
}
]
}
],
"segments": [],
"actions": []
},
{
"name": "authUser",
"nameOld": "authUser",
"icon": null,
"integration": null,
"isReadOnly": false,
"isSearchable": true,
"isVirtual": false,
"onlyForRelationships": false,
"paginationType": "page",
"fields": [
{
"field": "email",
"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": "firstName",
"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": "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": "isActive",
"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": "isStaff",
"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": "isSuperuser",
"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": "lastName",
"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": "password",
"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": "username",
"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": "languageCode",
"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": "organisationName",
"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": "type",
"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": "isReceiver",
"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": "deactivated",
"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": "walletId",
"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": "merchantUid",
"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": "merchantStatus",
"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": "complianceStatus",
"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": "bankAccountUid",
"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": "bankAccountStatus",
"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": "bankAccountStatus",
"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": "fundraisers",
"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": "donationsReceived",
"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": "completedTransaction",
"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": []
},
],
"meta": {
"liana": "forest-express-sequelize",
"liana_version": "8.5.14",
"stack": {
"database_type": "mysql",
"engine": "nodejs",
"engine_version": "16.17.0",
"orm_version": "5.15.2"
}
}
}
authUser Collection
collection("authUser", {
actions: [],
fields: [
],
segments: [],
});
accountingWallet Collection
const { collection } = require('forest-express-sequelize');
collection('accountingWallet', {
actions: [],
fields: [],
segments: [],
});