@noya-app/noya-api-client-react 0.1.33 → 0.1.35

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/.eslintrc.js CHANGED
@@ -1,11 +1,7 @@
1
1
  /** @type {import("eslint").Linter.Config} */
2
2
  module.exports = {
3
3
  root: true,
4
- extends: ["@repo/eslint-config/next.js"],
4
+ extends: ["@repo/eslint-config/library.js"],
5
5
  parser: "@typescript-eslint/parser",
6
- rules: {
7
- "no-unused-vars": "off",
8
- "no-redeclare": "off",
9
- },
10
6
  ignorePatterns: ["dist/"],
11
7
  };
@@ -6,13 +6,13 @@
6
6
  CLI Target: esnext
7
7
  CJS Build start
8
8
  ESM Build start
9
- CJS dist/index.js 16.58 KB
10
- CJS dist/index.js.map 21.85 KB
11
- CJS ⚡️ Build success in 20ms
12
9
  ESM dist/index.mjs 12.15 KB
13
10
  ESM dist/index.mjs.map 21.57 KB
14
- ESM ⚡️ Build success in 21ms
11
+ ESM ⚡️ Build success in 52ms
12
+ CJS dist/index.js 16.58 KB
13
+ CJS dist/index.js.map 21.85 KB
14
+ CJS ⚡️ Build success in 52ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 5219ms
17
- DTS dist/index.d.ts 13.69 KB
18
- DTS dist/index.d.mts 13.69 KB
16
+ DTS ⚡️ Build success in 5620ms
17
+ DTS dist/index.d.ts 14.40 KB
18
+ DTS dist/index.d.mts 14.40 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @noya-app/noya-api-client-react
2
2
 
3
+ ## 0.1.35
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9a1770a]
8
+ - @noya-app/observable@0.1.10
9
+ - @noya-app/noya-api@0.1.35
10
+ - @noya-app/observable-react@0.1.20
11
+
12
+ ## 0.1.34
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [9ab51d3]
17
+ - @noya-app/observable@0.1.9
18
+ - @noya-app/noya-api@0.1.34
19
+ - @noya-app/observable-react@0.1.19
20
+
3
21
  ## 0.1.33
4
22
 
5
23
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -46,6 +46,32 @@ declare function useNoyaFile(fileId?: string): {
46
46
  access: "private" | "read" | "write";
47
47
  workspaceAccess: "private" | "read" | "write";
48
48
  workspaceId: string;
49
+ inputs: ({
50
+ required: boolean;
51
+ name: string;
52
+ id: string;
53
+ description: string | null;
54
+ kind: "file";
55
+ toolId: string | null;
56
+ stableId: string;
57
+ } | {
58
+ required: boolean;
59
+ name: string;
60
+ id: string;
61
+ description: string | null;
62
+ kind: "data";
63
+ stableId: string;
64
+ schema?: any;
65
+ } | {
66
+ required: boolean;
67
+ name: string;
68
+ id: string;
69
+ description: string | null;
70
+ kind: "secret";
71
+ stableId: string;
72
+ authProvider: "github" | "figma" | null;
73
+ authScope: string | null;
74
+ })[];
49
75
  user?: {
50
76
  name: string | null;
51
77
  image: string | null;
@@ -55,6 +81,8 @@ declare function useNoyaFile(fileId?: string): {
55
81
  id: string;
56
82
  } | undefined;
57
83
  userId?: string | undefined;
84
+ accessibleByFiles?: any[] | undefined;
85
+ accessibleFiles?: any[] | undefined;
58
86
  primarySite?: {
59
87
  url: string;
60
88
  id: string;
package/dist/index.d.ts CHANGED
@@ -46,6 +46,32 @@ declare function useNoyaFile(fileId?: string): {
46
46
  access: "private" | "read" | "write";
47
47
  workspaceAccess: "private" | "read" | "write";
48
48
  workspaceId: string;
49
+ inputs: ({
50
+ required: boolean;
51
+ name: string;
52
+ id: string;
53
+ description: string | null;
54
+ kind: "file";
55
+ toolId: string | null;
56
+ stableId: string;
57
+ } | {
58
+ required: boolean;
59
+ name: string;
60
+ id: string;
61
+ description: string | null;
62
+ kind: "data";
63
+ stableId: string;
64
+ schema?: any;
65
+ } | {
66
+ required: boolean;
67
+ name: string;
68
+ id: string;
69
+ description: string | null;
70
+ kind: "secret";
71
+ stableId: string;
72
+ authProvider: "github" | "figma" | null;
73
+ authScope: string | null;
74
+ })[];
49
75
  user?: {
50
76
  name: string | null;
51
77
  image: string | null;
@@ -55,6 +81,8 @@ declare function useNoyaFile(fileId?: string): {
55
81
  id: string;
56
82
  } | undefined;
57
83
  userId?: string | undefined;
84
+ accessibleByFiles?: any[] | undefined;
85
+ accessibleFiles?: any[] | undefined;
58
86
  primarySite?: {
59
87
  url: string;
60
88
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noya-app/noya-api-client-react",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -10,10 +10,10 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@legendapp/state": "^2.1.1",
13
- "@noya-app/noya-api": "0.1.33",
13
+ "@noya-app/noya-api": "0.1.35",
14
14
  "@noya-app/noya-utils": "0.1.5",
15
- "@noya-app/observable": "0.1.8",
16
- "@noya-app/observable-react": "0.1.18"
15
+ "@noya-app/observable": "0.1.10",
16
+ "@noya-app/observable-react": "0.1.20"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": "*",