@epilot/blueprint-manifest-client 2.2.3 → 2.2.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 epilot GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export type { Document, OpenAPIClient, OpenAPIClientAxios } from 'openapi-client-axios';
2
2
  export type { Client, Components, OperationMethods, Paths, PathsDictionary } from './openapi';
3
3
  export * from './client';
4
+ export * from './openapi';
package/dist/openapi.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint-disable */
2
+
2
3
  import type {
3
4
  OpenAPIClient,
4
5
  Parameters,
5
6
  UnknownParamsObject,
6
7
  OperationResponse,
7
8
  AxiosRequestConfig,
8
- } from 'openapi-client-axios';
9
+ } from 'openapi-client-axios';
9
10
 
10
11
  declare namespace Components {
11
12
  namespace Parameters {
@@ -440,3 +441,13 @@ export interface PathsDictionary {
440
441
  }
441
442
 
442
443
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
444
+
445
+ export type Job = Components.Schemas.Job;
446
+ export type JobID = Components.Schemas.JobID;
447
+ export type JobStatus = Components.Schemas.JobStatus;
448
+ export type ResourceNode = Components.Schemas.ResourceNode;
449
+ export type ResourceNodeType = Components.Schemas.ResourceNodeType;
450
+ export type RootResourceNode = Components.Schemas.RootResourceNode;
451
+ export type S3Reference = Components.Schemas.S3Reference;
452
+ export type UploadFilePayload = Components.Schemas.UploadFilePayload;
453
+ export type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,8 +26,9 @@
26
26
  "bundle-definition": "webpack",
27
27
  "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
28
28
  "openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
29
- "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ./src/openapi.json >> src/openapi.d.ts",
30
- "build": "tsc && npm run bundle-definition",
29
+ "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
30
+ "build": "tsc && npm run build:patch && npm run bundle-definition",
31
+ "build:patch": "sed -i '/^__exportStar.*openapi.*$/d' dist/index.js",
31
32
  "build:watch": "npm run build && tsc -w",
32
33
  "prepublishOnly": "npm run typegen && npm run build",
33
34
  "lint": "../../node_modules/eslint/bin/eslint.js src"
@@ -63,8 +64,7 @@
63
64
  "copy-webpack-plugin": "^7.0.0",
64
65
  "jest": "^26.6.3",
65
66
  "json-loader": "^0.5.7",
66
- "openapi-client-axios-typegen": "^7.4.1",
67
- "openapicmd": "^2.1.0",
67
+ "openapicmd": "^2.6.0",
68
68
  "ts-jest": "^26.5.0",
69
69
  "ts-loader": "^8.0.14",
70
70
  "ts-node": "^10.9.1",
@@ -72,5 +72,5 @@
72
72
  "webpack": "^5.18.0",
73
73
  "webpack-cli": "^4.4.0"
74
74
  },
75
- "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
75
+ "gitHead": "cb7e6acc938eb178e531c19834ea8bd0d6445e6f"
76
76
  }