@forge/cli-shared 7.0.0-next.6-experimental-bebf085 → 7.0.0-next.8
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 +7 -17
- package/out/app-logs/graphql-client.d.ts.map +1 -1
- package/out/app-logs/graphql-client.js +1 -3
- package/out/app-logs/view-logs.d.ts +1 -7
- package/out/app-logs/view-logs.d.ts.map +1 -1
- package/out/app-logs/view-logs.js +2 -10
- package/out/graphql/graphql-types.d.ts +1 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/ui/text.d.ts +0 -2
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +1 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,18 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 7.0.0-next.
|
|
3
|
+
## 7.0.0-next.8
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
- 27f557d: Improve forge tunnel debugFunctionHandlers error handling
|
|
8
|
-
- bf8b1c7: Added new command line option "-c" or "--container" in forge logs command to fetch Container logs
|
|
9
|
-
- 3b2ffa9: updated the type of appVersion
|
|
10
|
-
- 3b2ffa9: update appVersion type in logs command
|
|
5
|
+
### Patch Changes
|
|
11
6
|
|
|
12
|
-
|
|
7
|
+
- Updated dependencies [8f741c6]
|
|
8
|
+
- @forge/manifest@9.4.0-next.4
|
|
13
9
|
|
|
14
|
-
-
|
|
10
|
+
## 7.0.0-next.7
|
|
15
11
|
|
|
16
12
|
### Patch Changes
|
|
17
13
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- 3af315d: Use .cjs extension for the single wrapper
|
|
21
|
-
- 7c02425: Unhide forge build commands
|
|
22
|
-
- Updated dependencies [35165ba]
|
|
23
|
-
- Updated dependencies [fe7e7e9]
|
|
24
|
-
- Updated dependencies [b25d06e]
|
|
25
|
-
- @forge/manifest@9.4.0-next.2-experimental-bebf085
|
|
14
|
+
- Updated dependencies [01be5cc]
|
|
15
|
+
- @forge/manifest@9.4.0-next.3
|
|
26
16
|
|
|
27
17
|
## 7.0.0-next.6
|
|
28
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/app-logs/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6E,aAAa,EAAE,MAAM,YAAY,CAAC;AAEtH,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAwBrB,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AACjD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,sBAAuB,SAAQ,KAAK;CAAG;AACpD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,iBAAkB,YAAW,iBAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,kBAAkB,CAAC,OAAO,EAAE,wBAAwB;;;;;;;IAapD,aAAa,CACxB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACtC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/app-logs/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6E,aAAa,EAAE,MAAM,YAAY,CAAC;AAEtH,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAwBrB,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AACjD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,sBAAuB,SAAQ,KAAK;CAAG;AACpD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,iBAAkB,YAAW,iBAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,kBAAkB,CAAC,OAAO,EAAE,wBAAwB;;;;;;;IAapD,aAAa,CACxB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACtC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC;IAkFX,WAAW,CAAC,OAAO,EAAE,cAAc;IAwEhD,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,eAAe;YAcT,iBAAiB;CAqDhC"}
|
|
@@ -42,8 +42,7 @@ class LogsGraphQLClient {
|
|
|
42
42
|
$dateSearchInput: DateSearchInput,
|
|
43
43
|
$offset: Int!,
|
|
44
44
|
$limit: Int!,
|
|
45
|
-
$queryStartTime: String
|
|
46
|
-
$runtime: String
|
|
45
|
+
$queryStartTime: String!
|
|
47
46
|
) {
|
|
48
47
|
appLogsWithMetaData(
|
|
49
48
|
appId: $appId
|
|
@@ -53,7 +52,6 @@ class LogsGraphQLClient {
|
|
|
53
52
|
queryStartTime: $queryStartTime
|
|
54
53
|
query: {
|
|
55
54
|
dates: $dateSearchInput
|
|
56
|
-
runtime: $runtime
|
|
57
55
|
}
|
|
58
56
|
) {
|
|
59
57
|
appLogs {
|
|
@@ -17,7 +17,6 @@ export interface QueryDetails {
|
|
|
17
17
|
limit: number;
|
|
18
18
|
context?: InstallContext;
|
|
19
19
|
startTime?: string | null;
|
|
20
|
-
containers?: boolean;
|
|
21
20
|
}
|
|
22
21
|
export declare type AppLogsDetails = {
|
|
23
22
|
appId: string;
|
|
@@ -25,7 +24,6 @@ export declare type AppLogsDetails = {
|
|
|
25
24
|
limit: number;
|
|
26
25
|
startTime?: string | null;
|
|
27
26
|
contextAri?: [Ari];
|
|
28
|
-
runtime?: string | null;
|
|
29
27
|
};
|
|
30
28
|
export declare type AppLogsDetailsV2 = AppLogsDetails & {
|
|
31
29
|
offset: number;
|
|
@@ -54,10 +52,6 @@ export interface Invocation {
|
|
|
54
52
|
function?: string;
|
|
55
53
|
trigger?: string;
|
|
56
54
|
}
|
|
57
|
-
export declare enum Runtime {
|
|
58
|
-
RUNTIMEV2 = "RUNTIMEV2",
|
|
59
|
-
CONTAINER = "CONTAINER"
|
|
60
|
-
}
|
|
61
55
|
export interface ViewAppLogsClient {
|
|
62
56
|
viewAppLogs(details: AppLogsDetails): Promise<Invocation[]>;
|
|
63
57
|
viewAppLogsV2(details: AppLogsDetailsV2, invocationMap: Map<string, Invocation>, totalRecieved: number): Promise<Invocation[]>;
|
|
@@ -70,7 +64,7 @@ export declare class ViewAppLogsCommand {
|
|
|
70
64
|
private readonly logsClient;
|
|
71
65
|
private readonly statsigService;
|
|
72
66
|
constructor(getAppConfig: AppConfigProvider, appEnvironmentClient: AppEnvironmentClient, globalEdgeClient: GlobalEdgeClient, logsClient: ViewAppLogsClient, statsigService: StatsigService);
|
|
73
|
-
getAll({ environmentKey, limit, context, startTime
|
|
67
|
+
getAll({ environmentKey, limit, context, startTime }: QueryDetails): Promise<Invocation[]>;
|
|
74
68
|
getLogs(details: AppLogsDetails): Promise<Invocation[]>;
|
|
75
69
|
getOne(details: InvocationQueryDetails): Promise<Invocation>;
|
|
76
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-logs.d.ts","sourceRoot":"","sources":["../../src/app-logs/view-logs.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAmB,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC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AAC;CAC5E;AAED,qBAAa,kBAAkB;IAK3B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAJd,YAAY,EAAE,iBAAiB,EAC/B,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,iBAAiB,EAC7B,cAAc,EAAE,cAAc;IAGpC,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE,SAAgB,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA0BjG,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IA2BvD,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;CAI1E"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ViewAppLogsCommand =
|
|
3
|
+
exports.ViewAppLogsCommand = void 0;
|
|
4
4
|
const ari_1 = require("@forge/util/packages/ari");
|
|
5
5
|
const ari_2 = require("../ari");
|
|
6
|
-
var Runtime;
|
|
7
|
-
(function (Runtime) {
|
|
8
|
-
Runtime["RUNTIMEV2"] = "RUNTIMEV2";
|
|
9
|
-
Runtime["CONTAINER"] = "CONTAINER";
|
|
10
|
-
})(Runtime = exports.Runtime || (exports.Runtime = {}));
|
|
11
6
|
class ViewAppLogsCommand {
|
|
12
7
|
getAppConfig;
|
|
13
8
|
appEnvironmentClient;
|
|
@@ -21,7 +16,7 @@ class ViewAppLogsCommand {
|
|
|
21
16
|
this.logsClient = logsClient;
|
|
22
17
|
this.statsigService = statsigService;
|
|
23
18
|
}
|
|
24
|
-
async getAll({ environmentKey, limit, context, startTime = null
|
|
19
|
+
async getAll({ environmentKey, limit, context, startTime = null }) {
|
|
25
20
|
const { id: appId } = await this.getAppConfig();
|
|
26
21
|
const [environmentId, cloudId] = await Promise.all([
|
|
27
22
|
this.appEnvironmentClient.getAppEnvironmentId(appId, environmentKey),
|
|
@@ -35,9 +30,6 @@ class ViewAppLogsCommand {
|
|
|
35
30
|
startTime,
|
|
36
31
|
contextAri: contextAri ? [contextAri] : undefined
|
|
37
32
|
};
|
|
38
|
-
if (containers) {
|
|
39
|
-
details.runtime = Runtime.CONTAINER.toLowerCase();
|
|
40
|
-
}
|
|
41
33
|
const isV2ApiEnabled = await this.statsigService.isLogsV2ApiEnabled();
|
|
42
34
|
if (isV2ApiEnabled) {
|
|
43
35
|
return this.getLogs(details);
|
|
@@ -21223,6 +21223,7 @@ export declare type CsmAiUpdateHandoffConfigPayload = Payload & {
|
|
|
21223
21223
|
__typename?: 'CsmAiUpdateHandoffConfigPayload';
|
|
21224
21224
|
errors?: Maybe<Array<MutationError>>;
|
|
21225
21225
|
handoffConfig?: Maybe<CsmAiHandoffConfig>;
|
|
21226
|
+
handoffConfigs?: Maybe<Array<CsmAiHandoffConfig>>;
|
|
21226
21227
|
success: Scalars['Boolean']['output'];
|
|
21227
21228
|
};
|
|
21228
21229
|
export declare type CumulativeFlowDiagram = {
|