Upgrade AJV (#19443)
* Upgrade AJV * Fixes for AJV upgrade * lint fix * Update index.tsx
This commit is contained in:
@@ -114,6 +114,7 @@ const context = {
|
||||
}
|
||||
|
||||
const pageSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -129,6 +130,7 @@ const pageSchema = {
|
||||
}
|
||||
|
||||
const exitSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -175,6 +177,7 @@ const exitSchema = {
|
||||
}
|
||||
|
||||
const linkSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -196,6 +199,7 @@ const linkSchema = {
|
||||
}
|
||||
|
||||
const searchSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -220,6 +224,7 @@ const searchSchema = {
|
||||
}
|
||||
|
||||
const navigateSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -239,6 +244,7 @@ const navigateSchema = {
|
||||
}
|
||||
|
||||
const surveySchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -273,6 +279,7 @@ const surveySchema = {
|
||||
}
|
||||
|
||||
const experimentSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -304,6 +311,7 @@ const experimentSchema = {
|
||||
}
|
||||
|
||||
const redirectSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -331,6 +339,7 @@ const redirectSchema = {
|
||||
}
|
||||
|
||||
const clipboardSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
@@ -352,6 +361,7 @@ const clipboardSchema = {
|
||||
}
|
||||
|
||||
const printSchema = {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: [
|
||||
'type',
|
||||
|
||||
Reference in New Issue
Block a user