-
-
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.
Merge pull request #11 from kcoderhtml/remove-console-log
remove-console-log-and-run-prettier
- Loading branch information
Showing
12 changed files
with
186 additions
and
158 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
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
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 |
---|---|---|
@@ -1,15 +1,33 @@ | ||
import { db, Invite, Event, Organization } from 'astro:db'; | ||
import { db, Invite, Event, Organization } from "astro:db"; | ||
|
||
// https://astro.build/db/seed | ||
export default async function seed() { | ||
await db.insert(Organization).values([ | ||
{ team: 'T0266FRGM', name: 'Hack Club', image: 'https://avatars.slack-edge.com/2022-04-01/3330920659891_26353517af684373601b_230.png' }, | ||
]); | ||
await db.insert(Event).values([ | ||
{ team: 'T0266FRGM', name: 'Hackclub Meeting', comments: 'This is a test event', date: new Date(), location: 'Some location', statusGoing: '', statusMaybe: '', statusNotGoing: 'U062UG485EE' }, | ||
]); | ||
await db.insert(Organization).values([ | ||
{ | ||
team: "T0266FRGM", | ||
name: "Hack Club", | ||
image: | ||
"https://avatars.slack-edge.com/2022-04-01/3330920659891_26353517af684373601b_230.png", | ||
}, | ||
]); | ||
await db.insert(Event).values([ | ||
{ | ||
team: "T0266FRGM", | ||
name: "Hackclub Meeting", | ||
comments: "This is a test event", | ||
date: new Date(), | ||
location: "Some location", | ||
statusGoing: "", | ||
statusMaybe: "", | ||
statusNotGoing: "U062UG485EE", | ||
}, | ||
]); | ||
|
||
await db.insert(Invite).values([ | ||
{ verificationCode: '123456', teamName: 'Hack Club', installationToken: 'xoxb-123456' }, | ||
]); | ||
} | ||
await db.insert(Invite).values([ | ||
{ | ||
verificationCode: "123456", | ||
teamName: "Hack Club", | ||
installationToken: "xoxb-123456", | ||
}, | ||
]); | ||
} |
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 |
---|---|---|
@@ -1,30 +1,32 @@ | ||
{ | ||
"name": "magicsnap", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build --remote", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.5.10", | ||
"@astrojs/db": "^0.10.3", | ||
"@astrojs/netlify": "^5.2.0", | ||
"@astrojs/node": "^8.2.5", | ||
"@astrojs/tailwind": "^5.1.0", | ||
"@auth/core": "^0.18.6", | ||
"astro": "^4.5.10", | ||
"auth-astro": "^4.1.1", | ||
"jwt-decode": "^4.0.0", | ||
"magick.css": "^1.0.5", | ||
"normalize.css": "^8.0.1", | ||
"tailwindcss": "^3.4.2", | ||
"typescript": "^5.4.3" | ||
}, | ||
"devDependencies": { | ||
"@types/bun": "^1.0.11" | ||
} | ||
"name": "magicsnap", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build --remote", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.5.10", | ||
"@astrojs/db": "^0.10.3", | ||
"@astrojs/netlify": "^5.2.0", | ||
"@astrojs/node": "^8.2.5", | ||
"@astrojs/tailwind": "^5.1.0", | ||
"@auth/core": "^0.18.6", | ||
"astro": "^4.5.10", | ||
"auth-astro": "^4.1.1", | ||
"jwt-decode": "^4.0.0", | ||
"magick.css": "^1.0.5", | ||
"normalize.css": "^8.0.1", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-astro": "^0.13.0", | ||
"tailwindcss": "^3.4.2", | ||
"typescript": "^5.4.3" | ||
}, | ||
"devDependencies": { | ||
"@types/bun": "^1.0.11" | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1,19 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} | ||
{ | ||
"name": "", | ||
"short_name": "", | ||
"icons": [ | ||
{ | ||
"src": "/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"display": "standalone" | ||
} |
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
Oops, something went wrong.