snss-types 1.0.3 → 1.0.5
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-types/index.d.ts +68 -112
- package/package.json +1 -1
package/dist-types/index.d.ts
CHANGED
|
@@ -6,6 +6,25 @@ declare class ModelEntity {
|
|
|
6
6
|
updateTime: Date;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* 场景节点(单个架构版本)
|
|
11
|
+
*/
|
|
12
|
+
interface CaseSceneInfo {
|
|
13
|
+
/** 场景唯一标识 */
|
|
14
|
+
scene_id: string;
|
|
15
|
+
/** 场景显示名称 */
|
|
16
|
+
scene_name: string;
|
|
17
|
+
/** 文件路径 */
|
|
18
|
+
file_path?: string;
|
|
19
|
+
/** 场景角色:基线/迭代/最终 */
|
|
20
|
+
scene_role: SceneRole;
|
|
21
|
+
/** 场景描述说明 */
|
|
22
|
+
description: string;
|
|
23
|
+
/** 上一个场景ID(可选,基线版本没有) */
|
|
24
|
+
prev_scene_id?: string;
|
|
25
|
+
/** 下一个场景ID(可选,最终版本没有) */
|
|
26
|
+
next_scene_id?: string;
|
|
27
|
+
}
|
|
9
28
|
/**
|
|
10
29
|
* 场景树结构对象类型
|
|
11
30
|
*/
|
|
@@ -20,7 +39,7 @@ interface SceneItem {
|
|
|
20
39
|
* 场景元数据详细信息类型
|
|
21
40
|
*/
|
|
22
41
|
interface SceneItemMeta {
|
|
23
|
-
scene_json?:
|
|
42
|
+
scene_json?: CaseSceneInfo;
|
|
24
43
|
manifest_json?: SceneManifestData;
|
|
25
44
|
constellations_json?: SceneConstellationsData;
|
|
26
45
|
satellites_json?: SceneSatellitesData;
|
|
@@ -32,25 +51,6 @@ interface SceneItemMeta {
|
|
|
32
51
|
metrics_json?: SceneMetricsData;
|
|
33
52
|
evaluation_json?: SceneEvaluationData;
|
|
34
53
|
}
|
|
35
|
-
/**
|
|
36
|
-
* 场景节点(单个架构版本)
|
|
37
|
-
*/
|
|
38
|
-
interface SceneItemSelfInfo {
|
|
39
|
-
/** 场景唯一标识 */
|
|
40
|
-
scene_id: string;
|
|
41
|
-
/** 场景显示名称 */
|
|
42
|
-
scene_name: string;
|
|
43
|
-
/** 文件路径 */
|
|
44
|
-
file_path?: string;
|
|
45
|
-
/** 场景角色:基线/迭代/最终 */
|
|
46
|
-
scene_role: SceneRole;
|
|
47
|
-
/** 场景描述说明 */
|
|
48
|
-
description: string;
|
|
49
|
-
/** 上一个场景ID(可选,基线版本没有) */
|
|
50
|
-
prev_scene_id?: string;
|
|
51
|
-
/** 下一个场景ID(可选,最终版本没有) */
|
|
52
|
-
next_scene_id?: string;
|
|
53
|
-
}
|
|
54
54
|
/**
|
|
55
55
|
* 场景角色类型
|
|
56
56
|
* - baseline: 基线架构版本
|
|
@@ -124,123 +124,78 @@ interface SceneSatellitesData {
|
|
|
124
124
|
satellites: SceneSatellite[];
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
128
|
-
*/
|
|
129
|
-
interface SceneCapacity {
|
|
130
|
-
max_access_capacity_mbps: number;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* 显示配置
|
|
127
|
+
* 节点列表
|
|
134
128
|
*/
|
|
135
|
-
interface
|
|
136
|
-
|
|
129
|
+
interface SceneNodesData {
|
|
130
|
+
nodes: SceneNode[];
|
|
137
131
|
}
|
|
138
132
|
/**
|
|
139
|
-
*
|
|
133
|
+
* 节点
|
|
140
134
|
*/
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* 终端类型(仅在 node_type = 'user_terminal' 时使用)
|
|
144
|
-
*/
|
|
145
|
-
type SceneTerminalType = 'fixed' | 'mobile' | 'airborne' | 'maritime';
|
|
146
|
-
/**
|
|
147
|
-
* 移动模型类型
|
|
148
|
-
*/
|
|
149
|
-
type SceneMobilityModel = 'static' | 'waypoint';
|
|
150
|
-
/**
|
|
151
|
-
* 网关节点
|
|
152
|
-
*/
|
|
153
|
-
interface SceneGatewayNode {
|
|
135
|
+
interface SceneNode {
|
|
154
136
|
node_id: string;
|
|
155
137
|
node_name: string;
|
|
156
|
-
node_type:
|
|
157
|
-
region: string;
|
|
138
|
+
node_type: SceneNodeType;
|
|
158
139
|
geo_position: SceneGeoPosition;
|
|
159
|
-
|
|
140
|
+
/** 仅在 node_type = "geteway" 时使用 */
|
|
141
|
+
region?: string;
|
|
142
|
+
/** 仅在 node_type = "geteway" 时使用 */
|
|
143
|
+
capacity?: SceneNodeGatewayCapacity;
|
|
144
|
+
/** 仅在 node_type = "user_terminal" 时使用 */
|
|
145
|
+
terminal_type?: SceneNodeTerminalType;
|
|
146
|
+
/** 仅在 node_type = "user_terminal" 时使用 */
|
|
147
|
+
mobility_model?: SceneNodeMobilityModel;
|
|
148
|
+
/** 仅在 node_type = "user_terminal" 时使用 */
|
|
149
|
+
display_options?: SceneNodeDisplayOptions;
|
|
160
150
|
}
|
|
161
151
|
/**
|
|
162
|
-
*
|
|
152
|
+
* 节点类型
|
|
163
153
|
*/
|
|
164
|
-
|
|
165
|
-
node_id: string;
|
|
166
|
-
node_name: string;
|
|
167
|
-
node_type: 'user_terminal';
|
|
168
|
-
terminal_type: 'fixed';
|
|
169
|
-
mobility_model: 'static';
|
|
170
|
-
geo_position: SceneGeoPosition;
|
|
171
|
-
display_options?: SceneDisplayOptions;
|
|
172
|
-
}
|
|
154
|
+
type SceneNodeType = 'gateway' | 'user_terminal' | 'control_center' | 'other';
|
|
173
155
|
/**
|
|
174
|
-
*
|
|
156
|
+
* 容量配置
|
|
175
157
|
*/
|
|
176
|
-
interface
|
|
177
|
-
|
|
178
|
-
node_name: string;
|
|
179
|
-
node_type: 'user_terminal';
|
|
180
|
-
terminal_type: 'mobile';
|
|
181
|
-
mobility_model: 'waypoint';
|
|
182
|
-
geo_position: SceneGeoPosition;
|
|
183
|
-
display_options?: SceneDisplayOptions;
|
|
158
|
+
interface SceneNodeGatewayCapacity {
|
|
159
|
+
max_access_capacity_mbps: number;
|
|
184
160
|
}
|
|
185
161
|
/**
|
|
186
|
-
*
|
|
162
|
+
* 终端类型(仅在 node_type = 'user_terminal' 时使用)
|
|
163
|
+
* 固定、移动、空载、水载
|
|
187
164
|
*/
|
|
188
|
-
|
|
189
|
-
node_id: string;
|
|
190
|
-
node_name: string;
|
|
191
|
-
node_type: 'user_terminal';
|
|
192
|
-
terminal_type: Exclude<SceneTerminalType, 'fixed' | 'mobile'>;
|
|
193
|
-
mobility_model: SceneMobilityModel;
|
|
194
|
-
geo_position: SceneGeoPosition;
|
|
195
|
-
display_options?: SceneDisplayOptions;
|
|
196
|
-
}
|
|
165
|
+
type SceneNodeTerminalType = 'fixed' | 'mobile' | 'airborne' | 'maritime';
|
|
197
166
|
/**
|
|
198
|
-
*
|
|
167
|
+
* 移动模型类型
|
|
168
|
+
* static :静态模型,终端位置始终采用 geo_position 中给出的初始经纬高,适用于固定用户终端
|
|
169
|
+
* waypoint :路径点模型,瞬时经度、纬度、高度和瞬时速度矢量由动态时间序列
|
|
170
|
+
* 周期性给出,适用于可移动的用户终端。瞬时速度矢量采用 WGS 坐标系描述,
|
|
171
|
+
* 单位建议为 km/s 或 m/s
|
|
199
172
|
*/
|
|
200
|
-
|
|
201
|
-
node_id: string;
|
|
202
|
-
node_name: string;
|
|
203
|
-
node_type: 'control_center';
|
|
204
|
-
geo_position: SceneGeoPosition;
|
|
205
|
-
}
|
|
173
|
+
type SceneNodeMobilityModel = 'static' | 'waypoint';
|
|
206
174
|
/**
|
|
207
|
-
*
|
|
175
|
+
* 显示配置
|
|
208
176
|
*/
|
|
209
|
-
interface
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
node_type: 'other';
|
|
213
|
-
geo_position: SceneGeoPosition;
|
|
177
|
+
interface SceneNodeDisplayOptions {
|
|
178
|
+
/** show_trajectory 表示是否默认显示该用户终端的运动轨迹。当前版本作为预留字段 */
|
|
179
|
+
show_trajectory?: boolean;
|
|
214
180
|
}
|
|
215
181
|
/**
|
|
216
|
-
*
|
|
217
|
-
*/
|
|
218
|
-
type SceneNode = SceneGatewayNode | SceneStaticUserTerminal | SceneMobileUserTerminal | SceneOtherUserTerminal | SceneControlCenterNode | SceneOtherNode;
|
|
219
|
-
/**
|
|
220
|
-
* 节点列表
|
|
182
|
+
* 链路列表
|
|
221
183
|
*/
|
|
222
|
-
interface
|
|
223
|
-
|
|
184
|
+
interface SceneLinksData {
|
|
185
|
+
links: SceneLink[];
|
|
186
|
+
bulk_config_rules: SceneBulkConfigRule[];
|
|
224
187
|
}
|
|
225
|
-
/**
|
|
226
|
-
* 链路类型
|
|
227
|
-
*/
|
|
228
|
-
type SceneLinkType = 'ISL' | 'IOL' | 'GSL' | 'BACKHAUL';
|
|
229
|
-
/**
|
|
230
|
-
* 节点类型
|
|
231
|
-
*/
|
|
232
|
-
type SceneLinkNodeType = 'satellite' | 'gateway';
|
|
233
188
|
/**
|
|
234
189
|
* 链路实例
|
|
235
190
|
*/
|
|
236
191
|
interface SceneLink {
|
|
237
192
|
link_id: string;
|
|
193
|
+
link_type: SceneLinkType;
|
|
238
194
|
node_a_id: string;
|
|
239
195
|
node_a_type: SceneLinkNodeType;
|
|
240
196
|
node_b_id: string;
|
|
241
197
|
node_b_type: SceneLinkNodeType;
|
|
242
|
-
|
|
243
|
-
capacity_mbps: number;
|
|
198
|
+
capacity_mbps?: number;
|
|
244
199
|
node_a_constellation_id?: string;
|
|
245
200
|
node_b_constellation_id?: string;
|
|
246
201
|
}
|
|
@@ -253,12 +208,13 @@ interface SceneBulkConfigRule {
|
|
|
253
208
|
capacity_mbps: number;
|
|
254
209
|
}
|
|
255
210
|
/**
|
|
256
|
-
*
|
|
211
|
+
* 链路类型ISL(星间链路) 、 IOL(层间链路) 、 GSL(星地链路) 、 BACKHAUL(馈电链路)
|
|
257
212
|
*/
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
213
|
+
type SceneLinkType = 'ISL' | 'IOL' | 'GSL' | 'BACKHAUL';
|
|
214
|
+
/**
|
|
215
|
+
* 节点类型
|
|
216
|
+
*/
|
|
217
|
+
type SceneLinkNodeType = 'satellite' | 'gateway' | 'user_terminal' | 'control_center' | 'other';
|
|
262
218
|
/**
|
|
263
219
|
* 任务类型
|
|
264
220
|
*/
|
|
@@ -543,7 +499,7 @@ interface CaseJsonData {
|
|
|
543
499
|
/** 场景顺序列表(按迭代顺序排列的 scene_id 数组) */
|
|
544
500
|
scene_order: string[];
|
|
545
501
|
/** 场景详情列表 */
|
|
546
|
-
scenes:
|
|
502
|
+
scenes: CaseSceneInfo[];
|
|
547
503
|
}
|
|
548
504
|
/**
|
|
549
505
|
* 案例库树结构对象
|
|
@@ -690,4 +646,4 @@ interface FigureAssetsImageResponseData {
|
|
|
690
646
|
fileName: string;
|
|
691
647
|
}
|
|
692
648
|
|
|
693
|
-
export { type BaseResponse, type CaseEvaluationSummaryJsonData, type CaseItem, type CaseItemMeta, type CaseJsonData, type CaseSceneDimensionScore, type CaseSceneEvaluation, type CaseTreeResponse, type CaseType, DirPathDto, type FigureAssetsImageResponse, type FigureAssetsImageResponseData, InitCaseCacheDto, ModelDto, ModelEntity, type ModelResponse, type SceneBulkConfigRule, type
|
|
649
|
+
export { type BaseResponse, type CaseEvaluationSummaryJsonData, type CaseItem, type CaseItemMeta, type CaseJsonData, type CaseSceneDimensionScore, type CaseSceneEvaluation, type CaseSceneInfo, type CaseTreeResponse, type CaseType, DirPathDto, type FigureAssetsImageResponse, type FigureAssetsImageResponseData, InitCaseCacheDto, ModelDto, ModelEntity, type ModelResponse, type SceneBulkConfigRule, type SceneChartConfig, type SceneConstellation, type SceneConstellationType, type SceneConstellationsData, type SceneEvaluationChart, type SceneEvaluationData, type SceneEvaluationDimension, type SceneEvaluationFigureAsset, type SceneEvaluationMethod, type SceneEvaluationModel, type SceneFigureAsset, type SceneFinalScore, type SceneFlow, type SceneFlowPriority, type SceneFlowState, type SceneFlowsData, type SceneGeoPosition, type SceneItem, type SceneItemMeta, type SceneItemMetaResponse, type SceneLink, type SceneLinkNodeType, type SceneLinkState, type SceneLinkType, type SceneLinksData, type SceneManifestData, type SceneManifestTime, type SceneMetric, type SceneMetricDirection, type SceneMetricsData, type SceneMetricsSummary, type SceneNode, type SceneNodeDisplayOptions, type SceneNodeGatewayCapacity, type SceneNodeMobilityModel, type SceneNodeTerminalType, type SceneNodeType, type SceneNodesData, type SceneRole, type SceneSatellite, type SceneSatelliteTLE, type SceneSatelliteType, type SceneSatellitesData, type SceneServiceType, type SceneTask, type SceneTaskPriority, type SceneTaskState, type SceneTaskType, type SceneTasksData, type SceneTimelineData, type SceneTimelineFrame, type SceneTimeseriesPoint, type SceneUserState, type SceneVelocityWGS, SendMessageDto, type UploadFileResponse, type UploadFileResponseData };
|