@forge/cli-shared 9.7.0-next.1 → 9.7.0-next.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/out/graphql/graphql-types.d.ts +23 -1
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +2 -0
- package/out/http-client/file-uploader.d.ts.map +1 -1
- package/out/http-client/file-uploader.js +2 -1
- package/out/http-client/node-request.d.ts +2 -0
- package/out/http-client/node-request.d.ts.map +1 -1
- package/out/http-client/node-request.js +4 -3
- package/package.json +1 -1
|
@@ -17366,7 +17366,9 @@ var ProactiveAiRovoInsightsInsightType;
|
|
|
17366
17366
|
})(ProactiveAiRovoInsightsInsightType || (exports.ProactiveAiRovoInsightsInsightType = ProactiveAiRovoInsightsInsightType = {}));
|
|
17367
17367
|
var ProactiveAiUserActionItemFeedbackReaction;
|
|
17368
17368
|
(function (ProactiveAiUserActionItemFeedbackReaction) {
|
|
17369
|
+
ProactiveAiUserActionItemFeedbackReaction["Dislike"] = "DISLIKE";
|
|
17369
17370
|
ProactiveAiUserActionItemFeedbackReaction["Dismiss"] = "DISMISS";
|
|
17371
|
+
ProactiveAiUserActionItemFeedbackReaction["Like"] = "LIKE";
|
|
17370
17372
|
})(ProactiveAiUserActionItemFeedbackReaction || (exports.ProactiveAiUserActionItemFeedbackReaction = ProactiveAiUserActionItemFeedbackReaction = {}));
|
|
17371
17373
|
var ProactiveAiUserActionItemSource;
|
|
17372
17374
|
(function (ProactiveAiUserActionItemSource) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-uploader.d.ts","sourceRoot":"","sources":["../../src/http-client/file-uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIlD,qBAAa,qBAAsB,SAAQ,KAAK;CAAG;AACnD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,MAAM,WAAW,YAAY;IAC3B,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9D;AAkBD,qBAAa,gBAAiB,YAAW,YAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,gBAAgB;IAE5C,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"file-uploader.d.ts","sourceRoot":"","sources":["../../src/http-client/file-uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIlD,qBAAa,qBAAsB,SAAQ,KAAK;CAAG;AACnD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,MAAM,WAAW,YAAY;IAC3B,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9D;AAkBD,qBAAa,gBAAiB,YAAW,YAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,gBAAgB;IAE5C,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAgB1E"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import http from 'http';
|
|
2
|
+
export declare const DEFAULT_NODE_REQUEST_TIMEOUT_MS = 30000;
|
|
3
|
+
export declare const DEFAULT_NODE_UPLOAD_TIMEOUT_MS = 300000;
|
|
2
4
|
export declare const toHeaders: (rawHeaders: http.IncomingHttpHeaders) => Headers;
|
|
3
5
|
export declare const sendWithNodeRequest: ({ method, url, headers, body, timeoutMs }: {
|
|
4
6
|
method: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-request.d.ts","sourceRoot":"","sources":["../../src/http-client/node-request.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"node-request.d.ts","sourceRoot":"","sources":["../../src/http-client/node-request.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAKxB,eAAO,MAAM,+BAA+B,QAAS,CAAC;AAEtD,eAAO,MAAM,8BAA8B,SAAU,CAAC;AAGtD,eAAO,MAAM,SAAS,GAAI,YAAY,IAAI,CAAC,mBAAmB,KAAG,OAYhE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,2CAMjC;IACD,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,KAAG,OAAO,CAAC,QAAQ,CAsCnB,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sendWithNodeRequest = exports.toHeaders = void 0;
|
|
3
|
+
exports.sendWithNodeRequest = exports.toHeaders = exports.DEFAULT_NODE_UPLOAD_TIMEOUT_MS = exports.DEFAULT_NODE_REQUEST_TIMEOUT_MS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const http_1 = tslib_1.__importDefault(require("http"));
|
|
6
6
|
const https_1 = tslib_1.__importDefault(require("https"));
|
|
7
7
|
const url_1 = require("url");
|
|
8
8
|
const DEFAULT_HTTP_ERROR_STATUS = 500;
|
|
9
|
-
|
|
9
|
+
exports.DEFAULT_NODE_REQUEST_TIMEOUT_MS = 30_000;
|
|
10
|
+
exports.DEFAULT_NODE_UPLOAD_TIMEOUT_MS = 300_000;
|
|
10
11
|
const NO_BODY_STATUS_CODES = new Set([204, 205, 304]);
|
|
11
12
|
const toHeaders = (rawHeaders) => {
|
|
12
13
|
const headers = new Headers();
|
|
@@ -22,7 +23,7 @@ const toHeaders = (rawHeaders) => {
|
|
|
22
23
|
return headers;
|
|
23
24
|
};
|
|
24
25
|
exports.toHeaders = toHeaders;
|
|
25
|
-
const sendWithNodeRequest = ({ method, url, headers, body, timeoutMs = DEFAULT_NODE_REQUEST_TIMEOUT_MS }) => {
|
|
26
|
+
const sendWithNodeRequest = ({ method, url, headers, body, timeoutMs = exports.DEFAULT_NODE_REQUEST_TIMEOUT_MS }) => {
|
|
26
27
|
return new Promise((resolve, reject) => {
|
|
27
28
|
const parsedUrl = new url_1.URL(url);
|
|
28
29
|
const transport = parsedUrl.protocol === 'https:' ? https_1.default : http_1.default;
|