File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,5 @@ export * from "./patch.ts";
33export * from "./deletePage.ts" ;
44export * from "./pin.ts" ;
55export * from "./listen.ts" ;
6- export * from "./getCodeBlocks.ts" ;
76export * from "./updateCodeBlock.ts" ;
87export * from "./updateCodeFile.ts" ;
Original file line number Diff line number Diff line change 66 socketIO ,
77 UpdateCommit ,
88} from "../../deps/socket.ts" ;
9+ import { TinyCodeBlock } from "../../rest/getCodeBlocks.ts" ;
910import { diffToChanges } from "./diffToChanges.ts" ;
10- import { TinyCodeBlock } from "./getCodeBlocks.ts" ;
1111import { getUserId } from "./id.ts" ;
1212import { pull } from "./pull.ts" ;
1313import { CodeFile , isCodeFile } from "./updateCodeFile.ts" ;
Original file line number Diff line number Diff line change 66 socketIO ,
77 UpdateCommit ,
88} from "../../deps/socket.ts" ;
9+ import { getCodeBlocks , TinyCodeBlock } from "../../rest/getCodeBlocks.ts" ;
910import { pull } from "./pull.ts" ;
10- import { getCodeBlocks , TinyCodeBlock } from "./getCodeBlocks.ts" ;
1111import { createNewLineId , getUserId } from "./id.ts" ;
1212import { diff , toExtendedChanges } from "../../deps/onp.ts" ;
1313import { applyCommit , countBodyIndent } from "./_codeBlock.ts" ;
Original file line number Diff line number Diff line change 1- import type { Line } from "../../deps/scrapbox-rest.ts" ;
2- import { pull } from "./pull.ts" ;
3- import { CodeTitle , extractFromCodeTitle } from "./_codeBlock.ts" ;
1+ import type { Line } from "../deps/scrapbox-rest.ts" ;
2+ import { pull } from "../browser/websocket/pull.ts" ;
3+ import {
4+ CodeTitle ,
5+ extractFromCodeTitle ,
6+ } from "../browser/websocket/_codeBlock.ts" ;
47
58/** pull()から取れる情報で構成したコードブロックの最低限の情報 */
69export interface TinyCodeBlock {
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ export * from "./getGyazoToken.ts";
1212export * from "./auth.ts" ;
1313export * from "./util.ts" ;
1414export * from "./error.ts" ;
15+ export * from "./getCodeBlocks.ts" ;
You can’t perform that action at this time.
0 commit comments