@opencrvs/toolkit 2.2.0-rc.90ed9cd → 2.2.0-rc.9dfc125

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.
Files changed (141) hide show
  1. package/build.sh +2 -12
  2. package/dist/application-config/index.js +5 -6
  3. package/dist/authentication/index.d.ts +1 -0
  4. package/dist/authentication/index.js +16 -5
  5. package/dist/cli.js +875 -193
  6. package/dist/commons/api/router.d.ts +246 -246
  7. package/dist/commons/application-config/index.d.ts +2 -2
  8. package/dist/commons/conditionals/index.d.ts +1 -0
  9. package/dist/commons/conditionals/validate.d.ts +5 -0
  10. package/dist/commons/events/ActionConfig.d.ts +16 -23
  11. package/dist/commons/events/ActionDocument.d.ts +1 -0
  12. package/dist/commons/events/ActionInput.d.ts +4 -4
  13. package/dist/commons/events/CompositeFieldValue.d.ts +5 -1
  14. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -18
  15. package/dist/commons/events/EventConfig.d.ts +12 -2
  16. package/dist/commons/events/EventIndex.d.ts +2 -6
  17. package/dist/commons/events/EventMetadata.d.ts +0 -1
  18. package/dist/commons/events/FieldConfig.d.ts +1 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +6 -6
  20. package/dist/commons/events/Flag.d.ts +1 -7
  21. package/dist/commons/events/PlainDate.d.ts +1 -0
  22. package/dist/commons/events/WorkqueueConfig.d.ts +12 -27
  23. package/dist/commons/events/eventConfigValidation.d.ts +9 -0
  24. package/dist/commons/events/index.d.ts +2 -0
  25. package/dist/commons/events/notificationFormFallback.d.ts +10 -0
  26. package/dist/commons/events/state/flags.d.ts +1 -1
  27. package/dist/commons/events/test.utils.d.ts +3 -0
  28. package/dist/commons/events/utils.d.ts +85 -56
  29. package/dist/conditionals/index.js +2 -3
  30. package/dist/environment/custom-types.d.ts +1 -0
  31. package/dist/environment/custom-types.d.ts.map +1 -1
  32. package/dist/environment/derived-variables.d.ts +12 -4
  33. package/dist/environment/derived-variables.d.ts.map +1 -1
  34. package/dist/environment/derived-variables.js +13 -4
  35. package/dist/environment/questions.d.ts +14 -2
  36. package/dist/environment/questions.d.ts.map +1 -1
  37. package/dist/environment/questions.js +40 -19
  38. package/dist/environment/registry.d.ts +15 -0
  39. package/dist/environment/registry.d.ts.map +1 -0
  40. package/dist/environment/registry.js +112 -0
  41. package/dist/environment/setup-environment.d.ts.map +1 -1
  42. package/dist/environment/setup-environment.js +111 -24
  43. package/dist/environment/templates.d.ts.map +1 -1
  44. package/dist/events/index.js +242 -65
  45. package/dist/migrations/index.d.ts +9 -0
  46. package/dist/migrations/index.d.ts.map +1 -0
  47. package/dist/migrations/index.js +847 -0
  48. package/dist/migrations/move-declaration-to-declare-action.d.ts +38 -0
  49. package/dist/migrations/move-declaration-to-declare-action.d.ts.map +1 -0
  50. package/dist/migrations/move-declaration-to-declare-action.js +377 -0
  51. package/dist/migrations/{add-translations.d.ts → persistent/add-translations.d.ts} +1 -1
  52. package/dist/migrations/persistent/add-translations.d.ts.map +1 -0
  53. package/dist/migrations/{add-translations.js → persistent/add-translations.js} +2 -2
  54. package/dist/migrations/persistent/check-upgrade-path.d.ts +36 -0
  55. package/dist/migrations/persistent/check-upgrade-path.d.ts.map +1 -0
  56. package/dist/migrations/persistent/check-upgrade-path.js +105 -0
  57. package/dist/migrations/persistent/update-toolkit-dependency.d.ts +7 -0
  58. package/dist/migrations/persistent/update-toolkit-dependency.d.ts.map +1 -0
  59. package/dist/migrations/persistent/update-toolkit-dependency.js +77 -0
  60. package/dist/migrations/{v2.2/read-declaration-through-helper.d.ts → read-declaration-through-helper.d.ts} +1 -1
  61. package/dist/migrations/read-declaration-through-helper.d.ts.map +1 -0
  62. package/dist/migrations/{v2.2/read-declaration-through-helper.js → read-declaration-through-helper.js} +1 -1
  63. package/dist/migrations/replace-incomplete-flag.d.ts +26 -0
  64. package/dist/migrations/replace-incomplete-flag.d.ts.map +1 -0
  65. package/dist/migrations/replace-incomplete-flag.js +126 -0
  66. package/dist/notification/index.js +143 -19
  67. package/dist/scopes/index.d.ts +54 -84
  68. package/dist/scopes/index.js +12 -5
  69. package/dist/templates/charts-values/dependencies/values.yaml +1 -1
  70. package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -6
  71. package/dist/templates/charts-values/traefik/values.yaml +2 -0
  72. package/opencrvs-toolkit-2.2.0-rc.9dfc125.tgz +0 -0
  73. package/package.json +2 -2
  74. package/tsconfig.build.tsbuildinfo +1 -1
  75. package/dist/migrations/add-translations.d.ts.map +0 -1
  76. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
  77. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
  78. package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
  79. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +0 -3
  80. package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +0 -1
  81. package/dist/migrations/v2.1/add-recovery-link-notifications.js +0 -511
  82. package/dist/migrations/v2.1/enable-telemetry.d.ts +0 -3
  83. package/dist/migrations/v2.1/enable-telemetry.d.ts.map +0 -1
  84. package/dist/migrations/v2.1/enable-telemetry.js +0 -455
  85. package/dist/migrations/v2.1/index.d.ts +0 -6
  86. package/dist/migrations/v2.1/index.d.ts.map +0 -1
  87. package/dist/migrations/v2.1/index.js +0 -50
  88. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +0 -17
  89. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +0 -1
  90. package/dist/migrations/v2.1/migrate-infrastructure-to-assets.js +0 -348
  91. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +0 -2
  92. package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +0 -1
  93. package/dist/migrations/v2.1/remove-metabase-package-installs.js +0 -161
  94. package/dist/migrations/v2.1/remove-sentry.d.ts +0 -3
  95. package/dist/migrations/v2.1/remove-sentry.d.ts.map +0 -1
  96. package/dist/migrations/v2.1/remove-sentry.js +0 -354
  97. package/dist/migrations/v2.1/rename-trigger-paths.d.ts +0 -3
  98. package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +0 -1
  99. package/dist/migrations/v2.1/rename-trigger-paths.js +0 -216
  100. package/dist/migrations/v2.1/template-files.d.ts +0 -8
  101. package/dist/migrations/v2.1/template-files.d.ts.map +0 -1
  102. package/dist/migrations/v2.1/template-files.js +0 -49
  103. package/dist/migrations/v2.1/upgrade-tilt.d.ts +0 -11
  104. package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +0 -1
  105. package/dist/migrations/v2.1/upgrade-tilt.js +0 -139
  106. package/dist/migrations/v2.2/index.d.ts +0 -6
  107. package/dist/migrations/v2.2/index.d.ts.map +0 -1
  108. package/dist/migrations/v2.2/index.js +0 -456
  109. package/dist/migrations/v2.2/read-declaration-through-helper.d.ts.map +0 -1
  110. package/dist/templates/countryconfig-template/.tiltignore +0 -1
  111. package/dist/templates/countryconfig-template/Dockerfile.assets +0 -7
  112. package/dist/templates/countryconfig-template/Tiltfile +0 -112
  113. package/dist/templates/countryconfig-template/assets/README.md +0 -1
  114. package/dist/templates/countryconfig-template/assets/clear-all-data-dev.sh +0 -61
  115. package/dist/templates/countryconfig-template/assets/deployment/deploy.sh +0 -455
  116. package/dist/templates/countryconfig-template/assets/deployment/reindex.sh +0 -168
  117. package/dist/templates/countryconfig-template/assets/deployment/validate-required-variables-in-compose-files.ts +0 -67
  118. package/dist/templates/countryconfig-template/assets/elasticsearch/reindex.sh +0 -168
  119. package/dist/templates/countryconfig-template/assets/metabase/README.md +0 -34
  120. package/dist/templates/countryconfig-template/assets/metabase/environment-configuration.sql +0 -36
  121. package/dist/templates/countryconfig-template/assets/metabase/initialize-database.sh +0 -46
  122. package/dist/templates/countryconfig-template/assets/metabase/metabase.init.db.sql +0 -27737
  123. package/dist/templates/countryconfig-template/assets/metabase/open-shell.sh +0 -21
  124. package/dist/templates/countryconfig-template/assets/metabase/package.json +0 -13
  125. package/dist/templates/countryconfig-template/assets/metabase/run-dev.sh +0 -108
  126. package/dist/templates/countryconfig-template/assets/metabase/run.sh +0 -120
  127. package/dist/templates/countryconfig-template/assets/metabase/update-database.sh +0 -40
  128. package/dist/templates/countryconfig-template/assets/postgres/setup-analytics.sh +0 -135
  129. package/dist/templates/countryconfig-template/assets/postgres/setup-reference-data.sh +0 -108
  130. package/dist/templates/countryconfig-template/tilt/clear-all-data.ps1 +0 -50
  131. package/dist/templates/countryconfig-template/tilt/clear-all-data.sh +0 -35
  132. package/dist/templates/countryconfig-template/tilt/common.tilt +0 -145
  133. package/dist/templates/countryconfig-template/tilt/examples/dependencies/values.yaml +0 -15
  134. package/dist/templates/countryconfig-template/tilt/examples/opencrvs-services/values.yaml +0 -56
  135. package/dist/templates/countryconfig-template/tilt/examples/traefik/values-minikube.yaml +0 -21
  136. package/dist/templates/countryconfig-template/tilt/examples/traefik/values.yaml +0 -38
  137. package/dist/templates/countryconfig-template/tilt/helm/dependencies/values.yaml +0 -17
  138. package/dist/templates/countryconfig-template/tilt/helm/opencrvs-services/values.yaml +0 -16
  139. package/dist/templates/countryconfig-template/tilt/lib.tilt +0 -95
  140. package/dist/templates/countryconfig-template/tilt/opencrvs.tilt +0 -136
  141. package/opencrvs-toolkit-2.2.0-rc.90ed9cd.tgz +0 -0
@@ -9,6 +9,7 @@ import { z } from 'zod';
9
9
  */
10
10
  export declare const PlainDate: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
11
11
  export type PlainDate = z.infer<typeof PlainDate>;
12
+ export declare const isPlainDate: (date: unknown) => date is PlainDate;
12
13
  /**
13
14
  * Extracts the plain calendar date from an ISO 8601 datetime (or passes an
14
15
  * already-plain YYYY-MM-DD through) as a {@link PlainDate}. This is the single
@@ -341,21 +341,18 @@ export declare const WorkqueueConfig: z.ZodObject<{
341
341
  }, z.core.$strip>>>;
342
342
  flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
343
343
  anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
344
- readonly INCOMPLETE: 'incomplete';
345
344
  readonly REJECTED: 'rejected';
346
345
  readonly CORRECTION_REQUESTED: 'correction-requested';
347
346
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
348
347
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
349
348
  }>]>, z.ZodString]>>>;
350
349
  noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
351
- readonly INCOMPLETE: 'incomplete';
352
350
  readonly REJECTED: 'rejected';
353
351
  readonly CORRECTION_REQUESTED: 'correction-requested';
354
352
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
355
353
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
356
354
  }>]>, z.ZodString]>>>;
357
355
  allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
358
- readonly INCOMPLETE: 'incomplete';
359
356
  readonly REJECTED: 'rejected';
360
357
  readonly CORRECTION_REQUESTED: 'correction-requested';
361
358
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
@@ -690,21 +687,18 @@ export declare const WorkqueueConfig: z.ZodObject<{
690
687
  }, z.core.$strip>>>;
691
688
  flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
692
689
  anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
693
- readonly INCOMPLETE: 'incomplete';
694
690
  readonly REJECTED: 'rejected';
695
691
  readonly CORRECTION_REQUESTED: 'correction-requested';
696
692
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
697
693
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
698
694
  }>]>, z.ZodString]>>>;
699
695
  noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
700
- readonly INCOMPLETE: 'incomplete';
701
696
  readonly REJECTED: 'rejected';
702
697
  readonly CORRECTION_REQUESTED: 'correction-requested';
703
698
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
704
699
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
705
700
  }>]>, z.ZodString]>>>;
706
701
  allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
707
- readonly INCOMPLETE: 'incomplete';
708
702
  readonly REJECTED: 'rejected';
709
703
  readonly CORRECTION_REQUESTED: 'correction-requested';
710
704
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
@@ -1470,21 +1464,18 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1470
1464
  }, z.core.$strip>>>;
1471
1465
  flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1472
1466
  anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1473
- readonly INCOMPLETE: 'incomplete';
1474
1467
  readonly REJECTED: 'rejected';
1475
1468
  readonly CORRECTION_REQUESTED: 'correction-requested';
1476
1469
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
1477
1470
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
1478
1471
  }>]>, z.ZodString]>>>;
1479
1472
  noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1480
- readonly INCOMPLETE: 'incomplete';
1481
1473
  readonly REJECTED: 'rejected';
1482
1474
  readonly CORRECTION_REQUESTED: 'correction-requested';
1483
1475
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
1484
1476
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
1485
1477
  }>]>, z.ZodString]>>>;
1486
1478
  allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1487
- readonly INCOMPLETE: 'incomplete';
1488
1479
  readonly REJECTED: 'rejected';
1489
1480
  readonly CORRECTION_REQUESTED: 'correction-requested';
1490
1481
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
@@ -1818,21 +1809,18 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1818
1809
  }, z.core.$strip>>>;
1819
1810
  flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1820
1811
  anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1821
- readonly INCOMPLETE: 'incomplete';
1822
1812
  readonly REJECTED: 'rejected';
1823
1813
  readonly CORRECTION_REQUESTED: 'correction-requested';
1824
1814
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
1825
1815
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
1826
1816
  }>]>, z.ZodString]>>>;
1827
1817
  noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1828
- readonly INCOMPLETE: 'incomplete';
1829
1818
  readonly REJECTED: 'rejected';
1830
1819
  readonly CORRECTION_REQUESTED: 'correction-requested';
1831
1820
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
1832
1821
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
1833
1822
  }>]>, z.ZodString]>>>;
1834
1823
  allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1835
- readonly INCOMPLETE: 'incomplete';
1836
1824
  readonly REJECTED: 'rejected';
1837
1825
  readonly CORRECTION_REQUESTED: 'correction-requested';
1838
1826
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
@@ -2167,21 +2155,18 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
2167
2155
  }, z.core.$strip>>>;
2168
2156
  flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2169
2157
  anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
2170
- readonly INCOMPLETE: 'incomplete';
2171
2158
  readonly REJECTED: 'rejected';
2172
2159
  readonly CORRECTION_REQUESTED: 'correction-requested';
2173
2160
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
2174
2161
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
2175
2162
  }>]>, z.ZodString]>>>;
2176
2163
  noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
2177
- readonly INCOMPLETE: 'incomplete';
2178
2164
  readonly REJECTED: 'rejected';
2179
2165
  readonly CORRECTION_REQUESTED: 'correction-requested';
2180
2166
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
2181
2167
  readonly EDIT_IN_PROGRESS: 'edit-in-progress';
2182
2168
  }>]>, z.ZodString]>>>;
2183
2169
  allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
2184
- readonly INCOMPLETE: 'incomplete';
2185
2170
  readonly REJECTED: 'rejected';
2186
2171
  readonly CORRECTION_REQUESTED: 'correction-requested';
2187
2172
  readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
@@ -2207,14 +2192,14 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2207
2192
  clauses: {
2208
2193
  eventType?: string | undefined;
2209
2194
  status?: {
2210
- type: "exact";
2211
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2212
- } | {
2213
2195
  type: "anyOf";
2214
2196
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2215
2197
  } | {
2216
2198
  type: "noneOf";
2217
2199
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2200
+ } | {
2201
+ type: "exact";
2202
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2218
2203
  } | undefined;
2219
2204
  createdAt?: {
2220
2205
  type: "range";
@@ -2356,14 +2341,14 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2356
2341
  clauses: {
2357
2342
  eventType?: string | undefined;
2358
2343
  status?: {
2359
- type: "exact";
2360
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2361
- } | {
2362
2344
  type: "anyOf";
2363
2345
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2364
2346
  } | {
2365
2347
  type: "noneOf";
2366
2348
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2349
+ } | {
2350
+ type: "exact";
2351
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2367
2352
  } | undefined;
2368
2353
  createdAt?: {
2369
2354
  type: "range";
@@ -2538,14 +2523,14 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2538
2523
  clauses: {
2539
2524
  eventType?: string | undefined;
2540
2525
  status?: {
2541
- type: "exact";
2542
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2543
- } | {
2544
2526
  type: "anyOf";
2545
2527
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2546
2528
  } | {
2547
2529
  type: "noneOf";
2548
2530
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2531
+ } | {
2532
+ type: "exact";
2533
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2549
2534
  } | undefined;
2550
2535
  createdAt?: {
2551
2536
  type: "range";
@@ -2687,14 +2672,14 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2687
2672
  clauses: {
2688
2673
  eventType?: string | undefined;
2689
2674
  status?: {
2690
- type: "exact";
2691
- term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2692
- } | {
2693
2675
  type: "anyOf";
2694
2676
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2695
2677
  } | {
2696
2678
  type: "noneOf";
2697
2679
  terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED")[];
2680
+ } | {
2681
+ type: "exact";
2682
+ term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED" | "REVOKED";
2698
2683
  } | undefined;
2699
2684
  createdAt?: {
2700
2685
  type: "range";
@@ -21,4 +21,13 @@ export declare function validateExactlyOneDeclareAction<T extends {
21
21
  * compatibility) or on the DECLARE action.
22
22
  */
23
23
  export declare function validateDeclarationGivenExactlyOnce(config: EventConfigInput, ctx: z.RefinementCtx<EventConfigInput>): void;
24
+ /**
25
+ * Validation which ensures that *if* a NOTIFY notificationForm is configured, it:
26
+ * - only includes fields with ids that are also in the declaration form
27
+ * - the field types match the ones on the declaration form
28
+ *
29
+ * This is because the notification form is used as pre-filled values during declaration.
30
+ * For now we have made the design decision to not allow fields that are not present in the declaration form.
31
+ */
32
+ export declare function validateNotificationForm(event: EventConfig, ctx: z.RefinementCtx<EventConfig>): void;
24
33
  //# sourceMappingURL=eventConfigValidation.d.ts.map
@@ -1,3 +1,4 @@
1
+ import 'zod/compile';
1
2
  export * from './AuditLog';
2
3
  export * from './Constants';
3
4
  export * from './ActionConfig';
@@ -46,6 +47,7 @@ export * from './Flag';
46
47
  export * from './event';
47
48
  export * from './locations';
48
49
  export * from './locationPayloads';
50
+ export * from './PlainDate';
49
51
  export { UUID } from '../uuid';
50
52
  export { DocumentPath } from '../documents';
51
53
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ import * as z from 'zod/v4';
2
+ import { DeclarationFormConfig } from './FormConfig';
3
+ import { DeclarationReviewConfig } from './ActionConfig';
4
+ type DeclarationReviewConfigInput = z.input<typeof DeclarationReviewConfig>;
5
+ /** @returns the declaration form with every field optional. */
6
+ export declare function deriveNotificationForm(declaration: DeclarationFormConfig): DeclarationFormConfig;
7
+ /** @returns the DECLARE review with every field optional. */
8
+ export declare function generateNotifyReview(declareReview: DeclarationReviewConfigInput): DeclarationReviewConfigInput;
9
+ export {};
10
+ //# sourceMappingURL=notificationFormFallback.d.ts.map
@@ -27,7 +27,7 @@ export declare function resolveEventCustomFlags(event: EventDocument, eventConfi
27
27
  *
28
28
  * Flags are determined by combining:
29
29
  * - Action status flags (format 'ActionType:ActionStatus')
30
- * - Inherent flags (e.g. incomplete, rejected, correction requested, potential duplicate, edit in progress)
30
+ * - Inherent flags (e.g. rejected, correction requested, potential duplicate, edit in progress)
31
31
  * - Event type-specific custom flags defined in the event configuration
32
32
  *
33
33
  * @param event - The EventDocument containing the action history and payload
@@ -352,6 +352,9 @@ export declare const generateEventConfig: ({ id, fields, placeOfEventId, dateOfE
352
352
  actions?: EventConfigInput['actions'];
353
353
  }) => EventConfig;
354
354
  /**
355
+ * The notification form is dropped, since it may refer to fields of the replaced declaration.
356
+ * `getNotificationForm` then derives it from the new declaration.
357
+ *
355
358
  * @returns a copy of the configuration with the DECLARE action's declaration replaced.
356
359
  */
357
360
  export declare function withDeclaration(configuration: EventConfig, declaration: DeclarationFormConfig): EventConfig;
@@ -8,7 +8,7 @@ import { Draft } from './Draft';
8
8
  import { EventDocument } from './EventDocument';
9
9
  import { UUID } from '../uuid';
10
10
  import { ActionConfig, ActionConfigTypes } from './ActionConfig';
11
- import { FormConfig } from './FormConfig';
11
+ import { DeclarationFormConfig, FormConfig } from './FormConfig';
12
12
  import { PlainDate, SelectDateRangeValue } from './FieldValue';
13
13
  import { EventIndex } from './EventIndex';
14
14
  export declare function ageToDate(age: number, asOfDate: PlainDate): string & import("zod").$brand<"PlainDate">;
@@ -46,6 +46,39 @@ export declare function getDeclarationPages(configuration: EventConfig): {
46
46
  type: "FORM";
47
47
  }[];
48
48
  export declare function getDeclarationFields(configuration: EventConfig): FieldConfig[];
49
+ /**
50
+ * @returns the notification form of the event: the one configured on the NOTIFY action,
51
+ * or the declaration with every field optional when none is configured.
52
+ *
53
+ * The fallback is derived here rather than in `defineConfig`, so that it is not part of the
54
+ * served event configuration.
55
+ */
56
+ export declare function getNotificationForm(configuration: EventConfig): DeclarationFormConfig;
57
+ export declare function getNotificationFields(configuration: EventConfig): FieldConfig[];
58
+ /**
59
+ * Form a user fills in to submit the given action:
60
+ * the notification form for NOTIFY, the declaration form for DECLARE.
61
+ */
62
+ export declare function getActionForm(configuration: EventConfig, actionType: typeof ActionType.NOTIFY | typeof ActionType.DECLARE): {
63
+ label: {
64
+ id: string;
65
+ defaultMessage: string;
66
+ description: string;
67
+ };
68
+ pages: {
69
+ id: string;
70
+ title: {
71
+ id: string;
72
+ defaultMessage: string;
73
+ description: string;
74
+ };
75
+ requireCompletionToContinue: boolean;
76
+ showClearButton?: boolean | undefined;
77
+ fields: FieldConfig[];
78
+ conditional?: any;
79
+ type: "FORM";
80
+ }[];
81
+ };
49
82
  export declare function isActionConfigType(type: ActionType): type is ActionConfigTypes;
50
83
  export declare function getActionConfig({ eventConfiguration, actionType, customActionType }: {
51
84
  eventConfiguration: EventConfig;
@@ -55,10 +88,6 @@ export declare function getActionConfig({ eventConfiguration, actionType, custom
55
88
  export declare function getCustomActionFields(eventConfiguration: EventConfig, customActionType: string): FieldConfig[];
56
89
  /**
57
90
  * Returns the fields configured for an action's confirmation dialog.
58
- *
59
- * Unlike review fields and supporting copy, NOTIFY does NOT fall back to the
60
- * DECLARE config here: dialog fields always come from the action's own
61
- * configuration entry.
62
91
  */
63
92
  export declare function getActionFormFields(eventConfiguration: EventConfig, actionType: ActionType, customActionType?: string): FieldConfig[];
64
93
  export declare function getPrintCertificatePages(configuration: EventConfig): ({
@@ -177,7 +206,8 @@ export declare function findLastAssignmentAction(actions: Action[]): {
177
206
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
178
207
  status: "Accepted" | "Rejected" | "Requested";
179
208
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
180
- type: "CREATE";
209
+ type: "REGISTER";
210
+ registrationNumber?: string | undefined;
181
211
  } | {
182
212
  id: string & import("zod").$brand<"UUID">;
183
213
  transactionId: string;
@@ -191,9 +221,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
191
221
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
192
222
  status: "Accepted" | "Rejected" | "Requested";
193
223
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
194
- type: "REJECT";
224
+ type: "DUPLICATE_DETECTED";
195
225
  content: {
196
- reason: string;
226
+ duplicates: {
227
+ id: string & import("zod").$brand<"UUID">;
228
+ trackingId: string;
229
+ }[];
197
230
  };
198
231
  } | {
199
232
  id: string & import("zod").$brand<"UUID">;
@@ -208,13 +241,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
208
241
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
209
242
  status: "Accepted" | "Rejected" | "Requested";
210
243
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
211
- type: "DUPLICATE_DETECTED";
212
- content: {
213
- duplicates: {
214
- id: string & import("zod").$brand<"UUID">;
215
- trackingId: string;
216
- }[];
217
- };
244
+ type: "EDIT";
245
+ content?: {
246
+ comment?: string | undefined;
247
+ } | undefined;
218
248
  } | {
219
249
  id: string & import("zod").$brand<"UUID">;
220
250
  transactionId: string;
@@ -228,7 +258,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
228
258
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
229
259
  status: "Accepted" | "Rejected" | "Requested";
230
260
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
231
- type: "MARK_AS_NOT_DUPLICATE";
261
+ type: "PRINT_CERTIFICATE";
262
+ content?: {
263
+ templateId?: string | undefined;
264
+ } | null | undefined;
232
265
  } | {
233
266
  id: string & import("zod").$brand<"UUID">;
234
267
  transactionId: string;
@@ -242,10 +275,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
242
275
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
243
276
  status: "Accepted" | "Rejected" | "Requested";
244
277
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
245
- type: "MARK_AS_DUPLICATE";
246
- content?: {
247
- duplicateOf: string & import("zod").$brand<"UUID">;
248
- } | undefined;
278
+ type: "REQUEST_CORRECTION";
249
279
  } | {
250
280
  id: string & import("zod").$brand<"UUID">;
251
281
  transactionId: string;
@@ -259,10 +289,8 @@ export declare function findLastAssignmentAction(actions: Action[]): {
259
289
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
260
290
  status: "Accepted" | "Rejected" | "Requested";
261
291
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
262
- type: "ARCHIVE";
263
- content?: {
264
- reason: string;
265
- } | undefined;
292
+ type: "CUSTOM";
293
+ customActionType: string;
266
294
  } | {
267
295
  id: string & import("zod").$brand<"UUID">;
268
296
  transactionId: string;
@@ -276,7 +304,8 @@ export declare function findLastAssignmentAction(actions: Action[]): {
276
304
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
277
305
  status: "Accepted" | "Rejected" | "Requested";
278
306
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
279
- type: "UNARCHIVE";
307
+ type: "ASSIGN";
308
+ assignedTo: string;
280
309
  } | {
281
310
  id: string & import("zod").$brand<"UUID">;
282
311
  transactionId: string;
@@ -290,7 +319,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
290
319
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
291
320
  status: "Accepted" | "Rejected" | "Requested";
292
321
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
293
- type: "REVOKE_REGISTRATION";
322
+ type: "UNASSIGN";
294
323
  } | {
295
324
  id: string & import("zod").$brand<"UUID">;
296
325
  transactionId: string;
@@ -304,7 +333,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
304
333
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
305
334
  status: "Accepted" | "Rejected" | "Requested";
306
335
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
307
- type: "REINSTATE_REGISTRATION";
336
+ type: "DECLARE";
308
337
  } | {
309
338
  id: string & import("zod").$brand<"UUID">;
310
339
  transactionId: string;
@@ -318,7 +347,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
318
347
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
319
348
  status: "Accepted" | "Rejected" | "Requested";
320
349
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
321
- type: "NOTIFY";
350
+ type: "REJECT";
351
+ content: {
352
+ reason: string;
353
+ };
322
354
  } | {
323
355
  id: string & import("zod").$brand<"UUID">;
324
356
  transactionId: string;
@@ -332,8 +364,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
332
364
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
333
365
  status: "Accepted" | "Rejected" | "Requested";
334
366
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
335
- type: "REGISTER";
336
- registrationNumber?: string | undefined;
367
+ type: "MARK_AS_NOT_DUPLICATE";
337
368
  } | {
338
369
  id: string & import("zod").$brand<"UUID">;
339
370
  transactionId: string;
@@ -347,7 +378,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
347
378
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
348
379
  status: "Accepted" | "Rejected" | "Requested";
349
380
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
350
- type: "DECLARE";
381
+ type: "MARK_AS_DUPLICATE";
382
+ content?: {
383
+ duplicateOf: string & import("zod").$brand<"UUID">;
384
+ } | undefined;
351
385
  } | {
352
386
  id: string & import("zod").$brand<"UUID">;
353
387
  transactionId: string;
@@ -361,8 +395,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
361
395
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
362
396
  status: "Accepted" | "Rejected" | "Requested";
363
397
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
364
- type: "ASSIGN";
365
- assignedTo: string;
398
+ type: "ARCHIVE";
399
+ content?: {
400
+ reason: string;
401
+ } | undefined;
366
402
  } | {
367
403
  id: string & import("zod").$brand<"UUID">;
368
404
  transactionId: string;
@@ -376,7 +412,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
376
412
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
377
413
  status: "Accepted" | "Rejected" | "Requested";
378
414
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
379
- type: "REQUEST_CORRECTION";
415
+ type: "UNARCHIVE";
380
416
  } | {
381
417
  id: string & import("zod").$brand<"UUID">;
382
418
  transactionId: string;
@@ -390,11 +426,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
390
426
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
391
427
  status: "Accepted" | "Rejected" | "Requested";
392
428
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
393
- type: "APPROVE_CORRECTION";
394
- requestId: string & import("zod").$brand<"UUID">;
395
- content?: {
396
- immediateCorrection?: boolean | undefined;
397
- } | undefined;
429
+ type: "REVOKE_REGISTRATION";
398
430
  } | {
399
431
  id: string & import("zod").$brand<"UUID">;
400
432
  transactionId: string;
@@ -408,11 +440,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
408
440
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
409
441
  status: "Accepted" | "Rejected" | "Requested";
410
442
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
411
- type: "REJECT_CORRECTION";
412
- requestId: string & import("zod").$brand<"UUID">;
413
- content: {
414
- reason: string;
415
- };
443
+ type: "REINSTATE_REGISTRATION";
416
444
  } | {
417
445
  id: string & import("zod").$brand<"UUID">;
418
446
  transactionId: string;
@@ -426,7 +454,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
426
454
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
427
455
  status: "Accepted" | "Rejected" | "Requested";
428
456
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
429
- type: "UNASSIGN";
457
+ type: "CREATE";
430
458
  } | {
431
459
  id: string & import("zod").$brand<"UUID">;
432
460
  transactionId: string;
@@ -440,10 +468,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
440
468
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
441
469
  status: "Accepted" | "Rejected" | "Requested";
442
470
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
443
- type: "PRINT_CERTIFICATE";
444
- content?: {
445
- templateId?: string | undefined;
446
- } | null | undefined;
471
+ type: "NOTIFY";
447
472
  } | {
448
473
  id: string & import("zod").$brand<"UUID">;
449
474
  transactionId: string;
@@ -457,7 +482,11 @@ export declare function findLastAssignmentAction(actions: Action[]): {
457
482
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
458
483
  status: "Accepted" | "Rejected" | "Requested";
459
484
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
460
- type: "READ";
485
+ type: "APPROVE_CORRECTION";
486
+ requestId: string & import("zod").$brand<"UUID">;
487
+ content?: {
488
+ immediateCorrection?: boolean | undefined;
489
+ } | undefined;
461
490
  } | {
462
491
  id: string & import("zod").$brand<"UUID">;
463
492
  transactionId: string;
@@ -471,10 +500,11 @@ export declare function findLastAssignmentAction(actions: Action[]): {
471
500
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
472
501
  status: "Accepted" | "Rejected" | "Requested";
473
502
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
474
- type: "EDIT";
475
- content?: {
476
- comment?: string | undefined;
477
- } | undefined;
503
+ type: "REJECT_CORRECTION";
504
+ requestId: string & import("zod").$brand<"UUID">;
505
+ content: {
506
+ reason: string;
507
+ };
478
508
  } | {
479
509
  id: string & import("zod").$brand<"UUID">;
480
510
  transactionId: string;
@@ -488,8 +518,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
488
518
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
489
519
  status: "Accepted" | "Rejected" | "Requested";
490
520
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
491
- type: "CUSTOM";
492
- customActionType: string;
521
+ type: "READ";
493
522
  } | {
494
523
  id: string & import("zod").$brand<"UUID">;
495
524
  transactionId: string;
@@ -262,7 +262,7 @@ var ActionStatus = {
262
262
  };
263
263
 
264
264
  // ../commons/src/events/Flag.ts
265
- var z9 = __toESM(require("zod/v4"));
265
+ var z9 = __toESM(require("zod"));
266
266
 
267
267
  // ../commons/src/events/TranslationConfig.ts
268
268
  var z7 = __toESM(require("zod/v4"));
@@ -331,7 +331,6 @@ var FieldConditional = z8.discriminatedUnion("type", [
331
331
 
332
332
  // ../commons/src/events/Flag.ts
333
333
  var InherentFlags = {
334
- INCOMPLETE: "incomplete",
335
334
  REJECTED: "rejected",
336
335
  CORRECTION_REQUESTED: "correction-requested",
337
336
  POTENTIAL_DUPLICATE: "potential-duplicate",
@@ -359,7 +358,7 @@ var CustomFlag = z9.string().refine((val) => !Object.values(InherentFlags).inclu
359
358
  message: `Custom flag cannot be one of the inherent flags: ${Object.values(
360
359
  InherentFlags
361
360
  ).join(", ")}`
362
- }).refine((val) => !ActionFlag.safeParse(val).success, {
361
+ }).refine((val) => !ActionFlag.validate(val), {
363
362
  message: "Custom flag cannot match the ActionFlag pattern (ActionType:ActionStatus)."
364
363
  }).describe("Custom flag identifier defined by the country config.");
365
364
  var Flag = ActionFlag.or(z9.enum(InherentFlags)).or(CustomFlag);
@@ -5,6 +5,7 @@ export type Question<T extends string> = PromptObject<T> & {
5
5
  valueType?: 'SECRET' | 'VARIABLE';
6
6
  scope: 'ENVIRONMENT' | 'REPOSITORY';
7
7
  valueLabel?: string;
8
+ legacyValueLabel?: string;
8
9
  };
9
10
  export type QuestionDescriptor<T extends string> = Omit<Question<T>, 'type'> & {
10
11
  type: 'disabled' | PromptObject<T>['type'];
@@ -1 +1 @@
1
- {"version":3,"file":"custom-types.d.ts","sourceRoot":"","sources":["../../src/environment/custom-types.ts"],"names":[],"mappings":"AAWA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACzD,IAAI,EAAE,CAAC,CAAA;IACP,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7E,IAAI,EAAE,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;AAClD,MAAM,MAAM,OAAO,GAAG,MAAM,EAAE,CAAA;AAC9B,MAAM,MAAM,mBAAmB,GAC3B,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAC7B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACpC,CAAC,GACF,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAC/B,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACtC,CAAC,CAAA"}
1
+ {"version":3,"file":"custom-types.d.ts","sourceRoot":"","sources":["../../src/environment/custom-types.ts"],"names":[],"mappings":"AAWA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACzD,IAAI,EAAE,CAAC,CAAA;IACP,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7E,IAAI,EAAE,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;AAClD,MAAM,MAAM,OAAO,GAAG,MAAM,EAAE,CAAA;AAC9B,MAAM,MAAM,mBAAmB,GAC3B,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAC7B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACpC,CAAC,GACF,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAC/B,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACtC,CAAC,CAAA"}
@@ -47,14 +47,16 @@ export declare const derivedVariables: readonly [{
47
47
  readonly type: 'disabled';
48
48
  readonly scope: 'ENVIRONMENT';
49
49
  }, {
50
- readonly name: 'MINIO_ROOT_USER';
51
- readonly valueLabel: 'MINIO_ROOT_USER';
50
+ readonly name: 'S3_ADMIN_ACCESS_KEY';
51
+ readonly valueLabel: 'S3_ADMIN_ACCESS_KEY';
52
+ readonly legacyValueLabel: 'MINIO_ROOT_USER';
52
53
  readonly valueType: 'SECRET';
53
54
  readonly type: 'disabled';
54
55
  readonly scope: 'ENVIRONMENT';
55
56
  }, {
56
- readonly name: 'MINIO_ROOT_PASSWORD';
57
- readonly valueLabel: 'MINIO_ROOT_PASSWORD';
57
+ readonly name: 'S3_ADMIN_SECRET_KEY';
58
+ readonly valueLabel: 'S3_ADMIN_SECRET_KEY';
59
+ readonly legacyValueLabel: 'MINIO_ROOT_PASSWORD';
58
60
  readonly valueType: 'SECRET';
59
61
  readonly type: 'disabled';
60
62
  readonly scope: 'ENVIRONMENT';
@@ -136,5 +138,11 @@ export declare const derivedVariables: readonly [{
136
138
  readonly valueType: 'VARIABLE';
137
139
  readonly type: 'disabled';
138
140
  readonly scope: 'ENVIRONMENT';
141
+ }, {
142
+ readonly name: 'MONITORING_ENABLED';
143
+ readonly valueLabel: 'MONITORING_ENABLED';
144
+ readonly valueType: 'VARIABLE';
145
+ readonly type: 'disabled';
146
+ readonly scope: 'ENVIRONMENT';
139
147
  }];
140
148
  //# sourceMappingURL=derived-variables.d.ts.map