github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/regress-node-8110/nodejs/index.ts (about)

     1  // *** WARNING: this file was generated by test. ***
     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 members:
     8  export { ExampleFuncArgs } from "./exampleFunc";
     9  export const exampleFunc: typeof import("./exampleFunc").exampleFunc = null as any;
    10  utilities.lazyLoad(exports, ["exampleFunc"], () => require("./exampleFunc"));
    11  
    12  export { ProviderArgs } from "./provider";
    13  export type Provider = import("./provider").Provider;
    14  export const Provider: typeof import("./provider").Provider = null as any;
    15  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
    16  
    17  
    18  // Export enums:
    19  export * from "./types/enums";
    20  
    21  // Export sub-modules:
    22  import * as types from "./types";
    23  
    24  export {
    25      types,
    26  };
    27  pulumi.runtime.registerResourcePackage("my8110", {
    28      version: utilities.getVersion(),
    29      constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
    30          if (type !== "pulumi:providers:my8110") {
    31              throw new Error(`unknown provider type ${type}`);
    32          }
    33          return new Provider(name, <any>undefined, { urn });
    34      },
    35  });