@foundrynorth/compass-schema 1.0.17 → 1.0.18
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.
- package/dist/schema.d.ts +0 -144
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -14
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
- package/src/schema.ts +2 -19
package/package.json
CHANGED
package/src/schema.ts
CHANGED
|
@@ -7307,25 +7307,8 @@ export const signerRoleEnum = pgEnum("signer_role", [
|
|
|
7307
7307
|
"counter_signer",
|
|
7308
7308
|
]);
|
|
7309
7309
|
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
{
|
|
7313
|
-
id: uuid("id").primaryKey().defaultRandom(),
|
|
7314
|
-
contractId: uuid("contract_id")
|
|
7315
|
-
.notNull()
|
|
7316
|
-
.references(() => contracts.id, { onDelete: "cascade" }),
|
|
7317
|
-
role: signerRoleEnum("role").notNull().default("client_signer"),
|
|
7318
|
-
displayOrder: integer("display_order").notNull().default(1),
|
|
7319
|
-
hubspotContactId: text("hubspot_contact_id"),
|
|
7320
|
-
name: text("name").notNull(),
|
|
7321
|
-
email: text("email").notNull(),
|
|
7322
|
-
createdAt: timestamp("created_at").notNull().defaultNow(),
|
|
7323
|
-
},
|
|
7324
|
-
(table) => [
|
|
7325
|
-
index("contract_signers_contract_id_idx").on(table.contractId),
|
|
7326
|
-
]
|
|
7327
|
-
);
|
|
7328
|
-
export type ContractSigner = typeof contractSigners.$inferSelect;
|
|
7310
|
+
// contractSigners table removed — signing is managed in fn-flux.
|
|
7311
|
+
// signerRoleEnum is retained because orderSigners still uses it.
|
|
7329
7312
|
|
|
7330
7313
|
export const orderSigners = pgTable(
|
|
7331
7314
|
"order_signers",
|