diff --git a/packages/database/src/migrations/20240320201246-AddEntityTypesHealthClinicBoundaryAndEnumerationArea-modifies-schema.js b/packages/database/src/migrations/20240320201246-AddEntityTypesHealthClinicBoundaryAndEnumerationArea-modifies-schema.js new file mode 100644 index 0000000000..2425bda50d --- /dev/null +++ b/packages/database/src/migrations/20240320201246-AddEntityTypesHealthClinicBoundaryAndEnumerationArea-modifies-schema.js @@ -0,0 +1,30 @@ +'use strict'; + +var dbm; +var type; +var seed; + +/** + * We receive the dbmigrate dependency from dbmigrate initially. + * This enables us to not have to rely on NODE_PATH. + */ +exports.setup = function (options, seedLink) { + dbm = options.dbmigrate; + type = dbm.dataType; + seed = seedLink; +}; + +exports.up = function (db) { + return db.runSql(` + ALTER TYPE entity_type ADD VALUE 'health_clinic_boundary'; + ALTER TYPE entity_type ADD VALUE 'enumeration_area'; + `); +}; + +exports.down = function (db) { + return null; +}; + +exports._meta = { + version: 1, +}; diff --git a/packages/types/src/schemas/schemas.ts b/packages/types/src/schemas/schemas.ts index cad59b1b3e..eb375637a5 100644 --- a/packages/types/src/schemas/schemas.ts +++ b/packages/types/src/schemas/schemas.ts @@ -29334,11 +29334,13 @@ export const MeasureConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -29519,11 +29521,13 @@ export const EntityLevelSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -29855,11 +29859,13 @@ export const BaseMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -29992,11 +29998,13 @@ export const BaseMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -30119,11 +30127,13 @@ export const BaseMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -30537,11 +30547,13 @@ export const SpectrumMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -30674,11 +30686,13 @@ export const SpectrumMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -30801,11 +30815,13 @@ export const SpectrumMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -31327,11 +31343,13 @@ export const IconMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -31464,11 +31482,13 @@ export const IconMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -31591,11 +31611,13 @@ export const IconMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32039,11 +32061,13 @@ export const RadiusMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32176,11 +32200,13 @@ export const RadiusMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32303,11 +32329,13 @@ export const RadiusMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32725,11 +32753,13 @@ export const ColorMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32862,11 +32892,13 @@ export const ColorMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -32989,11 +33021,13 @@ export const ColorMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -33426,11 +33460,13 @@ export const ShadingMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -33563,11 +33599,13 @@ export const ShadingMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -33690,11 +33728,13 @@ export const ShadingMapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -34118,11 +34158,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -34255,11 +34297,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -34382,11 +34426,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -34907,11 +34953,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -35044,11 +35092,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -35171,11 +35221,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -35618,11 +35670,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -35755,11 +35809,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -35882,11 +35938,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -36303,11 +36361,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -36440,11 +36500,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -36567,11 +36629,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -37003,11 +37067,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -37140,11 +37206,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -37267,11 +37335,13 @@ export const MapOverlayConfigSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -65632,11 +65702,13 @@ export const EntitySchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -65707,11 +65779,13 @@ export const EntityCreateSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -65784,11 +65858,13 @@ export const EntityUpdateSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -66976,11 +67052,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -67113,11 +67191,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -67240,11 +67320,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -67765,11 +67847,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -67902,11 +67986,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -68029,11 +68115,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -68476,11 +68564,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -68613,11 +68703,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -68740,11 +68832,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -69161,11 +69255,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -69298,11 +69394,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -69425,11 +69523,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -69861,11 +69961,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -69998,11 +70100,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -70125,11 +70229,13 @@ export const MapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -70608,11 +70714,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -70745,11 +70853,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -70872,11 +70982,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -71397,11 +71509,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -71534,11 +71648,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -71661,11 +71777,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -72108,11 +72226,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -72245,11 +72365,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -72372,11 +72494,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -72793,11 +72917,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -72930,11 +73056,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -73057,11 +73185,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -73493,11 +73623,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -73630,11 +73762,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -73757,11 +73891,13 @@ export const MapOverlayCreateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -74233,11 +74369,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -74370,11 +74508,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -74497,11 +74637,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75022,11 +75164,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75159,11 +75303,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75286,11 +75432,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75733,11 +75881,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75870,11 +76020,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -75997,11 +76149,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -76418,11 +76572,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -76555,11 +76711,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -76682,11 +76840,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -77118,11 +77278,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -77255,11 +77417,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -77382,11 +77546,13 @@ export const MapOverlayUpdateSchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -78327,11 +78493,13 @@ export const PermissionsBasedMeditrakSyncQueueSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -78403,11 +78571,13 @@ export const PermissionsBasedMeditrakSyncQueueCreateSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -78476,11 +78646,13 @@ export const PermissionsBasedMeditrakSyncQueueUpdateSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -80579,11 +80751,13 @@ export const EntityTypeSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -80811,11 +80985,13 @@ export const MeditrakSurveyResponseRequestSchema = { "country", "disaster", "district", + "enumeration_area", "facility", "farm", "fetp_graduate", "field_station", "fiji_aspen_facility", + "health_clinic_boundary", "household", "incident", "incident_reported", @@ -90462,11 +90638,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -90599,11 +90777,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -90726,11 +90906,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -91285,11 +91467,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -91422,11 +91606,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -91549,11 +91735,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -92030,11 +92218,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -92167,11 +92357,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -92294,11 +92486,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -92749,11 +92943,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -92886,11 +93082,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -93013,11 +93211,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -93483,11 +93683,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -93620,11 +93822,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", @@ -93747,11 +93951,13 @@ export const TranslatedMapOverlaySchema = { "Country", "Disaster", "District", + "EnumerationArea", "Facility", "Farm", "FetpGraduate", "FieldStation", "FijiAspenFacility", + "HealthClinicBoundary", "Household", "Incident", "IncidentReported", diff --git a/packages/types/src/types/models.ts b/packages/types/src/types/models.ts index 4d41232ff5..ea94ef16d2 100644 --- a/packages/types/src/types/models.ts +++ b/packages/types/src/types/models.ts @@ -1784,6 +1784,8 @@ export enum EntityType { 'farm' = 'farm', 'repair_request' = 'repair_request', 'business' = 'business', + 'health_clinic_boundary' = 'health_clinic_boundary', + 'enumeration_area' = 'enumeration_area', } export enum DisasterType { 'cyclone' = 'cyclone',