entityManager.group.create({
data: {
name: "Name",
description: ["Some Desc", "", ""],
shopUrl: "some-url",
faq: { create: [{ question: "MyQuestion", answer: "MyAnswer"}] },
graphics: { create: { mainLogo: "Some Logo" } } // <- **Property 'groupId' is missing in type '{ mainLogo: string; }' but required in type 'GroupGraphicsCreateWithoutGroupInput'.
}
});
entityManager.group.create({
data: {
name: "Name",
description: ["Some Desc", "", ""],
shopUrl: "some-url",
faq: { create: [{ question: "MyQuestion", answer: "MyAnswer"}] },
graphics: { create: { mainLogo: "Some Logo" } } // <- **Property 'groupId' is missing in type '{ mainLogo: string; }' but required in type 'GroupGraphicsCreateWithoutGroupInput'.
}
});