@awsless/awsless 0.0.33 → 0.0.34
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/dist/bin.cjs +3 -3
- package/dist/bin.js +3 -3
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -1186,14 +1186,14 @@ ${imports.join("\n")}
|
|
|
1186
1186
|
|
|
1187
1187
|
import { InvokeOptions } from '@awsless/lambda'
|
|
1188
1188
|
|
|
1189
|
-
type
|
|
1189
|
+
type Options = Omit<InvokeOptions, 'name' | 'payload'>
|
|
1190
1190
|
|
|
1191
1191
|
type Invoke<Func extends (...args: any[]) => any> = {
|
|
1192
|
-
(event: Parameters<Func>[0], options?:
|
|
1192
|
+
(event: Parameters<Func>[0], options?: Options): ReturnType<Func>
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
1195
|
declare module '@awsless/awsless' {
|
|
1196
|
-
interface
|
|
1196
|
+
interface FunctionResources {
|
|
1197
1197
|
${props.join("\n")}
|
|
1198
1198
|
}
|
|
1199
1199
|
}`
|
package/dist/bin.js
CHANGED
|
@@ -1163,14 +1163,14 @@ ${imports.join("\n")}
|
|
|
1163
1163
|
|
|
1164
1164
|
import { InvokeOptions } from '@awsless/lambda'
|
|
1165
1165
|
|
|
1166
|
-
type
|
|
1166
|
+
type Options = Omit<InvokeOptions, 'name' | 'payload'>
|
|
1167
1167
|
|
|
1168
1168
|
type Invoke<Func extends (...args: any[]) => any> = {
|
|
1169
|
-
(event: Parameters<Func>[0], options?:
|
|
1169
|
+
(event: Parameters<Func>[0], options?: Options): ReturnType<Func>
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
1172
|
declare module '@awsless/awsless' {
|
|
1173
|
-
interface
|
|
1173
|
+
interface FunctionResources {
|
|
1174
1174
|
${props.join("\n")}
|
|
1175
1175
|
}
|
|
1176
1176
|
}`
|