lucy-cli 2.0.0-beta.11 → 2.0.0-beta.12

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 (290) hide show
  1. package/dist/commands/copy.js.map +1 -1
  2. package/dist/commands/git.d.ts +3 -2
  3. package/dist/commands/git.js +34 -0
  4. package/dist/commands/git.js.map +1 -1
  5. package/dist/commands/home.d.ts +1 -1
  6. package/dist/commands/home.js +2 -25
  7. package/dist/commands/home.js.map +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/init/cargo.d.ts +1 -1
  10. package/dist/init/git.d.ts +2 -0
  11. package/dist/init/git.js +13 -0
  12. package/dist/init/git.js.map +1 -0
  13. package/dist/init/gitModules.d.ts +1 -1
  14. package/dist/init/index.d.ts +2 -1
  15. package/dist/init/index.js +0 -1
  16. package/dist/init/index.js.map +1 -1
  17. package/dist/init/monorepo.d.ts +1 -1
  18. package/dist/init/prepareVelo.d.ts +1 -1
  19. package/dist/init/tauri.d.ts +1 -1
  20. package/dist/init/templates.d.ts +1 -1
  21. package/dist/init/templates.js +1 -1
  22. package/dist/init/templates.js.map +1 -1
  23. package/dist/init/velo.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/src/commands/copy.ts +1 -0
  26. package/src/commands/git.ts +39 -0
  27. package/src/commands/home.ts +2 -38
  28. package/src/index.ts +1 -1
  29. package/src/init/index.ts +0 -1
  30. package/src/init/templates.ts +1 -1
  31. package/files/templates/Default[B]/files/.cursorignore +0 -4
  32. package/files/templates/Default[B]/files/.stylelintrc.js +0 -8
  33. package/files/templates/Default[B]/lucy.json +0 -9
  34. package/files/templates/Default[C]/files/.cursorignore +0 -4
  35. package/files/templates/Default[C]/files/.env +0 -1
  36. package/files/templates/Default[C]/files/Cargo.toml +0 -238
  37. package/files/templates/Default[C]/files/Makefile.toml +0 -4
  38. package/files/templates/Default[C]/files/build/main.rs +0 -35
  39. package/files/templates/Default[C]/files/config/beta.json +0 -19
  40. package/files/templates/Default[C]/files/config/ci.json +0 -15
  41. package/files/templates/Default[C]/files/config/default.json +0 -71
  42. package/files/templates/Default[C]/files/config/development.json +0 -10
  43. package/files/templates/Default[C]/files/config/produktion.json +0 -5
  44. package/files/templates/Default[C]/files/config/stage.json +0 -4
  45. package/files/templates/Default[C]/files/locales/todo.yml +0 -3
  46. package/files/templates/Default[C]/files/public/index.html +0 -1
  47. package/files/templates/Default[C]/lucy.json +0 -15
  48. package/files/templates/Default[E]/files/.cursorignore +0 -4
  49. package/files/templates/Default[E]/files/.nvmrc +0 -1
  50. package/files/templates/Default[E]/files/.prettierignore +0 -23
  51. package/files/templates/Default[E]/files/.prettierrc.js +0 -16
  52. package/files/templates/Default[E]/files/.stylelintrc.js +0 -8
  53. package/files/templates/Default[E]/files/.yarnrc +0 -1
  54. package/files/templates/Default[E]/files/.yarnrc.yml +0 -3
  55. package/files/templates/Default[E]/files/README.md +0 -45
  56. package/files/templates/Default[E]/files/app.config.ts +0 -69
  57. package/files/templates/Default[E]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
  58. package/files/templates/Default[E]/files/assets/images/adaptive-icon.png +0 -0
  59. package/files/templates/Default[E]/files/assets/images/favicon.png +0 -0
  60. package/files/templates/Default[E]/files/assets/images/icon.png +0 -0
  61. package/files/templates/Default[E]/files/assets/images/splash-icon.png +0 -0
  62. package/files/templates/Default[E]/files/babel.config.js +0 -10
  63. package/files/templates/Default[E]/files/components/.gitkeep +0 -0
  64. package/files/templates/Default[E]/files/components/ui/.gitkeep +0 -0
  65. package/files/templates/Default[E]/files/constants/theme.ts +0 -18
  66. package/files/templates/Default[E]/files/eas.json +0 -32
  67. package/files/templates/Default[E]/files/eslint.config.mjs +0 -181
  68. package/files/templates/Default[E]/files/global.css +0 -47
  69. package/files/templates/Default[E]/files/hooks/useColorScheme.ts +0 -17
  70. package/files/templates/Default[E]/files/index.ts +0 -11
  71. package/files/templates/Default[E]/files/lib/data.ts +0 -197
  72. package/files/templates/Default[E]/files/lib/utils/index.ts +0 -11
  73. package/files/templates/Default[E]/files/lib/utils/polyfills.ts +0 -29
  74. package/files/templates/Default[E]/files/lib/wix/client.ts +0 -12
  75. package/files/templates/Default[E]/files/lib/wix/error.ts +0 -3
  76. package/files/templates/Default[E]/files/lib/wix/index.ts +0 -2
  77. package/files/templates/Default[E]/files/metro.config.js +0 -63
  78. package/files/templates/Default[E]/files/nativewind-env.d.ts +0 -1
  79. package/files/templates/Default[E]/files/pnpm-workspace.yaml +0 -3
  80. package/files/templates/Default[E]/files/scripts/reset-project.ts +0 -116
  81. package/files/templates/Default[E]/files/tailwind.config.js +0 -63
  82. package/files/templates/Default[E]/files/tsconfig.json +0 -46
  83. package/files/templates/Default[E]/files/types/reset.d.ts +0 -1
  84. package/files/templates/Default[E]/lucy.json +0 -86
  85. package/files/templates/Default[M]/files/.cursorignore +0 -4
  86. package/files/templates/Default[M]/files/.editorconfig +0 -10
  87. package/files/templates/Default[M]/files/.nvmrc +0 -1
  88. package/files/templates/Default[M]/files/.prettierignore +0 -23
  89. package/files/templates/Default[M]/files/.prettierrc.json +0 -15
  90. package/files/templates/Default[M]/files/.stylelintrc.js +0 -8
  91. package/files/templates/Default[M]/files/.yarnrc +0 -1
  92. package/files/templates/Default[M]/files/.yarnrc.yml +0 -3
  93. package/files/templates/Default[M]/files/README.md +0 -109
  94. package/files/templates/Default[M]/files/currents.config.ts +0 -5
  95. package/files/templates/Default[M]/files/nx.json +0 -25
  96. package/files/templates/Default[M]/files/pnpm-workspace.yaml +0 -11
  97. package/files/templates/Default[M]/files/tsconfig.json +0 -6
  98. package/files/templates/Default[M]/files/typedoc.json +0 -25
  99. package/files/templates/Default[M]/files/vitest.config.ts +0 -27
  100. package/files/templates/Default[M]/lucy.json +0 -69
  101. package/files/templates/Default[T]/files/.cursorignore +0 -4
  102. package/files/templates/Default[T]/lucy.json +0 -9
  103. package/files/templates/expo verse[E]/files/.nvmrc +0 -1
  104. package/files/templates/expo verse[E]/files/.prettierignore +0 -23
  105. package/files/templates/expo verse[E]/files/.prettierrc.js +0 -16
  106. package/files/templates/expo verse[E]/files/.stylelintrc.json +0 -8
  107. package/files/templates/expo verse[E]/files/.vscode/extensions.json +0 -10
  108. package/files/templates/expo verse[E]/files/.vscode/launch.json +0 -54
  109. package/files/templates/expo verse[E]/files/.vscode/settings.json +0 -30
  110. package/files/templates/expo verse[E]/files/.vscode/tasks.json +0 -0
  111. package/files/templates/expo verse[E]/files/.yarnrc +0 -1
  112. package/files/templates/expo verse[E]/files/.yarnrc.yml +0 -8
  113. package/files/templates/expo verse[E]/files/App.tsx +0 -63
  114. package/files/templates/expo verse[E]/files/DEBUGGING.md +0 -126
  115. package/files/templates/expo verse[E]/files/README.md +0 -45
  116. package/files/templates/expo verse[E]/files/android/app/build.gradle +0 -177
  117. package/files/templates/expo verse[E]/files/android/app/debug.keystore +0 -0
  118. package/files/templates/expo verse[E]/files/android/app/proguard-rules.pro +0 -14
  119. package/files/templates/expo verse[E]/files/android/app/src/debug/AndroidManifest.xml +0 -7
  120. package/files/templates/expo verse[E]/files/android/app/src/main/AndroidManifest.xml +0 -33
  121. package/files/templates/expo verse[E]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainActivity.kt +0 -65
  122. package/files/templates/expo verse[E]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainApplication.kt +0 -57
  123. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -6
  124. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  125. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png +0 -0
  126. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png +0 -0
  127. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-hdpi/splashscreen_logo.png +0 -0
  128. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-mdpi/splashscreen_logo.png +0 -0
  129. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xhdpi/splashscreen_logo.png +0 -0
  130. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xxhdpi/splashscreen_logo.png +0 -0
  131. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xxxhdpi/splashscreen_logo.png +0 -0
  132. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png +0 -0
  133. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png +0 -0
  134. package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png +0 -0
  135. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -6
  136. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -6
  137. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
  138. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
  139. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.webp +0 -0
  140. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
  141. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
  142. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
  143. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.webp +0 -0
  144. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
  145. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
  146. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
  147. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.webp +0 -0
  148. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
  149. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
  150. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
  151. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.webp +0 -0
  152. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
  153. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
  154. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
  155. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp +0 -0
  156. package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
  157. package/files/templates/expo verse[E]/files/android/app/src/main/res/values/colors.xml +0 -6
  158. package/files/templates/expo verse[E]/files/android/app/src/main/res/values/strings.xml +0 -7
  159. package/files/templates/expo verse[E]/files/android/app/src/main/res/values/styles.xml +0 -12
  160. package/files/templates/expo verse[E]/files/android/app/src/main/res/values-night/colors.xml +0 -3
  161. package/files/templates/expo verse[E]/files/android/build.gradle +0 -37
  162. package/files/templates/expo verse[E]/files/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  163. package/files/templates/expo verse[E]/files/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  164. package/files/templates/expo verse[E]/files/android/gradle.properties +0 -59
  165. package/files/templates/expo verse[E]/files/android/gradlew +0 -251
  166. package/files/templates/expo verse[E]/files/android/gradlew.bat +0 -94
  167. package/files/templates/expo verse[E]/files/android/settings.gradle +0 -39
  168. package/files/templates/expo verse[E]/files/app.config.ts +0 -77
  169. package/files/templates/expo verse[E]/files/assets/data/de.csv +0 -949
  170. package/files/templates/expo verse[E]/files/assets/data/en.csv +0 -949
  171. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Black.ttf +0 -0
  172. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-BlackItalic.ttf +0 -0
  173. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Bold.ttf +0 -0
  174. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-BoldItalic.ttf +0 -0
  175. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-ExtraBold.ttf +0 -0
  176. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-ExtraBoldItalic.ttf +0 -0
  177. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Italic.ttf +0 -0
  178. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Medium.ttf +0 -0
  179. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-MediumItalic.ttf +0 -0
  180. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Regular.ttf +0 -0
  181. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-SemiBold.ttf +0 -0
  182. package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-SemiBoldItalic.ttf +0 -0
  183. package/files/templates/expo verse[E]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
  184. package/files/templates/expo verse[E]/files/assets/images/andorid/background.png +0 -0
  185. package/files/templates/expo verse[E]/files/assets/images/android-dark.png +0 -0
  186. package/files/templates/expo verse[E]/files/assets/images/android-light.png +0 -0
  187. package/files/templates/expo verse[E]/files/assets/images/background.png +0 -0
  188. package/files/templates/expo verse[E]/files/assets/images/ios-dark.png +0 -0
  189. package/files/templates/expo verse[E]/files/assets/images/ios-light.png +0 -0
  190. package/files/templates/expo verse[E]/files/assets/images/ios-tinted.png +0 -0
  191. package/files/templates/expo verse[E]/files/assets/images/splash-icon-dark.png +0 -0
  192. package/files/templates/expo verse[E]/files/assets/images/splash-icon-light.png +0 -0
  193. package/files/templates/expo verse[E]/files/babel.config.js +0 -10
  194. package/files/templates/expo verse[E]/files/components/.gitkeep +0 -0
  195. package/files/templates/expo verse[E]/files/components/MainScreen.tsx +0 -299
  196. package/files/templates/expo verse[E]/files/components/Share.tsx +0 -132
  197. package/files/templates/expo verse[E]/files/components/ui/.gitkeep +0 -0
  198. package/files/templates/expo verse[E]/files/components/ui/dev.tsx +0 -48
  199. package/files/templates/expo verse[E]/files/constants/config.ts +0 -30
  200. package/files/templates/expo verse[E]/files/constants/theme.ts +0 -18
  201. package/files/templates/expo verse[E]/files/data/de.csv +0 -219
  202. package/files/templates/expo verse[E]/files/data/en.csv +0 -219
  203. package/files/templates/expo verse[E]/files/data/version.json +0 -4
  204. package/files/templates/expo verse[E]/files/eas.json +0 -47
  205. package/files/templates/expo verse[E]/files/eslint.config.mjs +0 -185
  206. package/files/templates/expo verse[E]/files/global.css +0 -47
  207. package/files/templates/expo verse[E]/files/hooks/useColorScheme.ts +0 -17
  208. package/files/templates/expo verse[E]/files/index.ts +0 -28
  209. package/files/templates/expo verse[E]/files/lib/content.ts +0 -31
  210. package/files/templates/expo verse[E]/files/lib/data.ts +0 -180
  211. package/files/templates/expo verse[E]/files/lib/helper.ts +0 -54
  212. package/files/templates/expo verse[E]/files/lib/index.ts +0 -21
  213. package/files/templates/expo verse[E]/files/lib/state.ts +0 -128
  214. package/files/templates/expo verse[E]/files/lib/storage.ts +0 -17
  215. package/files/templates/expo verse[E]/files/lib/taskManager/index.ts +0 -38
  216. package/files/templates/expo verse[E]/files/lib/taskManager/loadData.ts +0 -14
  217. package/files/templates/expo verse[E]/files/lib/utils/index.ts +0 -11
  218. package/files/templates/expo verse[E]/files/lib/utils/polyfills.ts +0 -29
  219. package/files/templates/expo verse[E]/files/lib/utils/screenshot.ts +0 -77
  220. package/files/templates/expo verse[E]/files/lucy.json +0 -8
  221. package/files/templates/expo verse[E]/files/metro.config.js +0 -81
  222. package/files/templates/expo verse[E]/files/models/index.ts +0 -28
  223. package/files/templates/expo verse[E]/files/nativewind-env.d.ts +0 -1
  224. package/files/templates/expo verse[E]/files/package.json +0 -102
  225. package/files/templates/expo verse[E]/files/pnpm-workspace.yaml +0 -3
  226. package/files/templates/expo verse[E]/files/scripts/convert-verses.ts +0 -309
  227. package/files/templates/expo verse[E]/files/scripts/move-artifacts.ts +0 -83
  228. package/files/templates/expo verse[E]/files/scripts/reset-project.ts +0 -116
  229. package/files/templates/expo verse[E]/files/tailwind.config.js +0 -63
  230. package/files/templates/expo verse[E]/files/tsconfig.json +0 -45
  231. package/files/templates/expo verse[E]/files/types/index.ts +0 -4
  232. package/files/templates/expo verse[E]/files/types/reset.d.ts +0 -1
  233. package/files/templates/expo verse[E]/lucy.json +0 -86
  234. package/files/templates/velo[D]/files/.cursorignore +0 -4
  235. package/files/templates/velo[D]/files/.gitmodules +0 -0
  236. package/files/templates/velo[D]/files/.madgerc +0 -8
  237. package/files/templates/velo[D]/files/.nvmrc +0 -1
  238. package/files/templates/velo[D]/files/.prettierignore +0 -23
  239. package/files/templates/velo[D]/files/.prettierrc.js +0 -16
  240. package/files/templates/velo[D]/files/.stylelintrc.js +0 -9
  241. package/files/templates/velo[D]/files/.yarnrc.yml +0 -2
  242. package/files/templates/velo[D]/files/currents.config.js +0 -5
  243. package/files/templates/velo[D]/files/cypress/e2e/base/base.cy.ts +0 -14
  244. package/files/templates/velo[D]/files/cypress/fixtures/example.json +0 -5
  245. package/files/templates/velo[D]/files/cypress/support/commands.ts +0 -37
  246. package/files/templates/velo[D]/files/cypress/support/e2e.ts +0 -24
  247. package/files/templates/velo[D]/files/cypress/tsconfig.json +0 -9
  248. package/files/templates/velo[D]/files/cypress.config.mjs +0 -19
  249. package/files/templates/velo[D]/files/eslint.config.mjs +0 -186
  250. package/files/templates/velo[D]/files/local.tsconfig.json +0 -61
  251. package/files/templates/velo[D]/files/typedoc.json +0 -25
  252. package/files/templates/velo[D]/files/typescript/__mocks__/.gitkeep +0 -0
  253. package/files/templates/velo[D]/files/typescript/backend/config/authz.ts +0 -47
  254. package/files/templates/velo[D]/files/typescript/backend/config/env.ts +0 -8
  255. package/files/templates/velo[D]/files/typescript/backend/config/index.ts +0 -26
  256. package/files/templates/velo[D]/files/typescript/backend/config/mail.ts +0 -10
  257. package/files/templates/velo[D]/files/typescript/backend/config/nats.ts +0 -6
  258. package/files/templates/velo[D]/files/typescript/backend/data.ts +0 -0
  259. package/files/templates/velo[D]/files/typescript/backend/events.ts +0 -0
  260. package/files/templates/velo[D]/files/typescript/backend/http-functions.ts +0 -81
  261. package/files/templates/velo[D]/files/typescript/backend/lib/http-functions/sync.ts +0 -270
  262. package/files/templates/velo[D]/files/typescript/backend/permissions.json +0 -17
  263. package/files/templates/velo[D]/files/typescript/pages/.gitkeep +0 -0
  264. package/files/templates/velo[D]/files/typescript/public/.gitkeep +0 -0
  265. package/files/templates/velo[D]/files/typescript/public/config/env.ts +0 -9
  266. package/files/templates/velo[D]/files/typescript/public/config/index.ts +0 -76
  267. package/files/templates/velo[D]/files/typescript/public/config/locales.ts +0 -30
  268. package/files/templates/velo[D]/files/typescript/public/config/theme.ts +0 -110
  269. package/files/templates/velo[D]/files/typescript/public/i18n/default.ts +0 -123
  270. package/files/templates/velo[D]/files/typescript/public/i18n/en.ts +0 -117
  271. package/files/templates/velo[D]/files/typescript/public/models/collections/member_roles.mode.ts +0 -21
  272. package/files/templates/velo[D]/files/typescript/public/models/collections/organization.model.ts +0 -38
  273. package/files/templates/velo[D]/files/typescript/public/models/collections/plan.model.ts +0 -94
  274. package/files/templates/velo[D]/files/typescript/public/models/collections/stage.model.ts +0 -14
  275. package/files/templates/velo[D]/files/typescript/public/models/collections/subscriptions.model.ts +0 -80
  276. package/files/templates/velo[D]/files/typescript/public/models/collections/tag.model.ts +0 -15
  277. package/files/templates/velo[D]/files/typescript/public/models/collections/translations.model.ts +0 -16
  278. package/files/templates/velo[D]/files/typescript/public/models/modules/authz.model.ts +0 -31
  279. package/files/templates/velo[D]/files/typescript/public/models/modules/organization.ts +0 -20
  280. package/files/templates/velo[D]/files/typescript/public/models/splitwise.model.ts +0 -18
  281. package/files/templates/velo[D]/files/typescript/public/models/store/local.model.ts +0 -10
  282. package/files/templates/velo[D]/files/typescript/public/models/store/memory.model.ts +0 -10
  283. package/files/templates/velo[D]/files/typescript/public/models/store/session.model.ts +0 -10
  284. package/files/templates/velo[D]/files/typescript/public/models/wix/ecom/payment.ts +0 -236
  285. package/files/templates/velo[D]/files/typescript/public/scss/app.scss +0 -0
  286. package/files/templates/velo[D]/files/typescript/styles/.gitkeep +0 -0
  287. package/files/templates/velo[D]/files/typescript/styles/global.scss +0 -0
  288. package/files/templates/velo[D]/files/typescript/tsconfig.json +0 -72
  289. package/files/templates/velo[D]/files/vitest.config.ts +0 -45
  290. package/files/templates/velo[D]/lucy.json +0 -147
@@ -1,123 +0,0 @@
1
- import { satisfies } from 'effect/Function';
2
- import { baseNotification, commonBase } from 'public/lib/i18n/de';
3
- import { NotificationTranslation } from 'public/lib/models/common/translator.model';
4
-
5
- export type AllTranslationKeys =
6
- | `common:${CommonKeys}`
7
- | `notification:${NotificationKeys}`;
8
- ;
9
- type CommonKeys = keyof typeof common;
10
- type NotificationKeys = keyof typeof notification;
11
-
12
- export type Common = { [K in keyof typeof common]: unknown }
13
- const common = {
14
- ...commonBase,
15
- mail_newsletter: {
16
- subject: 'Willkommen beim Newsletter',
17
- body: `Herzlich Willkommen beim Newsletter der Integrale Akademie Schweiz. Wir freuen uns, dass Sie sich für unseren Newsletter angemeldet haben.{{- br}}
18
- Sie erhalten in Kürze eine E-Mail mit einem Bestätigungslink. Bitte klicken Sie auf den Link um Ihre Anmeldung zu bestätigen. {{- br}}
19
- Als Dankeschön erhalten Sie einen Link zum exklusiven Download unseres Plakats "Stufen des Selbst".
20
- `,
21
- title: 'Willkommen beim Newsletter',
22
- },
23
- closed: 'Geschlossen',
24
- monFri: 'Mo. - Fr.',
25
- all: 'Alle',
26
- sat: 'Sa.',
27
- sun: 'So.',
28
- mon: 'Mo.',
29
- tue: 'Di.',
30
- wed: 'Mi.',
31
- thu: 'Do.',
32
- fri: 'Fr.',
33
- validationErrors: {
34
- required: 'Dieses Feld ist erforderlich!',
35
- email: 'Bitte geben Sie eine gültige E-Mail Adresse ein!',
36
- phone: 'Bitte geben Sie eine gültige Telefonnummer ein!',
37
- name: 'Bitte geben Sie einen gültigen Namen mit mindesten 2 Zeichen ein!',
38
- },
39
- } as const;
40
-
41
- export type Notification = { [K in keyof typeof notification]: { title: string; message: string } }
42
- const notification = satisfies<NotificationTranslation>()({
43
- ...baseNotification,
44
- shop_calender_date_reset: {
45
- title: 'Datum zurückgesetzt!',
46
- message: 'Die gewünschte Filiale ist für den {{date}} geschlossen. Bitte wählen Sie ein neues Datum aus.',
47
- },
48
- shop_added_to_cart: {
49
- title: 'Produkt erfolgreich zum Warenkorb hinzugefügt!',
50
- message: 'Viel Spass beim weiteren Einkauf!',
51
- },
52
- shop_added_to_cart_failed: {
53
- title: 'Das Produkt konnte nicht zum Warenkorb hinzugefügt werden!',
54
- message: 'Bitte versuchen Sie es später erneut.',
55
- },
56
- shop_deleted_from_cart_failed: {
57
- title: 'Das Produkt konnte nicht vom Warenkorb entfernt werden!',
58
- message: 'Bitte versuchen Sie es später erneut.',
59
- },
60
- shop_deleted_from_cart: {
61
- title: 'Produkt erfolgreich vom Warenkorb entfernt!',
62
- message: 'Viel Spass beim weiteren Einkauf!',
63
- },
64
- shop_no_product_found: {
65
- title: 'Kein Produkt gefunden!',
66
- message: 'Kein Produkt enspricht der Suche.',
67
- },
68
- shop_load_cart_error: {
69
- title: 'Wir konnten den Warenkorb nicht laden!',
70
- message: 'Bitte versuchen Sie es später erneut. <br /> {{error}}',
71
- },
72
- shop_nothing_to_add: {
73
- title: 'Wir konnten kein Produkt hinzufügen!',
74
- message: 'Bitte versuchen Sie es später erneut.',
75
- },
76
- shop_payment_error: {
77
- title: 'Zahlung fehlgeschlagen!',
78
- message: 'Wir konnten den Bezahlvorgang nicht abschliessen. Bitte versuchen Sie es später erneut. <br /> <b>Status:</b> {{status}}',
79
- },
80
- shop_order_creation_error: {
81
- title: 'Wir konnten die Bestellung nicht abschliessen!',
82
- message: 'Die Zahlung ist eingegangen, aber wir konnten die Bestellung nicht abschliessen. Bitte kontaktieren Sie uns.<br /> <strong>Transatkions ID</strong>: {{transactionId}} <br /> <strong>Warenkorb ID</strong>: {{cartId}} <br /> <strong>Fehler: </strong>{{error}}',
83
- },
84
- shop_terms_not_accepted: {
85
- title: 'Sie müssen die AGB akzeptieren!',
86
- message: 'Bitte akzeptieren Sie die AGB um fortzufahren.',
87
- },
88
- shop_no_checkout: {
89
- title: 'Wir konnten keine Bestellung finden!',
90
- message: 'Bitte versuchen Sie es später erneut.',
91
- },
92
- shop_no_propper_address: {
93
- title: 'Keine Filiale ausgewählt!',
94
- message: 'Es wurde keine Filiale ausgewählt. Bitte wählen Sie eine <a href="/store-and-date-picker">Filiale</a> aus.',
95
- },
96
- date_not_available: {
97
- title: 'Das ausgewählte Abholdatum ist nicht gültig!',
98
- message: 'Das ausgewählte Abholdatum {{date}} ist nicht gültig. Bitte wählen Sie ein anderes Datum aus.',
99
- },
100
- cart_validation_error: {
101
- title: 'Ungültige Angaben!',
102
- message: 'Die Angaben für {{article}} sind ungültig. Bitte überprüfen Sie Ihre Angaben.',
103
- },
104
- cart_min_order_value: {
105
- title: 'Mindestbestellwert nicht erreicht!',
106
- message: 'Der Mindestbestellwert von {{minOrderValue}}.00 CHF wurde nicht erreicht.',
107
- },
108
- shop_cart_invalid: {
109
- title: 'Der Warekorb ist ungültig!',
110
- message: 'Bitte versuchen Sie es später erneut.',
111
- },
112
- shop_validation_error: {
113
- title: 'Der Warenkorb enthält ungültige Produkte!',
114
- message: '<b>{{article}} ist ungültig</b><br>- {{- validationErrors}}',
115
- },
116
- shop_payment_failed: {
117
- title: 'Weiterleitung zum Warenkorb',
118
- message: 'Sie werden in 2 Minuten zum Warenkorb weitergeleitet. <a href="/warenkorb">Zum Warenkorb</a>',
119
- }
120
- } as const);
121
-
122
- export { common, notification };
123
- export default { common, notification };
@@ -1,117 +0,0 @@
1
- import { satisfies } from 'effect/Function';
2
- import { baseNotification, commonBase, } from 'public/lib/i18n/en';
3
- import { NotificationTranslation } from 'public/lib/models/common/translator.model';
4
-
5
- import { Common, Notification } from './default';
6
-
7
- const common: Common = {
8
- ...commonBase,
9
- mail_newsletter: {
10
- subject: 'Welcome to the Newsletter',
11
- body: `Welcome to the newsletter of the Integral Academy Switzerland. We are delighted that you have signed up for our newsletter.{{- br}}
12
- You will soon receive an email with a confirmation link. Please click on the link to confirm your subscription.{{- br}}
13
- As a thank you, you will receive a link to the exclusive download of our poster "Stages of the Self".
14
- `,
15
- title: 'Welcome to the Newsletter',
16
- },
17
- closed: 'Closed',
18
- monFri: 'Mon. - Fri.',
19
- all: 'All',
20
- sat: 'Sat.',
21
- sun: 'Sun.',
22
- mon: 'Mon.',
23
- tue: 'Tue.',
24
- wed: 'Wed.',
25
- thu: 'Thu.',
26
- fri: 'Fri.',
27
- validationErrors: {
28
- required: 'This field is required!',
29
- email: 'Please enter a valid email address!',
30
- phone: 'Please enter a valid phone number!',
31
- name: 'Please enter a valid name with at least 2 characters!',
32
- },
33
- };
34
-
35
- // const notification: NotificationTranslationSchema = {
36
- const notification: Notification = satisfies<NotificationTranslation>()({
37
- ...baseNotification,
38
- shop_calender_date_reset: {
39
- title: 'Date reset!',
40
- message: 'The selected store is closed for {{date}}. Please choose a new date.',
41
- },
42
- shop_added_to_cart: {
43
- title: 'Product successfully added to the cart!',
44
- message: 'Enjoy your further shopping!',
45
- },
46
- shop_added_to_cart_failed: {
47
- title: 'Product could not be added to the cart!',
48
- message: 'Please try again later.',
49
- },
50
- shop_deleted_from_cart_failed: {
51
- title: 'Product could not be removed from the cart!',
52
- message: 'Please try again later.',
53
- },
54
- shop_deleted_from_cart: {
55
- title: 'Product successfully removed from the cart!',
56
- message: 'Enjoy your further shopping!',
57
- },
58
- shop_no_product_found: {
59
- title: 'No product found!',
60
- message: 'No product matches your search.',
61
- },
62
- shop_load_cart_error: {
63
- title: "We couldn't load your cart!",
64
- message: 'Please try again later. <br /> {{error}}',
65
- },
66
- shop_nothing_to_add: {
67
- title: "We couldn't add any product!",
68
- message: 'Please try again later.',
69
- },
70
- shop_payment_error: {
71
- title: 'Payment failed!',
72
- message: "We couldn't complete the payment process. Please try again later. <br /> <b>Status:</b> {{status}}",
73
- },
74
- shop_order_creation_error: {
75
- title: "We couldn't complete the order!",
76
- message: "The payment has been received, but we couldn't complete the order. Please contact us.<br /> <strong>Transaction ID</strong>: {{transactionId}} <br /> <strong>Cart ID</strong>: {{cartId}} <br /> <strong>Error: </strong>{{error}}",
77
- },
78
- shop_terms_not_accepted: {
79
- title: 'You must accept the terms and conditions!',
80
- message: 'Please accept the terms and conditions to continue.',
81
- },
82
- shop_no_checkout: {
83
- title: "We couldn't find any order!",
84
- message: 'Please try again later.',
85
- },
86
- shop_no_propper_address: {
87
- title: 'No store selected!',
88
- message: 'No store has been selected. Please choose a <a href="/store-and-date-picker">store</a>.',
89
- },
90
- date_not_available: {
91
- title: 'The selected pickup date is not valid!',
92
- message: 'The selected pickup date {{date}} is not valid. Please choose another date.',
93
- },
94
- cart_validation_error: {
95
- title: 'Invalid product details!',
96
- message: 'Product details for {{article}} are invalid.',
97
- },
98
- cart_min_order_value: {
99
- title: 'Minimal order value not reached!',
100
- message: 'The minimal order value is {{minOrderValue}}.00 CHF.',
101
- },
102
- shop_cart_invalid: {
103
- title: 'The cart is invalid!',
104
- message: 'Please try again later.',
105
- },
106
- shop_validation_error: {
107
- title: 'The cart contains invalid products!',
108
- message: '<b>{{article}} is invalid:</b><br />- {{- validationErrors}}',
109
- },
110
- shop_payment_failed: {
111
- title: 'Redirecting to the shopping cart!',
112
- message: 'In 2 minutes you will be redirected to the shopping cart. <a href="/warenkorb">Go to the shopping cart</a>',
113
- }
114
- } as const);
115
-
116
- export { common, notification };
117
- export default { common, notification };
@@ -1,21 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { wixItemBaseSchema } from 'public/lib/models/wix/common/collection.model';
3
-
4
- import { organizationSchema } from './organization.model';
5
-
6
- export const memberRolesSchema = Schema.Struct({
7
- key: Schema.String,
8
- account: Schema.String,
9
- roles: Schema.Array(Schema.String),
10
- });
11
-
12
- export const memberRolesWithOrgSchema = Schema.Struct({
13
- ...wixItemBaseSchema.fields,
14
- key: Schema.String,
15
- account: Schema.String,
16
- roles: Schema.Array(Schema.String),
17
- organizations_members: organizationSchema,
18
- });
19
-
20
-
21
- export const memberRolesWithOrgCollectionSchema = Schema.mutable(Schema.Array(memberRolesWithOrgSchema));
@@ -1,38 +0,0 @@
1
- import { Schema } from 'effect';
2
- import { wixItemBaseSchema } from 'public/lib/models/wix/common/collection.model';
3
- import { addressSchema, mediaGallerySchema } from 'public/lib/models/wix/common/common.model';
4
-
5
- import { subscriptionsSchema } from './subscriptions.model';
6
-
7
- export const organizationBaseSchema = Schema.Struct({
8
- name: Schema.String,
9
- description: Schema.String,
10
- location: addressSchema,
11
- phone: Schema.optional(Schema.String),
12
- website: Schema.optional(Schema.String),
13
- logo: Schema.String,
14
- media_gallery: mediaGallerySchema,
15
- subscription: subscriptionsSchema,
16
- slug: Schema.optional(Schema.String),
17
- usage: Schema.String,
18
- validated: Schema.Boolean,
19
- email: Schema.String,
20
- watch: Schema.Boolean,
21
- flagged: Schema.Boolean,
22
- threshold: Schema.Number,
23
- stage: Schema.String,
24
- });
25
-
26
-
27
- // export class OrganizationSchema extends Schema.Class<OrganizationSchema>('OrganizationSchema')(
28
- // {
29
- // ...wixItemBaseSchema.fields,
30
- // ...organizationBaseSchema.fields,
31
- // }
32
- // ) {}
33
- export const organizationSchema = Schema.Struct({
34
- ...wixItemBaseSchema.fields,
35
- ...organizationBaseSchema.fields,
36
- });
37
-
38
- export const organizationsItemsSchema = Schema.Array(organizationSchema);
@@ -1,94 +0,0 @@
1
- import { satisfies } from 'effect/Function';
2
- import { Schema } from 'effect/index';
3
-
4
- /**
5
- * Defines the base schema for a feature literal.
6
- */
7
- export const futuresSchema = Schema.Literal('create_event', 'create_organization');
8
-
9
- /**
10
- * Defines the base schema for a single subscription plan.
11
- */
12
- export const planSchema = Schema.Struct({
13
- id: Schema.String,
14
- name: Schema.String,
15
- order: Schema.Number,
16
- features: Schema.Array(futuresSchema),
17
- limits: Schema.Struct({
18
- organizations: Schema.Number,
19
- events: Schema.Number,
20
- }),
21
- });
22
-
23
- /**
24
- * A derived TypeScript type for a Plan, for convenience.
25
- */
26
- export type Plan = Schema.Schema.Type<typeof planSchema>;
27
-
28
- /**
29
- * The static list of all available subscription plans.
30
- * This data is typed and validated against the planSchema at build time.
31
- * By keeping this in a separate file, we prevent circular dependencies.
32
- */
33
- export const availablePlans = satisfies<Plan[]>()([
34
- {
35
- id: '00000000-0000-0000-0000-000000000000',
36
- name: 'free',
37
- order: 0,
38
- features: [ 'create_event', 'create_organization' ],
39
- limits: {
40
- organizations: 2,
41
- events: 1
42
- },
43
- },
44
- {
45
- id: '26b02e36-6d07-41d8-ae49-8241756b4270',
46
- name: '1 Jahr kostenlos',
47
- order: 1,
48
- features: ['create_event', 'create_organization'],
49
- limits: {
50
- organizations: 2,
51
- events: 1
52
- },
53
- },
54
- {
55
- id: 'a86edd6d-8d7e-468d-b763-838674cff834',
56
- name: 'Einsteiger',
57
- order: 2,
58
- features: ['create_event', 'create_organization'],
59
- limits: {
60
- organizations: 2,
61
- events: 1
62
- },
63
- },
64
- {
65
- id: '9c6b158e-2689-45c0-95a3-8c0e596a69ce',
66
- name: 'Hobby',
67
- order: 3,
68
- features: [],
69
- limits: {
70
- organizations: 2,
71
- events: 1
72
- },
73
- },
74
- {
75
- id: 'c7de837b-7463-4508-a89c-d7deec3fc9fd',
76
- name: 'Teilzeit',
77
- order: 4,
78
- features: ['create_event', 'create_organization'],
79
- limits: {
80
- organizations: 2,
81
- events: 1
82
- },
83
- },
84
- {
85
- id: 'c1e48401-1126-4834-be26-6fd5df9d5ffe',
86
- name: 'Vollzeit',
87
- order: 5,
88
- features: ['create_event', 'create_organization'],
89
- limits: {
90
- organizations: 2,
91
- events: 1
92
- },
93
- },
94
- ] as const);
@@ -1,14 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { wixItemBaseSchema } from 'public/lib/models/wix/common/collection.model';
3
-
4
-
5
- export const stageBaseSchema = Schema.Struct({
6
- name: Schema.String,
7
- description: Schema.String,
8
- color: Schema.String,
9
- });
10
-
11
- export const stageSchema = Schema.Struct({
12
- ...wixItemBaseSchema.fields,
13
- ...stageBaseSchema.fields,
14
- });
@@ -1,80 +0,0 @@
1
- import { satisfies } from 'effect/Function';
2
- import { Schema } from 'effect/index';
3
-
4
- export const futuresSchema = Schema.Literal('create_event', 'create_organization');
5
- export const planSchema = Schema.Struct({
6
- id: Schema.String,
7
- name: Schema.String,
8
- order: Schema.Number,
9
- features: Schema.Array(futuresSchema),
10
- limits: Schema.Struct({
11
- organizations: Schema.Number,
12
- events: Schema.Number,
13
- }),
14
- });
15
-
16
- export const availablePlans = satisfies<typeof planSchema.Type[]>()([
17
- {
18
- id: '00000000-0000-0000-0000-000000000000',
19
- name: 'free',
20
- order: 0,
21
- features: [ 'create_event', 'create_organization' ],
22
- limits: {
23
- organizations: 2,
24
- events: 1
25
- },
26
- },
27
- {
28
- id: '26b02e36-6d07-41d8-ae49-8241756b4270',
29
- name: '1 Jahr kostenlos',
30
- order: 1,
31
- features: ['create_event', 'create_organization'],
32
- limits: {
33
- organizations: 2,
34
- events: 1
35
- },
36
- },
37
- {
38
- id: 'a86edd6d-8d7e-468d-b763-838674cff834',
39
- name: 'Einsteiger',
40
- order: 2,
41
- features: ['create_event', 'create_organization'],
42
- limits: {
43
- organizations: 2,
44
- events: 1
45
- },
46
- },
47
- {
48
- id: '9c6b158e-2689-45c0-95a3-8c0e596a69ce',
49
- name: 'Hobby',
50
- order: 3,
51
- features: [],
52
- limits: {
53
- organizations: 2,
54
- events: 1
55
- },
56
- },
57
- {
58
- id: 'c7de837b-7463-4508-a89c-d7deec3fc9fd',
59
- name: 'Teilzeit',
60
- order: 4,
61
- features: ['create_event', 'create_organization'],
62
- limits: {
63
- organizations: 2,
64
- events: 1
65
- },
66
- },
67
- {
68
- id: 'c1e48401-1126-4834-be26-6fd5df9d5ffe',
69
- name: 'Vollzeit',
70
- order: 5,
71
- features: ['create_event', 'create_organization'],
72
- limits: {
73
- organizations: 2,
74
- events: 1
75
- },
76
- },
77
- ] as const);
78
- export const subscriptionsSchema = Schema.Literal(...availablePlans.map(plan => plan.id));
79
-
80
-
@@ -1,15 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { wixItemBaseSchema } from 'public/lib/models/wix/common/collection.model';
3
-
4
- export const tagBaseSchema = Schema.Struct({
5
- name: Schema.String,
6
- description: Schema.String,
7
- image: Schema.String,
8
- });
9
-
10
- export const tagSchema = Schema.Struct({
11
- ...wixItemBaseSchema.fields,
12
- ...tagBaseSchema.fields,
13
- });
14
-
15
- export const tagsSchema = Schema.Array(tagSchema);
@@ -1,16 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { wixItemBaseSchema } from 'public/lib/models/wix/common/collection.model';
3
-
4
- export const translationBaseSchema = Schema.Struct({
5
- key: Schema.String,
6
- language: Schema.String,
7
- text: Schema.optional(Schema.String),
8
- rich_text: Schema.optional(Schema.String),
9
- rich_content: Schema.optional(Schema.String),
10
- });
11
-
12
- export const translationSchema = Schema.Struct({
13
- ...wixItemBaseSchema.fields,
14
- ...translationBaseSchema.fields,
15
- });
16
- export const translationsSchema = Schema.Array(translationSchema);
@@ -1,31 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { jwtBaseSchema } from 'public/lib/models/dto/jwt.mode';
3
-
4
- import { Roles } from '../../config';
5
- import { availablePlans, planSchema } from '../collections/subscriptions.model';
6
-
7
- export const subscriptionSchema = Schema.Union(planSchema);
8
- export type Subscription = typeof subscriptionSchema.Type;
9
- export const organizationDetails = Schema.Struct({
10
- organizationId: Schema.String,
11
- organizationSlug: Schema.optional(Schema.String),
12
- organizationSubscriptionId: Schema.Literal(...availablePlans.map(plan => plan.id)),
13
- roles: Schema.mutable(Schema.Array(Schema.Enums(Roles))),
14
- });
15
-
16
- export const rolesByOrgCollectionSchema = Schema.Struct({
17
- user: Schema.Struct({
18
- id: Schema.String,
19
- subscription: Schema.NullOr(subscriptionSchema),
20
- }),
21
- organizations: Schema.Array(organizationDetails),
22
- isSuperAdmin: Schema.Boolean,
23
- });
24
- export type AuthzData = typeof rolesByOrgCollectionSchema.Type;
25
-
26
- export const jwtSchema = Schema.Struct({
27
- ...jwtBaseSchema.fields,
28
- ...rolesByOrgCollectionSchema.fields,
29
- });
30
-
31
- //Schema.optional(Schema.Union(...availablePlans.map(plan => Schema.Literal(typeof plan))))
@@ -1,20 +0,0 @@
1
- import { Schema } from 'effect/index';
2
- import { createResponseDTOSchema } from 'public/lib/dto/response.dto';
3
- import { createRequestDTOSchema } from 'public/lib/dto/shared/request.dto';
4
- import { ResponseDTO } from 'public/lib/models/dto/response.model';
5
- import { multireferenceSchema } from 'public/lib/models/wix/common/common.model';
6
- import { organizationSchema } from 'public/models/collections/organization.model';
7
-
8
- import { stageSchema } from '../collections/stage.model';
9
- import { tagSchema } from '../collections/tag.model';
10
-
11
- export const organizationFullSchema = Schema.Struct({
12
- ...organizationSchema.fields,
13
- tags: multireferenceSchema(tagSchema),
14
- stage: stageSchema, // Assuming stage is a string, adjust if it's different
15
- });
16
-
17
- // export type GetOrganizationDTO = ResponseDTO<typeof organizationFullSchema.Type | undefined>;
18
- // export const getOrganizationDTOSchema = createResponseDTOSchema(organizationFullSchema);
19
- // export type GetSingleOrganizationDTO = ResponseDTO<typeof organizationFullSchema.Type>;
20
- // export const requestOrganizationDTOSchema = createRequestDTOSchema(Schema.String);
@@ -1,18 +0,0 @@
1
- import { Schema } from "effect";
2
-
3
- export const userSchema = Schema.Struct({
4
- label: Schema.String,
5
- value: Schema.String,
6
- });
7
-
8
- export const userListSchema = Schema.mutable(Schema.Array(userSchema));
9
-
10
- export const responseSchema = Schema.Struct({
11
- status: Schema.String,
12
- message: Schema.String,
13
- });
14
-
15
-
16
- export type UserList = typeof userListSchema.Type;
17
-
18
- export type Response = typeof responseSchema.Type;
@@ -1,10 +0,0 @@
1
- import { tablesBaseSchema, valuesBaseSchema } from 'public/lib/models/store/local';
2
-
3
- export const tablesSchema = {
4
- // pets: { species: { type: 'string' }, age: { type: 'number' }, puppie: { type: 'boolean' } },
5
- ...tablesBaseSchema,
6
- } as const;
7
-
8
- export const valuesSchema = {
9
- ...valuesBaseSchema,
10
- } as const;
@@ -1,10 +0,0 @@
1
- import { tablesBaseSchema, valuesBaseSchema } from 'public/lib/models/store/memory';
2
-
3
- export const tablesSchema = {
4
- // pets: { species: { type: 'string' } },
5
- ...tablesBaseSchema,
6
- } as const;
7
-
8
- export const valuesSchema = {
9
- ...valuesBaseSchema,
10
- } as const;
@@ -1,10 +0,0 @@
1
- import { tablesBaseSchema, valuesBaseSchema } from 'public/lib/models/store/session';
2
-
3
- export const tablesSchema = {
4
- ...tablesBaseSchema,
5
- } as const;
6
-
7
- export const valuesSchema = {
8
- ...valuesBaseSchema,
9
- } as const;
10
-