feat: cut over rust web main shell
This commit is contained in:
@@ -1244,6 +1244,10 @@ export const createWithParentReference = mutation({
|
||||
title: v.optional(v.union(v.string(), v.null())),
|
||||
accessScope,
|
||||
content: v.optional(v.any()),
|
||||
streamDeltaHint: v.optional(v.any()),
|
||||
domainEventHint: v.optional(v.any()),
|
||||
domainEventPlan: v.optional(v.any()),
|
||||
domainEventPlans: v.optional(v.any()),
|
||||
},
|
||||
handler: async (ctx, args) => {
|
||||
if (!args.parentId) {
|
||||
@@ -1351,7 +1355,14 @@ export const updateContent = mutation({
|
||||
});
|
||||
|
||||
export const updateTitle = mutation({
|
||||
args: { id: v.string(), title: v.union(v.string(), v.null()) },
|
||||
args: {
|
||||
id: v.string(),
|
||||
title: v.union(v.string(), v.null()),
|
||||
streamDeltaHint: v.optional(v.any()),
|
||||
domainEventHint: v.optional(v.any()),
|
||||
domainEventPlan: v.optional(v.any()),
|
||||
domainEventPlans: v.optional(v.any()),
|
||||
},
|
||||
handler: async (ctx, args) => {
|
||||
const userId = await requireUserId(ctx);
|
||||
|
||||
@@ -1400,6 +1411,10 @@ export const move = mutation({
|
||||
parentId: v.union(v.string(), v.null()),
|
||||
sortOrder: v.number(),
|
||||
treeWriteOperation: v.any(),
|
||||
streamDeltaHint: v.optional(v.any()),
|
||||
domainEventHint: v.optional(v.any()),
|
||||
domainEventPlan: v.optional(v.any()),
|
||||
domainEventPlans: v.optional(v.any()),
|
||||
},
|
||||
handler: async (ctx, args) => {
|
||||
const userId = await requireUserId(ctx);
|
||||
|
||||
Reference in New Issue
Block a user