@census-ai/census-sdk 0.4.3 → 0.4.5
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 +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/react/index.cjs +59 -6
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +36 -26
- package/dist/react/index.d.ts +36 -26
- package/dist/react/index.js +59 -6
- package/dist/react/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -203,6 +203,21 @@ interface TrackEventOptions {
|
|
|
203
203
|
interface BatchEventsOptions {
|
|
204
204
|
events: TrackEventOptions[];
|
|
205
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Feature group tag on a request
|
|
208
|
+
*/
|
|
209
|
+
interface RequestFeatureGroup {
|
|
210
|
+
id: string;
|
|
211
|
+
name: string;
|
|
212
|
+
color: string | null;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Feature tag on a request
|
|
216
|
+
*/
|
|
217
|
+
interface RequestFeature {
|
|
218
|
+
id: string;
|
|
219
|
+
name: string;
|
|
220
|
+
}
|
|
206
221
|
/**
|
|
207
222
|
* A user's submitted request (feedback, bug report, feature request)
|
|
208
223
|
*/
|
|
@@ -216,6 +231,8 @@ interface Request {
|
|
|
216
231
|
rating: number | null;
|
|
217
232
|
helpful: boolean | null;
|
|
218
233
|
metadata: Record<string, unknown>;
|
|
234
|
+
feature_group: RequestFeatureGroup | null;
|
|
235
|
+
feature: RequestFeature | null;
|
|
219
236
|
}
|
|
220
237
|
/**
|
|
221
238
|
* Options for fetching requests
|
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,21 @@ interface TrackEventOptions {
|
|
|
203
203
|
interface BatchEventsOptions {
|
|
204
204
|
events: TrackEventOptions[];
|
|
205
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Feature group tag on a request
|
|
208
|
+
*/
|
|
209
|
+
interface RequestFeatureGroup {
|
|
210
|
+
id: string;
|
|
211
|
+
name: string;
|
|
212
|
+
color: string | null;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Feature tag on a request
|
|
216
|
+
*/
|
|
217
|
+
interface RequestFeature {
|
|
218
|
+
id: string;
|
|
219
|
+
name: string;
|
|
220
|
+
}
|
|
206
221
|
/**
|
|
207
222
|
* A user's submitted request (feedback, bug report, feature request)
|
|
208
223
|
*/
|
|
@@ -216,6 +231,8 @@ interface Request {
|
|
|
216
231
|
rating: number | null;
|
|
217
232
|
helpful: boolean | null;
|
|
218
233
|
metadata: Record<string, unknown>;
|
|
234
|
+
feature_group: RequestFeatureGroup | null;
|
|
235
|
+
feature: RequestFeature | null;
|
|
219
236
|
}
|
|
220
237
|
/**
|
|
221
238
|
* Options for fetching requests
|