Skip to content

Commit

Permalink
use router v0.0.1 alpha.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoh86 committed Jun 8, 2024
1 parent 747e003 commit dfdc7a2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions denops/docbase/handler/new_post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import type { CreatePostParams } from "../types.ts";
import { Client } from "../api/client.ts";
import { Filetype } from "./filetype.ts";
import { parsePostBuffer, saveGroupsIntoPostBuffer } from "./post.ts";
import type { Buffer } from "https://denopkg.com/kyoh86/denops-router@master/types.ts";
import type { Router } from "https://denopkg.com/kyoh86/denops-router@master/mod.ts";
import type {
Buffer,
Router,
} from "https://denopkg.com/kyoh86/[email protected]/mod.ts";
import type { StateMan } from "../state.ts";

const isNewPostParams = is.ObjectOf({
Expand Down
2 changes: 1 addition & 1 deletion denops/docbase/handler/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Filetype } from "./filetype.ts";
import type { Post as PostData, UpdatePostParams } from "../types.ts";
import { isGroupSummary } from "../types.ts";
import { Client } from "../api/client.ts";
import type { Buffer } from "https://denopkg.com/kyoh86/denops-router@master/types.ts";
import type { Buffer } from "https://denopkg.com/kyoh86/denops-router@v0.0.1-alpha.2/mod.ts";
import type { StateMan } from "../state.ts";

const isPostParams = is.ObjectOf({
Expand Down
6 changes: 4 additions & 2 deletions denops/docbase/handler/posts_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import { ensure, is } from "https://deno.land/x/[email protected]/mod.ts";
import { Filetype } from "./filetype.ts";
import { Client } from "../api/client.ts";
import { StateMan } from "../state.ts";
import type { Buffer } from "https://denopkg.com/kyoh86/denops-router@master/types.ts";
import type { Router } from "https://denopkg.com/kyoh86/denops-router@master/mod.ts";
import type {
Buffer,
Router,
} from "https://denopkg.com/kyoh86/[email protected]/mod.ts";

export async function loadPostsList(
denops: Denops,
Expand Down
6 changes: 4 additions & 2 deletions denops/docbase/handler/teams_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import * as variable from "https://deno.land/x/[email protected]/variable/variab
import * as option from "https://deno.land/x/[email protected]/option/mod.ts";

import { ensure, is } from "https://deno.land/x/[email protected]/mod.ts";
import type { Router } from "https://denopkg.com/kyoh86/denops-router@master/mod.ts";
import type {
Buffer,
Router,
} from "https://denopkg.com/kyoh86/[email protected]/mod.ts";
import { Filetype } from "./filetype.ts";
import { StateMan } from "../state.ts";
import { Buffer } from "https://denopkg.com/kyoh86/denops-router@master/types.ts";

export async function loadTeamsList(
denops: Denops,
Expand Down
2 changes: 1 addition & 1 deletion denops/docbase/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {

import { isSearchPostsParams } from "./types.ts";
import { Client } from "./api/client.ts";
import { Router } from "https://denopkg.com/kyoh86/denops-router@master/mod.ts";
import { Router } from "https://denopkg.com/kyoh86/denops-router@v0.0.1-alpha.2/mod.ts";
import { XDGStateMan } from "./state.ts";

import { loadTeamsList, openPostsList } from "./handler/teams_list.ts";
Expand Down

0 comments on commit dfdc7a2

Please sign in to comment.