From 42629cb1936c3cb4b5b92247ddd6f63280b8e784 Mon Sep 17 00:00:00 2001 From: CODEX Date: Sat, 20 Jun 2026 21:56:16 +0300 Subject: [PATCH] Update BIM local project data fixtures --- server/data/comments/index.json | 100 ++++++++++++++++++ server/data/projects/index.json | 2 +- ..._0a284bb5-1c82-48b1-a636-e204578a570a.json | 37 +++++-- 3 files changed, 127 insertions(+), 12 deletions(-) create mode 100644 server/data/comments/index.json diff --git a/server/data/comments/index.json b/server/data/comments/index.json new file mode 100644 index 0000000..2aa9c74 --- /dev/null +++ b/server/data/comments/index.json @@ -0,0 +1,100 @@ +[ + { + "id": "cmt_WugIB9w6U8jhk1qOHew", + "sourceKey": "nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2:legacy_572b02d5d4c05ce512d6", + "sourceSrc": "uploads/nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2/Final_Assembly.STEP", + "projectId": "nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2", + "assetId": "legacy_572b02d5d4c05ce512d6", + "modelId": "model", + "objectId": "407", + "title": "2", + "body": "2", + "subitems": [], + "worldPos": [ + -0.016629892462037388, + 0.03852343379522116, + -0.518901357060331 + ], + "createdAt": "2026-06-20T16:16:16.607Z", + "updatedAt": "2026-06-20T16:16:16.607Z", + "createdBy": { + "id": "local-dev", + "email": null, + "name": "Local BIM user", + "subject": null, + "authentikUserId": null + }, + "messages": [ + { + "id": "msg_d5ioR6S1xqv2lg", + "body": "2", + "attachments": [], + "createdAt": "2026-06-20T16:16:16.607Z", + "updatedAt": "2026-06-20T16:16:16.607Z", + "createdBy": { + "id": "local-dev", + "email": null, + "name": "Local BIM user", + "subject": null, + "authentikUserId": null + } + } + ] + }, + { + "id": "cmt_y_t1tTNgNa1SJA43-No", + "sourceKey": "nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2:legacy_572b02d5d4c05ce512d6", + "sourceSrc": "uploads/nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2/Final_Assembly.STEP", + "projectId": "nodedc_c2f0a08f-3f98-446a-94e9-c7b91ee95611_32e82d59-f15f-49b1-ba36-de2f8cc9ebc2", + "assetId": "legacy_572b02d5d4c05ce512d6", + "modelId": "model", + "objectId": "401", + "title": "1", + "body": "1", + "subitems": [], + "worldPos": [ + -0.0010763776897612098, + -0.00014665442142014137, + -0.00001253560767433548 + ], + "createdAt": "2026-06-20T16:15:03.218Z", + "updatedAt": "2026-06-20T16:47:23.780Z", + "createdBy": { + "id": "local-dev", + "email": null, + "name": "Local BIM user", + "subject": null, + "authentikUserId": null + }, + "messages": [ + { + "id": "msg_qaFqDoGumOeJ1g", + "body": "1", + "attachments": [], + "createdAt": "2026-06-20T16:15:03.218Z", + "updatedAt": "2026-06-20T16:15:03.218Z", + "createdBy": { + "id": "local-dev", + "email": null, + "name": "Local BIM user", + "subject": null, + "authentikUserId": null + } + }, + { + "id": "msg_aAr0GFHSrUjeQw", + "body": "пиевив", + "attachments": [], + "createdAt": "2026-06-20T16:47:23.780Z", + "updatedAt": "2026-06-20T16:47:23.780Z", + "createdBy": { + "id": "local-dev", + "email": null, + "name": "Local BIM user", + "subject": null, + "authentikUserId": null + } + } + ] + } +] diff --git a/server/data/projects/index.json b/server/data/projects/index.json index 03dd650..6fc26af 100644 --- a/server/data/projects/index.json +++ b/server/data/projects/index.json @@ -5,7 +5,7 @@ "type": "project", "ownerId": null, "createdAt": "2026-06-05T13:33:23.556Z", - "updatedAt": "2026-06-05T13:33:23.556Z" + "updatedAt": "2026-06-20T16:53:27.436Z" }, { "id": "proj_0c1b26f3-020c-4ee9-926c-fedf08003304", diff --git a/server/data/projects/proj_0a284bb5-1c82-48b1-a636-e204578a570a.json b/server/data/projects/proj_0a284bb5-1c82-48b1-a636-e204578a570a.json index 2d25e1b..4e2dc9e 100644 --- a/server/data/projects/proj_0a284bb5-1c82-48b1-a636-e204578a570a.json +++ b/server/data/projects/proj_0a284bb5-1c82-48b1-a636-e204578a570a.json @@ -3,7 +3,7 @@ "name": "DRONE", "type": "project", "createdAt": "2026-06-05T13:33:23.556Z", - "updatedAt": "2026-06-05T13:33:23.556Z", + "updatedAt": "2026-06-20T16:53:27.436Z", "ownerId": null, "shares": [], "models": [ @@ -24,19 +24,19 @@ "viewerState": { "camera": { "eye": [ - 0.00010965801538165287, - 0.010159958762113674, - 1.2885417934859191 + -0.3470755265527011, + 0.20168643298944608, + 0.34824520869461856 ], "look": [ - 0.00010965801538165287, - 0.010159958762113674, - -0.4406459172923821 + -0.01809624637167012, + -0.014447461123117594, + -0.15640939974292462 ], "up": [ - 0, - 1, - 0 + 0.18441935979386925, + 0.941253080967919, + -0.28289951803002283 ], "projection": "perspective" }, @@ -126,7 +126,22 @@ "measureLine": "#c4ff67", "measureLabel": "#c4ff67", "measureLabelText": "#292929", - "measureDot": "#c4ff67" + "measureDot": "#c4ff67", + "sectionAxisX": "#ff2b2b", + "sectionAxisY": "#35ff4f", + "sectionAxisZ": "#285bff", + "sectionGizmoDiameter": 1, + "sectionGizmoThickness": 1, + "sectionPlaneFill": "#606060", + "sectionPlaneAlpha": 0.32, + "sectionPlaneEdge": "#0d0d0d", + "sectionPlaneEdgeAlpha": 0.8, + "commentTargetActiveColor": "#c4ff67", + "commentTargetActiveAlpha": 1, + "commentTargetActiveSize": 45, + "commentTargetPassiveColor": "#262626", + "commentTargetPassiveAlpha": 0.58, + "commentTargetPassiveSize": 28 }, "meta": { "description": "",