MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / validateOrder

Function validateOrder

test/README.example.proof.ts:1058–1058  ·  view source on GitHub ↗
(_order: Order, _user: User)

Source from the content-addressed store, hash-verified

1056 const askConfig = dependency("config")<{ apiUrl: string }>;
1057 const askCurrentUser = dependency("currentUser")<User>;
1058 const validateOrder = (_order: Order, _user: User) => Effected.of(true);
1059 const saveOrder = (_order: Order, _apiUrl: string) => Effected.of<Order>({ id: 1, items: [] });
1060 const sendNotification = (_email: string, _message: string) => Effected.of(true);
1061

Callers 4

submitOrderGenFunction · 0.85
submitOrderPipeFunction · 0.85
submitOrder1Function · 0.85
submitOrder2Function · 0.85

Calls 1

ofMethod · 0.80

Tested by 2

submitOrderGenFunction · 0.68
submitOrderPipeFunction · 0.68