Skip to content

Commit

Permalink
Moved type generation to wasm project
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Dec 14, 2024
1 parent 2447bf5 commit 3125395
Show file tree
Hide file tree
Showing 52 changed files with 205 additions and 296 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"noFallthroughCasesInSwitch": true,

/* Experimental */
"types": []
"types": ["vite/client"]
}
}
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,106 +11,86 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
{...props}
>
<title>{'circles-graph-1'}</title>
<g
id="circles-graph-1"
stroke="none"
strokeWidth={1}
fill="none"
fillRule="evenodd"
>
<g stroke="none" strokeWidth={1} fill="none" fillRule="evenodd">
<path
d="M84,128 C109.537449,134 125.870783,123 133,95"
id="Path-32"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M100,54 C68.3947894,43.9330667 46.7281227,52.9330667 35,81"
id="Path-32"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M133,95 C111,93.1612823 100,79.1612823 100,53"
id="Path-32-Copy"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M183,56 C161.145229,27.1236582 133.478562,26.1236582 100,53"
id="Path-32-Copy"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M173,140 C176.333333,91.7185995 152,63.0519328 100,54"
id="Path-32-Copy"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M173,140 C146.333333,155.99575 116.666667,151.99575 84,128"
id="Path-32-Copy"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M100,54 C72.2240287,78 66.8906954,102.666667 84,128"
id="Path-32-Copy"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M173,140 C186.09541,103.333333 210.762076,87 247,91"
id="Path-33"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M247,91 C236.185712,56 214.852378,44.3333333 183,56"
id="Path-34"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M173.301205,140 C178.969148,174.666667 162.20208,193.666667 123,197"
id="Path-35"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M123,197 C55.3286321,187.895779 25.9952987,149.229112 35,81"
id="Path-36"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M123,197 C158.111141,229.134353 185.111141,227.467687 204,192"
id="Path-37"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<path
d="M173,140 C231.827445,116.0292 265.494112,121.0292 274,155"
id="Path-38"
stroke="var(--color-text-shade-1)"
strokeWidth={2}
strokeDasharray="5,1"
/>
<circle
id="Oval"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -119,7 +99,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -128,7 +107,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-6"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -137,7 +115,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-7"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -146,7 +123,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-8"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -155,7 +131,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-9"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -164,7 +139,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-2"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -173,7 +147,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-3"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -182,7 +155,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-4"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -191,7 +163,6 @@ const SvgCirclesGraph1 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-5"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,71 +11,48 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
{...props}
>
<title>{'circles-graph-2'}</title>
<g
id="circles-graph-2"
stroke="none"
strokeWidth={1}
fill="none"
fillRule="evenodd"
>
<g stroke="none" strokeWidth={1} fill="none" fillRule="evenodd">
<g
id="Group"
transform="translate(4.500000, 14.600000)"
stroke="var(--color-text-shade-1)"
strokeDasharray="5,1"
strokeWidth={2}
>
<path
d="M84,230 C130.391919,230 168,192.391919 168,146 C168,99.608081 130.391919,62 84,62 C37.608081,62 0,99.608081 0,146 C0,192.391919 37.608081,230 84,230 Z"
id="Oval"
/>
<path
d="M208,230 C254.391919,230 292,192.391919 292,146 C292,99.608081 254.391919,62 208,62 C161.608081,62 124,99.608081 124,146 C124,192.391919 161.608081,230 208,230 Z"
id="Oval-Copy"
/>
<path
d="M146,168 C192.391919,168 230,130.391919 230,84 C230,37.608081 192.391919,0 146,0 C99.608081,0 62,37.608081 62,84 C62,130.391919 99.608081,168 146,168 Z"
id="Oval-Copy-2"
/>
<path d="M84,230 C130.391919,230 168,192.391919 168,146 C168,99.608081 130.391919,62 84,62 C37.608081,62 0,99.608081 0,146 C0,192.391919 37.608081,230 84,230 Z" />
<path d="M208,230 C254.391919,230 292,192.391919 292,146 C292,99.608081 254.391919,62 208,62 C161.608081,62 124,99.608081 124,146 C124,192.391919 161.608081,230 208,230 Z" />
<path d="M146,168 C192.391919,168 230,130.391919 230,84 C230,37.608081 192.391919,0 146,0 C99.608081,0 62,37.608081 62,84 C62,130.391919 99.608081,168 146,168 Z" />
</g>
<path
d="M57.3947656,72.3515625 C59.198151,72.3515625 60.4627995,71.7200521 61.1887109,70.4570312 C61.9146224,69.1940104 62.2775781,67.3938802 62.2775781,65.0566406 C62.2775781,62.719401 61.9146224,60.9160156 61.1887109,59.6464844 C60.4627995,58.3769531 59.198151,57.7421875 57.3947656,57.7421875 C55.5913802,57.7421875 54.3267318,58.3769531 53.6008203,59.6464844 C52.8749089,60.9160156 52.5119531,62.719401 52.5119531,65.0566406 C52.5119531,67.3938802 52.8749089,69.1940104 53.6008203,70.4570312 C54.3267318,71.7200521 55.5913802,72.3515625 57.3947656,72.3515625 Z M57.3947656,70.0859375 C56.5679427,70.0859375 56.0210677,69.6546224 55.7541406,68.7919922 C55.4872135,67.929362 55.35375,66.6842448 55.35375,65.0566406 C55.35375,63.3509115 55.4872135,62.0878906 55.7541406,61.2675781 C56.0210677,60.4472656 56.5679427,60.0371094 57.3947656,60.0371094 C58.2215885,60.0371094 58.7635807,60.4472656 59.0207422,61.2675781 C59.2779036,62.0878906 59.4064844,63.3509115 59.4064844,65.0566406 C59.4064844,66.6842448 59.2779036,67.929362 59.0207422,68.7919922 C58.7635807,69.6546224 58.2215885,70.0859375 57.3947656,70.0859375 Z"
id={0}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M153.455312,86 L153.455312,71.8398438 L151.140859,71.8398438 C151.140859,71.9635417 151.105052,72.1523438 151.033437,72.40625 C150.90974,72.8294271 150.727448,73.1679688 150.486562,73.421875 C150.135,73.7929688 149.679271,74.0403646 149.119375,74.1640625 C148.767812,74.2421875 148.152578,74.3007812 147.273672,74.3398438 L147.273672,74.3398438 L147.273672,76.234375 L150.60375,76.234375 L150.60375,86 L153.455312,86 Z"
id={1}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M248.209219,72 L248.209219,69.5488281 L242.027578,69.5488281 C242.203359,69.2558594 242.419831,68.9986979 242.676992,68.7773438 C242.934154,68.5559896 243.411042,68.1979167 244.107656,67.703125 L244.107656,67.703125 L245.220937,66.9121094 C246.158437,66.2480469 246.832266,65.6458333 247.242422,65.1054688 C247.867422,64.2916667 248.179922,63.3606771 248.179922,62.3125 C248.179922,60.9453125 247.737214,59.8466797 246.851797,59.0166016 C245.96638,58.1865234 244.774974,57.7714844 243.277578,57.7714844 C241.383047,57.7714844 240.064687,58.4778646 239.3225,59.890625 C238.931875,60.6328125 238.713776,61.6061198 238.668203,62.8105469 L238.668203,62.8105469 L241.373281,62.8105469 C241.405833,62.016276 241.51,61.436849 241.685781,61.0722656 C241.991771,60.4407552 242.567943,60.125 243.414297,60.125 C244.032786,60.125 244.508047,60.3235677 244.840078,60.7207031 C245.172109,61.1178385 245.338125,61.6158854 245.338125,62.2148438 C245.338125,62.9505208 245.048411,63.6276042 244.468984,64.2460938 C244.09138,64.6432292 243.261302,65.3007812 241.97875,66.21875 C240.500885,67.2734375 239.563385,68.2727865 239.16625,69.2167969 C238.756094,70.0566406 238.537995,70.984375 238.511953,72 L238.511953,72 L248.209219,72 Z"
id={2}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M115.277578,163.351562 C116.905182,163.351562 118.134023,162.897461 118.964102,161.989258 C119.79418,161.081055 120.209219,160.027995 120.209219,158.830078 C120.209219,157.690755 119.854401,156.792318 119.144766,156.134766 C118.669505,155.698568 118.304922,155.480469 118.051016,155.480469 C118.389557,155.35026 118.715078,155.10612 119.027578,154.748047 C119.52237,154.17513 119.769766,153.472005 119.769766,152.638672 C119.769766,151.460286 119.354727,150.521159 118.524648,149.821289 C117.69457,149.121419 116.602448,148.771484 115.248281,148.771484 C114.519115,148.771484 113.90388,148.859375 113.402578,149.035156 C112.901276,149.210938 112.468333,149.464844 112.10375,149.796875 C111.615469,150.265625 111.257396,150.776693 111.029531,151.330078 C110.814688,151.961589 110.694245,152.628906 110.668203,153.332031 L110.668203,153.332031 L113.265859,153.332031 C113.252839,152.635417 113.400951,152.078776 113.710195,151.662109 C114.01944,151.245443 114.502839,151.037109 115.160391,151.037109 C115.733307,151.037109 116.177643,151.20638 116.493398,151.544922 C116.809154,151.883464 116.967031,152.322917 116.967031,152.863281 C116.967031,153.696615 116.657786,154.25 116.039297,154.523438 C115.681224,154.686198 115.049714,154.774089 114.144766,154.787109 L114.144766,154.787109 L114.144766,156.779297 C115.069245,156.779297 115.746328,156.867188 116.176016,157.042969 C116.931224,157.355469 117.308828,157.977214 117.308828,158.908203 C117.308828,159.611328 117.105378,160.150065 116.698477,160.524414 C116.291576,160.898763 115.814688,161.085938 115.267813,161.085938 C114.375885,161.085938 113.760651,160.744141 113.422109,160.060547 C113.239818,159.689453 113.148672,159.220703 113.148672,158.654297 L113.148672,158.654297 L110.414297,158.654297 C110.45987,159.780599 110.687734,160.692057 111.097891,161.388672 C111.879141,162.697266 113.27237,163.351562 115.277578,163.351562 Z"
id={3}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M188.744375,163 L188.744375,159.953125 L190.345937,159.953125 L190.345937,157.775391 L188.744375,157.775391 L188.744375,148.927734 L185.619375,148.927734 L180.414297,157.521484 L180.414297,159.953125 L186.019766,159.953125 L186.019766,163 L188.744375,163 Z M186.019766,157.775391 L182.474844,157.775391 L186.019766,151.662109 L186.019766,157.775391 Z"
id={4}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M150.179922,245.371094 C151.853099,245.371094 153.109609,244.856771 153.949453,243.828125 C154.789297,242.799479 155.209219,241.630859 155.209219,240.322266 C155.209219,238.818359 154.773021,237.672526 153.900625,236.884766 C153.028229,236.097005 152.006094,235.703125 150.834219,235.703125 C150.254792,235.703125 149.763255,235.777995 149.359609,235.927734 C149.118724,236.01888 148.783437,236.204427 148.35375,236.484375 L148.35375,236.484375 L148.861562,233.388672 L154.652578,233.388672 L154.652578,231.025391 L146.849844,231.025391 L145.85375,238.847656 L148.35375,238.964844 C148.575104,238.541667 148.90388,238.251953 149.340078,238.095703 C149.587474,238.011068 149.880443,237.96875 150.218984,237.96875 C150.93513,237.96875 151.462474,238.217773 151.801016,238.71582 C152.139557,239.213867 152.308828,239.824219 152.308828,240.546875 C152.308828,241.282552 152.128164,241.892904 151.766836,242.37793 C151.405508,242.862956 150.879792,243.105469 150.189687,243.105469 C149.590729,243.105469 149.135,242.941081 148.8225,242.612305 C148.51,242.283529 148.298411,241.816406 148.187734,241.210938 L148.187734,241.210938 L145.414297,241.210938 C145.511953,242.539062 145.993724,243.564453 146.859609,244.287109 C147.725495,245.009766 148.832266,245.371094 150.179922,245.371094 Z"
id={5}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<circle
id="Oval"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -84,7 +61,6 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -93,7 +69,6 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-2"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -102,7 +77,6 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-3"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -111,7 +85,6 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-4"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -120,7 +93,6 @@ const SvgCirclesGraph2 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-5"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,27 @@ const SvgCirclesGraph3 = (props: SVGProps<SVGSVGElement>) => (
{...props}
>
<title>{'circles-graph-3'}</title>
<g
id="circles-graph-3"
stroke="none"
strokeWidth={1}
fill="none"
fillRule="evenodd"
>
<g stroke="none" strokeWidth={1} fill="none" fillRule="evenodd">
<g
id="Group"
transform="translate(32.500000, 45.600000)"
stroke="var(--color-text-shade-1)"
strokeDasharray="5,1"
strokeWidth={2}
>
<path
d="M84,168 C130.391919,168 168,130.391919 168,84 C168,37.608081 130.391919,0 84,0 C37.608081,0 0,37.608081 0,84 C0,130.391919 37.608081,168 84,168 Z"
id="Oval"
/>
<path
d="M146,168 C192.391919,168 230,130.391919 230,84 C230,37.608081 192.391919,0 146,0 C99.608081,0 62,37.608081 62,84 C62,130.391919 99.608081,168 146,168 Z"
id="Oval-Copy-2"
/>
<path d="M84,168 C130.391919,168 168,130.391919 168,84 C168,37.608081 130.391919,0 84,0 C37.608081,0 0,37.608081 0,84 C0,130.391919 37.608081,168 84,168 Z" />
<path d="M146,168 C192.391919,168 230,130.391919 230,84 C230,37.608081 192.391919,0 146,0 C99.608081,0 62,37.608081 62,84 C62,130.391919 99.608081,168 146,168 Z" />
</g>
<path
d="M146.394766,37.3515625 C148.198151,37.3515625 149.462799,36.7200521 150.188711,35.4570312 C150.914622,34.1940104 151.277578,32.3938802 151.277578,30.0566406 C151.277578,27.719401 150.914622,25.9160156 150.188711,24.6464844 C149.462799,23.3769531 148.198151,22.7421875 146.394766,22.7421875 C144.59138,22.7421875 143.326732,23.3769531 142.60082,24.6464844 C141.874909,25.9160156 141.511953,27.719401 141.511953,30.0566406 C141.511953,32.3938802 141.874909,34.1940104 142.60082,35.4570312 C143.326732,36.7200521 144.59138,37.3515625 146.394766,37.3515625 Z M146.394766,35.0859375 C145.567943,35.0859375 145.021068,34.6546224 144.754141,33.7919922 C144.487214,32.929362 144.35375,31.6842448 144.35375,30.0566406 C144.35375,28.3509115 144.487214,27.0878906 144.754141,26.2675781 C145.021068,25.4472656 145.567943,25.0371094 146.394766,25.0371094 C147.221589,25.0371094 147.763581,25.4472656 148.020742,26.2675781 C148.277904,27.0878906 148.406484,28.3509115 148.406484,30.0566406 C148.406484,31.6842448 148.277904,32.929362 148.020742,33.7919922 C147.763581,34.6546224 147.221589,35.0859375 146.394766,35.0859375 Z"
id={0}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<path
d="M149.455313,232 L149.455313,217.839844 L147.140859,217.839844 C147.140859,217.963542 147.105052,218.152344 147.033438,218.40625 C146.90974,218.829427 146.727448,219.167969 146.486563,219.421875 C146.135,219.792969 145.679271,220.040365 145.119375,220.164062 C144.767813,220.242188 144.152578,220.300781 143.273672,220.339844 L143.273672,220.339844 L143.273672,222.234375 L146.60375,222.234375 L146.60375,232 L149.455313,232 Z"
id={1}
fill="var(--color-text-shade-1)"
fillRule="nonzero"
/>
<circle
id="Oval-Copy-2"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand All @@ -56,7 +40,6 @@ const SvgCirclesGraph3 = (props: SVGProps<SVGSVGElement>) => (
r={7}
/>
<circle
id="Oval-Copy-4"
stroke="var(--color-background-shade-1)"
strokeWidth={4}
fill="#12B886"
Expand Down
Loading

0 comments on commit 3125395

Please sign in to comment.