@axium/tasks 0.4.0 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/tasks",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Tasks for Axium",
6
6
  "funding": {
@@ -1,5 +1,4 @@
1
1
  import { fetchAPI } from '@axium/client/requests';
2
- import { parseList } from '@axium/tasks/client';
3
2
  import { redirect } from '@sveltejs/kit';
4
3
 
5
4
  export const ssr = false;
@@ -11,7 +10,5 @@ export async function load({ parent }) {
11
10
 
12
11
  const lists = await fetchAPI('GET', 'users/:id/task_lists', {}, session.userId);
13
12
 
14
- for (const list of lists) parseList(list);
15
-
16
13
  return { lists };
17
14
  }
@@ -1,13 +1,10 @@
1
1
  import { fetchAPI } from '@axium/client/requests';
2
2
  import type { LoadEvent } from '@sveltejs/kit';
3
- import { parseList } from '@axium/tasks/client';
4
3
 
5
4
  export const ssr = false;
6
5
 
7
6
  export async function load({ params }: LoadEvent) {
8
7
  const list = await fetchAPI('GET', 'task_lists/:id', {}, params.id!);
9
8
 
10
- parseList(list);
11
-
12
9
  return { list };
13
10
  }