stacktape 3.2.0-beta.12 → 3.2.0-beta.13

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.
Files changed (6) hide show
  1. package/cloudformation.d.ts +18898 -0
  2. package/index.d.ts +45 -3
  3. package/package.json +6 -4
  4. package/sdk.d.ts +64300 -11454
  5. package/types.d.ts +39 -18885
  6. package/sdk.js +0 -13440
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  // @ts-nocheck
3
3
  // Generated file - Do not edit manually
4
- // Main export for 'stacktape' - classes, directives, defineConfig only
5
- // For types, use: import type { X } from 'stacktape/types'
4
+ // Main export for 'stacktape' - classes, directives, defineConfig, augmented section types
5
+ // For plain types (getConfig pattern), use: import type { X } from 'stacktape/types'
6
6
 
7
- // Re-export classes from types (NOT re-exporting type definitions)
7
+ // Re-export classes and defineConfig from types
8
8
  export {
9
9
  defineConfig,
10
10
  RelationalDatabase,
@@ -116,6 +116,9 @@ export {
116
116
  Alarm
117
117
  } from './types';
118
118
 
119
+ // Re-export GetConfigParams for convenience
120
+ export type { GetConfigParams, StacktapeConfig } from './types';
121
+
119
122
  // ==========================================
120
123
  // DIRECTIVES
121
124
  // ==========================================
@@ -197,3 +200,42 @@ export declare const $Stage: () => string;
197
200
  // ==========================================
198
201
 
199
202
  export declare const AWS_SES: "aws:ses";
203
+
204
+
205
+ // ==========================================
206
+ // AUGMENTED SECTION TYPES (for defineConfig pattern)
207
+ // ==========================================
208
+
209
+ /**
210
+ * Resources section type (accepts class instances).
211
+ * Use this with defineConfig for enhanced type-safe configs.
212
+ */
213
+ export type StacktapeResources = { [resourceName: string]: RelationalDatabase | WebService | PrivateService | WorkerService | MultiContainerWorkload | LambdaFunction | BatchJob | Bucket | HostingBucket | DynamoDbTable | EventBus | HttpApiGateway | ApplicationLoadBalancer | NetworkLoadBalancer | RedisCluster | MongoDbAtlasCluster | StateMachine | UserAuthPool | UpstashRedis | SqsQueue | SnsTopic | WebAppFirewall | OpenSearchDomain | EfsFilesystem | NextjsWeb | Bastion | import('./sdk').StacktapeResourceDefinition };
214
+
215
+ /**
216
+ * Scripts section type (accepts class instances).
217
+ * Use this with defineConfig for enhanced type-safe configs.
218
+ */
219
+ export type StacktapeScripts = { [scriptName: string]: LocalScript | BastionScript | LocalScriptWithBastionTunneling | import('./sdk').LocalScript | import('./sdk').BastionScript | import('./sdk').LocalScriptWithBastionTunneling };
220
+
221
+ /**
222
+ * Hooks section type.
223
+ */
224
+ export type StacktapeHooks = import('./sdk').Hooks;
225
+
226
+ /**
227
+ * Deployment config section type.
228
+ */
229
+ export type StacktapeDeploymentConfig = import('./sdk').DeploymentConfig;
230
+
231
+ /**
232
+ * Stack config section type.
233
+ */
234
+ export type StacktapeStackConfig = import('./sdk').StackConfig;
235
+
236
+ /**
237
+ * Cloudformation resources section type.
238
+ * Use import from 'stacktape/cloudformation' for CloudFormationResource type.
239
+ */
240
+ export type StacktapeCloudformationResources = { [resourceName: string]: import('./cloudformation').CloudFormationResource };
241
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stacktape",
3
- "version": "3.2.0-beta.12",
3
+ "version": "3.2.0-beta.13",
4
4
  "description": "PaaS 2.0 that deploys to your own AWS account.",
5
5
  "author": "Stacktape team <support@stacktape.com>",
6
6
  "license": "MIT",
@@ -27,9 +27,11 @@
27
27
  "types": "./index.d.ts",
28
28
  "default": "./index.js"
29
29
  },
30
- "./sdk": {
31
- "types": "./sdk.d.ts",
32
- "default": "./sdk.js"
30
+ "./types": {
31
+ "types": "./types.d.ts"
32
+ },
33
+ "./cloudformation": {
34
+ "types": "./cloudformation.d.ts"
33
35
  }
34
36
  },
35
37
  "main": "./index.js",