@axium/tasks 0.4.5 → 0.4.6

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.
package/db.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "../server/schemas/db.json",
3
- "format": 0,
3
+ "format": 1,
4
4
  "versions": [
5
5
  {
6
6
  "delta": false,
@@ -39,7 +39,13 @@
39
39
  }
40
40
  }
41
41
  },
42
- "indexes": ["task_lists:userId", "acl.task_lists:userId", "acl.task_lists:itemId", "tasks:listId", "tasks:parentId"]
42
+ "indexes": {
43
+ "task_lists_userId": { "on": "task_lists", "columns": ["userId"] },
44
+ "acl_task_lists_userId": { "on": "acl.task_lists", "columns": ["userId"] },
45
+ "acl_task_lists_itemId": { "on": "acl.task_lists", "columns": ["itemId"] },
46
+ "tasks_listId": { "on": "tasks", "columns": ["listId"] },
47
+ "tasks_parentId": { "on": "tasks", "columns": ["parentId"] }
48
+ }
43
49
  },
44
50
  {
45
51
  "delta": true,
package/dist/server.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type schema from '../db.json';
2
+ import type { FromFile as FromSchemaFile } from '@axium/server/db/schema';
2
3
  declare module '@axium/server/database' {
3
4
  interface Schema extends FromSchemaFile<typeof schema> {
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/tasks",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Tasks for Axium",
6
6
  "funding": {