@composurecdk/dynamodb 0.8.7 → 0.9.0
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/dist/commonjs/grants.d.ts +23 -0
- package/dist/commonjs/grants.d.ts.map +1 -0
- package/dist/commonjs/grants.js +34 -0
- package/dist/commonjs/grants.js.map +1 -0
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/esm/grants.d.ts +23 -0
- package/dist/esm/grants.d.ts.map +1 -0
- package/dist/esm/grants.js +31 -0
- package/dist/esm/grants.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ITable } from "aws-cdk-lib/aws-dynamodb";
|
|
2
|
+
import type { IGrantable } from "aws-cdk-lib/aws-iam";
|
|
3
|
+
import { type Grant, type Resolvable } from "@composurecdk/core";
|
|
4
|
+
/**
|
|
5
|
+
* Consumer-side grant helpers for a DynamoDB table. Pass one to a grantee
|
|
6
|
+
* builder's `grant(...)` — e.g.
|
|
7
|
+
* `role.grant(tableGrants.readWrite(ref("table", (r) => r.table)))`.
|
|
8
|
+
*
|
|
9
|
+
* `ITable` is implemented by both `Table` and `TableV2`, so these helpers serve
|
|
10
|
+
* either builder's result. Each delegates to the table's native `grant*Data`
|
|
11
|
+
* method. See ADR-0013.
|
|
12
|
+
*/
|
|
13
|
+
export declare const tableGrants: {
|
|
14
|
+
/** Read access (`dynamodb:GetItem`, `Query`, `Scan`, …). */
|
|
15
|
+
read: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
16
|
+
/** Write access (`dynamodb:PutItem`, `UpdateItem`, `DeleteItem`, …). */
|
|
17
|
+
write: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
18
|
+
/** Combined read and write access. */
|
|
19
|
+
readWrite: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
20
|
+
/** Full access to the table and its indexes (`dynamodb:*`). */
|
|
21
|
+
fullAccess: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.d.ts","sourceRoot":"","sources":["../../src/grants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,KAAK,EAAY,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQ3E;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;IACtB,4DAA4D;kBAbpD,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAiB9C,wEAAwE;mBAjBhE,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAqB9C,sCAAsC;uBArB9B,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAyB9C,+DAA+D;wBAzBvD,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;CA6B/C,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tableGrants = void 0;
|
|
4
|
+
const core_1 = require("@composurecdk/core");
|
|
5
|
+
/** Wraps one of {@link ITable}'s native grant methods as a capability helper. */
|
|
6
|
+
const capability = (apply) => (table) => (0, core_1.grantVia)(table, apply);
|
|
7
|
+
/**
|
|
8
|
+
* Consumer-side grant helpers for a DynamoDB table. Pass one to a grantee
|
|
9
|
+
* builder's `grant(...)` — e.g.
|
|
10
|
+
* `role.grant(tableGrants.readWrite(ref("table", (r) => r.table)))`.
|
|
11
|
+
*
|
|
12
|
+
* `ITable` is implemented by both `Table` and `TableV2`, so these helpers serve
|
|
13
|
+
* either builder's result. Each delegates to the table's native `grant*Data`
|
|
14
|
+
* method. See ADR-0013.
|
|
15
|
+
*/
|
|
16
|
+
exports.tableGrants = {
|
|
17
|
+
/** Read access (`dynamodb:GetItem`, `Query`, `Scan`, …). */
|
|
18
|
+
read: capability((table, grantee) => {
|
|
19
|
+
table.grantReadData(grantee);
|
|
20
|
+
}),
|
|
21
|
+
/** Write access (`dynamodb:PutItem`, `UpdateItem`, `DeleteItem`, …). */
|
|
22
|
+
write: capability((table, grantee) => {
|
|
23
|
+
table.grantWriteData(grantee);
|
|
24
|
+
}),
|
|
25
|
+
/** Combined read and write access. */
|
|
26
|
+
readWrite: capability((table, grantee) => {
|
|
27
|
+
table.grantReadWriteData(grantee);
|
|
28
|
+
}),
|
|
29
|
+
/** Full access to the table and its indexes (`dynamodb:*`). */
|
|
30
|
+
fullAccess: capability((table, grantee) => {
|
|
31
|
+
table.grantFullAccess(grantee);
|
|
32
|
+
}),
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=grants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.js","sourceRoot":"","sources":["../../src/grants.ts"],"names":[],"mappings":";;;AAEA,6CAA2E;AAE3E,iFAAiF;AACjF,MAAM,UAAU,GACd,CAAC,KAAmD,EAAE,EAAE,CACxD,CAAC,KAAyB,EAAqB,EAAE,CAC/C,IAAA,eAAQ,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAE3B;;;;;;;;GAQG;AACU,QAAA,WAAW,GAAG;IACzB,4DAA4D;IAC5D,IAAI,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QAClC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC,CAAC;IACF,wEAAwE;IACxE,KAAK,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACnC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC,CAAC;IACF,sCAAsC;IACtC,SAAS,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACvC,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC,CAAC;IACF,+DAA+D;IAC/D,UAAU,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxC,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC,CAAC;CACH,CAAC"}
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { createTableBuilder, type ITableBuilder, type TableBuilderProps, type TableBuilderResult, } from "./table-builder.js";
|
|
2
2
|
export { createTableV2Builder, type ITableV2Builder, type TableV2BuilderProps, type TableV2BuilderResult, } from "./table-v2-builder.js";
|
|
3
|
+
export { tableGrants } from "./grants.js";
|
|
3
4
|
export { TABLE_DEFAULTS, TABLE_V2_DEFAULTS } from "./defaults.js";
|
|
4
5
|
export { type TableAlarmConfig } from "./table-alarm-config.js";
|
|
5
6
|
export { TABLE_ALARM_DEFAULTS } from "./table-alarm-defaults.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TABLE_ALARM_DEFAULTS = exports.TABLE_V2_DEFAULTS = exports.TABLE_DEFAULTS = exports.createTableV2Builder = exports.createTableBuilder = void 0;
|
|
3
|
+
exports.TABLE_ALARM_DEFAULTS = exports.TABLE_V2_DEFAULTS = exports.TABLE_DEFAULTS = exports.tableGrants = exports.createTableV2Builder = exports.createTableBuilder = void 0;
|
|
4
4
|
var table_builder_js_1 = require("./table-builder.js");
|
|
5
5
|
Object.defineProperty(exports, "createTableBuilder", { enumerable: true, get: function () { return table_builder_js_1.createTableBuilder; } });
|
|
6
6
|
var table_v2_builder_js_1 = require("./table-v2-builder.js");
|
|
7
7
|
Object.defineProperty(exports, "createTableV2Builder", { enumerable: true, get: function () { return table_v2_builder_js_1.createTableV2Builder; } });
|
|
8
|
+
var grants_js_1 = require("./grants.js");
|
|
9
|
+
Object.defineProperty(exports, "tableGrants", { enumerable: true, get: function () { return grants_js_1.tableGrants; } });
|
|
8
10
|
var defaults_js_1 = require("./defaults.js");
|
|
9
11
|
Object.defineProperty(exports, "TABLE_DEFAULTS", { enumerable: true, get: function () { return defaults_js_1.TABLE_DEFAULTS; } });
|
|
10
12
|
Object.defineProperty(exports, "TABLE_V2_DEFAULTS", { enumerable: true, get: function () { return defaults_js_1.TABLE_V2_DEFAULTS; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAK4B;AAJ1B,sHAAA,kBAAkB,OAAA;AAKpB,6DAK+B;AAJ7B,2HAAA,oBAAoB,OAAA;AAKtB,6CAAkE;AAAzD,6GAAA,cAAc,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAE1C,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAK4B;AAJ1B,sHAAA,kBAAkB,OAAA;AAKpB,6DAK+B;AAJ7B,2HAAA,oBAAoB,OAAA;AAKtB,yCAA0C;AAAjC,wGAAA,WAAW,OAAA;AACpB,6CAAkE;AAAzD,6GAAA,cAAc,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAE1C,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ITable } from "aws-cdk-lib/aws-dynamodb";
|
|
2
|
+
import type { IGrantable } from "aws-cdk-lib/aws-iam";
|
|
3
|
+
import { type Grant, type Resolvable } from "@composurecdk/core";
|
|
4
|
+
/**
|
|
5
|
+
* Consumer-side grant helpers for a DynamoDB table. Pass one to a grantee
|
|
6
|
+
* builder's `grant(...)` — e.g.
|
|
7
|
+
* `role.grant(tableGrants.readWrite(ref("table", (r) => r.table)))`.
|
|
8
|
+
*
|
|
9
|
+
* `ITable` is implemented by both `Table` and `TableV2`, so these helpers serve
|
|
10
|
+
* either builder's result. Each delegates to the table's native `grant*Data`
|
|
11
|
+
* method. See ADR-0013.
|
|
12
|
+
*/
|
|
13
|
+
export declare const tableGrants: {
|
|
14
|
+
/** Read access (`dynamodb:GetItem`, `Query`, `Scan`, …). */
|
|
15
|
+
read: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
16
|
+
/** Write access (`dynamodb:PutItem`, `UpdateItem`, `DeleteItem`, …). */
|
|
17
|
+
write: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
18
|
+
/** Combined read and write access. */
|
|
19
|
+
readWrite: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
20
|
+
/** Full access to the table and its indexes (`dynamodb:*`). */
|
|
21
|
+
fullAccess: (table: Resolvable<ITable>) => Grant<IGrantable>;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.d.ts","sourceRoot":"","sources":["../../src/grants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,KAAK,EAAY,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQ3E;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;IACtB,4DAA4D;kBAbpD,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAiB9C,wEAAwE;mBAjBhE,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAqB9C,sCAAsC;uBArB9B,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;IAyB9C,+DAA+D;wBAzBvD,UAAU,CAAC,MAAM,CAAC,KAAG,KAAK,CAAC,UAAU,CAAC;CA6B/C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { grantVia } from "@composurecdk/core";
|
|
2
|
+
/** Wraps one of {@link ITable}'s native grant methods as a capability helper. */
|
|
3
|
+
const capability = (apply) => (table) => grantVia(table, apply);
|
|
4
|
+
/**
|
|
5
|
+
* Consumer-side grant helpers for a DynamoDB table. Pass one to a grantee
|
|
6
|
+
* builder's `grant(...)` — e.g.
|
|
7
|
+
* `role.grant(tableGrants.readWrite(ref("table", (r) => r.table)))`.
|
|
8
|
+
*
|
|
9
|
+
* `ITable` is implemented by both `Table` and `TableV2`, so these helpers serve
|
|
10
|
+
* either builder's result. Each delegates to the table's native `grant*Data`
|
|
11
|
+
* method. See ADR-0013.
|
|
12
|
+
*/
|
|
13
|
+
export const tableGrants = {
|
|
14
|
+
/** Read access (`dynamodb:GetItem`, `Query`, `Scan`, …). */
|
|
15
|
+
read: capability((table, grantee) => {
|
|
16
|
+
table.grantReadData(grantee);
|
|
17
|
+
}),
|
|
18
|
+
/** Write access (`dynamodb:PutItem`, `UpdateItem`, `DeleteItem`, …). */
|
|
19
|
+
write: capability((table, grantee) => {
|
|
20
|
+
table.grantWriteData(grantee);
|
|
21
|
+
}),
|
|
22
|
+
/** Combined read and write access. */
|
|
23
|
+
readWrite: capability((table, grantee) => {
|
|
24
|
+
table.grantReadWriteData(grantee);
|
|
25
|
+
}),
|
|
26
|
+
/** Full access to the table and its indexes (`dynamodb:*`). */
|
|
27
|
+
fullAccess: capability((table, grantee) => {
|
|
28
|
+
table.grantFullAccess(grantee);
|
|
29
|
+
}),
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=grants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grants.js","sourceRoot":"","sources":["../../src/grants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,QAAQ,EAAmB,MAAM,oBAAoB,CAAC;AAE3E,iFAAiF;AACjF,MAAM,UAAU,GACd,CAAC,KAAmD,EAAE,EAAE,CACxD,CAAC,KAAyB,EAAqB,EAAE,CAC/C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAE3B;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,4DAA4D;IAC5D,IAAI,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QAClC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC,CAAC;IACF,wEAAwE;IACxE,KAAK,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACnC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC,CAAC;IACF,sCAAsC;IACtC,SAAS,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACvC,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC,CAAC;IACF,+DAA+D;IAC/D,UAAU,EAAE,UAAU,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACxC,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC,CAAC;CACH,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { createTableBuilder, type ITableBuilder, type TableBuilderProps, type TableBuilderResult, } from "./table-builder.js";
|
|
2
2
|
export { createTableV2Builder, type ITableV2Builder, type TableV2BuilderProps, type TableV2BuilderResult, } from "./table-v2-builder.js";
|
|
3
|
+
export { tableGrants } from "./grants.js";
|
|
3
4
|
export { TABLE_DEFAULTS, TABLE_V2_DEFAULTS } from "./defaults.js";
|
|
4
5
|
export { type TableAlarmConfig } from "./table-alarm-config.js";
|
|
5
6
|
export { TABLE_ALARM_DEFAULTS } from "./table-alarm-defaults.js";
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { createTableBuilder, } from "./table-builder.js";
|
|
2
2
|
export { createTableV2Builder, } from "./table-v2-builder.js";
|
|
3
|
+
export { tableGrants } from "./grants.js";
|
|
3
4
|
export { TABLE_DEFAULTS, TABLE_V2_DEFAULTS } from "./defaults.js";
|
|
4
5
|
export { TABLE_ALARM_DEFAULTS } from "./table-alarm-defaults.js";
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAInB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,GAIrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAInB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,GAIrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composurecdk/dynamodb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Composable DynamoDB table builder with well-architected defaults",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@composurecdk/cloudformation": "^0.
|
|
52
|
-
"@composurecdk/cloudwatch": "^0.
|
|
53
|
-
"@composurecdk/core": "^0.
|
|
51
|
+
"@composurecdk/cloudformation": "^0.9.0",
|
|
52
|
+
"@composurecdk/cloudwatch": "^0.9.0",
|
|
53
|
+
"@composurecdk/core": "^0.9.0",
|
|
54
54
|
"aws-cdk-lib": "^2.178.0",
|
|
55
55
|
"constructs": "^10.0.0"
|
|
56
56
|
},
|