@pulumi/dbtcloud 0.2.0-alpha.1745300272 → 0.2.0-alpha.1745951754

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/getUsers.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  * // return all users in the dbt Cloud account
13
13
  * const all = dbtcloud.getUsers({});
14
14
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
15
- * const userExist = userDetails.length.then(length => length == 1);
15
+ * const userExist = userDetails.length.apply(length => length == 1);
16
16
  * ```
17
17
  */
18
18
  export declare function getUsers(opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
@@ -41,7 +41,7 @@ export interface GetUsersResult {
41
41
  * // return all users in the dbt Cloud account
42
42
  * const all = dbtcloud.getUsers({});
43
43
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
44
- * const userExist = userDetails.length.then(length => length == 1);
44
+ * const userExist = userDetails.length.apply(length => length == 1);
45
45
  * ```
46
46
  */
47
47
  export declare function getUsersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
package/getUsers.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * // return all users in the dbt Cloud account
18
18
  * const all = dbtcloud.getUsers({});
19
19
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
20
- * const userExist = userDetails.length.then(length => length == 1);
20
+ * const userExist = userDetails.length.apply(length => length == 1);
21
21
  * ```
22
22
  */
23
23
  function getUsers(opts) {
@@ -37,7 +37,7 @@ exports.getUsers = getUsers;
37
37
  * // return all users in the dbt Cloud account
38
38
  * const all = dbtcloud.getUsers({});
39
39
  * const userDetails = all.then(all => .filter(user => user.email == "example@amail.com").map(user => (user)));
40
- * const userExist = userDetails.length.then(length => length == 1);
40
+ * const userExist = userDetails.length.apply(length => length == 1);
41
41
  * ```
42
42
  */
43
43
  function getUsersOutput(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/dbtcloud",
3
- "version": "0.2.0-alpha.1745300272",
3
+ "version": "0.2.0-alpha.1745951754",
4
4
  "description": "A Pulumi package for creating and managing dbt Cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -26,7 +26,7 @@
26
26
  "pulumi": {
27
27
  "resource": true,
28
28
  "name": "dbtcloud",
29
- "version": "0.2.0-alpha.1745300272",
29
+ "version": "0.2.0-alpha.1745951754",
30
30
  "server": "github://api.github.com/pulumi/pulumi-dbtcloud"
31
31
  }
32
32
  }