decentralised message store

refactor: naming hard

serenity d7611db8 6b0474df

Changed files
+5 -5
src
db
schema
+5 -5
src/db/schema/messages.ts
···
],
);
-
export const messagesSelectSchema = createSelectSchema(messagesTable);
-
export const messageSelectSchemaArray = z.array(messagesSelectSchema);
-
export const messagesInsertSchema = createInsertSchema(messagesTable);
+
export const shardMessagesSelectSchema = createSelectSchema(messagesTable);
+
export const shardMessageSelectSchemaArray = z.array(shardMessagesSelectSchema);
+
export const shardMessagesInsertSchema = createInsertSchema(messagesTable);
-
export type ShardMessageSelect = z.infer<typeof messagesSelectSchema>;
-
export type ShardMessageInsert = z.infer<typeof messagesInsertSchema>;
+
export type ShardMessageSelect = z.infer<typeof shardMessagesSelectSchema>;
+
export type ShardMessageInsert = z.infer<typeof shardMessagesInsertSchema>;