change worker name database -> worker
This commit is contained in:
parent
64fda58679
commit
5375301040
4
backend/worker/package-lock.json
generated
4
backend/worker/package-lock.json
generated
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "database",
|
"name": "worker",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "database",
|
"name": "worker",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@paralleldrive/cuid2": "^2.2.2",
|
"@paralleldrive/cuid2": "^2.2.2",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "database",
|
"name": "worker",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
import type { DrizzleD1Database } from "drizzle-orm/d1";
|
import type { DrizzleD1Database } from "drizzle-orm/d1";
|
||||||
import { drizzle } 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 { json } from "itty-router-extras";
|
||||||
import { ZodError, z } from "zod";
|
import { ZodError, z } from "zod";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#:schema node_modules/wrangler/config-schema.json
|
#:schema node_modules/wrangler/config-schema.json
|
||||||
name = "database"
|
name = "sandbox"
|
||||||
main = "src/index.ts"
|
main = "src/index.ts"
|
||||||
compatibility_date = "2024-04-05"
|
compatibility_date = "2024-04-05"
|
||||||
compatibility_flags = ["nodejs_compat"]
|
compatibility_flags = ["nodejs_compat"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user