Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Executive

Index

Type aliases

ExecutiveAttributes

ExecutiveAttributes: { createdAt: Date; id: number; nickname: string | null; pos: string | null; sid: string; updatedAt: Date }

All the attributes in the Executive model

Type declaration

  • createdAt: Date
  • id: number
  • nickname: string | null
  • pos: string | null

    Thd position of the executive member

  • sid: string

    Thd student id of the executive member

  • updatedAt: Date

ExecutiveCreationAttributes

ExecutiveCreationAttributes: Optional<ExecutiveAttributes, "id" | "createdAt" | "updatedAt">

All the attributes needed to create an instance of the Executive model

ExecutiveUpdateAttributes

ExecutiveUpdateAttributes: Partial<ExecutiveAttributes> & Pick<ExecutiveAttributes, "sid">

All the attributes needed to update an instance of the Executive model

Factory Functions

Const ExecutiveFactory

  • ExecutiveFactory(sequelize: Sequelize): typeof Executive

Mutation Resolver Functions

Const deleteExecutiveResolver

Const newExecutiveResolver

Const updateExecutiveResolver

Query Resolver Functions

Const countExecutivesResolver

Const executiveResolver

Const executivesResolver

Object literals

Const resolvers

resolvers: object

The resolvers associated with the Executive model

Mutation

Mutation: object

deleteExecutive

deleteExecutive: ResolverFn<{ sid: string }, ExecutiveDeleteResponse> = deleteExecutiveResolver

newExecutive

newExecutive: ResolverFn<Optional<ExecutiveAttributes, "id" | "createdAt" | "updatedAt">, ExecutiveUpdateResponse> = newExecutiveResolver

updateExecutive

updateExecutive: ResolverFn<ExecutiveUpdateAttributes, ExecutiveUpdateResponse> = updateExecutiveResolver

Query

Query: object

countExecutives

countExecutives: ResolverFn<null, number> = countExecutivesResolver

executive

executive: ResolverFn<ExecutiveResolverArgs, null | ExecutiveAttributes> = executiveResolver

executives

executives: ResolverFn<null, ExecutiveAttributes[]> = executivesResolver

Generated using TypeDoc