Initial Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import z from "zod";
|
||||
|
||||
/** 2PC participant declaration. Requires `db.preparable` capability when true. */
|
||||
export const twoPhaseCommitSchema = z.object({
|
||||
participates: z.boolean(),
|
||||
});
|
||||
|
||||
export type TwoPhaseCommit = z.infer<typeof twoPhaseCommitSchema>;
|
||||
Reference in New Issue
Block a user