@forge/manifest 4.20.2-next.4 → 4.20.2-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 +12 -0
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +2 -1
- package/out/schema/basic-manifest-schema.json +15 -0
- package/out/schema/basic-manifest.d.ts +11 -33
- package/out/schema/manifest-schema.json +15 -0
- package/out/schema/manifest.d.ts +40870 -539
- package/out/text/errors.d.ts +5 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +6 -1
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/out/validators/package-validator.d.ts +8 -0
- package/out/validators/package-validator.d.ts.map +1 -0
- package/out/validators/package-validator.js +32 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 4.20.2-next.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ac23105f: Reverted dependency version bump
|
|
8
|
+
|
|
9
|
+
## 4.20.2-next.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- de5d2023: Allow packaging extra files in Forge apps
|
|
14
|
+
|
|
3
15
|
## 4.20.2-next.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAqBvF"}
|
|
@@ -25,7 +25,8 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
|
|
|
25
25
|
new validators_1.ProvidersValidator(),
|
|
26
26
|
new validators_1.EntityPropertyValidator(),
|
|
27
27
|
new validators_1.SnapshotValidator(),
|
|
28
|
-
new jql_function_validator_1.JqlFunctionValidator()
|
|
28
|
+
new jql_function_validator_1.JqlFunctionValidator(),
|
|
29
|
+
new validators_1.PackageValidator()
|
|
29
30
|
]);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
@@ -213,6 +213,21 @@
|
|
|
213
213
|
"minItems": 1
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
+
},
|
|
217
|
+
"package": {
|
|
218
|
+
"additionalProperties": false,
|
|
219
|
+
"description": "Options for packaging the Forge app.",
|
|
220
|
+
"properties": {
|
|
221
|
+
"extraFiles": {
|
|
222
|
+
"description": "A list of files to include in the Forge app package.",
|
|
223
|
+
"type": "array",
|
|
224
|
+
"items": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"title": "package",
|
|
230
|
+
"type": "object"
|
|
216
231
|
}
|
|
217
232
|
},
|
|
218
233
|
"required": [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* tslint:disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
@@ -51,14 +51,10 @@ export interface App {
|
|
|
51
51
|
storage?: {
|
|
52
52
|
/**
|
|
53
53
|
* Labels to classify the type of data stored
|
|
54
|
-
*
|
|
55
|
-
* @minItems 1
|
|
56
54
|
*/
|
|
57
55
|
classifications?: ['ugc' | 'pii' | 'other', ...('ugc' | 'pii' | 'other')[]];
|
|
58
56
|
/**
|
|
59
57
|
* Custom schemas for app stored entities.
|
|
60
|
-
*
|
|
61
|
-
* @minItems 1
|
|
62
58
|
*/
|
|
63
59
|
entities?: [
|
|
64
60
|
{
|
|
@@ -85,21 +81,13 @@ export interface App {
|
|
|
85
81
|
};
|
|
86
82
|
/**
|
|
87
83
|
* Indexes on attributes of the schema.
|
|
88
|
-
*
|
|
89
|
-
* @minItems 1
|
|
90
84
|
*/
|
|
91
85
|
indexes?: [
|
|
92
86
|
(
|
|
93
87
|
| string
|
|
94
88
|
| {
|
|
95
89
|
name: string;
|
|
96
|
-
/**
|
|
97
|
-
* @minItems 1
|
|
98
|
-
*/
|
|
99
90
|
range: [string, ...string[]];
|
|
100
|
-
/**
|
|
101
|
-
* @minItems 1
|
|
102
|
-
*/
|
|
103
91
|
partition?: [string, ...string[]];
|
|
104
92
|
}
|
|
105
93
|
),
|
|
@@ -107,13 +95,7 @@ export interface App {
|
|
|
107
95
|
| string
|
|
108
96
|
| {
|
|
109
97
|
name: string;
|
|
110
|
-
/**
|
|
111
|
-
* @minItems 1
|
|
112
|
-
*/
|
|
113
98
|
range: [string, ...string[]];
|
|
114
|
-
/**
|
|
115
|
-
* @minItems 1
|
|
116
|
-
*/
|
|
117
99
|
partition?: [string, ...string[]];
|
|
118
100
|
}
|
|
119
101
|
)[]
|
|
@@ -143,21 +125,13 @@ export interface App {
|
|
|
143
125
|
};
|
|
144
126
|
/**
|
|
145
127
|
* Indexes on attributes of the schema.
|
|
146
|
-
*
|
|
147
|
-
* @minItems 1
|
|
148
128
|
*/
|
|
149
129
|
indexes?: [
|
|
150
130
|
(
|
|
151
131
|
| string
|
|
152
132
|
| {
|
|
153
133
|
name: string;
|
|
154
|
-
/**
|
|
155
|
-
* @minItems 1
|
|
156
|
-
*/
|
|
157
134
|
range: [string, ...string[]];
|
|
158
|
-
/**
|
|
159
|
-
* @minItems 1
|
|
160
|
-
*/
|
|
161
135
|
partition?: [string, ...string[]];
|
|
162
136
|
}
|
|
163
137
|
),
|
|
@@ -165,13 +139,7 @@ export interface App {
|
|
|
165
139
|
| string
|
|
166
140
|
| {
|
|
167
141
|
name: string;
|
|
168
|
-
/**
|
|
169
|
-
* @minItems 1
|
|
170
|
-
*/
|
|
171
142
|
range: [string, ...string[]];
|
|
172
|
-
/**
|
|
173
|
-
* @minItems 1
|
|
174
|
-
*/
|
|
175
143
|
partition?: [string, ...string[]];
|
|
176
144
|
}
|
|
177
145
|
)[]
|
|
@@ -179,6 +147,7 @@ export interface App {
|
|
|
179
147
|
}[]
|
|
180
148
|
];
|
|
181
149
|
};
|
|
150
|
+
package?: Package;
|
|
182
151
|
}
|
|
183
152
|
/**
|
|
184
153
|
* Options related to the Forge Javascript runtime.
|
|
@@ -213,3 +182,12 @@ export interface Connect {
|
|
|
213
182
|
*/
|
|
214
183
|
authentication?: 'jwt' | 'oauth2';
|
|
215
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Options for packaging the Forge app.
|
|
187
|
+
*/
|
|
188
|
+
export interface Package {
|
|
189
|
+
/**
|
|
190
|
+
* A list of files to include in the Forge app package.
|
|
191
|
+
*/
|
|
192
|
+
extraFiles?: string[];
|
|
193
|
+
}
|
|
@@ -213,6 +213,21 @@
|
|
|
213
213
|
"minItems": 1
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
+
},
|
|
217
|
+
"package": {
|
|
218
|
+
"additionalProperties": false,
|
|
219
|
+
"description": "Options for packaging the Forge app.",
|
|
220
|
+
"properties": {
|
|
221
|
+
"extraFiles": {
|
|
222
|
+
"description": "A list of files to include in the Forge app package.",
|
|
223
|
+
"type": "array",
|
|
224
|
+
"items": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"title": "package",
|
|
230
|
+
"type": "object"
|
|
216
231
|
}
|
|
217
232
|
},
|
|
218
233
|
"required": [
|