@atlassianlabs/jira-pi-meta-models
Advanced tools
Comparing version 0.1.23 to 0.2.2
@@ -45,3 +45,3 @@ // JIRA.Schema.FieldBean | ||
}; | ||
} // TODO: [VSCODE-555] use field meta type/items to map types for input valuess | ||
} | ||
@@ -53,4 +53,5 @@ function readFieldSchema(props) { | ||
system: props.system, | ||
items: props.items | ||
items: props.items, | ||
configuration: props.configuration | ||
}; | ||
} |
@@ -169,3 +169,3 @@ export var UIType; | ||
} | ||
export var multiSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'issuelinks', 'subtasks', 'com.atlassian.jira.plugin.system.customfieldtypes:multiselect', 'com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker', 'com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker']; | ||
export var multiSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'issuelinks', 'subtasks', 'com.atlassian.jira.plugin.system.customfieldtypes:multiselect', 'com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker', 'com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker', 'com.atlassian.jira.plugin.system.customfieldtypes:people']; | ||
export var createableSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'subtasks']; | ||
@@ -172,0 +172,0 @@ export var multiLineStringSchemas = ['description', 'environment', 'com.atlassian.jira.plugin.system.customfieldtypes:textarea']; |
@@ -56,2 +56,5 @@ export declare type Fields = { | ||
export declare function readFieldMeta(key: string, props: any, fieldValue?: any, renderedValue?: any): FieldMeta; | ||
export interface FieldSchemaConfigurationMeta { | ||
readonly isMulti: boolean | undefined; | ||
} | ||
export interface FieldSchemaMeta { | ||
@@ -62,2 +65,3 @@ readonly type: string; | ||
readonly items: string | undefined; | ||
readonly configuration?: FieldSchemaConfigurationMeta | undefined; | ||
} |
@@ -62,5 +62,4 @@ "use strict"; | ||
}; | ||
} // TODO: [VSCODE-555] use field meta type/items to map types for input valuess | ||
} | ||
function readFieldSchema(props) { | ||
@@ -71,4 +70,5 @@ return { | ||
system: props.system, | ||
items: props.items | ||
items: props.items, | ||
configuration: props.configuration | ||
}; | ||
} |
{ | ||
"name": "@atlassianlabs/jira-pi-meta-models", | ||
"version": "0.1.23", | ||
"version": "0.2.2", | ||
"description": "Meta Jira models for related jira-pi-clients", | ||
@@ -15,8 +15,8 @@ "repository": { | ||
"dependencies": { | ||
"@atlassianlabs/jira-pi-common-models": "^0.1.23", | ||
"@atlassianlabs/jira-pi-common-models": "^0.2.2", | ||
"@babel/runtime": ">=7.10.0" | ||
}, | ||
"gitHead": "403245f31bf3c98b42f9a8669257bf82fd2caf47", | ||
"gitHead": "5ff737b0c77f9dee993c96c6f28f58c270a2b326", | ||
"main": "./index.js", | ||
"typings": "./index.d.ts" | ||
} |
@@ -60,2 +60,3 @@ import { IssueLinkType } from '@atlassianlabs/jira-pi-common-models/entities'; | ||
displayOrder: number; | ||
isArray: boolean; | ||
} | ||
@@ -62,0 +63,0 @@ export interface NonEditableFieldUI extends FieldUI { |
@@ -186,3 +186,3 @@ "use strict"; | ||
var multiSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'issuelinks', 'subtasks', 'com.atlassian.jira.plugin.system.customfieldtypes:multiselect', 'com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker', 'com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker']; | ||
var multiSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'issuelinks', 'subtasks', 'com.atlassian.jira.plugin.system.customfieldtypes:multiselect', 'com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker', 'com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker', 'com.atlassian.jira.plugin.system.customfieldtypes:people']; | ||
exports.multiSelectSchemas = multiSelectSchemas; | ||
@@ -189,0 +189,0 @@ var createableSelectSchemas = ['components', 'fixVersions', 'labels', 'com.atlassian.jira.plugin.system.customfieldtypes:labels', 'versions', 'subtasks']; |
35073
905
+ Added@atlassianlabs/jira-pi-common-models@0.2.2(transitive)
- Removed@atlassianlabs/jira-pi-common-models@0.1.23(transitive)