@infrascan/shared-types 0.6.1 → 0.6.2
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/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/src/graph.ts +4 -4
- package/src/plugins.ts +2 -2
- package/src/scan.ts +1 -1
- package/tsconfig.json +2 -1
- package/.eslintrc.js +0 -9
- package/typedoc.json +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @infrascan/shared-types
|
|
2
2
|
|
|
3
|
+
## 0.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#110](https://github.com/infrascan/infrascan/pull/110) [`6238e6eb0cd1299607dd788ab385215a1aee3c39`](https://github.com/infrascan/infrascan/commit/6238e6eb0cd1299607dd788ab385215a1aee3c39) Thanks [@lfarrel6](https://github.com/lfarrel6)! - Improve typescript interfaces — correct api for s3 connector to better adhere to interface, tidy up type imports for shared types lib
|
|
8
|
+
|
|
3
9
|
## 0.6.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrascan/shared-types",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Shared types for multiple infrascan packages",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"@aws-sdk/types": "3.609.0",
|
|
16
16
|
"eslint-config-custom": "*",
|
|
17
17
|
"tsconfig": "*",
|
|
18
|
-
"typescript": "^5.
|
|
18
|
+
"typescript": "^5.4.5"
|
|
19
19
|
}
|
|
20
|
-
}
|
|
20
|
+
}
|
package/src/graph.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseState } from "./scan";
|
|
1
|
+
import type { BaseState } from "./scan";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A node returned from a state selector before its been formatted for a graphing library
|
|
@@ -24,9 +24,9 @@ export interface SelectedEdge {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// Create Read/Write types inspired by kysely
|
|
27
|
-
export type ElementType<
|
|
28
|
-
readonly _read:
|
|
29
|
-
readonly _write:
|
|
27
|
+
export type ElementType<RType, WType> = {
|
|
28
|
+
readonly _read: RType;
|
|
29
|
+
readonly _write: WType;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
package/src/plugins.ts
CHANGED
package/src/scan.ts
CHANGED
package/tsconfig.json
CHANGED
package/.eslintrc.js
DELETED
package/typedoc.json
DELETED