Add descriptions to fields
Some checks failed
continuous-integration/drone/push Build is failing

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, required: true,
maxLength: 20, maxLength: 20,
unique: true, unique: true,
label: "Code, a unique name for the dispatch" admin: {
description: "A unique identifier for the dispatch"
}
}, },
{ {
name: 'products', name: 'products',

View File

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

View File

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