Skip to content

Commit ad54e1f

Browse files
committed
update scripts
1 parent f6a5e33 commit ad54e1f

9 files changed

Lines changed: 23 additions & 23 deletions

File tree

website/scripts/add-images.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { S3Client } from "bun";
22
import { getImgPlaceholder, getImgMetadata } from "openimg/bun";
3-
import { eventImagesTable, imagesTable } from "../app/modules/db/schema.server";
3+
import { eventImagesTable, imagesTable } from "@lib/db/schema.server";
44
import { buildContainer } from "~/modules/container.server";
55
import { readdir } from "node:fs/promises";
66
import { join } from "node:path";

website/scripts/add-sponsor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { eq } from "drizzle-orm";
22
import { buildContainer } from "~/modules/container.server";
3-
import { eventSponsorsTable, sponsorsTable } from "~/modules/db/schema.server";
3+
import { eventSponsorsTable, sponsorsTable } from "@lib/db/schema.server";
44

5-
const slug = "2025-03-19-all-things-web-at-convex";
6-
const sponsorName = "Convex";
5+
const slug = "2025-04-03-ai-x-all-things-web";
6+
const sponsorName = "Neon";
77

88
async function main() {
99
const container = buildContainer();

website/scripts/add-talk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { buildContainer } from "~/modules/container.server";
2-
import { eventTalksTable } from "~/modules/db/schema.server";
2+
import { eventTalksTable } from "@lib/db/schema.server";
33

44
const slug = "2025-02-25-all-things-web-at-sentry";
55
const talkId = "b8ef3673-71d6-4434-9551-a940cd5642ec";

website/scripts/create-event.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import { buildContainer } from "~/modules/container.server";
2-
import { eventsTable, InsertEvent } from "~/modules/db/schema.server";
2+
import { eventsTable, InsertEvent } from "@lib/db/schema.server";
33

4-
// 51802baf-8e1b-4903-99ba-96cf637bff63
4+
// 177359e8-51a7-4b13-9859-cec7083a90cf
55
const event = {
6-
name: "All Things Web at Convex",
7-
slug: "2025-03-19-all-things-web-at-convex",
8-
attendeeLimit: 150,
6+
name: "AI x All Things Web",
7+
slug: "2025-04-03-ai-x-all-things-web",
8+
attendeeLimit: 300,
99
tagline:
10-
"Join us for our next meetup at Convex! RSVP for two great tech talks, snacks & drinks, and plenty of time to chat about all things web.",
11-
startDate: new Date("2025-03-19T17:00:00.000Z"),
12-
endDate: new Date("2025-03-19T20:30:00.000Z"),
13-
lumaEventId: "evt-xWl1tkPwl1b8zbI",
14-
isDraft: true,
10+
"Join us on April 3rd for a special AI x All Things Web event at the AWS GenAI Loft. We'll have several fantastic lightning talks, snacks & drinks, and plenty of time to nerd out about AI, all things web, and the future of UI!",
11+
startDate: new Date("2025-04-03T17:00:00.000Z"),
12+
endDate: new Date("2025-04-03T20:30:00.000Z"),
13+
lumaEventId: "evt-hMrMdGcrk8XOnuF",
14+
isDraft: false,
1515
isHackathon: false,
1616
highlightOnLandingPage: true,
17-
fullAddress: "444 De Haro St #218, San Francisco, CA 94103",
18-
shortLocation: "Convex HQ",
19-
streetAddress: "444 De Haro St #218",
17+
fullAddress: "525 Market St, San Francisco, CA 94105, USA",
18+
shortLocation: "AWS GenAI Loft",
19+
streetAddress: "525 Market St",
2020
} satisfies InsertEvent;
2121

2222
async function main() {

website/scripts/create-profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
imagesTable,
55
InsertProfile,
66
profilesTable,
7-
} from "~/modules/db/schema.server";
7+
} from "@lib/db/schema.server";
88
import { randomUUID } from "node:crypto";
99
import { getImgMetadata, getImgPlaceholder } from "openimg/bun";
1010

website/scripts/create-talk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
InsertTalk,
44
talkSpeakersTable,
55
talksTable,
6-
} from "~/modules/db/schema.server";
6+
} from "@lib/db/schema.server";
77

88
const talk = {
99
title: "Anti-Crash Course: Building Better Errors and Traces",

website/scripts/delete-image.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
eventImagesTable,
44
eventsTable,
55
imagesTable,
6-
} from "../app/modules/db/schema.server";
6+
} from "@lib/db/schema.server";
77
import { buildContainer } from "~/modules/container.server";
88
import { eq } from "drizzle-orm";
99

website/scripts/get-image-ids.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { buildContainer } from "~/modules/container.server";
2-
import { imagesTable } from "~/modules/db/schema.server";
2+
import { imagesTable } from "@lib/db/schema.server";
33

44
export async function getImgIdsForUrls() {
55
let container = buildContainer();

website/scripts/update-event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { eq } from "drizzle-orm";
22
import { buildContainer } from "~/modules/container.server";
3-
import { eventsTable, InsertEvent } from "~/modules/db/schema.server";
3+
import { eventsTable, InsertEvent } from "@lib/db/schema.server";
44

55
const slug = "2025-03-19-all-things-web-at-convex";
66
const eventData = {

0 commit comments

Comments
 (0)