@forge/manifest
13.5.0-next.013.5.0-next.1
out/schema/manifest-schema.json~
out/schema/manifest-schema.jsonModified+49−40
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -3002,14 +3002,8 @@
"type": "string",
"minLength": 1,
"maxLength": 255
},
- "resource": {
- "type": "string",
- "minLength": 1,
- "maxLength": 23,
- "pattern": "^[a-zA-Z0-9_\\-]+$"
- },
"render": {
"default": "default",
"enum": [
"default",
@@ -3038,30 +3032,8 @@
"required": [
"resource"
]
},
- "edit.sidePanel": {
- "type": "object",
- "properties": {
- "resource": {
- "type": "string",
- "minLength": 1,
- "maxLength": 23,
- "pattern": "^[a-zA-Z0-9_\\-]+$"
- },
- "render": {
- "default": "default",
- "enum": [
- "default",
- "native"
- ],
- "type": "string"
- }
- },
- "required": [
- "resource"
- ]
- },
"resolver": {
"anyOf": [
{
"additionalProperties": false,
@@ -3093,26 +3065,63 @@
"endpoint"
]
}
]
- },
- "key": {
- "$ref": "#/definitions/ModuleKeySchema"
}
},
"required": [
"title",
"icon",
- "resource",
- "edit",
- "edit.sidePanel",
- "key"
+ "edit"
],
- "not": {
- "required": [
- "unlicensedAccess"
- ]
- }
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "function": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 255,
+ "pattern": "^[a-zA-Z0-9-_]+$"
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "function",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ {
+ "type": "object",
+ "properties": {
+ "resource": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 23,
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "resource",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ }
+ ]
},
"minItems": 1
},
"dashboards:backgroundScript": {