npm package diff
Package: @forge/manifest
Versions: 10.0.1-next.7 - 10.1.0-next.8
File: package/out/schema/manifest-schema.json
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -27675,10 +27675,18 @@
"type": "array",
"title": "variables",
"description": "Manifest environment variables",
"items": {
- "type": "string",
- "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$"
+ "oneOf": [
+ {
+ "$ref": "#/definitions/EnvVarString",
+ "title": "EnvVarString"
+ },
+ {
+ "$ref": "#/definitions/EnvVarObject",
+ "title": "EnvVarObject"
+ }
+ ]
}
}
}
},
@@ -27834,8 +27842,30 @@
"description": "Weather or not any user data is in egressed via this address"
}
}
},
+ "EnvVarString": {
+ "type": "string",
+ "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
+ "description": "An environment variable name, which can be used in the manifest"
+ },
+ "EnvVarObject": {
+ "type": "object",
+ "additionalProperties": false,
+ "required": [
+ "key", "default"
+ ],
+ "properties": {
+ "key": {
+ "$ref": "#/definitions/EnvVarString",
+ "description": "The name of the environment variable"
+ },
+ "default": {
+ "type": "string",
+ "description": "The default value of the environment variable"
+ }
+ }
+ },
"AuthProviderPredefined": {
"type": "object",
"additionalProperties": false,
"required": [