Change type import rule (#13751)
Forcing "type" to be explicit, works best will rollup on the frontend to exclude depdendencies
This commit is contained in:
@@ -78,7 +78,10 @@ module.exports = {
|
||||
'@typescript-eslint/ban-ts-comment': 'error',
|
||||
'@typescript-eslint/consistent-type-imports': [
|
||||
'error',
|
||||
{ prefer: 'no-type-imports' },
|
||||
{
|
||||
prefer: 'type-imports',
|
||||
fixStyle: 'inline-type-imports'
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { i18n, Messages } from '@lingui/core';
|
||||
import { i18n, type Messages } from '@lingui/core';
|
||||
import { I18nProvider } from '@lingui/react';
|
||||
import { Container, Html } from '@react-email/components';
|
||||
|
||||
import { BaseHead } from 'src/components/BaseHead';
|
||||
import { Footer } from 'src/components/Footer';
|
||||
import { Logo } from 'src/components/Logo';
|
||||
import { APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';
|
||||
import { messages as afMessages } from '../locales/generated/af-ZA';
|
||||
import { messages as arMessages } from '../locales/generated/ar-SA';
|
||||
import { messages as caMessages } from '../locales/generated/ca-ES';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Text } from '@react-email/components';
|
||||
import { JSX } from 'react';
|
||||
import { type JSX } from 'react';
|
||||
|
||||
import { emailTheme } from 'src/common-style';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { BaseEmail } from 'src/components/BaseEmail';
|
||||
import { CallToAction } from 'src/components/CallToAction';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type CleanSuspendedWorkspaceEmailProps = {
|
||||
daysSinceInactive: number;
|
||||
|
||||
@@ -5,7 +5,7 @@ import { CallToAction } from 'src/components/CallToAction';
|
||||
import { Link } from 'src/components/Link';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type PasswordResetLinkEmailProps = {
|
||||
duration: string;
|
||||
|
||||
@@ -4,7 +4,7 @@ import { BaseEmail } from 'src/components/BaseEmail';
|
||||
import { CallToAction } from 'src/components/CallToAction';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type PasswordUpdateNotifyEmailProps = {
|
||||
userName: string;
|
||||
|
||||
@@ -4,7 +4,7 @@ import { BaseEmail } from 'src/components/BaseEmail';
|
||||
import { CallToAction } from 'src/components/CallToAction';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type SendEmailVerificationLinkEmailProps = {
|
||||
link: string;
|
||||
|
||||
@@ -12,7 +12,7 @@ import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { WhatIsTwenty } from 'src/components/WhatIsTwenty';
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { getImageAbsoluteURI } from 'twenty-shared/utils';
|
||||
|
||||
type SendInviteLinkEmailProps = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { i18n } from '@lingui/core';
|
||||
import { BaseEmail } from 'src/components/BaseEmail';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type TestEmailProps = {
|
||||
locale: keyof typeof APP_LOCALES;
|
||||
|
||||
@@ -11,7 +11,7 @@ import { Link } from 'src/components/Link';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { getImageAbsoluteURI } from 'twenty-shared/utils';
|
||||
import { DEFAULT_WORKSPACE_LOGO } from 'src/constants/DefaultWorkspaceLogo';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { BaseEmail } from 'src/components/BaseEmail';
|
||||
import { CallToAction } from 'src/components/CallToAction';
|
||||
import { MainText } from 'src/components/MainText';
|
||||
import { Title } from 'src/components/Title';
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
type WarnSuspendedWorkspaceEmailProps = {
|
||||
daysSinceInactive: number;
|
||||
|
||||
+6
-6
@@ -1,10 +1,10 @@
|
||||
import { APP_LOCALES } from 'twenty-shared/translations';
|
||||
import { type APP_LOCALES } from 'twenty-shared/translations';
|
||||
|
||||
import { ApiKey } from 'src/engine/core-modules/api-key/api-key.entity';
|
||||
import { UserWorkspace } from 'src/engine/core-modules/user-workspace/user-workspace.entity';
|
||||
import { User } from 'src/engine/core-modules/user/user.entity';
|
||||
import { AuthProviderEnum } from 'src/engine/core-modules/workspace/types/workspace.type';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { type ApiKey } from 'src/engine/core-modules/api-key/api-key.entity';
|
||||
import { type UserWorkspace } from 'src/engine/core-modules/user-workspace/user-workspace.entity';
|
||||
import { type User } from 'src/engine/core-modules/user/user.entity';
|
||||
import { type AuthProviderEnum } from 'src/engine/core-modules/workspace/types/workspace.type';
|
||||
import { type Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
|
||||
declare module 'express-serve-static-core' {
|
||||
interface Request {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import 'jest';
|
||||
import { DataSource } from 'typeorm';
|
||||
import { type DataSource } from 'typeorm';
|
||||
|
||||
declare module '@jest/types' {
|
||||
namespace Config {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import dotenv from 'dotenv';
|
||||
import { JestConfigWithTsJest, pathsToModuleNameMapper } from 'ts-jest';
|
||||
import { type JestConfigWithTsJest, pathsToModuleNameMapper } from 'ts-jest';
|
||||
|
||||
import { NodeEnvironment } from 'src/engine/core-modules/twenty-config/interfaces/node-environment.interface';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
DynamicModule,
|
||||
MiddlewareConsumer,
|
||||
type DynamicModule,
|
||||
type MiddlewareConsumer,
|
||||
Module,
|
||||
RequestMethod,
|
||||
} from '@nestjs/common';
|
||||
@@ -11,7 +11,7 @@ import { ServeStaticModule } from '@nestjs/serve-static';
|
||||
import { existsSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
|
||||
import { YogaDriver, YogaDriverConfig } from '@graphql-yoga/nestjs';
|
||||
import { YogaDriver, type YogaDriverConfig } from '@graphql-yoga/nestjs';
|
||||
import { SentryModule } from '@sentry/nestjs/setup';
|
||||
|
||||
import { CoreGraphQLApiModule } from 'src/engine/api/graphql/core-graphql-api.module';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { Test, type TestingModule } from '@nestjs/testing';
|
||||
|
||||
import { ClickHouseClient } from '@clickhouse/client';
|
||||
import { type ClickHouseClient } from '@clickhouse/client';
|
||||
|
||||
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import {
|
||||
Injectable,
|
||||
Logger,
|
||||
OnModuleDestroy,
|
||||
OnModuleInit,
|
||||
type OnModuleDestroy,
|
||||
type OnModuleInit,
|
||||
} from '@nestjs/common';
|
||||
|
||||
import { ClickHouseClient, createClient } from '@clickhouse/client';
|
||||
import { type ClickHouseClient, createClient } from '@clickhouse/client';
|
||||
|
||||
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import { ClickHouseClient, createClient } from '@clickhouse/client';
|
||||
import { type ClickHouseClient, createClient } from '@clickhouse/client';
|
||||
import { config } from 'dotenv';
|
||||
|
||||
config({
|
||||
|
||||
@@ -3,7 +3,7 @@ import { OBJECT_RECORD_DELETED_EVENT } from 'src/engine/core-modules/audit/utils
|
||||
import { OBJECT_RECORD_UPDATED_EVENT } from 'src/engine/core-modules/audit/utils/events/object-event/object-record-updated';
|
||||
import { CUSTOM_DOMAIN_ACTIVATED_EVENT } from 'src/engine/core-modules/audit/utils/events/workspace-event/custom-domain/custom-domain-activated';
|
||||
import { CUSTOM_DOMAIN_DEACTIVATED_EVENT } from 'src/engine/core-modules/audit/utils/events/workspace-event/custom-domain/custom-domain-deactivated';
|
||||
import { GenericTrackEvent } from 'src/engine/core-modules/audit/utils/events/workspace-event/track';
|
||||
import { type GenericTrackEvent } from 'src/engine/core-modules/audit/utils/events/workspace-event/track';
|
||||
|
||||
export const fixtures: Array<GenericTrackEvent> = [
|
||||
{
|
||||
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { Test, type TestingModule } from '@nestjs/testing';
|
||||
import { getRepositoryToken } from '@nestjs/typeorm';
|
||||
|
||||
import { EachTestingContext } from 'twenty-shared/testing';
|
||||
import { Repository } from 'typeorm';
|
||||
import { type EachTestingContext } from 'twenty-shared/testing';
|
||||
import { type Repository } from 'typeorm';
|
||||
|
||||
import { UpgradeCommandRunner } from 'src/database/commands/command-runners/upgrade.command-runner';
|
||||
import { ConfigVariables } from 'src/engine/core-modules/twenty-config/config-variables';
|
||||
import { type ConfigVariables } from 'src/engine/core-modules/twenty-config/config-variables';
|
||||
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
import chalk from 'chalk';
|
||||
import { Option } from 'nest-commander';
|
||||
import { WorkspaceActivationStatus } from 'twenty-shared/workspace';
|
||||
import { In, MoreThanOrEqual, Repository } from 'typeorm';
|
||||
import { In, MoreThanOrEqual, type Repository } from 'typeorm';
|
||||
|
||||
import { MigrationCommandRunner } from 'src/database/commands/command-runners/migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { WorkspaceDataSource } from 'src/engine/twenty-orm/datasource/workspace.datasource';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { type Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { type WorkspaceDataSource } from 'src/engine/twenty-orm/datasource/workspace.datasource';
|
||||
import { type TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
|
||||
export type ActiveOrSuspendedWorkspacesMigrationCommandOptions = {
|
||||
workspaceIds: string[];
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { Logger } from '@nestjs/common';
|
||||
import { type Logger } from '@nestjs/common';
|
||||
|
||||
import chalk from 'chalk';
|
||||
import { CommandRunner, Option } from 'nest-commander';
|
||||
|
||||
+2
-2
@@ -7,14 +7,14 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { SyncWorkspaceMetadataCommand } from 'src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command';
|
||||
import {
|
||||
CompareVersionMajorAndMinorReturnType,
|
||||
type CompareVersionMajorAndMinorReturnType,
|
||||
compareVersionMajorAndMinor,
|
||||
} from 'src/utils/version/compare-version-minor-and-major';
|
||||
import { getPreviousVersion } from 'src/utils/version/get-previous-version';
|
||||
|
||||
+4
-4
@@ -6,14 +6,14 @@ import { Equal, Not, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { FileStorageService } from 'src/engine/core-modules/file-storage/file-storage.service';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { AttachmentWorkspaceEntity } from 'src/modules/attachment/standard-objects/attachment.workspace-entity';
|
||||
import { PersonWorkspaceEntity } from 'src/modules/person/standard-objects/person.workspace-entity';
|
||||
import { WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';
|
||||
import { type AttachmentWorkspaceEntity } from 'src/modules/attachment/standard-objects/attachment.workspace-entity';
|
||||
import { type PersonWorkspaceEntity } from 'src/modules/person/standard-objects/person.workspace-entity';
|
||||
import { type WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';
|
||||
|
||||
@Command({
|
||||
name: 'upgrade:0-54:clean-not-found-files',
|
||||
|
||||
+2
-2
@@ -6,10 +6,10 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { ActorMetadata } from 'src/engine/metadata-modules/field-metadata/composite-types/actor.composite-type';
|
||||
import { type ActorMetadata } from 'src/engine/metadata-modules/field-metadata/composite-types/actor.composite-type';
|
||||
import { generateDefaultValue } from 'src/engine/metadata-modules/field-metadata/utils/generate-default-value';
|
||||
import { ObjectMetadataEntity } from 'src/engine/metadata-modules/object-metadata/object-metadata.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { Raw, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import {
|
||||
AppToken,
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { UserWorkspace } from 'src/engine/core-modules/user-workspace/user-workspace.entity';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { IsNull, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { TypeORMService } from 'src/database/typeorm/typeorm.service';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { IsNull, Not, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
+5
-5
@@ -3,18 +3,18 @@ import { InjectRepository } from '@nestjs/typeorm';
|
||||
import { MoreThan, Repository } from 'typeorm';
|
||||
import { Command, Option } from 'nest-commander';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
import { StepStatus, WorkflowRunStepInfos } from 'twenty-shared/workflow';
|
||||
import { StepStatus, type WorkflowRunStepInfos } from 'twenty-shared/workflow';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import {
|
||||
WorkflowRunState,
|
||||
WorkflowRunOutput,
|
||||
WorkflowRunWorkspaceEntity,
|
||||
type WorkflowRunState,
|
||||
type WorkflowRunOutput,
|
||||
type WorkflowRunWorkspaceEntity,
|
||||
} from 'src/modules/workflow/common/standard-objects/workflow-run.workspace-entity';
|
||||
|
||||
const DEFAULT_CHUNK_SIZE = 500;
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
+3
-3
@@ -6,12 +6,12 @@ import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { WorkflowVersionWorkspaceEntity } from 'src/modules/workflow/common/standard-objects/workflow-version.workspace-entity';
|
||||
import { WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
import { type WorkflowVersionWorkspaceEntity } from 'src/modules/workflow/common/standard-objects/workflow-version.workspace-entity';
|
||||
import { type WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
|
||||
@Command({
|
||||
name: 'upgrade:1-2:add-next-step-ids-to-workflow-version-triggers',
|
||||
|
||||
+2
-2
@@ -5,11 +5,11 @@ import { IsNull, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { WorkflowRunWorkspaceEntity } from 'src/modules/workflow/common/standard-objects/workflow-run.workspace-entity';
|
||||
import { type WorkflowRunWorkspaceEntity } from 'src/modules/workflow/common/standard-objects/workflow-run.workspace-entity';
|
||||
|
||||
@Command({
|
||||
name: 'migrate:1-2:remove-workflow-runs-without-state',
|
||||
|
||||
+2
-2
@@ -6,11 +6,11 @@ import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
import { type WorkflowAction } from 'src/modules/workflow/workflow-executor/workflow-actions/types/workflow-action.type';
|
||||
import { WorkspaceDataSourceService } from 'src/engine/workspace-datasource/workspace-datasource.service';
|
||||
import { getWorkspaceSchemaName } from 'src/engine/workspace-datasource/utils/get-workspace-schema-name.util';
|
||||
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
import { InjectDataSource, InjectRepository } from '@nestjs/typeorm';
|
||||
|
||||
import { Command } from 'nest-commander';
|
||||
import { DataSource, In, QueryRunner, Repository } from 'typeorm';
|
||||
import { DataSource, In, type QueryRunner, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { ApiKey } from 'src/engine/core-modules/api-key/api-key.entity';
|
||||
import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import { Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
+3
-3
@@ -9,11 +9,11 @@ import { Command } from 'nest-commander';
|
||||
import { WorkspaceActivationStatus } from 'twenty-shared/workspace';
|
||||
import { In, Repository } from 'typeorm';
|
||||
|
||||
import { ActiveOrSuspendedWorkspacesMigrationCommandOptions } from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { type ActiveOrSuspendedWorkspacesMigrationCommandOptions } from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import {
|
||||
AllCommands,
|
||||
type AllCommands,
|
||||
UpgradeCommandRunner,
|
||||
VersionCommands,
|
||||
type VersionCommands,
|
||||
} from 'src/database/commands/command-runners/upgrade.command-runner';
|
||||
import { CleanNotFoundFilesCommand } from 'src/database/commands/upgrade-version-command/0-54/0-54-clean-not-found-files.command';
|
||||
import { FixCreatedByDefaultValueCommand } from 'src/database/commands/upgrade-version-command/0-54/0-54-created-by-default-value.command';
|
||||
|
||||
+11
-11
@@ -1,12 +1,12 @@
|
||||
import { InjectDataSource, InjectRepository } from '@nestjs/typeorm';
|
||||
|
||||
import { Command } from 'nest-commander';
|
||||
import { ViewFilterOperand as SharedViewFilterOperand } from 'twenty-shared/types';
|
||||
import { DataSource, QueryRunner, Repository } from 'typeorm';
|
||||
import { type ViewFilterOperand as SharedViewFilterOperand } from 'twenty-shared/types';
|
||||
import { DataSource, type QueryRunner, Repository } from 'typeorm';
|
||||
|
||||
import {
|
||||
ActiveOrSuspendedWorkspacesMigrationCommandRunner,
|
||||
RunOnWorkspaceArgs,
|
||||
type RunOnWorkspaceArgs,
|
||||
} from 'src/database/commands/command-runners/active-or-suspended-workspaces-migration.command-runner';
|
||||
import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';
|
||||
import { FeatureFlagService } from 'src/engine/core-modules/feature-flag/services/feature-flag.service';
|
||||
@@ -16,18 +16,18 @@ import { ViewFilter } from 'src/engine/core-modules/view/entities/view-filter.en
|
||||
import { ViewGroup } from 'src/engine/core-modules/view/entities/view-group.entity';
|
||||
import { ViewSort } from 'src/engine/core-modules/view/entities/view-sort.entity';
|
||||
import { View } from 'src/engine/core-modules/view/entities/view.entity';
|
||||
import { ViewFilterGroupLogicalOperator } from 'src/engine/core-modules/view/enums/view-filter-group-logical-operator';
|
||||
import { type ViewFilterGroupLogicalOperator } from 'src/engine/core-modules/view/enums/view-filter-group-logical-operator';
|
||||
import { ViewOpenRecordIn } from 'src/engine/core-modules/view/enums/view-open-record-in';
|
||||
import { ViewSortDirection } from 'src/engine/core-modules/view/enums/view-sort-direction';
|
||||
import { type ViewSortDirection } from 'src/engine/core-modules/view/enums/view-sort-direction';
|
||||
import { ViewType } from 'src/engine/core-modules/view/enums/view-type.enum';
|
||||
import { Workspace } from 'src/engine/core-modules/workspace/workspace.entity';
|
||||
import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager';
|
||||
import { ViewFieldWorkspaceEntity } from 'src/modules/view/standard-objects/view-field.workspace-entity';
|
||||
import { ViewFilterGroupWorkspaceEntity } from 'src/modules/view/standard-objects/view-filter-group.workspace-entity';
|
||||
import { ViewFilterWorkspaceEntity } from 'src/modules/view/standard-objects/view-filter.workspace-entity';
|
||||
import { ViewGroupWorkspaceEntity } from 'src/modules/view/standard-objects/view-group.workspace-entity';
|
||||
import { ViewSortWorkspaceEntity } from 'src/modules/view/standard-objects/view-sort.workspace-entity';
|
||||
import { ViewWorkspaceEntity } from 'src/modules/view/standard-objects/view.workspace-entity';
|
||||
import { type ViewFieldWorkspaceEntity } from 'src/modules/view/standard-objects/view-field.workspace-entity';
|
||||
import { type ViewFilterGroupWorkspaceEntity } from 'src/modules/view/standard-objects/view-filter-group.workspace-entity';
|
||||
import { type ViewFilterWorkspaceEntity } from 'src/modules/view/standard-objects/view-filter.workspace-entity';
|
||||
import { type ViewGroupWorkspaceEntity } from 'src/modules/view/standard-objects/view-group.workspace-entity';
|
||||
import { type ViewSortWorkspaceEntity } from 'src/modules/view/standard-objects/view-sort.workspace-entity';
|
||||
import { type ViewWorkspaceEntity } from 'src/modules/view/standard-objects/view.workspace-entity';
|
||||
import { convertViewFilterOperandToCoreOperand } from 'src/modules/view/utils/convert-view-filter-operand-to-core-operand.util';
|
||||
import { transformViewFilterWorkspaceValueToCoreValue } from 'src/modules/view/utils/transform-view-filter-workspace-value-to-core-value';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
|
||||
import { type TypeOrmModuleOptions } from '@nestjs/typeorm';
|
||||
|
||||
import { config } from 'dotenv';
|
||||
import { DataSource, DataSourceOptions } from 'typeorm';
|
||||
import { DataSource, type DataSourceOptions } from 'typeorm';
|
||||
config({
|
||||
path: process.env.NODE_ENV === 'test' ? '.env.test' : '.env',
|
||||
override: true,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddBillingCoreTables1708535112230 implements MigrationInterface {
|
||||
name = 'AddBillingCoreTables1708535112230';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateBillingCoreTables1709233666080
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateBillingSubscription1709914564361
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddIntervalToBillingSubscription1710926613773
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddBillingEntitlementTable1732098580545
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddNewBillingStripeTables1733397937967
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class RemoveBillingFKWithCore1733753649142
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddConstraintsOnBillingTables1734450749954
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddNonNullableProductDescription1737127856478
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddOnUpdateInEntitlements1739981257356
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddHasReachedCurrentPeriodCapColumnInBillingSubscriptionItemTable1743577268972
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class SetupMetadataTables1700140427984 implements MigrationInterface {
|
||||
name = 'SetupMetadataTables1700140427984';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class SetupCoreTables implements MigrationInterface {
|
||||
name = 'SetupCoreTables1700324860820';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddIdentifierFieldToObjectMetadata1700565712112
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddWorkspaceCacheVersion1700650554672
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddAllowImpersonationToWorkspace1700654387203
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddCascadeDeleteOnRefreshTokenUser1700661180856
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddCascadeDeleteOnRelationObject1700661538754
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddWorkspaceDeleteCascadeSetNullInUser1700663611659
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddEnumOptions1700663879152 implements MigrationInterface {
|
||||
name = 'AddEnumOptions1700663879152';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddFeatureFlags1701194529853 implements MigrationInterface {
|
||||
name = 'AddFeatureFlags1701194529853';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddSubscriptionStatusOnWorkspace1702479005171
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddPasswordResetToken1704825571702 implements MigrationInterface {
|
||||
name = 'AddPasswordResetToken1704825571702';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddDefaultAvatarUrlToUser1706613419989
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddUserWorkspaces1707778127558 implements MigrationInterface {
|
||||
name = 'AddUserWorkspaces1707778127558';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddOnDeleteActionToRelationMetadata1708449210922
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateUserWorkspace1709314035408 implements MigrationInterface {
|
||||
name = 'UpdateUserWorkspace1709314035408';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class updateUserWorkspaceColumnConstraints1709680520888
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddStandardId1709894431938 implements MigrationInterface {
|
||||
name = 'AddStandardId1709894431938';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddRemoteServerTable1711374137222 implements MigrationInterface {
|
||||
name = 'AddRemoteServerTable1711374137222';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class DropTargetColumnMap1711459912762 implements MigrationInterface {
|
||||
name = 'DropTargetColumnMap1711459912762';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddIsRemoteField1711466822763 implements MigrationInterface {
|
||||
name = 'AddIsRemoteField1711466822763';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddMissingMigration1711557405330 implements MigrationInterface {
|
||||
name = 'AddMissingMigration1711557405330';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UseTimestampWithTZ1711619086385 implements MigrationInterface {
|
||||
name = 'UseTimestampWithTZ1711619086385';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateRefreshTokenTable1711624086253
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UseTimestampWithTZ1711633823798 implements MigrationInterface {
|
||||
name = 'UseTimestampWithTZ1711633823798';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddIsAuditLogged1712923480448 implements MigrationInterface {
|
||||
name = 'AddIsAuditLogged1712923480448';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class CreateRemoteTable1713270565699 implements MigrationInterface {
|
||||
name = 'CreateRemoteTable1713270565699';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddSettingsColumnToFieldMetadata1713793656356
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddSchemaAndAvailableTablesToServer1714382420165
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateInconsistentUserConstraint1715593226719
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class RemoveAvailableTables1716310822694 implements MigrationInterface {
|
||||
name = 'RemoveAvailableTables1716310822694';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddRemoteServerLabel1716890009820 implements MigrationInterface {
|
||||
name = 'AddRemoteServerLabel1716890009820';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddKeyValuePairTable1717425967770 implements MigrationInterface {
|
||||
name = 'AddKeyValuePairTable1717425967770';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddKeyValuePairTableUniqueContraints1717688588972
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddPostgresCredentials1717751631669 implements MigrationInterface {
|
||||
name = 'AddPostgresCredentials1717751631669';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddIndexMetadataTable1718985664968 implements MigrationInterface {
|
||||
name = 'AddIndexMetadataTable1718985664968';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UseEnumForSubscriptionStatusInterval1719327438923
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class RemoveSubscriptionStatusFromCoreWorkspace1719494707738
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddDateColumnsToIndexMetadata1720524654925
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class FixIdentifierTypes1721057142509 implements MigrationInterface {
|
||||
name = 'FixIdentifierTypes1721057142509';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddKeyValuePairType1721139150487 implements MigrationInterface {
|
||||
name = 'AddKeyValuePairType1721139150487';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class CreateServerlessFunctionTable1721210534680
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddRuntimeColumnToServerlessFunction1721309629608
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class MigrateKeyValueTypeToJsonb1721656106498
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class DeletePasswordResetToken1721738579379
|
||||
implements MigrationInterface
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddActivationStatus1722256203539 implements MigrationInterface {
|
||||
name = 'AddActivationStatus1722256203539';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import { type MigrationInterface, type QueryRunner } from 'typeorm';
|
||||
|
||||
export class UpdateActivationStatus1722256203540 implements MigrationInterface {
|
||||
name = 'UpdateActivationStatus1722256203540';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user