From dfdc7a21db9c972e91a6f72e4f3c6b509f34a1e2 Mon Sep 17 00:00:00 2001 From: kyoh86 Date: Sun, 9 Jun 2024 04:15:58 +0900 Subject: [PATCH] use router v0.0.1 alpha.2 --- denops/docbase/handler/new_post.ts | 6 ++++-- denops/docbase/handler/post.ts | 2 +- denops/docbase/handler/posts_list.ts | 6 ++++-- denops/docbase/handler/teams_list.ts | 6 ++++-- denops/docbase/main.ts | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/denops/docbase/handler/new_post.ts b/denops/docbase/handler/new_post.ts index fe5bb60..26e5b4f 100644 --- a/denops/docbase/handler/new_post.ts +++ b/denops/docbase/handler/new_post.ts @@ -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/denops-router@v0.0.1-alpha.2/mod.ts"; import type { StateMan } from "../state.ts"; const isNewPostParams = is.ObjectOf({ diff --git a/denops/docbase/handler/post.ts b/denops/docbase/handler/post.ts index 5984ffd..62f1b6b 100644 --- a/denops/docbase/handler/post.ts +++ b/denops/docbase/handler/post.ts @@ -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({ diff --git a/denops/docbase/handler/posts_list.ts b/denops/docbase/handler/posts_list.ts index 9d775dd..871b53b 100644 --- a/denops/docbase/handler/posts_list.ts +++ b/denops/docbase/handler/posts_list.ts @@ -11,8 +11,10 @@ import { ensure, is } from "https://deno.land/x/unknownutil@v3.18.1/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/denops-router@v0.0.1-alpha.2/mod.ts"; export async function loadPostsList( denops: Denops, diff --git a/denops/docbase/handler/teams_list.ts b/denops/docbase/handler/teams_list.ts index ff99577..7490af6 100644 --- a/denops/docbase/handler/teams_list.ts +++ b/denops/docbase/handler/teams_list.ts @@ -7,10 +7,12 @@ import * as variable from "https://deno.land/x/denops_std@v6.5.0/variable/variab import * as option from "https://deno.land/x/denops_std@v6.5.0/option/mod.ts"; import { ensure, is } from "https://deno.land/x/unknownutil@v3.18.1/mod.ts"; -import type { Router } from "https://denopkg.com/kyoh86/denops-router@master/mod.ts"; +import type { + Buffer, + Router, +} from "https://denopkg.com/kyoh86/denops-router@v0.0.1-alpha.2/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, diff --git a/denops/docbase/main.ts b/denops/docbase/main.ts index c771f4d..8511a6c 100644 --- a/denops/docbase/main.ts +++ b/denops/docbase/main.ts @@ -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";