@infrascan/shared-types 0.2.1 → 0.2.3

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @infrascan/shared-types
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#49](https://github.com/infrascan/infrascan/pull/49) [`c70ad53`](https://github.com/infrascan/infrascan/commit/c70ad53f573a5cf5f600d3f9866f36b3ec6239a0) Thanks [@lfarrel6](https://github.com/lfarrel6)! - Update ECS Scanner to filter out empty lists when pulling parameters.
8
+
9
+ Remove unused key in shared-types scanner definitions.
10
+
11
+ ## 0.2.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#41](https://github.com/infrascan/infrascan/pull/41) [`c84fa87`](https://github.com/infrascan/infrascan/commit/c84fa87fa66fef97533ea597f431c8fe135cf1b2) Thanks [@lfarrel6](https://github.com/lfarrel6)! - Update documentation and add missing keywords to package.json
16
+
3
17
  ## 0.2.1
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@infrascan/shared-types",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Shared types for multiple infrascan packages",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "lint": "tsc --noEmit ; eslint ."
8
8
  },
9
- "keywords": [],
9
+ "keywords": [
10
+ "Infrascan Typings"
11
+ ],
10
12
  "author": "Liam Farrelly <liam@l3f7.dev> (https://whoisli.am/)",
11
13
  "license": "MPL-2.0",
12
14
  "devDependencies": {
package/src/config.ts CHANGED
@@ -15,10 +15,9 @@ export type BaseGetter = {
15
15
  id?: string;
16
16
  fn: string;
17
17
  /* eslint-disable @typescript-eslint/no-explicit-any */
18
- parameters?: (BaseParameterResolver & { Value?: any, Selector?: string })[];
18
+ parameters?: (BaseParameterResolver & { Value?: any; Selector?: string })[];
19
19
  formatter?: string;
20
20
  paginationToken?: PaginationToken;
21
- iamRoleSelectors?: string[];
22
21
  };
23
22
 
24
23
  export type GenericNodeSelector = `${string}|${string}|${string}`;
@@ -39,7 +38,7 @@ export type BaseScannerDefinition = {
39
38
  callPerRegion: boolean;
40
39
  // Scanner functions for pulling state from a service
41
40
  getters: BaseGetter[];
42
- // Scrapers for pulling Nodes from service state
41
+ // Scrapers for pulling Nodes from service state
43
42
  nodes?: GenericNodeSelector[];
44
43
  // Scrapers for pulling Edges from service state
45
44
  edges?: BaseEdgeResolver[];
@@ -112,7 +111,6 @@ export type ServiceGetter<
112
111
  fn: AvailableCommand<Serv, Funcs>;
113
112
  paginationToken?: PaginationToken;
114
113
  parameters?: ParameterResolver<ServiceName, Serv, Funcs>[];
115
- iamRoleSelectors?: string[];
116
114
  };
117
115
 
118
116
  export type ScannerDefinition<