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

BasePage

import type { BasePage } from "https://raw.githubusercontent.com/scrapbox-jp/types/0.3.3/userscript.ts";

basic information about a page

interface BasePage {
accessed: UnixTime;
commitId: CommitId;
created: UnixTime;
descriptions: string[];
id: PageId;
image: string | null;
linked: number;
pageRank: number;
pin: number;
snapshotCreated: UnixTime | null;
title: string;
updated: UnixTime;
views: number;
}

§Properties

§
accessed: UnixTime
[src]

Date last visitedに使われる最終アクセス日時

§
commitId: CommitId
[src]

最新の編集コミットid

§
created: UnixTime
[src]

ページの作成日時

§
descriptions: string[]
[src]

the thumbnail text of a page.

the maximum number of lines is 5.

§
image: string | null
[src]

the thumbnail URL of a page if exists

set to null if not exists

§
linked: number
[src]

被リンク数

§
pageRank: number
[src]

page rank

§
pin: number
[src]

ピン留めの状態を表す数値

  • 0: ピンされてない
  • 0以外: ピンされている
§
snapshotCreated: UnixTime | null
[src]

Page historyの最終生成日時

§
title: string
[src]

the title of a page

§
updated: UnixTime
[src]

ページの最終更新日時

§
views: number
[src]

ページの閲覧回数