@forge/manifest 4.7.0-next.2 → 4.7.0-next.4

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 4.7.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 8e0605e: Update manifest definitions
8
+
9
+ ## 4.7.0-next.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 37eee39: Bumping dependencies via Renovate:
14
+
15
+ - ajv
16
+
17
+ - ce555b4: Add Jira jqlFunction module
18
+
3
19
  ## 4.7.0-next.2
4
20
 
5
21
  ### Minor Changes
@@ -5787,6 +5787,120 @@
5787
5787
  },
5788
5788
  "minItems": 1
5789
5789
  },
5790
+ "jira:jqlFunction": {
5791
+ "type": "array",
5792
+ "items": {
5793
+ "type": "object",
5794
+ "properties": {
5795
+ "name": {
5796
+ "minLength": 1,
5797
+ "maxLength": 255,
5798
+ "type": "string"
5799
+ },
5800
+ "arguments": {
5801
+ "type": "array",
5802
+ "items": {
5803
+ "type": "object",
5804
+ "properties": {
5805
+ "name": {
5806
+ "minLength": 1,
5807
+ "maxLength": 255,
5808
+ "type": "string"
5809
+ },
5810
+ "required": {
5811
+ "type": "boolean"
5812
+ }
5813
+ },
5814
+ "required": [
5815
+ "name",
5816
+ "required"
5817
+ ]
5818
+ }
5819
+ },
5820
+ "types": {
5821
+ "type": "array",
5822
+ "items": {
5823
+ "enum": [
5824
+ "attachment",
5825
+ "cascading_option",
5826
+ "component",
5827
+ "date",
5828
+ "duration",
5829
+ "group",
5830
+ "hierarchy_level",
5831
+ "issue",
5832
+ "issue_link_type",
5833
+ "issue_list",
5834
+ "issue_restriction",
5835
+ "issue_security_level",
5836
+ "issue_type",
5837
+ "label",
5838
+ "number",
5839
+ "option",
5840
+ "priority",
5841
+ "project",
5842
+ "project_category",
5843
+ "project_role",
5844
+ "project_type",
5845
+ "resolution",
5846
+ "saved_filter",
5847
+ "status",
5848
+ "status_category",
5849
+ "team",
5850
+ "text",
5851
+ "url",
5852
+ "user",
5853
+ "version"
5854
+ ],
5855
+ "type": "string"
5856
+ }
5857
+ },
5858
+ "operators": {
5859
+ "type": "array",
5860
+ "items": {
5861
+ "enum": [
5862
+ "!=",
5863
+ "!~",
5864
+ "<",
5865
+ "<=",
5866
+ "=",
5867
+ ">",
5868
+ ">=",
5869
+ "in",
5870
+ "is",
5871
+ "is not",
5872
+ "not in",
5873
+ "~"
5874
+ ],
5875
+ "type": "string"
5876
+ }
5877
+ },
5878
+ "function": {
5879
+ "type": "string",
5880
+ "minLength": 1,
5881
+ "maxLength": 255,
5882
+ "pattern": "^[a-zA-Z0-9-_]+$"
5883
+ },
5884
+ "key": {
5885
+ "$ref": "#/definitions/ModuleKeySchema"
5886
+ }
5887
+ },
5888
+ "required": [
5889
+ "arguments",
5890
+ "function",
5891
+ "name",
5892
+ "operators",
5893
+ "types",
5894
+ "key"
5895
+ ],
5896
+ "not": {
5897
+ "required": [
5898
+ "unlicensedAccess"
5899
+ ]
5900
+ }
5901
+ },
5902
+ "minItems": 1
5903
+ },
5790
5904
  "compass:adminPage": {
5791
5905
  "type": "array",
5792
5906
  "items": {
@@ -2982,6 +2982,96 @@ export interface Modules {
2982
2982
  [k: string]: unknown;
2983
2983
  }[]
2984
2984
  ];
2985
+ 'jira:jqlFunction'?: [
2986
+ {
2987
+ name: string;
2988
+ arguments: {
2989
+ name: string;
2990
+ required: boolean;
2991
+ [k: string]: unknown;
2992
+ }[];
2993
+ types: (
2994
+ | 'attachment'
2995
+ | 'cascading_option'
2996
+ | 'component'
2997
+ | 'date'
2998
+ | 'duration'
2999
+ | 'group'
3000
+ | 'hierarchy_level'
3001
+ | 'issue'
3002
+ | 'issue_link_type'
3003
+ | 'issue_list'
3004
+ | 'issue_restriction'
3005
+ | 'issue_security_level'
3006
+ | 'issue_type'
3007
+ | 'label'
3008
+ | 'number'
3009
+ | 'option'
3010
+ | 'priority'
3011
+ | 'project'
3012
+ | 'project_category'
3013
+ | 'project_role'
3014
+ | 'project_type'
3015
+ | 'resolution'
3016
+ | 'saved_filter'
3017
+ | 'status'
3018
+ | 'status_category'
3019
+ | 'team'
3020
+ | 'text'
3021
+ | 'url'
3022
+ | 'user'
3023
+ | 'version'
3024
+ )[];
3025
+ operators: ('!=' | '!~' | '<' | '<=' | '=' | '>' | '>=' | 'in' | 'is' | 'is not' | 'not in' | '~')[];
3026
+ function: string;
3027
+ key: ModuleKeySchema;
3028
+ [k: string]: unknown;
3029
+ },
3030
+ ...{
3031
+ name: string;
3032
+ arguments: {
3033
+ name: string;
3034
+ required: boolean;
3035
+ [k: string]: unknown;
3036
+ }[];
3037
+ types: (
3038
+ | 'attachment'
3039
+ | 'cascading_option'
3040
+ | 'component'
3041
+ | 'date'
3042
+ | 'duration'
3043
+ | 'group'
3044
+ | 'hierarchy_level'
3045
+ | 'issue'
3046
+ | 'issue_link_type'
3047
+ | 'issue_list'
3048
+ | 'issue_restriction'
3049
+ | 'issue_security_level'
3050
+ | 'issue_type'
3051
+ | 'label'
3052
+ | 'number'
3053
+ | 'option'
3054
+ | 'priority'
3055
+ | 'project'
3056
+ | 'project_category'
3057
+ | 'project_role'
3058
+ | 'project_type'
3059
+ | 'resolution'
3060
+ | 'saved_filter'
3061
+ | 'status'
3062
+ | 'status_category'
3063
+ | 'team'
3064
+ | 'text'
3065
+ | 'url'
3066
+ | 'user'
3067
+ | 'version'
3068
+ )[];
3069
+ operators: ('!=' | '!~' | '<' | '<=' | '=' | '>' | '>=' | 'in' | 'is' | 'is not' | 'not in' | '~')[];
3070
+ function: string;
3071
+ key: ModuleKeySchema;
3072
+ [k: string]: unknown;
3073
+ }[]
3074
+ ];
2985
3075
  'compass:adminPage'?: [
2986
3076
  (
2987
3077
  | {
@@ -35,6 +35,7 @@ export declare enum AllModuleTypes {
35
35
  JiraViewIssueBackgroundScript = "jira:issueViewBackgroundScript",
36
36
  JiraGlobalPermission = "jira:globalPermission",
37
37
  JiraProjectPermission = "jira:projectPermission",
38
+ JiraJqlFunction = "jira:jqlFunction",
38
39
  CompassAdminPage = "compass:adminPage",
39
40
  CompassComponentPage = "compass:componentPage",
40
41
  CompassGlobalPage = "compass:globalPage",
@@ -1 +1 @@
1
- {"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,6BAA6B,mCAAmC;IAChE,6BAA6B,mCAAmC;IAChE,oBAAoB,0BAA0B;IAC9C,qBAAqB,2BAA2B;IAEhD,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAE5C,8BAA8B,oCAAoC;IAClE,wCAAwC,8CA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AC3D,4BAA4B,mCAAmC;IAC/D,yBAAyB,gCAAgC;IACzD,wBAAwB,+BAA+B;IACvD,kBAAkB,yBAAyB;IAC3C,gCAAgC,uCAAuC;IACvE,qCAAqC,4CAA4C;IACjF,8BAA8B,qCAAqC;IACnE,+BAA+B,sCAAsC;IACrE,sCAAsC,6CAA6C;IACnF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,yBAAyB,gCAAgC;IACzD,2BAA2B,kCAAkC;IAC7D,iCAAiC,wCAAwC;IACzE,sBAAsB,6BAA6B;IACnD,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,iCAAiC,wCAAwC;IACzE,0BAA0B,iCAAiC;IAC3D,oBAAoB,2BAA2B;IAC/C,sBAAsB,6BAA6B;IACnD,mBAAmB,0BAA0B;IAC7C,0BAA0B,iCAAiC;IAC3D,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;IACvD,2BAA2B,oBAAoB;CAChD;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -39,6 +39,7 @@ var AllModuleTypes;
39
39
  AllModuleTypes["JiraViewIssueBackgroundScript"] = "jira:issueViewBackgroundScript";
40
40
  AllModuleTypes["JiraGlobalPermission"] = "jira:globalPermission";
41
41
  AllModuleTypes["JiraProjectPermission"] = "jira:projectPermission";
42
+ AllModuleTypes["JiraJqlFunction"] = "jira:jqlFunction";
42
43
  AllModuleTypes["CompassAdminPage"] = "compass:adminPage";
43
44
  AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
44
45
  AllModuleTypes["CompassGlobalPage"] = "compass:globalPage";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.7.0-next.2",
3
+ "version": "4.7.0-next.4",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -24,7 +24,7 @@
24
24
  "license": "UNLICENSED",
25
25
  "dependencies": {
26
26
  "@forge/util": "1.2.1-next.0",
27
- "ajv": "^6.12.5",
27
+ "ajv": "^6.12.6",
28
28
  "cheerio": "^0.22.0",
29
29
  "js-yaml": "^3.13.1",
30
30
  "json-schema-to-typescript": "^9.1.1",