Add default relation to standard object on custom object in manifest (#18033)

add default relation fields when creating an object from an application

---------

Co-authored-by: prastoin <paul@twenty.com>
This commit is contained in:
martmull
2026-02-20 11:49:06 +01:00
committed by GitHub
parent d060c843d1
commit 3bc887e12e
48 changed files with 1812 additions and 554 deletions
@@ -5,6 +5,7 @@ import { join } from 'path';
import {
DEFAULT_API_KEY_NAME,
DEFAULT_API_URL_NAME,
GENERATED_DIR,
} from 'twenty-shared/application';
export class ClientService {
@@ -54,7 +55,7 @@ export class ClientService {
}
private resolveGeneratedPath(appPath: string): string {
return join(appPath, 'node_modules', 'twenty-sdk', 'generated');
return join(appPath, 'node_modules', 'twenty-sdk', GENERATED_DIR);
}
private async injectTwentyClient(output: string) {