@viamrobotics/sdk 0.40.2 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +7 -7
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +35 -35
- package/dist/gen/app/v1/app_connect.d.ts +12 -1
- package/dist/gen/app/v1/app_pb.d.ts +53 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +1743 -1713
- package/dist/main.umd.js +7 -7
- package/dist/services/ml-model/client.d.ts +1 -1
- package/dist/services/ml-model/index.d.ts +1 -1
- package/dist/services/ml-model/ml-model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import { type Options } from '../../types';
|
|
|
4
4
|
import type { RobotClient } from '../../robot';
|
|
5
5
|
export declare class MLModelClient implements MLModel {
|
|
6
6
|
private client;
|
|
7
|
-
private readonly name;
|
|
8
7
|
private readonly options;
|
|
8
|
+
readonly name: string;
|
|
9
9
|
callOptions: CallOptions;
|
|
10
10
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
11
11
|
metadata(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/service/mlmodel/v1/mlmodel_pb").MetadataResponse>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { MLModel, FlatTensors } from './ml-model';
|
|
1
|
+
export type { MLModel, Metadata, FlatTensors, TensorInfo } from './ml-model';
|
|
2
2
|
export { MLModelClient } from './client';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type * as mlModelAPI from '../../gen/service/mlmodel/v1/mlmodel_pb';
|
|
3
|
+
export type Metadata = mlModelAPI.Metadata;
|
|
4
|
+
export type TensorInfo = mlModelAPI.TensorInfo;
|
|
3
5
|
export type FlatTensors = mlModelAPI.FlatTensors;
|
|
4
6
|
export interface MLModel {
|
|
5
7
|
metadata: (extra?: Struct) => Promise<mlModelAPI.MetadataResponse>;
|