Add manifest integration tests (#18203)

- add integration test on sync manifest endpoint
- fix invalid standard uuid + migration command
This commit is contained in:
martmull
2026-02-25 10:37:50 +01:00
committed by GitHub
parent b84a8588be
commit f080b952eb
30 changed files with 1916 additions and 473 deletions
@@ -1,8 +1,8 @@
import { type MessageDescriptor } from '@lingui/core';
import { type AllMetadataName } from 'twenty-shared/metadata';
import { type MetadataFlatEntity } from 'src/engine/metadata-modules/flat-entity/types/metadata-flat-entity.type';
import { type WorkspaceMigrationActionType } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/types/workspace-migration-action-common';
import { type MetadataFlatEntity } from 'src/engine/metadata-modules/flat-entity/types/metadata-flat-entity.type';
export type FlatEntityValidationError<TCode extends string = string> = {
code: TCode;
@@ -13,9 +13,9 @@ export type FlatEntityValidationError<TCode extends string = string> = {
export type FailedFlatEntityValidation<
TMetadataName extends AllMetadataName,
TAcionType extends WorkspaceMigrationActionType,
TActionType extends WorkspaceMigrationActionType,
> = {
type: TAcionType;
type: TActionType;
metadataName: TMetadataName;
errors: FlatEntityValidationError[];
flatEntityMinimalInformation: Partial<MetadataFlatEntity<TMetadataName>>;