Skip to content

Commit

Permalink
[FEATURE] Ne pas permettre l'ajout d'une Flashcards ou Embed dans un …
Browse files Browse the repository at this point in the history
…Stepper (PIX-15063) (#8)

feat(modulix-editor): remove embed and flashcards in elements schema for stepper.
  • Loading branch information
dianeCdrPix authored Oct 30, 2024
1 parent b07b638 commit a9e81cd
Showing 1 changed file with 0 additions and 153 deletions.
153 changes: 0 additions & 153 deletions modulix.json-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -873,159 +873,6 @@ export const schema = {
"additionalProperties": false,
"title": "download"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"type": {
"type": "string",
"enum": [
"embed"
]
},
"isCompletionRequired": {
"type": "boolean"
},
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"instruction": {
"type": "string",
"format": "jodit"
},
"height": {
"type": "number",
"minimum": 0
}
},
"required": [
"id",
"type",
"isCompletionRequired",
"title",
"url",
"height"
],
"additionalProperties": false,
"title": "embed"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"type": {
"type": "string",
"enum": [
"flashcards"
]
},
"instruction": {
"type": "string",
"format": "jodit"
},
"title": {
"type": "string"
},
"introImage": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"cards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"recto": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"text": {
"type": "string"
}
},
"required": [
"text"
],
"additionalProperties": false
},
"verso": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"text": {
"type": "string",
"format": "jodit"
}
},
"required": [
"text"
],
"additionalProperties": false
}
},
"required": [
"id"
],
"additionalProperties": false,
"title": "card"
}
}
},
"required": [
"id",
"type",
"title"
],
"additionalProperties": false,
"title": "flashcards"
},
{
"type": "object",
"properties": {
Expand Down

0 comments on commit a9e81cd

Please sign in to comment.