@prestizni-software/server-dem 0.7.4 ā 0.7.5
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.
- package/AutoUpdateClientManagerClass.d.ts +141 -0
- package/AutoUpdateClientManagerClass.js +656 -0
- package/AutoUpdateClientManagerClass.js.map +1 -0
- package/AutoUpdateManagerClass.d.ts +102 -0
- package/AutoUpdateManagerClass.js +117 -0
- package/AutoUpdateManagerClass.js.map +1 -0
- package/AutoUpdateServerManagerClass.d.ts +208 -0
- package/AutoUpdateServerManagerClass.js +913 -0
- package/AutoUpdateServerManagerClass.js.map +1 -0
- package/AutoUpdatedClientObjectClass.d.ts +215 -0
- package/AutoUpdatedClientObjectClass.js +911 -0
- package/AutoUpdatedClientObjectClass.js.map +1 -0
- package/AutoUpdatedServerObjectClass.d.ts +134 -0
- package/AutoUpdatedServerObjectClass.js +346 -0
- package/AutoUpdatedServerObjectClass.js.map +1 -0
- package/ClientTypes.d.ts +15 -0
- package/ClientTypes.js +52 -0
- package/ClientTypes.js.map +1 -0
- package/CommonTypes.d.ts +259 -0
- package/CommonTypes.js +233 -0
- package/CommonTypes.js.map +1 -0
- package/CommonTypes_server.d.ts +1 -0
- package/CommonTypes_server.js +2 -0
- package/CommonTypes_server.js.map +1 -0
- package/{dist/DEMErrors.js.map ā DEMErrors.js.map} +1 -1
- package/ServerTypes.d.ts +16 -0
- package/ServerTypes.js +60 -0
- package/ServerTypes.js.map +1 -0
- package/client.d.ts +6 -0
- package/client.js +7 -0
- package/client.js.map +1 -0
- package/coverage/lcov-report/block-navigation.js +71 -0
- package/coverage/lcov-report/block-navigation.js.map +1 -0
- package/coverage/lcov-report/prettify.js +478 -0
- package/coverage/lcov-report/prettify.js.map +1 -0
- package/coverage/lcov-report/sorter.js +177 -0
- package/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/AutoUpdateClientManagerClass.d.ts +20 -0
- package/dist/AutoUpdateClientManagerClass.js +283 -0
- package/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/AutoUpdateManagerClass.d.ts +17 -96
- package/dist/AutoUpdateManagerClass.js +15 -73
- package/dist/AutoUpdateManagerClass.js.map +1 -1
- package/dist/AutoUpdateServerManagerClass.d.ts +18 -207
- package/dist/AutoUpdateServerManagerClass.js +198 -680
- package/dist/AutoUpdateServerManagerClass.js.map +1 -1
- package/dist/AutoUpdatedClientObjectClass.d.ts +63 -206
- package/dist/AutoUpdatedClientObjectClass.js +660 -707
- package/dist/AutoUpdatedClientObjectClass.js.map +1 -1
- package/dist/AutoUpdatedServerObjectClass.d.ts +13 -126
- package/dist/AutoUpdatedServerObjectClass.js +92 -315
- package/dist/AutoUpdatedServerObjectClass.js.map +1 -1
- package/dist/ClientTypes.d.ts +13 -0
- package/dist/ClientTypes.js +70 -0
- package/dist/ClientTypes.js.map +1 -0
- package/dist/CommonTypes.d.ts +3 -266
- package/dist/CommonTypes.js +4 -234
- package/dist/CommonTypes.js.map +1 -1
- package/dist/CommonTypes_server.d.ts +1 -1
- package/dist/CommonTypes_server.js +2 -1
- package/dist/CommonTypes_server.js.map +1 -1
- package/dist/ServerTypes.d.ts +13 -0
- package/dist/ServerTypes.js +78 -0
- package/dist/ServerTypes.js.map +1 -0
- package/dist/TestTypes.d.ts +1 -0
- package/dist/TestTypes.js +7 -0
- package/dist/TestTypes.js.map +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.js +12 -0
- package/dist/client.js.map +1 -0
- package/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
- package/dist/dist/AutoUpdateClientManagerClass.js +284 -0
- package/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
- package/dist/dist/AutoUpdateManagerClass.js +60 -0
- package/dist/dist/AutoUpdateManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdateServerManagerClass.d.ts +50 -0
- package/dist/dist/AutoUpdateServerManagerClass.js +413 -0
- package/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
- package/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
- package/dist/dist/AutoUpdatedClientObjectClass.js +865 -0
- package/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
- package/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
- package/dist/dist/AutoUpdatedServerObjectClass.js +124 -0
- package/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
- package/dist/dist/ClientTypes.d.ts +13 -0
- package/dist/dist/ClientTypes.js +71 -0
- package/dist/dist/ClientTypes.js.map +1 -0
- package/dist/dist/CommonTypes.d.ts +3 -0
- package/dist/dist/CommonTypes.js +20 -0
- package/dist/dist/CommonTypes.js.map +1 -0
- package/dist/dist/CommonTypes_server.d.ts +1 -0
- package/dist/dist/CommonTypes_server.js +4 -0
- package/dist/dist/CommonTypes_server.js.map +1 -0
- package/dist/dist/ServerTypes.d.ts +13 -0
- package/dist/dist/ServerTypes.js +79 -0
- package/dist/dist/ServerTypes.js.map +1 -0
- package/dist/dist/TestTypes.d.ts +1 -0
- package/dist/dist/TestTypes.js +8 -0
- package/dist/dist/TestTypes.js.map +1 -0
- package/dist/dist/client.d.ts +1 -0
- package/dist/dist/client.js +13 -0
- package/dist/dist/client.js.map +1 -0
- package/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.js +285 -0
- package/dist/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
- package/dist/dist/dist/AutoUpdateManagerClass.js +61 -0
- package/dist/dist/dist/AutoUpdateManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.d.ts +158 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.js +414 -0
- package/dist/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.js +866 -0
- package/dist/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.js +125 -0
- package/dist/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
- package/dist/dist/dist/ClientTypes.d.ts +13 -0
- package/dist/dist/dist/ClientTypes.js +72 -0
- package/dist/dist/dist/ClientTypes.js.map +1 -0
- package/dist/dist/dist/CommonTypes.d.ts +3 -0
- package/dist/dist/dist/CommonTypes.js +21 -0
- package/dist/dist/dist/CommonTypes.js.map +1 -0
- package/dist/dist/dist/CommonTypes_server.d.ts +1 -0
- package/dist/dist/dist/CommonTypes_server.js +5 -0
- package/dist/dist/dist/CommonTypes_server.js.map +1 -0
- package/dist/dist/dist/ServerTypes.d.ts +13 -0
- package/dist/dist/dist/ServerTypes.js +80 -0
- package/dist/dist/dist/ServerTypes.js.map +1 -0
- package/dist/dist/dist/TestTypes.d.ts +1 -0
- package/dist/dist/dist/TestTypes.js +9 -0
- package/dist/dist/dist/TestTypes.js.map +1 -0
- package/dist/dist/dist/client.d.ts +1 -0
- package/dist/dist/dist/client.js +14 -0
- package/dist/dist/dist/client.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
- package/dist/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.js +736 -0
- package/dist/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.js +177 -0
- package/dist/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.js +27 -0
- package/dist/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.js +95 -0
- package/dist/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.js +81 -0
- package/dist/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/dist/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/dist/dist/expo-test/app/_layout.js +22 -0
- package/dist/dist/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/dist/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/dist/dist/expo-test/app/modal.js +28 -0
- package/dist/dist/dist/expo-test/app/modal.js.map +1 -0
- package/dist/dist/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/dist/dist/expo-test/components/external-link.js +18 -0
- package/dist/dist/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.js +15 -0
- package/dist/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/dist/dist/expo-test/components/hello-wave.js +19 -0
- package/dist/dist/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.js +53 -0
- package/dist/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/dist/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/dist/dist/expo-test/components/themed-text.js +43 -0
- package/dist/dist/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/dist/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/dist/dist/expo-test/components/themed-view.js +10 -0
- package/dist/dist/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.js +34 -0
- package/dist/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js +14 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.js +25 -0
- package/dist/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/dist/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/dist/dist/expo-test/constants/theme.js +53 -0
- package/dist/dist/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/dist/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/dist/dist/expo-test/eslint.config.js +11 -0
- package/dist/dist/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.js +5 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js +20 -0
- package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.js +20 -0
- package/dist/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/dist/dist/jest.config.d.ts +21 -0
- package/dist/dist/dist/jest.config.js +20 -0
- package/dist/dist/dist/jest.config.js.map +1 -0
- package/dist/dist/dist/server.d.ts +1 -0
- package/dist/dist/dist/server.js +16 -0
- package/dist/dist/dist/server.js.map +1 -0
- package/dist/dist/dist/socket_test.d.ts +1 -0
- package/dist/dist/dist/socket_test.js +24 -0
- package/dist/dist/dist/socket_test.js.map +1 -0
- package/dist/dist/dist/test.d.ts +1 -0
- package/dist/dist/dist/test.js +7 -0
- package/dist/dist/dist/test.js.map +1 -0
- package/dist/dist/dist/test_client.d.ts +1 -0
- package/dist/dist/dist/test_client.js +26 -0
- package/dist/dist/dist/test_client.js.map +1 -0
- package/dist/dist/dist/test_lib.d.ts +2 -0
- package/dist/dist/dist/test_lib.js +85 -0
- package/dist/dist/dist/test_lib.js.map +1 -0
- package/dist/dist/dist/test_server.d.ts +1 -0
- package/dist/dist/dist/test_server.js +54 -0
- package/dist/dist/dist/test_server.js.map +1 -0
- package/dist/dist/dist/tests/dem.test.d.ts +1 -0
- package/dist/dist/dist/tests/dem.test.js +341 -0
- package/dist/dist/dist/tests/dem.test.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.js +26 -0
- package/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/explore.js +94 -0
- package/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/dist/expo-test/app/(tabs)/index.js +80 -0
- package/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/dist/expo-test/app/_layout.js +21 -0
- package/dist/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/dist/expo-test/app/modal.js +27 -0
- package/dist/dist/expo-test/app/modal.js.map +1 -0
- package/dist/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/dist/expo-test/components/external-link.js +17 -0
- package/dist/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/dist/expo-test/components/haptic-tab.js +14 -0
- package/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/dist/expo-test/components/hello-wave.js +18 -0
- package/dist/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.js +52 -0
- package/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/dist/expo-test/components/themed-text.js +42 -0
- package/dist/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/dist/expo-test/components/themed-view.js +9 -0
- package/dist/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/dist/expo-test/components/ui/collapsible.js +33 -0
- package/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.js +13 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.js +24 -0
- package/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/dist/expo-test/constants/theme.js +52 -0
- package/dist/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/dist/expo-test/eslint.config.js +11 -0
- package/dist/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.js +4 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.js +19 -0
- package/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/dist/expo-test/hooks/use-theme-color.js +19 -0
- package/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/dist/jest.config.d.ts +21 -0
- package/dist/dist/jest.config.js +19 -0
- package/dist/dist/jest.config.js.map +1 -0
- package/dist/dist/server.d.ts +1 -0
- package/dist/dist/server.js +15 -0
- package/dist/dist/server.js.map +1 -0
- package/dist/dist/socket_test.d.ts +1 -0
- package/dist/dist/socket_test.js +23 -0
- package/dist/dist/socket_test.js.map +1 -0
- package/dist/dist/test.d.ts +1 -0
- package/dist/dist/test.js +6 -0
- package/dist/dist/test.js.map +1 -0
- package/dist/dist/test_client.d.ts +1 -0
- package/dist/dist/test_client.js +25 -0
- package/dist/dist/test_client.js.map +1 -0
- package/dist/dist/test_lib.d.ts +2 -0
- package/dist/dist/test_lib.js +84 -0
- package/dist/dist/test_lib.js.map +1 -0
- package/dist/dist/test_server.d.ts +1 -0
- package/dist/dist/test_server.js +53 -0
- package/dist/dist/test_server.js.map +1 -0
- package/dist/dist/tests/dem.test.d.ts +1 -0
- package/dist/dist/tests/dem.test.js +340 -0
- package/dist/dist/tests/dem.test.js.map +1 -0
- package/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/_layout.js +25 -0
- package/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/explore.js +93 -0
- package/dist/expo-test/app/(tabs)/explore.js.map +1 -0
- package/dist/expo-test/app/(tabs)/index.d.ts +1 -0
- package/dist/expo-test/app/(tabs)/index.js +79 -0
- package/dist/expo-test/app/(tabs)/index.js.map +1 -0
- package/dist/expo-test/app/_layout.d.ts +4 -0
- package/dist/expo-test/app/_layout.js +20 -0
- package/dist/expo-test/app/_layout.js.map +1 -0
- package/dist/expo-test/app/modal.d.ts +1 -0
- package/dist/expo-test/app/modal.js +26 -0
- package/dist/expo-test/app/modal.js.map +1 -0
- package/dist/expo-test/components/external-link.d.ts +4 -0
- package/dist/expo-test/components/external-link.js +16 -0
- package/dist/expo-test/components/external-link.js.map +1 -0
- package/dist/expo-test/components/haptic-tab.d.ts +1 -0
- package/dist/expo-test/components/haptic-tab.js +13 -0
- package/dist/expo-test/components/haptic-tab.js.map +1 -0
- package/dist/expo-test/components/hello-wave.d.ts +1 -0
- package/dist/expo-test/components/hello-wave.js +17 -0
- package/dist/expo-test/components/hello-wave.js.map +1 -0
- package/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
- package/dist/expo-test/components/parallax-scroll-view.js +51 -0
- package/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/dist/expo-test/components/themed-text.d.ts +7 -0
- package/dist/expo-test/components/themed-text.js +41 -0
- package/dist/expo-test/components/themed-text.js.map +1 -0
- package/dist/expo-test/components/themed-view.d.ts +6 -0
- package/dist/expo-test/components/themed-view.js +8 -0
- package/dist/expo-test/components/themed-view.js.map +1 -0
- package/dist/expo-test/components/ui/collapsible.d.ts +4 -0
- package/dist/expo-test/components/ui/collapsible.js +32 -0
- package/dist/expo-test/components/ui/collapsible.js.map +1 -0
- package/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.js +12 -0
- package/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/dist/expo-test/components/ui/icon-symbol.js +23 -0
- package/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/dist/expo-test/constants/theme.d.ts +26 -0
- package/dist/expo-test/constants/theme.js +51 -0
- package/dist/expo-test/constants/theme.js.map +1 -0
- package/dist/expo-test/eslint.config.d.ts +2 -0
- package/dist/expo-test/eslint.config.js +11 -0
- package/dist/expo-test/eslint.config.js.map +1 -0
- package/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/dist/expo-test/hooks/use-color-scheme.js +3 -0
- package/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/dist/expo-test/hooks/use-color-scheme.web.js +18 -0
- package/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
- package/dist/expo-test/hooks/use-theme-color.js +18 -0
- package/dist/expo-test/hooks/use-theme-color.js.map +1 -0
- package/dist/expo-test/scripts/reset-project.d.ts +2 -0
- package/dist/expo-test/scripts/reset-project.js +98 -0
- package/dist/expo-test/scripts/reset-project.js.map +1 -0
- package/dist/jest.config.d.ts +21 -0
- package/dist/jest.config.js +18 -0
- package/dist/jest.config.js.map +1 -0
- package/dist/server.d.ts +1 -8
- package/dist/server.js +13 -8
- package/dist/server.js.map +1 -1
- package/dist/socket_test.d.ts +1 -0
- package/dist/socket_test.js +22 -0
- package/dist/socket_test.js.map +1 -0
- package/dist/test.d.ts +1 -0
- package/dist/test.js +5 -0
- package/dist/test.js.map +1 -0
- package/dist/test_client.d.ts +1 -0
- package/dist/test_client.js +24 -0
- package/dist/test_client.js.map +1 -0
- package/dist/test_lib.d.ts +12 -0
- package/dist/test_lib.js +83 -0
- package/dist/test_lib.js.map +1 -0
- package/dist/test_server.d.ts +1 -0
- package/dist/test_server.js +52 -0
- package/dist/test_server.js.map +1 -0
- package/dist/tests/dem.test.d.ts +1 -0
- package/dist/tests/dem.test.js +339 -0
- package/dist/tests/dem.test.js.map +1 -0
- package/expo-test/app/(tabs)/_layout.d.ts +2 -0
- package/expo-test/app/(tabs)/_layout.js +24 -0
- package/expo-test/app/(tabs)/_layout.js.map +1 -0
- package/expo-test/app/(tabs)/explore.d.ts +1 -0
- package/expo-test/app/(tabs)/explore.js +92 -0
- package/expo-test/app/(tabs)/explore.js.map +1 -0
- package/expo-test/app/(tabs)/index.d.ts +1 -0
- package/expo-test/app/(tabs)/index.js +78 -0
- package/expo-test/app/(tabs)/index.js.map +1 -0
- package/expo-test/app/_layout.d.ts +5 -0
- package/expo-test/app/_layout.js +19 -0
- package/expo-test/app/_layout.js.map +1 -0
- package/expo-test/app/modal.d.ts +1 -0
- package/expo-test/app/modal.js +25 -0
- package/expo-test/app/modal.js.map +1 -0
- package/expo-test/components/external-link.d.ts +7 -0
- package/expo-test/components/external-link.js +15 -0
- package/expo-test/components/external-link.js.map +1 -0
- package/expo-test/components/haptic-tab.d.ts +2 -0
- package/expo-test/components/haptic-tab.js +12 -0
- package/expo-test/components/haptic-tab.js.map +1 -0
- package/expo-test/components/hello-wave.d.ts +1 -0
- package/expo-test/components/hello-wave.js +16 -0
- package/expo-test/components/hello-wave.js.map +1 -0
- package/expo-test/components/parallax-scroll-view.d.ts +10 -0
- package/expo-test/components/parallax-scroll-view.js +50 -0
- package/expo-test/components/parallax-scroll-view.js.map +1 -0
- package/expo-test/components/themed-text.d.ts +7 -0
- package/expo-test/components/themed-text.js +40 -0
- package/expo-test/components/themed-text.js.map +1 -0
- package/expo-test/components/themed-view.d.ts +6 -0
- package/expo-test/components/themed-view.js +7 -0
- package/expo-test/components/themed-view.js.map +1 -0
- package/expo-test/components/ui/collapsible.d.ts +4 -0
- package/expo-test/components/ui/collapsible.js +31 -0
- package/expo-test/components/ui/collapsible.js.map +1 -0
- package/expo-test/components/ui/icon-symbol.d.ts +25 -0
- package/expo-test/components/ui/icon-symbol.ios.d.ts +9 -0
- package/expo-test/components/ui/icon-symbol.ios.js +11 -0
- package/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
- package/expo-test/components/ui/icon-symbol.js +22 -0
- package/expo-test/components/ui/icon-symbol.js.map +1 -0
- package/expo-test/constants/theme.d.ts +32 -0
- package/expo-test/constants/theme.js +50 -0
- package/expo-test/constants/theme.js.map +1 -0
- package/expo-test/eslint.config.d.ts +2 -0
- package/expo-test/eslint.config.js +11 -0
- package/expo-test/eslint.config.js.map +1 -0
- package/expo-test/hooks/use-color-scheme.d.ts +1 -0
- package/expo-test/hooks/use-color-scheme.js +2 -0
- package/expo-test/hooks/use-color-scheme.js.map +1 -0
- package/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
- package/expo-test/hooks/use-color-scheme.web.js +17 -0
- package/expo-test/hooks/use-color-scheme.web.js.map +1 -0
- package/expo-test/hooks/use-theme-color.d.ts +9 -0
- package/expo-test/hooks/use-theme-color.js +17 -0
- package/expo-test/hooks/use-theme-color.js.map +1 -0
- package/expo-test/scripts/reset-project.d.ts +2 -0
- package/expo-test/scripts/reset-project.js +98 -0
- package/expo-test/scripts/reset-project.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +5 -0
- package/index.js.map +1 -0
- package/jest.config.d.ts +3 -0
- package/jest.config.js +17 -0
- package/jest.config.js.map +1 -0
- package/package.json +23 -42
- package/server.d.ts +8 -0
- package/server.js +9 -0
- package/server.js.map +1 -0
- package/sync/ServerChangeTracker.js.map +1 -0
- package/version.d.ts +21 -0
- package/version.js +22 -0
- package/version.js.map +1 -0
- package/README.md +0 -18
- package/dist/sync/ServerChangeTracker.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/{dist/DEMErrors.d.ts ā DEMErrors.d.ts} +0 -0
- /package/{dist/DEMErrors.js ā DEMErrors.js} +0 -0
- /package/{dist/sync ā sync}/ClientStateReconciler.d.ts +0 -0
- /package/{dist/sync ā sync}/ClientStateReconciler.js +0 -0
- /package/{dist/sync ā sync}/ClientStateReconciler.js.map +0 -0
- /package/{dist/sync ā sync}/ServerChangeTracker.d.ts +0 -0
- /package/{dist/sync ā sync}/ServerChangeTracker.js +0 -0
- /package/{dist/sync ā sync}/index.d.ts +0 -0
- /package/{dist/sync ā sync}/index.js +0 -0
- /package/{dist/sync ā sync}/index.js.map +0 -0
- /package/{dist/sync ā sync}/storage/IClientStorageAdapter.d.ts +0 -0
- /package/{dist/sync ā sync}/storage/IClientStorageAdapter.js +0 -0
- /package/{dist/sync ā sync}/storage/IClientStorageAdapter.js.map +0 -0
- /package/{dist/sync ā sync}/storage/IndexedDbStorageAdapter.d.ts +0 -0
- /package/{dist/sync ā sync}/storage/IndexedDbStorageAdapter.js +0 -0
- /package/{dist/sync ā sync}/storage/IndexedDbStorageAdapter.js.map +0 -0
- /package/{dist/sync ā sync}/storage/LocalStorageAdapter.d.ts +0 -0
- /package/{dist/sync ā sync}/storage/LocalStorageAdapter.js +0 -0
- /package/{dist/sync ā sync}/storage/LocalStorageAdapter.js.map +0 -0
- /package/{dist/sync ā sync}/storage/MemoryStorageAdapter.d.ts +0 -0
- /package/{dist/sync ā sync}/storage/MemoryStorageAdapter.js +0 -0
- /package/{dist/sync ā sync}/storage/MemoryStorageAdapter.js.map +0 -0
- /package/{dist/sync ā sync}/types.d.ts +0 -0
- /package/{dist/sync ā sync}/types.js +0 -0
- /package/{dist/sync ā sync}/types.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"haptic-tab.js","sourceRoot":"","sources":["../../../expo-test/components/haptic-tab.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,MAAM,UAAU,SAAS,CAAC,KAAK;IAC3B,OAAO,CAAC,CAAC,iBAAiB,CAAC,IAAI,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE;YAChD,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;gBAChC,6DAA6D;gBAC7D,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YAC3D,CAAC;YACD,KAAK,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;QAC1B,CAAC,CAAC,EAAE,CAAC,CAAC;AACd,CAAC;AACD,sCAAsC;AACtC,sCAAsC;AACtC,sCAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function HelloWave(): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Animated from 'react-native-reanimated';
|
|
2
|
+
export function HelloWave() {
|
|
3
|
+
return (<Animated.Text style={{
|
|
4
|
+
fontSize: 28,
|
|
5
|
+
lineHeight: 32,
|
|
6
|
+
marginTop: -6,
|
|
7
|
+
animationName: {
|
|
8
|
+
'50%': { transform: [{ rotate: '25deg' }] },
|
|
9
|
+
},
|
|
10
|
+
animationIterationCount: 4,
|
|
11
|
+
animationDuration: '300ms',
|
|
12
|
+
}}>
|
|
13
|
+
š
|
|
14
|
+
</Animated.Text>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=hello-wave.js.map
|
|
17
|
+
//# sourceMappingURL=hello-wave.js.map
|
|
18
|
+
//# sourceMappingURL=hello-wave.js.map
|
|
19
|
+
//# sourceMappingURL=hello-wave.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hello-wave.js","sourceRoot":"","sources":["../../../expo-test/components/hello-wave.js"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,MAAM,UAAU,SAAS;IACrB,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACtB,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,CAAC,CAAC;YACb,aAAa,EAAE;gBACX,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE;aAC9C;YACD,uBAAuB,EAAE,CAAC;YAC1B,iBAAiB,EAAE,OAAO;SAC7B,CAAC,CACJ;;IACF,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AACtB,CAAC;AACD,sCAAsC;AACtC,sCAAsC;AACtC,sCAAsC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import Animated, { interpolate, useAnimatedRef, useAnimatedStyle, useScrollOffset, } from 'react-native-reanimated';
|
|
3
|
+
import { ThemedView } from '@/components/themed-view';
|
|
4
|
+
import { useColorScheme } from '@/hooks/use-color-scheme';
|
|
5
|
+
import { useThemeColor } from '@/hooks/use-theme-color';
|
|
6
|
+
const HEADER_HEIGHT = 250;
|
|
7
|
+
export default function ParallaxScrollView({ children, headerImage, headerBackgroundColor, }) {
|
|
8
|
+
const backgroundColor = useThemeColor({}, 'background');
|
|
9
|
+
const colorScheme = useColorScheme() ?? 'light';
|
|
10
|
+
const scrollRef = useAnimatedRef();
|
|
11
|
+
const scrollOffset = useScrollOffset(scrollRef);
|
|
12
|
+
const headerAnimatedStyle = useAnimatedStyle(() => {
|
|
13
|
+
return {
|
|
14
|
+
transform: [
|
|
15
|
+
{
|
|
16
|
+
translateY: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [-HEADER_HEIGHT / 2, 0, HEADER_HEIGHT * 0.75]),
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
scale: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [2, 1, 1]),
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
return (<Animated.ScrollView ref={scrollRef} style={{ backgroundColor, flex: 1 }} scrollEventThrottle={16}>
|
|
25
|
+
<Animated.View style={[
|
|
26
|
+
styles.header,
|
|
27
|
+
{ backgroundColor: headerBackgroundColor[colorScheme] },
|
|
28
|
+
headerAnimatedStyle,
|
|
29
|
+
]}>
|
|
30
|
+
{headerImage}
|
|
31
|
+
</Animated.View>
|
|
32
|
+
<ThemedView style={styles.content}>{children}</ThemedView>
|
|
33
|
+
</Animated.ScrollView>);
|
|
34
|
+
}
|
|
35
|
+
const styles = StyleSheet.create({
|
|
36
|
+
container: {
|
|
37
|
+
flex: 1,
|
|
38
|
+
},
|
|
39
|
+
header: {
|
|
40
|
+
height: HEADER_HEIGHT,
|
|
41
|
+
overflow: 'hidden',
|
|
42
|
+
},
|
|
43
|
+
content: {
|
|
44
|
+
flex: 1,
|
|
45
|
+
padding: 32,
|
|
46
|
+
gap: 16,
|
|
47
|
+
overflow: 'hidden',
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=parallax-scroll-view.js.map
|
|
51
|
+
//# sourceMappingURL=parallax-scroll-view.js.map
|
|
52
|
+
//# sourceMappingURL=parallax-scroll-view.js.map
|
|
53
|
+
//# sourceMappingURL=parallax-scroll-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parallax-scroll-view.js","sourceRoot":"","sources":["../../../expo-test/components/parallax-scroll-view.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,GAAG,MAAM,yBAAyB,CAAC;AACpH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,qBAAqB,GAAG;IACxF,MAAM,eAAe,GAAG,aAAa,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,cAAc,EAAE,IAAI,OAAO,CAAC;IAChD,MAAM,SAAS,GAAG,cAAc,EAAE,CAAC;IACnC,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;IAChD,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,GAAG,EAAE;QAC9C,OAAO;YACH,SAAS,EAAE;gBACP;oBACI,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,aAAa,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,aAAa,GAAG,CAAC,EAAE,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
|
+
import { StyleSheet, Text } from 'react-native';
|
|
2
|
+
import { useThemeColor } from '@/hooks/use-theme-color';
|
|
3
|
+
export function ThemedText({ style, lightColor, darkColor, type = 'default', ...rest }) {
|
|
4
|
+
const color = useThemeColor({ light: lightColor, dark: darkColor }, 'text');
|
|
5
|
+
return (<Text style={[
|
|
6
|
+
{ color },
|
|
7
|
+
type === 'default' ? styles.default : undefined,
|
|
8
|
+
type === 'title' ? styles.title : undefined,
|
|
9
|
+
type === 'defaultSemiBold' ? styles.defaultSemiBold : undefined,
|
|
10
|
+
type === 'subtitle' ? styles.subtitle : undefined,
|
|
11
|
+
type === 'link' ? styles.link : undefined,
|
|
12
|
+
style,
|
|
13
|
+
]} {...rest}/>);
|
|
14
|
+
}
|
|
15
|
+
const styles = StyleSheet.create({
|
|
16
|
+
default: {
|
|
17
|
+
fontSize: 16,
|
|
18
|
+
lineHeight: 24,
|
|
19
|
+
},
|
|
20
|
+
defaultSemiBold: {
|
|
21
|
+
fontSize: 16,
|
|
22
|
+
lineHeight: 24,
|
|
23
|
+
fontWeight: '600',
|
|
24
|
+
},
|
|
25
|
+
title: {
|
|
26
|
+
fontSize: 32,
|
|
27
|
+
fontWeight: 'bold',
|
|
28
|
+
lineHeight: 32,
|
|
29
|
+
},
|
|
30
|
+
subtitle: {
|
|
31
|
+
fontSize: 20,
|
|
32
|
+
fontWeight: 'bold',
|
|
33
|
+
},
|
|
34
|
+
link: {
|
|
35
|
+
lineHeight: 30,
|
|
36
|
+
fontSize: 16,
|
|
37
|
+
color: '#0a7ea4',
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=themed-text.js.map
|
|
41
|
+
//# sourceMappingURL=themed-text.js.map
|
|
42
|
+
//# sourceMappingURL=themed-text.js.map
|
|
43
|
+
//# sourceMappingURL=themed-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themed-text.js","sourceRoot":"","sources":["../../../expo-test/components/themed-text.js"],"names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AE;KACjB;IACD,QAAQ,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;KACrB;IACD,IAAI,EAAE;QACF,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC,CAAC;AACH,uCAAuC;AACvC,uCAAuC;AACvC,uCAAuC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import { useThemeColor } from '@/hooks/use-theme-color';
|
|
3
|
+
export function ThemedView({ style, lightColor, darkColor, ...otherProps }) {
|
|
4
|
+
const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, 'background');
|
|
5
|
+
return <View style={[{ backgroundColor }, style]} {...otherProps}/>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=themed-view.js.map
|
|
8
|
+
//# sourceMappingURL=themed-view.js.map
|
|
9
|
+
//# sourceMappingURL=themed-view.js.map
|
|
10
|
+
//# sourceMappingURL=themed-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themed-view.js","sourceRoot":"","sources":["../../../expo-test/components/themed-view.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,UAAU,EAAE;IACtE,MAAM,eAAe,GAAG,aAAa,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,YAAY,CAAC,CAAC;IAC5F,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,EAAE,CAAC;AACxE,CAAC;AACD,uCAAuC;AACvC,uCAAuC;AACvC,uCAAuC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
3
|
+
import { ThemedText } from '@/components/themed-text';
|
|
4
|
+
import { ThemedView } from '@/components/themed-view';
|
|
5
|
+
import { IconSymbol } from '@/components/ui/icon-symbol';
|
|
6
|
+
import { Colors } from '@/constants/theme';
|
|
7
|
+
import { useColorScheme } from '@/hooks/use-color-scheme';
|
|
8
|
+
export function Collapsible({ children, title }) {
|
|
9
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
10
|
+
const theme = useColorScheme() ?? 'light';
|
|
11
|
+
return (<ThemedView>
|
|
12
|
+
<TouchableOpacity style={styles.heading} onPress={() => setIsOpen((value) => !value)} activeOpacity={0.8}>
|
|
13
|
+
<IconSymbol name="chevron.right" size={18} weight="medium" color={theme === 'light' ? Colors.light.icon : Colors.dark.icon} style={{ transform: [{ rotate: isOpen ? '90deg' : '0deg' }] }}/>
|
|
14
|
+
|
|
15
|
+
<ThemedText type="defaultSemiBold">{title}</ThemedText>
|
|
16
|
+
</TouchableOpacity>
|
|
17
|
+
{isOpen && <ThemedView style={styles.content}>{children}</ThemedView>}
|
|
18
|
+
</ThemedView>);
|
|
19
|
+
}
|
|
20
|
+
const styles = StyleSheet.create({
|
|
21
|
+
heading: {
|
|
22
|
+
flexDirection: 'row',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
gap: 6,
|
|
25
|
+
},
|
|
26
|
+
content: {
|
|
27
|
+
marginTop: 6,
|
|
28
|
+
marginLeft: 24,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=collapsible.js.map
|
|
32
|
+
//# sourceMappingURL=collapsible.js.map
|
|
33
|
+
//# sourceMappingURL=collapsible.js.map
|
|
34
|
+
//# sourceMappingURL=collapsible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.js","sourceRoot":"","s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,EAAE,CAAC,EAAE,CAAC,EAE1L;;QAAA,CAAC,UAAU,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,KAAK,CAAC,EAAE,UAAU,CACxD;MAAA,EAAE,gBAAgB,CAClB;MAAA,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CACvE;IAAA,EAAE,UAAU,CAAC,CAAC,CAAC;AACnB,CAAC;AACD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC7B,OAAO,EAAE;QACL,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,GAAG,EAAE,CAAC;KACT;IACD,OAAO,EAAE;QACL,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;KACjB;CACJ,CAAC,CAAC;AACH,uCAAuC;AACvC,uCAAuC;AACvC,uCAAuC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An icon component that uses native SF Symbols on iOS, and Material Icons on Android and web.
|
|
3
|
+
* This ensures a consistent look across platforms, and optimal resource usage.
|
|
4
|
+
* Icon `name`s are based on SF Symbols and require manual mapping to Material Icons.
|
|
5
|
+
*/
|
|
6
|
+
export function IconSymbol({ name, size, color, style, }: {
|
|
7
|
+
name: any;
|
|
8
|
+
size?: number | undefined;
|
|
9
|
+
color: any;
|
|
10
|
+
style: any;
|
|
11
|
+
}): any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SymbolView } from 'expo-symbols';
|
|
2
|
+
export function IconSymbol({ name, size = 24, color, style, weight = 'regular', }) {
|
|
3
|
+
return (<SymbolView weight={weight} tintColor={color} resizeMode="scaleAspectFit" name={name} style={[
|
|
4
|
+
{
|
|
5
|
+
width: size,
|
|
6
|
+
height: size,
|
|
7
|
+
},
|
|
8
|
+
style,
|
|
9
|
+
]}/>);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=icon-symbol.ios.js.map
|
|
12
|
+
//# sourceMappingURL=icon-symbol.ios.js.map
|
|
13
|
+
//# sourceMappingURL=icon-symbol.ios.js.map
|
|
14
|
+
//# sourceMappingURL=icon-symbol.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-symbol.ios.js","sourceRoot":"","sources":["../../../../expo-test/components/ui/icon-symbol.ios.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,MAAM,UAAU,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG;IAC7E,OAAO,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;YAC7F;gBACI,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACf;YACD,KAAK;SACR,CAAC,EAAE,CAAC,CAAC;AACd,CAAC;AACD,2CAA2C;AAC3C,2CAA2C;AAC3C,2CAA2C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Fallback for using MaterialIcons on Android and web.
|
|
2
|
+
import MaterialIcons from '@expo/vector-icons/MaterialIcons';
|
|
3
|
+
/**
|
|
4
|
+
* Add your SF Symbols to Material Icons mappings here.
|
|
5
|
+
* - see Material Icons in the [Icons Directory](https://icons.expo.fyi).
|
|
6
|
+
* - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
|
|
7
|
+
*/
|
|
8
|
+
const MAPPING = {
|
|
9
|
+
'house.fill': 'home',
|
|
10
|
+
'paperplane.fill': 'send',
|
|
11
|
+
'chevron.left.forwardslash.chevron.right': 'code',
|
|
12
|
+
'chevron.right': 'chevron-right',
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* An icon component that uses native SF Symbols on iOS, and Material Icons on Android and web.
|
|
16
|
+
* This ensures a consistent look across platforms, and optimal resource usage.
|
|
17
|
+
* Icon `name`s are based on SF Symbols and require manual mapping to Material Icons.
|
|
18
|
+
*/
|
|
19
|
+
export function IconSymbol({ name, size = 24, color, style, }) {
|
|
20
|
+
return <MaterialIcons color={color} size={size} name={MAPPING[name]} style={style}/>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=icon-symbol.js.map
|
|
23
|
+
//# sourceMappingURL=icon-symbol.js.map
|
|
24
|
+
//# sourceMappingURL=icon-symbol.js.map
|
|
25
|
+
//# sourceMappingURL=icon-symbol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-symbol.js","sourceRoot":"","sources":["../../../../expo-test/components/ui/icon-symbol.js"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAC7D;;;;GAIG;AACH,MAAM,OAAO,GAAG;IACZ,YAAY,EAAE,MAAM;IACpB,iBAAiB,EAAE,MAAM;IACzB,yCAAyC,EAAE,MAAM;IACjD,eAAe,EAAE,eAAe;CACnC,CAAC;AACF;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,GAAG;IACzD,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC;AACzF,CAAC;AACD,uCAAuC;AACvC,uCAAuC;AACvC,uCAAuC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export namespace Colors {
|
|
2
|
+
namespace light {
|
|
3
|
+
export let text: string;
|
|
4
|
+
export let background: string;
|
|
5
|
+
export { tintColorLight as tint };
|
|
6
|
+
export let icon: string;
|
|
7
|
+
export let tabIconDefault: string;
|
|
8
|
+
export { tintColorLight as tabIconSelected };
|
|
9
|
+
}
|
|
10
|
+
namespace dark {
|
|
11
|
+
let text_1: string;
|
|
12
|
+
export { text_1 as text };
|
|
13
|
+
let background_1: string;
|
|
14
|
+
export { background_1 as background };
|
|
15
|
+
export { tintColorDark as tint };
|
|
16
|
+
let icon_1: string;
|
|
17
|
+
export { icon_1 as icon };
|
|
18
|
+
let tabIconDefault_1: string;
|
|
19
|
+
export { tabIconDefault_1 as tabIconDefault };
|
|
20
|
+
export { tintColorDark as tabIconSelected };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export const Fonts: any;
|
|
24
|
+
declare const tintColorLight: "#0a7ea4";
|
|
25
|
+
declare const tintColorDark: "#fff";
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Below are the colors that are used in the app. The colors are defined in the light and dark mode.
|
|
3
|
+
* There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
|
|
4
|
+
*/
|
|
5
|
+
import { Platform } from 'react-native';
|
|
6
|
+
const tintColorLight = '#0a7ea4';
|
|
7
|
+
const tintColorDark = '#fff';
|
|
8
|
+
export const Colors = {
|
|
9
|
+
light: {
|
|
10
|
+
text: '#11181C',
|
|
11
|
+
background: '#fff',
|
|
12
|
+
tint: tintColorLight,
|
|
13
|
+
icon: '#687076',
|
|
14
|
+
tabIconDefault: '#687076',
|
|
15
|
+
tabIconSelected: tintColorLight,
|
|
16
|
+
},
|
|
17
|
+
dark: {
|
|
18
|
+
text: '#ECEDEE',
|
|
19
|
+
background: '#151718',
|
|
20
|
+
tint: tintColorDark,
|
|
21
|
+
icon: '#9BA1A6',
|
|
22
|
+
tabIconDefault: '#9BA1A6',
|
|
23
|
+
tabIconSelected: tintColorDark,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
export const Fonts = Platform.select({
|
|
27
|
+
ios: {
|
|
28
|
+
/** iOS `UIFontDescriptorSystemDesignDefault` */
|
|
29
|
+
sans: 'system-ui',
|
|
30
|
+
/** iOS `UIFontDescriptorSystemDesignSerif` */
|
|
31
|
+
serif: 'ui-serif',
|
|
32
|
+
/** iOS `UIFontDescriptorSystemDesignRounded` */
|
|
33
|
+
rounded: 'ui-rounded',
|
|
34
|
+
/** iOS `UIFontDescriptorSystemDesignMonospaced` */
|
|
35
|
+
mono: 'ui-monospace',
|
|
36
|
+
},
|
|
37
|
+
default: {
|
|
38
|
+
sans: 'normal',
|
|
39
|
+
serif: 'serif',
|
|
40
|
+
rounded: 'normal',
|
|
41
|
+
mono: 'monospace',
|
|
42
|
+
},
|
|
43
|
+
web: {
|
|
44
|
+
sans: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
|
|
45
|
+
serif: "Georgia, 'Times New Roman', serif",
|
|
46
|
+
rounded: "'SF Pro Rounded', 'Hiragino Maru Gothic ProN', Meiryo, 'MS PGothic', sans-serif",
|
|
47
|
+
mono: "SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=theme.js.map
|
|
51
|
+
//# sourceMappingURL=theme.js.map
|
|
52
|
+
//# sourceMappingURL=theme.js.map
|
|
53
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../expo-test/constants/theme.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,cAAc,GAAG,SAAS,CAAC;AACjC,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,KAAK,EAAE;QACH,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,SAAS;QACzB,eAAe,EAAE,cAAc;KAClC;IACD,IAAI,EAAE;QACF,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;QACrB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,SAAS;QACzB,eAAe,EAAE,aAAa;KACjC;CACJ,CAAC;AACF,MAAM,CAAC,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE;QACD,gDAAgD;QAChD,IAAI,EAAE,WAAW;QACjB,8CAA8C;QAC9C,KAAK,EAAE,UAAU;QACjB,gDAAgD;QAChD,OAAO,EAAE,YAAY;QACrB,mDAAmD;QACnD,IAAI,EAAE,cAAc;KACvB;IACD,OAAO,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,QAAQ;QACjB,IAAI,EAAE,WAAW;KACpB;IACD,GAAG,EAAE;QACD,IAAI,EAAE,gGAAgG;QACtG,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,iFAAiF;QAC1F,IAAI,EAAE,sFAAsF;KAC/F;CACJ,CAAC,CAAC;AACH,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// https://docs.expo.dev/guides/using-eslint/
|
|
3
|
+
const { defineConfig } = require('eslint/config');
|
|
4
|
+
const expoConfig = require('eslint-config-expo/flat');
|
|
5
|
+
module.exports = defineConfig([
|
|
6
|
+
expoConfig,
|
|
7
|
+
{
|
|
8
|
+
ignores: ['dist/*'],
|
|
9
|
+
},
|
|
10
|
+
]);
|
|
11
|
+
//# sourceMappingURL=eslint.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../../expo-test/eslint.config.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,6CAA6C;AAC7C,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAClD,MAAM,UAAU,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;AACtD,MAAM,CAAC,OAAO,GAAG,YAAY,CAAC;IAC1B,UAAU;IACV;QACI,OAAO,EAAE,CAAC,QAAQ,CAAC;KACtB;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-color-scheme.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-color-scheme.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
import { useColorScheme as useRNColorScheme } from 'react-native';
|
|
3
|
+
/**
|
|
4
|
+
* To support static rendering, this value needs to be re-calculated on the client side for web
|
|
5
|
+
*/
|
|
6
|
+
export function useColorScheme() {
|
|
7
|
+
const [hasHydrated, setHasHydrated] = useState(false);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
setHasHydrated(true);
|
|
10
|
+
}, []);
|
|
11
|
+
const colorScheme = useRNColorScheme();
|
|
12
|
+
if (hasHydrated) {
|
|
13
|
+
return colorScheme;
|
|
14
|
+
}
|
|
15
|
+
return 'light';
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=use-color-scheme.web.js.map
|
|
18
|
+
//# sourceMappingURL=use-color-scheme.web.js.map
|
|
19
|
+
//# sourceMappingURL=use-color-scheme.web.js.map
|
|
20
|
+
//# sourceMappingURL=use-color-scheme.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-color-scheme.web.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-color-scheme.web.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAClE;;GAEG;AACH,MAAM,UAAU,cAAc;IAC1B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,SAAS,CAAC,GAAG,EAAE;QACX,cAAc,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,MAAM,WAAW,GAAG,gBAAgB,EAAE,CAAC;IACvC,IAAI,WAAW,EAAE,CAAC;QACd,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AACD,gDAAgD;AAChD,gDAAgD;AAChD,gDAAgD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function useThemeColor(props: any, colorName: any): any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Learn more about light and dark modes:
|
|
3
|
+
* https://docs.expo.dev/guides/color-schemes/
|
|
4
|
+
*/
|
|
5
|
+
import { Colors } from '@/constants/theme';
|
|
6
|
+
import { useColorScheme } from '@/hooks/use-color-scheme';
|
|
7
|
+
export function useThemeColor(props, colorName) {
|
|
8
|
+
const theme = useColorScheme() ?? 'light';
|
|
9
|
+
const colorFromProps = props[theme];
|
|
10
|
+
if (colorFromProps) {
|
|
11
|
+
return colorFromProps;
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
return Colors[theme][colorName];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=use-theme-color.js.map
|
|
18
|
+
//# sourceMappingURL=use-theme-color.js.map
|
|
19
|
+
//# sourceMappingURL=use-theme-color.js.map
|
|
20
|
+
//# sourceMappingURL=use-theme-color.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-theme-color.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-theme-color.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,MAAM,UAAU,aAAa,CAAC,KAAK,EAAE,SAAS;IAC1C,MAAM,KAAK,GAAG,cAAc,EAAE,IAAI,OAAO,CAAC;IAC1C,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IACpC,IAAI,cAAc,EAAE,CAAC;QACjB,OAAO,cAAc,CAAC;IAC1B,CAAC;SACI,CAAC;QACF,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;AACL,CAAC;AACD,2CAA2C;AAC3C,2CAA2C;AAC3C,2CAA2C"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* This script is used to reset the project to a blank state.
|
|
5
|
+
* It deletes or moves the /app, /components, /hooks, /scripts, and /constants directories to /app-example based on user input and creates a new /app directory with an index.tsx and _layout.tsx file.
|
|
6
|
+
* You can remove the `reset-project` script from package.json and safely delete this file after running it.
|
|
7
|
+
*/
|
|
8
|
+
const fs = require("fs");
|
|
9
|
+
const path = require("path");
|
|
10
|
+
const readline = require("readline");
|
|
11
|
+
const root = process.cwd();
|
|
12
|
+
const oldDirs = ["app", "components", "hooks", "constants", "scripts"];
|
|
13
|
+
const exampleDir = "app-example";
|
|
14
|
+
const newAppDir = "app";
|
|
15
|
+
const exampleDirPath = path.join(root, exampleDir);
|
|
16
|
+
const indexContent = `import { Text, View } from "react-native";
|
|
17
|
+
|
|
18
|
+
export default function Index() {
|
|
19
|
+
return (
|
|
20
|
+
<View
|
|
21
|
+
style={{
|
|
22
|
+
flex: 1,
|
|
23
|
+
justifyContent: "center",
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
}}
|
|
26
|
+
>
|
|
27
|
+
<Text>Edit app/index.tsx to edit this screen.</Text>
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
const layoutContent = `import { Stack } from "expo-router";
|
|
33
|
+
|
|
34
|
+
export default function RootLayout() {
|
|
35
|
+
return <Stack />;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
const rl = readline.createInterface({
|
|
39
|
+
input: process.stdin,
|
|
40
|
+
output: process.stdout,
|
|
41
|
+
});
|
|
42
|
+
const moveDirectories = async (userInput) => {
|
|
43
|
+
try {
|
|
44
|
+
if (userInput === "y") {
|
|
45
|
+
// Create the app-example directory
|
|
46
|
+
await fs.promises.mkdir(exampleDirPath, { recursive: true });
|
|
47
|
+
console.log(`š /${exampleDir} directory created.`);
|
|
48
|
+
}
|
|
49
|
+
// Move old directories to new app-example directory or delete them
|
|
50
|
+
for (const dir of oldDirs) {
|
|
51
|
+
const oldDirPath = path.join(root, dir);
|
|
52
|
+
if (fs.existsSync(oldDirPath)) {
|
|
53
|
+
if (userInput === "y") {
|
|
54
|
+
const newDirPath = path.join(root, exampleDir, dir);
|
|
55
|
+
await fs.promises.rename(oldDirPath, newDirPath);
|
|
56
|
+
console.log(`ā”ļø /${dir} moved to /${exampleDir}/${dir}.`);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
await fs.promises.rm(oldDirPath, { recursive: true, force: true });
|
|
60
|
+
console.log(`ā /${dir} deleted.`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
console.log(`ā”ļø /${dir} does not exist, skipping.`);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
// Create new /app directory
|
|
68
|
+
const newAppDirPath = path.join(root, newAppDir);
|
|
69
|
+
await fs.promises.mkdir(newAppDirPath, { recursive: true });
|
|
70
|
+
console.log("\nš New /app directory created.");
|
|
71
|
+
// Create index.tsx
|
|
72
|
+
const indexPath = path.join(newAppDirPath, "index.tsx");
|
|
73
|
+
await fs.promises.writeFile(indexPath, indexContent);
|
|
74
|
+
console.log("š app/index.tsx created.");
|
|
75
|
+
// Create _layout.tsx
|
|
76
|
+
const layoutPath = path.join(newAppDirPath, "_layout.tsx");
|
|
77
|
+
await fs.promises.writeFile(layoutPath, layoutContent);
|
|
78
|
+
console.log("š app/_layout.tsx created.");
|
|
79
|
+
console.log("\nā
Project reset complete. Next steps:");
|
|
80
|
+
console.log(`1. Run \`npx expo start\` to start a development server.\n2. Edit app/index.tsx to edit the main screen.${userInput === "y"
|
|
81
|
+
? `\n3. Delete the /${exampleDir} directory when you're done referencing it.`
|
|
82
|
+
: ""}`);
|
|
83
|
+
}
|
|
84
|
+
catch (error) {
|
|
85
|
+
console.error(`ā Error during script execution: ${error.message}`);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
rl.question("Do you want to move existing files to /app-example instead of deleting them? (Y/n): ", (answer) => {
|
|
89
|
+
const userInput = answer.trim().toLowerCase() || "y";
|
|
90
|
+
if (userInput === "y" || userInput === "n") {
|
|
91
|
+
moveDirectories(userInput).finally(() => rl.close());
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
console.log("ā Invalid input. Please enter 'Y' or 'N'.");
|
|
95
|
+
rl.close();
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
//# sourceMappingURL=reset-project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-project.js","sourceRoot":"","sources":["../../../expo-test/scripts/reset-project.js"],"names":[],"mappings":";AACA,YAAY,CAAC;AACb;;;;GAIG;AACH,MAAM,EAAE,GAAG,OAAO,CAAC,IA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C,GAAG,CAAC,6BAA6B,CAAC,CAAC;QAC3C,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACvD,OAAO,CAAC,GAAG,CAAC,2GAA2G,SAAS,KAAK,GAAG;YACpI,CAAC,CAAC,oBAAoB,UAAU,6CAA6C;YAC7E,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,CAAC;IACD,OAAO,KAAK,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,oCAAoC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;AACL,CAAC,CAAC;AACF,EAAE,CAAC,QAAQ,CAAC,sFAAsF,EAAE,CAAC,MAAM,EAAE,EAAE;IAC3G,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,GAAG,CAAC;IACrD,IAAI,SAAS,KAAK,GAAG,IAAI,SAAS,KAAK,GAAG,EAAE,CAAC;QACzC,eAAe,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;IACzD,CAAC;SACI,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,2CAA2C,CAAC,CAAC;QACzD,EAAE,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default config;
|
|
2
|
+
declare namespace config {
|
|
3
|
+
let globals: {
|
|
4
|
+
"ts-jest": {
|
|
5
|
+
useESM: boolean;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
let transform: {
|
|
9
|
+
'\\.[jt]s?$': (string | {
|
|
10
|
+
tsconfig: {
|
|
11
|
+
allowJs: boolean;
|
|
12
|
+
};
|
|
13
|
+
})[];
|
|
14
|
+
};
|
|
15
|
+
let preset: string;
|
|
16
|
+
let roots: string[];
|
|
17
|
+
let modulePathIgnorePatterns: string[];
|
|
18
|
+
let moduleNameMapper: {
|
|
19
|
+
'^(\\.{1,2}/.*)\\.[jt]s$': string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
globals: {
|
|
3
|
+
"ts-jest": {
|
|
4
|
+
useESM: true
|
|
5
|
+
}
|
|
6
|
+
},
|
|
7
|
+
transform: { '\\.[jt]s?$': ['ts-jest', { tsconfig: { allowJs: true } }] },
|
|
8
|
+
preset: 'ts-jest/presets/default-esm',
|
|
9
|
+
roots: ["tests/"],
|
|
10
|
+
modulePathIgnorePatterns: [
|
|
11
|
+
"node_modules/"
|
|
12
|
+
], moduleNameMapper: {
|
|
13
|
+
'^(\\.{1,2}/.*)\\.[jt]s$': '$1',
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export default config;
|
|
17
|
+
//# sourceMappingURL=jest.config.js.map
|
|
18
|
+
//# sourceMappingURL=jest.config.js.map
|
|
19
|
+
//# sourceMappingURL=jest.config.js.map
|
|
20
|
+
//# sourceMappingURL=jest.config.js.map
|