@openhi/constructs 0.0.127 → 0.0.129
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-ZHMHLK3S.mjs → chunk-7BQHLC7U.mjs} +3 -3
- package/lib/{chunk-7WDX6GPO.mjs → chunk-AWYZJFPL.mjs} +3 -3
- package/lib/{chunk-AHYQFT4N.mjs → chunk-E6MCKJVS.mjs} +3 -3
- package/lib/{chunk-W4KR4CSL.mjs → chunk-M7Y3BOQW.mjs} +2 -2
- package/lib/chunk-M7Y3BOQW.mjs.map +1 -0
- package/lib/{chunk-U7L7T4XU.mjs → chunk-MVQWAIMC.mjs} +2 -2
- package/lib/{chunk-U7L7T4XU.mjs.map → chunk-MVQWAIMC.mjs.map} +1 -1
- package/lib/{chunk-VXX4I3EF.mjs → chunk-SVXLZCF7.mjs} +1 -1
- package/lib/{chunk-VXX4I3EF.mjs.map → chunk-SVXLZCF7.mjs.map} +1 -1
- package/lib/{chunk-YYRWDEG4.mjs → chunk-UT7ADSEJ.mjs} +3 -3
- package/lib/{chunk-YYRWDEG4.mjs.map → chunk-UT7ADSEJ.mjs.map} +1 -1
- package/lib/{chunk-6NBGYGFL.mjs → chunk-VZCPGQXA.mjs} +13 -12
- package/lib/chunk-VZCPGQXA.mjs.map +1 -0
- package/lib/{chunk-WXS3PUHR.mjs → chunk-WGA43MMY.mjs} +4 -4
- package/lib/{chunk-WQWFVEVX.mjs → chunk-X5E4YJGZ.mjs} +2 -2
- package/lib/{chunk-KO64HPWQ.mjs → chunk-ZWSGM6PZ.mjs} +2 -2
- package/lib/delete-chunk.handler.d.mts +1 -1
- package/lib/delete-chunk.handler.d.ts +1 -1
- package/lib/delete-chunk.handler.js +12 -11
- package/lib/delete-chunk.handler.js.map +1 -1
- package/lib/delete-chunk.handler.mjs +2 -2
- package/lib/delete-chunk.handler.mjs.map +1 -1
- package/lib/{events-BfrkMoBD.d.mts → events-COI0BuMM.d.mts} +1 -1
- package/lib/{events-BfrkMoBD.d.ts → events-COI0BuMM.d.ts} +1 -1
- package/lib/index.d.mts +21 -10
- package/lib/index.d.ts +21 -10
- package/lib/index.js +36 -16
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +30 -11
- package/lib/index.mjs.map +1 -1
- package/lib/list-chunks.handler.d.mts +1 -1
- package/lib/list-chunks.handler.d.ts +1 -1
- package/lib/list-chunks.handler.js +12 -11
- package/lib/list-chunks.handler.js.map +1 -1
- package/lib/list-chunks.handler.mjs +2 -2
- package/lib/list-chunks.handler.mjs.map +1 -1
- package/lib/platform-deploy-bridge.handler.d.mts +1 -1
- package/lib/platform-deploy-bridge.handler.d.ts +1 -1
- package/lib/platform-deploy-bridge.handler.js.map +1 -1
- package/lib/platform-deploy-bridge.handler.mjs +1 -1
- package/lib/pre-token-generation.handler.js +12 -11
- package/lib/pre-token-generation.handler.js.map +1 -1
- package/lib/pre-token-generation.handler.mjs +4 -4
- package/lib/provision-default-workspace.handler.js +12 -11
- package/lib/provision-default-workspace.handler.js.map +1 -1
- package/lib/provision-default-workspace.handler.mjs +4 -4
- package/lib/rename-list-targets.handler.d.mts +1 -1
- package/lib/rename-list-targets.handler.d.ts +1 -1
- package/lib/rename-list-targets.handler.js +12 -11
- package/lib/rename-list-targets.handler.js.map +1 -1
- package/lib/rename-list-targets.handler.mjs +2 -2
- package/lib/rename-list-targets.handler.mjs.map +1 -1
- package/lib/rename-rewrite-chunk.handler.d.mts +1 -1
- package/lib/rename-rewrite-chunk.handler.d.ts +1 -1
- package/lib/rename-rewrite-chunk.handler.js +12 -11
- package/lib/rename-rewrite-chunk.handler.js.map +1 -1
- package/lib/rename-rewrite-chunk.handler.mjs +2 -2
- package/lib/rename-rewrite-chunk.handler.mjs.map +1 -1
- package/lib/rest-api-lambda.handler.js +14 -13
- package/lib/rest-api-lambda.handler.js.map +1 -1
- package/lib/rest-api-lambda.handler.mjs +9 -9
- package/lib/rest-api-lambda.handler.mjs.map +1 -1
- package/lib/seed-demo-data.handler.js +12 -11
- package/lib/seed-demo-data.handler.js.map +1 -1
- package/lib/seed-demo-data.handler.mjs +5 -5
- package/lib/seed-system-data.handler.js +12 -11
- package/lib/seed-system-data.handler.js.map +1 -1
- package/lib/seed-system-data.handler.mjs +2 -2
- package/lib/static-hosting.viewer-request-handler.d.mts +1 -1
- package/lib/static-hosting.viewer-request-handler.d.ts +1 -1
- package/lib/static-hosting.viewer-request-handler.js.map +1 -1
- package/lib/static-hosting.viewer-request-handler.mjs.map +1 -1
- package/package.json +5 -5
- package/lib/chunk-6NBGYGFL.mjs.map +0 -1
- package/lib/chunk-W4KR4CSL.mjs.map +0 -1
- /package/lib/{chunk-ZHMHLK3S.mjs.map → chunk-7BQHLC7U.mjs.map} +0 -0
- /package/lib/{chunk-7WDX6GPO.mjs.map → chunk-AWYZJFPL.mjs.map} +0 -0
- /package/lib/{chunk-AHYQFT4N.mjs.map → chunk-E6MCKJVS.mjs.map} +0 -0
- /package/lib/{chunk-WXS3PUHR.mjs.map → chunk-WGA43MMY.mjs.map} +0 -0
- /package/lib/{chunk-WQWFVEVX.mjs.map → chunk-X5E4YJGZ.mjs.map} +0 -0
- /package/lib/{chunk-KO64HPWQ.mjs.map → chunk-ZWSGM6PZ.mjs.map} +0 -0
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
createRoleAssignmentOperation,
|
|
4
4
|
createTenantOperation,
|
|
5
5
|
createWorkspaceOperation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AWYZJFPL.mjs";
|
|
7
7
|
import "./chunk-HQ67J7BP.mjs";
|
|
8
8
|
import "./chunk-QJDHVMKT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findUserBySubOperation,
|
|
11
11
|
idFromReference,
|
|
12
12
|
parseUserResource
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-UT7ADSEJ.mjs";
|
|
14
|
+
import "./chunk-MVQWAIMC.mjs";
|
|
15
15
|
import "./chunk-FYHBHHWK.mjs";
|
|
16
16
|
import {
|
|
17
17
|
getDynamoControlService
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VZCPGQXA.mjs";
|
|
19
19
|
import "./chunk-TRY7JGWO.mjs";
|
|
20
20
|
import "./chunk-LZOMFHX3.mjs";
|
|
21
21
|
|
|
@@ -4,7 +4,7 @@ import '@openhi/workflows';
|
|
|
4
4
|
/**
|
|
5
5
|
* Cascade Step Functions handler that queries one page of projection
|
|
6
6
|
* rows affected by a Tenant / User / Role rename and bundles them into
|
|
7
|
-
*
|
|
7
|
+
* \<=50-target chunks for the downstream Distributed Map state.
|
|
8
8
|
*
|
|
9
9
|
* One invocation per outer-loop iteration:
|
|
10
10
|
*
|
|
@@ -4,7 +4,7 @@ import '@openhi/workflows';
|
|
|
4
4
|
/**
|
|
5
5
|
* Cascade Step Functions handler that queries one page of projection
|
|
6
6
|
* rows affected by a Tenant / User / Role rename and bundles them into
|
|
7
|
-
*
|
|
7
|
+
* \<=50-target chunks for the downstream Distributed Map state.
|
|
8
8
|
*
|
|
9
9
|
* One invocation per outer-loop iteration:
|
|
10
10
|
*
|
|
@@ -1051,11 +1051,11 @@ var ConfigurationUserProjectionEntity = new import_electrodb2.Entity({
|
|
|
1051
1051
|
},
|
|
1052
1052
|
indexes: {
|
|
1053
1053
|
/**
|
|
1054
|
-
* Base table: PK = USER#ID
|
|
1055
|
-
* single `Query(PK = USER#ID#<userId>, SK begins_with
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1054
|
+
* Base table: PK = USER#ID#\<userId\>, SK = operation-supplied. A
|
|
1055
|
+
* single `Query(PK = USER#ID#<userId>, SK begins_with 'CONFIGURATION#')`
|
|
1056
|
+
* returns the user's user-scoped Configurations sorted by
|
|
1057
|
+
* `<normalizedConfigName>` (then `<configurationId>` as the
|
|
1058
|
+
* tiebreaker).
|
|
1059
1059
|
*/
|
|
1060
1060
|
record: {
|
|
1061
1061
|
pk: {
|
|
@@ -1443,11 +1443,12 @@ var MembershipUserProjectionEntity = new import_electrodb5.Entity({
|
|
|
1443
1443
|
},
|
|
1444
1444
|
indexes: {
|
|
1445
1445
|
/**
|
|
1446
|
-
* Base table: PK = USER#ID
|
|
1446
|
+
* Base table: PK = USER#ID#\<userId\>, SK = operation-supplied.
|
|
1447
1447
|
* Both pattern #3 and pattern #4 use this same index — the SK string
|
|
1448
1448
|
* encodes the lane discriminator (`MEMBERSHIP#TENANT#…` vs
|
|
1449
|
-
* `MEMBERSHIP#WORKSPACE#…`) so a single
|
|
1450
|
-
* SK begins_with 'MEMBERSHIP#')`
|
|
1449
|
+
* `MEMBERSHIP#WORKSPACE#…`) so a single
|
|
1450
|
+
* `Query(PK = USER#ID#<userId>, SK begins_with 'MEMBERSHIP#')`
|
|
1451
|
+
* returns both lanes interleaved.
|
|
1451
1452
|
*/
|
|
1452
1453
|
record: {
|
|
1453
1454
|
pk: {
|
|
@@ -1950,12 +1951,12 @@ var RoleAssignmentUserProjectionEntity = new import_electrodb9.Entity({
|
|
|
1950
1951
|
},
|
|
1951
1952
|
indexes: {
|
|
1952
1953
|
/**
|
|
1953
|
-
* Base table: PK = USER#ID
|
|
1954
|
+
* Base table: PK = USER#ID#\<userId\>, SK = operation-supplied. Both
|
|
1954
1955
|
* sub-lanes (tenant-level and workspace-level) use this same index —
|
|
1955
1956
|
* the SK string encodes the lane discriminator
|
|
1956
1957
|
* (`ROLEASSIGNMENT#TENANT#…` vs `ROLEASSIGNMENT#WORKSPACE#…`) so a
|
|
1957
|
-
* single `Query(PK = USER#ID#<userId>, SK begins_with
|
|
1958
|
-
*
|
|
1958
|
+
* single `Query(PK = USER#ID#<userId>, SK begins_with 'ROLEASSIGNMENT#')`
|
|
1959
|
+
* returns both lanes interleaved.
|
|
1959
1960
|
*/
|
|
1960
1961
|
record: {
|
|
1961
1962
|
pk: {
|