Add manifest integration tests (#18203)
- add integration test on sync manifest endpoint - fix invalid standard uuid + migration command
This commit is contained in:
+3
-3
@@ -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>>;
|
||||
|
||||
Reference in New Issue
Block a user