@braintrust/core
Advanced tools
Comparing version 0.0.45-dev to 0.0.45
@@ -155,2 +155,12 @@ import { z } from 'zod'; | ||
declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): Record<string, unknown>; | ||
declare function forEachMissingKey({ lhs, rhs, fn, }: { | ||
lhs: unknown; | ||
rhs: unknown; | ||
fn: (args: { | ||
lhs: Record<string, unknown>; | ||
k: string; | ||
v: unknown; | ||
path: string[]; | ||
}) => void; | ||
}): void; | ||
declare function capitalize(s: string, sep?: string): string; | ||
@@ -270,3 +280,3 @@ declare function snakeToCamelCase(s: string): string; | ||
git_diff: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
}, "strict", z.ZodTypeAny, { | ||
}, "strip", z.ZodTypeAny, { | ||
commit?: string | null | undefined; | ||
@@ -314,2 +324,4 @@ branch?: string | null | undefined; | ||
export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, type AnyDatasetRecord, BT_CURSOR_HEADER, BT_FOUND_EXISTING_HEADER, BT_IMPERSONATE_USER, type BackgroundLogEvent, CREATED_FIELD, type CollectMetadata, type CommentEvent, DEFAULT_IS_LEGACY_DATASET, type DatasetEvent, type DatasetRecord, type ExperimentEvent, type ExperimentLogFullArgs, type ExperimentLogPartialArgs, type GitFields, type GitMetadataSettings, ID_FIELD, IS_MERGE_FIELD, type IdField, type InputField, type InputsField, type LogCommentFullArgs, type LogFeedbackFullArgs, type LoggingEvent, MERGE_PATHS_FIELD, OBJECT_DELETE_FIELD, type OtherExperimentLogFields, PARENT_ID_FIELD, type ParentExperimentIds, type ParentProjectLogIds, type RepoInfo, type SanitizedExperimentLogPartialArgs, type Score, type Scorer, type ScorerArgs, type Source, SpanComponentsV1, SpanComponentsV2, SpanObjectTypeV1, SpanObjectTypeV2, SpanRowIdsV1, SpanRowIdsV2, type SpanType, SpanTypeAttribute, TRANSACTION_ID_FIELD, type TransactionId, VALID_SOURCES, batchItems, capitalize, constructJsonArray, ensureDatasetRecord, ensureLegacyDatasetRecord, ensureNewDatasetRecord, gitFieldsSchema, gitMetadataSettingsSchema, loadPrettyXact, makeLegacyEvent, mapAt, mergeDicts, mergeGitMetadataSettings, mergeRowBatch, prettifyXact, snakeToCamelCase, snakeToTitleCase, spanTypeAttributeValues }; | ||
declare function parseNoStrip<T extends z.ZodType>(schema: T, input: unknown): z.TypeOf<T>; | ||
export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, type AnyDatasetRecord, BT_CURSOR_HEADER, BT_FOUND_EXISTING_HEADER, BT_IMPERSONATE_USER, type BackgroundLogEvent, CREATED_FIELD, type CollectMetadata, type CommentEvent, DEFAULT_IS_LEGACY_DATASET, type DatasetEvent, type DatasetRecord, type ExperimentEvent, type ExperimentLogFullArgs, type ExperimentLogPartialArgs, type GitFields, type GitMetadataSettings, ID_FIELD, IS_MERGE_FIELD, type IdField, type InputField, type InputsField, type LogCommentFullArgs, type LogFeedbackFullArgs, type LoggingEvent, MERGE_PATHS_FIELD, OBJECT_DELETE_FIELD, type OtherExperimentLogFields, PARENT_ID_FIELD, type ParentExperimentIds, type ParentProjectLogIds, type RepoInfo, type SanitizedExperimentLogPartialArgs, type Score, type Scorer, type ScorerArgs, type Source, SpanComponentsV1, SpanComponentsV2, SpanObjectTypeV1, SpanObjectTypeV2, SpanRowIdsV1, SpanRowIdsV2, type SpanType, SpanTypeAttribute, TRANSACTION_ID_FIELD, type TransactionId, VALID_SOURCES, batchItems, capitalize, constructJsonArray, ensureDatasetRecord, ensureLegacyDatasetRecord, ensureNewDatasetRecord, forEachMissingKey, gitFieldsSchema, gitMetadataSettingsSchema, loadPrettyXact, makeLegacyEvent, mapAt, mergeDicts, mergeGitMetadataSettings, mergeRowBatch, parseNoStrip, prettifyXact, snakeToCamelCase, snakeToTitleCase, spanTypeAttributeValues }; |
{ | ||
"name": "@braintrust/core", | ||
"version": "0.0.45-dev", | ||
"version": "0.0.45", | ||
"description": "Shared core dependencies for Braintrust packages", | ||
@@ -8,2 +8,10 @@ "main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"build": "tsup", | ||
"watch": "tsup --watch", | ||
"clean": "rm -r dist/*", | ||
"prepublishOnly": "../../../scripts/node_prepublish_core.py", | ||
"postpublish": "../../../scripts/node_postpublish_core.py", | ||
"test": "vitest run" | ||
}, | ||
"exports": { | ||
@@ -63,9 +71,3 @@ "./package.json": "./package.json", | ||
"zod": "^3.22.4" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"watch": "tsup --watch", | ||
"clean": "rm -r dist/*", | ||
"test": "vitest run" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1716071
0
26936
13