@imksh/create 1.0.26 → 1.0.28

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 (1130) hide show
  1. package/package.json +6 -3
  2. package/src/commands/create.js +2 -1
  3. package/src/index.js +1 -1
  4. package/src/utils/askTemplate.js +1 -0
  5. package/src/utils/composeTemplate.js +158 -0
  6. package/src/utils/copyTemplate.js +17 -39
  7. package/templates/{mern/server → layers/node/javascript}/src/controllers/auth.controller.js +14 -0
  8. package/templates/{node → layers/node/javascript}/src/models/pushSubscription.model.js +12 -4
  9. package/templates/{node → layers/node/javascript}/src/models/user.model.js +6 -0
  10. package/templates/{mern/server → layers/node/javascript}/src/services/auth.service.js +17 -0
  11. package/templates/{mern-ts/server → layers/node/typescript}/src/controllers/auth.controller.ts +14 -0
  12. package/templates/{mern-ts/server → layers/node/typescript}/src/models/pushSubscription.model.ts +15 -6
  13. package/templates/{mern-react-native/server → layers/node/typescript}/src/models/user.model.ts +1 -1
  14. package/templates/{mern-ts/server → layers/node/typescript}/src/routes/auth.route.ts +2 -0
  15. package/templates/{mern-ts/server → layers/node/typescript}/src/services/auth.service.ts +17 -0
  16. package/templates/layers/prisma/javascript/README.md +71 -0
  17. package/templates/{node → layers/prisma/javascript}/package.json +6 -3
  18. package/templates/layers/prisma/javascript/prisma/schema.prisma +41 -0
  19. package/templates/layers/prisma/javascript/src/config/db.js +16 -0
  20. package/templates/{node → layers/prisma/javascript}/src/controllers/auth.controller.js +7 -14
  21. package/templates/layers/prisma/javascript/src/controllers/push.controller.js +54 -0
  22. package/templates/layers/prisma/javascript/src/middleware/auth.middleware.js +44 -0
  23. package/templates/{node → layers/prisma/javascript}/src/services/auth.service.js +55 -55
  24. package/templates/layers/prisma/javascript/src/utils/pushHelper.js +22 -0
  25. package/templates/{node-ts → layers/prisma/typescript}/package.json +7 -6
  26. package/templates/layers/prisma/typescript/prisma/schema.prisma +41 -0
  27. package/templates/layers/prisma/typescript/src/config/db.ts +16 -0
  28. package/templates/{react/src/config → layers/react/javascript/src/assets/data}/navigation.js +10 -0
  29. package/templates/layers/react/javascript/src/components/common/Breadcrumbs.jsx +60 -0
  30. package/templates/layers/react/javascript/src/components/common/CircularProgress.jsx +65 -0
  31. package/templates/layers/react/javascript/src/components/common/Modal.jsx +108 -0
  32. package/templates/{mern/client → layers/react/javascript}/src/components/common/NotFound.jsx +1 -1
  33. package/templates/layers/react/javascript/src/components/common/PageTransition.jsx +34 -0
  34. package/templates/layers/react/javascript/src/components/common/Pagination.jsx +81 -0
  35. package/templates/{react → layers/react/javascript}/src/components/common/SEO.jsx +3 -11
  36. package/templates/{react → layers/react/javascript}/src/components/common/Scroll.jsx +1 -1
  37. package/templates/layers/react/javascript/src/components/common/Table.jsx +143 -0
  38. package/templates/layers/react/javascript/src/components/common/Tabs.jsx +134 -0
  39. package/templates/layers/react/javascript/src/components/common/modals/ConfirmModal.jsx +119 -0
  40. package/templates/layers/react/javascript/src/components/common/modals/DocViewerModal.jsx +31 -0
  41. package/templates/{next → layers/react/javascript}/src/components/modals/ConfirmModal.jsx +2 -11
  42. package/templates/{next → layers/react/javascript}/src/components/modals/Modal.jsx +4 -9
  43. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/CardSkeleton.jsx +1 -3
  44. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/DashboardSkeleton.jsx +1 -3
  45. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/ListSkeleton.jsx +2 -5
  46. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/PageSkeleton.jsx +2 -9
  47. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/ProfileSkeleton.jsx +1 -5
  48. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/Skeleton.jsx +1 -1
  49. package/templates/{next → layers/react/javascript}/src/components/skeletons/common/TableSkeleton.jsx +1 -1
  50. package/templates/{mern/client → layers/react/javascript}/src/components/ui/Header.jsx +19 -11
  51. package/templates/layers/react/javascript/src/components/ui/SidebarHeader.jsx +36 -0
  52. package/templates/layers/react/javascript/src/components/ui/sidebar.jsx +169 -0
  53. package/templates/{mern/client → layers/react/javascript}/src/config/api.js +1 -1
  54. package/templates/{react → layers/react/javascript}/src/config/appConfig.js +1 -1
  55. package/templates/{react → layers/react/javascript}/src/hooks/useLenis.js +1 -1
  56. package/templates/{react → layers/react/javascript}/src/hooks/usePwaInstall.js +4 -1
  57. package/templates/{next → layers/react/javascript}/src/hooks/useWindowSize.js +1 -2
  58. package/templates/{react → layers/react/javascript}/src/pages/Home.jsx +1 -1
  59. package/templates/{react → layers/react/javascript}/src/pages/Login.jsx +8 -2
  60. package/templates/layers/react/javascript/src/pages/Profile.jsx +7 -0
  61. package/templates/{react → layers/react/javascript}/src/services/authService.js +3 -6
  62. package/templates/{next → layers/react/javascript}/src/store/useAuthStore.js +7 -1
  63. package/templates/{mern/client → layers/react/javascript}/src/store/useUiStore.js +11 -14
  64. package/templates/{next → layers/react/javascript}/src/utils/getInitials.js +1 -1
  65. package/templates/layers/react/typescript/src/components/common/Breadcrumbs.tsx +49 -0
  66. package/templates/layers/react/typescript/src/components/common/CircularProgress.tsx +68 -0
  67. package/templates/{production-fullstack/client/src/components/ui → layers/react/typescript/src/components/common}/Modal.tsx +53 -18
  68. package/templates/layers/react/typescript/src/components/common/PageTransition.tsx +45 -0
  69. package/templates/layers/react/typescript/src/components/common/Pagination.tsx +91 -0
  70. package/templates/{mern-ts/client → layers/react/typescript}/src/components/common/Table.tsx +4 -2
  71. package/templates/layers/react/typescript/src/components/common/Tabs.tsx +145 -0
  72. package/templates/layers/react/typescript/src/components/common/modals/ConfirmModal.tsx +114 -0
  73. package/templates/layers/react/typescript/src/components/common/modals/DocViewerModal.tsx +41 -0
  74. package/templates/{mern-react-native/client → layers/react/typescript}/src/components/layout/SidebarLayout.tsx +1 -1
  75. package/templates/{mern/client/src/components/ui/sidebar.jsx → layers/react/typescript/src/components/ui/Sidebar.tsx} +4 -4
  76. package/templates/{mern-react-native/client → layers/react/typescript}/src/components/ui/SidebarHeader.tsx +15 -4
  77. package/templates/{react-ts → layers/react/typescript}/src/store/useUiStore.ts +17 -0
  78. package/templates/layers/react-native/base/package-lock.json +15108 -0
  79. package/templates/{mern-react-native/mobile → layers/react-native/base}/package.json +8 -0
  80. package/templates/{react-native → layers/react-native/base}/src/app/(tabs)/profile.tsx +20 -1
  81. package/templates/{react-native → layers/react-native/base}/src/app/_layout.tsx +20 -12
  82. package/templates/layers/react-native/base/src/app/doc-viewer.tsx +193 -0
  83. package/templates/{react-native → layers/react-native/base}/src/components/common/Typography.tsx +37 -10
  84. package/templates/layers/react-native/base/src/components/ui/BiometricLock.tsx +113 -0
  85. package/templates/{react-native → layers/react-native/base}/src/components/ui/BottomModal.tsx +20 -3
  86. package/templates/{production-fullstack/mobile → layers/react-native/base}/src/components/ui/ClassicTabBar.tsx +10 -27
  87. package/templates/layers/react-native/base/src/services/biometric.service.ts +24 -0
  88. package/templates/{mern-react-native/mobile → layers/react-native/base}/src/store/useAuthStore.ts +53 -12
  89. package/templates/presets/fullstack-prisma/overrides/package.json +15 -0
  90. package/templates/presets/fullstack-prisma/preset.json +22 -0
  91. package/templates/presets/mern/overrides/_gitignore +2 -0
  92. package/templates/presets/mern/preset.json +18 -0
  93. package/templates/presets/mern-react-native/preset.json +22 -0
  94. package/templates/presets/mern-ts/preset.json +18 -0
  95. package/templates/presets/next/preset.json +7 -0
  96. package/templates/presets/next-ts/preset.json +7 -0
  97. package/templates/presets/node/preset.json +6 -0
  98. package/templates/presets/node-prisma/preset.json +6 -0
  99. package/templates/presets/node-prisma-ts/preset.json +6 -0
  100. package/templates/presets/node-ts/preset.json +6 -0
  101. package/templates/presets/production-fullstack/overrides/client/package-lock.json +6065 -0
  102. package/templates/presets/production-fullstack/overrides/mobile/_gitignore +43 -0
  103. package/templates/{mern → presets/production-fullstack/overrides}/server/.env.example +3 -2
  104. package/templates/presets/production-fullstack/preset.json +5 -0
  105. package/templates/presets/react/preset.json +8 -0
  106. package/templates/presets/react-native/preset.json +6 -0
  107. package/templates/presets/react-ts/preset.json +7 -0
  108. package/templates/mern/client/src/components/common/Breadcrumbs.jsx +0 -27
  109. package/templates/mern/client/src/components/common/SEO.jsx +0 -67
  110. package/templates/mern/client/src/components/common/Scroll.jsx +0 -25
  111. package/templates/mern/client/src/config/appConfig.js +0 -44
  112. package/templates/mern/client/src/hooks/useLenis.js +0 -28
  113. package/templates/mern/client/src/pages/Home.jsx +0 -154
  114. package/templates/mern/client/src/pages/Login.jsx +0 -233
  115. package/templates/mern/client/src/pages/Profile.jsx +0 -9
  116. package/templates/mern/client/src/services/authService.js +0 -19
  117. package/templates/mern/server/src/models/pushSubscription.model.js +0 -32
  118. package/templates/mern/server/src/models/user.model.js +0 -43
  119. package/templates/mern/server/src/routes/auth.route.js +0 -24
  120. package/templates/mern-react-native/client/src/components/ui/sidebar.tsx +0 -152
  121. package/templates/mern-react-native/mobile/src/app/(tabs)/profile.tsx +0 -78
  122. package/templates/mern-react-native/mobile/src/app/_layout.tsx +0 -98
  123. package/templates/mern-react-native/server/package.json +0 -48
  124. package/templates/mern-react-native/server/src/controllers/auth.controller.ts +0 -207
  125. package/templates/mern-react-native/server/src/models/pushSubscription.model.ts +0 -45
  126. package/templates/mern-react-native/server/src/services/auth.service.ts +0 -167
  127. package/templates/mern-ts/client/package.json +0 -41
  128. package/templates/mern-ts/client/src/App.tsx +0 -68
  129. package/templates/mern-ts/client/src/components/common/Breadcrumbs.tsx +0 -27
  130. package/templates/mern-ts/client/src/components/common/Loading.tsx +0 -19
  131. package/templates/mern-ts/client/src/components/common/PwaInstallPrompt.tsx +0 -72
  132. package/templates/mern-ts/client/src/components/layout/ProtectedRoute.tsx +0 -23
  133. package/templates/mern-ts/client/src/components/layout/SidebarLayout.tsx +0 -37
  134. package/templates/mern-ts/client/src/components/modals/Modal.tsx +0 -106
  135. package/templates/mern-ts/client/src/components/ui/Header.tsx +0 -230
  136. package/templates/mern-ts/client/src/components/ui/SidebarHeader.tsx +0 -27
  137. package/templates/mern-ts/client/src/components/ui/sidebar.tsx +0 -152
  138. package/templates/mern-ts/client/src/config/api.ts +0 -22
  139. package/templates/mern-ts/client/src/config/appConfig.ts +0 -44
  140. package/templates/mern-ts/client/src/main.tsx +0 -24
  141. package/templates/mern-ts/client/src/pages/Home.tsx +0 -154
  142. package/templates/mern-ts/client/src/pages/Login.tsx +0 -233
  143. package/templates/mern-ts/client/src/services/authService.ts +0 -19
  144. package/templates/mern-ts/client/src/store/useUiStore.ts +0 -74
  145. package/templates/mern-ts/server/README.md +0 -71
  146. package/templates/mern-ts/server/src/config/db.ts +0 -15
  147. package/templates/mern-ts/server/src/index.ts +0 -17
  148. package/templates/mern-ts/server/src/middleware/auth.middleware.ts +0 -38
  149. package/templates/mern-ts/server/src/models/otp.model.ts +0 -27
  150. package/templates/mern-ts/server/src/models/user.model.ts +0 -57
  151. package/templates/mern-ts/server/src/routes/index.ts +0 -10
  152. package/templates/next/next.config.mjs +0 -23
  153. package/templates/next/public/manifest.json +0 -21
  154. package/templates/next/src/assets/data/navigation.js +0 -29
  155. package/templates/next/src/components/common/Table.jsx +0 -110
  156. package/templates/next/src/components/ui/SidebarHeader.jsx +0 -27
  157. package/templates/next/src/hooks/usePwaInstall.js +0 -45
  158. package/templates/next-ts/AGENTS.md +0 -37
  159. package/templates/next-ts/CLAUDE.md +0 -1
  160. package/templates/next-ts/_gitignore +0 -0
  161. package/templates/next-ts/src/components/common/Table.tsx +0 -118
  162. package/templates/next-ts/src/components/modals/ConfirmModal.tsx +0 -152
  163. package/templates/next-ts/src/store/useAuthStore.ts +0 -143
  164. package/templates/node/.env.example +0 -62
  165. package/templates/node/README.md +0 -67
  166. package/templates/node/_gitignore +0 -24
  167. package/templates/node/src/app.js +0 -42
  168. package/templates/node/src/config/cloudinary.js +0 -9
  169. package/templates/node/src/config/db.js +0 -14
  170. package/templates/node/src/config/dotenv.js +0 -2
  171. package/templates/node/src/config/email.js +0 -30
  172. package/templates/node/src/config/socket.js +0 -54
  173. package/templates/node/src/config/webPush.js +0 -9
  174. package/templates/node/src/controllers/upload.controller.js +0 -26
  175. package/templates/node/src/index.js +0 -24
  176. package/templates/node/src/middleware/auth.middleware.js +0 -43
  177. package/templates/node/src/middleware/errorHandler.js +0 -22
  178. package/templates/node/src/middleware/multer.js +0 -21
  179. package/templates/node/src/middleware/rateLimiter.js +0 -57
  180. package/templates/node/src/models/otp.model.js +0 -21
  181. package/templates/node/src/routes/auth.route.js +0 -22
  182. package/templates/node/src/routes/index.js +0 -12
  183. package/templates/node/src/routes/upload.route.js +0 -12
  184. package/templates/node/src/utils/authToken.js +0 -26
  185. package/templates/node/src/utils/cloudinary.js +0 -27
  186. package/templates/node/src/utils/cloudinaryUpload.js +0 -87
  187. package/templates/node/src/utils/emailOtp.js +0 -190
  188. package/templates/node/src/utils/genOtpToken.js +0 -20
  189. package/templates/node/src/utils/generateVapidKeys.js +0 -12
  190. package/templates/node/src/utils/jwt.js +0 -25
  191. package/templates/node/src/utils/logger.js +0 -25
  192. package/templates/node-prisma-ts/src/app.ts +0 -36
  193. package/templates/node-prisma-ts/src/config/cloudinary.ts +0 -9
  194. package/templates/node-prisma-ts/src/config/dotenv.ts +0 -2
  195. package/templates/node-prisma-ts/src/config/email.ts +0 -28
  196. package/templates/node-prisma-ts/src/config/socket.ts +0 -54
  197. package/templates/node-prisma-ts/src/config/webPush.ts +0 -9
  198. package/templates/node-prisma-ts/src/controllers/upload.controller.ts +0 -22
  199. package/templates/node-prisma-ts/src/routes/upload.route.ts +0 -11
  200. package/templates/node-prisma-ts/src/utils/cloudinaryUpload.ts +0 -44
  201. package/templates/node-prisma-ts/src/utils/emailOtp.ts +0 -30
  202. package/templates/node-prisma-ts/src/utils/generateVapidKeys.ts +0 -12
  203. package/templates/node-prisma-ts/src/utils/logger.ts +0 -27
  204. package/templates/node-ts/.env.example +0 -62
  205. package/templates/node-ts/README.md +0 -71
  206. package/templates/node-ts/src/app.ts +0 -36
  207. package/templates/node-ts/src/config/cloudinary.ts +0 -9
  208. package/templates/node-ts/src/config/db.ts +0 -15
  209. package/templates/node-ts/src/config/dotenv.ts +0 -2
  210. package/templates/node-ts/src/config/email.ts +0 -28
  211. package/templates/node-ts/src/config/socket.ts +0 -54
  212. package/templates/node-ts/src/config/webPush.ts +0 -9
  213. package/templates/node-ts/src/controllers/auth.controller.ts +0 -126
  214. package/templates/node-ts/src/controllers/upload.controller.ts +0 -22
  215. package/templates/node-ts/src/index.ts +0 -17
  216. package/templates/node-ts/src/middleware/auth.middleware.ts +0 -38
  217. package/templates/node-ts/src/middleware/errorHandler.ts +0 -16
  218. package/templates/node-ts/src/middleware/multer.ts +0 -20
  219. package/templates/node-ts/src/middleware/rateLimiter.ts +0 -53
  220. package/templates/node-ts/src/models/otp.model.ts +0 -27
  221. package/templates/node-ts/src/models/pushSubscription.model.ts +0 -45
  222. package/templates/node-ts/src/models/user.model.ts +0 -57
  223. package/templates/node-ts/src/routes/auth.route.ts +0 -22
  224. package/templates/node-ts/src/routes/index.ts +0 -12
  225. package/templates/node-ts/src/routes/upload.route.ts +0 -11
  226. package/templates/node-ts/src/services/auth.service.ts +0 -107
  227. package/templates/node-ts/src/types/express.d.ts +0 -10
  228. package/templates/node-ts/src/utils/cloudinaryUpload.ts +0 -44
  229. package/templates/node-ts/src/utils/emailOtp.ts +0 -30
  230. package/templates/node-ts/src/utils/genOtpToken.ts +0 -22
  231. package/templates/node-ts/src/utils/generateVapidKeys.ts +0 -12
  232. package/templates/node-ts/src/utils/jwt.ts +0 -27
  233. package/templates/node-ts/src/utils/logger.ts +0 -27
  234. package/templates/node-ts/tsconfig.json +0 -18
  235. package/templates/production-fullstack/client/index.html +0 -14
  236. package/templates/production-fullstack/client/public/_redirects +0 -1
  237. package/templates/production-fullstack/client/public/favicon.ico +0 -0
  238. package/templates/production-fullstack/client/public/favicon.svg +0 -1
  239. package/templates/production-fullstack/client/public/manifest.json +0 -24
  240. package/templates/production-fullstack/client/public/sw.js +0 -56
  241. package/templates/production-fullstack/client/src/assets/data/navigation.ts +0 -29
  242. package/templates/production-fullstack/client/src/assets/images/logo.png +0 -0
  243. package/templates/production-fullstack/client/src/components/layout/PublicLayout.tsx +0 -13
  244. package/templates/production-fullstack/client/src/components/shared/Breadcrumbs.tsx +0 -27
  245. package/templates/production-fullstack/client/src/components/shared/LottieIcon.tsx +0 -36
  246. package/templates/production-fullstack/client/src/components/shared/NotFound.tsx +0 -78
  247. package/templates/production-fullstack/client/src/components/shared/SEO.tsx +0 -67
  248. package/templates/production-fullstack/client/src/components/shared/Scroll.tsx +0 -25
  249. package/templates/production-fullstack/client/src/components/shared/Unauthorized.tsx +0 -76
  250. package/templates/production-fullstack/client/src/components/shared/skeletons/common/CardSkeleton.tsx +0 -23
  251. package/templates/production-fullstack/client/src/components/shared/skeletons/common/DashboardSkeleton.tsx +0 -19
  252. package/templates/production-fullstack/client/src/components/shared/skeletons/common/ListSkeleton.tsx +0 -24
  253. package/templates/production-fullstack/client/src/components/shared/skeletons/common/PageSkeleton.tsx +0 -26
  254. package/templates/production-fullstack/client/src/components/shared/skeletons/common/ProfileSkeleton.tsx +0 -23
  255. package/templates/production-fullstack/client/src/components/shared/skeletons/common/Skeleton.tsx +0 -18
  256. package/templates/production-fullstack/client/src/components/shared/skeletons/common/TableSkeleton.tsx +0 -33
  257. package/templates/production-fullstack/client/src/components/ui/ConfirmModal.tsx +0 -152
  258. package/templates/production-fullstack/client/src/components/ui/ToggleSwitch.tsx +0 -38
  259. package/templates/production-fullstack/client/src/constants/navigation.ts +0 -14
  260. package/templates/production-fullstack/client/src/features/core/pages/Profile.tsx +0 -9
  261. package/templates/production-fullstack/client/src/hooks/useLenis.ts +0 -28
  262. package/templates/production-fullstack/client/src/hooks/usePwaInstall.ts +0 -45
  263. package/templates/production-fullstack/client/src/hooks/useWindowSize.ts +0 -25
  264. package/templates/production-fullstack/client/src/index.css +0 -158
  265. package/templates/production-fullstack/client/src/store/useUiStore.ts +0 -74
  266. package/templates/production-fullstack/client/src/utils/formatDate.ts +0 -19
  267. package/templates/production-fullstack/client/src/utils/getInitials.ts +0 -10
  268. package/templates/production-fullstack/client/src/vite-env.d.ts +0 -1
  269. package/templates/production-fullstack/client/tsconfig.json +0 -25
  270. package/templates/production-fullstack/client/tsconfig.node.json +0 -10
  271. package/templates/production-fullstack/client/vite.config.ts +0 -8
  272. package/templates/production-fullstack/mobile/assets/animations/loading.json +0 -1
  273. package/templates/production-fullstack/mobile/assets/images/logo/logo.png +0 -0
  274. package/templates/production-fullstack/mobile/src/components/common/Typography.tsx +0 -113
  275. package/templates/production-fullstack/mobile/src/components/ui/BottomModal.tsx +0 -159
  276. package/templates/production-fullstack/server/src/common/middlewares/errorHandler.ts +0 -16
  277. package/templates/production-fullstack/server/src/common/middlewares/multer.ts +0 -20
  278. package/templates/production-fullstack/server/src/common/middlewares/rateLimiter.ts +0 -53
  279. package/templates/production-fullstack/server/src/common/types/express.d.ts +0 -10
  280. package/templates/production-fullstack/server/src/common/utils/genOtpToken.ts +0 -22
  281. package/templates/production-fullstack/server/src/common/utils/jwt.ts +0 -27
  282. package/templates/production-fullstack/server/tsconfig.json +0 -14
  283. package/templates/react/_gitignore +0 -24
  284. package/templates/react/index.html +0 -14
  285. package/templates/react/package.json +0 -38
  286. package/templates/react/public/_redirects +0 -1
  287. package/templates/react/public/favicon.ico +0 -0
  288. package/templates/react/public/favicon.svg +0 -1
  289. package/templates/react/public/logo.png +0 -0
  290. package/templates/react/public/manifest.json +0 -24
  291. package/templates/react/public/sw.js +0 -56
  292. package/templates/react/src/App.jsx +0 -68
  293. package/templates/react/src/assets/data/navigation.js +0 -29
  294. package/templates/react/src/assets/images/logo.png +0 -0
  295. package/templates/react/src/components/common/Breadcrumbs.jsx +0 -27
  296. package/templates/react/src/components/common/Loading.jsx +0 -19
  297. package/templates/react/src/components/common/LottieIcon.jsx +0 -36
  298. package/templates/react/src/components/common/NotFound.jsx +0 -78
  299. package/templates/react/src/components/common/PwaInstallPrompt.jsx +0 -72
  300. package/templates/react/src/components/common/Table.jsx +0 -110
  301. package/templates/react/src/components/common/ToggleSwitch.jsx +0 -38
  302. package/templates/react/src/components/common/Unauthorized.jsx +0 -76
  303. package/templates/react/src/components/layout/ProtectedRoute.jsx +0 -17
  304. package/templates/react/src/components/layout/PublicLayout.jsx +0 -13
  305. package/templates/react/src/components/layout/SidebarLayout.jsx +0 -37
  306. package/templates/react/src/components/modals/ConfirmModal.jsx +0 -135
  307. package/templates/react/src/components/modals/Modal.jsx +0 -94
  308. package/templates/react/src/components/skeletons/common/CardSkeleton.jsx +0 -23
  309. package/templates/react/src/components/skeletons/common/DashboardSkeleton.jsx +0 -19
  310. package/templates/react/src/components/skeletons/common/ListSkeleton.jsx +0 -24
  311. package/templates/react/src/components/skeletons/common/PageSkeleton.jsx +0 -26
  312. package/templates/react/src/components/skeletons/common/ProfileSkeleton.jsx +0 -23
  313. package/templates/react/src/components/skeletons/common/Skeleton.jsx +0 -18
  314. package/templates/react/src/components/skeletons/common/TableSkeleton.jsx +0 -33
  315. package/templates/react/src/components/ui/Header.jsx +0 -230
  316. package/templates/react/src/components/ui/SidebarHeader.jsx +0 -27
  317. package/templates/react/src/components/ui/sidebar.jsx +0 -152
  318. package/templates/react/src/config/api.js +0 -22
  319. package/templates/react/src/hooks/useWindowSize.js +0 -25
  320. package/templates/react/src/index.css +0 -158
  321. package/templates/react/src/main.jsx +0 -24
  322. package/templates/react/src/pages/Profile.jsx +0 -9
  323. package/templates/react/src/store/useAuthStore.js +0 -115
  324. package/templates/react/src/store/useUiStore.js +0 -54
  325. package/templates/react/src/utils/formatDate.js +0 -15
  326. package/templates/react/src/utils/getInitials.js +0 -10
  327. package/templates/react/vite.config.js +0 -8
  328. package/templates/react-native/LICENSE +0 -21
  329. package/templates/react-native/app.json +0 -84
  330. package/templates/react-native/assets/animations/celebrate.json +0 -1
  331. package/templates/react-native/assets/animations/infinity.json +0 -1
  332. package/templates/react-native/assets/animations/loading.json +0 -1
  333. package/templates/react-native/assets/fonts/Inter_Bold.ttf +0 -0
  334. package/templates/react-native/assets/fonts/Inter_ExtraBold.ttf +0 -0
  335. package/templates/react-native/assets/fonts/Inter_Medium.ttf +0 -0
  336. package/templates/react-native/assets/fonts/Inter_Regular.ttf +0 -0
  337. package/templates/react-native/assets/fonts/Inter_SemiBold.ttf +0 -0
  338. package/templates/react-native/assets/images/logo/logo.png +0 -0
  339. package/templates/react-native/assets/images/logo/logo.svg +0 -1
  340. package/templates/react-native/assets/images/logo/logoWithBg.png +0 -0
  341. package/templates/react-native/babel.config.js +0 -13
  342. package/templates/react-native/drizzle.config.ts +0 -8
  343. package/templates/react-native/eas.json +0 -24
  344. package/templates/react-native/eslint.config.js +0 -10
  345. package/templates/react-native/metro.config.js +0 -6
  346. package/templates/react-native/nativewind-env.d.ts +0 -3
  347. package/templates/react-native/package.json +0 -84
  348. package/templates/react-native/src/app/(auth)/_layout.tsx +0 -12
  349. package/templates/react-native/src/app/(auth)/change-password.tsx +0 -112
  350. package/templates/react-native/src/app/(auth)/edit-profile.tsx +0 -156
  351. package/templates/react-native/src/app/(auth)/forgot-password.tsx +0 -191
  352. package/templates/react-native/src/app/(auth)/login.tsx +0 -253
  353. package/templates/react-native/src/app/(tabs)/_layout.tsx +0 -38
  354. package/templates/react-native/src/app/(tabs)/dashboard.tsx +0 -13
  355. package/templates/react-native/src/app/(tabs)/index.tsx +0 -464
  356. package/templates/react-native/src/app/(tabs)/search.tsx +0 -12
  357. package/templates/react-native/src/app/global.css +0 -82
  358. package/templates/react-native/src/components/common/AnimatedHeader.tsx +0 -328
  359. package/templates/react-native/src/components/common/ConfirmationToast.tsx +0 -67
  360. package/templates/react-native/src/components/common/Loading.tsx +0 -26
  361. package/templates/react-native/src/components/common/LocationLoader.tsx +0 -591
  362. package/templates/react-native/src/components/common/ScreenHeader.tsx +0 -68
  363. package/templates/react-native/src/components/common/TabHeader.tsx +0 -58
  364. package/templates/react-native/src/components/common/Welcome.tsx +0 -55
  365. package/templates/react-native/src/components/ui/ClassicTabBar.tsx +0 -129
  366. package/templates/react-native/src/components/ui/CustomTabBar.tsx +0 -238
  367. package/templates/react-native/src/components/ui/Sidebar.tsx +0 -258
  368. package/templates/react-native/src/components/ui/buttons/Button.tsx +0 -180
  369. package/templates/react-native/src/components/ui/buttons/ButtonGroup.tsx +0 -32
  370. package/templates/react-native/src/components/ui/buttons/FloatingActionButton.tsx +0 -72
  371. package/templates/react-native/src/components/ui/buttons/IconButton.tsx +0 -84
  372. package/templates/react-native/src/components/ui/data-display/Accordion.tsx +0 -82
  373. package/templates/react-native/src/components/ui/data-display/Avatar.tsx +0 -47
  374. package/templates/react-native/src/components/ui/data-display/Badge.tsx +0 -104
  375. package/templates/react-native/src/components/ui/data-display/Card.tsx +0 -36
  376. package/templates/react-native/src/components/ui/data-display/Image.tsx +0 -43
  377. package/templates/react-native/src/components/ui/data-display/ImageViewer.tsx +0 -33
  378. package/templates/react-native/src/components/ui/data-display/SwipeableRow.tsx +0 -94
  379. package/templates/react-native/src/components/ui/feedback/CircularProgress.tsx +0 -38
  380. package/templates/react-native/src/components/ui/feedback/GestureWrapper.tsx +0 -114
  381. package/templates/react-native/src/components/ui/feedback/ProgressBar.tsx +0 -51
  382. package/templates/react-native/src/components/ui/feedback/Skeleton.tsx +0 -84
  383. package/templates/react-native/src/components/ui/feedback/Spinner.tsx +0 -50
  384. package/templates/react-native/src/components/ui/inputs/Checkbox.tsx +0 -54
  385. package/templates/react-native/src/components/ui/inputs/DatePicker.tsx +0 -186
  386. package/templates/react-native/src/components/ui/inputs/ImagePickerModal.tsx +0 -129
  387. package/templates/react-native/src/components/ui/inputs/Input.tsx +0 -158
  388. package/templates/react-native/src/components/ui/inputs/LocationPicker.tsx +0 -211
  389. package/templates/react-native/src/components/ui/inputs/OTPInput.tsx +0 -83
  390. package/templates/react-native/src/components/ui/inputs/PasswordInput.tsx +0 -16
  391. package/templates/react-native/src/components/ui/inputs/Radio.tsx +0 -54
  392. package/templates/react-native/src/components/ui/inputs/SearchBar.tsx +0 -53
  393. package/templates/react-native/src/components/ui/inputs/Slider.tsx +0 -49
  394. package/templates/react-native/src/components/ui/inputs/Switch.tsx +0 -75
  395. package/templates/react-native/src/components/ui/inputs/TextArea.tsx +0 -15
  396. package/templates/react-native/src/components/ui/inputs/WebLocationPicker.tsx +0 -321
  397. package/templates/react-native/src/components/ui/layout/Container.tsx +0 -23
  398. package/templates/react-native/src/components/ui/layout/Divider.tsx +0 -20
  399. package/templates/react-native/src/components/ui/layout/Grid.tsx +0 -62
  400. package/templates/react-native/src/components/ui/layout/KeyboardAvoidingViewWrapper.tsx +0 -16
  401. package/templates/react-native/src/components/ui/layout/ScrollContainer.tsx +0 -21
  402. package/templates/react-native/src/components/ui/layout/Section.tsx +0 -51
  403. package/templates/react-native/src/components/ui/layout/Spacer.tsx +0 -6
  404. package/templates/react-native/src/components/ui/layout/Stack.tsx +0 -34
  405. package/templates/react-native/src/components/ui/navigation/Pagination.tsx +0 -61
  406. package/templates/react-native/src/components/ui/navigation/ProgressStepper.tsx +0 -66
  407. package/templates/react-native/src/components/ui/navigation/Tabs.tsx +0 -173
  408. package/templates/react-native/src/config/api.ts +0 -27
  409. package/templates/react-native/src/config/sidebar.config.ts +0 -12
  410. package/templates/react-native/src/config/tabNavigation.ts +0 -34
  411. package/templates/react-native/src/constants/Colors.ts +0 -71
  412. package/templates/react-native/src/db/index.ts +0 -9
  413. package/templates/react-native/src/db/schema.ts +0 -14
  414. package/templates/react-native/src/hooks/useDebounce.ts +0 -17
  415. package/templates/react-native/src/services/auth.service.ts +0 -24
  416. package/templates/react-native/src/services/notification.service.ts +0 -22
  417. package/templates/react-native/src/services/permission.service.ts +0 -214
  418. package/templates/react-native/src/services/socket.service.ts +0 -36
  419. package/templates/react-native/src/store/localStore.ts +0 -7
  420. package/templates/react-native/src/store/useAuthStore.ts +0 -273
  421. package/templates/react-native/src/store/useNotificationStore.ts +0 -178
  422. package/templates/react-native/src/types/auth.type.ts +0 -14
  423. package/templates/react-native/src/types/images.d.ts +0 -24
  424. package/templates/react-native/src/utils/storage.ts +0 -55
  425. package/templates/react-native/src/utils/toast.ts +0 -26
  426. package/templates/react-native/tailwind.config.js +0 -71
  427. package/templates/react-native/tsconfig.json +0 -23
  428. package/templates/react-ts/_gitignore +0 -24
  429. package/templates/react-ts/index.html +0 -14
  430. package/templates/react-ts/package.json +0 -41
  431. package/templates/react-ts/public/_redirects +0 -1
  432. package/templates/react-ts/public/favicon.ico +0 -0
  433. package/templates/react-ts/public/favicon.svg +0 -1
  434. package/templates/react-ts/public/logo.png +0 -0
  435. package/templates/react-ts/public/manifest.json +0 -24
  436. package/templates/react-ts/public/sw.js +0 -56
  437. package/templates/react-ts/src/App.tsx +0 -68
  438. package/templates/react-ts/src/assets/animations/loading.json +0 -1
  439. package/templates/react-ts/src/assets/data/navigation.ts +0 -29
  440. package/templates/react-ts/src/assets/images/logo.png +0 -0
  441. package/templates/react-ts/src/components/common/Breadcrumbs.tsx +0 -27
  442. package/templates/react-ts/src/components/common/Loading.tsx +0 -19
  443. package/templates/react-ts/src/components/common/LottieIcon.tsx +0 -36
  444. package/templates/react-ts/src/components/common/NotFound.tsx +0 -78
  445. package/templates/react-ts/src/components/common/PwaInstallPrompt.tsx +0 -72
  446. package/templates/react-ts/src/components/common/SEO.tsx +0 -67
  447. package/templates/react-ts/src/components/common/Scroll.tsx +0 -25
  448. package/templates/react-ts/src/components/common/Table.tsx +0 -118
  449. package/templates/react-ts/src/components/common/ToggleSwitch.tsx +0 -38
  450. package/templates/react-ts/src/components/common/Unauthorized.tsx +0 -76
  451. package/templates/react-ts/src/components/layout/ProtectedRoute.tsx +0 -23
  452. package/templates/react-ts/src/components/layout/PublicLayout.tsx +0 -13
  453. package/templates/react-ts/src/components/layout/SidebarLayout.tsx +0 -37
  454. package/templates/react-ts/src/components/modals/ConfirmModal.tsx +0 -152
  455. package/templates/react-ts/src/components/modals/Modal.tsx +0 -106
  456. package/templates/react-ts/src/components/skeletons/common/CardSkeleton.tsx +0 -23
  457. package/templates/react-ts/src/components/skeletons/common/DashboardSkeleton.tsx +0 -19
  458. package/templates/react-ts/src/components/skeletons/common/ListSkeleton.tsx +0 -24
  459. package/templates/react-ts/src/components/skeletons/common/PageSkeleton.tsx +0 -26
  460. package/templates/react-ts/src/components/skeletons/common/ProfileSkeleton.tsx +0 -23
  461. package/templates/react-ts/src/components/skeletons/common/Skeleton.tsx +0 -18
  462. package/templates/react-ts/src/components/skeletons/common/TableSkeleton.tsx +0 -33
  463. package/templates/react-ts/src/components/ui/Header.tsx +0 -230
  464. package/templates/react-ts/src/components/ui/SidebarHeader.tsx +0 -27
  465. package/templates/react-ts/src/components/ui/sidebar.tsx +0 -152
  466. package/templates/react-ts/src/config/api.ts +0 -22
  467. package/templates/react-ts/src/config/appConfig.ts +0 -44
  468. package/templates/react-ts/src/config/navigation.ts +0 -14
  469. package/templates/react-ts/src/hooks/useLenis.ts +0 -28
  470. package/templates/react-ts/src/hooks/usePwaInstall.ts +0 -45
  471. package/templates/react-ts/src/hooks/useWindowSize.ts +0 -25
  472. package/templates/react-ts/src/index.css +0 -158
  473. package/templates/react-ts/src/main.tsx +0 -24
  474. package/templates/react-ts/src/pages/Home.tsx +0 -154
  475. package/templates/react-ts/src/pages/Login.tsx +0 -233
  476. package/templates/react-ts/src/pages/Profile.tsx +0 -9
  477. package/templates/react-ts/src/services/authService.ts +0 -19
  478. package/templates/react-ts/src/store/useAuthStore.ts +0 -143
  479. package/templates/react-ts/src/utils/formatDate.ts +0 -19
  480. package/templates/react-ts/src/utils/getInitials.ts +0 -10
  481. package/templates/react-ts/src/vite-env.d.ts +0 -1
  482. package/templates/react-ts/tsconfig.json +0 -25
  483. package/templates/react-ts/tsconfig.node.json +0 -10
  484. package/templates/react-ts/vite.config.ts +0 -8
  485. /package/templates/{next-ts → layers/next/base}/next.config.mjs +0 -0
  486. /package/templates/{next → layers/next/base}/postcss.config.js +0 -0
  487. /package/templates/{next-ts → layers/next/base}/public/manifest.json +0 -0
  488. /package/templates/{next → layers/next/javascript}/README.md +0 -0
  489. /package/templates/{mern-react-native/client → layers/next/javascript}/_gitignore +0 -0
  490. /package/templates/{next → layers/next/javascript}/package.json +0 -0
  491. /package/templates/{next → layers/next/javascript}/src/app/(protected)/layout.js +0 -0
  492. /package/templates/{next → layers/next/javascript}/src/app/(protected)/profile/page.js +0 -0
  493. /package/templates/{next → layers/next/javascript}/src/app/api/hello/route.js +0 -0
  494. /package/templates/{next → layers/next/javascript}/src/app/layout.js +0 -0
  495. /package/templates/{next → layers/next/javascript}/src/app/login/page.js +0 -0
  496. /package/templates/{next → layers/next/javascript}/src/app/page.js +0 -0
  497. /package/templates/{mern-react-native/client → layers/next/javascript}/src/assets/animations/loading.json +0 -0
  498. /package/templates/{mern/client → layers/next/javascript}/src/assets/data/navigation.js +0 -0
  499. /package/templates/{mern-react-native/client/public → layers/next/javascript/src/assets/images}/logo.png +0 -0
  500. /package/templates/{next → layers/next/javascript}/src/components/common/Breadcrumbs.jsx +0 -0
  501. /package/templates/{mern/client → layers/next/javascript}/src/components/common/Loading.jsx +0 -0
  502. /package/templates/{mern/client → layers/next/javascript}/src/components/common/LottieIcon.jsx +0 -0
  503. /package/templates/{next → layers/next/javascript}/src/components/common/NotFound.jsx +0 -0
  504. /package/templates/{next → layers/next/javascript}/src/components/common/PwaInstallPrompt.jsx +0 -0
  505. /package/templates/{next → layers/next/javascript}/src/components/common/SEO.jsx +0 -0
  506. /package/templates/{next → layers/next/javascript}/src/components/common/Scroll.jsx +0 -0
  507. /package/templates/{mern/client → layers/next/javascript}/src/components/common/Table.jsx +0 -0
  508. /package/templates/{mern/client → layers/next/javascript}/src/components/common/ToggleSwitch.jsx +0 -0
  509. /package/templates/{next → layers/next/javascript}/src/components/common/Unauthorized.jsx +0 -0
  510. /package/templates/{next → layers/next/javascript}/src/components/layout/ProtectedRoute.jsx +0 -0
  511. /package/templates/{next → layers/next/javascript}/src/components/layout/PublicLayout.jsx +0 -0
  512. /package/templates/{next → layers/next/javascript}/src/components/layout/SidebarLayout.jsx +0 -0
  513. /package/templates/{mern/client → layers/next/javascript}/src/components/modals/ConfirmModal.jsx +0 -0
  514. /package/templates/{mern/client → layers/next/javascript}/src/components/modals/Modal.jsx +0 -0
  515. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/CardSkeleton.jsx +0 -0
  516. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/DashboardSkeleton.jsx +0 -0
  517. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/ListSkeleton.jsx +0 -0
  518. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/PageSkeleton.jsx +0 -0
  519. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/ProfileSkeleton.jsx +0 -0
  520. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/Skeleton.jsx +0 -0
  521. /package/templates/{mern/client → layers/next/javascript}/src/components/skeletons/common/TableSkeleton.jsx +0 -0
  522. /package/templates/{next → layers/next/javascript}/src/components/ui/Header.jsx +0 -0
  523. /package/templates/{mern/client → layers/next/javascript}/src/components/ui/SidebarHeader.jsx +0 -0
  524. /package/templates/{next → layers/next/javascript}/src/components/ui/sidebar.jsx +0 -0
  525. /package/templates/{next → layers/next/javascript}/src/config/api.js +0 -0
  526. /package/templates/{next → layers/next/javascript}/src/config/appConfig.js +0 -0
  527. /package/templates/{mern/client → layers/next/javascript}/src/config/navigation.js +0 -0
  528. /package/templates/{next → layers/next/javascript}/src/hooks/useLenis.js +0 -0
  529. /package/templates/{mern/client → layers/next/javascript}/src/hooks/usePwaInstall.js +0 -0
  530. /package/templates/{mern/client → layers/next/javascript}/src/hooks/useWindowSize.js +0 -0
  531. /package/templates/{next-ts → layers/next/javascript}/src/index.css +0 -0
  532. /package/templates/{next → layers/next/javascript}/src/services/authService.js +0 -0
  533. /package/templates/{mern/client → layers/next/javascript}/src/store/useAuthStore.js +0 -0
  534. /package/templates/{next → layers/next/javascript}/src/store/useUiStore.js +0 -0
  535. /package/templates/{mern/client → layers/next/javascript}/src/utils/formatDate.js +0 -0
  536. /package/templates/{mern/client → layers/next/javascript}/src/utils/getInitials.js +0 -0
  537. /package/templates/{next-ts → layers/next/typescript}/.env.example +0 -0
  538. /package/templates/{next-ts → layers/next/typescript}/README.md +0 -0
  539. /package/templates/{mern-react-native/server → layers/next/typescript}/_gitignore +0 -0
  540. /package/templates/{next-ts → layers/next/typescript}/next-env.d.ts +0 -0
  541. /package/templates/{next-ts → layers/next/typescript}/package.json +0 -0
  542. /package/templates/{next-ts → layers/next/typescript}/postcss.config.js +0 -0
  543. /package/templates/{mern-react-native/client/src/assets/images → layers/next/typescript/public}/logo.png +0 -0
  544. /package/templates/{next-ts → layers/next/typescript}/public/sw.js +0 -0
  545. /package/templates/{next-ts → layers/next/typescript}/public/workbox-f1770938.js +0 -0
  546. /package/templates/{next-ts → layers/next/typescript}/src/app/(protected)/layout.tsx +0 -0
  547. /package/templates/{next-ts → layers/next/typescript}/src/app/(protected)/profile/page.tsx +0 -0
  548. /package/templates/{next-ts → layers/next/typescript}/src/app/api/hello/route.ts +0 -0
  549. /package/templates/{next-ts → layers/next/typescript}/src/app/error.tsx +0 -0
  550. /package/templates/{next-ts → layers/next/typescript}/src/app/layout.tsx +0 -0
  551. /package/templates/{next-ts → layers/next/typescript}/src/app/login/page.tsx +0 -0
  552. /package/templates/{next-ts → layers/next/typescript}/src/app/not-found.tsx +0 -0
  553. /package/templates/{next-ts → layers/next/typescript}/src/app/page.tsx +0 -0
  554. /package/templates/{mern-react-native/mobile → layers/next/typescript/src}/assets/animations/loading.json +0 -0
  555. /package/templates/{mern-react-native/client → layers/next/typescript}/src/assets/data/navigation.ts +0 -0
  556. /package/templates/{mern-react-native/mobile/assets/images/logo → layers/next/typescript/src/assets/images}/logo.png +0 -0
  557. /package/templates/{next-ts → layers/next/typescript}/src/components/common/Breadcrumbs.tsx +0 -0
  558. /package/templates/{next-ts → layers/next/typescript}/src/components/common/Loading.tsx +0 -0
  559. /package/templates/{next-ts → layers/next/typescript}/src/components/common/LottieIcon.tsx +0 -0
  560. /package/templates/{next-ts → layers/next/typescript}/src/components/common/NotFound.tsx +0 -0
  561. /package/templates/{next-ts → layers/next/typescript}/src/components/common/PwaInstallPrompt.tsx +0 -0
  562. /package/templates/{next-ts → layers/next/typescript}/src/components/common/SEO.tsx +0 -0
  563. /package/templates/{next-ts → layers/next/typescript}/src/components/common/Scroll.tsx +0 -0
  564. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/common/Table.tsx +0 -0
  565. /package/templates/{next-ts → layers/next/typescript}/src/components/common/ToggleSwitch.tsx +0 -0
  566. /package/templates/{next-ts → layers/next/typescript}/src/components/common/Unauthorized.tsx +0 -0
  567. /package/templates/{next-ts → layers/next/typescript}/src/components/layout/ProtectedRoute.tsx +0 -0
  568. /package/templates/{next-ts → layers/next/typescript}/src/components/layout/PublicLayout.tsx +0 -0
  569. /package/templates/{next-ts → layers/next/typescript}/src/components/layout/SidebarLayout.tsx +0 -0
  570. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/modals/ConfirmModal.tsx +0 -0
  571. /package/templates/{next-ts → layers/next/typescript}/src/components/modals/Modal.tsx +0 -0
  572. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/CardSkeleton.tsx +0 -0
  573. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/DashboardSkeleton.tsx +0 -0
  574. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/ListSkeleton.tsx +0 -0
  575. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/PageSkeleton.tsx +0 -0
  576. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/ProfileSkeleton.tsx +0 -0
  577. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/Skeleton.tsx +0 -0
  578. /package/templates/{mern-react-native/client → layers/next/typescript}/src/components/skeletons/common/TableSkeleton.tsx +0 -0
  579. /package/templates/{next-ts → layers/next/typescript}/src/components/ui/Button.tsx +0 -0
  580. /package/templates/{next-ts → layers/next/typescript}/src/components/ui/Header.tsx +0 -0
  581. /package/templates/{next-ts → layers/next/typescript}/src/components/ui/Input.tsx +0 -0
  582. /package/templates/{next-ts → layers/next/typescript}/src/components/ui/SidebarHeader.tsx +0 -0
  583. /package/templates/{next-ts → layers/next/typescript}/src/components/ui/sidebar.tsx +0 -0
  584. /package/templates/{next-ts → layers/next/typescript}/src/config/api.ts +0 -0
  585. /package/templates/{next-ts → layers/next/typescript}/src/config/appConfig.ts +0 -0
  586. /package/templates/{mern-react-native/client → layers/next/typescript}/src/config/navigation.ts +0 -0
  587. /package/templates/{next-ts → layers/next/typescript}/src/hooks/useLenis.ts +0 -0
  588. /package/templates/{next-ts → layers/next/typescript}/src/hooks/usePwaInstall.ts +0 -0
  589. /package/templates/{mern-react-native/client → layers/next/typescript}/src/hooks/useWindowSize.ts +0 -0
  590. /package/templates/{next → layers/next/typescript}/src/index.css +0 -0
  591. /package/templates/{next-ts → layers/next/typescript}/src/services/authService.ts +0 -0
  592. /package/templates/{mern-react-native/client → layers/next/typescript}/src/store/useAuthStore.ts +0 -0
  593. /package/templates/{next-ts → layers/next/typescript}/src/store/useUiStore.ts +0 -0
  594. /package/templates/{mern-react-native/client → layers/next/typescript}/src/utils/formatDate.ts +0 -0
  595. /package/templates/{mern-react-native/client → layers/next/typescript}/src/utils/getInitials.ts +0 -0
  596. /package/templates/{next-ts → layers/next/typescript}/tsconfig.json +0 -0
  597. /package/templates/{mern-react-native/server → layers/node/javascript}/.env.example +0 -0
  598. /package/templates/{mern/server → layers/node/javascript}/README.md +0 -0
  599. /package/templates/{mern/client → layers/node/javascript}/_gitignore +0 -0
  600. /package/templates/{mern/server → layers/node/javascript}/package.json +0 -0
  601. /package/templates/{node-prisma → layers/node/javascript}/src/app.js +0 -0
  602. /package/templates/{node-prisma → layers/node/javascript}/src/config/cloudinary.js +0 -0
  603. /package/templates/{mern/server → layers/node/javascript}/src/config/db.js +0 -0
  604. /package/templates/{node-prisma → layers/node/javascript}/src/config/dotenv.js +0 -0
  605. /package/templates/{node-prisma → layers/node/javascript}/src/config/email.js +0 -0
  606. /package/templates/{node-prisma → layers/node/javascript}/src/config/socket.js +0 -0
  607. /package/templates/{node-prisma → layers/node/javascript}/src/config/webPush.js +0 -0
  608. /package/templates/{node → layers/node/javascript}/src/controllers/push.controller.js +0 -0
  609. /package/templates/{node-prisma → layers/node/javascript}/src/controllers/upload.controller.js +0 -0
  610. /package/templates/{mern/server → layers/node/javascript}/src/index.js +0 -0
  611. /package/templates/{mern/server → layers/node/javascript}/src/middleware/auth.middleware.js +0 -0
  612. /package/templates/{node-prisma → layers/node/javascript}/src/middleware/errorHandler.js +0 -0
  613. /package/templates/{node-prisma → layers/node/javascript}/src/middleware/multer.js +0 -0
  614. /package/templates/{node-prisma → layers/node/javascript}/src/middleware/rateLimiter.js +0 -0
  615. /package/templates/{mern/server → layers/node/javascript}/src/models/otp.model.js +0 -0
  616. /package/templates/{mern-react-native/server/src/routes/auth.route.ts → layers/node/javascript/src/routes/auth.route.js} +0 -0
  617. /package/templates/{mern/server → layers/node/javascript}/src/routes/index.js +0 -0
  618. /package/templates/{node → layers/node/javascript}/src/routes/push.route.js +0 -0
  619. /package/templates/{node-prisma → layers/node/javascript}/src/routes/upload.route.js +0 -0
  620. /package/templates/{node-prisma → layers/node/javascript}/src/utils/authToken.js +0 -0
  621. /package/templates/{node-prisma → layers/node/javascript}/src/utils/cloudinary.js +0 -0
  622. /package/templates/{node-prisma → layers/node/javascript}/src/utils/cloudinaryUpload.js +0 -0
  623. /package/templates/{node-prisma → layers/node/javascript}/src/utils/emailOtp.js +0 -0
  624. /package/templates/{node-prisma → layers/node/javascript}/src/utils/genOtpToken.js +0 -0
  625. /package/templates/{node-prisma → layers/node/javascript}/src/utils/generateVapidKeys.js +0 -0
  626. /package/templates/{node-prisma → layers/node/javascript}/src/utils/jwt.js +0 -0
  627. /package/templates/{node-prisma → layers/node/javascript}/src/utils/logger.js +0 -0
  628. /package/templates/{node → layers/node/javascript}/src/utils/pushHelper.js +0 -0
  629. /package/templates/{mern-ts/server → layers/node/typescript}/.env.example +0 -0
  630. /package/templates/{mern-react-native/server → layers/node/typescript}/README.md +0 -0
  631. /package/templates/{mern/server → layers/node/typescript}/_gitignore +0 -0
  632. /package/templates/{mern-ts/server → layers/node/typescript}/package.json +0 -0
  633. /package/templates/{mern-ts/server → layers/node/typescript}/src/app.ts +0 -0
  634. /package/templates/{mern-ts/server → layers/node/typescript}/src/config/cloudinary.ts +0 -0
  635. /package/templates/{mern-react-native/server → layers/node/typescript}/src/config/db.ts +0 -0
  636. /package/templates/{mern-ts/server → layers/node/typescript}/src/config/dotenv.ts +0 -0
  637. /package/templates/{mern-ts/server → layers/node/typescript}/src/config/email.ts +0 -0
  638. /package/templates/{mern-ts/server → layers/node/typescript}/src/config/socket.ts +0 -0
  639. /package/templates/{mern-ts/server → layers/node/typescript}/src/config/webPush.ts +0 -0
  640. /package/templates/{node-ts → layers/node/typescript}/src/controllers/push.controller.ts +0 -0
  641. /package/templates/{mern-ts/server → layers/node/typescript}/src/controllers/upload.controller.ts +0 -0
  642. /package/templates/{mern-react-native/server → layers/node/typescript}/src/index.ts +0 -0
  643. /package/templates/{mern-react-native/server → layers/node/typescript}/src/middleware/auth.middleware.ts +0 -0
  644. /package/templates/{mern-ts/server → layers/node/typescript}/src/middleware/errorHandler.ts +0 -0
  645. /package/templates/{mern-ts/server → layers/node/typescript}/src/middleware/multer.ts +0 -0
  646. /package/templates/{mern-ts/server → layers/node/typescript}/src/middleware/rateLimiter.ts +0 -0
  647. /package/templates/{mern-react-native/server → layers/node/typescript}/src/models/otp.model.ts +0 -0
  648. /package/templates/{mern-react-native/server → layers/node/typescript}/src/routes/index.ts +0 -0
  649. /package/templates/{node-ts → layers/node/typescript}/src/routes/push.route.ts +0 -0
  650. /package/templates/{mern-ts/server → layers/node/typescript}/src/routes/upload.route.ts +0 -0
  651. /package/templates/{mern-ts/server → layers/node/typescript}/src/types/express.d.ts +0 -0
  652. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/cloudinaryUpload.ts +0 -0
  653. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/emailOtp.ts +0 -0
  654. /package/templates/{mern-react-native/server → layers/node/typescript}/src/utils/expoNotification.ts +0 -0
  655. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/genOtpToken.ts +0 -0
  656. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/generateVapidKeys.ts +0 -0
  657. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/jwt.ts +0 -0
  658. /package/templates/{mern-ts/server → layers/node/typescript}/src/utils/logger.ts +0 -0
  659. /package/templates/{node-ts → layers/node/typescript}/src/utils/pushHelper.ts +0 -0
  660. /package/templates/{mern-ts/server → layers/node/typescript}/tsconfig.json +0 -0
  661. /package/templates/{node-prisma-ts → layers/node-prisma/javascript}/.env.example +0 -0
  662. /package/templates/{node-prisma → layers/node-prisma/javascript}/README.md +0 -0
  663. /package/templates/{mern-ts/client → layers/node-prisma/javascript}/_gitignore +0 -0
  664. /package/templates/{node-prisma → layers/node-prisma/javascript}/package.json +0 -0
  665. /package/templates/{node-prisma-ts → layers/node-prisma/javascript}/prisma/schema.prisma +0 -0
  666. /package/templates/{mern/server → layers/node-prisma/javascript}/src/app.js +0 -0
  667. /package/templates/{mern/server → layers/node-prisma/javascript}/src/config/cloudinary.js +0 -0
  668. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/config/db.js +0 -0
  669. /package/templates/{mern/server → layers/node-prisma/javascript}/src/config/dotenv.js +0 -0
  670. /package/templates/{mern/server → layers/node-prisma/javascript}/src/config/email.js +0 -0
  671. /package/templates/{mern/server → layers/node-prisma/javascript}/src/config/socket.js +0 -0
  672. /package/templates/{mern/server → layers/node-prisma/javascript}/src/config/webPush.js +0 -0
  673. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/controllers/auth.controller.js +0 -0
  674. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/controllers/push.controller.js +0 -0
  675. /package/templates/{mern/server → layers/node-prisma/javascript}/src/controllers/upload.controller.js +0 -0
  676. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/index.js +0 -0
  677. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/middleware/auth.middleware.js +0 -0
  678. /package/templates/{mern/server → layers/node-prisma/javascript}/src/middleware/errorHandler.js +0 -0
  679. /package/templates/{mern/server → layers/node-prisma/javascript}/src/middleware/multer.js +0 -0
  680. /package/templates/{mern/server → layers/node-prisma/javascript}/src/middleware/rateLimiter.js +0 -0
  681. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/routes/auth.route.js +0 -0
  682. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/routes/index.js +0 -0
  683. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/routes/push.route.js +0 -0
  684. /package/templates/{mern/server → layers/node-prisma/javascript}/src/routes/upload.route.js +0 -0
  685. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/services/auth.service.js +0 -0
  686. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/authToken.js +0 -0
  687. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/cloudinary.js +0 -0
  688. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/cloudinaryUpload.js +0 -0
  689. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/emailOtp.js +0 -0
  690. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/genOtpToken.js +0 -0
  691. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/generateVapidKeys.js +0 -0
  692. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/jwt.js +0 -0
  693. /package/templates/{mern/server → layers/node-prisma/javascript}/src/utils/logger.js +0 -0
  694. /package/templates/{node-prisma → layers/node-prisma/javascript}/src/utils/pushHelper.js +0 -0
  695. /package/templates/{node-prisma → layers/node-prisma/typescript}/.env.example +0 -0
  696. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/README.md +0 -0
  697. /package/templates/{mern-ts/server → layers/node-prisma/typescript}/_gitignore +0 -0
  698. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/package.json +0 -0
  699. /package/templates/{node-prisma → layers/node-prisma/typescript}/prisma/schema.prisma +0 -0
  700. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/app.ts +0 -0
  701. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/config/cloudinary.ts +0 -0
  702. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/config/db.ts +0 -0
  703. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/config/dotenv.ts +0 -0
  704. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/config/email.ts +0 -0
  705. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/config/socket.ts +0 -0
  706. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/config/webPush.ts +0 -0
  707. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/controllers/auth.controller.ts +0 -0
  708. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/controllers/push.controller.ts +0 -0
  709. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/controllers/upload.controller.ts +0 -0
  710. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/index.ts +0 -0
  711. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/middleware/auth.middleware.ts +0 -0
  712. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/middleware/errorHandler.ts +0 -0
  713. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/middleware/multer.ts +0 -0
  714. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/middleware/rateLimiter.ts +0 -0
  715. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/routes/auth.route.ts +0 -0
  716. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/routes/index.ts +0 -0
  717. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/routes/push.route.ts +0 -0
  718. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/routes/upload.route.ts +0 -0
  719. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/services/auth.service.ts +0 -0
  720. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/types/express.d.ts +0 -0
  721. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/cloudinaryUpload.ts +0 -0
  722. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/emailOtp.ts +0 -0
  723. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/genOtpToken.ts +0 -0
  724. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/generateVapidKeys.ts +0 -0
  725. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/jwt.ts +0 -0
  726. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/src/utils/logger.ts +0 -0
  727. /package/templates/{node-prisma-ts → layers/node-prisma/typescript}/src/utils/pushHelper.ts +0 -0
  728. /package/templates/{mern-react-native/server → layers/node-prisma/typescript}/tsconfig.json +0 -0
  729. /package/templates/{production-fullstack/server → layers/prisma/javascript}/.env.example +0 -0
  730. /package/templates/{mern/client → layers/react/base}/index.html +0 -0
  731. /package/templates/{mern-react-native/client → layers/react/base}/public/_redirects +0 -0
  732. /package/templates/{mern-react-native/client → layers/react/base}/public/favicon.ico +0 -0
  733. /package/templates/{mern-react-native/client → layers/react/base}/public/favicon.svg +0 -0
  734. /package/templates/{mern-ts/client/src/assets/images → layers/react/base/public}/logo.png +0 -0
  735. /package/templates/{mern-react-native/client → layers/react/base}/public/manifest.json +0 -0
  736. /package/templates/{mern-react-native/client → layers/react/base}/public/sw.js +0 -0
  737. /package/templates/{mern/client → layers/react/base}/src/assets/animations/loading.json +0 -0
  738. /package/templates/{mern/client/public → layers/react/base/src/assets/images}/logo.png +0 -0
  739. /package/templates/{mern-react-native/client → layers/react/base}/src/index.css +0 -0
  740. /package/templates/{next → layers/react/javascript}/_gitignore +0 -0
  741. /package/templates/{mern/client → layers/react/javascript}/package.json +0 -0
  742. /package/templates/{mern/client → layers/react/javascript}/src/App.jsx +0 -0
  743. /package/templates/{next → layers/react/javascript}/src/components/common/Loading.jsx +0 -0
  744. /package/templates/{next → layers/react/javascript}/src/components/common/LottieIcon.jsx +0 -0
  745. /package/templates/{mern/client → layers/react/javascript}/src/components/common/PwaInstallPrompt.jsx +0 -0
  746. /package/templates/{next → layers/react/javascript}/src/components/common/ToggleSwitch.jsx +0 -0
  747. /package/templates/{mern/client → layers/react/javascript}/src/components/common/Unauthorized.jsx +0 -0
  748. /package/templates/{mern/client → layers/react/javascript}/src/components/layout/ProtectedRoute.jsx +0 -0
  749. /package/templates/{mern/client → layers/react/javascript}/src/components/layout/PublicLayout.jsx +0 -0
  750. /package/templates/{mern/client → layers/react/javascript}/src/components/layout/SidebarLayout.jsx +0 -0
  751. /package/templates/{next → layers/react/javascript}/src/config/navigation.js +0 -0
  752. /package/templates/{mern/client → layers/react/javascript}/src/main.jsx +0 -0
  753. /package/templates/{next → layers/react/javascript}/src/utils/formatDate.js +0 -0
  754. /package/templates/{mern/client → layers/react/javascript}/vite.config.js +0 -0
  755. /package/templates/{node-prisma-ts → layers/react/typescript}/_gitignore +0 -0
  756. /package/templates/{mern-react-native/client → layers/react/typescript}/index.html +0 -0
  757. /package/templates/{mern-react-native/client → layers/react/typescript}/package.json +0 -0
  758. /package/templates/{mern-ts/client → layers/react/typescript}/public/_redirects +0 -0
  759. /package/templates/{mern-ts/client → layers/react/typescript}/public/favicon.ico +0 -0
  760. /package/templates/{mern-ts/client → layers/react/typescript}/public/favicon.svg +0 -0
  761. /package/templates/{mern/client/src/assets/images → layers/react/typescript/public}/logo.png +0 -0
  762. /package/templates/{mern-ts/client → layers/react/typescript}/public/manifest.json +0 -0
  763. /package/templates/{mern-ts/client → layers/react/typescript}/public/sw.js +0 -0
  764. /package/templates/{mern-react-native/client → layers/react/typescript}/src/App.tsx +0 -0
  765. /package/templates/{next-ts → layers/react/typescript}/src/assets/animations/loading.json +0 -0
  766. /package/templates/{mern-ts/client → layers/react/typescript}/src/assets/data/navigation.ts +0 -0
  767. /package/templates/{next-ts/public → layers/react/typescript/src/assets/images}/logo.png +0 -0
  768. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/Loading.tsx +0 -0
  769. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/LottieIcon.tsx +0 -0
  770. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/NotFound.tsx +0 -0
  771. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/PwaInstallPrompt.tsx +0 -0
  772. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/SEO.tsx +0 -0
  773. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/Scroll.tsx +0 -0
  774. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/ToggleSwitch.tsx +0 -0
  775. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/common/Unauthorized.tsx +0 -0
  776. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/layout/ProtectedRoute.tsx +0 -0
  777. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/layout/PublicLayout.tsx +0 -0
  778. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/CardSkeleton.tsx +0 -0
  779. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/DashboardSkeleton.tsx +0 -0
  780. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/ListSkeleton.tsx +0 -0
  781. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/PageSkeleton.tsx +0 -0
  782. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/ProfileSkeleton.tsx +0 -0
  783. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/Skeleton.tsx +0 -0
  784. /package/templates/{mern-ts/client → layers/react/typescript}/src/components/skeletons/common/TableSkeleton.tsx +0 -0
  785. /package/templates/{mern-react-native/client → layers/react/typescript}/src/components/ui/Header.tsx +0 -0
  786. /package/templates/{mern-react-native/client → layers/react/typescript}/src/config/api.ts +0 -0
  787. /package/templates/{mern-react-native/client → layers/react/typescript}/src/config/appConfig.ts +0 -0
  788. /package/templates/{mern-ts/client → layers/react/typescript}/src/config/navigation.ts +0 -0
  789. /package/templates/{mern-react-native/client → layers/react/typescript}/src/hooks/useLenis.ts +0 -0
  790. /package/templates/{mern-react-native/client → layers/react/typescript}/src/hooks/usePwaInstall.ts +0 -0
  791. /package/templates/{mern-ts/client → layers/react/typescript}/src/hooks/useWindowSize.ts +0 -0
  792. /package/templates/{mern-ts/client → layers/react/typescript}/src/index.css +0 -0
  793. /package/templates/{mern-react-native/client → layers/react/typescript}/src/main.tsx +0 -0
  794. /package/templates/{mern-react-native/client → layers/react/typescript}/src/pages/Home.tsx +0 -0
  795. /package/templates/{mern-react-native/client → layers/react/typescript}/src/pages/Login.tsx +0 -0
  796. /package/templates/{mern-react-native/client → layers/react/typescript}/src/pages/Profile.tsx +0 -0
  797. /package/templates/{mern-react-native/client → layers/react/typescript}/src/services/authService.ts +0 -0
  798. /package/templates/{mern-ts/client → layers/react/typescript}/src/store/useAuthStore.ts +0 -0
  799. /package/templates/{mern-ts/client → layers/react/typescript}/src/utils/formatDate.ts +0 -0
  800. /package/templates/{mern-ts/client → layers/react/typescript}/src/utils/getInitials.ts +0 -0
  801. /package/templates/{mern-react-native/client → layers/react/typescript}/src/vite-env.d.ts +0 -0
  802. /package/templates/{mern-react-native/client → layers/react/typescript}/tsconfig.json +0 -0
  803. /package/templates/{mern-react-native/client → layers/react/typescript}/tsconfig.node.json +0 -0
  804. /package/templates/{mern-react-native/client → layers/react/typescript}/vite.config.ts +0 -0
  805. /package/templates/{mern-react-native/mobile → layers/react-native/base}/LICENSE +0 -0
  806. /package/templates/{mern-react-native/mobile → layers/react-native/base}/_gitignore +0 -0
  807. /package/templates/{mern-react-native/mobile → layers/react-native/base}/app.json +0 -0
  808. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/animations/celebrate.json +0 -0
  809. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/animations/infinity.json +0 -0
  810. /package/templates/{mern-ts/client/src → layers/react-native/base}/assets/animations/loading.json +0 -0
  811. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/fonts/Inter_Bold.ttf +0 -0
  812. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/fonts/Inter_ExtraBold.ttf +0 -0
  813. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/fonts/Inter_Medium.ttf +0 -0
  814. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/fonts/Inter_Regular.ttf +0 -0
  815. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/fonts/Inter_SemiBold.ttf +0 -0
  816. /package/templates/{mern-ts/client/public → layers/react-native/base/assets/images/logo}/logo.png +0 -0
  817. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/images/logo/logo.svg +0 -0
  818. /package/templates/{mern-react-native/mobile → layers/react-native/base}/assets/images/logo/logoWithBg.png +0 -0
  819. /package/templates/{mern-react-native/mobile → layers/react-native/base}/babel.config.js +0 -0
  820. /package/templates/{mern-react-native/mobile → layers/react-native/base}/drizzle.config.ts +0 -0
  821. /package/templates/{mern-react-native/mobile → layers/react-native/base}/eas.json +0 -0
  822. /package/templates/{mern-react-native/mobile → layers/react-native/base}/eslint.config.js +0 -0
  823. /package/templates/{mern-react-native/mobile → layers/react-native/base}/expo-env.d.ts +0 -0
  824. /package/templates/{mern-react-native/mobile → layers/react-native/base}/metro.config.js +0 -0
  825. /package/templates/{mern-react-native/mobile → layers/react-native/base}/nativewind-env.d.ts +0 -0
  826. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(auth)/_layout.tsx +0 -0
  827. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(auth)/change-password.tsx +0 -0
  828. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(auth)/edit-profile.tsx +0 -0
  829. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(auth)/forgot-password.tsx +0 -0
  830. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(auth)/login.tsx +0 -0
  831. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(tabs)/_layout.tsx +0 -0
  832. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(tabs)/dashboard.tsx +0 -0
  833. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(tabs)/index.tsx +0 -0
  834. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/(tabs)/search.tsx +0 -0
  835. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/app/global.css +0 -0
  836. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/AnimatedHeader.tsx +0 -0
  837. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/ConfirmationToast.tsx +0 -0
  838. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/Loading.tsx +0 -0
  839. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/LocationLoader.tsx +0 -0
  840. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/ScreenHeader.tsx +0 -0
  841. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/TabHeader.tsx +0 -0
  842. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/common/Welcome.tsx +0 -0
  843. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/CustomTabBar.tsx +0 -0
  844. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/Sidebar.tsx +0 -0
  845. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/buttons/Button.tsx +0 -0
  846. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/buttons/ButtonGroup.tsx +0 -0
  847. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/buttons/FloatingActionButton.tsx +0 -0
  848. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/buttons/IconButton.tsx +0 -0
  849. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/Accordion.tsx +0 -0
  850. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/Avatar.tsx +0 -0
  851. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/Badge.tsx +0 -0
  852. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/Card.tsx +0 -0
  853. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/Image.tsx +0 -0
  854. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/ImageViewer.tsx +0 -0
  855. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/data-display/SwipeableRow.tsx +0 -0
  856. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/feedback/CircularProgress.tsx +0 -0
  857. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/feedback/GestureWrapper.tsx +0 -0
  858. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/feedback/ProgressBar.tsx +0 -0
  859. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/feedback/Skeleton.tsx +0 -0
  860. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/feedback/Spinner.tsx +0 -0
  861. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/Checkbox.tsx +0 -0
  862. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/DatePicker.tsx +0 -0
  863. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/ImagePickerModal.tsx +0 -0
  864. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/Input.tsx +0 -0
  865. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/LocationPicker.tsx +0 -0
  866. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/OTPInput.tsx +0 -0
  867. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/PasswordInput.tsx +0 -0
  868. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/Radio.tsx +0 -0
  869. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/SearchBar.tsx +0 -0
  870. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/Slider.tsx +0 -0
  871. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/Switch.tsx +0 -0
  872. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/TextArea.tsx +0 -0
  873. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/inputs/WebLocationPicker.tsx +0 -0
  874. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Container.tsx +0 -0
  875. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Divider.tsx +0 -0
  876. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Grid.tsx +0 -0
  877. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/KeyboardAvoidingViewWrapper.tsx +0 -0
  878. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/ScrollContainer.tsx +0 -0
  879. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Section.tsx +0 -0
  880. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Spacer.tsx +0 -0
  881. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/layout/Stack.tsx +0 -0
  882. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/navigation/Pagination.tsx +0 -0
  883. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/navigation/ProgressStepper.tsx +0 -0
  884. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/components/ui/navigation/Tabs.tsx +0 -0
  885. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/config/api.ts +0 -0
  886. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/config/sidebar.config.ts +0 -0
  887. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/config/tabNavigation.ts +0 -0
  888. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/constants/Colors.ts +0 -0
  889. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/db/index.ts +0 -0
  890. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/db/schema.ts +0 -0
  891. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/hooks/useDebounce.ts +0 -0
  892. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/services/auth.service.ts +0 -0
  893. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/services/notification.service.ts +0 -0
  894. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/services/permission.service.ts +0 -0
  895. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/services/socket.service.ts +0 -0
  896. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/store/localStore.ts +0 -0
  897. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/store/useNotificationStore.ts +0 -0
  898. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/types/auth.type.ts +0 -0
  899. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/types/images.d.ts +0 -0
  900. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/utils/storage.ts +0 -0
  901. /package/templates/{mern-react-native/mobile → layers/react-native/base}/src/utils/toast.ts +0 -0
  902. /package/templates/{mern-react-native/mobile → layers/react-native/base}/tailwind.config.js +0 -0
  903. /package/templates/{mern-react-native/mobile → layers/react-native/base}/tsconfig.json +0 -0
  904. /package/templates/{mern-react-native → presets/fullstack-prisma/overrides}/_gitignore +0 -0
  905. /package/templates/{mern → presets/mern/overrides}/package.json +0 -0
  906. /package/templates/{mern-ts → presets/mern-react-native/overrides}/_gitignore +0 -0
  907. /package/templates/{mern-react-native → presets/mern-react-native/overrides}/package.json +0 -0
  908. /package/templates/{mern → presets/mern-ts/overrides}/_gitignore +0 -0
  909. /package/templates/{mern-ts → presets/mern-ts/overrides}/package.json +0 -0
  910. /package/templates/{node-prisma → presets/production-fullstack/overrides/client}/_gitignore +0 -0
  911. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/index.html +0 -0
  912. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/package.json +0 -0
  913. /package/templates/{mern → presets/production-fullstack/overrides}/client/public/_redirects +0 -0
  914. /package/templates/{mern → presets/production-fullstack/overrides}/client/public/favicon.ico +0 -0
  915. /package/templates/{mern → presets/production-fullstack/overrides}/client/public/favicon.svg +0 -0
  916. /package/templates/{next-ts/src/assets/images → presets/production-fullstack/overrides/client/public}/logo.png +0 -0
  917. /package/templates/{mern → presets/production-fullstack/overrides}/client/public/manifest.json +0 -0
  918. /package/templates/{mern → presets/production-fullstack/overrides}/client/public/sw.js +0 -0
  919. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/App.tsx +0 -0
  920. /package/templates/{next → presets/production-fullstack/overrides/client}/src/assets/animations/loading.json +0 -0
  921. /package/templates/{next-ts → presets/production-fullstack/overrides/client}/src/assets/data/navigation.ts +0 -0
  922. /package/templates/{next → presets/production-fullstack/overrides/client}/src/assets/images/logo.png +0 -0
  923. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/layout/ProtectedRoute.tsx +0 -0
  924. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/src/components/layout/PublicLayout.tsx +0 -0
  925. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/layout/SidebarLayout.tsx +0 -0
  926. /package/templates/{mern-react-native/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/Breadcrumbs.tsx +0 -0
  927. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/LottieIcon.tsx +0 -0
  928. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/NotFound.tsx +0 -0
  929. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/shared/PwaInstallPrompt.tsx +0 -0
  930. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/SEO.tsx +0 -0
  931. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/Scroll.tsx +0 -0
  932. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/shared}/Unauthorized.tsx +0 -0
  933. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/CardSkeleton.tsx +0 -0
  934. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/DashboardSkeleton.tsx +0 -0
  935. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/ListSkeleton.tsx +0 -0
  936. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/PageSkeleton.tsx +0 -0
  937. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/ProfileSkeleton.tsx +0 -0
  938. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/Skeleton.tsx +0 -0
  939. /package/templates/{next-ts/src/components → presets/production-fullstack/overrides/client/src/components/shared}/skeletons/common/TableSkeleton.tsx +0 -0
  940. /package/templates/{mern-ts/client/src/components/modals → presets/production-fullstack/overrides/client/src/components/ui}/ConfirmModal.tsx +0 -0
  941. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/ui/Header.tsx +0 -0
  942. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/ui/Loading.tsx +0 -0
  943. /package/templates/{mern-react-native/client/src/components/modals → presets/production-fullstack/overrides/client/src/components/ui}/Modal.tsx +0 -0
  944. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/ui/SidebarHeader.tsx +0 -0
  945. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/ui/Table.tsx +0 -0
  946. /package/templates/{mern-ts/client/src/components/common → presets/production-fullstack/overrides/client/src/components/ui}/ToggleSwitch.tsx +0 -0
  947. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/components/ui/sidebar.tsx +0 -0
  948. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/config/index.ts +0 -0
  949. /package/templates/{next-ts/src/config → presets/production-fullstack/overrides/client/src/constants}/navigation.ts +0 -0
  950. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/features/auth/api/authService.ts +0 -0
  951. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/features/auth/pages/Login.tsx +0 -0
  952. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/features/auth/store/useAuthStore.ts +0 -0
  953. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/features/core/pages/Home.tsx +0 -0
  954. /package/templates/{mern-ts/client/src → presets/production-fullstack/overrides/client/src/features/core}/pages/Profile.tsx +0 -0
  955. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/src/hooks/useLenis.ts +0 -0
  956. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/src/hooks/usePwaInstall.ts +0 -0
  957. /package/templates/{next-ts → presets/production-fullstack/overrides/client}/src/hooks/useWindowSize.ts +0 -0
  958. /package/templates/{mern → presets/production-fullstack/overrides}/client/src/index.css +0 -0
  959. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/lib/axios.ts +0 -0
  960. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/lib/dayjs.ts +0 -0
  961. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/lib/query-client.ts +0 -0
  962. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/lib/socket.ts +0 -0
  963. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/client/src/main.tsx +0 -0
  964. /package/templates/{mern-react-native → presets/production-fullstack/overrides}/client/src/store/useUiStore.ts +0 -0
  965. /package/templates/{next-ts → presets/production-fullstack/overrides/client}/src/utils/formatDate.ts +0 -0
  966. /package/templates/{next-ts → presets/production-fullstack/overrides/client}/src/utils/getInitials.ts +0 -0
  967. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/src/vite-env.d.ts +0 -0
  968. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/tsconfig.json +0 -0
  969. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/tsconfig.node.json +0 -0
  970. /package/templates/{mern-ts → presets/production-fullstack/overrides}/client/vite.config.ts +0 -0
  971. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/LICENSE +0 -0
  972. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/app.json +0 -0
  973. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/animations/celebrate.json +0 -0
  974. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/animations/infinity.json +0 -0
  975. /package/templates/{production-fullstack/client/src → presets/production-fullstack/overrides/mobile}/assets/animations/loading.json +0 -0
  976. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/fonts/Inter_Bold.ttf +0 -0
  977. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/fonts/Inter_ExtraBold.ttf +0 -0
  978. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/fonts/Inter_Medium.ttf +0 -0
  979. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/fonts/Inter_Regular.ttf +0 -0
  980. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/fonts/Inter_SemiBold.ttf +0 -0
  981. /package/templates/{production-fullstack/client/public → presets/production-fullstack/overrides/mobile/assets/images/logo}/logo.png +0 -0
  982. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/images/logo/logo.svg +0 -0
  983. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/assets/images/logo/logoWithBg.png +0 -0
  984. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/babel.config.js +0 -0
  985. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/drizzle.config.ts +0 -0
  986. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/eas.json +0 -0
  987. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/eslint.config.js +0 -0
  988. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/expo-env.d.ts +0 -0
  989. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/metro.config.js +0 -0
  990. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/nativewind-env.d.ts +0 -0
  991. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/package.json +0 -0
  992. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/(auth)/_layout.tsx +0 -0
  993. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/(auth)/change-password.tsx +0 -0
  994. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/(auth)/edit-profile.tsx +0 -0
  995. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/(auth)/forgot-password.tsx +0 -0
  996. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/(auth)/login.tsx +0 -0
  997. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/_layout.tsx +0 -0
  998. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/app/global.css +0 -0
  999. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/AnimatedHeader.tsx +0 -0
  1000. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/ConfirmationToast.tsx +0 -0
  1001. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/Loading.tsx +0 -0
  1002. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/LocationLoader.tsx +0 -0
  1003. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/ScreenHeader.tsx +0 -0
  1004. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/TabHeader.tsx +0 -0
  1005. /package/templates/{mern-react-native → presets/production-fullstack/overrides}/mobile/src/components/common/Typography.tsx +0 -0
  1006. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/common/Welcome.tsx +0 -0
  1007. /package/templates/{mern-react-native → presets/production-fullstack/overrides}/mobile/src/components/ui/BottomModal.tsx +0 -0
  1008. /package/templates/{mern-react-native → presets/production-fullstack/overrides}/mobile/src/components/ui/ClassicTabBar.tsx +0 -0
  1009. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/CustomTabBar.tsx +0 -0
  1010. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/Sidebar.tsx +0 -0
  1011. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/buttons/Button.tsx +0 -0
  1012. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/buttons/ButtonGroup.tsx +0 -0
  1013. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/buttons/FloatingActionButton.tsx +0 -0
  1014. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/buttons/IconButton.tsx +0 -0
  1015. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/Accordion.tsx +0 -0
  1016. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/Avatar.tsx +0 -0
  1017. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/Badge.tsx +0 -0
  1018. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/Card.tsx +0 -0
  1019. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/Image.tsx +0 -0
  1020. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/ImageViewer.tsx +0 -0
  1021. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/data-display/SwipeableRow.tsx +0 -0
  1022. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/feedback/CircularProgress.tsx +0 -0
  1023. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/feedback/GestureWrapper.tsx +0 -0
  1024. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/feedback/ProgressBar.tsx +0 -0
  1025. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/feedback/Skeleton.tsx +0 -0
  1026. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/feedback/Spinner.tsx +0 -0
  1027. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/Checkbox.tsx +0 -0
  1028. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/DatePicker.tsx +0 -0
  1029. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/ImagePickerModal.tsx +0 -0
  1030. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/Input.tsx +0 -0
  1031. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/LocationPicker.tsx +0 -0
  1032. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/OTPInput.tsx +0 -0
  1033. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/PasswordInput.tsx +0 -0
  1034. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/Radio.tsx +0 -0
  1035. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/SearchBar.tsx +0 -0
  1036. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/Slider.tsx +0 -0
  1037. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/Switch.tsx +0 -0
  1038. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/TextArea.tsx +0 -0
  1039. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/inputs/WebLocationPicker.tsx +0 -0
  1040. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Container.tsx +0 -0
  1041. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Divider.tsx +0 -0
  1042. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Grid.tsx +0 -0
  1043. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/KeyboardAvoidingViewWrapper.tsx +0 -0
  1044. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/ScrollContainer.tsx +0 -0
  1045. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Section.tsx +0 -0
  1046. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Spacer.tsx +0 -0
  1047. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/layout/Stack.tsx +0 -0
  1048. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/navigation/Pagination.tsx +0 -0
  1049. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/navigation/ProgressStepper.tsx +0 -0
  1050. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/components/ui/navigation/Tabs.tsx +0 -0
  1051. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/config/sidebar.config.ts +0 -0
  1052. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/config/tabNavigation.ts +0 -0
  1053. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/constants/Colors.ts +0 -0
  1054. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/db/index.ts +0 -0
  1055. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/db/schema.ts +0 -0
  1056. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/features/auth/api/auth.service.ts +0 -0
  1057. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/features/auth/store/useAuthStore.ts +0 -0
  1058. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/features/auth/types/auth.type.ts +0 -0
  1059. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/hooks/useDebounce.ts +0 -0
  1060. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/lib/axios.ts +0 -0
  1061. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/lib/query-client.ts +0 -0
  1062. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/lib/socket.ts +0 -0
  1063. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/lib/storage.ts +0 -0
  1064. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/services/permission.service.ts +0 -0
  1065. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/store/localStore.ts +0 -0
  1066. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/store/useNotificationStore.ts +0 -0
  1067. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/types/common.type.ts +0 -0
  1068. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/types/images.d.ts +0 -0
  1069. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/src/utils/toast.ts +0 -0
  1070. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/tailwind.config.js +0 -0
  1071. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/mobile/tsconfig.json +0 -0
  1072. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/README.md +0 -0
  1073. /package/templates/{node-ts → presets/production-fullstack/overrides/server}/_gitignore +0 -0
  1074. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/eslint.config.js +0 -0
  1075. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/package.json +0 -0
  1076. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/core/attachment.prisma +0 -0
  1077. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/core/notification.prisma +0 -0
  1078. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/core/permission.prisma +0 -0
  1079. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/core/role.prisma +0 -0
  1080. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/core/user.prisma +0 -0
  1081. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/enums/common.prisma +0 -0
  1082. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/enums/notification.prisma +0 -0
  1083. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/enums/user.prisma +0 -0
  1084. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma/schema/schema.prisma +0 -0
  1085. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/prisma.config.ts +0 -0
  1086. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/app.ts +0 -0
  1087. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/middlewares/auth.middleware.ts +0 -0
  1088. /package/templates/{node-prisma-ts/src/middleware → presets/production-fullstack/overrides/server/src/common/middlewares}/errorHandler.ts +0 -0
  1089. /package/templates/{node-prisma-ts/src/middleware → presets/production-fullstack/overrides/server/src/common/middlewares}/multer.ts +0 -0
  1090. /package/templates/{node-prisma-ts/src/middleware → presets/production-fullstack/overrides/server/src/common/middlewares}/rateLimiter.ts +0 -0
  1091. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/services/email.service.ts +0 -0
  1092. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/services/push.service.ts +0 -0
  1093. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/services/storage.service.ts +0 -0
  1094. /package/templates/{node-prisma-ts/src → presets/production-fullstack/overrides/server/src/common}/types/express.d.ts +0 -0
  1095. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/utils/cloudinaryUpload.ts +0 -0
  1096. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/utils/emailOtp.ts +0 -0
  1097. /package/templates/{node-prisma-ts/src → presets/production-fullstack/overrides/server/src/common}/utils/genOtpToken.ts +0 -0
  1098. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/utils/generateVapidKeys.ts +0 -0
  1099. /package/templates/{node-prisma-ts/src → presets/production-fullstack/overrides/server/src/common}/utils/jwt.ts +0 -0
  1100. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/common/utils/pushHelper.ts +0 -0
  1101. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/config/env.ts +0 -0
  1102. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/config/logger.ts +0 -0
  1103. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/config/prisma.ts +0 -0
  1104. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/attachments/upload.controller.ts +0 -0
  1105. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/attachments/upload.routes.ts +0 -0
  1106. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/auth/auth.controller.ts +0 -0
  1107. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/auth/auth.routes.ts +0 -0
  1108. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/auth/auth.service.ts +0 -0
  1109. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/notifications/push.controller.ts +0 -0
  1110. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/features/notifications/push.routes.ts +0 -0
  1111. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/index.ts +0 -0
  1112. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/routes/index.ts +0 -0
  1113. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/auth.ts +0 -0
  1114. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/connection.ts +0 -0
  1115. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/emitters/assignment.emitter.ts +0 -0
  1116. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/emitters/attendance.emitter.ts +0 -0
  1117. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/emitters/exam.emitter.ts +0 -0
  1118. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/emitters/notification.emitter.ts +0 -0
  1119. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/events.ts +0 -0
  1120. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/handlers/attendance.handler.ts +0 -0
  1121. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/handlers/chat.handler.ts +0 -0
  1122. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/handlers/index.ts +0 -0
  1123. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/handlers/lms.handler.ts +0 -0
  1124. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/handlers/notification.handler.ts +0 -0
  1125. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/index.ts +0 -0
  1126. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/middleware.ts +0 -0
  1127. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/rooms.ts +0 -0
  1128. /package/templates/{production-fullstack → presets/production-fullstack/overrides}/server/src/sockets/types.ts +0 -0
  1129. /package/templates/{node-prisma-ts → presets/production-fullstack/overrides/server}/tsconfig.json +0 -0
  1130. /package/templates/{react → presets/react/overrides}/.env.example +0 -0
@@ -1,591 +0,0 @@
1
- import React, { useEffect, ReactElement, useState } from "react";
2
- import { View, Dimensions, StyleSheet } from "react-native";
3
- import { Ionicons } from "@expo/vector-icons";
4
- import { Txt } from "./Typography";
5
- import { useColorScheme } from "nativewind";
6
- import { Colors } from "../../constants/Colors";
7
- import { useSafeAreaInsets } from "react-native-safe-area-context";
8
- import Animated, {
9
- useSharedValue,
10
- useAnimatedStyle,
11
- withRepeat,
12
- withSequence,
13
- withTiming,
14
- Easing,
15
- withDelay,
16
- withSpring,
17
- interpolate,
18
- Extrapolation,
19
- } from "react-native-reanimated";
20
- import { LinearGradient } from "expo-linear-gradient";
21
-
22
- const { width, height } = Dimensions.get("window");
23
-
24
- const MW = width * 3;
25
- const MH = height * 2.8;
26
-
27
- // ─────────────────────────────────────────
28
- // THEME-AWARE MAP PALETTE
29
- // Light: warm beige city, white roads
30
- // Dark: deep navy city, slate roads
31
- // ─────────────────────────────────────────
32
- const LIGHT_MAP = {
33
- base: "#EDE8DF",
34
- block: ["#C9B99A", "#BFB08F", "#D4C4A8", "#CCC0A0", "#B8A880"],
35
- road: "#FFFFFF",
36
- roadMn: "#F0EBE0",
37
- lane: "#E8C84A",
38
- water: "#A8C8E8",
39
- park: "#8BC34A",
40
- };
41
- const DARK_MAP = {
42
- base: "#0F172A",
43
- block: ["#1E293B", "#172032", "#243044", "#1A2638", "#202E40"],
44
- road: "#2A3445",
45
- roadMn: "#1B2433",
46
- lane: "#60A5FA",
47
- water: "#1e3a5f",
48
- park: "#14532d",
49
- };
50
-
51
- // ─── Map Primitives ───
52
- const Water = ({ top, left, w, h, rx = 8, dark }: any) => (
53
- <View style={{
54
- position: "absolute", top, left, width: w, height: h,
55
- backgroundColor: dark ? DARK_MAP.water : LIGHT_MAP.water,
56
- borderRadius: rx, opacity: 0.9,
57
- }} />
58
- );
59
- const Park = ({ top, left, w, h, rx = 6, dark }: any) => (
60
- <View style={{
61
- position: "absolute", top, left, width: w, height: h,
62
- backgroundColor: dark ? DARK_MAP.park : LIGHT_MAP.park,
63
- borderRadius: rx, opacity: dark ? 0.6 : 0.55,
64
- }} />
65
- );
66
- const Block = ({ top, left, w, h, shade = 0, dark }: any) => {
67
- const palette = dark ? DARK_MAP.block : LIGHT_MAP.block;
68
- return (
69
- <View style={{
70
- position: "absolute", top, left, width: w, height: h,
71
- backgroundColor: palette[shade % palette.length],
72
- borderRadius: 3, opacity: 0.9,
73
- }} />
74
- );
75
- };
76
- const Road = ({ top, left, w, h, major = false, dark }: any) => (
77
- <View style={{
78
- position: "absolute", top, left, width: w, height: h,
79
- backgroundColor: major ? (dark ? DARK_MAP.road : LIGHT_MAP.road)
80
- : (dark ? DARK_MAP.roadMn : LIGHT_MAP.roadMn),
81
- opacity: major ? 0.95 : 0.75,
82
- }} />
83
- );
84
- const LaneDash = ({ top, left, vertical = false, dark }: any) => (
85
- <View style={{
86
- position: "absolute", top, left,
87
- width: vertical ? 2 : 12, height: vertical ? 12 : 2,
88
- backgroundColor: dark ? DARK_MAP.lane : LIGHT_MAP.lane,
89
- opacity: dark ? 0.3 : 0.45,
90
- }} />
91
- );
92
-
93
- // ─── The full map world ───
94
- const MapWorld = ({ dark }: { dark: boolean }) => {
95
- const roads: ReactElement[] = [];
96
- const blocks: ReactElement[] = [];
97
- const dashes: ReactElement[] = [];
98
-
99
- const hMajorY = [MH * 0.18, MH * 0.36, MH * 0.54, MH * 0.72, MH * 0.88];
100
- hMajorY.forEach((y, i) => {
101
- roads.push(<Road key={`hm${i}`} top={y} left={0} w={MW} h={14} major dark={dark} />);
102
- for (let x = 0; x < MW; x += 32) {
103
- dashes.push(<LaneDash key={`hd${i}-${x}`} top={y + 6} left={x} dark={dark} />);
104
- }
105
- });
106
-
107
- const hMinorY = [MH * 0.09, MH * 0.27, MH * 0.45, MH * 0.63, MH * 0.80];
108
- hMinorY.forEach((y, i) => {
109
- roads.push(<Road key={`hmin${i}`} top={y} left={0} w={MW} h={7} dark={dark} />);
110
- });
111
-
112
- const vMajorX = [MW * 0.15, MW * 0.33, MW * 0.50, MW * 0.68, MW * 0.85];
113
- vMajorX.forEach((x, i) => {
114
- roads.push(<Road key={`vm${i}`} top={0} left={x} w={14} h={MH} major dark={dark} />);
115
- for (let y = 0; y < MH; y += 32) {
116
- dashes.push(<LaneDash key={`vd${i}-${y}`} top={y} left={x + 6} vertical dark={dark} />);
117
- }
118
- });
119
-
120
- const vMinorX = [MW * 0.07, MW * 0.24, MW * 0.41, MW * 0.59, MW * 0.76, MW * 0.93];
121
- vMinorX.forEach((x, i) => {
122
- roads.push(<Road key={`vmin${i}`} top={0} left={x} w={7} h={MH} dark={dark} />);
123
- });
124
-
125
- const hAll = [0, ...hMinorY, ...hMajorY, MH].sort((a, b) => a - b);
126
- const vAll = [0, ...vMinorX, ...vMajorX, MW].sort((a, b) => a - b);
127
- let shade = 0;
128
- for (let r = 0; r < hAll.length - 1; r++) {
129
- for (let c = 0; c < vAll.length - 1; c++) {
130
- const top = hAll[r] + 8;
131
- const left = vAll[c] + 8;
132
- const bh = hAll[r + 1] - hAll[r] - 16;
133
- const bw = vAll[c + 1] - vAll[c] - 16;
134
- if (bh > 10 && bw > 10) {
135
- blocks.push(<Block key={`b${r}-${c}`} top={top} left={left} w={bw} h={bh} shade={shade++} dark={dark} />);
136
- }
137
- }
138
- }
139
-
140
- return (
141
- <View style={{ width: MW, height: MH, position: "relative", backgroundColor: dark ? DARK_MAP.base : LIGHT_MAP.base }}>
142
- <Water top={MH * 0.05} left={MW * 0.55} w={MW * 0.38} h={MH * 0.12} rx={40} dark={dark} />
143
- <Water top={MH * 0.60} left={-20} w={MW * 0.18} h={MH * 0.08} rx={30} dark={dark} />
144
- <Water top={MH * 0.82} left={MW * 0.70} w={MW * 0.28} h={MH * 0.10} rx={24} dark={dark} />
145
- <Park top={MH * 0.20} left={MW * 0.02} w={MW * 0.10} h={MH * 0.10} dark={dark} />
146
- <Park top={MH * 0.38} left={MW * 0.72} w={MW * 0.12} h={MH * 0.12} dark={dark} />
147
- <Park top={MH * 0.65} left={MW * 0.35} w={MW * 0.08} h={MH * 0.07} dark={dark} />
148
- <Park top={MH * 0.80} left={MW * 0.16} w={MW * 0.09} h={MH * 0.06} dark={dark} />
149
- {blocks}
150
- {roads}
151
- {dashes}
152
- </View>
153
- );
154
- };
155
-
156
- // ─── MOVING TRAFFIC DOT ───
157
- const TrafficDot = ({ startX, startY, endX, endY, delay, color }: any) => {
158
- const x = useSharedValue(startX);
159
- const y = useSharedValue(startY);
160
-
161
- useEffect(() => {
162
- x.value = withDelay(delay, withRepeat(
163
- withTiming(endX, { duration: 3000, easing: Easing.linear }), -1, false
164
- ));
165
- y.value = withDelay(delay, withRepeat(
166
- withTiming(endY, { duration: 3000, easing: Easing.linear }), -1, false
167
- ));
168
- }, []);
169
-
170
- const style = useAnimatedStyle(() => ({
171
- transform: [{ translateX: x.value }, { translateY: y.value }],
172
- }));
173
-
174
- return (
175
- <Animated.View style={[style, {
176
- position: "absolute", top: 0, left: 0,
177
- width: 6, height: 6, borderRadius: 3,
178
- backgroundColor: color, opacity: 0.75,
179
- }]} />
180
- );
181
- };
182
-
183
- // ─── PROPERTY PRICE PIN ───
184
- const PropertyPin = ({ top, left, delay, price, color }: any) => {
185
- const scale = useSharedValue(0);
186
- const opacity = useSharedValue(0);
187
- const bounce = useSharedValue(0);
188
-
189
- useEffect(() => {
190
- scale.value = withDelay(delay, withSpring(1, { damping: 8, stiffness: 240 }));
191
- opacity.value = withDelay(delay, withTiming(1, { duration: 300 }));
192
- bounce.value = withDelay(delay, withRepeat(
193
- withSequence(
194
- withTiming(-4, { duration: 600, easing: Easing.inOut(Easing.quad) }),
195
- withTiming(0, { duration: 600, easing: Easing.inOut(Easing.quad) })
196
- ), -1, true
197
- ));
198
- }, []);
199
-
200
- const style = useAnimatedStyle(() => ({
201
- transform: [{ scale: scale.value }, { translateY: bounce.value }],
202
- opacity: opacity.value,
203
- }));
204
-
205
- return (
206
- <Animated.View style={[style, { position: "absolute", top, left, alignItems: "center" }]}>
207
- <View style={{
208
- backgroundColor: color,
209
- paddingHorizontal: 9, paddingVertical: 5,
210
- borderRadius: 14, flexDirection: "row", alignItems: "center", gap: 4,
211
- shadowColor: color, shadowOffset: { width: 0, height: 4 },
212
- shadowOpacity: 0.45, shadowRadius: 8, elevation: 6,
213
- }}>
214
- <Ionicons name="home" size={11} color="#fff" />
215
- <Txt style={{ color: "#fff", fontFamily: "InterBold", fontSize: 11 }}>{price}</Txt>
216
- </View>
217
- <View style={{
218
- width: 0, height: 0,
219
- borderLeftWidth: 5, borderRightWidth: 5, borderTopWidth: 8,
220
- borderLeftColor: "transparent", borderRightColor: "transparent",
221
- borderTopColor: color, alignSelf: "center", marginTop: -1,
222
- }} />
223
- </Animated.View>
224
- );
225
- };
226
-
227
- // ─── RADAR PULSE ───
228
- const Pulse = ({ delay, r, primary }: { delay: number; r: number; primary: string }) => {
229
- const scale = useSharedValue(0.1);
230
- const opacity = useSharedValue(0.9);
231
-
232
- useEffect(() => {
233
- scale.value = withDelay(delay, withRepeat(
234
- withTiming(1, { duration: 2000, easing: Easing.out(Easing.quad) }), -1, false
235
- ));
236
- opacity.value = withDelay(delay, withRepeat(
237
- withTiming(0, { duration: 2000, easing: Easing.out(Easing.quad) }), -1, false
238
- ));
239
- }, []);
240
-
241
- const s = useAnimatedStyle(() => ({
242
- transform: [{ scale: scale.value }], opacity: opacity.value,
243
- }));
244
-
245
- return (
246
- <Animated.View style={[s, {
247
- position: "absolute",
248
- width: r * 2, height: r * 2, borderRadius: r,
249
- borderWidth: 2, borderColor: primary,
250
- backgroundColor: `${primary}10`,
251
- }]} />
252
- );
253
- };
254
-
255
- // ─── THE BIG PIN (receives visible as plain boolean) ───
256
- const BigPin = ({ visible, primary }: { visible: boolean; primary: string }) => {
257
- const dropY = useSharedValue(-120);
258
- const bounce = useSharedValue(0);
259
- const shadowScl = useSharedValue(0.3);
260
- const shadowOp = useSharedValue(0.1);
261
-
262
- useEffect(() => {
263
- if (visible) {
264
- dropY.value = withSpring(0, { damping: 10, stiffness: 120 });
265
- bounce.value = withDelay(600, withRepeat(
266
- withSequence(
267
- withTiming(-10, { duration: 600, easing: Easing.out(Easing.quad) }),
268
- withTiming(0, { duration: 600, easing: Easing.in(Easing.quad) })
269
- ), -1, true
270
- ));
271
- shadowScl.value = withDelay(600, withRepeat(
272
- withSequence(withTiming(0.6, { duration: 600 }), withTiming(1, { duration: 600 })), -1, true
273
- ));
274
- shadowOp.value = withDelay(600, withRepeat(
275
- withSequence(withTiming(0.2, { duration: 600 }), withTiming(0.5, { duration: 600 })), -1, true
276
- ));
277
- }
278
- }, [visible]);
279
-
280
- const pinStyle = useAnimatedStyle(() => ({
281
- transform: [{ translateY: dropY.value + bounce.value }],
282
- }));
283
- const shadowStyle = useAnimatedStyle(() => ({
284
- transform: [{ scaleX: shadowScl.value }],
285
- opacity: shadowOp.value,
286
- }));
287
-
288
- return (
289
- <View style={{ alignItems: "center" }}>
290
- <View style={{ alignItems: "center", justifyContent: "center", marginBottom: -4 }}>
291
- <Pulse delay={0} r={50} primary={primary} />
292
- <Pulse delay={700} r={50} primary={primary} />
293
- <Pulse delay={1400} r={50} primary={primary} />
294
- </View>
295
- <Animated.View style={pinStyle}>
296
- <View style={{
297
- width: 60, height: 60, borderRadius: 30,
298
- backgroundColor: primary,
299
- alignItems: "center", justifyContent: "center",
300
- borderWidth: 4, borderColor: "#fff",
301
- shadowColor: primary,
302
- shadowOffset: { width: 0, height: 10 },
303
- shadowOpacity: 0.55, shadowRadius: 16, elevation: 14,
304
- }}>
305
- <Ionicons name="location" size={30} color="#fff" style={{ marginLeft: 1, marginTop: 2 }} />
306
- </View>
307
- <View style={{
308
- width: 0, height: 0,
309
- borderLeftWidth: 10, borderRightWidth: 10, borderTopWidth: 16,
310
- borderLeftColor: "transparent", borderRightColor: "transparent",
311
- borderTopColor: primary, alignSelf: "center", marginTop: -2,
312
- }} />
313
- </Animated.View>
314
- <Animated.View style={[shadowStyle, {
315
- width: 36, height: 10, backgroundColor: "#000",
316
- borderRadius: 8, marginTop: 6,
317
- }]} />
318
- </View>
319
- );
320
- };
321
-
322
- // ─── ALTITUDE INDICATOR ───
323
- const AltitudeBar = ({ primary }: { primary: string }) => {
324
- const prog = useSharedValue(1);
325
-
326
- useEffect(() => {
327
- prog.value = withTiming(0, { duration: 2800, easing: Easing.out(Easing.quad) });
328
- }, []);
329
-
330
- const barStyle = useAnimatedStyle(() => ({
331
- height: `${prog.value * 100}%` as any,
332
- opacity: interpolate(prog.value, [0, 0.1], [0, 1], Extrapolation.CLAMP),
333
- }));
334
-
335
- const altStyle = useAnimatedStyle(() => ({
336
- opacity: interpolate(prog.value, [0.05, 0.2], [0, 1], Extrapolation.CLAMP),
337
- }));
338
-
339
- return (
340
- <Animated.View style={[altStyle, {
341
- position: "absolute", right: 20, top: "20%",
342
- alignItems: "center", gap: 4,
343
- }]}>
344
- <Txt style={{ color: "rgba(255,255,255,0.6)", fontSize: 9, fontFamily: "InterMedium", letterSpacing: 1 }}>
345
- ALT
346
- </Txt>
347
- <View style={{
348
- width: 3, height: 60, borderRadius: 2,
349
- backgroundColor: "rgba(255,255,255,0.15)", overflow: "hidden",
350
- justifyContent: "flex-end",
351
- }}>
352
- <Animated.View style={[barStyle, { backgroundColor: primary, borderRadius: 2 }]} />
353
- </View>
354
- <Txt style={{ color: "rgba(255,255,255,0.6)", fontSize: 9, fontFamily: "InterMedium" }}>
355
- GND
356
- </Txt>
357
- </Animated.View>
358
- );
359
- };
360
-
361
- // ─── COMPASS ───
362
- const Compass = () => {
363
- const rotate = useSharedValue(15);
364
-
365
- useEffect(() => {
366
- rotate.value = withTiming(-15, { duration: 3000, easing: Easing.out(Easing.quad) });
367
- }, []);
368
-
369
- const style = useAnimatedStyle(() => ({
370
- transform: [{ rotate: `${rotate.value}deg` }],
371
- }));
372
-
373
- return (
374
- <Animated.View style={[style, {
375
- position: "absolute", left: 20, top: "22%",
376
- width: 32, height: 32, borderRadius: 16,
377
- backgroundColor: "rgba(0,0,0,0.35)",
378
- borderWidth: 1, borderColor: "rgba(255,255,255,0.2)",
379
- alignItems: "center", justifyContent: "center",
380
- }]}>
381
- <Txt style={{ color: "#EF4444", fontSize: 10, fontFamily: "InterBold" }}>N</Txt>
382
- </Animated.View>
383
- );
384
- };
385
-
386
- // ────────────────────────────
387
- // MAIN COMPONENT
388
- // ────────────────────────────
389
- interface LocationLoaderProps {
390
- onReady: () => void;
391
- }
392
-
393
- export const LocationLoader = ({ onReady }: LocationLoaderProps) => {
394
- const { colorScheme } = useColorScheme();
395
- const insets = useSafeAreaInsets();
396
-
397
- const isDark = colorScheme === "dark";
398
- const themeColors = Colors[isDark ? "dark" : "light"];
399
- const primary = themeColors.primary; // #3B82F6 light / #60A5FA dark
400
- const accent = themeColors.accent; // #14B8A6 / #2DD4BF
401
- const success = themeColors.success; // #22C55E / #4ADE80
402
- const warning = themeColors.warning; // #F59E0B / #FBBF24
403
- const error = themeColors.error; // #EF4444 / #F87171
404
-
405
- // ── Camera flyover shared values ──
406
- const camScale = useSharedValue(0.45);
407
- const camX = useSharedValue(-MW * 0.05);
408
- const camY = useSharedValue(-MH * 0.08);
409
-
410
- // ── Pin drops after camera lands — use useState not SharedValue to avoid render warning ──
411
- const [pinVisible, setPinVisible] = useState(false);
412
-
413
- // ── Property markers appear during flyover ──
414
- const markersOpacity = useSharedValue(0);
415
- const uiOpacity = useSharedValue(0);
416
- const uiY = useSharedValue(20);
417
- const screenOpacity = useSharedValue(1);
418
- const vignetteOpacity = useSharedValue(0);
419
-
420
- useEffect(() => {
421
- let active = true;
422
-
423
- const EXIT_AFTER = 1400;
424
- const PIN_AT = 600;
425
- const CAM_DURATION = 1800;
426
- const MARKER_DELAY = 500;
427
- const UI_DELAY = 300;
428
-
429
- // Camera zoom-in flyover
430
- camScale.value = withTiming(1.15, { duration: CAM_DURATION, easing: Easing.out(Easing.cubic) });
431
- camX.value = withTiming(-MW * 0.15, { duration: CAM_DURATION, easing: Easing.out(Easing.cubic) });
432
- camY.value = withTiming(-MH * 0.22, { duration: CAM_DURATION, easing: Easing.out(Easing.cubic) });
433
-
434
- vignetteOpacity.value = withTiming(1, { duration: CAM_DURATION * 0.6 });
435
- uiOpacity.value = withDelay(UI_DELAY, withTiming(1, { duration: 500 }));
436
- uiY.value = withDelay(UI_DELAY, withSpring(0, { damping: 14, stiffness: 80 }));
437
- markersOpacity.value = withDelay(MARKER_DELAY, withTiming(1, { duration: 500 }));
438
-
439
- // Drop pin
440
- const pinTimer = setTimeout(() => { if (active) setPinVisible(true); }, PIN_AT);
441
-
442
- // Exit
443
- const exitTimer = setTimeout(() => {
444
- if (!active) return;
445
- screenOpacity.value = withTiming(0, { duration: 500 });
446
- setTimeout(() => { if (active) onReady(); }, 520);
447
- }, EXIT_AFTER);
448
-
449
- return () => { active = false; clearTimeout(pinTimer); clearTimeout(exitTimer); };
450
- }, []);
451
-
452
- const camStyle = useAnimatedStyle(() => ({
453
- transform: [
454
- { translateX: camX.value },
455
- { translateY: camY.value },
456
- { scale: camScale.value },
457
- ],
458
- }));
459
- const markersStyle = useAnimatedStyle(() => ({ opacity: markersOpacity.value }));
460
- const uiStyle = useAnimatedStyle(() => ({ opacity: uiOpacity.value, transform: [{ translateY: uiY.value }] }));
461
- const screenStyle = useAnimatedStyle(() => ({ opacity: screenOpacity.value }));
462
- const vigStyle = useAnimatedStyle(() => ({ opacity: vignetteOpacity.value }));
463
-
464
- // Property markers use brand/semantic colors from theme
465
- const propMarkers = [
466
- { top: MH * 0.20, left: MW * 0.05, price: "₹12k", color: success, delay: 1400 },
467
- { top: MH * 0.26, left: MW * 0.22, price: "₹18k", color: "#8B5CF6", delay: 1700 },
468
- { top: MH * 0.30, left: MW * 0.45, price: "₹9k", color: warning, delay: 1600 },
469
- { top: MH * 0.22, left: MW * 0.64, price: "₹24k", color: error, delay: 1900 },
470
- { top: MH * 0.38, left: MW * 0.10, price: "₹15k", color: accent, delay: 2100 },
471
- { top: MH * 0.42, left: MW * 0.30, price: "₹11k", color: primary, delay: 2000 },
472
- { top: MH * 0.36, left: MW * 0.54, price: "₹21k", color: success, delay: 1800 },
473
- { top: MH * 0.44, left: MW * 0.72, price: "₹8k", color: warning, delay: 2200 },
474
- ];
475
-
476
- const traffic = [
477
- { startX: 0, startY: MH * 0.18 + 3, endX: MW * 0.4, endY: MH * 0.18 + 3, delay: 0, color: warning },
478
- { startX: MW * 0.4, startY: MH * 0.36 + 3, endX: 0, endY: MH * 0.36 + 3, delay: 400, color: error },
479
- { startX: 0, startY: MH * 0.54 + 3, endX: MW * 0.5, endY: MH * 0.54 + 3, delay: 800, color: success },
480
- { startX: MW * 0.15 + 3, startY: 0, endX: MW * 0.15 + 3, endY: MH * 0.5, delay: 200, color: warning },
481
- { startX: MW * 0.50 + 3, startY: MH * 0.5, endX: MW * 0.50 + 3, endY: 0, delay: 600, color: "#8B5CF6" },
482
- { startX: MW * 0.33 + 3, startY: 0, endX: MW * 0.33 + 3, endY: MH * 0.6, delay: 300, color: accent },
483
- ];
484
-
485
- // Vignette uses theme dark overlay
486
- const vignDark = isDark ? "rgba(17,24,39," : "rgba(15,23,42,";
487
-
488
- return (
489
- <Animated.View style={[StyleSheet.absoluteFill, screenStyle, {
490
- overflow: "hidden",
491
- backgroundColor: isDark ? DARK_MAP.base : LIGHT_MAP.base,
492
- }]}>
493
-
494
- {/* ── ANIMATED MAP WORLD ── */}
495
- <Animated.View style={[camStyle, { width: MW, height: MH }]}>
496
- <MapWorld dark={isDark} />
497
-
498
- {traffic.map((t, i) => (
499
- <TrafficDot key={i} {...t} />
500
- ))}
501
-
502
- <Animated.View style={[markersStyle, { position: "absolute", top: 0, left: 0, width: MW, height: MH }]}>
503
- {propMarkers.map((p, i) => (
504
- <PropertyPin key={i} {...p} />
505
- ))}
506
- </Animated.View>
507
-
508
- {/* Big location pin — uses plain boolean from useState, no .value read in render */}
509
- <View style={{
510
- position: "absolute",
511
- top: MH * 0.31, left: MW * 0.27,
512
- alignItems: "center",
513
- }}>
514
- <BigPin visible={pinVisible} primary={primary} />
515
- </View>
516
- </Animated.View>
517
-
518
- {/* ── VIGNETTE ── */}
519
- <Animated.View style={[StyleSheet.absoluteFill, vigStyle, { pointerEvents: "none" }]}>
520
- <LinearGradient
521
- colors={[`${vignDark}0.88)`, `${vignDark}0.0)`]}
522
- style={{ position: "absolute", top: 0, left: 0, right: 0, height: height * 0.38 }}
523
- />
524
- <LinearGradient
525
- colors={[`${vignDark}0.0)`, `${vignDark}0.78)`]}
526
- style={{ position: "absolute", bottom: 0, left: 0, right: 0, height: height * 0.30 }}
527
- />
528
- <LinearGradient
529
- colors={[`${vignDark}0.55)`, `${vignDark}0.0)`]}
530
- start={{ x: 0, y: 0.5 }} end={{ x: 0.25, y: 0.5 }}
531
- style={StyleSheet.absoluteFill}
532
- />
533
- <LinearGradient
534
- colors={[`${vignDark}0.0)`, `${vignDark}0.55)`]}
535
- start={{ x: 0.75, y: 0.5 }} end={{ x: 1, y: 0.5 }}
536
- style={StyleSheet.absoluteFill}
537
- />
538
- </Animated.View>
539
-
540
- {/* ── HUD ── */}
541
- <Compass />
542
- <AltitudeBar primary={primary} />
543
-
544
- {/* ── BRAND LOGO ── */}
545
- <Animated.View style={[uiStyle, {
546
- position: "absolute", top: insets.top + 16,
547
- left: 0, right: 0, alignItems: "center",
548
- }]}>
549
- <View style={{
550
- flexDirection: "row", alignItems: "center", gap: 10,
551
- backgroundColor: "rgba(0,0,0,0.40)",
552
- paddingHorizontal: 20, paddingVertical: 10,
553
- borderRadius: 28,
554
- borderWidth: 1, borderColor: "rgba(255,255,255,0.16)",
555
- }}>
556
- <View style={{
557
- width: 32, height: 32, borderRadius: 11,
558
- backgroundColor: primary,
559
- alignItems: "center", justifyContent: "center",
560
- }}>
561
- <Ionicons name="home" size={17} color="#fff" />
562
- </View>
563
- <Txt style={{ color: "#fff", fontFamily: "InterExtraBold", fontSize: 20, letterSpacing: -0.5 }}>
564
- rentro
565
- </Txt>
566
- </View>
567
- </Animated.View>
568
-
569
- {/* ── BOTTOM STATUS ── */}
570
- <Animated.View style={[uiStyle, {
571
- position: "absolute", bottom: insets.bottom + 40,
572
- left: 0, right: 0, alignItems: "center",
573
- }]}>
574
- <View style={{
575
- flexDirection: "row", alignItems: "center", gap: 6,
576
- backgroundColor: "rgba(0,0,0,0.32)",
577
- paddingHorizontal: 16, paddingVertical: 6,
578
- borderRadius: 20,
579
- }}>
580
- <View style={{ width: 6, height: 6, borderRadius: 3, backgroundColor: success }} />
581
- <Txt style={{ color: "rgba(255,255,255,0.82)", fontFamily: "InterMedium", fontSize: 12, letterSpacing: 0.3 }}>
582
- Exploring your neighbourhood
583
- </Txt>
584
- </View>
585
- </Animated.View>
586
-
587
- </Animated.View>
588
- );
589
- };
590
-
591
- export default LocationLoader;
@@ -1,68 +0,0 @@
1
- import { View, TouchableOpacity } from "react-native";
2
- import React from "react";
3
- import { Ionicons } from "@expo/vector-icons";
4
- import { Txt } from "./Typography";
5
- import { useColorScheme } from "nativewind";
6
- import { Colors } from "../../constants/Colors";
7
- import { router } from "expo-router";
8
- import { useSafeAreaInsets } from "react-native-safe-area-context";
9
-
10
- interface IProps {
11
- title: string;
12
- subtitle?: string;
13
- actions?: React.ReactNode;
14
- onBack?: () => void;
15
- }
16
-
17
- export default function ScreenHeader({
18
- title,
19
- subtitle,
20
- actions,
21
- onBack,
22
- }: IProps) {
23
- const { colorScheme } = useColorScheme();
24
- const colors = Colors[colorScheme ?? "light"];
25
- const insets = useSafeAreaInsets();
26
-
27
- return (
28
- <View
29
- className="px-6 flex-row items-center justify-between border-b border-base-200 w-full"
30
- style={{
31
- backgroundColor: colors.base200,
32
- height: insets.top + 56,
33
- paddingTop: insets.top,
34
- }}
35
- >
36
- <View className="flex-row items-center flex-1 mr-4">
37
- <TouchableOpacity
38
- onPress={() => (onBack ? onBack() : router.back())}
39
- activeOpacity={0.7}
40
- className="w-10 h-10 rounded-full bg-base-200/80 items-center justify-center mr-3 border border-base-300/10 shadow-sm"
41
- >
42
- <Ionicons
43
- name="arrow-back"
44
- color={colors.baseContent}
45
- size={20}
46
- />
47
- </TouchableOpacity>
48
- <View className="flex-1">
49
- <Txt variant="md" className="text-base-content" numberOfLines={1}>
50
- {title}
51
- </Txt>
52
- {subtitle && (
53
- <Txt
54
- variant="xs"
55
- className="text-base-content/50 mt-0.5"
56
- numberOfLines={1}
57
- >
58
- {subtitle}
59
- </Txt>
60
- )}
61
- </View>
62
- </View>
63
- {actions && (
64
- <View className="flex-row items-center gap-2">{actions}</View>
65
- )}
66
- </View>
67
- );
68
- }