@opencrvs/toolkit 2.1.0-rc.06707c1 → 2.1.0-rc.08b7255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,9 +161,7 @@ __export(events_exports, {
161
161
  LanguageConfig: () => LanguageConfig,
162
162
  LegalStatuses: () => LegalStatuses,
163
163
  Location: () => Location,
164
- LocationStatus: () => LocationStatus,
165
164
  LocationTypeV1: () => LocationTypeV1,
166
- LocationVersion: () => LocationVersion,
167
165
  METADATA_FIELD_PREFIX: () => METADATA_FIELD_PREFIX,
168
166
  MarkAsDuplicateActionInput: () => MarkAsDuplicateActionInput,
169
167
  MarkNotDuplicateActionInput: () => MarkNotDuplicateActionInput,
@@ -203,8 +201,6 @@ __export(events_exports, {
203
201
  SelectDateRangeOption: () => SelectDateRangeOption,
204
202
  SelectDateRangeValue: () => SelectDateRangeValue,
205
203
  SelectOption: () => SelectOption,
206
- SetAdministrativeAreaPayload: () => SetAdministrativeAreaPayload,
207
- SetLocationPayload: () => SetLocationPayload,
208
204
  ShowConditional: () => ShowConditional,
209
205
  SignatureFieldValue: () => SignatureFieldValue,
210
206
  StaticDataEntry: () => StaticDataEntry,
@@ -437,7 +433,6 @@ __export(events_exports, {
437
433
  resolveDateOfEvent: () => resolveDateOfEvent,
438
434
  resolveEventCustomFlags: () => resolveEventCustomFlags,
439
435
  resolvePlaceOfEvent: () => resolvePlaceOfEvent,
440
- resolveVersion: () => resolveVersion,
441
436
  runClientFunction: () => runClientFunction,
442
437
  runFieldValidations: () => runFieldValidations,
443
438
  runStructuralValidations: () => runStructuralValidations,
@@ -10471,53 +10466,21 @@ var LocationTypeV1 = z43.enum([
10471
10466
  "CRVS_OFFICE",
10472
10467
  "HEALTH_FACILITY"
10473
10468
  ]);
10474
- var LocationStatus = z43.enum(["active", "inactive"]);
10475
- var LocationVersion = z43.object({
10476
- versionId: UUID,
10477
- effectiveFrom: z43.iso.date(),
10478
- name: z43.string(),
10479
- externalId: z43.string().nullish(),
10480
- status: LocationStatus
10481
- });
10482
10469
  var AdministrativeArea = z43.object({
10483
10470
  id: UUID,
10484
10471
  name: z43.string(),
10485
10472
  externalId: z43.string().nullish(),
10486
10473
  parentId: UUID.nullable(),
10487
- status: LocationStatus,
10488
- versions: z43.array(LocationVersion)
10474
+ validUntil: z43.iso.datetime().nullable()
10489
10475
  });
10490
10476
  var Location = z43.object({
10491
10477
  id: UUID,
10492
10478
  name: z43.string(),
10493
10479
  externalId: z43.string().nullish(),
10494
10480
  administrativeAreaId: UUID.nullable(),
10495
- locationType: z43.string().nullable(),
10496
- status: LocationStatus,
10497
- versions: z43.array(LocationVersion)
10498
- });
10499
- var SetLocationPayload = z43.object({
10500
- id: UUID,
10501
- name: z43.string(),
10502
- externalId: z43.string().nullish(),
10503
- administrativeAreaId: UUID.nullable(),
10481
+ validUntil: z43.iso.datetime().nullable(),
10504
10482
  locationType: z43.string().nullable()
10505
10483
  });
10506
- var SetAdministrativeAreaPayload = z43.object({
10507
- id: UUID,
10508
- name: z43.string(),
10509
- externalId: z43.string().nullish(),
10510
- parentId: UUID.nullable()
10511
- });
10512
- function resolveVersion(versions, anchor) {
10513
- let resolved = versions[0];
10514
- for (const version of versions) {
10515
- if (version.effectiveFrom <= anchor) {
10516
- resolved = version;
10517
- }
10518
- }
10519
- return resolved;
10520
- }
10521
10484
  function matchesJurisdictionFilter(locationIds, filter, user2) {
10522
10485
  if (!locationIds) {
10523
10486
  return false;
@@ -10997,80 +10960,75 @@ function getFilePathsFromEvent(event2) {
10997
10960
  }
10998
10961
 
10999
10962
  // ../commons/src/events/mocks.test.utils.ts
11000
- function withVersionFields(entity) {
11001
- return {
11002
- ...entity,
11003
- status: "active",
11004
- versions: [
11005
- {
11006
- versionId: entity.id,
11007
- effectiveFrom: "0001-01-01",
11008
- name: entity.name,
11009
- externalId: entity.externalId ?? null,
11010
- status: "active"
11011
- }
11012
- ]
11013
- };
11014
- }
11015
- var MOCK_ADMINISTRATIVE_AREAS_BASE = [
10963
+ var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = [
11016
10964
  {
11017
10965
  id: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11018
10966
  name: "Central",
11019
10967
  parentId: null,
10968
+ validUntil: null,
11020
10969
  externalId: "ydyJb1RAy4U1"
11021
10970
  },
11022
10971
  {
11023
10972
  id: "c599b691-fd2d-45e1-abf4-d185de727fb5",
11024
10973
  name: "Sulaka",
11025
10974
  parentId: null,
10975
+ validUntil: null,
11026
10976
  externalId: "pQ8nGxWmZ2Q3"
11027
10977
  },
11028
10978
  {
11029
10979
  id: "7ef2b9c7-5e6d-49f6-ae05-656207d0fc64",
11030
10980
  name: "Pualula",
11031
10981
  parentId: null,
10982
+ validUntil: null,
11032
10983
  externalId: "Aq91DweLmT8k"
11033
10984
  },
11034
10985
  {
11035
10986
  id: "6d1a59df-988c-4021-a846-ccbc021931a7",
11036
10987
  name: "Chuminga",
11037
10988
  parentId: null,
10989
+ validUntil: null,
11038
10990
  externalId: "Rw0fYNh2Xk9a"
11039
10991
  },
11040
10992
  {
11041
10993
  id: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11042
10994
  name: "Ibombo",
11043
10995
  parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
10996
+ validUntil: null,
11044
10997
  externalId: "k7DsP4vbN1Qe"
11045
10998
  },
11046
10999
  {
11047
11000
  id: "27160bbd-32d1-4625-812f-860226bfb92a",
11048
11001
  name: "Isango",
11049
11002
  parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11003
+ validUntil: null,
11050
11004
  externalId: "Gm3Z9eQpHw4L"
11051
11005
  },
11052
11006
  {
11053
11007
  id: "967032fd-3f81-478a-826c-30cb8fe121bd",
11054
11008
  name: "Isamba",
11055
11009
  parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11010
+ validUntil: null,
11056
11011
  externalId: "sT0xVu1KqJ7r"
11057
11012
  },
11058
11013
  {
11059
11014
  id: "89a33893-b17d-481d-a26d-6461e7ac1651",
11060
11015
  name: "Itambo",
11061
11016
  parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11017
+ validUntil: null,
11062
11018
  externalId: "Nq6Bv2HpL9Te"
11063
11019
  },
11064
11020
  {
11065
11021
  id: "d42ab2fe-e7ed-470e-8b31-4fb27f9b8250",
11066
11022
  name: "Ezhi",
11067
11023
  parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11024
+ validUntil: null,
11068
11025
  externalId: "xK8cQ0ZRy5Wd"
11069
11026
  },
11070
11027
  {
11071
11028
  id: "8fbd09d2-212b-47f4-beb3-5e1694931d9f",
11072
11029
  name: "Ilanga",
11073
11030
  parentId: "c599b691-fd2d-45e1-abf4-d185de727fb5",
11031
+ validUntil: null,
11074
11032
  externalId: "Cq4Jm1XvN8Ls"
11075
11033
  },
11076
11034
  // Villages under Ibombo (62a0ccb4-880d-4f30-8882-f256007dfff9)
@@ -11078,42 +11036,49 @@ var MOCK_ADMINISTRATIVE_AREAS_BASE = [
11078
11036
  id: "1d4e5f6a-7b8c-4912-8efa-345678901234",
11079
11037
  name: "Klow",
11080
11038
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11039
+ validUntil: null,
11081
11040
  externalId: "IkYcYBUcyY2"
11082
11041
  },
11083
11042
  {
11084
11043
  id: "2e5f6a7b-8c9d-4a23-8fab-456789012345",
11085
11044
  name: "Mbondo",
11086
11045
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11046
+ validUntil: null,
11087
11047
  externalId: "Qhvv5hvo3mY"
11088
11048
  },
11089
11049
  {
11090
11050
  id: "3f6a7b8c-9d0e-4b34-8abc-567890123456",
11091
11051
  name: "Ndara",
11092
11052
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11053
+ validUntil: null,
11093
11054
  externalId: "crXh068O9TR"
11094
11055
  },
11095
11056
  {
11096
11057
  id: "4a7b8c9d-0e1f-4c45-abcd-678901234567",
11097
11058
  name: "Olani",
11098
11059
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11060
+ validUntil: null,
11099
11061
  externalId: "r00It8Tvvp7"
11100
11062
  },
11101
11063
  {
11102
11064
  id: "5b8c9d0e-1f2a-4d56-bcde-789012345678",
11103
11065
  name: "Pemba",
11104
11066
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11067
+ validUntil: null,
11105
11068
  externalId: "ZnUWsbONIaH"
11106
11069
  },
11107
11070
  {
11108
11071
  id: "6c9d0e1f-2a3b-4e67-8def-890123456789",
11109
11072
  name: "Quanza",
11110
11073
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11074
+ validUntil: null,
11111
11075
  externalId: "fDZycvQTa7l"
11112
11076
  },
11113
11077
  {
11114
11078
  id: "7d0e1f2a-3b4c-4f78-8efa-901234567890",
11115
11079
  name: "Rivka",
11116
11080
  parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11081
+ validUntil: null,
11117
11082
  externalId: "KqswxCGTELa"
11118
11083
  },
11119
11084
  // Villages under Isamba (967032fd-3f81-478a-826c-30cb8fe121bd)
@@ -11121,30 +11086,35 @@ var MOCK_ADMINISTRATIVE_AREAS_BASE = [
11121
11086
  id: "8e1f2a3b-4c5d-4089-8fab-012345678901",
11122
11087
  name: "Mbula",
11123
11088
  parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11089
+ validUntil: null,
11124
11090
  externalId: "osEbKjRc9Kg"
11125
11091
  },
11126
11092
  {
11127
11093
  id: "9f2a3b4c-5d6e-4190-8abf-123456789012",
11128
11094
  name: "Ndoki",
11129
11095
  parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11096
+ validUntil: null,
11130
11097
  externalId: "aq4daBUAGr3"
11131
11098
  },
11132
11099
  {
11133
11100
  id: "0a3b4c5d-6e7f-4201-abcd-234567890123",
11134
11101
  name: "Tsanga",
11135
11102
  parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11103
+ validUntil: null,
11136
11104
  externalId: "cqis6Y8trbJ"
11137
11105
  },
11138
11106
  {
11139
11107
  id: "1b4c5d6e-7f8a-4312-bcde-345678901234",
11140
11108
  name: "Waziri",
11141
11109
  parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11110
+ validUntil: null,
11142
11111
  externalId: "LMijHPyyx6d"
11143
11112
  },
11144
11113
  {
11145
11114
  id: "2c5d6e7f-8a9b-4423-8def-456789012345",
11146
11115
  name: "Zimbi",
11147
11116
  parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11117
+ validUntil: null,
11148
11118
  externalId: "pcQYbPuKGZ7"
11149
11119
  },
11150
11120
  // Villages under Itambo (89a33893-b17d-481d-a26d-6461e7ac1651)
@@ -11152,59 +11122,67 @@ var MOCK_ADMINISTRATIVE_AREAS_BASE = [
11152
11122
  id: "3d6e7f8a-9b0c-4534-8efa-567890123456",
11153
11123
  name: "Felani",
11154
11124
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11125
+ validUntil: null,
11155
11126
  externalId: "gSqpoCGdMXp"
11156
11127
  },
11157
11128
  {
11158
11129
  id: "4e7f8a9b-0c1d-4645-8fab-678901234567",
11159
11130
  name: "Goroma",
11160
11131
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11132
+ validUntil: null,
11161
11133
  externalId: "KvAAIaNqVrp"
11162
11134
  },
11163
11135
  {
11164
11136
  id: "5f8a9b0c-1d2e-4756-8abc-789012345678",
11165
11137
  name: "Halifu",
11166
11138
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11139
+ validUntil: null,
11167
11140
  externalId: "qe4UnEVt1hv"
11168
11141
  },
11169
11142
  {
11170
11143
  id: "6a9b0c1d-2e3f-4867-abcd-890123456789",
11171
11144
  name: "Jabari",
11172
11145
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11146
+ validUntil: null,
11173
11147
  externalId: "yHH9Nz4rLOt"
11174
11148
  },
11175
11149
  {
11176
11150
  id: "7b0c1d2e-3f4a-4978-bcde-901234567890",
11177
11151
  name: "Kifani",
11178
11152
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11153
+ validUntil: null,
11179
11154
  externalId: "eSWmXIGeu1I"
11180
11155
  },
11181
11156
  {
11182
11157
  id: "8c1d2e3f-4a5b-4089-8def-012345678901",
11183
11158
  name: "Lumela",
11184
11159
  parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
11160
+ validUntil: null,
11185
11161
  externalId: "bh0b3aI1uP3"
11186
11162
  }
11187
11163
  ];
11188
- var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = MOCK_ADMINISTRATIVE_AREAS_BASE.map(withVersionFields);
11189
- var MOCK_LOCATIONS_BASE = [
11164
+ var V2_DEFAULT_MOCK_LOCATIONS = [
11190
11165
  {
11191
11166
  id: "6f6186ce-cd5f-4a5f-810a-2d99e7c4ba12",
11192
11167
  name: "Central Provincial Office",
11193
11168
  locationType: "CRVS_OFFICE",
11194
11169
  administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11170
+ validUntil: null,
11195
11171
  externalId: "Xr3Df8WpK6Ys"
11196
11172
  },
11197
11173
  {
11198
11174
  id: "b1c2d3e4-f5a6-7890-bcde-f12345678901",
11199
11175
  name: "Central Health Post",
11200
11176
  locationType: "HEALTH_FACILITY",
11201
- administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c"
11177
+ administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
11178
+ validUntil: null
11202
11179
  },
11203
11180
  {
11204
11181
  id: "028d2c85-ca31-426d-b5d1-2cef545a4902",
11205
11182
  name: "Ibombo District Office",
11206
11183
  locationType: "CRVS_OFFICE",
11207
11184
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11185
+ validUntil: null,
11208
11186
  externalId: "Sm4Nw7GrD2Vy"
11209
11187
  },
11210
11188
  {
@@ -11212,6 +11190,7 @@ var MOCK_LOCATIONS_BASE = [
11212
11190
  name: "Isamba District Office",
11213
11191
  locationType: "CRVS_OFFICE",
11214
11192
  administrativeAreaId: "967032fd-3f81-478a-826c-30cb8fe121bd",
11193
+ validUntil: null,
11215
11194
  externalId: "Vg1Bq5XeH9Lt"
11216
11195
  },
11217
11196
  {
@@ -11219,6 +11198,7 @@ var MOCK_LOCATIONS_BASE = [
11219
11198
  name: "Isango District Office",
11220
11199
  locationType: "CRVS_OFFICE",
11221
11200
  administrativeAreaId: "27160bbd-32d1-4625-812f-860226bfb92a",
11201
+ validUntil: null,
11222
11202
  externalId: "Je7Lm2XqN9Vz"
11223
11203
  },
11224
11204
  {
@@ -11226,6 +11206,7 @@ var MOCK_LOCATIONS_BASE = [
11226
11206
  name: "Sulaka Provincial Office",
11227
11207
  locationType: "CRVS_OFFICE",
11228
11208
  administrativeAreaId: "c599b691-fd2d-45e1-abf4-d185de727fb5",
11209
+ validUntil: null,
11229
11210
  externalId: "Ht2Wp9KcX5Qv"
11230
11211
  },
11231
11212
  {
@@ -11233,6 +11214,7 @@ var MOCK_LOCATIONS_BASE = [
11233
11214
  name: "Ilanga District Office",
11234
11215
  locationType: "CRVS_OFFICE",
11235
11216
  administrativeAreaId: "8fbd09d2-212b-47f4-beb3-5e1694931d9f",
11217
+ validUntil: null,
11236
11218
  externalId: "Yp6Ds1WqN3Xz"
11237
11219
  },
11238
11220
  {
@@ -11240,6 +11222,7 @@ var MOCK_LOCATIONS_BASE = [
11240
11222
  name: "Chamakubi Health Post",
11241
11223
  locationType: "HEALTH_FACILITY",
11242
11224
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11225
+ validUntil: null,
11243
11226
  externalId: "M1nFr8LbC2Qy"
11244
11227
  },
11245
11228
  {
@@ -11247,6 +11230,7 @@ var MOCK_LOCATIONS_BASE = [
11247
11230
  name: "Ibombo Rural Health Centre",
11248
11231
  locationType: "HEALTH_FACILITY",
11249
11232
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11233
+ validUntil: null,
11250
11234
  externalId: "bT7pV6YrW0Xc"
11251
11235
  },
11252
11236
  {
@@ -11254,6 +11238,7 @@ var MOCK_LOCATIONS_BASE = [
11254
11238
  name: "Chikobo Rural Health Centre",
11255
11239
  locationType: "HEALTH_FACILITY",
11256
11240
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11241
+ validUntil: null,
11257
11242
  externalId: "zE4qPn2SgJ5d"
11258
11243
  },
11259
11244
  {
@@ -11261,6 +11246,7 @@ var MOCK_LOCATIONS_BASE = [
11261
11246
  name: "Chilochabalenje Health Post",
11262
11247
  locationType: "HEALTH_FACILITY",
11263
11248
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11249
+ validUntil: null,
11264
11250
  externalId: "H8vDs1MqR4Uf"
11265
11251
  },
11266
11252
  {
@@ -11268,6 +11254,7 @@ var MOCK_LOCATIONS_BASE = [
11268
11254
  name: "Chipeso Rural Health Centre",
11269
11255
  locationType: "HEALTH_FACILITY",
11270
11256
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11257
+ validUntil: null,
11271
11258
  externalId: "Qw3uZ9KfX6Lm"
11272
11259
  },
11273
11260
  {
@@ -11275,6 +11262,7 @@ var MOCK_LOCATIONS_BASE = [
11275
11262
  name: "Chisamba Rural Health Centre",
11276
11263
  locationType: "HEALTH_FACILITY",
11277
11264
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11265
+ validUntil: null,
11278
11266
  externalId: "Yr0pCg8LdM2s"
11279
11267
  },
11280
11268
  {
@@ -11282,6 +11270,7 @@ var MOCK_LOCATIONS_BASE = [
11282
11270
  name: "Chitanda Rural Health Centre",
11283
11271
  locationType: "HEALTH_FACILITY",
11284
11272
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11273
+ validUntil: null,
11285
11274
  externalId: "tS9gJ4PwB1Qx"
11286
11275
  },
11287
11276
  {
@@ -11289,6 +11278,7 @@ var MOCK_LOCATIONS_BASE = [
11289
11278
  name: "Golden Valley Rural Health Centre",
11290
11279
  locationType: "HEALTH_FACILITY",
11291
11280
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11281
+ validUntil: null,
11292
11282
  externalId: "Ld7Qm3XsA8Vr"
11293
11283
  },
11294
11284
  {
@@ -11296,6 +11286,7 @@ var MOCK_LOCATIONS_BASE = [
11296
11286
  name: "Ipongo Rural Health Centre",
11297
11287
  locationType: "HEALTH_FACILITY",
11298
11288
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11289
+ validUntil: null,
11299
11290
  externalId: "kF2sW9DmH0Bt"
11300
11291
  },
11301
11292
  {
@@ -11303,6 +11294,7 @@ var MOCK_LOCATIONS_BASE = [
11303
11294
  name: "Itumbwe Health Post",
11304
11295
  locationType: "HEALTH_FACILITY",
11305
11296
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11297
+ validUntil: null,
11306
11298
  externalId: "Ue5Xb3VaC7Pq"
11307
11299
  },
11308
11300
  {
@@ -11310,6 +11302,7 @@ var MOCK_LOCATIONS_BASE = [
11310
11302
  name: "Kabangalala Rural Health Centre",
11311
11303
  locationType: "HEALTH_FACILITY",
11312
11304
  administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
11305
+ validUntil: null,
11313
11306
  externalId: "Pz8Kc1TqH6Jn"
11314
11307
  },
11315
11308
  // Village offices
@@ -11318,10 +11311,10 @@ var MOCK_LOCATIONS_BASE = [
11318
11311
  name: "Klow Village Office",
11319
11312
  locationType: "CRVS_OFFICE",
11320
11313
  administrativeAreaId: "1d4e5f6a-7b8c-4912-8efa-345678901234",
11314
+ validUntil: null,
11321
11315
  externalId: "PmAyxAJkxiJ"
11322
11316
  }
11323
11317
  ];
11324
- var V2_DEFAULT_MOCK_LOCATIONS = MOCK_LOCATIONS_BASE.map(withVersionFields);
11325
11318
  var V2_DEFAULT_MOCK_LOCATIONS_MAP = new Map(
11326
11319
  V2_DEFAULT_MOCK_LOCATIONS.map((l) => [l.id, l])
11327
11320
  );