@nnepoch/dtc-sdk 3.0.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/README.md +298 -0
- package/dist/browser/dtc-sdk-3.0.0.js +2 -0
- package/dist/cjs/index.cjs +38 -0
- package/dist/cjs/index.d.cts +5600 -0
- package/dist/esm/index.d.ts +5600 -0
- package/dist/esm/index.js +38 -0
- package/docs/api/api/classes/Animation.md +280 -0
- package/docs/api/api/classes/ApiRegistryError.md +60 -0
- package/docs/api/api/classes/Camera.md +601 -0
- package/docs/api/api/classes/Connect.md +257 -0
- package/docs/api/api/classes/Dlss.md +67 -0
- package/docs/api/api/classes/HighLighterEffect.md +173 -0
- package/docs/api/api/classes/Layer.md +444 -0
- package/docs/api/api/classes/Model.md +193 -0
- package/docs/api/api/classes/ModelPOI.md +279 -0
- package/docs/api/api/classes/ModelTransform.md +579 -0
- package/docs/api/api/classes/PathPatrol.md +337 -0
- package/docs/api/api/classes/Popup.md +323 -0
- package/docs/api/api/classes/Scene.md +272 -0
- package/docs/api/api/classes/Screen.md +157 -0
- package/docs/api/api/classes/TimeLine.md +274 -0
- package/docs/api/api/classes/UIPOI.md +318 -0
- package/docs/api/api/classes/WeatherSystem.md +581 -0
- package/docs/api/api/functions/createApiFacade.md +20 -0
- package/docs/api/api/index.md +45 -0
- package/docs/api/api/interfaces/ApiInstanceMap.md +107 -0
- package/docs/api/api/interfaces/ApiRegistryContext.md +47 -0
- package/docs/api/api/type-aliases/ApiFacade.md +7 -0
- package/docs/api/api/type-aliases/ApiModuleFactory.md +23 -0
- package/docs/api/api/type-aliases/ApiModuleKey.md +5 -0
- package/docs/api/api/type-aliases/ApiRegistry.md +7 -0
- package/docs/api/api/variables/API_MODULE_KEYS.md +5 -0
- package/docs/api/api/variables/PendingValidationSchemaMap.md +9 -0
- package/docs/api/api/variables/apiRegistry.md +7 -0
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +738 -0
- package/docs/api/application/DTCEngine/index.md +11 -0
- package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +22 -0
- package/docs/api/index.md +7 -0
- package/docs/api/typedoc-sidebar.json +735 -0
- package/docs/api/types/enumerations/LayerEnum.md +21 -0
- package/docs/api/types/enumerations/ModelTransformType.md +251 -0
- package/docs/api/types/enumerations/VideoCodeType.md +37 -0
- package/docs/api/types/index.md +146 -0
- package/docs/api/types/interfaces/AnimationGetLengthRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationPlayRequest.md +61 -0
- package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationStartLoopRequest.md +53 -0
- package/docs/api/types/interfaces/AnimationStopLoopRequest.md +21 -0
- package/docs/api/types/interfaces/AnimationStopRequest.md +21 -0
- package/docs/api/types/interfaces/ApiRequestEnvelope.md +45 -0
- package/docs/api/types/interfaces/ApiResponseEnvelope.md +57 -0
- package/docs/api/types/interfaces/AuthErrorInfo.md +21 -0
- package/docs/api/types/interfaces/AuthSessionSnapshot.md +45 -0
- package/docs/api/types/interfaces/CameraFlyByPathRequest.md +37 -0
- package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +29 -0
- package/docs/api/types/interfaces/CameraLookAtRequest.md +69 -0
- package/docs/api/types/interfaces/CameraObjFollowRequest.md +37 -0
- package/docs/api/types/interfaces/CameraSetFlySpeedRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetFovRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetPositionAndRotationRequest.md +21 -0
- package/docs/api/types/interfaces/CenterConnectResult.md +27 -0
- package/docs/api/types/interfaces/CenterEnvelope.md +33 -0
- package/docs/api/types/interfaces/CenterServiceInfo.md +33 -0
- package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +9 -0
- package/docs/api/types/interfaces/DlssSetEnableRequest.md +23 -0
- package/docs/api/types/interfaces/DlssSetQualityRequest.md +14 -0
- package/docs/api/types/interfaces/EngineConfig.md +127 -0
- package/docs/api/types/interfaces/EngineStatusInfo.md +59 -0
- package/docs/api/types/interfaces/FeatureToggleRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterEnableRequest.md +11 -0
- package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +29 -0
- package/docs/api/types/interfaces/LayerAddRequest.md +61 -0
- package/docs/api/types/interfaces/LayerChildElementRequest.md +21 -0
- package/docs/api/types/interfaces/LayerModelAddRequest.md +75 -0
- package/docs/api/types/interfaces/LayerModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/LayerPOIAddRequest.md +117 -0
- package/docs/api/types/interfaces/LayerSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/LayerShowUIPopRequest.md +51 -0
- package/docs/api/types/interfaces/LayerSwitchModelRequest.md +29 -0
- package/docs/api/types/interfaces/ModelAddRequest.md +61 -0
- package/docs/api/types/interfaces/ModelBoundsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIAddRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIGetInfoRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIVisibleByGroupRequest.md +21 -0
- package/docs/api/types/interfaces/ModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformNodeRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +85 -0
- package/docs/api/types/interfaces/ModelTransformRotateRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformScaleRequest.md +37 -0
- package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +61 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionResult.md +47 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +29 -0
- package/docs/api/types/interfaces/NetworkAdaptationState.md +41 -0
- package/docs/api/types/interfaces/NetworkDecisionTrace.md +53 -0
- package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +53 -0
- package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +59 -0
- package/docs/api/types/interfaces/PathPatrolAddRequest.md +109 -0
- package/docs/api/types/interfaces/PathPatrolNodeRequest.md +21 -0
- package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +37 -0
- package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/PopupAddRequest.md +21 -0
- package/docs/api/types/interfaces/PopupDelayRequest.md +13 -0
- package/docs/api/types/interfaces/PopupItemRequest.md +61 -0
- package/docs/api/types/interfaces/PopupRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/PopupShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/PopupShowRequest.md +29 -0
- package/docs/api/types/interfaces/PopupSyncInfoRequest.md +37 -0
- package/docs/api/types/interfaces/QosEvent.md +65 -0
- package/docs/api/types/interfaces/QosReportingPayload.md +47 -0
- package/docs/api/types/interfaces/QosRuntimeContext.md +29 -0
- package/docs/api/types/interfaces/QosSessionContext.md +29 -0
- package/docs/api/types/interfaces/QosWarnErrorSummary.md +37 -0
- package/docs/api/types/interfaces/ResolvedEngineConfig.md +123 -0
- package/docs/api/types/interfaces/SceneListenCompassRequest.md +13 -0
- package/docs/api/types/interfaces/SceneSwitchRequest.md +13 -0
- package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +14 -0
- package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +15 -0
- package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +23 -0
- package/docs/api/types/interfaces/ScreenSetVideoDecodeRequest.md +13 -0
- package/docs/api/types/interfaces/SignallingAllocateResponse.md +27 -0
- package/docs/api/types/interfaces/StandardResponse.md +33 -0
- package/docs/api/types/interfaces/TimeSerialNode.md +21 -0
- package/docs/api/types/interfaces/TimelineNodeRequest.md +21 -0
- package/docs/api/types/interfaces/TimelinePlayRequest.md +53 -0
- package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +37 -0
- package/docs/api/types/interfaces/TimelineStopRequest.md +45 -0
- package/docs/api/types/interfaces/UIPOIAddRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIUpdateRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIUpdateStateRequest.md +21 -0
- package/docs/api/types/interfaces/Vector3JsonInput.md +27 -0
- package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +69 -0
- package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +29 -0
- package/docs/api/types/interfaces/WeatherSetDayAndNightRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherTypeRequest.md +27 -0
- package/docs/api/types/type-aliases/ApiCallback.md +21 -0
- package/docs/api/types/type-aliases/AuthWorkflowState.md +5 -0
- package/docs/api/types/type-aliases/DlssQuality.md +7 -0
- package/docs/api/types/type-aliases/EngineLogLevel.md +5 -0
- package/docs/api/types/type-aliases/EngineViewMode.md +5 -0
- package/docs/api/types/type-aliases/GetWeatherTypeRequest.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationActionType.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationLevel.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationMode.md +9 -0
- package/docs/api/types/type-aliases/QosEventName.md +9 -0
- package/docs/api/types/type-aliases/QosLevel.md +7 -0
- package/docs/api/types/type-aliases/QosStage.md +7 -0
- package/docs/api/types/type-aliases/QosStatus.md +7 -0
- package/docs/api/types/type-aliases/ScreenRenderBitratePreset.md +7 -0
- package/docs/api/types/type-aliases/Season.md +7 -0
- package/docs/api/types/type-aliases/Vector3Input.md +5 -0
- package/docs/api/types/variables/DlssQuality.md +57 -0
- package/docs/api/types/variables/QOS_EVENT_NAMES.md +7 -0
- package/docs/api/types/variables/ScreenRenderBitratePreset.md +39 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetOptions.md +5 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetValueMap.md +27 -0
- package/docs/api/types/variables/Season.md +33 -0
- package/package.json +86 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [api](../index.md) / ApiInstanceMap
|
|
2
|
+
|
|
3
|
+
# Interface: ApiInstanceMap
|
|
4
|
+
|
|
5
|
+
对外 API 门面与实例类型映射。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### Connect
|
|
10
|
+
|
|
11
|
+
> **Connect**: [`Connect`](../classes/Connect.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### Type
|
|
16
|
+
|
|
17
|
+
> **Type**: `Type`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### Screen
|
|
22
|
+
|
|
23
|
+
> **Screen**: [`Screen`](../classes/Screen.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### Dlss
|
|
28
|
+
|
|
29
|
+
> **Dlss**: [`Dlss`](../classes/Dlss.md)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### Camera
|
|
34
|
+
|
|
35
|
+
> **Camera**: [`Camera`](../classes/Camera.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### Scene
|
|
40
|
+
|
|
41
|
+
> **Scene**: [`Scene`](../classes/Scene.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### Layer
|
|
46
|
+
|
|
47
|
+
> **Layer**: [`Layer`](../classes/Layer.md)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### Model
|
|
52
|
+
|
|
53
|
+
> **Model**: [`Model`](../classes/Model.md)
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### UIPOI
|
|
58
|
+
|
|
59
|
+
> **UIPOI**: [`UIPOI`](../classes/UIPOI.md)
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### ModelPOI
|
|
64
|
+
|
|
65
|
+
> **ModelPOI**: [`ModelPOI`](../classes/ModelPOI.md)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### ModelTransform
|
|
70
|
+
|
|
71
|
+
> **ModelTransform**: [`ModelTransform`](../classes/ModelTransform.md)
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### PathPatrol
|
|
76
|
+
|
|
77
|
+
> **PathPatrol**: [`PathPatrol`](../classes/PathPatrol.md)
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### HighlighterEffect
|
|
82
|
+
|
|
83
|
+
> **HighlighterEffect**: [`HighLighterEffect`](../classes/HighLighterEffect.md)
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### Popup
|
|
88
|
+
|
|
89
|
+
> **Popup**: [`Popup`](../classes/Popup.md)
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
### Animation
|
|
94
|
+
|
|
95
|
+
> **Animation**: [`Animation`](../classes/Animation.md)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### TimeLine
|
|
100
|
+
|
|
101
|
+
> **TimeLine**: [`TimeLine`](../classes/TimeLine.md)
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### WeatherSystem
|
|
106
|
+
|
|
107
|
+
> **WeatherSystem**: [`WeatherSystem`](../classes/WeatherSystem.md)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [api](../index.md) / ApiRegistryContext
|
|
2
|
+
|
|
3
|
+
# Interface: ApiRegistryContext
|
|
4
|
+
|
|
5
|
+
API 装配上下文,统一承载模块工厂需要的依赖。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### bridge
|
|
10
|
+
|
|
11
|
+
> **bridge**: `RequestBridge`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### authWorkflow
|
|
16
|
+
|
|
17
|
+
> **authWorkflow**: `AuthWorkflowLike`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### connectionLifecycle
|
|
22
|
+
|
|
23
|
+
> **connectionLifecycle**: `ConnectionLifecycleLike`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### createLogger()
|
|
28
|
+
|
|
29
|
+
> **createLogger**: (`moduleName`) => `ModuleLogger`
|
|
30
|
+
|
|
31
|
+
#### Parameters
|
|
32
|
+
|
|
33
|
+
| Parameter | Type |
|
|
34
|
+
| ------ | ------ |
|
|
35
|
+
| `moduleName` | keyof [`ApiInstanceMap`](ApiInstanceMap.md) |
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`ModuleLogger`
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### popupManager
|
|
44
|
+
|
|
45
|
+
> **popupManager**: `PopupManager`
|
|
46
|
+
|
|
47
|
+
前端 Popup 管理器。
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [api](../index.md) / ApiModuleFactory
|
|
2
|
+
|
|
3
|
+
# Type Alias: ApiModuleFactory()\<TModuleKey\>
|
|
4
|
+
|
|
5
|
+
> **ApiModuleFactory**\<`TModuleKey`\> = (`context`) => [`ApiInstanceMap`](../interfaces/ApiInstanceMap.md)\[`TModuleKey`\]
|
|
6
|
+
|
|
7
|
+
单个 API 模块工厂函数签名。
|
|
8
|
+
|
|
9
|
+
## Type Parameters
|
|
10
|
+
|
|
11
|
+
| Type Parameter |
|
|
12
|
+
| ------ |
|
|
13
|
+
| `TModuleKey` *extends* [`ApiModuleKey`](ApiModuleKey.md) |
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type |
|
|
18
|
+
| ------ | ------ |
|
|
19
|
+
| `context` | [`ApiRegistryContext`](../interfaces/ApiRegistryContext.md) |
|
|
20
|
+
|
|
21
|
+
## Returns
|
|
22
|
+
|
|
23
|
+
[`ApiInstanceMap`](../interfaces/ApiInstanceMap.md)\[`TModuleKey`\]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [api](../index.md) / PendingValidationSchemaMap
|
|
2
|
+
|
|
3
|
+
# Variable: PendingValidationSchemaMap
|
|
4
|
+
|
|
5
|
+
> `const` **PendingValidationSchemaMap**: `Record`\<`string`, `string`[]\> = `{}`
|
|
6
|
+
|
|
7
|
+
未覆盖模块的校验占位清单:
|
|
8
|
+
- V1 先覆盖高频模块 Connect/Camera/Scene/Model 等
|
|
9
|
+
- 其余模块按此清单逐步补齐 schema,并通过 BaseApi 第四参数接入
|