@braintrust/core
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -6,2 +6,5 @@ declare const TRANSACTION_ID_FIELD = "_xact_id"; | ||
declare const ID_FIELD = "id"; | ||
declare const AUDIT_SOURCE_FIELD = "_audit_source"; | ||
declare const AUDIT_METADATA_FIELD = "_audit_metadata"; | ||
declare const VALID_SOURCES: string[]; | ||
declare const ALL_ROW_ID_FIELDS: string[]; | ||
@@ -28,2 +31,2 @@ | ||
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 }; | ||
export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, CREATED_FIELD, ID_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, type Score, type Scorer, type ScorerArgs, TRANSACTION_ID_FIELD, VALID_SOURCES, mergeDicts, mergeRowBatch }; |
@@ -24,2 +24,4 @@ "use strict"; | ||
ALL_ROW_ID_FIELDS: () => ALL_ROW_ID_FIELDS, | ||
AUDIT_METADATA_FIELD: () => AUDIT_METADATA_FIELD, | ||
AUDIT_SOURCE_FIELD: () => AUDIT_SOURCE_FIELD, | ||
CREATED_FIELD: () => CREATED_FIELD, | ||
@@ -30,2 +32,3 @@ ID_FIELD: () => ID_FIELD, | ||
TRANSACTION_ID_FIELD: () => TRANSACTION_ID_FIELD, | ||
VALID_SOURCES: () => VALID_SOURCES, | ||
mergeDicts: () => mergeDicts, | ||
@@ -42,2 +45,5 @@ mergeRowBatch: () => mergeRowBatch | ||
var ID_FIELD = "id"; | ||
var AUDIT_SOURCE_FIELD = "_audit_source"; | ||
var AUDIT_METADATA_FIELD = "_audit_metadata"; | ||
var VALID_SOURCES = ["app", "api", "external"]; | ||
var ALL_ROW_ID_FIELDS = [ | ||
@@ -111,2 +117,4 @@ TRANSACTION_ID_FIELD, | ||
ALL_ROW_ID_FIELDS, | ||
AUDIT_METADATA_FIELD, | ||
AUDIT_SOURCE_FIELD, | ||
CREATED_FIELD, | ||
@@ -117,4 +125,5 @@ ID_FIELD, | ||
TRANSACTION_ID_FIELD, | ||
VALID_SOURCES, | ||
mergeDicts, | ||
mergeRowBatch | ||
}); |
{ | ||
"name": "@braintrust/core", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"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
9092
231