Skip to content

Commit 4866964

Browse files
authored
fix(types): add missing schedule to functions config type (#6151)
* refactor: remove duplicated type * fix(types): add missing `schedule` type to function config
1 parent 8dc142a commit 4866964

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/build-info/src/settings/netlify-toml.ts

+1
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ export type Functions = {
341341
included_files?: IncludedFiles
342342
node_bundler?: NodeBundler
343343
directory?: Directory
344+
schedule?: string
344345
/**
345346
* Options that only apply for this filter by name, including using glob patterns. If a function matches several configuration blocks containing one of these properties, the values are concatenated.
346347
*/

packages/zip-it-and-ship-it/src/main.ts

-8
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ type ListedFunctionFile = ListedFunction & {
3939
srcFile: string
4040
}
4141

42-
interface ListFunctionsOptions {
43-
basePath?: string
44-
config?: Config
45-
configFileDirectories?: string[]
46-
featureFlags?: FeatureFlags
47-
parseISC?: boolean
48-
}
49-
5042
interface AugmentedFunctionSource extends FunctionSource {
5143
staticAnalysisResult?: StaticAnalysisResult
5244
}

0 commit comments

Comments
 (0)