@webiny/pulumi 5.40.6 → 5.41.0-beta.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.
- package/PulumiAppModule.d.ts +1 -1
- package/PulumiAppResource.d.ts +3 -3
- package/package.json +6 -6
- package/types.d.ts +5 -5
package/PulumiAppModule.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface PulumiAppModuleParams<TModule, TConfig> {
|
|
|
6
6
|
name: string;
|
|
7
7
|
config: PulumiAppModuleCallback<TModule, TConfig>;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type PulumiAppModule<T extends PulumiAppModuleDefinition<any, any>> = T extends PulumiAppModuleDefinition<infer V, any> ? V : never;
|
|
10
10
|
export declare class PulumiAppModuleDefinition<TModule, TConfig> {
|
|
11
11
|
readonly symbol: symbol;
|
|
12
12
|
readonly name: string;
|
package/PulumiAppResource.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
export interface PulumiAppResourceConstructor<T = any, TArgs = any> {
|
|
3
3
|
new (name: string, args: TArgs, opts?: pulumi.CustomResourceOptions): T;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type PulumiAppResourceType<T extends PulumiAppResourceConstructor> = T extends PulumiAppResourceConstructor<infer TType> ? TType : never;
|
|
6
|
+
export type PulumiAppResourceArgs<T extends PulumiAppResourceConstructor> = T extends PulumiAppResourceConstructor<any, infer TArgs> ? Exclude<TArgs, undefined> : never;
|
|
7
7
|
export interface CreatePulumiAppResourceParams<TConstructor extends PulumiAppResourceConstructor> {
|
|
8
8
|
name: string;
|
|
9
9
|
config: PulumiAppResourceArgs<TConstructor>;
|
|
@@ -17,7 +17,7 @@ export interface PulumiAppResourceConfigSetter<T> {
|
|
|
17
17
|
(value: T): void;
|
|
18
18
|
(fcn: PulumiAppResourceConfigModifier<T>): void;
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type PulumiAppResourceConfigProxy<T extends object> = {
|
|
21
21
|
readonly [K in keyof T]-?: PulumiAppResourceConfigSetter<T[K]>;
|
|
22
22
|
} & {
|
|
23
23
|
clone(): T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/pulumi",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.41.0-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "dist"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@pulumi/pulumi": "^3.
|
|
17
|
+
"@pulumi/pulumi": "^3.136.1",
|
|
18
18
|
"find-up": "5.0.0",
|
|
19
19
|
"lodash": "4.17.21"
|
|
20
20
|
},
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"@babel/cli": "7.24.1",
|
|
23
23
|
"@babel/core": "7.24.3",
|
|
24
24
|
"@types/lodash": "4.14.191",
|
|
25
|
-
"@webiny/cli": "5.
|
|
26
|
-
"@webiny/project-utils": "5.
|
|
25
|
+
"@webiny/cli": "5.41.0-beta.0",
|
|
26
|
+
"@webiny/project-utils": "5.41.0-beta.0",
|
|
27
27
|
"rimraf": "5.0.5",
|
|
28
|
-
"typescript": "4.
|
|
28
|
+
"typescript": "4.9.5"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "yarn webiny run build",
|
|
32
32
|
"watch": "yarn webiny run watch"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "9ce5e75fc577aa4de2cf08d5ca734b3c98fe65b6"
|
|
35
35
|
}
|
package/types.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { PulumiAppRemoteResource } from "./PulumiAppRemoteResource";
|
|
|
5
5
|
export interface ResourceHandler {
|
|
6
6
|
(resource: PulumiAppResource<PulumiAppResourceConstructor>): void;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
8
|
+
export type PulumiAppParamCallback<T> = (app: PulumiApp) => T | undefined;
|
|
9
|
+
export type PulumiAppParam<T> = T | PulumiAppParamCallback<T>;
|
|
10
|
+
export type PulumiProgram<TApp = PulumiApp, TResources = Record<string, any>> = (app: TApp) => TResources | Promise<TResources>;
|
|
11
|
+
export type CreateConfig = Record<string, any>;
|
|
12
|
+
export type RunConfig = Record<string, any>;
|
|
13
13
|
export interface CreatePulumiAppParams<TResources extends Record<string, unknown>> {
|
|
14
14
|
name: string;
|
|
15
15
|
path: string;
|