create skeleton project
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Schema as S } from "@triplit/client";
|
||||
|
||||
/**
|
||||
* Define your schema here. After:
|
||||
* - Pass your schema to your Triplit client
|
||||
* - Push your schema to your Triplit server with 'triplit schema push'
|
||||
*
|
||||
* For more information about schemas, see the docs: https://www.triplit.dev/docs/schemas
|
||||
*/
|
||||
export const schema = S.Collections({
|
||||
// todos: {
|
||||
// schema: S.Schema({
|
||||
// id: S.Id(),
|
||||
// title: S.String(),
|
||||
// description: S.String(),
|
||||
// }),
|
||||
// },
|
||||
});
|
||||
Reference in New Issue
Block a user