Skip to content

Commit

Permalink
Merge pull request #38 from sisgha/dev-gabriel
Browse files Browse the repository at this point in the history
change(js/spec): remaining mixed types as any
  • Loading branch information
guesant authored May 2, 2024
2 parents fa6a25f + 1394b6c commit fb3621d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ export const Reserva = () => {
input: {
required: true,
nullable: false,
type: UsuarioFindOneByIdInput,
type: UsuarioFindOneByIdInput as any,
description: 'Usuário que fez a reserva.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: UsuarioFindOneResult,
type: UsuarioFindOneResult as any,
description: 'Usuário que fez a reserva.',
},
},
Expand All @@ -160,14 +160,14 @@ export const Reserva = () => {
input: {
required: true,
nullable: false,
type: AmbienteFindOneByIdInput,
type: AmbienteFindOneByIdInput as any,
description: 'Ambiente que foi reservado.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: AmbienteFindOneResult,
type: AmbienteFindOneResult as any,
description: 'Ambiente que foi reservado.',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ export const Vinculo = () => {
input: {
required: true,
nullable: false,
type: UsuarioFindOneByIdInput,
type: UsuarioFindOneByIdInput as any,
description: 'Usuário do vínculo.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: UsuarioFindOneResult,
type: UsuarioFindOneResult as any,
description: 'Usuário do vínculo.',
},
},
Expand All @@ -103,14 +103,14 @@ export const Vinculo = () => {
input: {
required: true,
nullable: false,
type: CampusFindOneByIdInput,
type: CampusFindOneByIdInput as any,
description: 'Campus do vínculo.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: CampusFindOneResult,
type: CampusFindOneResult as any,
description: 'Campus do vínculo.',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ export const CampusPossuiModalidade = () => {
input: {
required: true,
nullable: false,
type: CampusFindOneByIdInput,
type: CampusFindOneByIdInput as any,
description: 'Campus do vínculo.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: CampusFindOneResult,
type: CampusFindOneResult as any,
description: 'Campus do vínculo.',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ export const DiarioProfessor = () => {
input: {
required: true,
nullable: false,
type: DiarioFindOneByIdInput,
type: DiarioFindOneByIdInput as any,
description: 'Diário vinculado.',
validator: ({ custom }) => custom.objectUuid({ nonNullable: true, optional: false }),
},
output: {
required: true,
nullable: false,
type: DiarioFindOneResult,
type: DiarioFindOneResult as any,
description: 'Diário vinculado.',
},
},
Expand Down

0 comments on commit fb3621d

Please sign in to comment.