Skip to content

Commit 728ca20

Browse files
authored
Merge branch 'stage' into ignore_delayed_upload_check
2 parents aaabb26 + 1578b44 commit 728ca20

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/lib/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ export default {
360360

361361
FIGMA_API: 'https://api.figma.com/v1/',
362362
DEFAULT_FIGMA_CONFIG: {
363-
"depth": 2,
363+
"depth": 1,
364364
"figma_config": [
365365
{
366366
"figma_file_token": "token_for_first_figma_file",
@@ -381,7 +381,7 @@ export default {
381381
]
382382
},
383383
figma: {
384-
"depth": 2,
384+
"depth": 1,
385385
"configs": [
386386
{
387387
"figma_file_token": "<token>",
@@ -408,7 +408,7 @@ export default {
408408
}
409409
],
410410
figma: {
411-
"depth": 2,
411+
"depth": 1,
412412
"configs": [
413413
{
414414
"figma_file_token": "<token>",

src/lib/schemaValidation.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ const FigmaDesignConfigSchema: JSONSchemaType<FigmaDesignConfig> = {
512512
properties: {
513513
depth: {
514514
type: "integer",
515-
minimum: 2,
516-
errorMessage: "Depth must be an integer and greater than 1"
515+
minimum: 1,
516+
errorMessage: "Depth must be an integer and greater than 0"
517517
},
518518
figma_config: {
519519
type: "array",
@@ -586,8 +586,8 @@ const FigmaWebConfigSchema: JSONSchemaType<Object> = {
586586
"properties": {
587587
depth: {
588588
type: "integer",
589-
minimum: 2,
590-
errorMessage: "Depth must be an integer and greater than 1"
589+
minimum: 1,
590+
errorMessage: "Depth must be an integer and greater than 0"
591591
},
592592
"configs": {
593593
"type": "array",
@@ -702,8 +702,8 @@ const FigmaAppConfigSchema: JSONSchemaType<Object> = {
702702
"properties": {
703703
depth: {
704704
type: "integer",
705-
minimum: 2,
706-
errorMessage: "Depth must be an integer and greater than 1"
705+
minimum: 1,
706+
errorMessage: "Depth must be an integer and greater than 0"
707707
},
708708
"configs": {
709709
"type": "array",

0 commit comments

Comments
 (0)