added sample items to the development environment

Co-authored-by: Anton Tranelis
<31516529+antontranelis@users.noreply.github.com>
This commit is contained in:
Ulf Gebhardt 2025-09-02 15:24:40 +02:00
parent 8bd1a5c1a2
commit 5372068a75
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
4 changed files with 82 additions and 4 deletions

View File

@ -0,0 +1,43 @@
{
"collection": "items",
"meta": {
"insert_order": 1,
"create": true,
"update": true,
"delete": true,
"preserve_ids": false,
"ignore_on_update": []
},
"data": [
{
"_sync_id": "item-places-1",
"name": "Welcome to Utopia Map",
"subname" : "The opensource collaborative mapping plattform",
"text": "Check out our [GitHub](https://github.com/utopia-os/utopia-map)!",
"position": {
"type": "Point",
"coordinates": [
10.067625824315172,
50.51565268622562
]
},
"layer" : "layer-places"
},
{
"_sync_id": "item-event-1",
"name": "Some Event",
"subname" : "The opensource collaborative mapping plattform",
"text": "Check out our [GitHub](https://github.com/utopia-os/utopia-map)!",
"position": {
"type": "Point",
"coordinates": [
11.067625824315172,
51.51565268622562
]
},
"layer" : "layer-events",
"start": "2025-08-14T12:00:00",
"end": "2027-06-25T12:00:00"
}
]
}

View File

@ -12,9 +12,24 @@
{
"_sync_id": "layer-places",
"name": "Places",
"itemType": "type-test",
"itemType": "type-simple",
"userProfileLayer": false,
"menuColor": "#2ECDA7",
"markerShape" : "circle",
"markerDefaultColor2": null,
"onlyOnePerOwner": false,
"index_plus_button": true,
"public_edit_items": false,
"listed": true,
"item_presets": null
},
{
"_sync_id": "layer-events",
"name": "Events",
"itemType": "type-event",
"userProfileLayer": false,
"menuColor": "#6644FF",
"markerShape" : "square",
"markerDefaultColor2": null,
"onlyOnePerOwner": false,
"index_plus_button": true,

View File

@ -13,6 +13,11 @@
"_sync_id": "layer-places-map-local-development",
"layers_id": "layer-places",
"maps_id": "map-local-development"
},
{
"_sync_id": "layer-events-map-local-development",
"layers_id": "layer-events",
"maps_id": "map-local-development"
}
]
}

View File

@ -10,13 +10,28 @@
},
"data": [
{
"_sync_id": "type-test",
"_sync_id": "type-simple",
"name": "simple",
"user_created": null,
"date_created": "2025-01-01T00:00:00.000Z",
"user_updated": null,
"date_updated": null,
"name": "test",
"template": "flex"
"template": "simple",
"show_text": true,
"show_profile_button" : true,
"show_start_end" : false
},
{
"_sync_id": "type-event",
"name": "event",
"user_created": null,
"date_created": "2025-01-01T00:00:00.000Z",
"user_updated": null,
"date_updated": null,
"template": "tabs",
"show_text": true,
"show_profile_button" : true,
"show_start_end" : true
}
]
}