types-nora-api 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes.js +14 -0
- package/package.json +17 -6
- package/entidades.d.ts +0 -2
- package/index.d.ts +0 -1
package/dist/classes.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Atributo = void 0;
|
|
4
|
+
class Atributo {
|
|
5
|
+
constructor(id, nome, descricao) {
|
|
6
|
+
this.id = id;
|
|
7
|
+
this.nome = nome;
|
|
8
|
+
this.descricao = descricao;
|
|
9
|
+
}
|
|
10
|
+
get nomeTeste() {
|
|
11
|
+
return `${this.nome} teste`;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Atributo = Atributo;
|
package/package.json
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "types-nora-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Tipagem da Nora-Api compartilhada com o universodomedo.com",
|
|
5
|
-
"
|
|
5
|
+
"main": "dist/classes.js",
|
|
6
|
+
"types": "dist/classes.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"prepublish": "npm run build && npm run geraClasses",
|
|
9
|
+
"build": "tsc -p .",
|
|
10
|
+
"geraClasses": "ts-node scripts/geraClasses.ts",
|
|
11
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
12
|
+
},
|
|
6
13
|
"files": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
14
|
+
"dist/classes.js",
|
|
15
|
+
"dist/classes.d.ts"
|
|
16
|
+
],
|
|
10
17
|
"author": "Caio Vigiani",
|
|
11
|
-
"license": "MIT"
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"ts-morph": "^25.0.1",
|
|
21
|
+
"typescript": "^5.0.0"
|
|
22
|
+
}
|
|
12
23
|
}
|
package/entidades.d.ts
DELETED
package/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./entidades";
|