Skip to content

Commit

Permalink
feat(project): update default content-type schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLantukh committed Mar 21, 2024
1 parent 4faaeef commit 0a9817a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"lint:prettier": "prettier --check \"{**/*,*}.{js,ts,jsx,tsx}\"",
"lint:stylelint": "stylelint '**/*.{css,scss}'",
"lint:ts": "tsc --pretty --noEmit -p ./scripts && yarn workspaces run lint:ts",
"load-content-types": "ts-node ./scripts/content-types/load-content-types",
"pre-commit": "yarn depcheck && lint-staged",
"prepare": "husky install",
"test": "TZ=UTC LC_ALL=en_US.UTF-8 vitest run",
Expand Down
1 change: 0 additions & 1 deletion platforms/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"codecept:mobile": "cd test-e2e && rm -rf \"./output/mobile\" && codeceptjs run-workers --suites ${WORKER_COUNT:=8} --config ./codecept.mobile.cjs",
"generate-pwa-assets": "pwa-assets-generator",
"lint:ts": "tsc --pretty --noEmit -p ./ && tsc --pretty --noEmit -p ./test-e2e",
"load-content-types": "npx ts-node ./scripts/content-types/load-content-types",
"serve-report:desktop": "cd test-e2e && allure serve \"./output/desktop\"",
"serve-report:mobile": "cd test-e2e && allure serve \"./output/mobile\"",
"start": "vite",
Expand Down
17 changes: 9 additions & 8 deletions scripts/content-types/content-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,20 @@
"liveStatus": {
"param": "VCH.EventState",
"label": "Status",
"description": "Do Not Modify - This is the state of the live event (populated automatically)",
"read_only": true,
"description": "This field will be populated automatically",
"details": {
"field_type": "input",
"placeholder": "This value will be populated automatically"
"placeholder": "Populated automatically"
}
},
"liveStartTime": {
"param": "VCH.ScheduledStart",
"label": "Start Time",
"description": "Do Not Modify - This is the schedules start time of the live event (populated automatically)",
"read_only": true,
"description": "This field will be populated automatically",
"details": {
"field_type": "input",
"placeholder": "This value will be populated automatically"
"field_type": "date_time"
}
}
},
Expand Down Expand Up @@ -243,10 +244,10 @@
{
"param": "VCH.ScheduledEnd",
"label": "End Time",
"description": "Do not Modify - Live event start time (populated automatically)",
"read_only": true,
"description": "This field will be populated automatically",
"details": {
"field_type": "input",
"placeholder": "This value will be populated automatically"
"field_type": "date_time"
}
}
]
Expand Down

0 comments on commit 0a9817a

Please sign in to comment.