migrate to bases
This commit is contained in:
@@ -4,15 +4,26 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
rating as Rating,
|
||||
year as Year,
|
||||
genre as Genre
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort rating desc
|
||||
```base
|
||||
display:
|
||||
file.name: Album
|
||||
property.year: Year
|
||||
property.artist: Artist
|
||||
property.created: Added
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
|
||||
```
|
||||
@@ -3,12 +3,21 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Game,
|
||||
rating as Rating,
|
||||
last as Last
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
```base
|
||||
display:
|
||||
file.name: Game
|
||||
property.rating: Rating
|
||||
property.last: Last
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- last
|
||||
|
||||
```
|
||||
@@ -3,16 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Book,
|
||||
author as Author,
|
||||
year as Year,
|
||||
rating as Rating,
|
||||
created as Added,
|
||||
genre as Genre
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort rating desc, date asc
|
||||
```
|
||||
![[Books.base]]
|
||||
@@ -3,14 +3,25 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
author as Author,
|
||||
created as Clipped,
|
||||
published as Published
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort clipped desc
|
||||
```
|
||||
```base
|
||||
display:
|
||||
file.name: Title
|
||||
property.author: Author
|
||||
property.created: Clipped
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- author
|
||||
- created
|
||||
- published
|
||||
sort:
|
||||
- column: clipped
|
||||
direction: DESC
|
||||
```
|
||||
|
||||
@@ -3,12 +3,19 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Company,
|
||||
url as Link
|
||||
where
|
||||
contains(categories,this.file.link)
|
||||
and !contains(file.name, "Template")
|
||||
sort file.mtime desc
|
||||
```
|
||||
```base
|
||||
display:
|
||||
file.name: Company
|
||||
property.url: Link
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- url
|
||||
|
||||
```
|
||||
|
||||
@@ -3,10 +3,23 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Event
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Event
|
||||
property.type: Type
|
||||
property.start: Start
|
||||
property.loc: Location
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- type
|
||||
- start
|
||||
|
||||
```
|
||||
@@ -4,12 +4,18 @@ tags:
|
||||
---
|
||||
An evergreen note is an idea. It doesn't have to be something that I agree with, but something is [[Composability|composable]]. In a way, every idiom is a kind of evergreen idea.
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Name,
|
||||
created as Created
|
||||
from #0🌲
|
||||
where
|
||||
!contains(file.name,"Template")
|
||||
sort created desc
|
||||
```base
|
||||
display:
|
||||
file.name: Name
|
||||
property.created: Created
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(property.tags, "0🌲")
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- created
|
||||
```
|
||||
@@ -3,16 +3,27 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Game,
|
||||
maker as Maker,
|
||||
genre as Genre,
|
||||
year as Year,
|
||||
rating as Rating,
|
||||
last as "Last played"
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort last desc
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Book
|
||||
property.year: Year
|
||||
property.maker: Maker
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
property.last: Last played
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Games]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- maker
|
||||
- genre
|
||||
- year
|
||||
- rating
|
||||
- last
|
||||
```
|
||||
|
||||
@@ -3,12 +3,19 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Entry,
|
||||
created as Created
|
||||
from #journal
|
||||
where
|
||||
!contains(file.name,"Template")
|
||||
sort created desc
|
||||
```
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(property.tags, "journal")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Entry
|
||||
property.created: Created
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- created
|
||||
|
||||
```
|
||||
|
||||
@@ -3,15 +3,24 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Meeting,
|
||||
type as Type,
|
||||
people as People,
|
||||
date as Date
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort date desc
|
||||
limit 100
|
||||
```
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Meeting
|
||||
property.type: Type
|
||||
property.people: People
|
||||
property.date: Date
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- people
|
||||
- date
|
||||
|
||||
```
|
||||
|
||||
@@ -4,31 +4,11 @@ tags:
|
||||
---
|
||||
## Favorites
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Movie,
|
||||
year as Year,
|
||||
rating as Rating,
|
||||
last as "Last seen",
|
||||
director as Director
|
||||
where
|
||||
contains(categories,this.file.link)
|
||||
and rating > 6
|
||||
sort rating desc
|
||||
```
|
||||
![[Movies.base#Favorites]]
|
||||
|
||||
|
||||
## Last seen
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Movie,
|
||||
year as Year,
|
||||
rating as Rating,
|
||||
last as "Last seen",
|
||||
director as Director
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
last != "" and !contains(file.name, "Template")
|
||||
sort last desc
|
||||
limit 100
|
||||
```
|
||||
![[Movies.base#Last seen]]
|
||||
|
||||
|
||||
|
||||
@@ -3,12 +3,19 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Person,
|
||||
filter(file.tags, (t) => t !="#people") as Tags
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort file.name asc
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[People]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.tags: Tags
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- tags
|
||||
|
||||
```
|
||||
@@ -11,15 +11,26 @@ height:400px
|
||||
|
||||
## Places
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Place,
|
||||
loc as Location,
|
||||
type as Type,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.tags,"places/types") and
|
||||
!contains(file.name,"Template")
|
||||
sort last desc
|
||||
```
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Places]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.type: Type
|
||||
property.rating: Rating
|
||||
property.loc: Location
|
||||
file.name: Name
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- type
|
||||
- rating
|
||||
sort:
|
||||
- column: property.loc
|
||||
direction: ASC
|
||||
|
||||
```
|
||||
|
||||
@@ -3,16 +3,26 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
link(file.link, "Ep. " + string(episode)) as Episode,
|
||||
show as Show,
|
||||
guests as Guest,
|
||||
episode as Ep,
|
||||
rating as Rating,
|
||||
published as "Published"
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort published desc
|
||||
```base
|
||||
display:
|
||||
file.name: Podcast
|
||||
property.show: Show
|
||||
property.guests: Guests
|
||||
property.episode: Episode
|
||||
property.rating: Rating
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- show
|
||||
- guests
|
||||
- episode
|
||||
- rating
|
||||
- published
|
||||
```
|
||||
@@ -2,11 +2,19 @@
|
||||
related: "[[Podcast episodes]]"
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Podcast, host as "Host"
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort file.name asc
|
||||
```
|
||||
```base
|
||||
display:
|
||||
file.name: Podcast
|
||||
property.host: Host
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- host
|
||||
```
|
||||
|
||||
|
||||
@@ -2,13 +2,22 @@
|
||||
tags:
|
||||
- categories
|
||||
---
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
status as Status,
|
||||
published as Published
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort published desc
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Title
|
||||
property.status: Status
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- status
|
||||
- published
|
||||
|
||||
```
|
||||
@@ -3,19 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Product,
|
||||
rating as Rating,
|
||||
acquired as Acquired,
|
||||
type as Type,
|
||||
maker as Maker
|
||||
where
|
||||
!contains(file.name, "Template") and
|
||||
contains(categories, [[Products]])
|
||||
sort
|
||||
acquired desc,
|
||||
file.name,
|
||||
rating desc,
|
||||
file.mtime desc
|
||||
```
|
||||
![[Products.base]]
|
||||
|
||||
@@ -3,14 +3,25 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table
|
||||
type as Type,
|
||||
year as Year,
|
||||
status as Status,
|
||||
url as URL
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort year desc
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.status: Status
|
||||
property.url: URL
|
||||
file.name: Name
|
||||
property.type: Type
|
||||
property.year: Year
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- year
|
||||
- status
|
||||
- url
|
||||
|
||||
```
|
||||
|
||||
@@ -3,11 +3,28 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Recipe, type as Type, author as Author, ingredients as Ingredients, rating as Rating
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name,"Template")
|
||||
sort created desc
|
||||
```
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.author: Author
|
||||
property.type: Type
|
||||
property.ingredients: Ingredients
|
||||
property.cuisine: Cuisine
|
||||
property.rating: Rating
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- author
|
||||
- ingredients
|
||||
- cuisine
|
||||
- rating
|
||||
|
||||
```
|
||||
|
||||
@@ -2,14 +2,21 @@
|
||||
tags:
|
||||
- categories
|
||||
---
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.rating: Rating
|
||||
property.last: Last
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- last
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Show,
|
||||
rating as Rating,
|
||||
last as "Last seen"
|
||||
where
|
||||
contains(categories, this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort last desc
|
||||
```
|
||||
```
|
||||
|
||||
@@ -3,15 +3,22 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Trip,
|
||||
loc as Location,
|
||||
start as Start,
|
||||
end as End
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template") and
|
||||
!contains(file.name, "Planning")
|
||||
sort start desc
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.loc: Location
|
||||
property.end: End
|
||||
property.start: Start
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- start
|
||||
- end
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user