feat: модульная архитектура sidebar и улучшения навигации
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
import { GraphQLError } from 'graphql'
|
||||
import { Context } from '../context'
|
||||
|
||||
import { prisma } from '@/lib/prisma'
|
||||
import { notifyOrganization } from '@/lib/realtime'
|
||||
|
||||
import { Context } from '../context'
|
||||
|
||||
export const fulfillmentConsumableV2Queries = {
|
||||
myFulfillmentConsumableSupplies: async (_: unknown, __: unknown, context: Context) => {
|
||||
if (!context.user) {
|
||||
@ -166,7 +168,7 @@ export const fulfillmentConsumableV2Mutations = {
|
||||
notes?: string
|
||||
}
|
||||
},
|
||||
context: Context
|
||||
context: Context,
|
||||
) => {
|
||||
if (!context.user) {
|
||||
throw new GraphQLError('Требуется авторизация', {
|
||||
|
Reference in New Issue
Block a user