chore(deps): bump
This commit is contained in:
@@ -1,22 +1,31 @@
|
||||
import { GraphCacheResolvers } from "../graphql"
|
||||
import {
|
||||
GraphCacheResolvers,
|
||||
Shortcode,
|
||||
Team,
|
||||
TeamInvitation,
|
||||
WithTypename,
|
||||
} from "../graphql"
|
||||
|
||||
export const resolversDef: GraphCacheResolvers = {
|
||||
Query: {
|
||||
team: (_parent, { teamID }, _cache, _info) => ({
|
||||
__typename: "Team",
|
||||
id: teamID,
|
||||
}),
|
||||
team: (_parent, { teamID }, _cache, _info) =>
|
||||
<WithTypename<Team>>{
|
||||
__typename: "Team" as const,
|
||||
id: teamID,
|
||||
},
|
||||
user: (_parent, { uid }, _cache, _info) => ({
|
||||
__typename: "User",
|
||||
uid,
|
||||
}),
|
||||
teamInvitation: (_parent, args, _cache, _info) => ({
|
||||
__typename: "TeamInvitation",
|
||||
id: args.inviteID,
|
||||
}),
|
||||
shortcode: (_parent, args, _cache, _info) => ({
|
||||
__typename: "Shortcode",
|
||||
id: args.code,
|
||||
}),
|
||||
teamInvitation: (_parent, args, _cache, _info) =>
|
||||
<WithTypename<TeamInvitation>>{
|
||||
__typename: "TeamInvitation",
|
||||
id: args.inviteID,
|
||||
},
|
||||
shortcode: (_parent, args, _cache, _info) =>
|
||||
<WithTypename<Shortcode>>{
|
||||
__typename: "Shortcode",
|
||||
id: args.code,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ import { autocompletion, completionKeymap } from "@codemirror/autocomplete"
|
||||
import { commentKeymap } from "@codemirror/comment"
|
||||
import {
|
||||
rectangularSelection,
|
||||
// crosshairCursor,
|
||||
crosshairCursor,
|
||||
} from "@codemirror/rectangular-selection"
|
||||
import { lintKeymap } from "@codemirror/lint"
|
||||
|
||||
@@ -375,7 +375,7 @@ export const basicSetup: Extension = [
|
||||
closeBrackets(),
|
||||
autocompletion(),
|
||||
rectangularSelection(),
|
||||
// crosshairCursor(),
|
||||
crosshairCursor(),
|
||||
highlightActiveLine(),
|
||||
highlightSelectionMatches(),
|
||||
keymap.of([
|
||||
|
||||
Reference in New Issue
Block a user