@noya-app/noya-api-client-react 0.1.40 → 0.1.41

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.
@@ -9,10 +9,10 @@
9
9
  DTS Build start
10
10
  ESM dist/index.mjs 398.29 KB
11
11
  ESM dist/index.mjs.map 1.06 MB
12
- ESM ⚡️ Build success in 463ms
12
+ ESM ⚡️ Build success in 495ms
13
13
  CJS dist/index.js 406.24 KB
14
14
  CJS dist/index.js.map 1.06 MB
15
- CJS ⚡️ Build success in 463ms
16
- DTS ⚡️ Build success in 6843ms
15
+ CJS ⚡️ Build success in 495ms
16
+ DTS ⚡️ Build success in 8375ms
17
17
  DTS dist/index.d.ts 16.88 KB
18
18
  DTS dist/index.d.mts 16.88 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @noya-app/noya-api-client-react
2
2
 
3
+ ## 0.1.41
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d743be0]
8
+ - @noya-app/noya-api@0.1.41
9
+
3
10
  ## 0.1.40
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -24,14 +24,8 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
24
24
  url: string;
25
25
  description: string | null;
26
26
  updatedAt: string;
27
- theme: any;
28
27
  icon: string | null;
29
- tags: {
30
- toolCount?: number | undefined;
31
- id: string;
32
- name: string;
33
- rank: number;
34
- }[];
28
+ theme: any;
35
29
  assets: string[];
36
30
  slug: string | null;
37
31
  tagline: string | null;
@@ -44,6 +38,12 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
44
38
  image: string | null;
45
39
  slug: string | null;
46
40
  } | null;
41
+ tags: {
42
+ toolCount?: number | undefined;
43
+ id: string;
44
+ name: string;
45
+ rank: number;
46
+ }[];
47
47
  }[];
48
48
  loading: boolean;
49
49
  };
@@ -56,14 +56,8 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
56
56
  url: string;
57
57
  description: string | null;
58
58
  updatedAt: string;
59
- theme: any;
60
59
  icon: string | null;
61
- tags: {
62
- toolCount?: number | undefined;
63
- id: string;
64
- name: string;
65
- rank: number;
66
- }[];
60
+ theme: any;
67
61
  assets: string[];
68
62
  slug: string | null;
69
63
  tagline: string | null;
@@ -76,6 +70,12 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
76
70
  image: string | null;
77
71
  slug: string | null;
78
72
  } | null;
73
+ tags: {
74
+ toolCount?: number | undefined;
75
+ id: string;
76
+ name: string;
77
+ rank: number;
78
+ }[];
79
79
  }[];
80
80
  loading: boolean;
81
81
  };
@@ -301,11 +301,11 @@ declare function useRandomImages(): {
301
301
  color: string;
302
302
  };
303
303
  url: string;
304
- source: {
304
+ user: {
305
305
  name: string;
306
306
  url: string;
307
307
  };
308
- user: {
308
+ source: {
309
309
  name: string;
310
310
  url: string;
311
311
  };
@@ -426,13 +426,13 @@ declare function useNoyaWorkspaces(): {
426
426
  workspaceId: string;
427
427
  userId: string;
428
428
  updatedAt: string;
429
- role: "OWNER" | "ADMIN" | "MEMBER";
430
429
  user: {
431
430
  id: string;
432
431
  name: string | null;
433
432
  email: string | null;
434
433
  image: string | null;
435
434
  };
435
+ role: "OWNER" | "ADMIN" | "MEMBER";
436
436
  }[];
437
437
  }[];
438
438
  loading: boolean;
@@ -447,8 +447,8 @@ declare function useNoyaWorkspaceInvitations(workspaceId: string): {
447
447
  createdAt: string;
448
448
  workspaceId: string;
449
449
  updatedAt: string;
450
- role: "OWNER" | "ADMIN" | "MEMBER";
451
450
  token: string;
451
+ role: "OWNER" | "ADMIN" | "MEMBER";
452
452
  invitedById: string;
453
453
  acceptedAt: string | null;
454
454
  expiresAt: string | null;
@@ -474,8 +474,8 @@ declare function useNoyaTemplates(): {
474
474
  toolId: string;
475
475
  description: string | null;
476
476
  updatedAt: string;
477
- icon: string | null;
478
477
  version: number;
478
+ icon: string | null;
479
479
  access: "private" | "read" | "write";
480
480
  dataCid: string;
481
481
  ownedByFileId: string | null;
package/dist/index.d.ts CHANGED
@@ -24,14 +24,8 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
24
24
  url: string;
25
25
  description: string | null;
26
26
  updatedAt: string;
27
- theme: any;
28
27
  icon: string | null;
29
- tags: {
30
- toolCount?: number | undefined;
31
- id: string;
32
- name: string;
33
- rank: number;
34
- }[];
28
+ theme: any;
35
29
  assets: string[];
36
30
  slug: string | null;
37
31
  tagline: string | null;
@@ -44,6 +38,12 @@ declare function useNoyaTools(initial?: NoyaAPI.Tool[]): {
44
38
  image: string | null;
45
39
  slug: string | null;
46
40
  } | null;
41
+ tags: {
42
+ toolCount?: number | undefined;
43
+ id: string;
44
+ name: string;
45
+ rank: number;
46
+ }[];
47
47
  }[];
48
48
  loading: boolean;
49
49
  };
@@ -56,14 +56,8 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
56
56
  url: string;
57
57
  description: string | null;
58
58
  updatedAt: string;
59
- theme: any;
60
59
  icon: string | null;
61
- tags: {
62
- toolCount?: number | undefined;
63
- id: string;
64
- name: string;
65
- rank: number;
66
- }[];
60
+ theme: any;
67
61
  assets: string[];
68
62
  slug: string | null;
69
63
  tagline: string | null;
@@ -76,6 +70,12 @@ declare function useOptionalNoyaTools(initial?: NoyaAPI.Tool[]): {
76
70
  image: string | null;
77
71
  slug: string | null;
78
72
  } | null;
73
+ tags: {
74
+ toolCount?: number | undefined;
75
+ id: string;
76
+ name: string;
77
+ rank: number;
78
+ }[];
79
79
  }[];
80
80
  loading: boolean;
81
81
  };
@@ -301,11 +301,11 @@ declare function useRandomImages(): {
301
301
  color: string;
302
302
  };
303
303
  url: string;
304
- source: {
304
+ user: {
305
305
  name: string;
306
306
  url: string;
307
307
  };
308
- user: {
308
+ source: {
309
309
  name: string;
310
310
  url: string;
311
311
  };
@@ -426,13 +426,13 @@ declare function useNoyaWorkspaces(): {
426
426
  workspaceId: string;
427
427
  userId: string;
428
428
  updatedAt: string;
429
- role: "OWNER" | "ADMIN" | "MEMBER";
430
429
  user: {
431
430
  id: string;
432
431
  name: string | null;
433
432
  email: string | null;
434
433
  image: string | null;
435
434
  };
435
+ role: "OWNER" | "ADMIN" | "MEMBER";
436
436
  }[];
437
437
  }[];
438
438
  loading: boolean;
@@ -447,8 +447,8 @@ declare function useNoyaWorkspaceInvitations(workspaceId: string): {
447
447
  createdAt: string;
448
448
  workspaceId: string;
449
449
  updatedAt: string;
450
- role: "OWNER" | "ADMIN" | "MEMBER";
451
450
  token: string;
451
+ role: "OWNER" | "ADMIN" | "MEMBER";
452
452
  invitedById: string;
453
453
  acceptedAt: string | null;
454
454
  expiresAt: string | null;
@@ -474,8 +474,8 @@ declare function useNoyaTemplates(): {
474
474
  toolId: string;
475
475
  description: string | null;
476
476
  updatedAt: string;
477
- icon: string | null;
478
477
  version: number;
478
+ icon: string | null;
479
479
  access: "private" | "read" | "write";
480
480
  dataCid: string;
481
481
  ownedByFileId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noya-app/noya-api-client-react",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@legendapp/state": "^2.1.1",
13
- "@noya-app/noya-api": "0.1.40",
13
+ "@noya-app/noya-api": "0.1.41",
14
14
  "@noya-app/noya-utils": "0.1.9",
15
15
  "@noya-app/observable": "0.1.12",
16
16
  "@noya-app/observable-store": "0.1.2",