@forge/jira-bridge
0.40.0-next.0-experimental-90651450.40.0-next.1
+
Added (12 files)
~
Modified (8 files)
Index: package/out/errors.js
===================================================================
--- package/out/errors.js
+++ package/out/errors.js
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.ERROR_TYPES = exports.ON_ERROR_ERROR = exports.GET_API_ERROR = exports.SUBSCRIBE_TO_CHANGES_ERROR = exports.ON_INIT_ERROR = exports.AppExecutionError = exports.BridgeAPIError = void 0;
+exports.ERROR_TYPES = exports.ON_FIELD_DATA_CHANGE_ERROR = exports.ON_ERROR_ERROR = exports.GET_API_ERROR = exports.SUBSCRIBE_TO_CHANGES_ERROR = exports.ON_INIT_ERROR = exports.AppExecutionError = exports.BridgeAPIError = void 0;
class BridgeAPIError extends Error {
}
exports.BridgeAPIError = BridgeAPIError;
class AppExecutionError extends Error {
@@ -10,5 +10,6 @@
exports.ON_INIT_ERROR = 'onInitError';
exports.SUBSCRIBE_TO_CHANGES_ERROR = 'subscribeToChangesError';
exports.GET_API_ERROR = 'getApiError';
exports.ON_ERROR_ERROR = 'onErrorError';
+exports.ON_FIELD_DATA_CHANGE_ERROR = 'onFieldDataChangeError';
exports.ERROR_TYPES = [exports.ON_INIT_ERROR, exports.SUBSCRIBE_TO_CHANGES_ERROR, exports.GET_API_ERROR, exports.ON_ERROR_ERROR]; Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -3,4 +3,5 @@
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./modal/index"), exports);
tslib_1.__exportStar(require("./workflow/index"), exports);
tslib_1.__exportStar(require("./ui-modifications"), exports);
+tslib_1.__exportStar(require("./custom-field"), exports); Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/jira-bridge",
- "version": "0.40.0-next.0-experimental-9065145",
+ "version": "0.40.0-next.1",
"description": "Forge Jira bridge API for custom UI apps",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
"browser": "out/index.js", Index: package/out/errors.d.ts.map
===================================================================
--- package/out/errors.d.ts.map
+++ package/out/errors.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAC5C,qBAAa,iBAAkB,SAAQ,KAAK;CAAG;AAE/C,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAC3C,eAAO,MAAM,0BAA0B,4BAA4B,CAAC;AACpE,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAC3C,eAAO,MAAM,cAAc,iBAAiB,CAAC;AAE7C,eAAO,MAAM,WAAW,oFAAsF,CAAC"}
\ No newline at end of file
+{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAC5C,qBAAa,iBAAkB,SAAQ,KAAK;CAAG;AAE/C,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAC3C,eAAO,MAAM,0BAA0B,4BAA4B,CAAC;AACpE,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAC3C,eAAO,MAAM,cAAc,iBAAiB,CAAC;AAC7C,eAAO,MAAM,0BAA0B,2BAA2B,CAAC;AAEnE,eAAO,MAAM,WAAW,oFAAsF,CAAC"}
\ No newline at end of file Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC"}
\ No newline at end of file Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,21 +1,12 @@
# @forge/jira-bridge
-## 0.40.0-next.0-experimental-9065145
+## 0.40.0-next.1
### Minor Changes
-- 81058d4: Add Request Type field support to UI Modifications API
+- a724e0b: Added customFieldApi for the Forge Custom Fields to subscribe to the fields data like values, name etc. This change is required to enable UI Modifications for Forge Custom Fields.
- Added TypeScript support for JSM Request Type custom field (`com.atlassian.servicedesk:vp-origin`) in the UI Modifications API. This enables Forge apps to interact with Request Type fields using:
-
- - New type: `RequestTypeField` - represents the request type field value as `{ requestTypeId: string } | null`
- - New type: `RequestTypeFieldSetValue` - accepts a request type ID string for setting field value
- - New constant: `REQUEST_TYPE_CF_TYPE` - field type identifier (`'com.atlassian.servicedesk:vp-origin'`)
- - Type-safe `getValue()` operation - returns the request type object with ID
- - Type-safe `setValue()` operation - accepts request type ID string to set the field
- - `getOptionsVisibility()` and `setOptionsVisibility()` - control which request type options are visible to users
-
## 0.40.0-next.0
### Minor Changes Index: package/out/errors.d.ts
===================================================================
--- package/out/errors.d.ts
+++ package/out/errors.d.ts
@@ -5,6 +5,7 @@
export declare const ON_INIT_ERROR = "onInitError";
export declare const SUBSCRIBE_TO_CHANGES_ERROR = "subscribeToChangesError";
export declare const GET_API_ERROR = "getApiError";
export declare const ON_ERROR_ERROR = "onErrorError";
+export declare const ON_FIELD_DATA_CHANGE_ERROR = "onFieldDataChangeError";
export declare const ERROR_TYPES: readonly ["onInitError", "subscribeToChangesError", "getApiError", "onErrorError"];
//# sourceMappingURL=errors.d.ts.map
\ No newline at end of file Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -1,4 +1,5 @@
export * from './modal/index';
export * from './workflow/index';
export * from './ui-modifications';
+export * from './custom-field';
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file