Skip to content

Generate docs for the @adk/js package using TypeDoc#73

Closed
kalenkevich wants to merge 1 commit intomainfrom
docs-generation
Closed

Generate docs for the @adk/js package using TypeDoc#73
kalenkevich wants to merge 1 commit intomainfrom
docs-generation

Conversation

@kalenkevich
Copy link
Copy Markdown
Collaborator

No description provided.

import {maybeSetOtelProviders} from '../../src/telemetry/setup.js';
import type {OTelHooks} from '../../src/telemetry/setup.js';
import {trace} from '@opentelemetry/api';
import {metrics} from '@opentelemetry/api';
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those changes because of the formatter mismatch between google3 and vscode. I will resolve that a bit later, please ignore this for now.

Comment on lines +126 to +147
const mockSpanProcessor = {
forceFlush: vi.fn(),
onStart: vi.fn(),
onEnd: vi.fn(),
shutdown: vi.fn(),
};
const mockMetricReader = {
forceFlush: vi.fn(),
setMetricProducer: vi.fn(),
selectAggregation: vi.fn(),
selectAggregationTemporality: vi.fn(),
selectCardinalityLimit: vi.fn(),
collect: vi.fn(),
shutdown: vi.fn(),
} as unknown as any;
const mockLogProcessor = {
forceFlush: vi.fn(),
onStart: vi.fn(),
onEnd: vi.fn(),
shutdown: vi.fn(),
onEmit: vi.fn(),
};
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is actual change for this file. It is required to cast types properly else the doc generation will fail.

* SPDX-License-Identifier: Apache-2.0
*/

import { toGeminiSchema } from "@google/adk/utils/gemini_schema_util";
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue as above.

});
});
import {Type} from '@google/genai';
import {toGeminiSchema} from '../../src/utils/gemini_schema_util.js';
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is actual change. toGeminiSchema is a private and not exposed to the public so using relative path to test this.

@kalenkevich kalenkevich deleted the docs-generation branch January 28, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants