@motiadev/workbench 0.14.0-beta.165-285707 → 0.15.0-beta.165

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.
Files changed (236) hide show
  1. package/dist/index.d.ts +189 -10
  2. package/dist/index.html +1 -1
  3. package/dist/index.js +1065 -7
  4. package/dist/middleware.d.ts +66 -8
  5. package/dist/middleware.js +694 -86
  6. package/dist/motia-plugin/__tests__/generator.test.ts +129 -0
  7. package/dist/motia-plugin/__tests__/resolver.test.ts +82 -0
  8. package/dist/motia-plugin/__tests__/validator.test.ts +71 -0
  9. package/dist/motia-plugin/{generator.js → generator.ts} +37 -35
  10. package/dist/motia-plugin/hmr.ts +123 -0
  11. package/dist/motia-plugin/index.ts +183 -0
  12. package/dist/motia-plugin/{resolver.d.ts → resolver.ts} +38 -5
  13. package/dist/motia-plugin/types.ts +198 -0
  14. package/dist/motia-plugin/{utils.d.ts → utils.ts} +17 -4
  15. package/dist/motia-plugin/validator.ts +197 -0
  16. package/dist/src/App.tsx +41 -0
  17. package/dist/src/components/NotFoundPage.tsx +11 -0
  18. package/dist/src/components/bottom-panel.tsx +39 -0
  19. package/dist/src/components/flow/base-edge.tsx +61 -0
  20. package/dist/src/components/flow/flow-loader.tsx +3 -0
  21. package/dist/src/components/flow/flow-page.tsx +75 -0
  22. package/dist/src/components/flow/flow-tab-menu-item.tsx +52 -0
  23. package/dist/src/components/flow/flow-view.tsx +66 -0
  24. package/dist/src/components/flow/hooks/use-get-flow-state.tsx +171 -0
  25. package/dist/src/components/flow/hooks/use-save-workflow-config.ts +25 -0
  26. package/dist/src/components/flow/node-organizer.tsx +103 -0
  27. package/dist/src/components/flow/nodes/api-flow-node.tsx +6 -0
  28. package/dist/src/components/flow/nodes/cron-flow-node.tsx +6 -0
  29. package/dist/src/components/flow/nodes/event-flow-node.tsx +6 -0
  30. package/dist/src/components/flow/nodes/noop-flow-node.tsx +6 -0
  31. package/dist/src/components/header/deploy-button.tsx +110 -0
  32. package/dist/src/components/header/header.tsx +39 -0
  33. package/dist/src/components/root-motia.tsx +10 -0
  34. package/dist/src/components/top-panel.tsx +40 -0
  35. package/dist/src/components/tutorial/engine/tutorial-engine.ts +26 -0
  36. package/dist/src/components/tutorial/engine/tutorial-types.ts +26 -0
  37. package/dist/src/components/tutorial/engine/workbench-xpath.ts +53 -0
  38. package/dist/src/components/tutorial/hooks/tutorial-utils.ts +26 -0
  39. package/dist/src/components/tutorial/hooks/use-tutorial-engine.ts +213 -0
  40. package/dist/src/components/tutorial/hooks/use-tutorial.ts +14 -0
  41. package/dist/src/components/tutorial/tutorial-button.tsx +46 -0
  42. package/dist/src/components/tutorial/tutorial-step.tsx +82 -0
  43. package/dist/src/components/tutorial/tutorial.tsx +59 -0
  44. package/dist/src/components/ui/json-editor.tsx +68 -0
  45. package/dist/src/components/ui/table.tsx +75 -0
  46. package/dist/src/components/ui/theme-toggle.tsx +54 -0
  47. package/dist/src/components/ui/tooltip.tsx +26 -0
  48. package/dist/src/hooks/use-debounced.ts +22 -0
  49. package/dist/src/hooks/use-fetch-flows.ts +33 -0
  50. package/dist/src/hooks/use-mobile.ts +19 -0
  51. package/dist/src/hooks/use-update-handle-positions.ts +42 -0
  52. package/dist/src/index.css +5 -5
  53. package/dist/src/lib/__tests__/utils.test.ts +110 -0
  54. package/dist/src/lib/motia-analytics.ts +140 -0
  55. package/dist/src/lib/plugins.tsx +132 -0
  56. package/dist/src/lib/utils.ts +37 -0
  57. package/dist/src/main.tsx +30 -0
  58. package/dist/src/project-view-mode.tsx +32 -0
  59. package/dist/src/publicComponents/api-node.tsx +26 -0
  60. package/dist/src/publicComponents/base-node/base-handle.tsx +50 -0
  61. package/dist/src/publicComponents/base-node/base-node.tsx +114 -0
  62. package/dist/src/publicComponents/base-node/code-display.tsx +119 -0
  63. package/dist/src/publicComponents/base-node/emits.tsx +17 -0
  64. package/dist/src/publicComponents/base-node/feature-card.tsx +32 -0
  65. package/dist/src/publicComponents/base-node/language-indicator.tsx +131 -0
  66. package/dist/src/publicComponents/base-node/node-header.tsx +49 -0
  67. package/dist/src/publicComponents/base-node/node-sidebar.tsx +41 -0
  68. package/dist/src/publicComponents/base-node/subscribe.tsx +13 -0
  69. package/dist/src/publicComponents/cron-node.tsx +24 -0
  70. package/dist/src/publicComponents/event-node.tsx +20 -0
  71. package/dist/src/publicComponents/node-props.tsx +15 -0
  72. package/dist/src/publicComponents/noop-node.tsx +19 -0
  73. package/dist/src/setupTests.ts +1 -0
  74. package/dist/src/stores/use-app-tabs-store.ts +49 -0
  75. package/dist/src/stores/use-flow-store.ts +31 -0
  76. package/dist/src/stores/use-global-store.ts +24 -0
  77. package/dist/src/stores/use-motia-config-store.ts +36 -0
  78. package/dist/src/stores/use-tabs-store.ts +34 -0
  79. package/dist/src/system-view-mode.tsx +28 -0
  80. package/dist/src/types/endpoint.ts +12 -0
  81. package/dist/src/types/file.ts +7 -0
  82. package/dist/src/types/flow.ts +103 -0
  83. package/eslint.config.cjs +22 -0
  84. package/jest.config.cjs +68 -0
  85. package/package.json +53 -51
  86. package/dist/motia-plugin/__tests__/generator.test.d.ts +0 -1
  87. package/dist/motia-plugin/__tests__/generator.test.js +0 -97
  88. package/dist/motia-plugin/__tests__/resolver.test.d.ts +0 -1
  89. package/dist/motia-plugin/__tests__/resolver.test.js +0 -64
  90. package/dist/motia-plugin/__tests__/validator.test.d.ts +0 -1
  91. package/dist/motia-plugin/__tests__/validator.test.js +0 -59
  92. package/dist/motia-plugin/generator.d.ts +0 -78
  93. package/dist/motia-plugin/hmr.d.ts +0 -22
  94. package/dist/motia-plugin/hmr.js +0 -100
  95. package/dist/motia-plugin/index.d.ts +0 -3
  96. package/dist/motia-plugin/index.js +0 -153
  97. package/dist/motia-plugin/resolver.js +0 -92
  98. package/dist/motia-plugin/types.d.ts +0 -169
  99. package/dist/motia-plugin/types.js +0 -36
  100. package/dist/motia-plugin/utils.js +0 -75
  101. package/dist/motia-plugin/validator.d.ts +0 -19
  102. package/dist/motia-plugin/validator.js +0 -163
  103. package/dist/src/App.d.ts +0 -2
  104. package/dist/src/App.js +0 -35
  105. package/dist/src/components/NotFoundPage.d.ts +0 -1
  106. package/dist/src/components/NotFoundPage.js +0 -3
  107. package/dist/src/components/bottom-panel.d.ts +0 -1
  108. package/dist/src/components/bottom-panel.js +0 -15
  109. package/dist/src/components/flow/base-edge.d.ts +0 -3
  110. package/dist/src/components/flow/base-edge.js +0 -39
  111. package/dist/src/components/flow/flow-loader.d.ts +0 -1
  112. package/dist/src/components/flow/flow-loader.js +0 -4
  113. package/dist/src/components/flow/flow-page.d.ts +0 -1
  114. package/dist/src/components/flow/flow-page.js +0 -25
  115. package/dist/src/components/flow/flow-tab-menu-item.d.ts +0 -1
  116. package/dist/src/components/flow/flow-tab-menu-item.js +0 -18
  117. package/dist/src/components/flow/flow-view.d.ts +0 -12
  118. package/dist/src/components/flow/flow-view.js +0 -22
  119. package/dist/src/components/flow/hooks/use-get-flow-state.d.ts +0 -10
  120. package/dist/src/components/flow/hooks/use-get-flow-state.js +0 -133
  121. package/dist/src/components/flow/hooks/use-save-workflow-config.d.ts +0 -2
  122. package/dist/src/components/flow/hooks/use-save-workflow-config.js +0 -22
  123. package/dist/src/components/flow/node-organizer.d.ts +0 -10
  124. package/dist/src/components/flow/node-organizer.js +0 -82
  125. package/dist/src/components/flow/nodes/api-flow-node.d.ts +0 -2
  126. package/dist/src/components/flow/nodes/api-flow-node.js +0 -5
  127. package/dist/src/components/flow/nodes/cron-flow-node.d.ts +0 -2
  128. package/dist/src/components/flow/nodes/cron-flow-node.js +0 -5
  129. package/dist/src/components/flow/nodes/event-flow-node.d.ts +0 -2
  130. package/dist/src/components/flow/nodes/event-flow-node.js +0 -5
  131. package/dist/src/components/flow/nodes/noop-flow-node.d.ts +0 -2
  132. package/dist/src/components/flow/nodes/noop-flow-node.js +0 -5
  133. package/dist/src/components/header/deploy-button.d.ts +0 -1
  134. package/dist/src/components/header/deploy-button.js +0 -28
  135. package/dist/src/components/header/header.d.ts +0 -2
  136. package/dist/src/components/header/header.js +0 -23
  137. package/dist/src/components/root-motia.d.ts +0 -2
  138. package/dist/src/components/root-motia.js +0 -7
  139. package/dist/src/components/top-panel.d.ts +0 -1
  140. package/dist/src/components/top-panel.js +0 -15
  141. package/dist/src/components/tutorial/engine/tutorial-engine.d.ts +0 -12
  142. package/dist/src/components/tutorial/engine/tutorial-engine.js +0 -36
  143. package/dist/src/components/tutorial/engine/tutorial-types.d.ts +0 -22
  144. package/dist/src/components/tutorial/engine/tutorial-types.js +0 -1
  145. package/dist/src/components/tutorial/engine/workbench-xpath.d.ts +0 -45
  146. package/dist/src/components/tutorial/engine/workbench-xpath.js +0 -45
  147. package/dist/src/components/tutorial/hooks/tutorial-utils.d.ts +0 -1
  148. package/dist/src/components/tutorial/hooks/tutorial-utils.js +0 -17
  149. package/dist/src/components/tutorial/hooks/use-tutorial-engine.d.ts +0 -15
  150. package/dist/src/components/tutorial/hooks/use-tutorial-engine.js +0 -183
  151. package/dist/src/components/tutorial/hooks/use-tutorial.d.ts +0 -5
  152. package/dist/src/components/tutorial/hooks/use-tutorial.js +0 -10
  153. package/dist/src/components/tutorial/tutorial-button.d.ts +0 -2
  154. package/dist/src/components/tutorial/tutorial-button.js +0 -21
  155. package/dist/src/components/tutorial/tutorial-step.d.ts +0 -14
  156. package/dist/src/components/tutorial/tutorial-step.js +0 -19
  157. package/dist/src/components/tutorial/tutorial.d.ts +0 -2
  158. package/dist/src/components/tutorial/tutorial.js +0 -32
  159. package/dist/src/components/ui/json-editor.d.ts +0 -12
  160. package/dist/src/components/ui/json-editor.js +0 -35
  161. package/dist/src/components/ui/table.d.ts +0 -10
  162. package/dist/src/components/ui/table.js +0 -20
  163. package/dist/src/components/ui/theme-toggle.d.ts +0 -2
  164. package/dist/src/components/ui/theme-toggle.js +0 -19
  165. package/dist/src/components/ui/tooltip.d.ts +0 -6
  166. package/dist/src/components/ui/tooltip.js +0 -3
  167. package/dist/src/hooks/use-debounced.d.ts +0 -1
  168. package/dist/src/hooks/use-debounced.js +0 -18
  169. package/dist/src/hooks/use-fetch-flows.d.ts +0 -1
  170. package/dist/src/hooks/use-fetch-flows.js +0 -26
  171. package/dist/src/hooks/use-mobile.d.ts +0 -1
  172. package/dist/src/hooks/use-mobile.js +0 -15
  173. package/dist/src/hooks/use-update-handle-positions.d.ts +0 -10
  174. package/dist/src/hooks/use-update-handle-positions.js +0 -35
  175. package/dist/src/lib/__tests__/utils.test.d.ts +0 -1
  176. package/dist/src/lib/__tests__/utils.test.js +0 -94
  177. package/dist/src/lib/motia-analytics.d.ts +0 -38
  178. package/dist/src/lib/motia-analytics.js +0 -132
  179. package/dist/src/lib/plugins.d.ts +0 -2
  180. package/dist/src/lib/plugins.js +0 -105
  181. package/dist/src/lib/utils.d.ts +0 -7
  182. package/dist/src/lib/utils.js +0 -34
  183. package/dist/src/main.d.ts +0 -2
  184. package/dist/src/main.js +0 -17
  185. package/dist/src/project-view-mode.d.ts +0 -1
  186. package/dist/src/project-view-mode.js +0 -20
  187. package/dist/src/publicComponents/api-node.d.ts +0 -5
  188. package/dist/src/publicComponents/api-node.js +0 -5
  189. package/dist/src/publicComponents/base-node/base-handle.d.ts +0 -9
  190. package/dist/src/publicComponents/base-node/base-handle.js +0 -8
  191. package/dist/src/publicComponents/base-node/base-node.d.ts +0 -15
  192. package/dist/src/publicComponents/base-node/base-node.js +0 -30
  193. package/dist/src/publicComponents/base-node/code-display.d.ts +0 -9
  194. package/dist/src/publicComponents/base-node/code-display.js +0 -64
  195. package/dist/src/publicComponents/base-node/emits.d.ts +0 -5
  196. package/dist/src/publicComponents/base-node/emits.js +0 -5
  197. package/dist/src/publicComponents/base-node/feature-card.d.ts +0 -10
  198. package/dist/src/publicComponents/base-node/feature-card.js +0 -5
  199. package/dist/src/publicComponents/base-node/language-indicator.d.ts +0 -10
  200. package/dist/src/publicComponents/base-node/language-indicator.js +0 -29
  201. package/dist/src/publicComponents/base-node/node-header.d.ts +0 -13
  202. package/dist/src/publicComponents/base-node/node-header.js +0 -30
  203. package/dist/src/publicComponents/base-node/node-sidebar.d.ts +0 -14
  204. package/dist/src/publicComponents/base-node/node-sidebar.js +0 -9
  205. package/dist/src/publicComponents/base-node/subscribe.d.ts +0 -4
  206. package/dist/src/publicComponents/base-node/subscribe.js +0 -4
  207. package/dist/src/publicComponents/cron-node.d.ts +0 -4
  208. package/dist/src/publicComponents/cron-node.js +0 -6
  209. package/dist/src/publicComponents/event-node.d.ts +0 -4
  210. package/dist/src/publicComponents/event-node.js +0 -5
  211. package/dist/src/publicComponents/node-props.d.ts +0 -21
  212. package/dist/src/publicComponents/node-props.js +0 -1
  213. package/dist/src/publicComponents/noop-node.d.ts +0 -4
  214. package/dist/src/publicComponents/noop-node.js +0 -5
  215. package/dist/src/setupTests.d.ts +0 -1
  216. package/dist/src/setupTests.js +0 -1
  217. package/dist/src/stores/use-app-tabs-store.d.ts +0 -16
  218. package/dist/src/stores/use-app-tabs-store.js +0 -31
  219. package/dist/src/stores/use-flow-store.d.ts +0 -21
  220. package/dist/src/stores/use-flow-store.js +0 -16
  221. package/dist/src/stores/use-global-store.d.ts +0 -18
  222. package/dist/src/stores/use-global-store.js +0 -12
  223. package/dist/src/stores/use-motia-config-store.d.ts +0 -12
  224. package/dist/src/stores/use-motia-config-store.js +0 -24
  225. package/dist/src/stores/use-tabs-store.d.ts +0 -19
  226. package/dist/src/stores/use-tabs-store.js +0 -22
  227. package/dist/src/system-view-mode.d.ts +0 -1
  228. package/dist/src/system-view-mode.js +0 -10
  229. package/dist/src/types/endpoint.d.ts +0 -14
  230. package/dist/src/types/endpoint.js +0 -1
  231. package/dist/src/types/file.d.ts +0 -7
  232. package/dist/src/types/file.js +0 -1
  233. package/dist/src/types/flow.d.ts +0 -115
  234. package/dist/src/types/flow.js +0 -1
  235. package/dist/tsconfig.app.tsbuildinfo +0 -1
  236. package/dist/tsconfig.node.tsbuildinfo +0 -1
package/dist/index.d.ts CHANGED
@@ -1,10 +1,189 @@
1
- export { Position } from '@xyflow/react';
2
- export type { TutorialStep } from './src/components/tutorial/engine/tutorial-types';
3
- export { workbenchXPath } from './src/components/tutorial/engine/workbench-xpath';
4
- export { ApiNode } from './src/publicComponents/api-node';
5
- export { BaseHandle } from './src/publicComponents/base-node/base-handle';
6
- export { BaseNode } from './src/publicComponents/base-node/base-node';
7
- export { EventNode } from './src/publicComponents/event-node';
8
- export type { ApiNodeProps, BaseNodeProps, CronNodeProps, EventNodeProps, NoopNodeProps, } from './src/publicComponents/node-props';
9
- export { NoopNode } from './src/publicComponents/noop-node';
10
- export type { ApiNodeData, EventNodeData } from './src/types/flow';
1
+ import { HandleProps, Position } from "@xyflow/react";
2
+ import React$1, { HTMLAttributes, JSX, PropsWithChildren } from "react";
3
+ import { JSONSchema7 } from "json-schema";
4
+
5
+ //#region src/components/tutorial/engine/tutorial-types.d.ts
6
+ type TutorialActionClick = {
7
+ type: "click";
8
+ selector: string;
9
+ optional?: boolean;
10
+ };
11
+ type TutorialActionEditor = {
12
+ type: "fill-editor";
13
+ content: Record<string, any>;
14
+ };
15
+ type TutorialAction = TutorialActionClick | TutorialActionEditor;
16
+ type TutorialImage = {
17
+ height: number;
18
+ src: string;
19
+ };
20
+ type TutorialStep = {
21
+ title: string;
22
+ description: React.FC<void>;
23
+ image?: TutorialImage;
24
+ link?: string;
25
+ elementXpath?: string;
26
+ before?: TutorialAction[];
27
+ };
28
+ //#endregion
29
+ //#region src/components/tutorial/engine/workbench-xpath.d.ts
30
+ declare const workbenchXPath: {
31
+ sidebarContainer: string;
32
+ closePanelButton: string;
33
+ bottomPanel: string;
34
+ flows: {
35
+ dropdownFlow: (flowId: string) => string;
36
+ feature: (featureId: string) => string;
37
+ previewButton: (stepId: string) => string;
38
+ node: (stepId: string) => string;
39
+ };
40
+ endpoints: {
41
+ endpointsList: string;
42
+ endpoint: (method: string, path: string) => string;
43
+ callPanel: string;
44
+ specButton: string;
45
+ bodyTab: string;
46
+ headersTab: string;
47
+ paramsTab: string;
48
+ callTab: string;
49
+ response: string;
50
+ playButton: string;
51
+ };
52
+ tracing: {
53
+ trace: (index: number) => string;
54
+ details: string;
55
+ timeline: (index: number) => string;
56
+ };
57
+ logs: {
58
+ container: string;
59
+ searchContainer: string;
60
+ traceColumn: (index: number) => string;
61
+ row: string;
62
+ };
63
+ states: {
64
+ container: string;
65
+ row: (index: number) => string;
66
+ };
67
+ links: {
68
+ flows: string;
69
+ endpoints: string;
70
+ tracing: string;
71
+ logs: string;
72
+ states: string;
73
+ };
74
+ };
75
+ //#endregion
76
+ //#region src/types/flow.d.ts
77
+ type EventNodeData = {
78
+ type: string;
79
+ name: string;
80
+ description?: string;
81
+ subscribes: string[];
82
+ emits: Array<string | {
83
+ topic: string;
84
+ label?: string;
85
+ }>;
86
+ virtualEmits?: Array<string | {
87
+ topic: string;
88
+ label?: string;
89
+ }>;
90
+ virtualSubscribes?: string[];
91
+ language?: string;
92
+ };
93
+ type NoopNodeData = {
94
+ type: string;
95
+ name: string;
96
+ description?: string;
97
+ virtualEmits: string[];
98
+ subscribes: string[];
99
+ };
100
+ type ApiNodeData = {
101
+ type: string;
102
+ name: string;
103
+ language?: string;
104
+ description?: string;
105
+ emits: Array<string | {
106
+ topic: string;
107
+ label?: string;
108
+ }>;
109
+ subscribes?: string[];
110
+ virtualEmits?: Array<string | {
111
+ topic: string;
112
+ label?: string;
113
+ }>;
114
+ virtualSubscribes?: string[];
115
+ webhookUrl?: string;
116
+ bodySchema?: JSONSchema7;
117
+ };
118
+ type CronNodeData = {
119
+ type: string;
120
+ name: string;
121
+ description?: string;
122
+ emits: Array<string | {
123
+ topic: string;
124
+ label?: string;
125
+ }>;
126
+ virtualEmits?: Array<string | {
127
+ topic: string;
128
+ label?: string;
129
+ }>;
130
+ virtualSubscribes?: string[];
131
+ cronExpression: string;
132
+ language?: string;
133
+ };
134
+ //#endregion
135
+ //#region src/publicComponents/node-props.d.ts
136
+ type BaseNodeProps = {
137
+ id: string;
138
+ nodeConfig?: {
139
+ sourceHandlePosition?: "bottom" | "right";
140
+ targetHandlePosition?: "top" | "left";
141
+ };
142
+ };
143
+ type EventNodeProps = {
144
+ data: BaseNodeProps & EventNodeData;
145
+ };
146
+ type NoopNodeProps = {
147
+ data: BaseNodeProps & NoopNodeData;
148
+ };
149
+ type ApiNodeProps = {
150
+ data: BaseNodeProps & ApiNodeData;
151
+ };
152
+ type CronNodeProps = {
153
+ data: BaseNodeProps & CronNodeData;
154
+ };
155
+ //#endregion
156
+ //#region src/publicComponents/api-node.d.ts
157
+ type Props$2 = PropsWithChildren<ApiNodeProps>;
158
+ declare const ApiNode: ({
159
+ data,
160
+ children
161
+ }: Props$2) => JSX.Element;
162
+ //#endregion
163
+ //#region src/publicComponents/base-node/base-handle.d.ts
164
+ type Props$1 = HandleProps & Omit<HTMLAttributes<HTMLDivElement>, "id"> & {
165
+ isHidden?: boolean;
166
+ onTogglePosition?: () => void;
167
+ };
168
+ declare const BaseHandle: React$1.FC<Props$1>;
169
+ //#endregion
170
+ //#region src/publicComponents/base-node/base-node.d.ts
171
+ type Props = PropsWithChildren<{
172
+ title: string;
173
+ subtitle?: string;
174
+ variant: "event" | "api" | "noop" | "cron";
175
+ language?: string;
176
+ className?: string;
177
+ disableSourceHandle?: boolean;
178
+ disableTargetHandle?: boolean;
179
+ data: BaseNodeProps;
180
+ }>;
181
+ declare const BaseNode: React$1.FC<Props>;
182
+ //#endregion
183
+ //#region src/publicComponents/event-node.d.ts
184
+ declare const EventNode: React$1.FC<PropsWithChildren<EventNodeProps>>;
185
+ //#endregion
186
+ //#region src/publicComponents/noop-node.d.ts
187
+ declare const NoopNode: React$1.FC<PropsWithChildren<NoopNodeProps>>;
188
+ //#endregion
189
+ export { ApiNode, type ApiNodeData, type ApiNodeProps, BaseHandle, BaseNode, type BaseNodeProps, type CronNodeProps, EventNode, type EventNodeData, type EventNodeProps, NoopNode, type NoopNodeProps, Position, type TutorialStep, workbenchXPath };
package/dist/index.html CHANGED
@@ -67,6 +67,6 @@
67
67
  </head>
68
68
  <body class="dark">
69
69
  <div id="root"></div>
70
- <script type="module" src="/src/main.js"></script>
70
+ <script type="module" src="/src/main.tsx"></script>
71
71
  </body>
72
72
  </html>