@openhi/constructs 0.0.114 → 0.0.115
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.
- package/lib/chunk-AHYQFT4N.mjs +212 -0
- package/lib/chunk-AHYQFT4N.mjs.map +1 -0
- package/lib/{chunk-CUUKXDB2.mjs → chunk-AJQUWHFK.mjs} +460 -54
- package/lib/chunk-AJQUWHFK.mjs.map +1 -0
- package/lib/{chunk-GBDIGTNV.mjs → chunk-QWWLM452.mjs} +2 -2
- package/lib/{chunk-QMBJ4VHC.mjs → chunk-U7L7T4XU.mjs} +25 -25
- package/lib/{chunk-QMBJ4VHC.mjs.map → chunk-U7L7T4XU.mjs.map} +1 -1
- package/lib/{chunk-NZRW7ROK.mjs → chunk-YYRWDEG4.mjs} +2 -2
- package/lib/{chunk-KSFC72TT.mjs → chunk-ZHMHLK3S.mjs} +2 -2
- package/lib/{events-DPodvl07.d.mts → events-CMG8xanm.d.mts} +7 -53
- package/lib/{events-DPodvl07.d.ts → events-CMG8xanm.d.ts} +7 -53
- package/lib/index.d.mts +64 -77
- package/lib/index.d.ts +70 -129
- package/lib/index.js +499 -241
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +58 -184
- package/lib/index.mjs.map +1 -1
- package/lib/pre-token-generation.handler.mjs +3 -3
- package/lib/provision-default-workspace.handler.mjs +3 -3
- package/lib/rest-api-lambda.handler.mjs +282 -452
- package/lib/rest-api-lambda.handler.mjs.map +1 -1
- package/lib/seed-demo-data.handler.d.mts +6 -3
- package/lib/seed-demo-data.handler.d.ts +6 -3
- package/lib/seed-demo-data.handler.js +656 -0
- package/lib/seed-demo-data.handler.js.map +1 -1
- package/lib/seed-demo-data.handler.mjs +4 -4
- package/package.json +1 -1
- package/lib/chunk-53OHXLIL.mjs +0 -27
- package/lib/chunk-53OHXLIL.mjs.map +0 -1
- package/lib/chunk-CUUKXDB2.mjs.map +0 -1
- /package/lib/{chunk-GBDIGTNV.mjs.map → chunk-QWWLM452.mjs.map} +0 -0
- /package/lib/{chunk-NZRW7ROK.mjs.map → chunk-YYRWDEG4.mjs.map} +0 -0
- /package/lib/{chunk-KSFC72TT.mjs.map → chunk-ZHMHLK3S.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkflowDedupClient } from '@openhi/workflows';
|
|
2
2
|
import { EventBridgeEvent } from 'aws-lambda';
|
|
3
|
-
import { d as DemoDevUser } from './events-
|
|
3
|
+
import { d as DemoDevUser } from './events-CMG8xanm.mjs';
|
|
4
4
|
import { O as OpenHiContext } from './openhi-context-CaBH8SFo.mjs';
|
|
5
5
|
import '@openhi/types';
|
|
6
6
|
|
|
@@ -62,8 +62,11 @@ interface SeedDemoDataDependencies {
|
|
|
62
62
|
* {@link DEMO_TENANT_SPECS}: Tenant → Workspaces. Then per dev user:
|
|
63
63
|
* Cognito user → DynamoDB User → per-tenant Membership +
|
|
64
64
|
* `tenant-admin` RoleAssignment → platform-scoped `system-admin`
|
|
65
|
-
* RoleAssignment.
|
|
66
|
-
*
|
|
65
|
+
* RoleAssignment. Finally walks {@link DEMO_DATA_PLANE_FIXTURES} and
|
|
66
|
+
* upserts the OPS-009 v1 FHIR resource set (Patient, Practitioner,
|
|
67
|
+
* Observation, Encounter, Account) into each demo workspace. Every
|
|
68
|
+
* put is keyed by a deterministic stable id so re-runs after
|
|
69
|
+
* dedup-TTL expiry upsert the same records.
|
|
67
70
|
*
|
|
68
71
|
* Exported so the seeder test file can exercise it directly against
|
|
69
72
|
* a mocked DynamoControlService; the production handler reaches it
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkflowDedupClient } from '@openhi/workflows';
|
|
2
2
|
import { EventBridgeEvent } from 'aws-lambda';
|
|
3
|
-
import { d as DemoDevUser } from './events-
|
|
3
|
+
import { d as DemoDevUser } from './events-CMG8xanm.js';
|
|
4
4
|
import { O as OpenHiContext } from './openhi-context-CaBH8SFo.js';
|
|
5
5
|
import '@openhi/types';
|
|
6
6
|
|
|
@@ -62,8 +62,11 @@ interface SeedDemoDataDependencies {
|
|
|
62
62
|
* {@link DEMO_TENANT_SPECS}: Tenant → Workspaces. Then per dev user:
|
|
63
63
|
* Cognito user → DynamoDB User → per-tenant Membership +
|
|
64
64
|
* `tenant-admin` RoleAssignment → platform-scoped `system-admin`
|
|
65
|
-
* RoleAssignment.
|
|
66
|
-
*
|
|
65
|
+
* RoleAssignment. Finally walks {@link DEMO_DATA_PLANE_FIXTURES} and
|
|
66
|
+
* upserts the OPS-009 v1 FHIR resource set (Patient, Practitioner,
|
|
67
|
+
* Observation, Encounter, Account) into each demo workspace. Every
|
|
68
|
+
* put is keyed by a deterministic stable id so re-runs after
|
|
69
|
+
* dedup-TTL expiry upsert the same records.
|
|
67
70
|
*
|
|
68
71
|
* Exported so the seeder test file can exercise it directly against
|
|
69
72
|
* a mocked DynamoControlService; the production handler reaches it
|