@axium/tasks 0.4.3 → 0.4.4

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/dist/server.d.ts CHANGED
@@ -1,23 +1,5 @@
1
- import type { Generated, GeneratedAlways } from 'kysely';
1
+ import type schema from '../db.json';
2
2
  declare module '@axium/server/database' {
3
- interface Schema {
4
- tasks: {
5
- id: GeneratedAlways<string>;
6
- created: GeneratedAlways<Date>;
7
- summary: string;
8
- description?: string | null;
9
- listId: string;
10
- parentId?: string | null;
11
- completed: Generated<boolean>;
12
- due?: Date | null;
13
- };
14
- task_lists: {
15
- id: GeneratedAlways<string>;
16
- userId: string;
17
- created: GeneratedAlways<Date>;
18
- name: string;
19
- description?: string | null;
20
- };
21
- 'acl.task_lists': DBAccessControl & DBBool<'read' | 'edit' | 'manage'>;
3
+ interface Schema extends FromSchemaFile<typeof schema> {
22
4
  }
23
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/tasks",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Tasks for Axium",
6
6
  "funding": {
@@ -48,7 +48,8 @@
48
48
  "server": {
49
49
  "routes": "routes",
50
50
  "hooks": "./dist/hooks.js",
51
- "db": "./db.json"
51
+ "db": "./db.json",
52
+ "web_client_hooks": "./dist/common.js"
52
53
  },
53
54
  "apps": [
54
55
  {
package/routes/+layout.ts DELETED
@@ -1 +0,0 @@
1
- import '@axium/tasks/common';