diff --git a/package.json b/package.json index aca4377d8..8b1df73aa 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/platforms/web/package.json b/platforms/web/package.json index 932880903..e7606048e 100644 --- a/platforms/web/package.json +++ b/platforms/web/package.json @@ -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", diff --git a/scripts/content-types/content-types.json b/scripts/content-types/content-types.json index c086bc2ab..93b896f23 100644 --- a/scripts/content-types/content-types.json +++ b/scripts/content-types/content-types.json @@ -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" } } }, @@ -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" } } ]