@open-workspace/email 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/alchemy.ts +3 -0
  2. package/package.json +3 -3
package/alchemy.ts CHANGED
@@ -28,6 +28,8 @@ export type EmailInfraProps = {
28
28
  bucketName?: string;
29
29
  /** Queue names default to `<name>-<role>`; set to keep existing queues. */
30
30
  queuePrefix?: string;
31
+ /** Name of an existing Office preview container application to adopt. */
32
+ containerName?: string;
31
33
  };
32
34
 
33
35
  /**
@@ -63,6 +65,7 @@ export function Email(props: EmailInfraProps = {}): (name: string) => WorkspaceM
63
65
  MAILBOX: Cloudflare.DurableObject("MAILBOX", { className: "MailboxDO" }),
64
66
  OFFICE_PREVIEW_CONTAINER: Cloudflare.Container("OfficePreview", {
65
67
  className: "OfficePreviewContainer",
68
+ ...(props.containerName ? { name: props.containerName } : {}),
66
69
  context: join(packageDir, "containers", "office-preview"),
67
70
  maxInstances: 2,
68
71
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-workspace/email",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Team mail for OpenWorkspace: personal and shared inboxes, mailing lists, previews, safety, and AI.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "db:generate": "drizzle-kit generate && drizzle-kit generate --config=drizzle.mailbox.config.ts && bun scripts/embed-mailbox-migrations.ts"
21
21
  },
22
22
  "peerDependencies": {
23
- "@open-workspace/core": "0.1.0",
23
+ "@open-workspace/core": "0.1.1",
24
24
  "alchemy": "2.0.0-beta.84",
25
25
  "@alchemy.run/cloudflare": "2.0.0-beta.84",
26
26
  "effect": "4.0.7"
@@ -42,7 +42,7 @@
42
42
  "@base-ui/react": "1.7.0",
43
43
  "@effect/platform-bun": "4.0.7",
44
44
  "@effect/platform-node": "4.0.7",
45
- "@open-workspace/core": "0.1.0",
45
+ "@open-workspace/core": "0.1.1",
46
46
  "@simplewebauthn/browser": "13.3.0",
47
47
  "@tanstack/react-query": "5.102.8",
48
48
  "@tiptap/extension-image": "3.30.5",