Skip to content

Commit

Permalink
Merge pull request omnivore-app#62 from omnivore-app/fix/front-matter
Browse files Browse the repository at this point in the history
obsidian plugin update
  • Loading branch information
sywhb committed May 18, 2023
2 parents bd7c77c + 6cc1b04 commit 5d480ee
Show file tree
Hide file tree
Showing 7 changed files with 376 additions and 107 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"jest": "^29.4.3",
"jest-cli": "^29.4.3",
"jest-junit-reporter": "^1.1.0",
"obsidian": "^1.1.1",
"obsidian": "^1.2.8",
"prettier": "^2.8.1",
"semantic-release": "^19.0.5",
"ts-jest": "^29.0.5",
Expand Down
12 changes: 11 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export enum PageType {
Profile = "PROFILE",
Unknown = "UNKNOWN",
Website = "WEBSITE",
Highlights = "HIGHLIGHTS",
Tweet = "TWEET",
Video = "VIDEO",
Image = "IMAGE",
}

export interface Article {
Expand All @@ -38,6 +40,10 @@ export interface Article {
publishedAt?: string;
url: string;
readAt?: string;
wordsCount?: number;
readingProgressPercent: number;
isArchived: boolean;
archivedAt?: string;
}

export interface Label {
Expand Down Expand Up @@ -101,6 +107,10 @@ export const loadArticles = async (
content
publishedAt
readAt
wordsCount
isArchived
readingProgressPercent
archivedAt
highlights {
id
quote
Expand Down
Loading

0 comments on commit 5d480ee

Please sign in to comment.