19 lines
485 B
TypeScript
19 lines
485 B
TypeScript
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(),
|
|
// }),
|
|
// },
|
|
});
|