Commit graph

24657 commits

Author SHA1 Message Date
Kainoa Kanter
bc8c1dc2fe Merge pull request '[PR]: feat: rust backend model and utilities' (#10250) from nmkj/calckey:native-model into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10250
2023-06-03 06:00:46 +00:00
ThatOneCalculator
117f95799b refactor: ♻️ sync note summaries 2023-06-02 22:11:34 -07:00
ThatOneCalculator
d33cee63bd refactor: ♻️ ssr views
Correct og:type for users, format docs, deprecate _info_card_
2023-06-02 21:45:11 -07:00
Namekuji
e3e0073334 add cargo test script 2023-06-03 00:40:51 -04:00
Namekuji
2f0629b42b cargo formats all modules 2023-06-03 00:37:10 -04:00
Namekuji
9e4b3c6a1f call seaorm migrations after typeorm 2023-06-03 00:27:00 -04:00
Namekuji
dc8ab49a78 fix migration 2023-06-02 23:48:28 -04:00
Namekuji
31ac7fb34f add integration test of antenna 2023-06-02 23:48:28 -04:00
Namekuji
1279f396a6 add unit test 2023-06-02 23:48:27 -04:00
Namekuji
8b021f828f fix unit tests 2023-06-02 23:48:27 -04:00
Namekuji
3bfb1a0cf0 add format script 2023-06-02 23:48:27 -04:00
Namekuji
6679f992e7 pnpm install 2023-06-02 23:48:26 -04:00
Namekuji
b0a7970ac7 fix native import 2023-06-02 23:48:26 -04:00
Namekuji
34d2efa598 remove node cuid2 2023-06-02 23:48:26 -04:00
Namekuji
77fd2ab0ad initialize native database on boot 2023-06-02 23:48:25 -04:00
Namekuji
bd5fbb1e3a use native generators 2023-06-02 23:48:25 -04:00
Namekuji
7a25a9ac2f add test 2023-06-02 23:48:25 -04:00
Namekuji
d8f95d7d99 fix unit test 2023-06-02 23:48:24 -04:00
Namekuji
af85304578 add native calls 2023-06-02 23:48:24 -04:00
Namekuji
3af4a86254 use schema in native-utils 2023-06-02 23:48:24 -04:00
Namekuji
bc209143e6 adjust module structure 2023-06-02 23:48:23 -04:00
Namekuji
5f849e417e move files out from crate 2023-06-02 23:48:23 -04:00
Namekuji
1c34915018 fix unit test 2023-06-02 23:48:22 -04:00
Namekuji
993ece4755 add napi schema 2023-06-02 23:48:22 -04:00
Namekuji
3dd44d146f add pack_by_id 2023-06-02 23:48:22 -04:00
Namekuji
e79d34e1ed add default values 2023-06-02 23:48:21 -04:00
Namekuji
a2e6c78f09 rename feature 2023-06-02 23:48:21 -04:00
Namekuji
ed8122ea8c skip empty array 2023-06-02 23:48:21 -04:00
Namekuji
d059dc53c0 use thread to copy data 2023-06-02 23:48:20 -04:00
Namekuji
a98093bd61 use iden enum 2023-06-02 23:48:20 -04:00
Namekuji
d533734575 fix primary key specifier 2023-06-02 23:48:20 -04:00
Namekuji
239dfeec9f add migration to convert array to jsonb 2023-06-02 23:48:19 -04:00
Namekuji
099f9e042a use vec newtype 2023-06-02 23:48:19 -04:00
Namekuji
968943c7c0 make sqlite compat 2023-06-02 23:48:19 -04:00
Namekuji
128a354b83 add abstraction of string array type 2023-06-02 23:48:18 -04:00
Namekuji
516d5460f0 fix varchar array 2023-06-02 23:48:18 -04:00
Namekuji
29e914c9c3 add newtype 2023-06-02 23:48:18 -04:00
Namekuji
bc69e2df87 todo unread note check 2023-06-02 23:48:17 -04:00
Namekuji
f851bc8f40 rename test modules 2023-06-02 23:48:17 -04:00
Namekuji
4e4280e02e add tests 2023-06-02 23:48:17 -04:00
Namekuji
ba95b61b7f add integration test in model 2023-06-02 23:48:16 -04:00
Namekuji
9c832d00f9 remove mock database 2023-06-02 23:48:16 -04:00
Namekuji
a42d6e2e2d add random string generator 2023-06-02 23:48:15 -04:00
Namekuji
1601b8985c change aid to cuid2 2023-06-02 23:48:15 -04:00
Namekuji
3b6692cdf0 fix features 2023-06-02 23:48:15 -04:00
Namekuji
ab58f69c31 return mock db when mock feature is enabled 2023-06-02 23:48:14 -04:00
Namekuji
0ad9f00cac add utility crate 2023-06-02 23:48:14 -04:00
Namekuji
ea20db4694 add mock database 2023-06-02 23:48:14 -04:00
Namekuji
f50c3c906b remove unused feature 2023-06-02 23:48:13 -04:00
Namekuji
c4e41e3d32 format 2023-06-02 23:48:13 -04:00