nocobase/packages/core/database/src
ChengLei Shao 261d4c4137
refactor: establish a sound testing system (#3179)
* chore: use vitest to replace jest

* chore: support vitest

* feat: vitest 1.0

* fix: test

* chore: yarn.lock

* chore: github actions

* fix: test

* fix: test

* fix: test

* fix: test

* fix: jest.fn

* fix: require

* fix: test

* fix: build

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: dynamic import

* fix: bug

* chore: yarn run test command

* chore: package.json

* chore: package.json

* chore: vite 5

* fix: fix variable test

* fix: import json

* feat: initEnv

* fix: env.APP_ENV_PATH

* chore: get package json

* fix: remove GlobalThmeProvider

* chore: update snap

* chore: test env

* chore: test env

* chore: import module

* chore: jest

* fix: load package json

* chore: test

* fix: bug

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* fix: import file in windows

* chore: import module with absolute file path

* fix: test error

* test: update snapshot

* chore: update yarn.lock

* fix: front-end tests do not include utils folder

* refactor: use vitest-dom

* fix: fix build

* fix: test error

* fix: change to vitest.config.mts

* fix: types error

* fix: types error

* fix: types error

* fix: error

* fix: test

* chore: test

* fix: test package

* feat: update dependencies

* refactor: test

* fix: error

* fix: error

* fix: __dirname is not defined in ES module scope

* fix: allow only

* fix: error

* fix: error

* fix: error

* fix: create-app

* fix: install-deps

* feat: update docs

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
..
__tests__ refactor: establish a sound testing system (#3179) 2023-12-21 20:39:11 +08:00
database-utils feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
decorators feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
eager-loading perf(server): optimize performance of APIs (#3079) 2023-12-12 23:02:09 +08:00
errors feat: limit database identifier (#908) 2022-10-14 15:02:41 +08:00
features fix(database): skip reference delete on view collection (#2303) 2023-07-23 17:13:30 +08:00
field-repository feat: api documentation plugin (#2255) 2023-08-24 00:27:57 +08:00
fields chore: remove field from db (#3233) 2023-12-19 20:49:34 +08:00
listeners feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
operators feat: mariadb support (#3052) 2023-11-20 08:54:40 +08:00
query-interface chore: query interface (#3177) 2023-12-12 21:24:52 +08:00
relation-repository fix: update assocations in belongs to many repository (#3229) 2023-12-19 10:07:25 +08:00
repositories feat(database): append tree parent recursively (#2573) 2023-09-25 18:17:19 +08:00
sql-collection feat(db): add sql collection (#2419) 2023-09-25 15:03:23 +08:00
sql-parser feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
value-parsers fix(import): remove commas from numbers (#3011) 2023-11-10 10:00:21 +08:00
view chore: field type map 2023-12-12 21:28:42 +08:00
collection-factory.ts feat: register collection sync logic (#3055) 2023-11-17 11:22:46 +08:00
collection-group-manager.ts feat: multiple apps (#1540) 2023-03-10 19:16:00 +08:00
collection-importer.ts refactor: establish a sound testing system (#3179) 2023-12-21 20:39:11 +08:00
collection.ts chore: remove field from db (#3233) 2023-12-19 20:49:34 +08:00
database.ts refactor: establish a sound testing system (#3179) 2023-12-21 20:39:11 +08:00
filter-match.ts fix(database): filter match (#1319) 2023-01-03 13:38:20 +08:00
filter-parser.ts feat(collection-manager): tableOID field and collection field (#2161) 2023-07-04 23:16:49 +08:00
helpers.ts feat: mariadb support (#3052) 2023-11-20 08:54:40 +08:00
index.ts feat(db): add sql collection (#2419) 2023-09-25 15:03:23 +08:00
inherited-collection.ts feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
inherited-map.ts fix: remove node after collection removed (#1095) 2022-11-16 20:10:26 +08:00
magic-attribute-model.ts feat(plugin-cm): add unique option for base fields (#745) 2022-08-20 23:23:13 +08:00
migration.ts refactor: establish a sound testing system (#3179) 2023-12-21 20:39:11 +08:00
mock-database.ts refactor: establish a sound testing system (#3179) 2023-12-21 20:39:11 +08:00
model-hook.ts fix: eslint (#1759) 2023-04-25 13:12:14 +08:00
model.ts feat: mariadb support (#3052) 2023-11-20 08:54:40 +08:00
options-parser.ts feat: mariadb support (#3052) 2023-11-20 08:54:40 +08:00
playground.ts Feat/create nocobase app (#273) 2022-04-17 10:00:42 +08:00
repository.ts fix(acl): optimize error handling when logged user has no roles (#3190) 2023-12-15 21:03:16 +08:00
sync-runner.ts fix: update inherited collection performance issue (#3070) 2023-11-21 21:36:08 +08:00
types.ts fix: eslint (#1759) 2023-04-25 13:12:14 +08:00
update-associations.ts perf(server): optimize performance of APIs (#3079) 2023-12-12 23:02:09 +08:00
update-guard.ts fix: error when post create action with emtpy value (#2916) 2023-10-26 11:42:09 +08:00
utils.ts chore: query interface (#3177) 2023-12-12 21:24:52 +08:00
view-collection.ts feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00