@pulumi/pulumi 3.162.0-alpha.x56d4d7a → 3.163.0-alpha.x5bf1e8a
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/package.json +1 -1
- package/queryable/index.d.ts +26 -0
- package/queryable/index.js +16 -0
- package/queryable/index.js.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OutputInstance } from "../index";
|
|
2
|
+
import { Resource } from "../resource";
|
|
3
|
+
/**
|
|
4
|
+
* {@link ResolvedResource} is a {@link Resource} with all fields containing
|
|
5
|
+
* {@link Output} values fully resolved.
|
|
6
|
+
*/
|
|
7
|
+
export declare type ResolvedResource<T extends Resource> = Omit<Resolved<T>, "urn" | "getProvider">;
|
|
8
|
+
export declare type Resolved<T> = T extends Promise<infer U1> ? ResolvedSimple<U1> : T extends OutputInstance<infer U2> ? ResolvedSimple<U2> : ResolvedSimple<T>;
|
|
9
|
+
declare type primitive = string | number | boolean | undefined | null;
|
|
10
|
+
declare type ResolvedSimple<T> = T extends primitive ? T : T extends Array<infer U> ? ResolvedArray<U> : T extends Function ? never : T extends object ? ResolvedObject<T> : never;
|
|
11
|
+
declare type ResolvedArray<T> = Array<Resolved<T>>;
|
|
12
|
+
declare type ResolvedObject<T> = ModifyOptionalProperties<{
|
|
13
|
+
[P in keyof T]: Resolved<T[P]>;
|
|
14
|
+
}>;
|
|
15
|
+
declare type RequiredKeys<T> = {
|
|
16
|
+
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
17
|
+
}[keyof T];
|
|
18
|
+
declare type OptionalKeys<T> = {
|
|
19
|
+
[P in keyof T]: undefined extends T[P] ? P : never;
|
|
20
|
+
}[keyof T];
|
|
21
|
+
declare type ModifyOptionalProperties<T> = {
|
|
22
|
+
[P in RequiredKeys<T>]: T[P];
|
|
23
|
+
} & {
|
|
24
|
+
[P in OptionalKeys<T>]?: T[P];
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2016-2018, Pulumi Corporation.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../queryable/index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC"}
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.163.0";
|
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.
|
|
16
|
+
exports.version = "3.163.0-alpha.x5bf1e8a";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|