flecks/packages/server/build/flecks.hooks.js

18 lines
305 B
JavaScript
Raw Normal View History

export const hooks = {
2024-01-23 09:06:00 -06:00
/**
* Pass information to the runtime.
*/
'@flecks/server.runtime': async () => ({
something: '...',
}),
/**
* Define sequential actions to run when the server comes up.
*/
'@flecks/server.up': async () => {
await youCanDoAsyncThingsHere();
2022-03-07 00:21:16 -06:00
},
2024-01-23 09:06:00 -06:00
2022-03-07 00:21:16 -06:00
};