Add descriptions to fields
continuous-integration/drone/push Build is failing Details

This commit is contained in:
toqvist 2024-04-07 22:21:20 +02:00
parent f30199e5f8
commit cf33c001db
3 changed files with 11 additions and 3 deletions

View File

@ -17,7 +17,9 @@ const Dispatches: CollectionConfig = {
required: true,
maxLength: 20,
unique: true,
label: "Code, a unique name for the dispatch"
admin: {
description: "A unique identifier for the dispatch"
}
},
{
name: 'products',

View File

@ -28,7 +28,10 @@ const Makers: CollectionConfig = {
name: 'location',
type: 'point',
label: 'Location',
required: true
required: true,
admin: {
description: "Get latitude and longitude values for your location with https://www.latlong.net/"
}
},
{
name: 'admins',

View File

@ -29,7 +29,10 @@ const Retailers: CollectionConfig = {
name: 'location',
type: 'point',
label: 'Location',
required: true
required: true,
admin: {
description: "Get latitude and longitude values for your location with https://www.latlong.net/"
}
},
{
name: 'admins',