-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup the Netlify SSR adapter * Setup builders in an attempt to fix images * Bootstrap Drizzle and Turso * Uploading and reading the csv upload all works in Astro! * Add ability to post feelings entries to Bluesky * Add more type checking * Swap to Astro assets * Bump up packages * Move all images into Astro's asset setup * Get Tweet embeds working again Thanks Elon, you dick * Set the cover image correctly * Update last.fm and goodreads images to be resized on their CDNs * Setup the daylio route to build the site with auth * Get links working in the Bluesky posts * Just gonna have to ignore linting issues * Fix the build
- Loading branch information
Showing
121 changed files
with
10,331 additions
and
2,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,12 @@ | |
"sourceType": "module" | ||
}, | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.mdx"], | ||
"rules": { | ||
"null-null": "off" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CREATE TABLE `daylio_activities` ( | ||
`activity` text PRIMARY KEY NOT NULL, | ||
`private` integer DEFAULT 0, | ||
`createdAt` integer DEFAULT (cast(strftime('%s', 'now') as int)), | ||
`updatedAt` integer DEFAULT (cast(strftime('%s', 'now') as int)) | ||
); | ||
--> statement-breakpoint | ||
CREATE TABLE `daylio_entries` ( | ||
`time` integer PRIMARY KEY NOT NULL, | ||
`createdAt` integer DEFAULT (cast(strftime('%s', 'now') as int)), | ||
`updatedAt` integer DEFAULT (cast(strftime('%s', 'now') as int)), | ||
`publishedAt` integer, | ||
`mood` text NOT NULL, | ||
`notes` blob | ||
); | ||
--> statement-breakpoint | ||
CREATE TABLE `daylio_entry_activities` ( | ||
`time` integer NOT NULL, | ||
`activity` text NOT NULL, | ||
`createdAt` integer DEFAULT (cast(strftime('%s', 'now') as int)), | ||
`updatedAt` integer DEFAULT (cast(strftime('%s', 'now') as int)), | ||
PRIMARY KEY(`activity`, `time`), | ||
FOREIGN KEY (`time`) REFERENCES `daylio_entries`(`time`) ON UPDATE cascade ON DELETE cascade, | ||
FOREIGN KEY (`activity`) REFERENCES `daylio_activities`(`activity`) ON UPDATE cascade ON DELETE cascade | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "sqlite", | ||
"id": "f55e3f27-9fec-4e21-9977-3447586e52f9", | ||
"prevId": "00000000-0000-0000-0000-000000000000", | ||
"tables": { | ||
"daylio_activities": { | ||
"name": "daylio_activities", | ||
"columns": { | ||
"activity": { | ||
"name": "activity", | ||
"type": "text", | ||
"primaryKey": true, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"private": { | ||
"name": "private", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": 0 | ||
}, | ||
"createdAt": { | ||
"name": "createdAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
}, | ||
"updatedAt": { | ||
"name": "updatedAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
}, | ||
"daylio_entries": { | ||
"name": "daylio_entries", | ||
"columns": { | ||
"time": { | ||
"name": "time", | ||
"type": "integer", | ||
"primaryKey": true, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"createdAt": { | ||
"name": "createdAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
}, | ||
"updatedAt": { | ||
"name": "updatedAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
}, | ||
"publishedAt": { | ||
"name": "publishedAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false | ||
}, | ||
"mood": { | ||
"name": "mood", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"notes": { | ||
"name": "notes", | ||
"type": "blob", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
}, | ||
"daylio_entry_activities": { | ||
"name": "daylio_entry_activities", | ||
"columns": { | ||
"time": { | ||
"name": "time", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"activity": { | ||
"name": "activity", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"createdAt": { | ||
"name": "createdAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
}, | ||
"updatedAt": { | ||
"name": "updatedAt", | ||
"type": "integer", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false, | ||
"default": "(cast(strftime('%s', 'now') as int))" | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": { | ||
"daylio_entry_activities_time_daylio_entries_time_fk": { | ||
"name": "daylio_entry_activities_time_daylio_entries_time_fk", | ||
"tableFrom": "daylio_entry_activities", | ||
"tableTo": "daylio_entries", | ||
"columnsFrom": [ | ||
"time" | ||
], | ||
"columnsTo": [ | ||
"time" | ||
], | ||
"onDelete": "cascade", | ||
"onUpdate": "cascade" | ||
}, | ||
"daylio_entry_activities_activity_daylio_activities_activity_fk": { | ||
"name": "daylio_entry_activities_activity_daylio_activities_activity_fk", | ||
"tableFrom": "daylio_entry_activities", | ||
"tableTo": "daylio_activities", | ||
"columnsFrom": [ | ||
"activity" | ||
], | ||
"columnsTo": [ | ||
"activity" | ||
], | ||
"onDelete": "cascade", | ||
"onUpdate": "cascade" | ||
} | ||
}, | ||
"compositePrimaryKeys": { | ||
"daylio_entry_activities_time_activity_pk": { | ||
"columns": [ | ||
"activity", | ||
"time" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"enums": {}, | ||
"_meta": { | ||
"schemas": {}, | ||
"tables": {}, | ||
"columns": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "sqlite", | ||
"entries": [ | ||
{ | ||
"idx": 0, | ||
"version": "5", | ||
"when": 1688443246383, | ||
"tag": "0000_tan_magik", | ||
"breakpoints": true | ||
} | ||
] | ||
} |
Oops, something went wrong.