sst 2.32.1 → 2.32.2
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/cli/ui/deploy.d.ts +0 -1
- package/cli/ui/functions.d.ts +0 -1
- package/node/job/index.d.ts +4 -6
- package/package.json +4 -4
package/cli/ui/deploy.d.ts
CHANGED
package/cli/ui/functions.d.ts
CHANGED
package/node/job/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export interface JobResources {
|
|
2
|
-
}
|
|
3
1
|
export interface JobTypes {
|
|
4
2
|
}
|
|
5
|
-
export type JobRunProps<T extends keyof
|
|
3
|
+
export type JobRunProps<T extends keyof JobTypes> = {
|
|
6
4
|
payload?: JobTypes[T];
|
|
7
5
|
};
|
|
8
6
|
export type JobType = {
|
|
9
|
-
[T in keyof
|
|
7
|
+
[T in keyof JobTypes]: ReturnType<typeof JobControl<T>>;
|
|
10
8
|
};
|
|
11
9
|
export declare const Job: JobType;
|
|
12
|
-
declare function JobControl<Name extends keyof
|
|
10
|
+
declare function JobControl<Name extends keyof JobTypes>(name: Name, vars: Record<string, string>): {
|
|
13
11
|
run(props: JobRunProps<Name>): Promise<{
|
|
14
12
|
jobId: string;
|
|
15
13
|
}>;
|
|
@@ -33,5 +31,5 @@ declare function JobControl<Name extends keyof JobResources>(name: Name, vars: R
|
|
|
33
31
|
* })
|
|
34
32
|
* ```
|
|
35
33
|
*/
|
|
36
|
-
export declare function JobHandler<C extends keyof
|
|
34
|
+
export declare function JobHandler<C extends keyof JobTypes>(name: C, cb: (payload: JobTypes[C]) => void): (event: any) => void;
|
|
37
35
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sideEffects": false,
|
|
3
3
|
"name": "sst",
|
|
4
|
-
"version": "2.32.
|
|
4
|
+
"version": "2.32.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sst": "cli/sst.js"
|
|
7
7
|
},
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"minimatch": "^6.1.6",
|
|
86
86
|
"openid-client": "^5.1.8",
|
|
87
87
|
"ora": "^6.1.2",
|
|
88
|
-
"react": "18.
|
|
88
|
+
"react": "^18.0.0",
|
|
89
89
|
"remeda": "^1.3.0",
|
|
90
90
|
"sst-aws-cdk": "2.101.1",
|
|
91
91
|
"tree-kill": "^1.2.2",
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"@types/cross-spawn": "^6.0.2",
|
|
116
116
|
"@types/express": "^4.17.14",
|
|
117
117
|
"@types/node": "^18.11.9",
|
|
118
|
-
"@types/react": "^
|
|
118
|
+
"@types/react": "^18.0.28",
|
|
119
119
|
"@types/uuid": "^8.3.4",
|
|
120
120
|
"@types/ws": "^8.5.3",
|
|
121
121
|
"@types/yargs": "^17.0.13",
|
|
122
122
|
"archiver": "^5.3.1",
|
|
123
|
-
"astro-sst": "2.32.
|
|
123
|
+
"astro-sst": "2.32.2",
|
|
124
124
|
"async": "^3.2.4",
|
|
125
125
|
"tsx": "^3.12.1",
|
|
126
126
|
"typescript": "^5.2.2",
|