@forge/manifest 7.9.0-next.4 → 7.9.0-next.6
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,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 7.9.0-next.6
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c4391fa: add `modes` field to the licensing options
|
|
8
|
+
|
|
9
|
+
## 7.9.0-next.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3fe0097: Update manifest definitions
|
|
14
|
+
|
|
3
15
|
## 7.9.0-next.4
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -63,6 +63,17 @@
|
|
|
63
63
|
"default": false,
|
|
64
64
|
"title": "editionsEnabled",
|
|
65
65
|
"description": "Whether to enable editions for this app. Default value of false."
|
|
66
|
+
},
|
|
67
|
+
"modes": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": [
|
|
72
|
+
"user-access"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"title": "modes",
|
|
76
|
+
"description": "Declares the licensing modes supported by this app. One of the declared modes may be selected as the active mode when the app is listed on the Marketplace. If no value is specified, the legacy coupled licensing mode is assumed by default."
|
|
66
77
|
}
|
|
67
78
|
}
|
|
68
79
|
},
|
|
@@ -29,6 +29,10 @@ export type Enabled = boolean;
|
|
|
29
29
|
* Whether to enable editions for this app. Default value of false.
|
|
30
30
|
*/
|
|
31
31
|
export type EditionsEnabled = boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Declares the licensing modes supported by this app. One of the declared modes may be selected as the active mode when the app is listed on the Marketplace. If no value is specified, the legacy coupled licensing mode is assumed by default.
|
|
34
|
+
*/
|
|
35
|
+
export type Modes = 'user-access'[];
|
|
32
36
|
/**
|
|
33
37
|
* This property is deprecated and no longer required to use simplified user consent. Please remove it from your manifest as in a future release this will become an error.
|
|
34
38
|
*/
|
|
@@ -166,6 +170,7 @@ export interface Runtime {
|
|
|
166
170
|
export interface Licensing {
|
|
167
171
|
enabled: Enabled;
|
|
168
172
|
editionsEnabled?: EditionsEnabled;
|
|
173
|
+
modes?: Modes;
|
|
169
174
|
}
|
|
170
175
|
/**
|
|
171
176
|
* Features related to app
|
|
@@ -63,6 +63,17 @@
|
|
|
63
63
|
"default": false,
|
|
64
64
|
"title": "editionsEnabled",
|
|
65
65
|
"description": "Whether to enable editions for this app. Default value of false."
|
|
66
|
+
},
|
|
67
|
+
"modes": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": [
|
|
72
|
+
"user-access"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"title": "modes",
|
|
76
|
+
"description": "Declares the licensing modes supported by this app. One of the declared modes may be selected as the active mode when the app is listed on the Marketplace. If no value is specified, the legacy coupled licensing mode is assumed by default."
|
|
66
77
|
}
|
|
67
78
|
}
|
|
68
79
|
},
|
|
@@ -24387,10 +24398,24 @@
|
|
|
24387
24398
|
"title": "ignoreSelf",
|
|
24388
24399
|
"description": "The app will ignore events generated by itself",
|
|
24389
24400
|
"type": "boolean"
|
|
24401
|
+
},
|
|
24402
|
+
"expression": {
|
|
24403
|
+
"title": "expression",
|
|
24404
|
+
"description": "The app will ignore events filtered out by expression",
|
|
24405
|
+
"type": "string"
|
|
24390
24406
|
}
|
|
24391
24407
|
},
|
|
24392
|
-
"
|
|
24393
|
-
|
|
24408
|
+
"anyOf": [
|
|
24409
|
+
{
|
|
24410
|
+
"required": [
|
|
24411
|
+
"ignoreSelf"
|
|
24412
|
+
]
|
|
24413
|
+
},
|
|
24414
|
+
{
|
|
24415
|
+
"required": [
|
|
24416
|
+
"expression"
|
|
24417
|
+
]
|
|
24418
|
+
}
|
|
24394
24419
|
]
|
|
24395
24420
|
},
|
|
24396
24421
|
"FilteredProductEvents": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export type Enabled = boolean;
|
|
|
29
29
|
* Whether to enable editions for this app. Default value of false.
|
|
30
30
|
*/
|
|
31
31
|
export type EditionsEnabled = boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Declares the licensing modes supported by this app. One of the declared modes may be selected as the active mode when the app is listed on the Marketplace. If no value is specified, the legacy coupled licensing mode is assumed by default.
|
|
34
|
+
*/
|
|
35
|
+
export type Modes = 'user-access'[];
|
|
32
36
|
/**
|
|
33
37
|
* This property is deprecated and no longer required to use simplified user consent. Please remove it from your manifest as in a future release this will become an error.
|
|
34
38
|
*/
|
|
@@ -44,10 +48,13 @@ export type ModuleKeySchema = string;
|
|
|
44
48
|
export type Events = ProductEvents | FilteredProductEvents;
|
|
45
49
|
export type ProductEvents = string[];
|
|
46
50
|
export type EventType = string;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
export type Filter =
|
|
52
|
+
| {
|
|
53
|
+
[k: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
| {
|
|
56
|
+
[k: string]: unknown;
|
|
57
|
+
};
|
|
51
58
|
export type FilteredProductEvents = {
|
|
52
59
|
eventType: EventType;
|
|
53
60
|
filter: Filter;
|
|
@@ -60,6 +67,13 @@ export type FilteredProductEvents = {
|
|
|
60
67
|
* This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
|
|
61
68
|
*/
|
|
62
69
|
export type Function = string;
|
|
70
|
+
export type Filter1 =
|
|
71
|
+
| {
|
|
72
|
+
[k: string]: unknown;
|
|
73
|
+
}
|
|
74
|
+
| {
|
|
75
|
+
[k: string]: unknown;
|
|
76
|
+
};
|
|
63
77
|
export type Events1 = ProductEvents | FilteredProductEvents;
|
|
64
78
|
/**
|
|
65
79
|
* The key for an extension in CaaS. That means that this is a reference to another
|
|
@@ -68,6 +82,13 @@ export type Events1 = ProductEvents | FilteredProductEvents;
|
|
|
68
82
|
* This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
|
|
69
83
|
*/
|
|
70
84
|
export type Endpoint = string;
|
|
85
|
+
export type Filter2 =
|
|
86
|
+
| {
|
|
87
|
+
[k: string]: unknown;
|
|
88
|
+
}
|
|
89
|
+
| {
|
|
90
|
+
[k: string]: unknown;
|
|
91
|
+
};
|
|
71
92
|
/**
|
|
72
93
|
* The key of the function that should be invoked for this webtrigger.
|
|
73
94
|
*/
|
|
@@ -634,6 +655,7 @@ export interface Runtime {
|
|
|
634
655
|
export interface Licensing {
|
|
635
656
|
enabled: Enabled;
|
|
636
657
|
editionsEnabled?: EditionsEnabled;
|
|
658
|
+
modes?: Modes;
|
|
637
659
|
}
|
|
638
660
|
/**
|
|
639
661
|
* Features related to app
|
|
@@ -10714,15 +10736,6 @@ export interface Modules {
|
|
|
10714
10736
|
];
|
|
10715
10737
|
[k: string]: unknown;
|
|
10716
10738
|
}
|
|
10717
|
-
export interface Filter {
|
|
10718
|
-
ignoreSelf: IgnoreSelf;
|
|
10719
|
-
}
|
|
10720
|
-
export interface Filter1 {
|
|
10721
|
-
ignoreSelf: IgnoreSelf;
|
|
10722
|
-
}
|
|
10723
|
-
export interface Filter2 {
|
|
10724
|
-
ignoreSelf: IgnoreSelf;
|
|
10725
|
-
}
|
|
10726
10739
|
export interface RuntimeLayer {
|
|
10727
10740
|
identifier: string;
|
|
10728
10741
|
layer: {
|