History

Merge pull request #96 from RhysSullivan/worktree-agent-a4c0999c

move cloud-specific identity schema out of storage-postgres

Rhys Sullivan committed 7 months ago

Commit 8416a512 parents 3a91338 62aadba3 files · +3 −3Browse files

Unified · Split

3 files
  1. apps/cloud/src/services/db.ts +1 −1
  2. packages/core/storage-postgres/package.json +2 −1
  3. packages/core/storage-postgres/src/index.ts +0 −1
apps/cloud/src/services/db.ts+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 4
5import { Context, Effect, Layer } from "effect";5import { Context, Effect, Layer } from "effect";
6import { resolve } from "node:path";6import { resolve } from "node:path";
7import * as sharedSchema from "@executor/storage-postgres";7import * as sharedSchema from "@executor/storage-postgres/schema";
8import * as cloudSchema from "./schema";8import * as cloudSchema from "./schema";
9import type { DrizzleDb } from "@executor/storage-postgres";9import type { DrizzleDb } from "@executor/storage-postgres";
10 10
packages/core/storage-postgres/package.json+2−1
@@ -4,7 +4,8 @@ · 3 unmodified lines
4 "private": true,4 "private": true,
5 "type": "module",5 "type": "module",
6 "exports": {6 "exports": {
7 ".": "./src/index.ts"7 ".": "./src/index.ts",
8 "./schema": "./src/schema.ts"
8 },9 },
9 "dependencies": {10 "dependencies": {
10 "@effect/sql": "catalog:",11 "@effect/sql": "catalog:",
packages/core/storage-postgres/src/index.ts+0−1
@@ -31,7 +31,6 @@ export { makePgSecretStore } from "./secret-store"; · 30 unmodified lines
31export { makePgPolicyEngine } from "./policy-engine";31export { makePgPolicyEngine } from "./policy-engine";
32export { encrypt, decrypt } from "./crypto";32export { encrypt, decrypt } from "./crypto";
33export type { DrizzleDb } from "./types";33export type { DrizzleDb } from "./types";
34export * from "./schema";
35 34
36// ---------------------------------------------------------------------------35// ---------------------------------------------------------------------------
37// Convenience: build a full ExecutorConfig from a Drizzle DB instance36// Convenience: build a full ExecutorConfig from a Drizzle DB instance

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t