121 lines
2.8 KiB
JSON
121 lines
2.8 KiB
JSON
{
|
|
"name": "Mercedes-Benz MYP Platform",
|
|
"short_name": "MYP Platform",
|
|
"description": "Mercedes-Benz 3D-Druck Management System",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"background_color": "#000000",
|
|
"theme_color": "#000000",
|
|
"orientation": "portrait-primary",
|
|
"scope": "/",
|
|
"lang": "de",
|
|
"categories": ["productivity", "business"],
|
|
"icons": [
|
|
{
|
|
"src": "/static/icons/icon-72x72.png",
|
|
"sizes": "72x72",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-128x128.png",
|
|
"sizes": "128x128",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-144x144.png",
|
|
"sizes": "144x144",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-152x152.png",
|
|
"sizes": "152x152",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-384x384.png",
|
|
"sizes": "384x384",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/icons/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Dashboard",
|
|
"short_name": "Dashboard",
|
|
"description": "Öffne das Haupt-Dashboard",
|
|
"url": "/dashboard",
|
|
"icons": [{ "src": "/static/icons/icon-96x96.png", "sizes": "96x96" }]
|
|
},
|
|
{
|
|
"name": "Neue Anfrage",
|
|
"short_name": "Neue Anfrage",
|
|
"description": "Erstelle eine neue Gastanfrage",
|
|
"url": "/guest/request",
|
|
"icons": [{ "src": "/static/icons/icon-96x96.png", "sizes": "96x96" }]
|
|
}
|
|
],
|
|
"screenshots": [],
|
|
"prefer_related_applications": false,
|
|
"edge_side_panel": {
|
|
"preferred_width": 400
|
|
},
|
|
"launch_handler": {
|
|
"client_mode": "navigate-existing"
|
|
},
|
|
"protocol_handlers": [
|
|
{
|
|
"protocol": "web+myp",
|
|
"url": "/handle?url=%s"
|
|
}
|
|
],
|
|
"file_handlers": [
|
|
{
|
|
"action": "/jobs/upload",
|
|
"accept": {
|
|
"model/gcode": [".gcode", ".g"],
|
|
"model/stl": [".stl"],
|
|
"model/obj": [".obj"],
|
|
"model/3mf": [".3mf"]
|
|
}
|
|
}
|
|
],
|
|
"share_target": {
|
|
"action": "/jobs/share",
|
|
"method": "POST",
|
|
"enctype": "multipart/form-data",
|
|
"params": {
|
|
"title": "title",
|
|
"text": "text",
|
|
"url": "url",
|
|
"files": [
|
|
{
|
|
"name": "files",
|
|
"accept": ["model/gcode", "model/stl", "model/obj", "model/3mf"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"offline_enabled": true
|
|
} |