types

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frontmatter

type Frontmatter struct {
	NotionPageID string `yaml:"notion_page_id"` // NotionページID(存在すれば更新、なければ新規作成)
}

Frontmatter Markdownファイルのfrontmatter

type PullConfig added in v0.2.0

type PullConfig struct {
	APIKey  string // Notion APIキー
	Verbose bool   // 詳細出力
	DryRun  bool   // ドライラン
	Force   bool   // 確認プロンプトをスキップ
}

PullConfig pull設定

type PullResult added in v0.2.0

type PullResult struct {
	Success      bool   // 成功したか
	FilePath     string // 更新されたファイルパス
	PageID       string // 取得元のページID
	PageTitle    string // ページタイトル
	ErrorMessage string // エラーメッセージ(失敗時)
}

PullResult pull結果

type SyncConfig

type SyncConfig struct {
	APIKey       string // Notion APIキー
	ParentPageID string // 親ページID
	Verbose      bool   // 詳細出力
	DryRun       bool   // ドライラン
}

SyncConfig 同期設定

type SyncResult

type SyncResult struct {
	Success      bool   // 成功したか
	PageID       string // 作成/更新されたページID
	PageTitle    string // ページタイトル
	IsCreated    bool   // 新規作成かどうか
	ErrorMessage string // エラーメッセージ(失敗時)
}

SyncResult 同期結果

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL