feat: refactor storage module (#521)

* feat: refactor storage module

* fix: folder need to be kebab case

* fix: comment wrong auth
This commit is contained in:
Jérémy M
2023-07-05 16:34:39 +02:00
committed by GitHub
parent 6e1ffdcc72
commit 2961fed932
74 changed files with 330 additions and 355 deletions

View File

@ -9,8 +9,8 @@ export class CreateManyWorkspaceArgs {
@Field(() => [WorkspaceCreateManyInput], {nullable:false})
@Type(() => WorkspaceCreateManyInput)
@Type(() => WorkspaceCreateManyInput)
@ValidateNested({each: true})
@Type(() => WorkspaceCreateManyInput)
data!: Array<WorkspaceCreateManyInput>;
@Field(() => Boolean, {nullable:true})

View File

@ -9,7 +9,7 @@ export class CreateOneWorkspaceArgs {
@Field(() => WorkspaceCreateInput, {nullable:false})
@Type(() => WorkspaceCreateInput)
@Type(() => WorkspaceCreateInput)
@ValidateNested({each: true})
@Type(() => WorkspaceCreateInput)
data!: WorkspaceCreateInput;
}

View File

@ -10,8 +10,8 @@ export class UpdateManyWorkspaceArgs {
@Field(() => WorkspaceUpdateManyMutationInput, {nullable:false})
@Type(() => WorkspaceUpdateManyMutationInput)
@Type(() => WorkspaceUpdateManyMutationInput)
@ValidateNested({each: true})
@Type(() => WorkspaceUpdateManyMutationInput)
data!: WorkspaceUpdateManyMutationInput;
@Field(() => WorkspaceWhereInput, {nullable:true})

View File

@ -10,8 +10,8 @@ export class UpdateOneWorkspaceArgs {
@Field(() => WorkspaceUpdateInput, {nullable:false})
@Type(() => WorkspaceUpdateInput)
@Type(() => WorkspaceUpdateInput)
@ValidateNested({each: true})
@Type(() => WorkspaceUpdateInput)
data!: WorkspaceUpdateInput;
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})