change worker name database -> worker

This commit is contained in:
Ishaan Dey 2024-04-21 23:11:22 -04:00
parent 64fda58679
commit 5375301040
4 changed files with 4 additions and 7 deletions

View File

@ -1,11 +1,11 @@
{
"name": "database",
"name": "worker",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "database",
"name": "worker",
"version": "0.0.0",
"dependencies": {
"@paralleldrive/cuid2": "^2.2.2",

View File

@ -1,5 +1,5 @@
{
"name": "database",
"name": "worker",
"version": "0.0.0",
"private": true,
"scripts": {

View File

@ -1,8 +1,5 @@
import type { DrizzleD1Database } from "drizzle-orm/d1";
import { drizzle } from "drizzle-orm/d1";
import { eq } from "drizzle-orm/expressions";
import type { IRequest, Route } from "itty-router";
import { Router } from "itty-router";
import { json } from "itty-router-extras";
import { ZodError, z } from "zod";

View File

@ -1,5 +1,5 @@
#:schema node_modules/wrangler/config-schema.json
name = "database"
name = "sandbox"
main = "src/index.ts"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]