0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

chore: clean up astro.data

This commit is contained in:
bholmesdev 2024-02-02 17:45:20 -05:00
parent 39b63a2e5a
commit 57a85cbdee

View file

@ -1,11 +1,9 @@
/// <reference path="./src/env.d.ts" />
import { Ingredient, Recipe, defineData } from 'astro:db';
import { defineData, Ingredient, Recipe } from 'astro:db';
export default defineData(async ({ seed }) => {
export default defineData(async ({ seed, mode }) => {
const pancakes = await seed(Recipe, {
title: 'Pancakes',
description: 'A delicious breakfast',
description: 'A delicious breakfast treat',
});
seed(Ingredient, [