refactor: migrate project data

This commit is contained in:
Carlos Valente
2025-07-08 17:11:25 +02:00
committed by Carlos Valente
parent 1fc6f9b3ea
commit 6f34e1006b
38 changed files with 136 additions and 228 deletions
@@ -42,7 +42,7 @@ describe('safeMerge', () => {
const mergedData = safeMerge(demoDb, {
project: {
title: 'new title',
backstageInfo: 'new backstage info',
info: 'new backstage info',
custom: [
{
title: 'new custom title',
@@ -55,9 +55,9 @@ describe('safeMerge', () => {
expect(mergedData.project).toStrictEqual({
title: 'new title',
description: 'Turin 2022',
backstageUrl: 'www.github.com/cpvalente/ontime',
backstageInfo: 'new backstage info',
projectLogo: null,
url: 'www.github.com/cpvalente/ontime',
info: 'new backstage info',
logo: null,
custom: [
{
title: 'new custom title',