1
0
mirror of synced 2025-12-22 03:16:52 -05:00

Upgrade AJV (#19443)

* Upgrade AJV

* Fixes for AJV upgrade

* lint fix

* Update index.tsx
This commit is contained in:
Kevin Heis
2021-05-20 10:46:04 -07:00
committed by GitHub
parent a61d6bdaf6
commit afa551f2ee
5 changed files with 49 additions and 15 deletions

View File

@@ -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',