@atlassianlabs/jira-pi-meta-models
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -53,2 +53,3 @@ export var UIType; | ||
ValueType["Group"] = "group"; | ||
ValueType["Json"] = "json"; | ||
})(ValueType || (ValueType = {})); | ||
@@ -136,2 +137,5 @@ | ||
case 'json': | ||
return ValueType.Json; | ||
default: | ||
@@ -189,2 +193,2 @@ return ValueType.String; | ||
export var schemaOptionToUIMap = new Map([['com.atlassian.jira.plugin.system.customfieldtypes:select', UIType.Select], ['com.atlassian.jira.plugin.system.customfieldtypes:multiselect', UIType.Select], ['com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes', UIType.Checkbox], ['com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons', UIType.Radio]]); | ||
export var customSchemaToUIMap = new Map([['com.pyxis.greenhopper.jira:gh-epic-link', UIType.Select], ['com.pyxis.greenhopper.jira:gh-epic-label', UIType.Input], [ValueType.Worklog, UIType.Worklog], [ValueType.Attachment, UIType.Attachment], ['com.atlassian.jira.toolkit:participants', UIType.Participants]]); | ||
export var customSchemaToUIMap = new Map([['com.pyxis.greenhopper.jira:gh-epic-link', UIType.Select], ['com.pyxis.greenhopper.jira:gh-epic-label', UIType.Input], ['com.pyxis.greenhopper.jira:gh-sprint', UIType.Select], [ValueType.Worklog, UIType.Worklog], [ValueType.Attachment, UIType.Attachment], ['com.atlassian.jira.toolkit:participants', UIType.Participants]]); |
{ | ||
"name": "@atlassianlabs/jira-pi-meta-models", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "Meta Jira models for related jira-pi-clients", | ||
@@ -15,7 +15,7 @@ "repository": { | ||
"dependencies": { | ||
"@atlassianlabs/jira-pi-common-models": "^0.1.21" | ||
"@atlassianlabs/jira-pi-common-models": "^0.1.22" | ||
}, | ||
"gitHead": "e6968f3194ef9e00648b2ce15fd4c11e01ef1c5b", | ||
"gitHead": "5b433c5f0a82a75ab50f7761b1603311c48556b6", | ||
"main": "./index.js", | ||
"typings": "./index.d.ts" | ||
} |
@@ -48,3 +48,4 @@ import { IssueLinkType } from '@atlassianlabs/jira-pi-common-models/entities'; | ||
Attachment = "attachment", | ||
Group = "group" | ||
Group = "group", | ||
Json = "json" | ||
} | ||
@@ -51,0 +52,0 @@ export declare function valueTypeForString(s: string): ValueType; |
@@ -65,2 +65,3 @@ "use strict"; | ||
ValueType["Group"] = "group"; | ||
ValueType["Json"] = "json"; | ||
})(ValueType || (exports.ValueType = ValueType = {})); | ||
@@ -148,2 +149,5 @@ | ||
case 'json': | ||
return ValueType.Json; | ||
default: | ||
@@ -211,3 +215,3 @@ return ValueType.String; | ||
exports.schemaOptionToUIMap = schemaOptionToUIMap; | ||
var customSchemaToUIMap = new Map([['com.pyxis.greenhopper.jira:gh-epic-link', UIType.Select], ['com.pyxis.greenhopper.jira:gh-epic-label', UIType.Input], [ValueType.Worklog, UIType.Worklog], [ValueType.Attachment, UIType.Attachment], ['com.atlassian.jira.toolkit:participants', UIType.Participants]]); | ||
var customSchemaToUIMap = new Map([['com.pyxis.greenhopper.jira:gh-epic-link', UIType.Select], ['com.pyxis.greenhopper.jira:gh-epic-label', UIType.Input], ['com.pyxis.greenhopper.jira:gh-sprint', UIType.Select], [ValueType.Worklog, UIType.Worklog], [ValueType.Attachment, UIType.Attachment], ['com.atlassian.jira.toolkit:participants', UIType.Participants]]); | ||
exports.customSchemaToUIMap = customSchemaToUIMap; |
34814
898