mycontext-cli 2.0.29 → 2.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ import { i } from "@instantdb/react";
2
+
3
+ const _schema = i.schema({
4
+ entities: {
5
+ $files: i.entity({
6
+ path: i.string().unique().indexed(),
7
+ url: i.string(),
8
+ }),
9
+ $users: i.entity({
10
+ email: i.string().unique().indexed().optional(),
11
+ type: i.string().optional(),
12
+ }),
13
+ todos: i.entity({
14
+ text: i.string(),
15
+ done: i.boolean(),
16
+ createdAt: i.number(),
17
+ }),
18
+ },
19
+ links: {},
20
+ rooms: {},
21
+ });
22
+
23
+ type _AppSchema = typeof _schema;
24
+ interface AppSchema extends _AppSchema {}
25
+ const schema: AppSchema = _schema;
26
+
27
+ export type { AppSchema };
28
+ export default schema;