@resistdesign/voltra 3.0.0-alpha.16 → 3.0.0-alpha.18
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 +2 -2
- package/api/Indexing/API.d.ts +15 -27
- package/api/ORM/index.d.ts +0 -1
- package/api/index.d.ts +11 -15
- package/api/index.js +1 -163
- package/app/index.d.ts +5 -7
- package/app/index.js +2 -63
- package/app/utils/Route.d.ts +1 -1
- package/build/index.d.ts +9 -1
- package/common/TypeParsing/index.d.ts +3 -3
- package/common/index.d.ts +17 -48
- package/common/index.js +21 -890
- package/iac/SimpleCFT.d.ts +1 -1
- package/iac/index.d.ts +12 -10
- package/iac/index.js +2 -1405
- package/iac/packs/auth/user-management.d.ts +38 -14
- package/iac/packs/auth.d.ts +42 -22
- package/iac/packs/build.d.ts +2 -1
- package/iac/packs/cdn.d.ts +2 -1
- package/iac/packs/cloud-function.d.ts +3 -1
- package/iac/packs/database.d.ts +2 -1
- package/iac/packs/dns.d.ts +2 -1
- package/iac/packs/file-storage.d.ts +2 -1
- package/iac/packs/gateway.d.ts +3 -1
- package/iac/packs/index.d.ts +44 -0
- package/iac/packs/index.js +93 -91
- package/iac/packs/repo.d.ts +2 -1
- package/iac/packs/ssl-certificate.d.ts +2 -1
- package/native/index.d.ts +5 -7
- package/native/index.js +1 -46
- package/package.json +1 -1
- package/web/index.d.ts +5 -7
- package/web/index.js +1 -26
package/iac/SimpleCFT.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class SimpleCFT {
|
|
|
44
44
|
constructor(template?: CloudFormationTemplate);
|
|
45
45
|
/**
|
|
46
46
|
* Apply a pack with configuration to the stack template.
|
|
47
|
-
* @see
|
|
47
|
+
* @see `@resistdesign/voltra/iac` and `@resistdesign/voltra/iac/packs` for examples.
|
|
48
48
|
* */
|
|
49
49
|
applyPack: <ParamsType>(pack: ResourcePackApplier<ParamsType>, params: ParamsType) => this;
|
|
50
50
|
/**
|
package/iac/index.d.ts
CHANGED
|
@@ -5,14 +5,16 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Import from the IaC subpath only:
|
|
7
7
|
* ```ts
|
|
8
|
-
* import
|
|
8
|
+
* import { SimpleCFT } from "@resistdesign/voltra/iac";
|
|
9
|
+
* import { addDNS } from "@resistdesign/voltra/iac/packs";
|
|
9
10
|
* ```
|
|
10
11
|
*
|
|
11
12
|
* @example
|
|
12
13
|
* ```ts
|
|
13
|
-
* import
|
|
14
|
+
* import { SimpleCFT } from "@resistdesign/voltra/iac";
|
|
15
|
+
* import { addDNS } from "@resistdesign/voltra/iac/packs";
|
|
14
16
|
*
|
|
15
|
-
* const cft = new
|
|
17
|
+
* const cft = new SimpleCFT().applyPack(addDNS, {
|
|
16
18
|
* hostedZoneIdParameterName: "<YOUR_INFO_HERE>",
|
|
17
19
|
* domainNameParameterName: "<YOUR_INFO_HERE>",
|
|
18
20
|
* localUIDevelopmentDomainName: "<YOUR_INFO_HERE>",
|
|
@@ -22,17 +24,17 @@
|
|
|
22
24
|
* console.log(cft.template);
|
|
23
25
|
* ```
|
|
24
26
|
*
|
|
25
|
-
* Use
|
|
26
|
-
* helpers, and {@link SimpleCFT} for fluent template composition.
|
|
27
|
+
* Use flat exports for reusable resource packs and template helpers.
|
|
27
28
|
*
|
|
28
29
|
* See also: `@resistdesign/voltra/iac/packs` for direct pack imports.
|
|
29
30
|
*/
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* @category iac
|
|
33
|
+
* @group Core
|
|
32
34
|
*/
|
|
33
|
-
export *
|
|
35
|
+
export * from "./SimpleCFT";
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
37
|
+
* @category iac
|
|
38
|
+
* @group Utilities
|
|
36
39
|
*/
|
|
37
|
-
export *
|
|
38
|
-
export * from "./SimpleCFT";
|
|
40
|
+
export * from "./utils";
|