generated from senecajs/SenecaConfig
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
162 additions
and
845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
type BatchProcessorOptionsFull = { | ||
debug: boolean; | ||
}; | ||
export type BatchProcessorOptions = Partial<BatchProcessorOptionsFull>; | ||
declare function BatchProcessor(this: any, options: BatchProcessorOptionsFull): { | ||
exports: { | ||
process: (seneca: any, ctx: any, out: any) => any; | ||
}; | ||
}; | ||
export default BatchProcessor; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare const docs: { | ||
messages: {}; | ||
}; | ||
export default docs; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* Copyright © 2024 Seneca Project Contributors, MIT License. */ | ||
|
||
|
||
type BatchProcessorOptionsFull = { | ||
debug: boolean | ||
} | ||
|
||
export type BatchProcessorOptions = Partial<BatchProcessorOptionsFull> | ||
|
||
|
||
// FEATURE: subsets of keys by dot separators. | ||
|
||
function BatchProcessor(this: any, options: BatchProcessorOptionsFull) { | ||
const seneca: any = this | ||
|
||
function process(seneca: any, ctx: any, out: any) { | ||
return out | ||
} | ||
|
||
return { | ||
exports: { | ||
process | ||
} | ||
} | ||
} | ||
|
||
|
||
// Default options. | ||
const defaults: BatchProcessorOptionsFull = { | ||
debug: false, | ||
} | ||
|
||
|
||
Object.assign(BatchProcessor, { defaults }) | ||
|
||
export default BatchProcessor | ||
|
||
if ('undefined' !== typeof module) { | ||
module.exports = BatchProcessor | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* Copyright © 2024 Seneca Project Contributors, MIT License. */ | ||
|
||
const docs = { | ||
messages: { | ||
} | ||
} | ||
|
||
export default docs | ||
|
||
if ('undefined' !== typeof module) { | ||
module.exports = docs | ||
} |
Oops, something went wrong.