@opencrvs/toolkit 2.0.0-rc.b63fd2e → 2.0.0-rc.ba07891

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 (37) hide show
  1. package/create-countryconfig/index.js +73 -0
  2. package/create-countryconfig/package.json +11 -0
  3. package/dist/application-config/index.js +41 -11
  4. package/dist/cli.js +334 -140
  5. package/dist/commons/api/router.d.ts +55 -54
  6. package/dist/commons/application-config/index.d.ts +16 -4
  7. package/dist/commons/conditionals/conditionals.d.ts +6 -6
  8. package/dist/commons/events/FieldConfig.d.ts +10 -0
  9. package/dist/commons/events/locations.d.ts +38 -1
  10. package/dist/commons/events/mocks.test.utils.d.ts +19 -0
  11. package/dist/commons/events/scopes.d.ts +24 -1
  12. package/dist/conditionals/index.js +37 -7
  13. package/dist/events/index.js +130 -7
  14. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
  15. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +60 -35
  16. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
  17. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  18. package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
  19. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
  20. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
  21. package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
  22. package/dist/migrations/v2.0/index.d.ts +5 -3
  23. package/dist/migrations/v2.0/index.d.ts.map +1 -1
  24. package/dist/migrations/v2.0/index.js +334 -140
  25. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
  26. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +90 -1
  27. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
  28. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
  29. package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
  30. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
  31. package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
  32. package/dist/notification/index.js +37 -7
  33. package/dist/scopes/index.d.ts +87 -10
  34. package/dist/scopes/index.js +43 -8
  35. package/opencrvs-toolkit-2.0.0-rc.ba07891.tgz +0 -0
  36. package/package.json +1 -1
  37. package/opencrvs-toolkit-2.0.0-rc.b63fd2e.tgz +0 -0
@@ -3,9 +3,11 @@
3
3
  * directory.
4
4
  *
5
5
  * @param dockerSwarm - When true, the local `infrastructure/` directory is
6
- * merged with upstream changes (Docker Swarm deployments still need it).
7
- * When false (the default), `infrastructure/` is deleted entirely, since
8
- * non-Swarm deployments no longer ship it.
6
+ * merged with upstream changes in its entirety (Docker Swarm deployments
7
+ * still need it all). When false (the default), everything under
8
+ * `infrastructure/` is deleted EXCEPT the subdirectories listed in
9
+ * `NON_SWARM_INFRA_SUBDIRS`, and those preserved subdirectories are then
10
+ * merged with upstream.
9
11
  */
10
12
  export declare function runUpgrade(dockerSwarm: boolean): Promise<void>;
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migrations/v2.0/index.ts"],"names":[],"mappings":"AAqCA;;;;;;;;GAQG;AACH,wBAAsB,UAAU,CAAC,WAAW,EAAE,OAAO,iBA+BpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migrations/v2.0/index.ts"],"names":[],"mappings":"AA6CA;;;;;;;;;;GAUG;AACH,wBAAsB,UAAU,CAAC,WAAW,EAAE,OAAO,iBAgCpD"}