@highstate/designer 0.4.6 → 0.5.1

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.
@@ -8691,114 +8691,114 @@ const assets$1 = {
8691
8691
  "/favicon.ico": {
8692
8692
  "type": "image/vnd.microsoft.icon",
8693
8693
  "etag": "\"10be-n8egyE9tcb7sKGr/pYCaQ4uWqxI\"",
8694
- "mtime": "2025-03-12T15:03:44.581Z",
8694
+ "mtime": "2025-03-13T16:26:39.610Z",
8695
8695
  "size": 4286,
8696
8696
  "path": "../public/favicon.ico"
8697
8697
  },
8698
8698
  "/libavoid.wasm": {
8699
8699
  "type": "application/wasm",
8700
8700
  "etag": "\"766e3-UHfBWRoZIr7ZrE8DM+K3aPbBHHs\"",
8701
- "mtime": "2025-03-12T15:03:44.581Z",
8701
+ "mtime": "2025-03-13T16:26:39.611Z",
8702
8702
  "size": 485091,
8703
8703
  "path": "../public/libavoid.wasm"
8704
8704
  },
8705
8705
  "/robots.txt": {
8706
8706
  "type": "text/plain; charset=utf-8",
8707
8707
  "etag": "\"1-rcg7GeeTSRscbqD9i0bNnzLlkvw\"",
8708
- "mtime": "2025-03-12T15:03:44.582Z",
8708
+ "mtime": "2025-03-13T16:26:39.611Z",
8709
8709
  "size": 1,
8710
8710
  "path": "../public/robots.txt"
8711
8711
  },
8712
- "/_nuxt/CiOkjSfX.js": {
8712
+ "/_nuxt/7nTnYz4C.js": {
8713
8713
  "type": "text/javascript; charset=utf-8",
8714
- "etag": "\"24e4-QX+dLX2YanPyO0Yr/qX5HKVR9fc\"",
8715
- "mtime": "2025-03-12T15:03:44.567Z",
8716
- "size": 9444,
8717
- "path": "../public/_nuxt/CiOkjSfX.js"
8714
+ "etag": "\"2e8e67-oE3JqbB4kWxZg8oXLNKbNriTLkk\"",
8715
+ "mtime": "2025-03-13T16:26:39.605Z",
8716
+ "size": 3051111,
8717
+ "path": "../public/_nuxt/7nTnYz4C.js"
8718
8718
  },
8719
- "/_nuxt/D01t-DsO.js": {
8719
+ "/_nuxt/BfQlfp01.js": {
8720
8720
  "type": "text/javascript; charset=utf-8",
8721
- "etag": "\"2e70f3-ql/syvJtrSEojfTwCEVYE8bBOLY\"",
8722
- "mtime": "2025-03-12T15:03:44.574Z",
8723
- "size": 3043571,
8724
- "path": "../public/_nuxt/D01t-DsO.js"
8721
+ "etag": "\"180-KsCBAk5p3xfPFHSJwwVUnoka86k\"",
8722
+ "mtime": "2025-03-13T16:26:39.599Z",
8723
+ "size": 384,
8724
+ "path": "../public/_nuxt/BfQlfp01.js"
8725
8725
  },
8726
- "/_nuxt/DoGffnu_.js": {
8726
+ "/_nuxt/BzpzT3Fy.js": {
8727
8727
  "type": "text/javascript; charset=utf-8",
8728
- "etag": "\"d52-N4o4E+k1ScRznGYgy+AhswCAzes\"",
8729
- "mtime": "2025-03-12T15:03:44.567Z",
8730
- "size": 3410,
8731
- "path": "../public/_nuxt/DoGffnu_.js"
8728
+ "etag": "\"24e4-yc4ii19lYH3FJSaiYJvdjAOOONo\"",
8729
+ "mtime": "2025-03-13T16:26:39.599Z",
8730
+ "size": 9444,
8731
+ "path": "../public/_nuxt/BzpzT3Fy.js"
8732
8732
  },
8733
- "/_nuxt/DtaR4eeX.js": {
8733
+ "/_nuxt/C97RHzKR.js": {
8734
8734
  "type": "text/javascript; charset=utf-8",
8735
- "etag": "\"180-Ia9MOEAehPTDWNwiGNx7gzVKSZM\"",
8736
- "mtime": "2025-03-12T15:03:44.568Z",
8737
- "size": 384,
8738
- "path": "../public/_nuxt/DtaR4eeX.js"
8735
+ "etag": "\"d52-1xqvBJmLWWu3ZbxcEGRWS2ez2sQ\"",
8736
+ "mtime": "2025-03-13T16:26:39.599Z",
8737
+ "size": 3410,
8738
+ "path": "../public/_nuxt/C97RHzKR.js"
8739
8739
  },
8740
- "/_nuxt/entry.BrXvcFAN.css": {
8740
+ "/_nuxt/entry.BQ2abehu.css": {
8741
8741
  "type": "text/css; charset=utf-8",
8742
- "etag": "\"9cb9b-am/XS0Wt6CXOZ5CMwcYqucaU+sY\"",
8743
- "mtime": "2025-03-12T15:03:44.570Z",
8744
- "size": 641947,
8745
- "path": "../public/_nuxt/entry.BrXvcFAN.css"
8742
+ "etag": "\"9cd57-K8KnihRmAyCqyqaDWgWSK+qe85c\"",
8743
+ "mtime": "2025-03-13T16:26:39.600Z",
8744
+ "size": 642391,
8745
+ "path": "../public/_nuxt/entry.BQ2abehu.css"
8746
8746
  },
8747
8747
  "/_nuxt/error-404.BJkSn6RI.css": {
8748
8748
  "type": "text/css; charset=utf-8",
8749
8749
  "etag": "\"de4-r9xtDsKTiqf+9Q1gboMnptHSjqc\"",
8750
- "mtime": "2025-03-12T15:03:44.571Z",
8750
+ "mtime": "2025-03-13T16:26:39.600Z",
8751
8751
  "size": 3556,
8752
8752
  "path": "../public/_nuxt/error-404.BJkSn6RI.css"
8753
8753
  },
8754
8754
  "/_nuxt/error-500.TOCKLquH.css": {
8755
8755
  "type": "text/css; charset=utf-8",
8756
8756
  "etag": "\"75c-UgDuztSkituCmi5v2gpTJ/CXJTw\"",
8757
- "mtime": "2025-03-12T15:03:44.570Z",
8757
+ "mtime": "2025-03-13T16:26:39.600Z",
8758
8758
  "size": 1884,
8759
8759
  "path": "../public/_nuxt/error-500.TOCKLquH.css"
8760
8760
  },
8761
8761
  "/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2": {
8762
8762
  "type": "font/woff2",
8763
8763
  "etag": "\"4f67c-W8lIr//mYzY5FU4CS/BHzz74EyY\"",
8764
- "mtime": "2025-03-12T15:03:44.571Z",
8764
+ "mtime": "2025-03-13T16:26:39.600Z",
8765
8765
  "size": 325244,
8766
8766
  "path": "../public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2"
8767
8767
  },
8768
8768
  "/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf": {
8769
8769
  "type": "font/ttf",
8770
8770
  "etag": "\"fa880-nkfshQEtwwStQS/6eMVMGW/xVqE\"",
8771
- "mtime": "2025-03-12T15:03:44.573Z",
8771
+ "mtime": "2025-03-13T16:26:39.602Z",
8772
8772
  "size": 1026176,
8773
8773
  "path": "../public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf"
8774
8774
  },
8775
8775
  "/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff": {
8776
8776
  "type": "font/woff",
8777
8777
  "etag": "\"71924-jzj1x+KrB1ZBtcEM3SXV+zN4+UU\"",
8778
- "mtime": "2025-03-12T15:03:44.576Z",
8778
+ "mtime": "2025-03-13T16:26:39.603Z",
8779
8779
  "size": 465188,
8780
8780
  "path": "../public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff"
8781
8781
  },
8782
8782
  "/_nuxt/materialdesignicons-webfont.TEmAk13K.eot": {
8783
8783
  "type": "application/vnd.ms-fontobject",
8784
8784
  "etag": "\"fa95c-6ehgxBKVuQrh1OSTYvzSxNh2cco\"",
8785
- "mtime": "2025-03-12T15:03:44.572Z",
8785
+ "mtime": "2025-03-13T16:26:39.604Z",
8786
8786
  "size": 1026396,
8787
8787
  "path": "../public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot"
8788
8788
  },
8789
8789
  "/_nuxt/builds/latest.json": {
8790
8790
  "type": "application/json",
8791
- "etag": "\"47-RYchGenlsK87OEuk3WL6su5E2PY\"",
8792
- "mtime": "2025-03-12T15:03:44.556Z",
8791
+ "etag": "\"47-elYXlTPKjssRQYC54l8LHTVLjsA\"",
8792
+ "mtime": "2025-03-13T16:26:39.587Z",
8793
8793
  "size": 71,
8794
8794
  "path": "../public/_nuxt/builds/latest.json"
8795
8795
  },
8796
- "/_nuxt/builds/meta/c96427f3-ab77-406f-bb94-426a783445eb.json": {
8796
+ "/_nuxt/builds/meta/b233a4a1-c444-4954-9cb9-94319a4da390.json": {
8797
8797
  "type": "application/json",
8798
- "etag": "\"8b-mDcJt4rKxgQ6e9dSRWvT5XKn+YI\"",
8799
- "mtime": "2025-03-12T15:03:44.550Z",
8798
+ "etag": "\"8b-tdLXMAMHHxPWM+s9N/u8LbSaF3s\"",
8799
+ "mtime": "2025-03-13T16:26:39.581Z",
8800
8800
  "size": 139,
8801
- "path": "../public/_nuxt/builds/meta/c96427f3-ab77-406f-bb94-426a783445eb.json"
8801
+ "path": "../public/_nuxt/builds/meta/b233a4a1-c444-4954-9cb9-94319a4da390.json"
8802
8802
  }
8803
8803
  };
8804
8804
 
@@ -10916,7 +10916,7 @@ function _expandFromEnv(value) {
10916
10916
  const _inlineRuntimeConfig = {
10917
10917
  "app": {
10918
10918
  "baseURL": "/",
10919
- "buildId": "c96427f3-ab77-406f-bb94-426a783445eb",
10919
+ "buildId": "b233a4a1-c444-4954-9cb9-94319a4da390",
10920
10920
  "buildAssetsDir": "/_nuxt/",
10921
10921
  "cdnURL": ""
10922
10922
  },
@@ -10943,7 +10943,9 @@ const _inlineRuntimeConfig = {
10943
10943
  }
10944
10944
  }
10945
10945
  },
10946
- "public": {}
10946
+ "public": {
10947
+ "version": "0.5.0"
10948
+ }
10947
10949
  };
10948
10950
  const envOptions = {
10949
10951
  prefix: "NITRO_",
@@ -11774,6 +11776,16 @@ const projectRouter = router({
11774
11776
  getProjects: publicProcedure.query(async ({ ctx }) => {
11775
11777
  return await ctx.projectBackend.getProjectNames();
11776
11778
  }),
11779
+ createProject: publicProcedure.input(
11780
+ z.object({
11781
+ projectId: z.string(),
11782
+ password: z.string()
11783
+ })
11784
+ ).output(z.void()).mutation(async ({ input, ctx }) => {
11785
+ var _a, _b;
11786
+ await ctx.projectBackend.createProject(input.projectId);
11787
+ await ((_b = (_a = ctx.secretBackend).unlock) == null ? void 0 : _b.call(_a, input.projectId, input.password));
11788
+ }),
11777
11789
  watchCompositeInstance: publicProcedure.input(
11778
11790
  z.object({
11779
11791
  projectId: z.string(),
@@ -12405,13 +12417,13 @@ const client_manifest = {
12405
12417
  "module": true,
12406
12418
  "prefetch": true,
12407
12419
  "preload": true,
12408
- "file": "CiOkjSfX.js",
12420
+ "file": "BzpzT3Fy.js",
12409
12421
  "name": "error-404",
12410
12422
  "src": "../node_modules/nuxt/dist/app/components/error-404.vue",
12411
12423
  "isDynamicEntry": true,
12412
12424
  "imports": [
12413
12425
  "../node_modules/nuxt/dist/app/entry.js",
12414
- "_DtaR4eeX.js"
12426
+ "_BfQlfp01.js"
12415
12427
  ],
12416
12428
  "css": [
12417
12429
  "error-404.BJkSn6RI.css"
@@ -12428,13 +12440,13 @@ const client_manifest = {
12428
12440
  "module": true,
12429
12441
  "prefetch": true,
12430
12442
  "preload": true,
12431
- "file": "DoGffnu_.js",
12443
+ "file": "C97RHzKR.js",
12432
12444
  "name": "error-500",
12433
12445
  "src": "../node_modules/nuxt/dist/app/components/error-500.vue",
12434
12446
  "isDynamicEntry": true,
12435
12447
  "imports": [
12436
12448
  "../node_modules/nuxt/dist/app/entry.js",
12437
- "_DtaR4eeX.js"
12449
+ "_BfQlfp01.js"
12438
12450
  ],
12439
12451
  "css": [
12440
12452
  "error-500.TOCKLquH.css"
@@ -12451,7 +12463,7 @@ const client_manifest = {
12451
12463
  "module": true,
12452
12464
  "prefetch": true,
12453
12465
  "preload": true,
12454
- "file": "D01t-DsO.js",
12466
+ "file": "7nTnYz4C.js",
12455
12467
  "name": "entry",
12456
12468
  "src": "../node_modules/nuxt/dist/app/entry.js",
12457
12469
  "isEntry": true,
@@ -12460,7 +12472,7 @@ const client_manifest = {
12460
12472
  "../node_modules/nuxt/dist/app/components/error-500.vue"
12461
12473
  ],
12462
12474
  "css": [
12463
- "entry.BrXvcFAN.css"
12475
+ "entry.BQ2abehu.css"
12464
12476
  ],
12465
12477
  "assets": [
12466
12478
  "materialdesignicons-webfont.TEmAk13K.eot",
@@ -12469,8 +12481,8 @@ const client_manifest = {
12469
12481
  "materialdesignicons-webfont.BpRar1d5.ttf"
12470
12482
  ]
12471
12483
  },
12472
- "entry.BrXvcFAN.css": {
12473
- "file": "entry.BrXvcFAN.css",
12484
+ "entry.BQ2abehu.css": {
12485
+ "file": "entry.BQ2abehu.css",
12474
12486
  "resourceType": "style",
12475
12487
  "prefetch": true,
12476
12488
  "preload": true
@@ -12495,12 +12507,12 @@ const client_manifest = {
12495
12507
  "resourceType": "font",
12496
12508
  "mimeType": "font/ttf"
12497
12509
  },
12498
- "_DtaR4eeX.js": {
12510
+ "_BfQlfp01.js": {
12499
12511
  "resourceType": "script",
12500
12512
  "module": true,
12501
12513
  "prefetch": true,
12502
12514
  "preload": true,
12503
- "file": "DtaR4eeX.js",
12515
+ "file": "BfQlfp01.js",
12504
12516
  "name": "vue.-sixQ7xP",
12505
12517
  "imports": [
12506
12518
  "../node_modules/nuxt/dist/app/entry.js"
@@ -1 +1 @@
1
- {"name":"@highstate/designer-prod","version":"0.4.5","type":"module","private":true,"dependencies":{"@babel/parser":"7.26.9","@trpc/server":"11.0.0-rc.808+4df1eb8fa","@unhead/dom":"1.11.19","@unhead/shared":"1.11.19","@unhead/ssr":"1.11.19","@vue/compiler-core":"3.5.13","@vue/compiler-dom":"3.5.13","@vue/compiler-ssr":"3.5.13","@vue/reactivity":"3.5.13","@vue/runtime-core":"3.5.13","@vue/runtime-dom":"3.5.13","@vue/server-renderer":"3.5.13","@vue/shared":"3.5.13","devalue":"5.1.1","entities":"4.5.0","estree-walker":"2.0.2","hookable":"5.5.3","node-mock-http":"1.0.0","packrup":"0.1.2","source-map-js":"1.2.1","ufo":"1.5.4","unhead":"1.11.19","vue":"3.5.13","vue-bundle-renderer":"2.1.1","zod":"3.24.2"}}
1
+ {"name":"@highstate/designer-prod","version":"0.5.0","type":"module","private":true,"dependencies":{"@babel/parser":"7.26.9","@trpc/server":"11.0.0-rc.808+4df1eb8fa","@unhead/dom":"1.11.19","@unhead/shared":"1.11.19","@unhead/ssr":"1.11.19","@vue/compiler-core":"3.5.13","@vue/compiler-dom":"3.5.13","@vue/compiler-ssr":"3.5.13","@vue/reactivity":"3.5.13","@vue/runtime-core":"3.5.13","@vue/runtime-dom":"3.5.13","@vue/server-renderer":"3.5.13","@vue/shared":"3.5.13","devalue":"5.1.1","entities":"4.5.0","estree-walker":"2.0.2","hookable":"5.5.3","node-mock-http":"1.0.0","packrup":"0.1.2","source-map-js":"1.2.1","ufo":"1.5.4","unhead":"1.11.19","vue":"3.5.13","vue-bundle-renderer":"2.1.1","zod":"3.24.2"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highstate/designer",
3
- "version": "0.4.6",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
@@ -19,9 +19,10 @@
19
19
  "@codemirror/lang-json": "^6.0.1",
20
20
  "@codemirror/theme-one-dark": "^6.1.2",
21
21
  "@dagrejs/dagre": "^1.1.4",
22
- "@highstate/backend": "^0.4.6",
23
- "@highstate/contract": "^0.4.6",
22
+ "@highstate/backend": "^0.5.1",
23
+ "@highstate/contract": "^0.5.1",
24
24
  "@iconify/vue": "^4.1.2",
25
+ "@mdi/font": "5",
25
26
  "@nuxt/eslint": "0.7.2",
26
27
  "@pinia/nuxt": "0.8.0",
27
28
  "@trpc/client": "^11.0.0-rc.660",
@@ -39,11 +40,17 @@
39
40
  "async-mutex": "^0.5.0",
40
41
  "codemirror": "^6.0.1",
41
42
  "dockview-vue": "^2.0.0",
43
+ "dompurify": "^3.2.4",
42
44
  "eslint": "^9.17.0",
43
45
  "flexsearch": "^0.7.43",
46
+ "highlight.js": "^11.11.1",
47
+ "libavoid-js": "^0.4.2",
48
+ "marked": "^15.0.7",
49
+ "marked-highlight": "^2.2.1",
44
50
  "nanoid": "^5.0.9",
45
51
  "nuxt": "^3.14.1592",
46
52
  "pinia": "^2.2.7",
53
+ "pino": "^9.6.0",
47
54
  "pino-pretty": "^13.0.0",
48
55
  "qrcode": "^1.5.4",
49
56
  "remeda": "^2.21.0",
@@ -57,14 +64,9 @@
57
64
  "ws": "^8.18.0",
58
65
  "zod": "^3.23.8"
59
66
  },
60
- "dependencies": {
61
- "@mdi/font": "5",
62
- "dompurify": "^3.2.4",
63
- "highlight.js": "^11.11.1",
64
- "libavoid-js": "^0.4.2",
65
- "marked": "^15.0.7",
66
- "marked-highlight": "^2.2.1",
67
- "pino": "^9.6.0"
67
+ "peerDependencies": {
68
+ "@highstate/backend": "^0.4.5",
69
+ "@highstate/contract": "^0.4.5"
68
70
  },
69
- "gitHead": "dbb1d8125884cfe3a9d95df2e0710333c01c7edf"
71
+ "gitHead": "4ee64a0eebcb655746fa591ebf8e82199cf9e5d5"
70
72
  }
@@ -1 +0,0 @@
1
- {"id":"c96427f3-ab77-406f-bb94-426a783445eb","timestamp":1741791790038,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}