@braintrust/core
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -5,2 +5,4 @@ declare const TRANSACTION_ID_FIELD = "_xact_id"; | ||
declare const IS_MERGE_FIELD = "_is_merge"; | ||
declare const ID_FIELD = "id"; | ||
declare const ALL_ROW_ID_FIELDS: string[]; | ||
@@ -24,4 +26,4 @@ declare function mergeRowBatch<T extends { | ||
declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): void; | ||
declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): Record<string, unknown>; | ||
export { CREATED_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, type Score, type Scorer, type ScorerArgs, TRANSACTION_ID_FIELD, mergeDicts, mergeRowBatch }; | ||
export { ALL_ROW_ID_FIELDS, CREATED_FIELD, ID_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, type Score, type Scorer, type ScorerArgs, TRANSACTION_ID_FIELD, mergeDicts, mergeRowBatch }; |
@@ -23,3 +23,5 @@ "use strict"; | ||
__export(src_exports, { | ||
ALL_ROW_ID_FIELDS: () => ALL_ROW_ID_FIELDS, | ||
CREATED_FIELD: () => CREATED_FIELD, | ||
ID_FIELD: () => ID_FIELD, | ||
IS_MERGE_FIELD: () => IS_MERGE_FIELD, | ||
@@ -38,2 +40,10 @@ OBJECT_DELETE_FIELD: () => OBJECT_DELETE_FIELD, | ||
var IS_MERGE_FIELD = "_is_merge"; | ||
var ID_FIELD = "id"; | ||
var ALL_ROW_ID_FIELDS = [ | ||
TRANSACTION_ID_FIELD, | ||
OBJECT_DELETE_FIELD, | ||
CREATED_FIELD, | ||
IS_MERGE_FIELD, | ||
ID_FIELD | ||
]; | ||
@@ -53,2 +63,3 @@ // src/util.ts | ||
} | ||
return mergeInto; | ||
} | ||
@@ -99,3 +110,5 @@ | ||
0 && (module.exports = { | ||
ALL_ROW_ID_FIELDS, | ||
CREATED_FIELD, | ||
ID_FIELD, | ||
IS_MERGE_FIELD, | ||
@@ -102,0 +115,0 @@ OBJECT_DELETE_FIELD, |
{ | ||
"name": "@braintrust/core", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Shared core dependencies for Braintrust packages", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8147
213