@arbidocs/react 0.3.10 → 0.3.13

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/index.d.cts CHANGED
@@ -81,6 +81,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
81
81
  created_at: string;
82
82
  updated_at: string;
83
83
  wp_type?: string | null | undefined;
84
+ folder?: string | null | undefined;
84
85
  doctags: {
85
86
  doc_ext_id: string;
86
87
  tag_ext_id: string;
@@ -88,6 +89,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
88
89
  citations?: {
89
90
  [x: string]: {
90
91
  chunk_ids: string[];
92
+ scores: number[];
91
93
  statement: string;
92
94
  offset_start: number;
93
95
  offset_end: number;
@@ -128,7 +130,7 @@ declare function useTags(workspaceId: string | undefined, options?: {
128
130
  name: string;
129
131
  instruction?: string | null | undefined;
130
132
  tag_type: {
131
- type: "checkbox" | "text" | "number" | "select" | "folder" | "search" | "date";
133
+ type: "checkbox" | "text" | "number" | "select" | "search" | "date";
132
134
  options: string[];
133
135
  };
134
136
  shared: boolean;
package/dist/index.d.ts CHANGED
@@ -81,6 +81,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
81
81
  created_at: string;
82
82
  updated_at: string;
83
83
  wp_type?: string | null | undefined;
84
+ folder?: string | null | undefined;
84
85
  doctags: {
85
86
  doc_ext_id: string;
86
87
  tag_ext_id: string;
@@ -88,6 +89,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
88
89
  citations?: {
89
90
  [x: string]: {
90
91
  chunk_ids: string[];
92
+ scores: number[];
91
93
  statement: string;
92
94
  offset_start: number;
93
95
  offset_end: number;
@@ -128,7 +130,7 @@ declare function useTags(workspaceId: string | undefined, options?: {
128
130
  name: string;
129
131
  instruction?: string | null | undefined;
130
132
  tag_type: {
131
- type: "checkbox" | "text" | "number" | "select" | "folder" | "search" | "date";
133
+ type: "checkbox" | "text" | "number" | "select" | "search" | "date";
132
134
  options: string[];
133
135
  };
134
136
  shared: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.3.10",
3
+ "version": "0.3.13",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -22,8 +22,8 @@
22
22
  "typecheck": "tsc --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@arbidocs/sdk": "0.3.10",
26
- "@arbidocs/client": "0.3.10",
25
+ "@arbidocs/sdk": "0.3.13",
26
+ "@arbidocs/client": "0.3.13",
27
27
  "@tanstack/react-query": ">=5"
28
28
  },
29
29
  "peerDependencies": {