Editor Support

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jason
2026-05-05 15:42:30 -05:00
parent 9f7c078ccc
commit 29154bd651
32 changed files with 3698 additions and 17 deletions
+215
View File
@@ -0,0 +1,215 @@
{
"locations": [
{
"code": "IOLA",
"name": "Iola"
},
{
"code": "LINDS",
"name": "Lindsborg"
},
{
"code": "KC",
"name": "Kansas City"
},
{
"code": "BMD",
"name": "BMD"
}
],
"statuses": [
{
"value": "default",
"label": "Default"
},
{
"value": "discontinued",
"label": "Discontinued"
},
{
"value": "hidden",
"label": "Hide"
}
],
"productTypes": [
{
"id": "storm_door",
"type": "Storm Door",
"category": "STORMS",
"baseType": "Door",
"subType": "Storm Door",
"availableMaterials": ["Aluminum", "Steel"],
"availableColors": ["White", "Bronze", "Black", "Sandstone"],
"additionalOptions": []
},
{
"id": "storm_window",
"type": "Storm Window",
"category": "STORMS",
"baseType": "Window",
"subType": "Storm Window",
"availableMaterials": ["Aluminum"],
"availableColors": ["White", "Bronze", "Black", "Sandstone"],
"additionalOptions": []
},
{
"id": "primary_window",
"type": "Primary Window",
"category": "SHPT",
"baseType": "Window",
"subType": "Primary Window",
"availableMaterials": ["Vinyl", "Aluminum"],
"availableColors": ["White", "Bronze", "Mill"],
"additionalOptions": []
},
{
"id": "sliding_window",
"type": "Sliding Window",
"category": "SHPW",
"baseType": "Window",
"subType": "Sliding Window",
"availableMaterials": ["Vinyl", "Aluminum"],
"availableColors": ["White", "Bronze", "Mill"],
"additionalOptions": []
},
{
"id": "fixed_lite",
"type": "Fixed Lite",
"category": "FPPW",
"baseType": "Window",
"subType": "Fixed Lite",
"availableMaterials": ["Vinyl", "Aluminum"],
"availableColors": ["White", "Bronze", "Mill"],
"additionalOptions": []
},
{
"id": "casement",
"type": "Casement",
"category": "CASEMNT",
"baseType": "Window",
"subType": "Casement",
"availableMaterials": ["Aluminum"],
"availableColors": ["White", "Bronze"],
"additionalOptions": ["1-Panel", "2-Panel", "3-Panel"]
},
{
"id": "double_hung",
"type": "Double Hung",
"category": "3000DHP",
"baseType": "Window",
"subType": "Double Hung",
"availableMaterials": ["Aluminum"],
"availableColors": ["White", "Bronze"],
"additionalOptions": ["Thermal Break", "Standard"]
},
{
"id": "screen_door",
"type": "Screen Door",
"category": "SCREENS",
"baseType": "Door",
"subType": "Screen Door",
"availableMaterials": ["Aluminum"],
"availableColors": ["White", "Bronze", "Black"],
"additionalOptions": ["Self-Storing", "Fixed"]
}
],
"allMaterials": [
"Aluminum",
"Vinyl",
"Steel",
"Wood",
"Fiberglass"
],
"allColors": [
"White",
"Black",
"Bronze",
"Sandstone",
"Mill",
"Almond",
"Clay",
"Gray"
],
"categories": [
{
"code": "STORMS",
"label": "Storm Products"
},
{
"code": "SHPW",
"label": "Single Hung Primary Windows"
},
{
"code": "SHPT",
"label": "Single Hung Primary Tilt"
},
{
"code": "FPPW",
"label": "Fixed Picture Primary Windows"
},
{
"code": "CASEMNT",
"label": "Casement Windows"
},
{
"code": "3000DHP",
"label": "3000 Series Double Hung Primary"
},
{
"code": "3000FPP",
"label": "3000 Series Fixed Picture Primary"
},
{
"code": "SCREENS",
"label": "Screen Doors"
}
],
"codeModifiers": {
"prefixes": [
{
"id": "replacement",
"label": "Replacement (R-)",
"value": "R",
"appliesTo": ["Window"],
"description": "For replacement windows"
},
{
"id": "new_construction",
"label": "New Construction (N-)",
"value": "N",
"appliesTo": ["Window"],
"description": "For new construction windows"
}
],
"suffixes": [
{
"id": "kickplate",
"label": "Kick Plate (KP)",
"value": "KP",
"appliesTo": ["Door"],
"description": "Add kick plate to door"
},
{
"id": "vent",
"label": "Vent (V)",
"value": "V",
"appliesTo": ["Door"],
"description": "Add vent to door"
},
{
"id": "screen",
"label": "Screen (SCR)",
"value": "SCR",
"appliesTo": ["Door", "Window"],
"description": "Include screen"
},
{
"id": "tempered",
"label": "Tempered Glass (T)",
"value": "T",
"appliesTo": ["Door", "Window"],
"description": "Tempered glass option"
}
]
}
}
+35 -1
View File
@@ -40,7 +40,41 @@
"Sandstone"
],
"isAccessory": false,
"compatibleAccessories": []
"compatibleAccessories": [],
"imageConfig": {
"useCanvasAPI": true
}
},
{
"id": "404R",
"productCode": "404R",
"category": "STORMS",
"description": "#404 FALCON STORM WINDOWS (RIGHT-HINGE)",
"discontinued": false,
"location": "Iola",
"baseType": "Window",
"subType": {
"door": null,
"window": "Storm Window"
},
"materials": [
"Aluminum"
],
"colors": [
"Black",
"White",
"Bronze",
"Sandstone"
],
"isAccessory": false,
"compatibleAccessories": [],
"imageConfig": {
"useCanvasAPI": true,
"layerTransforms": {
"door": "flip-horizontal",
"hardware": "flip-horizontal"
}
}
},
{
"id": "450",
+3 -1
View File
@@ -4,7 +4,8 @@
"password": "pbkdf2:sha256:1000000$tPRmseRGKLveXTxS$87eda9a20db29d12838fcb607f1f3536141f743ec9879702dc2a0dd893b4078d",
"defaultLocation": "KC",
"permissions": {
"manage_users": true
"manage_users": true,
"manage_products": true
},
"locationSettings": {
"LINDS": {
@@ -39,6 +40,7 @@
},
"permissions": {
"manage_users": true,
"manage_products": true,
"create_quotes": true
},
"active": true