@coffer-org/plugin-transit 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bus_route/index.js +2 -1
- package/dist/schema.js +9 -4
- package/package.json +1 -1
package/dist/bus_route/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export default defineShelf({
|
|
|
10
10
|
},
|
|
11
11
|
fields: [
|
|
12
12
|
field.title({ key: 'name', label: 'core.fields.name' }),
|
|
13
|
+
field.text({ key: 'description', label: 'transit.bus_route.fields.description', rules: { max: 1000 } }),
|
|
13
14
|
field.int({ key: 'route_number', label: 'transit.bus_route.fields.route_number' }),
|
|
14
15
|
field.string({ key: 'from', label: 'transit.bus_route.fields.from', rules: { max: 100 } }),
|
|
15
16
|
field.string({ key: 'to', label: 'transit.bus_route.fields.to', rules: { max: 100 } }),
|
|
@@ -17,7 +18,7 @@ export default defineShelf({
|
|
|
17
18
|
field.time({ key: 'weekday_times', label: 'transit.bus_route.fields.weekday_times', multiple: true }),
|
|
18
19
|
field.time({ key: 'saturday_times', label: 'transit.bus_route.fields.saturday_times', multiple: true }),
|
|
19
20
|
field.time({ key: 'sunday_times', label: 'transit.bus_route.fields.sunday_times', multiple: true }),
|
|
20
|
-
field.text({ key: 'notes', label: 'transit.bus_route.fields.notes', rules: { max: 500 } }),
|
|
21
21
|
field.tags({ key: 'tags', label: 'transit.bus_route.fields.tags' }),
|
|
22
|
+
field.text({ key: 'notes', label: 'transit.bus_route.fields.notes', rules: { max: 500 } }),
|
|
22
23
|
],
|
|
23
24
|
});
|
package/dist/schema.js
CHANGED
|
@@ -7987,6 +7987,11 @@ var bus_route_default = defineShelf({
|
|
|
7987
7987
|
key: "name",
|
|
7988
7988
|
label: "core.fields.name"
|
|
7989
7989
|
}),
|
|
7990
|
+
field.text({
|
|
7991
|
+
key: "description",
|
|
7992
|
+
label: "transit.bus_route.fields.description",
|
|
7993
|
+
rules: { max: 1e3 }
|
|
7994
|
+
}),
|
|
7990
7995
|
field.int({
|
|
7991
7996
|
key: "route_number",
|
|
7992
7997
|
label: "transit.bus_route.fields.route_number"
|
|
@@ -8021,14 +8026,14 @@ var bus_route_default = defineShelf({
|
|
|
8021
8026
|
label: "transit.bus_route.fields.sunday_times",
|
|
8022
8027
|
multiple: true
|
|
8023
8028
|
}),
|
|
8029
|
+
field.tags({
|
|
8030
|
+
key: "tags",
|
|
8031
|
+
label: "transit.bus_route.fields.tags"
|
|
8032
|
+
}),
|
|
8024
8033
|
field.text({
|
|
8025
8034
|
key: "notes",
|
|
8026
8035
|
label: "transit.bus_route.fields.notes",
|
|
8027
8036
|
rules: { max: 500 }
|
|
8028
|
-
}),
|
|
8029
|
-
field.tags({
|
|
8030
|
-
key: "tags",
|
|
8031
|
-
label: "transit.bus_route.fields.tags"
|
|
8032
8037
|
})
|
|
8033
8038
|
]
|
|
8034
8039
|
});
|