-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SOF-6927: merge dev and resolve conflicts x2
- Loading branch information
Showing
4 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "from-iframe-to-host", | ||
"action": "set-data", | ||
"payload": { | ||
"property": { | ||
"name": "material" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$id": "system/iframe-message", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "iframe message schema", | ||
"description": "communication message between iframe and the parent window.", | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"description": "The type of the message to distinguish the direction of the message.", | ||
"type": "string", | ||
"enum": [ | ||
"from-iframe-to-host", | ||
"from-host-to-iframe" | ||
] | ||
}, | ||
"action": { | ||
"description": "The action to be performed upon receiving the message.", | ||
"type": "string", | ||
"enum": [ | ||
"set-data", | ||
"get-data", | ||
"info" | ||
] | ||
}, | ||
"payload": { | ||
"description": "The content of the message with actual data.", | ||
"type": "object" | ||
} | ||
}, | ||
"required": [ | ||
"type", | ||
"action", | ||
"payload" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.