@forge/bridge 5.11.0-next.4 → 5.11.0-next.4-experimental-3c69930
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
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @forge/bridge
|
|
2
2
|
|
|
3
|
+
## 5.11.0-next.4-experimental-3c69930
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f058dd8: Expose Permissions API in @forge/bridge for Custom UI apps
|
|
8
|
+
- 140f500: Add view.onClose bridge method
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 28b4837: Updating types for configurable egress and remotes to match final state of API
|
|
13
|
+
- Updated dependencies [6b7a4ef]
|
|
14
|
+
- Updated dependencies [dfa2aa6]
|
|
15
|
+
- Updated dependencies [e21f32f]
|
|
16
|
+
- Updated dependencies [545ecc1]
|
|
17
|
+
- Updated dependencies [eadb4a6]
|
|
18
|
+
- Updated dependencies [8db2311]
|
|
19
|
+
- @forge/manifest@12.0.0-next.3-experimental-3c69930
|
|
20
|
+
|
|
3
21
|
## 5.11.0-next.4
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EgressDeleteGroupPayload, EgressDeleteDomainPayload, EgressGetPayload, EgressSetPayload, RemoteGetPayload, RemoteSetPayload, EgressGetResponse, EgressSetResponse,
|
|
1
|
+
import { EgressDeleteGroupPayload, EgressDeleteDomainPayload, EgressGetPayload, EgressSetPayload, RemoteGetPayload, RemoteSetPayload, EgressGetResponse, EgressSetResponse, Remote, EgressResult, RemoteGetResponse } from './types';
|
|
2
2
|
export declare const permissions: {
|
|
3
3
|
egress: {
|
|
4
4
|
get: (payload: EgressGetPayload) => Promise<EgressGetResponse>;
|
|
5
5
|
set: (payload: EgressSetPayload) => Promise<EgressSetResponse>;
|
|
6
|
-
deleteDomain: (payload: EgressDeleteDomainPayload) => Promise<
|
|
7
|
-
deleteGroup: (payload: EgressDeleteGroupPayload) => Promise<
|
|
6
|
+
deleteDomain: (payload: EgressDeleteDomainPayload) => Promise<void>;
|
|
7
|
+
deleteGroup: (payload: EgressDeleteGroupPayload) => Promise<void>;
|
|
8
8
|
};
|
|
9
9
|
remote: {
|
|
10
|
-
get: (payload: RemoteGetPayload) => Promise<
|
|
11
|
-
set: (payload: RemoteSetPayload) => Promise<
|
|
10
|
+
get: (payload: RemoteGetPayload) => Promise<RemoteGetResponse>;
|
|
11
|
+
set: (payload: RemoteSetPayload) => Promise<void>;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export { EgressDeleteGroupPayload, EgressDeleteDomainPayload, EgressGetPayload, EgressSetPayload, RemoteGetPayload, RemoteSetPayload, EgressGetResponse, EgressSetResponse,
|
|
14
|
+
export { EgressDeleteGroupPayload, EgressDeleteDomainPayload, EgressGetPayload, EgressSetPayload, RemoteGetPayload, RemoteSetPayload, EgressGetResponse, EgressSetResponse, Remote, EgressResult };
|
|
15
15
|
//# sourceMappingURL=permissions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/permissions/permissions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/permissions/permissions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACN,YAAY,EACZ,iBAAiB,EAClB,MAAM,SAAS,CAAC;AA4BjB,eAAO,MAAM,WAAW;;uBAxBU,gBAAgB,KAAG,QAAQ,iBAAiB,CAAC;uBAI7C,gBAAgB,KAAG,QAAQ,iBAAiB,CAAC;gCAIpC,yBAAyB,KAAG,QAAQ,IAAI,CAAC;+BAI1C,wBAAwB,KAAG,QAAQ,IAAI,CAAC;;;uBAIhD,gBAAgB,KAAG,QAAQ,iBAAiB,CAAC;uBAI7C,gBAAgB,KAAG,QAAQ,IAAI,CAAC;;CAejE,CAAC;AAEF,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACN,YAAY,EACb,CAAC"}
|
|
@@ -5,12 +5,12 @@ export declare type EgressGetPayload = {
|
|
|
5
5
|
nextPageToken?: string;
|
|
6
6
|
};
|
|
7
7
|
export declare type EgressSetPayload = {
|
|
8
|
-
|
|
8
|
+
egresses: {
|
|
9
9
|
key: string;
|
|
10
10
|
description: string;
|
|
11
11
|
configured: {
|
|
12
12
|
domain: string;
|
|
13
|
-
type: EgressType;
|
|
13
|
+
type: EgressType[];
|
|
14
14
|
}[];
|
|
15
15
|
}[];
|
|
16
16
|
};
|
|
@@ -33,9 +33,12 @@ export declare type Remote = {
|
|
|
33
33
|
endpoint: string | null;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
-
export declare type RemoteSetPayload =
|
|
36
|
+
export declare type RemoteSetPayload = {
|
|
37
|
+
remotes: Remote[];
|
|
38
|
+
};
|
|
37
39
|
export declare type RemoteGetResponse = {
|
|
38
40
|
results: Remote[];
|
|
41
|
+
lastEvaluatedKey?: string;
|
|
39
42
|
};
|
|
40
43
|
export declare type EgressResult = {
|
|
41
44
|
configured: {
|
|
@@ -46,13 +49,10 @@ export declare type EgressResult = {
|
|
|
46
49
|
key: string;
|
|
47
50
|
};
|
|
48
51
|
export declare type EgressGetResponse = {
|
|
49
|
-
lastEvaluatedKey
|
|
52
|
+
lastEvaluatedKey?: string;
|
|
50
53
|
results: EgressResult[];
|
|
51
54
|
};
|
|
52
55
|
export declare type EgressSetResponse = {
|
|
53
56
|
results: EgressResult[];
|
|
54
57
|
};
|
|
55
|
-
export declare type RemoteSetResponse = {
|
|
56
|
-
remotes: Remote[];
|
|
57
|
-
};
|
|
58
58
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/permissions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/permissions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE;YACV,MAAM,EAAE,MAAM,CAAC;YACf,IAAI,EAAE,UAAU,EAAE,CAAC;SACpB,EAAE,CAAC;KACL,EAAE,CAAC;CACL,CAAC;AAEF,oBAAY,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,MAAM,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,UAAU,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,CAAC,UAAU,CAAC,CAAC;KACpB,EAAE,CAAC;IACJ,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bridge",
|
|
3
|
-
"version": "5.11.0-next.4",
|
|
3
|
+
"version": "5.11.0-next.4-experimental-3c69930",
|
|
4
4
|
"description": "Forge bridge API for custom UI apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@forge/resolver": "1.7.1",
|
|
21
21
|
"@statsig/js-client": "3.18.2",
|
|
22
22
|
"@types/history": "^4.7.11",
|
|
23
|
-
"@forge/manifest": "12.0.0-next.3",
|
|
23
|
+
"@forge/manifest": "12.0.0-next.3-experimental-3c69930",
|
|
24
24
|
"@types/iframe-resizer": "^3.5.8",
|
|
25
25
|
"iframe-resizer": "^4.4.5",
|
|
26
26
|
"uuid": "^9.0.1"
|