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:
parent
39b63a2e5a
commit
57a85cbdee
1 changed files with 3 additions and 5 deletions
|
@ -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, [
|
||||
|
|
Loading…
Reference in a new issue