@pulumi/pulumi 3.262.0-alpha.xf4055a9 → 3.262.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.
@@ -26,7 +26,7 @@ export interface ProjectRuntimeInfo {
26
26
  /**
27
27
  * Supported Pulumi program language runtimes.
28
28
  */
29
- export declare type ProjectRuntime = "nodejs" | "go" | "python" | "dotnet";
29
+ export declare type ProjectRuntime = "nodejs" | "go" | "python" | "dotnet" | "yaml" | "java" | "hcl" | (string & Record<never, never>);
30
30
  /**
31
31
  * A template used to seed new stacks created from this project.
32
32
  */
package/index.js CHANGED
@@ -26,6 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  // Export top-level elements.
27
27
  __export(require("./config"));
28
28
  __export(require("./errors"));
29
+ __export(require("./invoke"));
29
30
  __export(require("./metadata"));
30
31
  __export(require("./output"));
31
32
  __export(require("./resource"));
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,6BAA6B;AAC7B,8BAAyB;AACzB,8BAAyB;AAEzB,gCAA2B;AAC3B,8BAAyB;AACzB,gCAA2B;AAC3B,sCAAiC;AACjC,6BAAwB;AAExB,kCAAkC;AAClC,+CAAiC;AAQxB,sBAAK;AAPd,yDAA2C;AAO3B,gCAAU;AAN1B,mDAAqC;AAMT,0BAAO;AALnC,qDAAuC;AAKF,4BAAQ;AAJ7C,2CAA6B;AAIkB,kBAAG;AAHlD,qDAAuC;AAGa,4BAAQ;AAF5D,mDAAqC;AAEyB,0BAAO;AADrE,+CAAiC;AACsC,sBAAK;AAE5E,oGAAoG;AACpG,0FAA0F;AAC1F,mGAAmG;AACnG,gGAAgG;AAChG,gBAAgB;AACH,QAAA,oBAAoB,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,6BAA6B;AAC7B,8BAAyB;AACzB,8BAAyB;AACzB,8BAAyB;AACzB,gCAA2B;AAC3B,8BAAyB;AACzB,gCAA2B;AAC3B,sCAAiC;AACjC,6BAAwB;AAExB,kCAAkC;AAClC,+CAAiC;AAQxB,sBAAK;AAPd,yDAA2C;AAO3B,gCAAU;AAN1B,mDAAqC;AAMT,0BAAO;AALnC,qDAAuC;AAKF,4BAAQ;AAJ7C,2CAA6B;AAIkB,kBAAG;AAHlD,qDAAuC;AAGa,4BAAQ;AAF5D,mDAAqC;AAEyB,0BAAO;AADrE,+CAAiC;AACsC,sBAAK;AAE5E,oGAAoG;AACpG,0FAA0F;AAC1F,mGAAmG;AACnG,gGAAgG;AAChG,gBAAgB;AACH,QAAA,oBAAoB,GAAG,IAAI,CAAC"}
package/invoke.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Inputs, Input } from "./output";
2
- import { ProviderResource, Resource } from "./resource";
2
+ import { ProviderResource, Resource, ResourceOptions } from "./resource";
3
3
  /**
4
4
  * {@link InvokeOptions} is a bag of options that control the behavior of a call
5
5
  * to `runtime.invoke`.
@@ -45,6 +45,21 @@ export interface InvokeOutputOptions extends InvokeOptions {
45
45
  */
46
46
  dependsOn?: Input<Input<Resource>[]> | Input<Resource>;
47
47
  }
48
+ /**
49
+ * Creates an {@link InvokeOptions} from the given {@link ResourceOptions},
50
+ * copying the `parent`, `provider`, `version` and `pluginDownloadURL` options.
51
+ * All other resource options, including `dependsOn`, have no equivalent for
52
+ * plain invokes and are dropped; use
53
+ * {@link invokeOutputOptionsFromResourceOptions} to preserve `dependsOn`.
54
+ */
55
+ export declare function invokeOptionsFromResourceOptions(opts: ResourceOptions): InvokeOptions;
56
+ /**
57
+ * Creates an {@link InvokeOutputOptions} from the given {@link ResourceOptions},
58
+ * copying the `parent`, `provider`, `version`, `pluginDownloadURL` and
59
+ * `dependsOn` options. All other resource options have no invoke equivalent and
60
+ * are dropped.
61
+ */
62
+ export declare function invokeOutputOptionsFromResourceOptions(opts: ResourceOptions): InvokeOutputOptions;
48
63
  /**
49
64
  * {@link InvokeTransform} is the callback signature for the `transforms`
50
65
  * resource option for invokes. A transform is passed the same set of inputs
package/invoke.js CHANGED
@@ -13,4 +13,33 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ /**
17
+ * Creates an {@link InvokeOptions} from the given {@link ResourceOptions},
18
+ * copying the `parent`, `provider`, `version` and `pluginDownloadURL` options.
19
+ * All other resource options, including `dependsOn`, have no equivalent for
20
+ * plain invokes and are dropped; use
21
+ * {@link invokeOutputOptionsFromResourceOptions} to preserve `dependsOn`.
22
+ */
23
+ function invokeOptionsFromResourceOptions(opts) {
24
+ return {
25
+ parent: opts.parent,
26
+ provider: opts.provider,
27
+ version: opts.version,
28
+ pluginDownloadURL: opts.pluginDownloadURL,
29
+ };
30
+ }
31
+ exports.invokeOptionsFromResourceOptions = invokeOptionsFromResourceOptions;
32
+ /**
33
+ * Creates an {@link InvokeOutputOptions} from the given {@link ResourceOptions},
34
+ * copying the `parent`, `provider`, `version`, `pluginDownloadURL` and
35
+ * `dependsOn` options. All other resource options have no invoke equivalent and
36
+ * are dropped.
37
+ */
38
+ function invokeOutputOptionsFromResourceOptions(opts) {
39
+ return {
40
+ ...invokeOptionsFromResourceOptions(opts),
41
+ dependsOn: opts.dependsOn,
42
+ };
43
+ }
44
+ exports.invokeOutputOptionsFromResourceOptions = invokeOutputOptionsFromResourceOptions;
16
45
  //# sourceMappingURL=invoke.js.map
package/invoke.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"invoke.js","sourceRoot":"","sources":["../invoke.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC"}
1
+ {"version":3,"file":"invoke.js","sourceRoot":"","sources":["../invoke.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAwDjC;;;;;;GAMG;AACH,SAAgB,gCAAgC,CAAC,IAAqB;IAClE,OAAO;QACH,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;KAC5C,CAAC;AACN,CAAC;AAPD,4EAOC;AAED;;;;;GAKG;AACH,SAAgB,sCAAsC,CAAC,IAAqB;IACxE,OAAO;QACH,GAAG,gCAAgC,CAAC,IAAI,CAAC;QACzC,SAAS,EAAE,IAAI,CAAC,SAAS;KAC5B,CAAC;AACN,CAAC;AALD,wFAKC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.262.0-alpha.xf4055a9",
3
+ "version": "3.262.0",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.262.0-alpha.xf4055a9";
16
+ exports.version = "3.262.0";
17
17
  //# sourceMappingURL=version.js.map