Skip to content

Commit 67bc1ab

Browse files
committed
fix: include internal to instrument info request
1 parent 7a6164f commit 67bc1ab

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/api/src/instruments/instruments.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,12 @@ export class InstrumentsService {
163163
options: EntityOperationOptions = {}
164164
): Promise<InstrumentInfo[]> {
165165
const instances = await this.find(query, options);
166-
return instances.map(({ __runtimeVersion, clientDetails, details, id, kind, language, tags }) => ({
166+
return instances.map(({ __runtimeVersion, clientDetails, details, id, internal, kind, language, tags }) => ({
167167
__runtimeVersion,
168168
clientDetails,
169169
details,
170170
id,
171+
internal,
171172
kind,
172173
language,
173174
tags

packages/runtime-core/src/types/instrument.series.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ declare type SeriesInstrument<TLanguage extends InstrumentLanguage = InstrumentL
88
BaseInstrument<TLanguage>,
99
{
1010
content: ScalarInstrumentInternal[];
11+
internal?: never;
1112
kind: 'SERIES';
1213
}
1314
>;

0 commit comments

Comments
 (0)