Delete userWorkspace when removed from workspace (#13131)

Fixes https://github.com/twentyhq/twenty/issues/13024
This commit is contained in:
Charles Bochet
2025-07-09 18:34:50 +02:00
committed by GitHub
parent eba997be98
commit 7e419337b5
71 changed files with 377 additions and 436 deletions

View File

@ -5,11 +5,12 @@ declare module '@jest/types' {
namespace Config {
interface ConfigGlobals {
APP_PORT: number;
ADMIN_ACCESS_TOKEN: string;
APPLE_JANE_ADMIN_ACCESS_TOKEN: string;
EXPIRED_ACCESS_TOKEN: string;
INVALID_ACCESS_TOKEN: string;
MEMBER_ACCESS_TOKEN: string;
GUEST_ACCESS_TOKEN: string;
APPLE_JONY_MEMBER_ACCESS_TOKEN: string;
APPLE_PHIL_GUEST_ACCESS_TOKEN: string;
ACME_JONY_MEMBER_ACCESS_TOKEN: string;
API_KEY_ACCESS_TOKEN: string;
testDataSource?: DataSource;
}
@ -18,12 +19,13 @@ declare module '@jest/types' {
declare global {
const APP_PORT: number;
const ADMIN_ACCESS_TOKEN: string;
const APPLE_JANE_ADMIN_ACCESS_TOKEN: string;
const EXPIRED_ACCESS_TOKEN: string;
const INVALID_ACCESS_TOKEN: string;
const MEMBER_ACCESS_TOKEN: string;
const GUEST_ACCESS_TOKEN: string;
const APPLE_JONY_MEMBER_ACCESS_TOKEN: string;
const APPLE_PHIL_GUEST_ACCESS_TOKEN: string;
const API_KEY_ACCESS_TOKEN: string;
const ACME_JONY_MEMBER_ACCESS_TOKEN: string;
const WORKSPACE_AGNOSTIC_TOKEN: string;
const testDataSource: DataSource;
}