@forge/cli-shared 9.2.0-next.12 → 9.2.0-next.13
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
package/out/apps/app-config.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as t from 'io-ts';
|
|
2
2
|
import { ConfigSectionReader } from '../config';
|
|
3
|
+
import { AppFeature } from '../graphql';
|
|
3
4
|
export declare const appConfigShape: t.TypeC<{
|
|
4
5
|
id: t.StringC;
|
|
5
6
|
}>;
|
|
@@ -10,4 +11,5 @@ export declare function adjustLegacyAppId(legacyAppDetails: AppDetails): {
|
|
|
10
11
|
id: string;
|
|
11
12
|
};
|
|
12
13
|
export declare const assertiveAppConfigProvider: (appConfigReader: ConfigSectionReader<AppDetails>) => AppConfigProvider;
|
|
14
|
+
export declare function isPersonalApp(appFeatures?: AppFeature[]): boolean;
|
|
13
15
|
//# sourceMappingURL=app-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAiB,MAAM,YAAY,CAAC;AAEvD,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,eAAO,MAAM,YAAY,QAAQ,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,UAAU;;EAQ7D;AAED,eAAO,MAAM,0BAA0B,GACpC,iBAAiB,mBAAmB,CAAC,UAAU,CAAC,KAAG,iBAIxB,CAAC;AAE/B,wBAAgB,aAAa,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,GAAG,OAAO,CAEjE"}
|
package/out/apps/app-config.js
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertiveAppConfigProvider = exports.appConfigKey = exports.appConfigShape = void 0;
|
|
4
4
|
exports.adjustLegacyAppId = adjustLegacyAppId;
|
|
5
|
+
exports.isPersonalApp = isPersonalApp;
|
|
5
6
|
const tslib_1 = require("tslib");
|
|
6
7
|
const t = tslib_1.__importStar(require("io-ts"));
|
|
7
8
|
const ari_1 = require("../ari");
|
|
8
9
|
const config_1 = require("../config");
|
|
9
10
|
const ui_1 = require("../ui");
|
|
11
|
+
const graphql_1 = require("../graphql");
|
|
10
12
|
exports.appConfigShape = t.type({
|
|
11
13
|
id: t.string
|
|
12
14
|
});
|
|
@@ -24,3 +26,6 @@ const assertiveAppConfigProvider = (appConfigReader) => () => (0, config_1.asser
|
|
|
24
26
|
.readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid)
|
|
25
27
|
.then(adjustLegacyAppId);
|
|
26
28
|
exports.assertiveAppConfigProvider = assertiveAppConfigProvider;
|
|
29
|
+
function isPersonalApp(appFeatures) {
|
|
30
|
+
return appFeatures?.some((feature) => feature.key === graphql_1.AppFeatureKey.IsPersonalApp && feature.value) ?? false;
|
|
31
|
+
}
|
|
@@ -45225,6 +45225,7 @@ export type DevAiRovoDevSession = Node & {
|
|
|
45225
45225
|
sessionSandbox?: Maybe<DevAiSandbox>;
|
|
45226
45226
|
sessionStatus?: Maybe<DevAiRovoDevSessionStatus>;
|
|
45227
45227
|
sessionTitle?: Maybe<Scalars['String']['output']>;
|
|
45228
|
+
source?: Maybe<Scalars['String']['output']>;
|
|
45228
45229
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
45229
45230
|
workspaceAri?: Maybe<Scalars['ID']['output']>;
|
|
45230
45231
|
xid?: Maybe<Scalars['String']['output']>;
|