Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,3 @@ | ||
type State = "rj" | "sp"; | ||
type Zone = "sul" | "oeste" | "central" | "norte" | "leste"; | ||
type Favela = { | ||
@@ -5,7 +7,5 @@ id: number; | ||
complex: string; | ||
zone: string; | ||
zone: Zone; | ||
neighborhoods: string; | ||
}; | ||
type State = "rj" | "sp"; | ||
type Zone = "sul" | "oeste" | "central" | "norte"; | ||
declare class Favelas { | ||
@@ -12,0 +12,0 @@ state: State; |
@@ -0,1 +1,3 @@ | ||
type State = "rj" | "sp"; | ||
type Zone = "sul" | "oeste" | "central" | "norte" | "leste"; | ||
type Favela = { | ||
@@ -5,7 +7,5 @@ id: number; | ||
complex: string; | ||
zone: string; | ||
zone: Zone; | ||
neighborhoods: string; | ||
}; | ||
type State = "rj" | "sp"; | ||
type Zone = "sul" | "oeste" | "central" | "norte"; | ||
declare class Favelas { | ||
@@ -12,0 +12,0 @@ state: State; |
{ | ||
"name": "favelas", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "dist/es5/index.js", | ||
@@ -28,3 +28,2 @@ "module": "dist/es6/index.js", | ||
"jest": "^29.7.0", | ||
"parcel": "^2.5.0", | ||
"ts-jest": "^29.1.1", | ||
@@ -31,0 +30,0 @@ "ts-node": "^10.9.2", |
@@ -28,2 +28,18 @@ ## FAVELAS | ||
## TYPES | ||
```js | ||
type Favela = { | ||
id: number, | ||
name: string, | ||
complex: string, | ||
zone: Zone, | ||
neighborhoods: string, | ||
}; | ||
type State = "rj" | "sp"; | ||
type Zone = "sul" | "oeste" | "central" | "norte"; | ||
``` | ||
## API | ||
@@ -30,0 +46,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
198924
8
93
0