267af42412
# Introduction Followup of https://github.com/twentyhq/twenty/pull/15331 ( Reducing size by concerns ) This PR centralizes v2 format error types in `twenty-shared` and consuming them in the existing v2 error format logic in `twenty-server` ## Next This https://github.com/twentyhq/twenty/pull/15360 handles the frontend v2 format error refactor ## Conclusion Related to https://github.com/twentyhq/core-team-issues/issues/1776
14 lines
385 B
TypeScript
14 lines
385 B
TypeScript
export const ALL_METADATA_NAME = {
|
|
fieldMetadata: 'fieldMetadata',
|
|
objectMetadata: 'objectMetadata',
|
|
view: 'view',
|
|
viewField: 'viewField',
|
|
viewGroup: 'viewGroup',
|
|
index: 'index',
|
|
serverlessFunction: 'serverlessFunction',
|
|
cronTrigger: 'cronTrigger',
|
|
databaseEventTrigger: 'databaseEventTrigger',
|
|
routeTrigger: 'routeTrigger',
|
|
viewFilter: 'viewFilter',
|
|
} as const;
|