clone

a browser-first diagram editor with live svg previews, local drafts and encrypted, accountless sharing

feat(diagram.zip): add edge rendering gateway

Dami committed 3bee574
commit
3bee574583cf31bc998399c3c22e2f3857677bc0
parent
d213abe107df70ce72282d734f71fe08e2a73d92
author
Dami <dami.etoile@gmail.com>
28 files changed, +21780 -54
M.github/workflows/main.yaml9+
Mdiagramzip-render/README.md40+
Mdiagramzip-render/package-lock.json4865++++++++++
Mdiagramzip-render/package.json36+
Mdiagramzip-render/scripts/smoke.mjs91+
Mdiagramzip-render/src/adapters/edge.ts156+
Mdiagramzip-render/src/adapters/origin.ts67+
Mdiagramzip-render/src/catalog.ts83+
Mdiagramzip-render/src/errors.ts21+
Mdiagramzip-render/src/index.ts131+
Mdiagramzip-render/src/svg.ts185+
Mdiagramzip-render/src/types.ts74+
Mdiagramzip-render/src/validation.ts131+
Mdiagramzip-render/src/vendor.d.ts23+
Mdiagramzip-render/test/adapters.test.ts34+
Mdiagramzip-render/test/catalog.test.ts18+
Mdiagramzip-render/test/svg.test.ts37+
Mdiagramzip-render/tsconfig.json18+
Mdiagramzip-render/vitest.config.ts9+
Mdiagramzip-render/worker-configuration.d.ts15083++++++++++++++++++++++++++++++
Mdiagramzip-render/wrangler.jsonc22+
Mdiagramzip/PERSISTENCE.md8+-
Mdiagramzip/src/preview.js58+-
Mdiagramzip/vite.config.js1+
Mdocs/refactor-engines.md566+
Mserver/src/main/resources/web/diagramzip/assets/{index-DimbzOnT.js => index-BxheHZUk.js}62+-
Mserver/src/main/resources/web/diagramzip/index.html2+-
Mserver/src/test/java/io/kroki/server/service/DiagramZipHandlerTest.java4+
M .github/workflows/main.yaml +9 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/README.md +40 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/package-lock.json +4865 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/package.json +36 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/scripts/smoke.mjs +91 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/adapters/edge.ts +156 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/adapters/origin.ts +67 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/catalog.ts +83 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/errors.ts +21 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/index.ts +131 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/svg.ts +185 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/types.ts +74 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/validation.ts +131 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/src/vendor.d.ts +23 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/test/adapters.test.ts +34 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/test/catalog.test.ts +18 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/test/svg.test.ts +37 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/tsconfig.json +18 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/vitest.config.ts +9 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/worker-configuration.d.ts +15083 -0

Diff not shown: this commit changes too many lines.

M diagramzip-render/wrangler.jsonc +22 -0

Diff not shown: this commit changes too many lines.

M diagramzip/PERSISTENCE.md +5 -3

Diff not shown: this commit changes too many lines.

M diagramzip/src/preview.js +39 -19

Diff not shown: this commit changes too many lines.

M diagramzip/vite.config.js +1 -0

Diff not shown: this commit changes too many lines.

M docs/refactor-engines.md +566 -0

Diff not shown: this commit changes too many lines.

M server/src/main/resources/web/diagramzip/assets/{index-DimbzOnT.js => index-BxheHZUk.js} +31 -31

Diff not shown: this commit changes too many lines.

M server/src/main/resources/web/diagramzip/index.html +1 -1

Diff not shown: this commit changes too many lines.

M server/src/test/java/io/kroki/server/service/DiagramZipHandlerTest.java +4 -0

Diff not shown: this commit changes too many lines.