Skip to content

Commit 555b165

Browse files
ZhongpinWangcloud-sdk-jsdeekshas8
authored
fix: Update outdated lockfile (#1087)
* Update lock * fix tests * fix: Changes from lint --------- Co-authored-by: cloud-sdk-js <cloud-sdk-js@github.com> Co-authored-by: Deeksha Sinha <88374536+deekshas8@users.noreply.github.com>
1 parent 8bdc488 commit 555b165

File tree

3 files changed

+548
-818
lines changed

3 files changed

+548
-818
lines changed

packages/document-grounding/src/tests/pipelines-api.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
mockClientCredentialsGrantCall
55
} from '../../../../test-util/mock-http.js';
66
import { PipelinesApi } from '../client/api/index.js';
7-
import type { Pipelines } from '../client/api/index.js';
7+
import type { GetPipelines } from '../client/api/index.js';
88

99
describe('pipelines', () => {
1010
beforeEach(() => {
@@ -15,7 +15,7 @@ describe('pipelines', () => {
1515
});
1616

1717
it('should get all pipelines', async () => {
18-
const expectedResponse: Pipelines = {
18+
const expectedResponse: GetPipelines = {
1919
resources: [
2020
{
2121
id: 'pipeline-id',
@@ -45,7 +45,7 @@ describe('pipelines', () => {
4545
'Content-Type': 'application/json'
4646
});
4747

48-
const result: Pipelines = await PipelinesApi.getAllPipelines(
48+
const result: GetPipelines = await PipelinesApi.getAllPipelines(
4949
{},
5050
{ 'AI-Resource-Group': 'default' }
5151
).execute();

packages/orchestration/src/util/stream.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { OrchestrationStreamResponse } from '../index.js';
22
import { mergeStreamResponse } from './stream.js';
3-
import type {
4-
CompletionPostResponseStreaming,
5-
OrchestrationStreamChunkResponse
6-
} from '../index.js';
3+
import type { CompletionPostResponseStreaming } from '../internal.js';
4+
import type { OrchestrationStreamChunkResponse } from '../index.js';
75

86
const llmBase = {
97
id: 'orchestration-id-1',

0 commit comments

Comments
 (0)