mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
fix: Move more directories
This commit is contained in:
12
cloud/packages/core/src/event.ts
Normal file
12
cloud/packages/core/src/event.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Actor } from "./actor";
|
||||
import { event } from "sst/event";
|
||||
import { ZodValidator } from "sst/event/validator";
|
||||
|
||||
export const createEvent = event.builder({
|
||||
validator: ZodValidator,
|
||||
metadata() {
|
||||
return {
|
||||
actor: Actor.use(),
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user