tachybase_todo/packages/core/database/src
ChengLei Shao 4f87de7da5
feat: database view collection (#1587)
* test: create view collection

* feat: view collection class

* feat: list view

* chore: skip sync view collection

* test: should create view collection in difference schema

* test: create view collection in collection manager

* feat: create view collection by user sql

* test: view resourcer

* feat: view collection

* feat: view collection cannot be added, deleted, or modified

* feat: view collection cannot be added, deleted, or modified

* feat: view collection cannot be added, deleted, or modified

* feat: view collection cannot be added, deleted, or modified

* refactor: connect to database view

* refactor: sync from database

* chore: rename list view sql

* chore: list view fields api

* chore: create collection without viewName

* feat: bring out fields when selecting a view

* chore: bring out fields when selecting a view

* feat: view field inference class

* chore: bring out fields when selecting a view

* chore: sync form database view

* chore: sync form database view

* refactor: view collection local

* feat: view get api

* feat: database type infer

* feat: integer map

* chore: remove from in view list

* chore: build error

* chore: uniq collection

* fix: typo

* chore: replace collection list source field

* fix: destroy view collection

* chore: timestamp field map

* refactor: interface avalableTypes

* refactor: interface avalableTypes

* chore: list fields test

* refactor: interface avalableTypes

* chore: uiSchema response in field source

* fix: view query

* chore: collection snippet

* refactor: view collection support preview

* fix: handle field source

* fix: typo

* fix: configure fileds title

* fix: configure fileds title

* fix: configure fileds title

* fix: sync from databse interface

* fix: sync from databse interface

* feat: set fields api

* fix: sync from databse fix

* feat: possibleTypes

* chore: fields get

* fix: sync from databse

* fix: list view test

* fix: view test in difference schema

* chore: comment

* feat: when there is only one source  collection, the view is a subset of a Collection

* feat: view collection add field

* fix: inherit query with schema

* fix: test

* fix: ci test

* fix: test with schema

* chore: set pg default search path

* chore: mysql test

* fix: test with schema

* chore: test

* chore: action test

* chore: view column usage return type

* feat: mysql field inference

* fix: tableName

* chore: node sql parser

* fix: sql build

* fix: database build

* fix: mysql test

* feat: view collection uiSchema title

* fix: incorrect field source display  when switching views

* refactor: view collection not allow modify

* fix: view collection is allow add, delete, and modify

* fix: mysql test

* fix: sqlite test

* fix: sqlite test

* fix: sqlite test

* fix: sqlite test

* chore: add id field as default target key

* style: style improve

* feat: load source field options

* style: style improve

* chore: disable remove column in view collection

* chore: support creating view collection with different schemas with the same name

* chore: support creating view collection with different schemas with the same name

* fix: query view in difference schema

* refactor: view collection viewname

* fix: query view collection in difference schema

* fix: field load

* chore: field options

* fix: mysql test

* fix: uiSchema component error when using a view field in a block

* fix: sqlite test

* chore: test

* fix: dump user views

* fix: view collection can be updated and edited in table block

* chore: sync from database display last field configuration

* chore: loadCollections

* chore: sync from database display last field configuration

* fix: field options merge issues

* style: preview table

* fix: view collection is allow using in kanban blocks

* refactor: code improve

* fix: view collection can be updated an edited in calendar block

* chore: disable infer field without interface

* feat: preview only shows source or interface fields

* fix: test

* refactor: locale

* feat: sql parser

* chore: remove node-sql-parser

* fix: yarn.lock

* test: view repository

* fix: view repository test

* chore: console.log

* chore: console.log

* fix: mysql without schema

* fix: mysql without schema

* chore: preview with field schema

* chore: tableActionInitializers

* style: preview style improve

* chore:  parameter is filter when there is no filterByTk

* fix: preview pagination

* fix: preview pagination

* style: preview table style improve

* fix: sync from database loading

* chore: preview performance optimization

* chore: preview performance optimization

* feat: limit & offset

* chore: preview performance optimization

* test: field with dot column

* fix: datetime interface display

* fix: missing boolean type

* fix: sync

* fix: sync from database

* style: style improve

* style: style improve

* style: style improve

* chore: preview table

* chore: preview table

* chore: preview table

* fix: styling

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-01 21:56:01 +08:00
..
__tests__ feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
database-utils feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
decorators feat: update many (#1135) 2022-11-24 00:24:27 +08:00
errors feat: limit database identifier (#908) 2022-10-14 15:02:41 +08:00
features fix: destroy through table record referencing collections table (#1611) 2023-03-28 12:26:30 +08:00
field-repository fix(database): filter match (#1319) 2023-01-03 13:38:20 +08:00
fields feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
listeners feat: tree collection (#1561) 2023-03-17 09:20:56 +08:00
operators feat(parse-variables): support to parse variables in filter params (#1558) 2023-03-30 23:49:57 +08:00
query-interface feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
relation-repository refactor: multi-app (#1578) 2023-03-19 23:40:42 +08:00
sql-parser feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
value-parsers feat: support for importing attachments (#1466) 2023-02-19 17:35:23 +08:00
view feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
collection-group-manager.ts feat: multiple apps (#1540) 2023-03-10 19:16:00 +08:00
collection-importer.ts fix: collection importer has incorrect reference (#1495) 2023-02-24 17:50:08 +08:00
collection.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
database.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
filter-match.ts fix(database): filter match (#1319) 2023-01-03 13:38:20 +08:00
filter-parser.ts fix: field path 2023-03-23 14:05:53 +08:00
index.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
inherited-collection.ts fix: inherit startup sort (#1402) 2023-01-29 15:46:53 +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 feat: improve migrations (#510) 2022-06-17 10:25:59 +08:00
mock-database.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
model-hook.ts chore: upgrade sequelize version to to latest (#1234) 2022-12-24 16:30:01 +08:00
model.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
options-parser.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
playground.ts Feat/create nocobase app (#273) 2022-04-17 10:00:42 +08:00
repository.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
sync-runner.ts feat: multiple apps (#1540) 2023-03-10 19:16:00 +08:00
types.ts Fix(plugin-sequence): support sequence field in m2m through table (#1383) 2023-01-18 22:54:08 +08:00
update-associations.ts fix: through collection individual hooks (#1378) 2023-01-17 12:32:28 +08:00
update-guard.ts feat: provide the underscored option for the database (#1366) 2023-02-13 21:38:47 +08:00
utils.ts test: with collection_manager_schema env (#1532) 2023-03-05 14:45:56 +08:00
view-collection.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00