@ray-js/robot-data-stream 0.0.15-beta.2 → 0.0.15-beta.3

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.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/mini';
1
+ import * as z from 'zod/mini';
2
2
  export declare const setCarpetCleanSchema: any;
3
3
  declare const carpetCleanResponseSchema: any;
4
4
  export type SetCarpetCleanData = z.infer<typeof setCarpetCleanSchema>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/mini';
1
+ import * as z from 'zod/mini';
2
2
  import { BaseResponseSchema } from './base';
3
3
 
4
4
  // 设置地毯清扫参数 Schema
@@ -9,11 +9,11 @@ const furnitureModelInfoSchema = z.object({
9
9
  // 家具模型类型
10
10
  scale: z.number(),
11
11
  // 家具模型缩放比例
12
- size: z.tuple([z.number(), z.number(), z.number()]),
12
+ size: z.array(z.number()),
13
13
  // 家具模型尺寸
14
- rotation: z.tuple([z.number(), z.number(), z.number()]),
14
+ rotation: z.array(z.number()),
15
15
  // 家具模型旋转角度
16
- position: z.tuple([z.number(), z.number(), z.number()]) // 家具模型位置
16
+ position: z.array(z.number()) // 家具模型位置
17
17
  });
18
18
 
19
19
  // 请求家具列表参数 Schema(目前为空,但保留扩展性)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/robot-data-stream",
3
- "version": "0.0.15-beta.2",
3
+ "version": "0.0.15-beta.3",
4
4
  "description": "扫地机P2P数据流标准化组件",
5
5
  "main": "lib/index",
6
6
  "files": [