@void/platform 0.20.0 → 0.20.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.
@@ -0,0 +1,32 @@
1
+ CREATE TABLE "email_domains" (
2
+ "id" text PRIMARY KEY NOT NULL,
3
+ "project_id" text NOT NULL,
4
+ "domain" text NOT NULL,
5
+ "zone_id" text,
6
+ "account_id" text,
7
+ "mode" text,
8
+ "status" text DEFAULT 'pending' NOT NULL,
9
+ "credential_kind" text NOT NULL,
10
+ "token_ciphertext" text NOT NULL,
11
+ "token_iv" text NOT NULL,
12
+ "token_key_version" text NOT NULL,
13
+ "relay_ciphertext" text NOT NULL,
14
+ "relay_iv" text NOT NULL,
15
+ "relay_key_version" text NOT NULL,
16
+ "relay_worker_name" text,
17
+ "relay_version" integer,
18
+ "token_id" text,
19
+ "token_expires_on" timestamp,
20
+ "setup_state" jsonb,
21
+ "created_at" timestamp DEFAULT now() NOT NULL,
22
+ "updated_at" timestamp DEFAULT now() NOT NULL,
23
+ CONSTRAINT "email_domains_domain_uq" UNIQUE("domain"),
24
+ CONSTRAINT "email_domains_mode_check" CHECK ("email_domains"."mode" IN ('apex', 'subdomain')),
25
+ CONSTRAINT "email_domains_status_check" CHECK ("email_domains"."status" IN ('pending', 'active', 'token_revoked', 'token_expired', 'failed')),
26
+ CONSTRAINT "email_domains_credential_kind_check" CHECK ("email_domains"."credential_kind" IN ('oauth_grant', 'api_token'))
27
+ );
28
+ --> statement-breakpoint
29
+ ALTER TABLE "email_domains" ADD CONSTRAINT "email_domains_project_id_projects_id_fk" FOREIGN KEY ("project_id") REFERENCES "public"."projects"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
30
+ CREATE INDEX "idx_email_domains_project_id" ON "email_domains" USING btree ("project_id");--> statement-breakpoint
31
+ CREATE UNIQUE INDEX "email_domains_zone_uq" ON "email_domains" USING btree ("zone_id") WHERE "email_domains"."zone_id" IS NOT NULL AND "email_domains"."status" IN ('active', 'pending');--> statement-breakpoint
32
+ CREATE UNIQUE INDEX "email_domains_relay_uq" ON "email_domains" USING btree ("account_id","relay_worker_name") WHERE "email_domains"."relay_worker_name" IS NOT NULL;
@@ -0,0 +1 @@
1
+ ALTER TABLE "email_domains" ADD COLUMN "attempt_id" text;
@@ -225,6 +225,20 @@
225
225
  "when": 1789524839834,
226
226
  "tag": "0038_deployment_admission_protocol",
227
227
  "breakpoints": true
228
+ },
229
+ {
230
+ "idx": 39,
231
+ "version": "7",
232
+ "when": 1789625466263,
233
+ "tag": "0039_email_domains",
234
+ "breakpoints": true
235
+ },
236
+ {
237
+ "idx": 40,
238
+ "version": "7",
239
+ "when": 1789678291923,
240
+ "tag": "0040_productive_vector",
241
+ "breakpoints": true
228
242
  }
229
243
  ]
230
244
  }
@@ -2,28 +2,28 @@
2
2
  "artifacts": {
3
3
  "api": {
4
4
  "path": "api/index.js",
5
- "sha256": "32fc8c89298b837a21a828f0bc7f77191354dbe4c5899f6a824fb63f64edf5f4",
6
- "size": 2750569
5
+ "sha256": "a85252a62021cf7a53fd48d18dddb0a99e4fb6b7886473ce5f3273782c9cc408",
6
+ "size": 2837775
7
7
  },
8
8
  "dispatch": {
9
9
  "path": "dispatch/index.js",
10
- "sha256": "9094477fee70487034047f48d21f5803238a64fc71ef1b2f02113fb7d631a646",
11
- "size": 118352
10
+ "sha256": "2043f434f68dc2f3956240ad82c1a357b70a2928b39aaa85a474bfe4100efa75",
11
+ "size": 118028
12
12
  },
13
13
  "proxy": {
14
14
  "path": "proxy/index.js",
15
- "sha256": "9d6cc46942e35dece6cf5547f1bee092a8dd07a373847d0eb3e1d17b5fa162e5",
16
- "size": 172029
15
+ "sha256": "0c366e787c8f2319bdade3d1bff3c6f5ef8fd40299f069b504aea5aed203b323",
16
+ "size": 198429
17
17
  },
18
18
  "tail": {
19
19
  "path": "tail/index.js",
20
- "sha256": "2b5e1a6f75a2a010ac4732e5874d3c2e271ed4dadb4f1a6381d599570d2f8e28",
21
- "size": 2045
20
+ "sha256": "c85515c47f3c9d9addfb24ed315874873adacd5f9e6ab2e1d0cd769092988169",
21
+ "size": 2027
22
22
  }
23
23
  },
24
24
  "applicationRoutingVersion": 1,
25
25
  "database": {
26
- "journalSha256": "2e4edc09686246e6559969d15de32f1b4ebda056abfd5644e8e57129ea08e97e",
26
+ "journalSha256": "9a4e37a33ad41b98a488dd47f3501a698f5b0c43d215f3d849c00e65ad924f95",
27
27
  "lineage": "void-platform-postgresql-v1",
28
28
  "migrations": [
29
29
  {
@@ -217,6 +217,18 @@
217
217
  "sha256": "69454bc21fd7fbe6a2c7741ca7fe1c2e848e323e75932822489624deca0f2eda",
218
218
  "tag": "0038_deployment_admission_protocol",
219
219
  "timestampMillis": 1789524839834
220
+ },
221
+ {
222
+ "index": 39,
223
+ "sha256": "ddde34426633aa7ad42019d72dd2bfb0fb4646af3105914ad0bed3c8d45cf787",
224
+ "tag": "0039_email_domains",
225
+ "timestampMillis": 1789625466263
226
+ },
227
+ {
228
+ "index": 40,
229
+ "sha256": "be8bae7ba1141c80a2453ee51c456811cdaaa4f3416b4df2be8f42a11865549a",
230
+ "tag": "0040_productive_vector",
231
+ "timestampMillis": 1789678291923
220
232
  }
221
233
  ],
222
234
  "protocolVersion": 1,
@@ -242,13 +254,13 @@
242
254
  "schemaDigest": "3dbf4c31d4bc97a11edca35c59b34ffad1f072df0ad7174d69e2de1057e2610b"
243
255
  }
244
256
  ],
245
- "schemaDigest": "680a0af38a079d371ee8caa019a2cb6351855361b28d1041017c12fdf2abac46"
257
+ "schemaDigest": "b6d78ef547071ef700e159b9ff516b3dff259594c739828143c93240c9b0fbfb"
246
258
  },
247
- "platformVersion": "0.20.0",
259
+ "platformVersion": "0.20.1",
248
260
  "safetyProtocols": {
249
261
  "sandboxDrain": 2
250
262
  },
251
263
  "schemaVersion": 2,
252
- "sourceRevision": "3d66ab3de9f8eb73895892d3be1f1dd831386a6b",
264
+ "sourceRevision": "e9f0bc5e3c3886c3c251810da14bf16d330497c0",
253
265
  "usageProtocolVersion": 1
254
266
  }
@@ -1 +1 @@
1
- This folder contains the built output assets for the worker "void-runtime-build-proxy" generated at 2026-09-17T22:53:25.135Z.
1
+ This folder contains the built output assets for the worker "void-runtime-build-proxy" generated at 2026-09-18T06:30:36.840Z.