@chaim-tools/cdk-lib 0.1.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/README.md +238 -0
- package/lib/binders/base-chaim-binder.d.ts +144 -0
- package/lib/binders/base-chaim-binder.js +532 -0
- package/lib/binders/chaim-dynamodb-binder.d.ts +95 -0
- package/lib/binders/chaim-dynamodb-binder.js +292 -0
- package/lib/config/chaim-endpoints.d.ts +47 -0
- package/lib/config/chaim-endpoints.js +51 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +43 -0
- package/lib/lambda-handler/.test-temp/snapshot.json +1 -0
- package/lib/lambda-handler/handler.js +513 -0
- package/lib/lambda-handler/handler.test.ts +365 -0
- package/lib/lambda-handler/package-lock.json +1223 -0
- package/lib/lambda-handler/package.json +14 -0
- package/lib/services/ingestion-service.d.ts +50 -0
- package/lib/services/ingestion-service.js +81 -0
- package/lib/services/os-cache-paths.d.ts +52 -0
- package/lib/services/os-cache-paths.js +123 -0
- package/lib/services/schema-service.d.ts +11 -0
- package/lib/services/schema-service.js +67 -0
- package/lib/services/snapshot-cleanup.d.ts +78 -0
- package/lib/services/snapshot-cleanup.js +220 -0
- package/lib/types/base-binder-props.d.ts +32 -0
- package/lib/types/base-binder-props.js +17 -0
- package/lib/types/credentials.d.ts +57 -0
- package/lib/types/credentials.js +83 -0
- package/lib/types/data-store-metadata.d.ts +67 -0
- package/lib/types/data-store-metadata.js +4 -0
- package/lib/types/failure-mode.d.ts +16 -0
- package/lib/types/failure-mode.js +21 -0
- package/lib/types/ingest-contract.d.ts +110 -0
- package/lib/types/ingest-contract.js +12 -0
- package/lib/types/snapshot-cache-policy.d.ts +52 -0
- package/lib/types/snapshot-cache-policy.js +57 -0
- package/lib/types/snapshot-payload.d.ts +245 -0
- package/lib/types/snapshot-payload.js +3 -0
- package/lib/types/table-binding-config.d.ts +43 -0
- package/lib/types/table-binding-config.js +57 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chaim-tools/cdk-lib",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AWS CDK v2 constructs for Chaim schema management",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc && cp -r src/lambda-handler lib/",
|
|
14
|
+
"watch": "tsc -w",
|
|
15
|
+
"test": "vitest run",
|
|
16
|
+
"test:watch": "vitest --watch",
|
|
17
|
+
"test:coverage": "vitest --coverage",
|
|
18
|
+
"lint": "eslint . --ext .ts",
|
|
19
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
20
|
+
"clean": "rm -rf lib dist"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"aws-cdk",
|
|
24
|
+
"cdk",
|
|
25
|
+
"chaim",
|
|
26
|
+
"schema",
|
|
27
|
+
"constructs"
|
|
28
|
+
],
|
|
29
|
+
"author": "Chaim Builder",
|
|
30
|
+
"license": "Apache-2.0",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@aws-sdk/client-cloudformation": "^3.883.0",
|
|
33
|
+
"@aws-sdk/client-dynamodb": "^3.883.0",
|
|
34
|
+
"@types/node": "^20.0.0",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
36
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
37
|
+
"@vitest/coverage-v8": "^1.0.0",
|
|
38
|
+
"aws-cdk": "^2.0.0",
|
|
39
|
+
"eslint": "^8.0.0",
|
|
40
|
+
"typescript": "~5.0.0",
|
|
41
|
+
"vitest": "^1.0.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@aws-sdk/client-secrets-manager": "^3.883.0",
|
|
45
|
+
"@chaim-tools/chaim-bprint-spec": "workspace:^0.2.0",
|
|
46
|
+
"aws-cdk-lib": "^2.0.0",
|
|
47
|
+
"constructs": "^10.0.0",
|
|
48
|
+
"esbuild": "^0.19.0",
|
|
49
|
+
"yaml": "^2.3.4"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"aws-cdk-lib": "^2.0.0",
|
|
53
|
+
"constructs": "^10.0.0"
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=20.0.0"
|
|
57
|
+
},
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "https://github.com/chaim-tools/chaim-cdk.git"
|
|
61
|
+
},
|
|
62
|
+
"bugs": {
|
|
63
|
+
"url": "https://github.com/chaim-tools/chaim-cdk/issues"
|
|
64
|
+
},
|
|
65
|
+
"homepage": "https://github.com/chaim-tools/chaim-cdk#readme"
|
|
66
|
+
}
|
|
67
|
+
|