feat: refactoring auth & add email password login (#318)
* feat: wip * fix: issues * feat: clean controllers and services * fix: test * Fix auth --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -4,8 +4,8 @@ import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.e
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -7,8 +7,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -7,8 +7,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -6,8 +6,8 @@ import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../p
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -8,8 +8,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -4,8 +4,8 @@ import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.e
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@ -5,8 +5,8 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
Reference in New Issue
Block a user