Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.43.1 - 2025-10-31
- Issue 53449: resolve lineage items from container path

### 1.43.0 - 2025-08-29
- Support `File` values directly in `Assay.importRun()` for `batchProperties` and (run) `properties`
- Can only be run with corresponding server-side changes in LabKey v25.09
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@labkey/api",
"version": "1.43.0",
"version": "1.43.1",
"description": "JavaScript client API for LabKey Server",
"scripts": {
"build": "npm run build:dist && npm run build:docs",
Expand Down
11 changes: 6 additions & 5 deletions src/labkey/Experiment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export interface LineagePKFilter {
export interface LineageItemBase {
comment?: string;
container: string;
containerPath: string;
cpasType?: string;
created: string;
createdBy: string;
Expand Down Expand Up @@ -211,7 +212,7 @@ export interface LineageRunStepBase {
protocol: LineageItemBase;
}

export type LineageRunStep = LineageItemBase & LineageIOConfig & LineageRunStepBase;
export type LineageRunStep = LineageIOConfig & LineageItemBase & LineageRunStepBase;

export interface LineageNodeBase {
absolutePath: string;
Expand All @@ -227,11 +228,11 @@ export interface LineageNodeBase {
}

/** The shape of a LineageNode is determined by the options specified on the lineage API. */
export type LineageNode = LineageItemBase & LineageIOConfig & LineageNodeBase;
export type LineageNode = LineageIOConfig & LineageItemBase & LineageNodeBase;

export interface LineageResponse {
/** Object containing all lineage nodes in this lineage result. Keyed by node LSID. */
nodes: { [lsid: string]: LineageNode };
nodes: Record<string, LineageNode>;
/**
* When request is made with "lsid" option the response will include a singular "seed".
* @deprecated since 19.3. Use "seeds" instead.
Expand Down Expand Up @@ -471,7 +472,7 @@ export function resolve(options: ResolveOptions): XMLHttpRequest {

// formerly, _saveBatches
function requestSaveBatches<SuccessPayload>(
rawOptions: SaveBatchOptions & SaveBatchesOptions,
rawOptions: SaveBatchesOptions & SaveBatchOptions,
payloadProcessor: (json: any) => SuccessPayload
): XMLHttpRequest {
return request({
Expand Down Expand Up @@ -599,7 +600,7 @@ export function saveRuns(options: SaveRunsOptions): XMLHttpRequest {

export interface EntitySequenceActionsOptions extends RequestCallbackOptions {
containerPath?: string;
kindName?: 'SampleSet' | 'DataClass';
kindName?: 'DataClass' | 'SampleSet';
newValue?: number;
rowId?: number;
seqType: 'genId' | 'rootSampleCount' | 'sampleCount';
Expand Down