Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Page

import type { Page } from "https://raw.githubusercontent.com/scrapbox-jp/types/0.1.2/mod.ts";

page information

interface Page extends PageSummary {
collaborators: User[];
files: string[];
icons: string[];
lastAccessed: number | null;
lines: Line[];
links: string[];
persistent: boolean;
relatedPages: {
links1hop: RelatedPage[];
links2hop: RelatedPage[];
hasBackLinksOrIcons: boolean;
}
;
snapshotCount: number;
user: User;
}

§Extends

§Properties

§
collaborators: User[]
[src]

ページを編集したユーザーのうち、user以外の人

§
files: string[]
[src]

ページ内に含まれる、scrapbox.ioにアップロードしたファイルへのリンク

§
icons: string[]
[src]

ページ内のアイコン

§
lastAccessed: number | null
[src]

APIを叩いたuserの最終アクセス日時。おそらくこの値を元にテロメアの未読/既読の判別をしている

§
lines: Line[]
[src]

ページの行情報

§
persistent: boolean
[src]

不明。削除されたページだとfalse?

§
relatedPages: {
links1hop: RelatedPage[];
links2hop: RelatedPage[];
hasBackLinksOrIcons: boolean;
}
[src]

関連ページリスト

§
snapshotCount: number
[src]

生成されたPage historyの数

§
user: User
[src]

最後にページを更新したユーザー