@anvil-cloud/sdk 0.0.6 → 0.0.8

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/aws/index.ts CHANGED
@@ -15,6 +15,11 @@ export type Lambda = import("./lambda").Lambda;
15
15
  export const Lambda: typeof import("./lambda").Lambda = null as any;
16
16
  utilities.lazyLoad(exports, ["Lambda"], () => require("./lambda"));
17
17
 
18
+ export { SvelteKitSiteArgs } from "./svelteKitSite";
19
+ export type SvelteKitSite = import("./svelteKitSite").SvelteKitSite;
20
+ export const SvelteKitSite: typeof import("./svelteKitSite").SvelteKitSite = null as any;
21
+ utilities.lazyLoad(exports, ["SvelteKitSite"], () => require("./svelteKitSite"));
22
+
18
23
 
19
24
  const _module = {
20
25
  version: utilities.getVersion(),
@@ -24,6 +29,8 @@ const _module = {
24
29
  return new Bucket(name, <any>undefined, { urn })
25
30
  case "anvil:aws:Lambda":
26
31
  return new Lambda(name, <any>undefined, { urn })
32
+ case "anvil:aws:SvelteKitSite":
33
+ return new SvelteKitSite(name, <any>undefined, { urn })
27
34
  default:
28
35
  throw new Error(`unknown resource type ${type}`);
29
36
  }
@@ -0,0 +1,68 @@
1
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../utilities";
6
+
7
+ export class SvelteKitSite extends pulumi.ComponentResource {
8
+ /** @internal */
9
+ public static readonly __pulumiType = 'anvil:aws:SvelteKitSite';
10
+
11
+ /**
12
+ * Returns true if the given object is an instance of SvelteKitSite. This is designed to work even
13
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
14
+ */
15
+ public static isInstance(obj: any): obj is SvelteKitSite {
16
+ if (obj === undefined || obj === null) {
17
+ return false;
18
+ }
19
+ return obj['__pulumiType'] === SvelteKitSite.__pulumiType;
20
+ }
21
+
22
+ declare public /*out*/ readonly bucketName: pulumi.Output<string | undefined>;
23
+ declare public /*out*/ readonly cloudFrontDistributionId: pulumi.Output<string | undefined>;
24
+ declare public /*out*/ readonly dnsRecords: pulumi.Output<string | undefined>;
25
+ declare public /*out*/ readonly functionName: pulumi.Output<string | undefined>;
26
+ declare public /*out*/ readonly url: pulumi.Output<string | undefined>;
27
+
28
+ /**
29
+ * Create a SvelteKitSite resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name: string, args?: SvelteKitSiteArgs, opts?: pulumi.ComponentResourceOptions) {
36
+ let resourceInputs: pulumi.Inputs = {};
37
+ opts = opts || {};
38
+ if (!opts.id) {
39
+ resourceInputs["domain"] = args?.domain;
40
+ resourceInputs["environment"] = args?.environment;
41
+ resourceInputs["path"] = args?.path;
42
+ resourceInputs["transform"] = args?.transform;
43
+ resourceInputs["bucketName"] = undefined /*out*/;
44
+ resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
45
+ resourceInputs["dnsRecords"] = undefined /*out*/;
46
+ resourceInputs["functionName"] = undefined /*out*/;
47
+ resourceInputs["url"] = undefined /*out*/;
48
+ } else {
49
+ resourceInputs["bucketName"] = undefined /*out*/;
50
+ resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
51
+ resourceInputs["dnsRecords"] = undefined /*out*/;
52
+ resourceInputs["functionName"] = undefined /*out*/;
53
+ resourceInputs["url"] = undefined /*out*/;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(SvelteKitSite.__pulumiType, name, resourceInputs, opts, true /*remote*/);
57
+ }
58
+ }
59
+
60
+ /**
61
+ * The set of arguments for constructing a SvelteKitSite resource.
62
+ */
63
+ export interface SvelteKitSiteArgs {
64
+ domain?: pulumi.Input<string>;
65
+ environment?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
66
+ path?: pulumi.Input<string>;
67
+ transform?: pulumi.Input<string>;
68
+ }
@@ -4,3 +4,6 @@ export declare const Bucket: typeof import("./bucket").Bucket;
4
4
  export { LambdaArgs } from "./lambda";
5
5
  export type Lambda = import("./lambda").Lambda;
6
6
  export declare const Lambda: typeof import("./lambda").Lambda;
7
+ export { SvelteKitSiteArgs } from "./svelteKitSite";
8
+ export type SvelteKitSite = import("./svelteKitSite").SvelteKitSite;
9
+ export declare const SvelteKitSite: typeof import("./svelteKitSite").SvelteKitSite;
package/bin/aws/index.js CHANGED
@@ -2,13 +2,15 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Lambda = exports.Bucket = void 0;
5
+ exports.SvelteKitSite = exports.Lambda = exports.Bucket = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Bucket = null;
9
9
  utilities.lazyLoad(exports, ["Bucket"], () => require("./bucket"));
10
10
  exports.Lambda = null;
11
11
  utilities.lazyLoad(exports, ["Lambda"], () => require("./lambda"));
12
+ exports.SvelteKitSite = null;
13
+ utilities.lazyLoad(exports, ["SvelteKitSite"], () => require("./svelteKitSite"));
12
14
  const _module = {
13
15
  version: utilities.getVersion(),
14
16
  construct: (name, type, urn) => {
@@ -17,6 +19,8 @@ const _module = {
17
19
  return new exports.Bucket(name, undefined, { urn });
18
20
  case "anvil:aws:Lambda":
19
21
  return new exports.Lambda(name, undefined, { urn });
22
+ case "anvil:aws:SvelteKitSite":
23
+ return new exports.SvelteKitSite(name, undefined, { urn });
20
24
  default:
21
25
  throw new Error(`unknown resource type ${type}`);
22
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM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,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAGjF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kBAAkB;gBACnB,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,kBAAkB;gBACnB,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,32 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class SvelteKitSite extends pulumi.ComponentResource {
3
+ /**
4
+ * Returns true if the given object is an instance of SvelteKitSite. This is designed to work even
5
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
6
+ */
7
+ static isInstance(obj: any): obj is SvelteKitSite;
8
+ readonly bucketName: pulumi.Output<string | undefined>;
9
+ readonly cloudFrontDistributionId: pulumi.Output<string | undefined>;
10
+ readonly dnsRecords: pulumi.Output<string | undefined>;
11
+ readonly functionName: pulumi.Output<string | undefined>;
12
+ readonly url: pulumi.Output<string | undefined>;
13
+ /**
14
+ * Create a SvelteKitSite resource with the given unique name, arguments, and options.
15
+ *
16
+ * @param name The _unique_ name of the resource.
17
+ * @param args The arguments to use to populate this resource's properties.
18
+ * @param opts A bag of options that control this resource's behavior.
19
+ */
20
+ constructor(name: string, args?: SvelteKitSiteArgs, opts?: pulumi.ComponentResourceOptions);
21
+ }
22
+ /**
23
+ * The set of arguments for constructing a SvelteKitSite resource.
24
+ */
25
+ export interface SvelteKitSiteArgs {
26
+ domain?: pulumi.Input<string>;
27
+ environment?: pulumi.Input<{
28
+ [key: string]: pulumi.Input<string>;
29
+ }>;
30
+ path?: pulumi.Input<string>;
31
+ transform?: pulumi.Input<string>;
32
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SvelteKitSite = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class SvelteKitSite extends pulumi.ComponentResource {
9
+ /**
10
+ * Returns true if the given object is an instance of SvelteKitSite. This is designed to work even
11
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
12
+ */
13
+ static isInstance(obj) {
14
+ if (obj === undefined || obj === null) {
15
+ return false;
16
+ }
17
+ return obj['__pulumiType'] === SvelteKitSite.__pulumiType;
18
+ }
19
+ /**
20
+ * Create a SvelteKitSite resource with the given unique name, arguments, and options.
21
+ *
22
+ * @param name The _unique_ name of the resource.
23
+ * @param args The arguments to use to populate this resource's properties.
24
+ * @param opts A bag of options that control this resource's behavior.
25
+ */
26
+ constructor(name, args, opts) {
27
+ let resourceInputs = {};
28
+ opts = opts || {};
29
+ if (!opts.id) {
30
+ resourceInputs["domain"] = args?.domain;
31
+ resourceInputs["environment"] = args?.environment;
32
+ resourceInputs["path"] = args?.path;
33
+ resourceInputs["transform"] = args?.transform;
34
+ resourceInputs["bucketName"] = undefined /*out*/;
35
+ resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
36
+ resourceInputs["dnsRecords"] = undefined /*out*/;
37
+ resourceInputs["functionName"] = undefined /*out*/;
38
+ resourceInputs["url"] = undefined /*out*/;
39
+ }
40
+ else {
41
+ resourceInputs["bucketName"] = undefined /*out*/;
42
+ resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
43
+ resourceInputs["dnsRecords"] = undefined /*out*/;
44
+ resourceInputs["functionName"] = undefined /*out*/;
45
+ resourceInputs["url"] = undefined /*out*/;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ super(SvelteKitSite.__pulumiType, name, resourceInputs, opts, true /*remote*/);
49
+ }
50
+ }
51
+ exports.SvelteKitSite = SvelteKitSite;
52
+ /** @internal */
53
+ SvelteKitSite.__pulumiType = 'anvil:aws:SvelteKitSite';
54
+ //# sourceMappingURL=svelteKitSite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelteKitSite.js","sourceRoot":"","sources":["../../aws/svelteKitSite.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,aAAc,SAAQ,MAAM,CAAC,iBAAiB;IAIvD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAQD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAsC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAA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pulumi";
1
2
  export { ProviderArgs } from "./provider";
2
3
  export type Provider = import("./provider").Provider;
3
4
  export declare const Provider: typeof import("./provider").Provider;
@@ -7,3 +8,6 @@ import * as types from "./types";
7
8
  export { aws, gcp, types, };
8
9
  export { App, AppConfig, Context, AwsProviderConfig, GcpProviderConfig, DefaultsConfig } from "./app";
9
10
  export { Block, BlockArgs } from "./block";
11
+ export { ComponentResource, ComponentResourceOptions, CustomResource, ResourceOptions, ProviderResource, Config, output, all, secret, interpolate, concat, getProject, getStack, } from "@pulumi/pulumi";
12
+ export type { Output, Input, Inputs } from "@pulumi/pulumi";
13
+ export { pulumi };
package/bin/index.js CHANGED
@@ -2,8 +2,9 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Block = exports.App = exports.types = exports.gcp = exports.aws = exports.Provider = void 0;
5
+ exports.pulumi = exports.getStack = exports.getProject = exports.concat = exports.interpolate = exports.secret = exports.all = exports.output = exports.Config = exports.ProviderResource = exports.CustomResource = exports.ComponentResource = exports.Block = exports.App = exports.types = exports.gcp = exports.aws = exports.Provider = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
+ exports.pulumi = pulumi;
7
8
  const utilities = require("./utilities");
8
9
  exports.Provider = null;
9
10
  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
@@ -29,4 +30,18 @@ Object.defineProperty(exports, "App", { enumerable: true, get: function () { ret
29
30
  // Hand-written Block class
30
31
  var block_1 = require("./block");
31
32
  Object.defineProperty(exports, "Block", { enumerable: true, get: function () { return block_1.Block; } });
33
+ // Re-exported Pulumi primitives
34
+ // Users can import anvil.Output, anvil.ComponentResource, etc. without @pulumi/pulumi
35
+ var pulumi_1 = require("@pulumi/pulumi");
36
+ Object.defineProperty(exports, "ComponentResource", { enumerable: true, get: function () { return pulumi_1.ComponentResource; } });
37
+ Object.defineProperty(exports, "CustomResource", { enumerable: true, get: function () { return pulumi_1.CustomResource; } });
38
+ Object.defineProperty(exports, "ProviderResource", { enumerable: true, get: function () { return pulumi_1.ProviderResource; } });
39
+ Object.defineProperty(exports, "Config", { enumerable: true, get: function () { return pulumi_1.Config; } });
40
+ Object.defineProperty(exports, "output", { enumerable: true, get: function () { return pulumi_1.output; } });
41
+ Object.defineProperty(exports, "all", { enumerable: true, get: function () { return pulumi_1.all; } });
42
+ Object.defineProperty(exports, "secret", { enumerable: true, get: function () { return pulumi_1.secret; } });
43
+ Object.defineProperty(exports, "interpolate", { enumerable: true, get: function () { return pulumi_1.interpolate; } });
44
+ Object.defineProperty(exports, "concat", { enumerable: true, get: function () { return pulumi_1.concat; } });
45
+ Object.defineProperty(exports, "getProject", { enumerable: true, get: function () { return pulumi_1.getProject; } });
46
+ Object.defineProperty(exports, "getStack", { enumerable: true, get: function () { return pulumi_1.getStack; } });
32
47
  //# sourceMappingURL=index.js.map
package/bin/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,6BAA6B;AAKzB,kBAAG;AAJP,6BAA6B;AAKzB,kBAAG;AAJP,iCAAiC;AAK7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,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AcwB;AAbtB,2GAAA,iBAAiB,OAAA;AAEjB,wGAAA,cAAc,OAAA;AAEd,0GAAA,gBAAgB,OAAA;AAChB,gGAAA,MAAM,OAAA;AACN,gGAAA,MAAM,OAAA;AACN,6FAAA,GAAG,OAAA;AACH,gGAAA,MAAM,OAAA;AACN,qGAAA,WAAW,OAAA;AACX,gGAAA,MAAM,OAAA;AACN,oGAAA,UAAU,OAAA;AACV,kGAAA,QAAQ,OAAA"}
package/bin/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-cloud/sdk",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "scripts": {
5
5
  "build": "tsc && cp package.json bin/"
6
6
  },
package/index.ts CHANGED
@@ -36,3 +36,26 @@ export { App, AppConfig, Context, AwsProviderConfig, GcpProviderConfig, Defaults
36
36
 
37
37
  // Hand-written Block class
38
38
  export { Block, BlockArgs } from "./block";
39
+
40
+ // Re-exported Pulumi primitives
41
+ // Users can import anvil.Output, anvil.ComponentResource, etc. without @pulumi/pulumi
42
+ export {
43
+ ComponentResource,
44
+ ComponentResourceOptions,
45
+ CustomResource,
46
+ ResourceOptions,
47
+ ProviderResource,
48
+ Config,
49
+ output,
50
+ all,
51
+ secret,
52
+ interpolate,
53
+ concat,
54
+ getProject,
55
+ getStack,
56
+ } from "@pulumi/pulumi";
57
+ export type { Output, Input, Inputs } from "@pulumi/pulumi";
58
+
59
+
60
+ // Escape hatch — full Pulumi namespace for anything not re-exported
61
+ export { pulumi };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-cloud/sdk",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "scripts": {
5
5
  "build": "tsc && cp package.json bin/"
6
6
  },
package/tsconfig.json CHANGED
@@ -16,6 +16,7 @@
16
16
  "aws/bucket.ts",
17
17
  "aws/index.ts",
18
18
  "aws/lambda.ts",
19
+ "aws/svelteKitSite.ts",
19
20
  "gcp/function.ts",
20
21
  "gcp/index.ts",
21
22
  "gcp/storageBucket.ts",