@forge/cli-shared 5.5.2-next.3 → 5.5.2-next.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/CHANGELOG.md +6 -0
- package/out/ari/ari.d.ts +6 -1
- package/out/ari/ari.d.ts.map +1 -1
- package/out/ari/ari.js +6 -1
- package/out/graphql/graphql-types.d.ts +48 -1
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/ui/text.d.ts +1 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/out/ari/ari.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ari, AnyAri } from '@forge/util/packages/ari';
|
|
1
|
+
import { Ari, AnyAri, JiraWorkspaceAri, ConfluenceWorkspaceAri, CompassWorkspaceAri } from '@forge/util/packages/ari';
|
|
2
2
|
export declare const SITE_RESOURCE_TYPE = "site";
|
|
3
3
|
export declare const WORKSPACE_RESOURCE_TYPE = "workspace";
|
|
4
4
|
export declare const TRELLO_RESOURCE_OWNER = "trello";
|
|
@@ -20,4 +20,9 @@ export interface EnrichedAri extends AnyAri {
|
|
|
20
20
|
derivedCloudId: string;
|
|
21
21
|
}
|
|
22
22
|
export declare function parseInstallationContext(installationContext: string): EnrichedAri;
|
|
23
|
+
export declare const createWorkspaceAriByProduct: {
|
|
24
|
+
jira: (siteId: string, activationId: string) => JiraWorkspaceAri;
|
|
25
|
+
confluence: (siteId: string, activationId: string) => ConfluenceWorkspaceAri;
|
|
26
|
+
compass: (siteId: string, workspaceId: string) => CompassWorkspaceAri;
|
|
27
|
+
};
|
|
23
28
|
//# sourceMappingURL=ari.d.ts.map
|
package/out/ari/ari.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAItH,eAAO,MAAM,kBAAkB,SAAS,CAAC;AACzC,eAAO,MAAM,uBAAuB,cAAc,CAAC;AACnD,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AAEpD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAID,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAMrE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,GAAG,CAMhG;AAGD,wBAAgB,aAAa,CAAC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,MAAM,CAKlE;AACD,qBAAa,iCAAkC,SAAQ,KAAK;;CAI3D;AACD,qBAAa,mCAAoC,SAAQ,KAAK;;CAI7D;AAED,qBAAa,wCAAyC,SAAQ,KAAK;;CAIlE;AASD,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,wBAAgB,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,WAAW,CAyBjF;AAED,eAAO,MAAM,2BAA2B;mBACvB,MAAM,gBAAgB,MAAM;yBACtB,MAAM,gBAAgB,MAAM;sBAC/B,MAAM,eAAe,MAAM;CAC9C,CAAC"}
|
package/out/ari/ari.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseInstallationContext = exports.UnknownBBWorkspaceWithoutResourceIdError = exports.UnknownWorkspaceWithoutCloudIdError = exports.UnknownSiteWithoutResourceIdError = exports.encodeContext = exports.buildExtensionAri = exports.buildContextAri = exports.appIdToAriString = exports.BITBUCKET_RESOURCE_OWNER = exports.TRELLO_RESOURCE_OWNER = exports.WORKSPACE_RESOURCE_TYPE = exports.SITE_RESOURCE_TYPE = void 0;
|
|
3
|
+
exports.createWorkspaceAriByProduct = exports.parseInstallationContext = exports.UnknownBBWorkspaceWithoutResourceIdError = exports.UnknownWorkspaceWithoutCloudIdError = exports.UnknownSiteWithoutResourceIdError = exports.encodeContext = exports.buildExtensionAri = exports.buildContextAri = exports.appIdToAriString = exports.BITBUCKET_RESOURCE_OWNER = exports.TRELLO_RESOURCE_OWNER = exports.WORKSPACE_RESOURCE_TYPE = exports.SITE_RESOURCE_TYPE = void 0;
|
|
4
4
|
const ari_1 = require("@forge/util/packages/ari");
|
|
5
5
|
const shared_1 = require("../shared");
|
|
6
6
|
const ui_1 = require("../ui");
|
|
@@ -79,3 +79,8 @@ function parseInstallationContext(installationContext) {
|
|
|
79
79
|
return context;
|
|
80
80
|
}
|
|
81
81
|
exports.parseInstallationContext = parseInstallationContext;
|
|
82
|
+
exports.createWorkspaceAriByProduct = {
|
|
83
|
+
jira: (siteId, activationId) => ari_1.JiraWorkspaceAri.create({ siteId, activationId }),
|
|
84
|
+
confluence: (siteId, activationId) => ari_1.ConfluenceWorkspaceAri.create({ siteId, activationId }),
|
|
85
|
+
compass: (siteId, workspaceId) => ari_1.CompassWorkspaceAri.create({ siteId, workspaceId })
|
|
86
|
+
};
|
|
@@ -24714,6 +24714,8 @@ export declare type GraphStore = {
|
|
|
24714
24714
|
appInstallationAssociatedToOperationsWorkspaceRelationship?: Maybe<GraphStoreFullAppInstallationAssociatedToOperationsWorkspaceConnection>;
|
|
24715
24715
|
appInstallationAssociatedToSecurityWorkspaceInverseRelationship?: Maybe<GraphStoreFullAppInstallationAssociatedToSecurityWorkspaceConnection>;
|
|
24716
24716
|
appInstallationAssociatedToSecurityWorkspaceRelationship?: Maybe<GraphStoreFullAppInstallationAssociatedToSecurityWorkspaceConnection>;
|
|
24717
|
+
atlasGoalHasSubAtlasGoal?: Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalConnection>;
|
|
24718
|
+
atlasGoalHasSubAtlasGoalInverse?: Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseConnection>;
|
|
24717
24719
|
atlasProjectContributesToAtlasGoal?: Maybe<GraphStoreSimplifiedAtlasProjectContributesToAtlasGoalConnection>;
|
|
24718
24720
|
atlasProjectContributesToAtlasGoalInverse?: Maybe<GraphStoreSimplifiedAtlasProjectContributesToAtlasGoalInverseConnection>;
|
|
24719
24721
|
atlasProjectContributesToAtlasGoalInverseRelationship?: Maybe<GraphStoreFullAtlasProjectContributesToAtlasGoalConnection>;
|
|
@@ -25103,6 +25105,20 @@ export declare type GraphStoreAppInstallationAssociatedToSecurityWorkspaceRelati
|
|
|
25103
25105
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
25104
25106
|
id: Scalars['ID']['input'];
|
|
25105
25107
|
};
|
|
25108
|
+
export declare type GraphStoreAtlasGoalHasSubAtlasGoalArgs = {
|
|
25109
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
25110
|
+
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
25111
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
25112
|
+
id: Scalars['ID']['input'];
|
|
25113
|
+
sort?: InputMaybe<GraphStoreAtlasGoalHasSubAtlasGoalSortInput>;
|
|
25114
|
+
};
|
|
25115
|
+
export declare type GraphStoreAtlasGoalHasSubAtlasGoalInverseArgs = {
|
|
25116
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
25117
|
+
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
25118
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
25119
|
+
id: Scalars['ID']['input'];
|
|
25120
|
+
sort?: InputMaybe<GraphStoreAtlasGoalHasSubAtlasGoalSortInput>;
|
|
25121
|
+
};
|
|
25106
25122
|
export declare type GraphStoreAtlasProjectContributesToAtlasGoalArgs = {
|
|
25107
25123
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
25108
25124
|
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -27429,6 +27445,9 @@ export declare type GraphStoreAtiFilterInput = {
|
|
|
27429
27445
|
is?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
27430
27446
|
isNot?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
27431
27447
|
};
|
|
27448
|
+
export declare type GraphStoreAtlasGoalHasSubAtlasGoalSortInput = {
|
|
27449
|
+
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
27450
|
+
};
|
|
27432
27451
|
export declare type GraphStoreAtlasProjectContributesToAtlasGoalSortInput = {
|
|
27433
27452
|
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
27434
27453
|
};
|
|
@@ -33125,6 +33144,34 @@ export declare type GraphStoreShipit57IssueRecursiveLinksToPageSortInput = {
|
|
|
33125
33144
|
export declare type GraphStoreShipit57PullRequestLinksToPageSortInput = {
|
|
33126
33145
|
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
33127
33146
|
};
|
|
33147
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalConnection = HasPageInfo & {
|
|
33148
|
+
__typename?: 'GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalConnection';
|
|
33149
|
+
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalEdge>>>;
|
|
33150
|
+
pageInfo: PageInfo;
|
|
33151
|
+
};
|
|
33152
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalEdge = {
|
|
33153
|
+
__typename?: 'GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalEdge';
|
|
33154
|
+
createdAt: Scalars['DateTime']['output'];
|
|
33155
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
33156
|
+
id: Scalars['ID']['output'];
|
|
33157
|
+
lastUpdated: Scalars['DateTime']['output'];
|
|
33158
|
+
node?: Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalUnion>;
|
|
33159
|
+
};
|
|
33160
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseConnection = HasPageInfo & {
|
|
33161
|
+
__typename?: 'GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseConnection';
|
|
33162
|
+
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseEdge>>>;
|
|
33163
|
+
pageInfo: PageInfo;
|
|
33164
|
+
};
|
|
33165
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseEdge = {
|
|
33166
|
+
__typename?: 'GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseEdge';
|
|
33167
|
+
createdAt: Scalars['DateTime']['output'];
|
|
33168
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
33169
|
+
id: Scalars['ID']['output'];
|
|
33170
|
+
lastUpdated: Scalars['DateTime']['output'];
|
|
33171
|
+
node?: Maybe<GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseUnion>;
|
|
33172
|
+
};
|
|
33173
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalInverseUnion = TownsquareGoal;
|
|
33174
|
+
export declare type GraphStoreSimplifiedAtlasGoalHasSubAtlasGoalUnion = TownsquareGoal;
|
|
33128
33175
|
export declare type GraphStoreSimplifiedAtlasProjectContributesToAtlasGoalConnection = HasPageInfo & {
|
|
33129
33176
|
__typename?: 'GraphStoreSimplifiedAtlasProjectContributesToAtlasGoalConnection';
|
|
33130
33177
|
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedAtlasProjectContributesToAtlasGoalEdge>>>;
|
|
@@ -53531,7 +53578,7 @@ export declare type JsmChatJiraFieldAppendix = {
|
|
|
53531
53578
|
export declare type JsmChatMessageConnection = {
|
|
53532
53579
|
__typename?: 'JsmChatMessageConnection';
|
|
53533
53580
|
edges?: Maybe<Array<Maybe<JsmChatMessageEdge>>>;
|
|
53534
|
-
pageInfo
|
|
53581
|
+
pageInfo?: Maybe<PageInfo>;
|
|
53535
53582
|
};
|
|
53536
53583
|
export declare type JsmChatMessageEdge = {
|
|
53537
53584
|
__typename?: 'JsmChatMessageEdge';
|