@epilot/blueprint-manifest-client 2.2.2 → 2.2.4
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/openapi.d.ts +21 -1
- package/dist/openapi.json +11 -0
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./openapi"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
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 {
|
|
@@ -192,6 +193,11 @@ declare namespace Paths {
|
|
|
192
193
|
string?,
|
|
193
194
|
string?
|
|
194
195
|
];
|
|
196
|
+
/**
|
|
197
|
+
* Temporary flag to indicate if multiple resources are being exported
|
|
198
|
+
*/
|
|
199
|
+
isExportingMultipleResources?: boolean;
|
|
200
|
+
jobId?: string;
|
|
195
201
|
}
|
|
196
202
|
namespace Responses {
|
|
197
203
|
export interface $200 {
|
|
@@ -245,6 +251,10 @@ declare namespace Paths {
|
|
|
245
251
|
* journey_HouseConnectionJourney
|
|
246
252
|
*/
|
|
247
253
|
resourceName?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Temporary flag to indicate if multiple resources are being exported
|
|
256
|
+
*/
|
|
257
|
+
isExportingMultipleResources?: boolean;
|
|
248
258
|
}
|
|
249
259
|
namespace Responses {
|
|
250
260
|
export interface $200 {
|
|
@@ -431,3 +441,13 @@ export interface PathsDictionary {
|
|
|
431
441
|
}
|
|
432
442
|
|
|
433
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/dist/openapi.json
CHANGED
|
@@ -102,6 +102,13 @@
|
|
|
102
102
|
},
|
|
103
103
|
"minItems": 1,
|
|
104
104
|
"maxItems": 25
|
|
105
|
+
},
|
|
106
|
+
"isExportingMultipleResources": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"description": "Temporary flag to indicate if multiple resources are being exported"
|
|
109
|
+
},
|
|
110
|
+
"jobId": {
|
|
111
|
+
"type": "string"
|
|
105
112
|
}
|
|
106
113
|
}
|
|
107
114
|
}
|
|
@@ -156,6 +163,10 @@
|
|
|
156
163
|
"resourceName": {
|
|
157
164
|
"type": "string",
|
|
158
165
|
"example": "journey_HouseConnectionJourney"
|
|
166
|
+
},
|
|
167
|
+
"isExportingMultipleResources": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"description": "Temporary flag to indicate if multiple resources are being exported"
|
|
159
170
|
}
|
|
160
171
|
}
|
|
161
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
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": "
|
|
29
|
+
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
30
|
"build": "tsc && npm run bundle-definition",
|
|
31
31
|
"build:watch": "npm run build && tsc -w",
|
|
32
32
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"copy-webpack-plugin": "^7.0.0",
|
|
64
64
|
"jest": "^26.6.3",
|
|
65
65
|
"json-loader": "^0.5.7",
|
|
66
|
-
"
|
|
67
|
-
"openapicmd": "^2.1.0",
|
|
66
|
+
"openapicmd": "^2.6.0",
|
|
68
67
|
"ts-jest": "^26.5.0",
|
|
69
68
|
"ts-loader": "^8.0.14",
|
|
70
69
|
"ts-node": "^10.9.1",
|