@selvajs/selva 4.21.0-beta.10 → 4.21.0-beta.11
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.
- package/build/adapter-node.js +1 -1
- package/build/client/_app/immutable/assets/0.DJ150bSr.css +2 -0
- package/build/client/_app/immutable/assets/0.DJ150bSr.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DJ150bSr.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{DptnDNFA.js → B3BHv1lE.js} +99 -99
- package/build/client/_app/immutable/chunks/B3BHv1lE.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3BHv1lE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D5j4-ZO1.js → BEPlNI5E.js} +1 -1
- package/build/client/_app/immutable/chunks/BEPlNI5E.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEPlNI5E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSN2qO1R.js +1 -0
- package/build/client/_app/immutable/chunks/BSN2qO1R.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSN2qO1R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CcWwBvi8.js → CBf5ToEX.js} +1 -1
- package/build/client/_app/immutable/chunks/CBf5ToEX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBf5ToEX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSy_25b1.js +55 -0
- package/build/client/_app/immutable/chunks/CSy_25b1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSy_25b1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{zJ-SFdYZ.js → DIOXhUNn.js} +1 -1
- package/build/client/_app/immutable/chunks/DIOXhUNn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIOXhUNn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQbsDiDJ.js +1 -0
- package/build/client/_app/immutable/chunks/DQbsDiDJ.js.br +1 -0
- package/build/client/_app/immutable/chunks/DQbsDiDJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{qXnHMKD9.js → Dqy8nTaG.js} +1 -1
- package/build/client/_app/immutable/chunks/Dqy8nTaG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dqy8nTaG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CKbHmAlc.js → cUJB_11K.js} +1 -1
- package/build/client/_app/immutable/chunks/cUJB_11K.js.br +0 -0
- package/build/client/_app/immutable/chunks/cUJB_11K.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DPbjEDd3.js → app.B3im90t6.js} +2 -2
- package/build/client/_app/immutable/entry/app.B3im90t6.js.br +0 -0
- package/build/client/_app/immutable/entry/app.B3im90t6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.NPUXRN3p.js +5 -0
- package/build/client/_app/immutable/nodes/11.NPUXRN3p.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.NPUXRN3p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.C0vWxAsK.js +36 -0
- package/build/client/_app/immutable/nodes/15.C0vWxAsK.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.C0vWxAsK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.D7-QOesS.js → 16.BE4OfH4C.js} +1 -1
- package/build/client/_app/immutable/nodes/16.BE4OfH4C.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BE4OfH4C.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.CS32Eh9m.js → 2.bCPP2ncY.js} +1 -1
- package/build/client/_app/immutable/nodes/2.bCPP2ncY.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.bCPP2ncY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.CVaxGEhZ.js → 20.DI5Eri_M.js} +1 -1
- package/build/client/_app/immutable/nodes/20.DI5Eri_M.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.DI5Eri_M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BI8SjY_r.js +1 -0
- package/build/client/_app/immutable/nodes/21.BI8SjY_r.js.br +1 -0
- package/build/client/_app/immutable/nodes/21.BI8SjY_r.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.BRm8FzmQ.js +42 -0
- package/build/client/_app/immutable/nodes/25.BRm8FzmQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.BRm8FzmQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{30.BBuL_XNB.js → 30.B6pd-F-z.js} +1 -1
- package/build/client/_app/immutable/nodes/30.B6pd-F-z.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.B6pd-F-z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{35.De6sleaH.js → 35.BPmyLjFW.js} +1 -1
- package/build/client/_app/immutable/nodes/35.BPmyLjFW.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.BPmyLjFW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.Wh_w3RkZ.js → 5.BUX4zZQj.js} +1 -1
- package/build/client/_app/immutable/nodes/5.BUX4zZQj.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BUX4zZQj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.C-DiUI5R.js → 6.BpjtFwPi.js} +1 -1
- package/build/client/_app/immutable/nodes/6.BpjtFwPi.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BpjtFwPi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.B8yubYrv.js → 7.hBM6C-wN.js} +1 -1
- package/build/client/_app/immutable/nodes/7.hBM6C-wN.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.hBM6C-wN.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/runtime-meta.json +1 -1
- package/build/server/.vite/manifest.json +170 -102
- package/build/server/_app/immutable/assets/_layout.DJ150bSr.css +2 -0
- package/build/server/chunks/AppHeader.js +1 -1
- package/build/server/chunks/Callout.js +1 -1
- package/build/server/chunks/DefinitionCard.js +1 -1
- package/build/server/chunks/ErrorScreen.js +1 -1
- package/build/server/chunks/FilterableDropdown.js +1 -1
- package/build/server/chunks/SettingsMenu.js +1 -1
- package/build/server/chunks/SideNav.js +1 -1
- package/build/server/chunks/access2.server.js +1 -1
- package/build/server/chunks/activity.js +1 -1
- package/build/server/chunks/alert-dialog.js +1 -1
- package/build/server/chunks/api-errors.js +1 -1
- package/build/server/chunks/api.js +3 -32
- package/build/server/chunks/api.js.map +1 -1
- package/build/server/chunks/arrow-left.js +1 -1
- package/build/server/chunks/arrow-right.js +1 -1
- package/build/server/chunks/badge.js +1 -1
- package/build/server/chunks/bodies.js +37 -0
- package/build/server/chunks/bodies.js.map +1 -0
- package/build/server/chunks/building-complex.js +1 -1
- package/build/server/chunks/button.js +1 -1
- package/build/server/chunks/card-content.js +1 -1
- package/build/server/chunks/card-description.js +1 -1
- package/build/server/chunks/card-header.js +1 -1
- package/build/server/chunks/card-title.js +1 -1
- package/build/server/chunks/chevron-down.js +1 -1
- package/build/server/chunks/chevron-left.js +1 -1
- package/build/server/chunks/chevron-right.js +1 -1
- package/build/server/chunks/chevron-up.js +1 -1
- package/build/server/chunks/circle.js +1 -1
- package/build/server/chunks/copy.js +1 -1
- package/build/server/chunks/dialog.js +1 -1
- package/build/server/chunks/diff.js +275 -0
- package/build/server/chunks/diff.js.map +1 -0
- package/build/server/chunks/external-link.js +1 -1
- package/build/server/chunks/folder-kanban.js +1 -1
- package/build/server/chunks/folder-open.js +1 -1
- package/build/server/chunks/folders.js +1 -1
- package/build/server/chunks/gauge.js +1 -1
- package/build/server/chunks/grasshopper.js +2 -1
- package/build/server/chunks/grasshopper.js.map +1 -1
- package/build/server/chunks/handlers.js +243 -78
- package/build/server/chunks/handlers.js.map +1 -1
- package/build/server/chunks/input-group.js +1 -1
- package/build/server/chunks/input.js +1 -1
- package/build/server/chunks/instance.js +3 -3
- package/build/server/chunks/instanceAdmins.server.js +1 -1
- package/build/server/chunks/internal.js +1 -1
- package/build/server/chunks/inventory.js +395 -0
- package/build/server/chunks/inventory.js.map +1 -0
- package/build/server/chunks/keepalive-vtcjhAV3.js +2 -21
- package/build/server/chunks/keepalive-vtcjhAV3.js.map +1 -1
- package/build/server/chunks/key-round.js +1 -1
- package/build/server/chunks/label.js +1 -1
- package/build/server/chunks/link-2.js +1 -1
- package/build/server/chunks/mail.js +1 -1
- package/build/server/chunks/minus.js +1 -1
- package/build/server/chunks/package.js +1 -1
- package/build/server/chunks/package.js.map +1 -1
- package/build/server/chunks/plus.js +1 -1
- package/build/server/chunks/popper-layer-force-mount.js +1 -1
- package/build/server/chunks/presets.server.js +1 -1
- package/build/server/chunks/providers.server.js +43 -17
- package/build/server/chunks/providers.server.js.map +1 -1
- package/build/server/chunks/refresh-cw.js +1 -1
- package/build/server/chunks/registry.js +68 -4
- package/build/server/chunks/registry.js.map +1 -1
- package/build/server/chunks/resolve-server.js +2 -2
- package/build/server/chunks/rotate-ccw.js +1 -1
- package/build/server/chunks/schema-extraction.js +45 -4
- package/build/server/chunks/schema-extraction.js.map +1 -1
- package/build/server/chunks/scroll-text.js +1 -1
- package/build/server/chunks/search.js +1 -1
- package/build/server/chunks/search2.js +1 -1
- package/build/server/chunks/select.js +1 -1
- package/build/server/chunks/separator.js +19 -7
- package/build/server/chunks/separator.js.map +1 -1
- package/build/server/chunks/server4.js +1 -1
- package/build/server/chunks/settings.js +1 -1
- package/build/server/chunks/severity.js +1 -1
- package/build/server/chunks/shield-check.js +1 -1
- package/build/server/chunks/shield.js +1 -1
- package/build/server/chunks/solve.server.js +1 -1
- package/build/server/chunks/star.js +1 -1
- package/build/server/chunks/sveltekit.js +1 -1
- package/build/server/chunks/tabs-trigger.js +1 -1
- package/build/server/chunks/textarea.js +1 -1
- package/build/server/chunks/toggle-group-item.js +1 -1
- package/build/server/chunks/trash.js +1 -1
- package/build/server/chunks/traversal.js +23 -0
- package/build/server/chunks/traversal.js.map +1 -0
- package/build/server/chunks/types2.js.map +1 -1
- package/build/server/chunks/user-plus.js +1 -1
- package/build/server/chunks/users.js +1 -1
- package/build/server/chunks/utils.js +156 -70
- package/build/server/chunks/utils.js.map +1 -1
- package/build/server/chunks/x.js +1 -1
- package/build/server/entries/endpoints/api/admin/compute/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/compute/actions/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/compute/status/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/orgs/_id_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/orgs/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/projects/_id_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/system/health/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/users/_id_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/admin/users/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/compute/schema/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/changes/_server.ts.js +9 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/changes/_server.ts.js.map +1 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/inventory/_server.ts.js +12 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/inventory/_server.ts.js.map +1 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/scripts/_scriptId_/_server.ts.js +12 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/scripts/_scriptId_/_server.ts.js.map +1 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/check/_server.ts.js +12 -0
- package/build/server/entries/endpoints/api/v1/definitions/_guid_/versions/check/_server.ts.js.map +1 -0
- package/build/server/entries/endpoints/api/v1/definitions/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/me/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/me/token/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js +1 -1
- package/build/server/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js +1 -1
- package/build/server/entries/endpoints/docs/api/openapi.yaml/_server.ts.js +1 -1
- package/build/server/entries/endpoints/mcp/_server.ts.js +1 -1
- package/build/server/entries/pages/admin/_page.svelte.js +1 -1
- package/build/server/entries/pages/admin/compute/_page.server.ts.js +1 -1
- package/build/server/entries/pages/admin/compute/_page.svelte.js +7 -3
- package/build/server/entries/pages/admin/compute/_page.svelte.js.map +1 -1
- package/build/server/entries/pages/admin/projects/_id_/_page.svelte.js +1 -1
- package/build/server/entries/pages/admin/system/_page.svelte.js +6 -3
- package/build/server/entries/pages/admin/system/_page.svelte.js.map +1 -1
- package/build/server/entries/pages/admin/users/_page.svelte.js +1 -1
- package/build/server/entries/pages/library/_guid_/_page.server.ts.js +1 -1
- package/build/server/entries/pages/library/_guid_/_page.svelte.js +30 -41
- package/build/server/entries/pages/library/_guid_/_page.svelte.js.map +1 -1
- package/build/server/entries/pages/library/_page.svelte.js +1 -1
- package/build/server/entries/pages/projects/_page.server.ts.js +1 -1
- package/build/server/entries/pages/projects/_page.svelte.js +790 -35
- package/build/server/entries/pages/projects/_page.svelte.js.map +1 -1
- package/build/server/entries/pages/team/_layout.svelte.js +1 -1
- package/build/server/entries/pages/team/compute/_page.server.ts.js +1 -1
- package/build/server/entries/pages/team/members/_page.svelte.js +1 -1
- package/build/server/entries/pages/team/settings/_page.svelte.js +1 -1
- package/build/server/entries/pages/team/tokens/_page.server.ts.js +1 -1
- package/build/server/manifest-full.js +29 -1
- package/build/server/manifest.js +29 -1
- package/build/server/nodes/0.js +2 -2
- package/build/server/nodes/11.js +1 -1
- package/build/server/nodes/15.js +1 -1
- package/build/server/nodes/16.js +1 -1
- package/build/server/nodes/2.js +1 -1
- package/build/server/nodes/20.js +1 -1
- package/build/server/nodes/21.js +1 -1
- package/build/server/nodes/25.js +1 -1
- package/build/server/nodes/30.js +1 -1
- package/build/server/nodes/35.js +1 -1
- package/build/server/nodes/5.js +1 -1
- package/build/server/nodes/6.js +1 -1
- package/build/server/nodes/7.js +1 -1
- package/build/server/server.js +29 -1
- package/package.json +10 -10
- package/build/client/_app/immutable/assets/0.CqqJCiiV.css +0 -2
- package/build/client/_app/immutable/assets/0.CqqJCiiV.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CqqJCiiV.css.gz +0 -0
- package/build/client/_app/immutable/chunks/Bga9Qxze.js +0 -55
- package/build/client/_app/immutable/chunks/Bga9Qxze.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bga9Qxze.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBWE8gpj.js +0 -1
- package/build/client/_app/immutable/chunks/CBWE8gpj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBWE8gpj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CKbHmAlc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CKbHmAlc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcWwBvi8.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcWwBvi8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5j4-ZO1.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5j4-ZO1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DptnDNFA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DptnDNFA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DvJo0Zn0.js +0 -1
- package/build/client/_app/immutable/chunks/DvJo0Zn0.js.br +0 -1
- package/build/client/_app/immutable/chunks/DvJo0Zn0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qXnHMKD9.js.br +0 -0
- package/build/client/_app/immutable/chunks/qXnHMKD9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zJ-SFdYZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/zJ-SFdYZ.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DPbjEDd3.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DPbjEDd3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.DS0azG6Y.js +0 -5
- package/build/client/_app/immutable/nodes/11.DS0azG6Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DS0azG6Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15._hpTnSzc.js +0 -36
- package/build/client/_app/immutable/nodes/15._hpTnSzc.js.br +0 -0
- package/build/client/_app/immutable/nodes/15._hpTnSzc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.D7-QOesS.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.D7-QOesS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CS32Eh9m.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CS32Eh9m.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CVaxGEhZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CVaxGEhZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.DpKe0-GH.js +0 -1
- package/build/client/_app/immutable/nodes/21.DpKe0-GH.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DpKe0-GH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DiYmTwXC.js +0 -17
- package/build/client/_app/immutable/nodes/25.DiYmTwXC.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DiYmTwXC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.BBuL_XNB.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.BBuL_XNB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.De6sleaH.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.De6sleaH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Wh_w3RkZ.js.br +0 -2
- package/build/client/_app/immutable/nodes/5.Wh_w3RkZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.C-DiUI5R.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.C-DiUI5R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.B8yubYrv.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.B8yubYrv.js.gz +0 -0
- package/build/server/_app/immutable/assets/_layout.CqqJCiiV.css +0 -2
- package/build/server/chunks/types4.js +0 -10
- package/build/server/chunks/types4.js.map +0 -1
- package/build/server/chunks/utils2.js +0 -174
- package/build/server/chunks/utils2.js.map +0 -1
- /package/build/client/_app/immutable/nodes/{0.Ds0zeDAg.js → 0.Bu9WQ0W_.js} +0 -0
- /package/build/client/_app/immutable/nodes/{0.Ds0zeDAg.js.br → 0.Bu9WQ0W_.js.br} +0 -0
- /package/build/client/_app/immutable/nodes/{0.Ds0zeDAg.js.gz → 0.Bu9WQ0W_.js.gz} +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { t as getGroups } from "./traversal.js";
|
|
2
|
+
// ../platform/src/shareLinks/types.ts
|
|
3
|
+
/**
|
|
4
|
+
* Default cap applied when the minter doesn't specify one. Tokens are
|
|
5
|
+
* leak-prone by design (visible in iframes), so a default bounds the
|
|
6
|
+
* worst-case denial-of-wallet damage.
|
|
7
|
+
*/
|
|
8
|
+
var DEFAULT_SHARE_LINK_MAX_SOLVES = 1e3;
|
|
9
|
+
// ../schemas/src/diff.ts
|
|
10
|
+
var IMPACT_RANK = {
|
|
11
|
+
breaking: 0,
|
|
12
|
+
notable: 1,
|
|
13
|
+
cosmetic: 2
|
|
14
|
+
};
|
|
15
|
+
var KIND_RANK = {
|
|
16
|
+
input: 0,
|
|
17
|
+
output: 1,
|
|
18
|
+
settings: 2
|
|
19
|
+
};
|
|
20
|
+
function diffSchemas(before, after) {
|
|
21
|
+
const changes = [
|
|
22
|
+
...diffInputs(before, after),
|
|
23
|
+
...diffOutputs(before, after),
|
|
24
|
+
...diffSettings(before, after)
|
|
25
|
+
].sort((a, b) => IMPACT_RANK[a.impact] - IMPACT_RANK[b.impact] || KIND_RANK[a.kind] - KIND_RANK[b.kind]);
|
|
26
|
+
const counts = {
|
|
27
|
+
breaking: 0,
|
|
28
|
+
notable: 0,
|
|
29
|
+
cosmetic: 0
|
|
30
|
+
};
|
|
31
|
+
for (const c of changes) counts[c.impact] += 1;
|
|
32
|
+
return {
|
|
33
|
+
changes,
|
|
34
|
+
counts,
|
|
35
|
+
identical: changes.length === 0
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/** The first layout item per parameter, with the label of the group it sits in. */
|
|
39
|
+
function placements(schema, type) {
|
|
40
|
+
const out = /* @__PURE__ */ new Map();
|
|
41
|
+
for (const group of getGroups(schema)) for (const item of group.items ?? []) {
|
|
42
|
+
if (item.type !== type || !("paramId" in item) || out.has(item.paramId)) continue;
|
|
43
|
+
out.set(item.paramId, {
|
|
44
|
+
item,
|
|
45
|
+
group: group.label
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return out;
|
|
49
|
+
}
|
|
50
|
+
function labelOf(nickname, placed) {
|
|
51
|
+
const display = placed?.item && "displayName" in placed.item ? placed.item.displayName : void 0;
|
|
52
|
+
return typeof display === "string" && display.trim() || nickname || "Unnamed";
|
|
53
|
+
}
|
|
54
|
+
function diffInputs(before, after) {
|
|
55
|
+
const oldInputs = byId(before.inputs);
|
|
56
|
+
const newInputs = byId(after.inputs);
|
|
57
|
+
const oldPlaced = placements(before, "input");
|
|
58
|
+
const newPlaced = placements(after, "input");
|
|
59
|
+
const changes = [];
|
|
60
|
+
for (const [id, input] of oldInputs) {
|
|
61
|
+
if (newInputs.has(id)) continue;
|
|
62
|
+
changes.push(whole("input", "removed", id, labelOf(input.nickname, oldPlaced.get(id)), "breaking"));
|
|
63
|
+
}
|
|
64
|
+
for (const [id, input] of newInputs) {
|
|
65
|
+
const label = labelOf(input.nickname, newPlaced.get(id));
|
|
66
|
+
const old = oldInputs.get(id);
|
|
67
|
+
if (!old) {
|
|
68
|
+
changes.push(whole("input", "added", id, label, "notable"));
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
const found = compareInput(old, input, oldPlaced.get(id), newPlaced.get(id));
|
|
72
|
+
if (found.length > 0) changes.push(changed("input", id, label, found));
|
|
73
|
+
}
|
|
74
|
+
return changes;
|
|
75
|
+
}
|
|
76
|
+
function compareInput(a, b, pa, pb) {
|
|
77
|
+
const found = [];
|
|
78
|
+
if (a.paramType !== b.paramType) found.push(["breaking", `type ${a.paramType} → ${b.paramType}`]);
|
|
79
|
+
const sa = a.inputStructure ?? "item";
|
|
80
|
+
const sb = b.inputStructure ?? "item";
|
|
81
|
+
if (sa !== sb) found.push(["breaking", `takes ${sa} → ${sb}`]);
|
|
82
|
+
if (!same(a.default, b.default)) found.push(["notable", `default ${show(a.default)} → ${show(b.default)}`]);
|
|
83
|
+
const ia = pa?.item;
|
|
84
|
+
const ib = pb?.item;
|
|
85
|
+
if (ia && ib) {
|
|
86
|
+
const kindA = ia.source?.kind ?? "user";
|
|
87
|
+
const kindB = ib.source?.kind ?? "user";
|
|
88
|
+
if (kindA !== kindB) found.push(["breaking", `filled by ${kindA} → ${kindB}`]);
|
|
89
|
+
if (ia.widgetType !== ib.widgetType) found.push(["notable", `shown as ${ia.widgetType} → ${ib.widgetType}`]);
|
|
90
|
+
found.push(...compareInputConfig(ia, ib));
|
|
91
|
+
found.push(...compareShared(ia, ib, pa.group, pb.group));
|
|
92
|
+
} else if (!ia !== !ib) found.push(["notable", ib ? "now on the form" : "no longer on the form"]);
|
|
93
|
+
if (a.nickname !== b.nickname && !(ia?.displayName || ib?.displayName)) found.push(["cosmetic", `renamed ${a.nickname} → ${b.nickname}`]);
|
|
94
|
+
return found;
|
|
95
|
+
}
|
|
96
|
+
function compareInputConfig(a, b) {
|
|
97
|
+
const ca = a.config ?? {};
|
|
98
|
+
const cb = b.config ?? {};
|
|
99
|
+
const found = [];
|
|
100
|
+
if (a.widgetType === "number" && b.widgetType === "number") {
|
|
101
|
+
const [minA, maxA] = [num(ca.minimum), num(ca.maximum)];
|
|
102
|
+
const [minB, maxB] = [num(cb.minimum), num(cb.maximum)];
|
|
103
|
+
if (minA !== minB || maxA !== maxB) {
|
|
104
|
+
const narrower = minB !== void 0 && (minA === void 0 || minB > minA) || maxB !== void 0 && (maxA === void 0 || maxB < maxA);
|
|
105
|
+
found.push([narrower ? "breaking" : "notable", `range ${range(minA, maxA)} → ${range(minB, maxB)}${narrower ? " (narrower)" : ""}`]);
|
|
106
|
+
}
|
|
107
|
+
if (num(ca.stepSize) !== num(cb.stepSize)) found.push(["notable", `step ${show(ca.stepSize)} → ${show(cb.stepSize)}`]);
|
|
108
|
+
}
|
|
109
|
+
const optsA = options(a);
|
|
110
|
+
const optsB = options(b);
|
|
111
|
+
if (optsA && optsB) {
|
|
112
|
+
const removed = [...optsA.keys()].filter((k) => !optsB.has(k));
|
|
113
|
+
const added = [...optsB.keys()].filter((k) => !optsA.has(k));
|
|
114
|
+
const revalued = [...optsB.keys()].filter((k) => optsA.has(k) && optsA.get(k) !== optsB.get(k));
|
|
115
|
+
if (removed.length) found.push(["breaking", `options removed: ${list(removed)}`]);
|
|
116
|
+
if (added.length) found.push(["notable", `options added: ${list(added)}`]);
|
|
117
|
+
if (revalued.length) found.push(["notable", `option values changed: ${list(revalued)}`]);
|
|
118
|
+
}
|
|
119
|
+
for (const key of [
|
|
120
|
+
"displayAs",
|
|
121
|
+
"required",
|
|
122
|
+
"maxLength",
|
|
123
|
+
"pattern",
|
|
124
|
+
"acceptedFormats"
|
|
125
|
+
]) if (!same(ca[key], cb[key])) found.push(["notable", `${key} ${show(ca[key])} → ${show(cb[key])}`]);
|
|
126
|
+
return found;
|
|
127
|
+
}
|
|
128
|
+
/** Dropdown options, or a dynamic list's seed options: name → value. */
|
|
129
|
+
function options(item) {
|
|
130
|
+
const config = item.config ?? {};
|
|
131
|
+
const raw = item.widgetType === "dropdown" ? config.options : item.widgetType === "dynamicValueList" ? config.defaultOptions : void 0;
|
|
132
|
+
if (!raw || typeof raw !== "object") return null;
|
|
133
|
+
return new Map(Object.entries(raw).map(([k, v]) => [k, String(v)]));
|
|
134
|
+
}
|
|
135
|
+
function diffOutputs(before, after) {
|
|
136
|
+
const oldOutputs = byId(before.outputs);
|
|
137
|
+
const newOutputs = byId(after.outputs);
|
|
138
|
+
const oldPlaced = placements(before, "output");
|
|
139
|
+
const newPlaced = placements(after, "output");
|
|
140
|
+
const changes = [];
|
|
141
|
+
for (const [id, output] of oldOutputs) {
|
|
142
|
+
if (newOutputs.has(id)) continue;
|
|
143
|
+
changes.push(whole("output", "removed", id, labelOf(output.nickname, oldPlaced.get(id)), "breaking"));
|
|
144
|
+
}
|
|
145
|
+
for (const [id, output] of newOutputs) {
|
|
146
|
+
const label = labelOf(output.nickname, newPlaced.get(id));
|
|
147
|
+
const old = oldOutputs.get(id);
|
|
148
|
+
if (!old) {
|
|
149
|
+
changes.push(whole("output", "added", id, label, "notable"));
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
const found = compareOutput(old, output, oldPlaced.get(id), newPlaced.get(id));
|
|
153
|
+
if (found.length > 0) changes.push(changed("output", id, label, found));
|
|
154
|
+
}
|
|
155
|
+
return changes;
|
|
156
|
+
}
|
|
157
|
+
function compareOutput(a, b, pa, pb) {
|
|
158
|
+
const found = [];
|
|
159
|
+
if (a.type !== b.type) found.push(["breaking", `type ${a.type} → ${b.type}`]);
|
|
160
|
+
if (pa && pb) {
|
|
161
|
+
const wa = pa.item.widgetType;
|
|
162
|
+
const wb = pb.item.widgetType;
|
|
163
|
+
if (wa !== wb) found.push(["notable", `shown as ${wa} → ${wb}`]);
|
|
164
|
+
found.push(...compareShared(pa.item, pb.item, pa.group, pb.group));
|
|
165
|
+
} else if (!pa !== !pb) found.push(["notable", pb ? "now on the page" : "no longer on the page"]);
|
|
166
|
+
if (a.nickname !== b.nickname) found.push(["cosmetic", `renamed ${a.nickname} → ${b.nickname}`]);
|
|
167
|
+
return found;
|
|
168
|
+
}
|
|
169
|
+
/** What inputs and outputs share: visibility, label, help text, group. */
|
|
170
|
+
function compareShared(a, b, groupA, groupB) {
|
|
171
|
+
const ia = a;
|
|
172
|
+
const ib = b;
|
|
173
|
+
const found = [];
|
|
174
|
+
if ((ia.visible ?? true) !== (ib.visible ?? true)) found.push(["notable", ib.visible === false ? "now hidden" : "now shown"]);
|
|
175
|
+
if (!same(ia.visibilityCondition, ib.visibilityCondition)) found.push(["notable", "show/hide rule changed"]);
|
|
176
|
+
if ((ia.displayName ?? "") !== (ib.displayName ?? "")) found.push(["cosmetic", `label ${show(ia.displayName)} → ${show(ib.displayName)}`]);
|
|
177
|
+
if ((ia.description ?? "") !== (ib.description ?? "")) found.push(["cosmetic", "help text changed"]);
|
|
178
|
+
if (groupA !== groupB) found.push(["cosmetic", `moved ${groupA} → ${groupB}`]);
|
|
179
|
+
return found;
|
|
180
|
+
}
|
|
181
|
+
function diffSettings(before, after) {
|
|
182
|
+
const changes = [];
|
|
183
|
+
const setting = (id, label, impact, a, b) => {
|
|
184
|
+
if (!same(a, b)) changes.push(changed("settings", id, label, [[impact, `${show(a)} → ${show(b)}`]]));
|
|
185
|
+
};
|
|
186
|
+
setting("instanceSolve", "Solve on every change", "notable", before.instanceSolve ?? true, after.instanceSolve ?? true);
|
|
187
|
+
setting("previewSolves", "Preview solves", "notable", before.previewSolves ?? false, after.previewSolves ?? false);
|
|
188
|
+
setting("viewer", "3D viewer", "notable", before.viewerOptions?.enableRemote ?? false, after.viewerOptions?.enableRemote ?? false);
|
|
189
|
+
setting("name", "Name", "cosmetic", before.name, after.name);
|
|
190
|
+
setting("description", "Description", "cosmetic", before.description ?? "", after.description ?? "");
|
|
191
|
+
const tabsA = layoutLabels(before);
|
|
192
|
+
const tabsB = layoutLabels(after);
|
|
193
|
+
if (!same(tabsA, tabsB)) changes.push(changed("settings", "layout", "Layout", [["cosmetic", `${list(tabsA)} → ${list(tabsB)}`]]));
|
|
194
|
+
return changes;
|
|
195
|
+
}
|
|
196
|
+
/** Tab labels for a tabbed layout, group labels for a flat one. */
|
|
197
|
+
function layoutLabels(schema) {
|
|
198
|
+
const layout = schema.layout;
|
|
199
|
+
if (layout?.type === "tabbed") return (layout.tabs ?? []).map((t) => t.label);
|
|
200
|
+
return getGroups(schema).map((g) => g.label);
|
|
201
|
+
}
|
|
202
|
+
var HEADINGS = {
|
|
203
|
+
breaking: "Breaking",
|
|
204
|
+
notable: "Changes",
|
|
205
|
+
cosmetic: "Cosmetic"
|
|
206
|
+
};
|
|
207
|
+
/** The diff as Markdown, to start a version's notes from. Empty for an identical diff. */
|
|
208
|
+
function schemaDiffToMarkdown(diff) {
|
|
209
|
+
const sections = [];
|
|
210
|
+
for (const impact of [
|
|
211
|
+
"breaking",
|
|
212
|
+
"notable",
|
|
213
|
+
"cosmetic"
|
|
214
|
+
]) {
|
|
215
|
+
const lines = diff.changes.filter((c) => c.impact === impact).map(changeLine);
|
|
216
|
+
if (lines.length) sections.push(`### ${HEADINGS[impact]}\n\n${lines.join("\n")}`);
|
|
217
|
+
}
|
|
218
|
+
return sections.join("\n\n");
|
|
219
|
+
}
|
|
220
|
+
/** `Removed input **Width**`, `Input **Width**: default 10 → 12`, `Preview solves: false → true`. */
|
|
221
|
+
function changeLine(c) {
|
|
222
|
+
if (c.change !== "changed") return `- ${capitalize(c.change)} ${c.kind} **${c.label}**`;
|
|
223
|
+
return `- ${c.kind === "settings" ? c.label : `${capitalize(c.kind)} **${c.label}**`}: ${c.details.join("; ")}`;
|
|
224
|
+
}
|
|
225
|
+
function byId(items) {
|
|
226
|
+
return new Map((items ?? []).map((i) => [i.id, i]));
|
|
227
|
+
}
|
|
228
|
+
function whole(kind, change, id, label, impact) {
|
|
229
|
+
return {
|
|
230
|
+
kind,
|
|
231
|
+
change,
|
|
232
|
+
id,
|
|
233
|
+
label,
|
|
234
|
+
impact,
|
|
235
|
+
details: []
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
function changed(kind, id, label, found) {
|
|
239
|
+
return {
|
|
240
|
+
kind,
|
|
241
|
+
change: "changed",
|
|
242
|
+
id,
|
|
243
|
+
label,
|
|
244
|
+
impact: found.reduce((worst, [i]) => IMPACT_RANK[i] < IMPACT_RANK[worst] ? i : worst, "cosmetic"),
|
|
245
|
+
details: found.map(([, d]) => d)
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
function same(a, b) {
|
|
249
|
+
return stableJson(a) === stableJson(b);
|
|
250
|
+
}
|
|
251
|
+
function stableJson(value) {
|
|
252
|
+
if (value === void 0) return "undefined";
|
|
253
|
+
return JSON.stringify(value, (_k, v) => v && typeof v === "object" && !Array.isArray(v) ? Object.fromEntries(Object.entries(v).sort(([x], [y]) => x < y ? -1 : x > y ? 1 : 0)) : v);
|
|
254
|
+
}
|
|
255
|
+
function show(value) {
|
|
256
|
+
if (value === void 0 || value === null || value === "") return "none";
|
|
257
|
+
const text = typeof value === "string" ? value : stableJson(value);
|
|
258
|
+
return text.length > 40 ? `${text.slice(0, 39)}…` : text;
|
|
259
|
+
}
|
|
260
|
+
function num(value) {
|
|
261
|
+
return typeof value === "number" && Number.isFinite(value) ? value : void 0;
|
|
262
|
+
}
|
|
263
|
+
function range(min, max) {
|
|
264
|
+
return `${min ?? "−∞"}–${max ?? "∞"}`;
|
|
265
|
+
}
|
|
266
|
+
function list(items) {
|
|
267
|
+
const shown = items.slice(0, 5).join(", ");
|
|
268
|
+
return items.length > 5 ? `${shown} and ${items.length - 5} more` : shown || "none";
|
|
269
|
+
}
|
|
270
|
+
function capitalize(s) {
|
|
271
|
+
return s.charAt(0).toUpperCase() + s.slice(1);
|
|
272
|
+
}
|
|
273
|
+
export { schemaDiffToMarkdown as n, DEFAULT_SHARE_LINK_MAX_SOLVES as r, diffSchemas as t };
|
|
274
|
+
|
|
275
|
+
//# sourceMappingURL=diff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff.js","names":[],"sources":["../../../../platform/src/shareLinks/types.ts","../../../../schemas/src/diff.ts"],"sourcesContent":["import type { DefinitionChannel } from '../definitions/types.js';\n\n/**\n * Per-definition token granting access to one (definitionId, channel)\n * without an account. The plaintext token is shown to the minter exactly\n * once; `tokenHash` is the HMAC stored at rest.\n */\nexport interface ShareLink {\n\tid: string;\n\tdefinitionId: string;\n\tchannel: DefinitionChannel;\n\ttokenHash: string;\n\t/** e.g. \"Demo for Acme\". */\n\tname?: string;\n\tcreatedBy: string;\n\tcreatedAt: string;\n\t/** Null = never expires. */\n\texpiresAt?: string | null;\n\t/** Non-null = revoked. */\n\trevokedAt?: string | null;\n\t/** false = view/schema only; true = solve allowed. */\n\tallowSolve: boolean;\n\t/** Null = unlimited. */\n\tmaxSolves?: number | null;\n\tsolveCount: number;\n}\n\n/**\n * A share link plus the definition and project it hangs off.\n *\n * The org-wide roster is the one read where the parent matters: `definitionId`\n * alone identifies nothing a person can recognize, and revoking the wrong link\n * is unrecoverable — the raw token is gone.\n *\n * `tokenHash` is omitted, not merely unused. This is the only share-link shape\n * built for a page, and the roster spans every definition in the org — so a\n * careless `JSON.stringify` here would ship every credential digest in the\n * tenant to the browser at once.\n */\nexport interface OrgShareLink extends Omit<ShareLink, 'tokenHash'> {\n\tdefinitionName: string;\n\tprojectId: string;\n\tprojectName: string;\n}\n\n/**\n * Default cap applied when the minter doesn't specify one. Tokens are\n * leak-prone by design (visible in iframes), so a default bounds the\n * worst-case denial-of-wallet damage.\n */\nexport const DEFAULT_SHARE_LINK_MAX_SOLVES = 1000;\n\n/**\n * Days until a link minted without an expiry stops working. A link that never\n * expires outlives the key it was hashed under and anyone's memory of handing\n * it out; the minter can still pass `expiresAt: null` deliberately.\n */\nexport const DEFAULT_SHARE_LINK_TTL_DAYS = 90;\n","// What changed between two versions of a definition, as its users feel it.\n//\n// Inputs and outputs are matched by parameter id (the Grasshopper InstanceGuid), not by name:\n// a renamed slider is the same input, and a deleted-then-recreated one is a different input even\n// with the same name, because saved values, presets, share links and API callers key on the id.\n//\n// Impact is judged from the caller's side:\n// breaking: something that worked before can now fail or mean something else (an input or\n// output gone, a type or structure changed, an option or range that a saved value\n// may still use removed)\n// notable: behaviour changes but old values still apply (new inputs, new defaults, wider range)\n// cosmetic: wording, order and layout only\n\nimport type {\n\tGroupConfig,\n\tInputLayoutItem,\n\tLayoutItem,\n\tSchemaInput,\n\tSchemaOutput,\n\tUISchema\n} from './generated/index.js';\nimport { getGroups } from './traversal.js';\n\nexport type SchemaChangeImpact = 'breaking' | 'notable' | 'cosmetic';\n\nexport interface SchemaChange {\n\tkind: 'input' | 'output' | 'settings';\n\tchange: 'added' | 'removed' | 'changed';\n\t/** Parameter id for inputs and outputs; the setting's name for settings. */\n\tid: string;\n\t/** What the form shows: the layout item's display name, else the Grasshopper nickname. */\n\tlabel: string;\n\timpact: SchemaChangeImpact;\n\t/** One line per difference, e.g. `default 10 → 12`. Empty for added and removed. */\n\tdetails: string[];\n}\n\nexport interface SchemaDiff {\n\t/** Breaking first, then notable, then cosmetic; inputs before outputs before settings. */\n\tchanges: SchemaChange[];\n\tcounts: Record<SchemaChangeImpact, number>;\n\t/** No difference a user can see. The Grasshopper logic behind the form may still differ. */\n\tidentical: boolean;\n}\n\nconst IMPACT_RANK: Record<SchemaChangeImpact, number> = { breaking: 0, notable: 1, cosmetic: 2 };\nconst KIND_RANK: Record<SchemaChange['kind'], number> = { input: 0, output: 1, settings: 2 };\n\nexport function diffSchemas(before: UISchema, after: UISchema): SchemaDiff {\n\tconst changes = [\n\t\t...diffInputs(before, after),\n\t\t...diffOutputs(before, after),\n\t\t...diffSettings(before, after)\n\t].sort(\n\t\t(a, b) => IMPACT_RANK[a.impact] - IMPACT_RANK[b.impact] || KIND_RANK[a.kind] - KIND_RANK[b.kind]\n\t);\n\tconst counts = { breaking: 0, notable: 0, cosmetic: 0 };\n\tfor (const c of changes) counts[c.impact] += 1;\n\treturn { changes, counts, identical: changes.length === 0 };\n}\n\n// ============================================================================\n// Inputs\n// ============================================================================\n\ninterface Placed {\n\titem: LayoutItem;\n\tgroup: string;\n}\n\n/** The first layout item per parameter, with the label of the group it sits in. */\nfunction placements(schema: UISchema, type: 'input' | 'output'): Map<string, Placed> {\n\tconst out = new Map<string, Placed>();\n\tfor (const group of getGroups(schema) as GroupConfig[]) {\n\t\tfor (const item of group.items ?? []) {\n\t\t\tif (item.type !== type || !('paramId' in item) || out.has(item.paramId)) continue;\n\t\t\tout.set(item.paramId, { item, group: group.label });\n\t\t}\n\t}\n\treturn out;\n}\n\nfunction labelOf(nickname: string, placed: Placed | undefined): string {\n\tconst display =\n\t\tplaced?.item && 'displayName' in placed.item ? placed.item.displayName : undefined;\n\treturn (typeof display === 'string' && display.trim()) || nickname || 'Unnamed';\n}\n\nfunction diffInputs(before: UISchema, after: UISchema): SchemaChange[] {\n\tconst oldInputs = byId(before.inputs);\n\tconst newInputs = byId(after.inputs);\n\tconst oldPlaced = placements(before, 'input');\n\tconst newPlaced = placements(after, 'input');\n\tconst changes: SchemaChange[] = [];\n\n\tfor (const [id, input] of oldInputs) {\n\t\tif (newInputs.has(id)) continue;\n\t\tchanges.push(\n\t\t\twhole('input', 'removed', id, labelOf(input.nickname, oldPlaced.get(id)), 'breaking')\n\t\t);\n\t}\n\tfor (const [id, input] of newInputs) {\n\t\tconst label = labelOf(input.nickname, newPlaced.get(id));\n\t\tconst old = oldInputs.get(id);\n\t\tif (!old) {\n\t\t\tchanges.push(whole('input', 'added', id, label, 'notable'));\n\t\t\tcontinue;\n\t\t}\n\t\tconst found = compareInput(old, input, oldPlaced.get(id), newPlaced.get(id));\n\t\tif (found.length > 0) changes.push(changed('input', id, label, found));\n\t}\n\treturn changes;\n}\n\ntype Finding = [SchemaChangeImpact, string];\n\nfunction compareInput(\n\ta: SchemaInput,\n\tb: SchemaInput,\n\tpa: Placed | undefined,\n\tpb: Placed | undefined\n): Finding[] {\n\tconst found: Finding[] = [];\n\tif (a.paramType !== b.paramType) found.push(['breaking', `type ${a.paramType} → ${b.paramType}`]);\n\tconst sa = a.inputStructure ?? 'item';\n\tconst sb = b.inputStructure ?? 'item';\n\tif (sa !== sb) found.push(['breaking', `takes ${sa} → ${sb}`]);\n\tif (!same(a.default, b.default)) {\n\t\tfound.push(['notable', `default ${show(a.default)} → ${show(b.default)}`]);\n\t}\n\n\tconst ia = pa?.item as InputLayoutItem | undefined;\n\tconst ib = pb?.item as InputLayoutItem | undefined;\n\tif (ia && ib) {\n\t\tconst kindA = ia.source?.kind ?? 'user';\n\t\tconst kindB = ib.source?.kind ?? 'user';\n\t\tif (kindA !== kindB) found.push(['breaking', `filled by ${kindA} → ${kindB}`]);\n\t\tif (ia.widgetType !== ib.widgetType) {\n\t\t\tfound.push(['notable', `shown as ${ia.widgetType} → ${ib.widgetType}`]);\n\t\t}\n\t\tfound.push(...compareInputConfig(ia, ib));\n\t\tfound.push(...compareShared(ia, ib, pa!.group, pb!.group));\n\t} else if (!ia !== !ib) {\n\t\tfound.push(['notable', ib ? 'now on the form' : 'no longer on the form']);\n\t}\n\tif (a.nickname !== b.nickname && !(ia?.displayName || ib?.displayName)) {\n\t\tfound.push(['cosmetic', `renamed ${a.nickname} → ${b.nickname}`]);\n\t}\n\treturn found;\n}\n\nfunction compareInputConfig(a: InputLayoutItem, b: InputLayoutItem): Finding[] {\n\tconst ca = (a.config ?? {}) as Record<string, unknown>;\n\tconst cb = (b.config ?? {}) as Record<string, unknown>;\n\tconst found: Finding[] = [];\n\n\tif (a.widgetType === 'number' && b.widgetType === 'number') {\n\t\tconst [minA, maxA] = [num(ca.minimum), num(ca.maximum)];\n\t\tconst [minB, maxB] = [num(cb.minimum), num(cb.maximum)];\n\t\tif (minA !== minB || maxA !== maxB) {\n\t\t\t// A saved value inside the old range may sit outside a narrower one.\n\t\t\tconst narrower =\n\t\t\t\t(minB !== undefined && (minA === undefined || minB > minA)) ||\n\t\t\t\t(maxB !== undefined && (maxA === undefined || maxB < maxA));\n\t\t\tfound.push([\n\t\t\t\tnarrower ? 'breaking' : 'notable',\n\t\t\t\t`range ${range(minA, maxA)} → ${range(minB, maxB)}${narrower ? ' (narrower)' : ''}`\n\t\t\t]);\n\t\t}\n\t\tif (num(ca.stepSize) !== num(cb.stepSize)) {\n\t\t\tfound.push(['notable', `step ${show(ca.stepSize)} → ${show(cb.stepSize)}`]);\n\t\t}\n\t}\n\n\tconst optsA = options(a);\n\tconst optsB = options(b);\n\tif (optsA && optsB) {\n\t\tconst removed = [...optsA.keys()].filter((k) => !optsB.has(k));\n\t\tconst added = [...optsB.keys()].filter((k) => !optsA.has(k));\n\t\tconst revalued = [...optsB.keys()].filter((k) => optsA.has(k) && optsA.get(k) !== optsB.get(k));\n\t\t// A saved pick of a removed option no longer matches anything.\n\t\tif (removed.length) found.push(['breaking', `options removed: ${list(removed)}`]);\n\t\tif (added.length) found.push(['notable', `options added: ${list(added)}`]);\n\t\tif (revalued.length) found.push(['notable', `option values changed: ${list(revalued)}`]);\n\t}\n\n\tfor (const key of ['displayAs', 'required', 'maxLength', 'pattern', 'acceptedFormats'] as const) {\n\t\tif (!same(ca[key], cb[key]))\n\t\t\tfound.push(['notable', `${key} ${show(ca[key])} → ${show(cb[key])}`]);\n\t}\n\treturn found;\n}\n\n/** Dropdown options, or a dynamic list's seed options: name → value. */\nfunction options(item: InputLayoutItem): Map<string, string> | null {\n\tconst config = (item.config ?? {}) as Record<string, unknown>;\n\tconst raw =\n\t\titem.widgetType === 'dropdown'\n\t\t\t? config.options\n\t\t\t: item.widgetType === 'dynamicValueList'\n\t\t\t\t? config.defaultOptions\n\t\t\t\t: undefined;\n\tif (!raw || typeof raw !== 'object') return null;\n\treturn new Map(Object.entries(raw as Record<string, string>).map(([k, v]) => [k, String(v)]));\n}\n\n// ============================================================================\n// Outputs\n// ============================================================================\n\nfunction diffOutputs(before: UISchema, after: UISchema): SchemaChange[] {\n\tconst oldOutputs = byId(before.outputs);\n\tconst newOutputs = byId(after.outputs);\n\tconst oldPlaced = placements(before, 'output');\n\tconst newPlaced = placements(after, 'output');\n\tconst changes: SchemaChange[] = [];\n\n\tfor (const [id, output] of oldOutputs) {\n\t\tif (newOutputs.has(id)) continue;\n\t\tchanges.push(\n\t\t\twhole('output', 'removed', id, labelOf(output.nickname, oldPlaced.get(id)), 'breaking')\n\t\t);\n\t}\n\tfor (const [id, output] of newOutputs) {\n\t\tconst label = labelOf(output.nickname, newPlaced.get(id));\n\t\tconst old = oldOutputs.get(id);\n\t\tif (!old) {\n\t\t\tchanges.push(whole('output', 'added', id, label, 'notable'));\n\t\t\tcontinue;\n\t\t}\n\t\tconst found = compareOutput(old, output, oldPlaced.get(id), newPlaced.get(id));\n\t\tif (found.length > 0) changes.push(changed('output', id, label, found));\n\t}\n\treturn changes;\n}\n\nfunction compareOutput(\n\ta: SchemaOutput,\n\tb: SchemaOutput,\n\tpa: Placed | undefined,\n\tpb: Placed | undefined\n): Finding[] {\n\tconst found: Finding[] = [];\n\tif (a.type !== b.type) found.push(['breaking', `type ${a.type} → ${b.type}`]);\n\tif (pa && pb) {\n\t\tconst wa = (pa.item as { widgetType?: string }).widgetType;\n\t\tconst wb = (pb.item as { widgetType?: string }).widgetType;\n\t\tif (wa !== wb) found.push(['notable', `shown as ${wa} → ${wb}`]);\n\t\tfound.push(...compareShared(pa.item, pb.item, pa.group, pb.group));\n\t} else if (!pa !== !pb) {\n\t\tfound.push(['notable', pb ? 'now on the page' : 'no longer on the page']);\n\t}\n\tif (a.nickname !== b.nickname) found.push(['cosmetic', `renamed ${a.nickname} → ${b.nickname}`]);\n\treturn found;\n}\n\n/** What inputs and outputs share: visibility, label, help text, group. */\nfunction compareShared(a: LayoutItem, b: LayoutItem, groupA: string, groupB: string): Finding[] {\n\tconst ia = a as Record<string, unknown>;\n\tconst ib = b as Record<string, unknown>;\n\tconst found: Finding[] = [];\n\tif ((ia.visible ?? true) !== (ib.visible ?? true)) {\n\t\tfound.push(['notable', ib.visible === false ? 'now hidden' : 'now shown']);\n\t}\n\tif (!same(ia.visibilityCondition, ib.visibilityCondition)) {\n\t\tfound.push(['notable', 'show/hide rule changed']);\n\t}\n\tif ((ia.displayName ?? '') !== (ib.displayName ?? '')) {\n\t\tfound.push(['cosmetic', `label ${show(ia.displayName)} → ${show(ib.displayName)}`]);\n\t}\n\tif ((ia.description ?? '') !== (ib.description ?? ''))\n\t\tfound.push(['cosmetic', 'help text changed']);\n\tif (groupA !== groupB) found.push(['cosmetic', `moved ${groupA} → ${groupB}`]);\n\treturn found;\n}\n\n// ============================================================================\n// Settings\n// ============================================================================\n\nfunction diffSettings(before: UISchema, after: UISchema): SchemaChange[] {\n\tconst changes: SchemaChange[] = [];\n\tconst setting = (\n\t\tid: string,\n\t\tlabel: string,\n\t\timpact: SchemaChangeImpact,\n\t\ta: unknown,\n\t\tb: unknown\n\t) => {\n\t\tif (!same(a, b))\n\t\t\tchanges.push(changed('settings', id, label, [[impact, `${show(a)} → ${show(b)}`]]));\n\t};\n\tsetting(\n\t\t'instanceSolve',\n\t\t'Solve on every change',\n\t\t'notable',\n\t\tbefore.instanceSolve ?? true,\n\t\tafter.instanceSolve ?? true\n\t);\n\tsetting(\n\t\t'previewSolves',\n\t\t'Preview solves',\n\t\t'notable',\n\t\tbefore.previewSolves ?? false,\n\t\tafter.previewSolves ?? false\n\t);\n\tsetting(\n\t\t'viewer',\n\t\t'3D viewer',\n\t\t'notable',\n\t\tbefore.viewerOptions?.enableRemote ?? false,\n\t\tafter.viewerOptions?.enableRemote ?? false\n\t);\n\tsetting('name', 'Name', 'cosmetic', before.name, after.name);\n\tsetting(\n\t\t'description',\n\t\t'Description',\n\t\t'cosmetic',\n\t\tbefore.description ?? '',\n\t\tafter.description ?? ''\n\t);\n\n\tconst tabsA = layoutLabels(before);\n\tconst tabsB = layoutLabels(after);\n\tif (!same(tabsA, tabsB)) {\n\t\tchanges.push(\n\t\t\tchanged('settings', 'layout', 'Layout', [['cosmetic', `${list(tabsA)} → ${list(tabsB)}`]])\n\t\t);\n\t}\n\treturn changes;\n}\n\n/** Tab labels for a tabbed layout, group labels for a flat one. */\nfunction layoutLabels(schema: UISchema): string[] {\n\tconst layout = schema.layout;\n\tif (layout?.type === 'tabbed') return (layout.tabs ?? []).map((t) => t.label);\n\treturn getGroups(schema).map((g) => g.label);\n}\n\n// ============================================================================\n// Markdown\n// ============================================================================\n\nconst HEADINGS: Record<SchemaChangeImpact, string> = {\n\tbreaking: 'Breaking',\n\tnotable: 'Changes',\n\tcosmetic: 'Cosmetic'\n};\n\n/** The diff as Markdown, to start a version's notes from. Empty for an identical diff. */\nexport function schemaDiffToMarkdown(diff: SchemaDiff): string {\n\tconst sections: string[] = [];\n\tfor (const impact of ['breaking', 'notable', 'cosmetic'] as const) {\n\t\tconst lines = diff.changes.filter((c) => c.impact === impact).map(changeLine);\n\t\tif (lines.length) sections.push(`### ${HEADINGS[impact]}\\n\\n${lines.join('\\n')}`);\n\t}\n\treturn sections.join('\\n\\n');\n}\n\n/** `Removed input **Width**`, `Input **Width**: default 10 → 12`, `Preview solves: false → true`. */\nfunction changeLine(c: SchemaChange): string {\n\tif (c.change !== 'changed') return `- ${capitalize(c.change)} ${c.kind} **${c.label}**`;\n\tconst subject = c.kind === 'settings' ? c.label : `${capitalize(c.kind)} **${c.label}**`;\n\treturn `- ${subject}: ${c.details.join('; ')}`;\n}\n\n// ============================================================================\n// Helpers\n// ============================================================================\n\nfunction byId<T extends { id: string }>(items: T[] | undefined): Map<string, T> {\n\treturn new Map((items ?? []).map((i) => [i.id, i]));\n}\n\nfunction whole(\n\tkind: SchemaChange['kind'],\n\tchange: 'added' | 'removed',\n\tid: string,\n\tlabel: string,\n\timpact: SchemaChangeImpact\n): SchemaChange {\n\treturn { kind, change, id, label, impact, details: [] };\n}\n\nfunction changed(\n\tkind: SchemaChange['kind'],\n\tid: string,\n\tlabel: string,\n\tfound: Finding[]\n): SchemaChange {\n\tconst impact = found.reduce<SchemaChangeImpact>(\n\t\t(worst, [i]) => (IMPACT_RANK[i] < IMPACT_RANK[worst] ? i : worst),\n\t\t'cosmetic'\n\t);\n\treturn { kind, change: 'changed', id, label, impact, details: found.map(([, d]) => d) };\n}\n\nfunction same(a: unknown, b: unknown): boolean {\n\treturn stableJson(a) === stableJson(b);\n}\n\nfunction stableJson(value: unknown): string {\n\tif (value === undefined) return 'undefined';\n\treturn JSON.stringify(value, (_k, v) =>\n\t\tv && typeof v === 'object' && !Array.isArray(v)\n\t\t\t? Object.fromEntries(Object.entries(v).sort(([x], [y]) => (x < y ? -1 : x > y ? 1 : 0)))\n\t\t\t: v\n\t);\n}\n\nfunction show(value: unknown): string {\n\tif (value === undefined || value === null || value === '') return 'none';\n\tconst text = typeof value === 'string' ? value : stableJson(value);\n\treturn text.length > 40 ? `${text.slice(0, 39)}…` : text;\n}\n\nfunction num(value: unknown): number | undefined {\n\treturn typeof value === 'number' && Number.isFinite(value) ? value : undefined;\n}\n\nfunction range(min: number | undefined, max: number | undefined): string {\n\treturn `${min ?? '−∞'}–${max ?? '∞'}`;\n}\n\nfunction list(items: string[]): string {\n\tconst shown = items.slice(0, 5).join(', ');\n\treturn items.length > 5 ? `${shown} and ${items.length - 5} more` : shown || 'none';\n}\n\nfunction capitalize(s: string): string {\n\treturn s.charAt(0).toUpperCase() + s.slice(1);\n}\n"],"mappings":";;;;;;;AAkDA,IAAa,gCAAgC;;ACL7C,IAAM,cAAkD;CAAE,UAAU;CAAG,SAAS;CAAG,UAAU;AAAE;AAC/F,IAAM,YAAkD;CAAE,OAAO;CAAG,QAAQ;CAAG,UAAU;AAAE;AAE3F,SAAgB,YAAY,QAAkB,OAA6B;CAC1E,MAAM,UAAU;EACf,GAAG,WAAW,QAAQ,KAAK;EAC3B,GAAG,YAAY,QAAQ,KAAK;EAC5B,GAAG,aAAa,QAAQ,KAAK;CAC9B,CAAC,CAAC,MACA,GAAG,MAAM,YAAY,EAAE,UAAU,YAAY,EAAE,WAAW,UAAU,EAAE,QAAQ,UAAU,EAAE,KAC5F;CACA,MAAM,SAAS;EAAE,UAAU;EAAG,SAAS;EAAG,UAAU;CAAE;CACtD,KAAK,MAAM,KAAK,SAAS,OAAO,EAAE,WAAW;CAC7C,OAAO;EAAE;EAAS;EAAQ,WAAW,QAAQ,WAAW;CAAE;AAC3D;;AAYA,SAAS,WAAW,QAAkB,MAA+C;CACpF,MAAM,sBAAM,IAAI,IAAoB;CACpC,KAAK,MAAM,SAAS,UAAU,MAAM,GACnC,KAAK,MAAM,QAAQ,MAAM,SAAS,CAAC,GAAG;EACrC,IAAI,KAAK,SAAS,QAAQ,EAAE,aAAa,SAAS,IAAI,IAAI,KAAK,OAAO,GAAG;EACzE,IAAI,IAAI,KAAK,SAAS;GAAE;GAAM,OAAO,MAAM;EAAM,CAAC;CAC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C,IAAI,UAAU,KAAA,GAAW,OAAO;CAChC,OAAO,KAAK,UAAU,QAAQ,IAAI,MACjC,KAAK,OAAO,MAAM,YAAY,CAAC,MAAM,QAAQ,CAAC,IAC3C,OAAO,YAAY,OAAO,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,CAAE,CAAC,IACrF,CACJ;AACD;AAEA,SAAS,KAAK,OAAwB;CACrC,IAAI,UAAU,KAAA,KAAa,UAAU,QAAQ,UAAU,IAAI,OAAO;CAClE,MAAM,OAAO,OAAO,UAAU,WAAW,QAAQ,WAAW,KAAK;CACjE,OAAO,KAAK,SAAS,KAAK,GAAG,KAAK,MAAM,GAAG,EAAE,EAAE,KAAK;AACrD;AAEA,SAAS,IAAI,OAAoC;CAChD,OAAO,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK,IAAI,QAAQ,KAAA;AACtE;AAEA,SAAS,MAAM,KAAyB,KAAiC;CACxE,OAAO,GAAG,OAAO,KAAK,GAAG,OAAO;AACjC;AAEA,SAAS,KAAK,OAAyB;CACtC,MAAM,QAAQ,MAAM,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI;CACzC,OAAO,MAAM,SAAS,IAAI,GAAG,MAAM,OAAO,MAAM,SAAS,EAAE,SAAS,SAAS;AAC9E;AAEA,SAAS,WAAW,GAAmB;CACtC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,EAAE,MAAM,CAAC;AAC7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as spread_props } from "./server3.js";
|
|
2
|
-
import { n as Icon } from "./
|
|
2
|
+
import { n as Icon } from "./utils.js";
|
|
3
3
|
// ../../node_modules/.pnpm/@lucide+svelte@1.66.0_svelte@5.57.3_@typescript-eslint+types@8.72.1_/node_modules/@lucide/svelte/dist/icons/external-link.svelte
|
|
4
4
|
var __iconData = {
|
|
5
5
|
"name": "external-link",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as spread_props } from "./server3.js";
|
|
2
|
-
import { n as Icon } from "./
|
|
2
|
+
import { n as Icon } from "./utils.js";
|
|
3
3
|
// ../../node_modules/.pnpm/@lucide+svelte@1.66.0_svelte@5.57.3_@typescript-eslint+types@8.72.1_/node_modules/@lucide/svelte/dist/icons/folder-kanban.svelte
|
|
4
4
|
var __iconData = {
|
|
5
5
|
"name": "folder-kanban",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as spread_props } from "./server3.js";
|
|
2
|
-
import { n as Icon } from "./
|
|
2
|
+
import { n as Icon } from "./utils.js";
|
|
3
3
|
// ../../node_modules/.pnpm/@lucide+svelte@1.66.0_svelte@5.57.3_@typescript-eslint+types@8.72.1_/node_modules/@lucide/svelte/dist/icons/folder-open.svelte
|
|
4
4
|
var __iconData = {
|
|
5
5
|
"name": "folder-open",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as spread_props } from "./server3.js";
|
|
2
|
-
import { n as Icon } from "./
|
|
2
|
+
import { n as Icon } from "./utils.js";
|
|
3
3
|
// ../../node_modules/.pnpm/@lucide+svelte@1.66.0_svelte@5.57.3_@typescript-eslint+types@8.72.1_/node_modules/@lucide/svelte/dist/icons/folders.svelte
|
|
4
4
|
var __iconData = {
|
|
5
5
|
"name": "folders",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as spread_props } from "./server3.js";
|
|
2
|
-
import { n as Icon } from "./
|
|
2
|
+
import { n as Icon } from "./utils.js";
|
|
3
3
|
// ../../node_modules/.pnpm/@lucide+svelte@1.66.0_svelte@5.57.3_@typescript-eslint+types@8.72.1_/node_modules/@lucide/svelte/dist/icons/gauge.svelte
|
|
4
4
|
var __iconData = {
|
|
5
5
|
"name": "gauge",
|
|
@@ -4164,7 +4164,8 @@ var GrasshopperResponseProcessor = class {
|
|
|
4164
4164
|
function readSchemaResults(raw) {
|
|
4165
4165
|
return (Array.isArray(raw) ? raw : [raw]).map((entry) => ({
|
|
4166
4166
|
schemas: readField(entry, "schemas"),
|
|
4167
|
-
error: readField(entry, "error")
|
|
4167
|
+
error: readField(entry, "error"),
|
|
4168
|
+
inventory: readField(entry, "inventory")
|
|
4168
4169
|
}));
|
|
4169
4170
|
}
|
|
4170
4171
|
/**
|