1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
0f7581acc3
Remove Tenant columns anonymisation ( #2404 )
...
* Remove Tenant columns anonymisation
* add tests
* use _ instead of custom_
* put _ on all custom fields
2023-11-09 12:19:33 +01:00
fe20be8487
0.2.0 cleaning script ( #2403 )
...
* Update cleaning script to run on old schema
* Add boundaries parameter
* Stop requesting data for each workspace/table
* Stop checking same as seed if not requested
* Minor update
* Minor update
* Minor update
* Minor update
* Minor update
* Simplify result
* Simplify result
* Simplify result
* Delete updates
* Fix issues
* Update logs
* Remove throw when schema does not exist
* Remove missing table in old schema
* Remove boundaries parameter
* Remove useless trycatch
2023-11-09 12:18:09 +01:00
cafffd973f
Add Relation Metadata ( #2388 )
...
* Add Relation Metadata
* remove logs
* fix migrations
* add one-to-many relation inside entities
* fix relation
* use enum for tenant migration column action type
2023-11-08 09:39:44 +01:00
0ae56b055c
Clean metadata and schema ( #2382 )
2023-11-07 12:33:54 +01:00
1ed4965a95
feat: refactor schema builder and resolver builder ( #2215 )
...
* feat: wip refactor schema builder
* feat: wip store types and first queries generation
* feat: refactor schema-builder and resolver-builder
* fix: clean & small type fix
* fix: avoid breaking change
* fix: remove util from pg-graphql classes
* fix: required default fields
* Refactor frontend accordingly
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-03 17:16:37 +01:00
b56f6f3947
Fix seeds for local workspace and newly created workspaces ( #2333 )
...
* Update metadata/data seeds
* fix
* fix
* move seeding into a transaction
* add no-non-null-assertion
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-03 14:33:45 +01:00
d38497c46a
Refactor ObjectDataTable to work with new views system ( #2274 )
...
Complete work
2023-10-29 23:50:59 +01:00
3c6ce75606
feat: activate standard objects in New Object page ( #2232 )
...
* feat: activate standard objects in New Object page
Closes #2010 , Closes #2173
* Pagination limit = 1000
* Various fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-27 15:46:29 +02:00
c04e866de3
Remove Metadata SoftDelete and page limit size ( #2237 )
...
* Remove Metadata SoftDelete and page limit size
* add cascade deletion
* add missing queryRunner release
2023-10-26 17:32:27 +02:00
2b1945a3e1
feat: create custom object and update edited object names ( #2220 )
...
Closes #2155 , Closes #2153
2023-10-26 11:04:16 +02:00
f1670f0cf4
Feat/metadata datatable types ( #2175 )
...
* Handled new url v2 type
* Fixed refetch queries
* wip
* Ok delete but views bug
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-21 14:07:18 +02:00
7fbef6d60d
Add Tenant initialisation service ( #2100 )
...
* Add Tenant initialisation service
* few fixes
* fix constraint
* fix tests
* update metadata json with employees and address
* add V2
* remove metadata.gql
2023-10-18 18:01:52 +02:00
1344e78acb
Remove singular/plural from field-metadata ( #2085 )
...
* Remove singular/plural from field-metadata
* revert removing id from create input
* remove console log
* remove console log
* codegen
* missing files
* fix tests
2023-10-17 15:21:58 +02:00
c06a8a9213
Add soft delete to metadata ( #2072 )
2023-10-16 22:04:17 +02:00
4e993316a6
feat: conditional schema based on column map instead of column field ( #1978 )
...
* feat: wip conditional schema based on column map instead of column field
* feat: conditionalSchema columnMap and singular plural
* fix: remove uuid fix
* feat: add name and label (singular/plural) drop old tableColumnName
2023-10-12 18:28:27 +02:00
f97228bfac
feat: add object/field create/update resolvers ( #1963 )
...
* feat: add object/field create/update resolvers
* fix tests
2023-10-11 12:03:13 +02:00
ca492808cf
Add metadata query resolvers ( #1929 )
...
* Add metadata queries resolvers
* remove hello field
* fix linter
2023-10-09 22:54:14 +02:00
42e8869e0e
Add targetColumnMap to FieldMetadata ( #1863 )
...
* Add targetColumnMap to FieldMetadata
* fix
* remove console.log
* fix test
2023-10-04 15:17:53 +02:00
1e91c985df
Add a dedicated GQL server for metadata available on /meta ( #1820 )
2023-10-03 10:17:13 +02:00