Skip to content

Commit

Permalink
Merge pull request #28 from sisgha/dev-gabriel
Browse files Browse the repository at this point in the history
change(package): tsconfig: back to module Node16
  • Loading branch information
guesant authored Apr 27, 2024
2 parents 196ee31 + 8c6c4cb commit 1f8f577
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion javascript/sisgea-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@sisgea/spec",
"version": "1.1.0-development.33",
"main": "dist/index.js",
"type": "module",
"sideEffects": false,
"files": [
"*.md",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type IAmbienteModel = {
nome: string;
descricao: string;
codigo: string;
capacidade: string | null;
capacidade: number | null;
tipo: string | null;
bloco: IBlocoModel;
imagemCapa: IImagemModel | null;
Expand All @@ -36,7 +36,6 @@ export type IAmbienteInputDto = {
tipo: IAmbienteModel['tipo'];
//
bloco: IObjectUuid;
modalidade: IObjectUuid;
};

export type IAmbienteFindOneResultDto = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export type IBlocoUpdateDto = {
id: string;
nome: string | undefined;
codigo: string | undefined;
campus: IObjectUuid | undefined;
// campus: IObjectUuid | undefined;
};

// ==================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type IEnderecoModel = {
//
cep: string;
logradouro: string;
numero: string;
numero: number;
bairro: string;
complemento: string | null;
pontoReferencia: string | null;
Expand All @@ -28,7 +28,7 @@ export type IEnderecoFindOneResultDto = {
//
cep: string;
logradouro: string;
numero: string;
numero: number;
bairro: string;
complemento: string | null;
pontoReferencia: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export type IModalidadeInputDto = {
export type IModalidadeCreateDto = IModalidadeInputDto;

export type IModalidadeUpdateDto = {
id: string;
nome: string | undefined;
slug: string | undefined;
};
Expand Down
6 changes: 3 additions & 3 deletions javascript/sisgea-spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"strict": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"target": "es2017",
"module": "Node16",
"moduleResolution": "Node16",
"lib": ["esnext", "DOM"],
"resolveJsonModule": true,
"declaration": true,
Expand Down

0 comments on commit 1f8f577

Please sign in to comment.