@aws/nx-plugin-mcp 1.0.0-rc.3 → 1.0.0-rc.5

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.
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "ts#dynamodb",
4
+ "title": "ts#dynamodb",
5
+ "description": "Create a DynamoDB project",
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string",
10
+ "description": "Name of the DynamoDB project to generate",
11
+ "$default": {
12
+ "$source": "argv",
13
+ "index": 0
14
+ },
15
+ "x-priority": "important",
16
+ "x-prompt": "What name would you like your DynamoDB project to have? i.e: MyTable"
17
+ },
18
+ "directory": {
19
+ "type": "string",
20
+ "description": "The directory to store the project in.",
21
+ "default": "packages",
22
+ "x-priority": "important",
23
+ "x-prompt": "Which directory do you want to create the project in?"
24
+ },
25
+ "subDirectory": {
26
+ "type": "string",
27
+ "description": "The sub directory the project is placed in. By default this is the project name.",
28
+ "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
29
+ },
30
+ "tableName": {
31
+ "type": "string",
32
+ "description": "The DynamoDB table name. Defaults to the project name."
33
+ },
34
+ "infra": {
35
+ "type": "string",
36
+ "enum": ["dynamodb", "none"],
37
+ "default": "dynamodb",
38
+ "description": "Infrastructure to provision for the DynamoDB table.",
39
+ "x-priority": "important",
40
+ "x-prompt": "Which infrastructure would you like to provision?"
41
+ },
42
+ "iac": {
43
+ "type": "string",
44
+ "description": "The preferred IaC provider. By default this is inherited from your initial selection.",
45
+ "enum": ["inherit", "cdk", "terraform"],
46
+ "x-priority": "important",
47
+ "default": "inherit",
48
+ "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
49
+ }
50
+ },
51
+ "required": ["name"]
52
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "ts#dynamodb#smithy-connection",
4
+ "title": "ts#dynamodb#smithy-connection",
5
+ "description": "Connect a Smithy backend to a ts#dynamodb project",
6
+ "type": "object",
7
+ "properties": {
8
+ "sourceProject": {
9
+ "type": "string",
10
+ "description": "The Smithy backend project to connect from"
11
+ },
12
+ "targetProject": {
13
+ "type": "string",
14
+ "description": "The ts#dynamodb project to connect to"
15
+ }
16
+ },
17
+ "required": ["sourceProject", "targetProject"]
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "ts#dynamodb#trpc-connection",
4
+ "title": "ts#dynamodb#trpc-connection",
5
+ "description": "Connect a ts#trpc-api project to a ts#dynamodb project",
6
+ "type": "object",
7
+ "properties": {
8
+ "sourceProject": {
9
+ "type": "string",
10
+ "description": "The ts#trpc-api project to connect from"
11
+ },
12
+ "targetProject": {
13
+ "type": "string",
14
+ "description": "The ts#dynamodb project to connect to"
15
+ }
16
+ },
17
+ "required": ["sourceProject", "targetProject"]
18
+ }