Implement scoping on be (#144)
This commit is contained in:
41
server/src/api/@generated/workspace/workspace.model.ts
Normal file
41
server/src/api/@generated/workspace/workspace.model.ts
Normal file
@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { WorkspaceMember } from '../workspace-member/workspace-member.model';
|
||||
import { Company } from '../company/company.model';
|
||||
import { Person } from '../person/person.model';
|
||||
import { WorkspaceCount } from './workspace-count.output';
|
||||
|
||||
@ObjectType()
|
||||
export class Workspace {
|
||||
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => [WorkspaceMember], {nullable:true})
|
||||
WorkspaceMember?: Array<WorkspaceMember>;
|
||||
|
||||
@Field(() => [Company], {nullable:true})
|
||||
companies?: Array<Company>;
|
||||
|
||||
@Field(() => [Person], {nullable:true})
|
||||
people?: Array<Person>;
|
||||
|
||||
@Field(() => WorkspaceCount, {nullable:false})
|
||||
_count?: WorkspaceCount;
|
||||
}
|
||||
Reference in New Issue
Block a user