@forge/confluence-bridge 3.0.3-next.0 → 3.1.0-next.1
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/bridge.d.ts +1 -0
- package/out/bridge.d.ts.map +1 -1
- package/out/bridge.js +1 -0
- package/out/content/index.d.ts +1 -0
- package/out/content/index.d.ts.map +1 -1
- package/out/content/index.js +3 -1
- package/out/content/types.d.ts +8 -0
- package/out/content/types.d.ts.map +1 -1
- package/out/content/updateBylineProperties.d.ts +3 -0
- package/out/content/updateBylineProperties.d.ts.map +1 -0
- package/out/content/updateBylineProperties.js +15 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/out/bridge.d.ts
CHANGED
package/out/bridge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../src/bridge.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAO,MAAM,CAAC,UAAU,CAAC,CAAC,YAAY,CAE/D,CAAC"}
|
|
1
|
+
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../src/bridge.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,eAAO,MAAM,aAAa,QAAO,MAAM,CAAC,UAAU,CAAC,CAAC,YAAY,CAE/D,CAAC"}
|
package/out/bridge.js
CHANGED
package/out/content/index.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export { getEditorContent } from './getEditorContent';
|
|
|
2
2
|
export { updateMacro } from './updateMacro';
|
|
3
3
|
export { getMacroContent } from './getMacroContent';
|
|
4
4
|
export { setMacroViewportHeight } from './setMacroViewportHeight';
|
|
5
|
+
export { updateBylineProperties } from './updateBylineProperties';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/content/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/content/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/out/content/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setMacroViewportHeight = exports.getMacroContent = exports.updateMacro = exports.getEditorContent = void 0;
|
|
3
|
+
exports.updateBylineProperties = exports.setMacroViewportHeight = exports.getMacroContent = exports.updateMacro = exports.getEditorContent = void 0;
|
|
4
4
|
var getEditorContent_1 = require("./getEditorContent");
|
|
5
5
|
Object.defineProperty(exports, "getEditorContent", { enumerable: true, get: function () { return getEditorContent_1.getEditorContent; } });
|
|
6
6
|
var updateMacro_1 = require("./updateMacro");
|
|
@@ -9,3 +9,5 @@ var getMacroContent_1 = require("./getMacroContent");
|
|
|
9
9
|
Object.defineProperty(exports, "getMacroContent", { enumerable: true, get: function () { return getMacroContent_1.getMacroContent; } });
|
|
10
10
|
var setMacroViewportHeight_1 = require("./setMacroViewportHeight");
|
|
11
11
|
Object.defineProperty(exports, "setMacroViewportHeight", { enumerable: true, get: function () { return setMacroViewportHeight_1.setMacroViewportHeight; } });
|
|
12
|
+
var updateBylineProperties_1 = require("./updateBylineProperties");
|
|
13
|
+
Object.defineProperty(exports, "updateBylineProperties", { enumerable: true, get: function () { return updateBylineProperties_1.updateBylineProperties; } });
|
package/out/content/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/content/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/content/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBylineProperties.d.ts","sourceRoot":"","sources":["../../src/content/updateBylineProperties.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAO3C,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAQrF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateBylineProperties = void 0;
|
|
4
|
+
const errors_1 = require("../errors");
|
|
5
|
+
const bridge_1 = require("../bridge");
|
|
6
|
+
async function updateBylineProperties(payload) {
|
|
7
|
+
const callBridge = (0, bridge_1.getCallBridge)();
|
|
8
|
+
try {
|
|
9
|
+
await callBridge('emit', { event: 'FORGE_CONTENT_PROPERTY_UPDATED', payload });
|
|
10
|
+
}
|
|
11
|
+
catch (err) {
|
|
12
|
+
throw new errors_1.BridgeAPIError('Unable to update byline properties: ' + err.message);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.updateBylineProperties = updateBylineProperties;
|