Skip to content

Commit b2ee894

Browse files
committed
Interaction worker
1 parent f6f6ddf commit b2ee894

35 files changed

+43
-23
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- "apps/orchestrator-worker/**"
7+
- "apps/interaction-worker/**"
88
- "packages/**"
99
- ".github/workflows/deploy.yml"
1010

@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 15
2020
environment:
2121
name: production
22-
url: https://poppy-orchestrator-production.caelinsutch.workers.dev
22+
url: https://poppy-interaction-production.caelinsutch.workers.dev
2323

2424
steps:
2525
- name: Checkout code
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/interaction-worker/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Interaction Worker
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
type LocalEnv = import("./src/context").Env;
33

44
// Add Env to Cloudflare namespace so that we can access it via
5-
// import { env } from 'cloudflare:workers'
65
declare namespace Cloudflare {
76
interface Env extends LocalEnv {}
87
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@poppy/orchestrator-worker",
2+
"name": "@poppy/interaction-worker",
33
"private": true,
44
"version": "0.0.0",
55
"sideEffects": false,
File renamed without changes.

apps/orchestrator-worker/src/clients/loop-message.ts renamed to apps/interaction-worker/src/clients/loop-message.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { createLoopMessageClient } from "@poppy/clients/loop-message";
2+
import type { WorkerEnv } from "../context";
23

3-
export function createLoopClient(env: Env) {
4+
export function createLoopClient(env: WorkerEnv) {
45
return createLoopMessageClient({
56
authorizationKey: env.LOOP_AUTHORIZATION_KEY,
67
secretKey: env.LOOP_SECRET_KEY,

0 commit comments

Comments
 (0)