Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "editionable_topical_events" to the topical events content type #3036

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content_schemas/allowed_document_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- document_collection
- drcf_digital_markets_research
- drug_safety_update
- editionable_topical_event
- email_alert_signup
- embassies_index
- employment_appeal_tribunal_decision
Expand Down
1 change: 1 addition & 0 deletions content_schemas/dist/formats/generic/frontend/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"document_collection",
"drcf_digital_markets_research",
"drug_safety_update",
"editionable_topical_event",
"email_alert_signup",
"embassies_index",
"employment_appeal_tribunal_decision",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"document_type": {
"type": "string",
"enum": [
"topical_event"
"topical_event",
"editionable_topical_event"
]
},
"first_published_at": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"document_type": {
"type": "string",
"enum": [
"topical_event"
"topical_event",
"editionable_topical_event"
]
},
"email_document_supertype": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"document_type": {
"type": "string",
"enum": [
"topical_event"
"topical_event",
"editionable_topical_event"
]
},
"first_published_at": {
Expand Down
2 changes: 1 addition & 1 deletion content_schemas/formats/topical_event.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(import "shared/default_format.jsonnet") + {
document_type: "topical_event",
document_type: ["topical_event", "editionable_topical_event"],
definitions: (import "shared/definitions/_whitehall.jsonnet") + {
details: {
type: "object",
Expand Down
Loading