@forge/jira-bridge
0.39.00.40.0-next.0
out/ui-modifications/types/field-api.d.ts~
out/ui-modifications/types/field-api.d.tsModified+6−2
Index: package/out/ui-modifications/types/field-api.d.ts
===================================================================
--- package/out/ui-modifications/types/field-api.d.ts
+++ package/out/ui-modifications/types/field-api.d.ts
@@ -1,5 +1,5 @@
-import type { AssigneeField, AssigneeFieldSetValue, DatePickerField, DateTimeField, DescriptionField, LabelsField, MultiSelectField, MultiSelectFieldSetValue, MultiUserPickerField, MultiUserPickerFieldSetValue, ParagraphField, PriorityField, PriorityFieldSetValue, SelectField, SelectFieldSetValue, StatusField, StatusFieldSetValue, SummaryField, UrlField, TextField, UserPickerField, UserPickerFieldSetValue, CheckboxesField, CheckboxesFieldSetValue, PeopleField, PeopleFieldSetValue, ReporterField, ReporterFieldSetValue, ComponentsField, ComponentsFieldSetValue, VersionsField, VersionsFieldSetValue, RadioButtonsField, RadioButtonsFieldSetValue, NumberField, IssueTypeField, IssueTypeFieldSetValue, ParentFieldSetValue, ParentField, CascadingSelectField, CascadingSelectFieldSetValue, FixVersionsField, FixVersionsFieldSetValue, ResolutionField, ResolutionSetValue, OriginalEstimateField, ProjectPickerField, ProjectPickerFieldSetValue } from './fields';
+import type { AssigneeField, AssigneeFieldSetValue, DatePickerField, DateTimeField, DescriptionField, LabelsField, MultiSelectField, MultiSelectFieldSetValue, MultiUserPickerField, MultiUserPickerFieldSetValue, ParagraphField, PriorityField, PriorityFieldSetValue, SelectField, SelectFieldSetValue, StatusField, StatusFieldSetValue, SummaryField, UrlField, TextField, UserPickerField, UserPickerFieldSetValue, CheckboxesField, CheckboxesFieldSetValue, PeopleField, PeopleFieldSetValue, ReporterField, ReporterFieldSetValue, ComponentsField, ComponentsFieldSetValue, VersionsField, VersionsFieldSetValue, RadioButtonsField, RadioButtonsFieldSetValue, NumberField, IssueTypeField, IssueTypeFieldSetValue, ParentFieldSetValue, ParentField, CascadingSelectField, CascadingSelectFieldSetValue, FixVersionsField, FixVersionsFieldSetValue, ResolutionField, ResolutionSetValue, OriginalEstimateField, ProjectPickerField, ProjectPickerFieldSetValue, RequestTypeField, RequestTypeFieldSetValue } from './fields';
export declare const SELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:select";
export declare const MULTISELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:multiselect";
export declare const PARAGRAPH_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:textarea";
export declare const TEXTFIELD_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:textfield";
@@ -15,8 +15,9 @@
export declare const RADIO_BUTTONS_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons";
export declare const NUMBER_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:float";
export declare const CASCADING_SELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect";
export declare const PROJECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:project";
+export declare const REQUEST_TYPE_CF_TYPE = "com.atlassian.servicedesk:vp-origin";
export declare type FieldGetValue = {
assignee: AssigneeField;
summary: SummaryField;
labels: LabelsField;
@@ -48,8 +49,9 @@
[DATETIME_CF_TYPE]: DateTimeField;
[NUMBER_CF_TYPE]: NumberField;
[CASCADING_SELECT_CF_TYPE]: CascadingSelectField;
[PROJECT_CF_TYPE]: ProjectPickerField;
+ [REQUEST_TYPE_CF_TYPE]: RequestTypeField;
};
export declare type FieldSetValue = {
assignee: AssigneeFieldSetValue;
summary: SummaryField;
@@ -82,11 +84,12 @@
[DATETIME_CF_TYPE]: DateTimeField;
[NUMBER_CF_TYPE]: NumberField;
[CASCADING_SELECT_CF_TYPE]: CascadingSelectFieldSetValue;
[PROJECT_CF_TYPE]: ProjectPickerFieldSetValue;
+ [REQUEST_TYPE_CF_TYPE]: RequestTypeFieldSetValue;
};
export declare type FieldId = 'issuetype' | 'priority' | 'assignee' | 'summary' | 'description' | 'labels' | 'reporter' | 'components' | 'fixVersions' | 'versions' | 'parent' | 'status' | 'resolution' | 'duedate' | 'timeoriginalestimate' | string;
-export declare type FieldType = typeof PEOPLE_CF_TYPE | typeof CHECKBOXES_CF_TYPE | typeof SELECT_CF_TYPE | typeof PARAGRAPH_CF_TYPE | typeof MULTISELECT_CF_TYPE | typeof USER_CF_TYPE | typeof MULTI_USER_CF_TYPE | typeof TEXTFIELD_CF_TYPE | typeof URL_CF_TYPE | typeof DATE_PICKER_CF_TYPE | typeof TARGET_START_CF_TYPE | typeof TARGET_END_CF_TYPE | typeof DATETIME_CF_TYPE | typeof RADIO_BUTTONS_CF_TYPE | typeof NUMBER_CF_TYPE | typeof CASCADING_SELECT_CF_TYPE | typeof PROJECT_CF_TYPE | 'issuetype' | 'priority' | 'assignee' | 'summary' | 'description' | 'labels' | 'reporter' | 'components' | 'fixVersions' | 'versions' | 'parent' | 'status' | 'resolution' | 'duedate' | 'timeoriginalestimate';
+export declare type FieldType = typeof PEOPLE_CF_TYPE | typeof CHECKBOXES_CF_TYPE | typeof SELECT_CF_TYPE | typeof PARAGRAPH_CF_TYPE | typeof MULTISELECT_CF_TYPE | typeof USER_CF_TYPE | typeof MULTI_USER_CF_TYPE | typeof TEXTFIELD_CF_TYPE | typeof URL_CF_TYPE | typeof DATE_PICKER_CF_TYPE | typeof TARGET_START_CF_TYPE | typeof TARGET_END_CF_TYPE | typeof DATETIME_CF_TYPE | typeof RADIO_BUTTONS_CF_TYPE | typeof NUMBER_CF_TYPE | typeof CASCADING_SELECT_CF_TYPE | typeof PROJECT_CF_TYPE | typeof REQUEST_TYPE_CF_TYPE | 'issuetype' | 'priority' | 'assignee' | 'summary' | 'description' | 'labels' | 'reporter' | 'components' | 'fixVersions' | 'versions' | 'parent' | 'status' | 'resolution' | 'duedate' | 'timeoriginalestimate';
export declare type OptionsVisibility = {
options: string[];
isVisible: boolean;
};
@@ -122,8 +125,9 @@
[DATETIME_CF_TYPE]: undefined;
[NUMBER_CF_TYPE]: undefined;
[CASCADING_SELECT_CF_TYPE]: undefined;
[PROJECT_CF_TYPE]: undefined;
+ [REQUEST_TYPE_CF_TYPE]?: OptionsVisibility;
};
export declare type Field<FIELD_TYPE extends FieldType> = {
getId: () => FieldId;
getType: () => FieldType;