@m4l/gclick-realtime 1.6.0 → 1.6.1
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/dummy/runtime/dummy.d.ts.map +1 -1
- package/dummy/runtime/dummy.js +2 -0
- package/package.json +1 -1
- package/web/index.d.ts +1 -1
- package/web/index.d.ts.map +1 -1
- package/web/index.js +24 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dummy.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick-realtime/src/dummy/runtime/dummy.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"dummy.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick-realtime/src/dummy/runtime/dummy.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAmhBvD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,cAAc;IACjD,OAAO,CAAC,kBAAkB,CAAuD;IAEjF,OAAO,CAAC,gBAAgB,CAAS;IAEjC,OAAO,CAAC,eAAe,CAAqC;IAE5D;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAQ7B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAU9B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IA+BjC;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAkC7B;;OAEG;IACH,OAAO,CAAC,aAAa;IASrB;;OAEG;IACH,OAAO,CAAC,cAAc;IAsBtB;;OAEG;IACH,KAAK,IAAI,IAAI;IAiDb;;OAEG;IACH,IAAI,IAAI,IAAI;CASb;AAED,eAAe,eAAe,CAAC"}
|
package/dummy/runtime/dummy.js
CHANGED
|
@@ -22,9 +22,11 @@ function b() {
|
|
|
22
22
|
getState() {
|
|
23
23
|
return c?.getState() ?? "stopped";
|
|
24
24
|
},
|
|
25
|
+
/** Pauses the active dummy playback controller and returns its current state. */
|
|
25
26
|
pause() {
|
|
26
27
|
return c?.pause(), e.__M4L_TEST_DUMMY_PLAYBACK_DRIVER__?.getState() ?? "stopped";
|
|
27
28
|
},
|
|
29
|
+
/** Resumes the active dummy playback controller with the given options and returns its current state. */
|
|
28
30
|
resume(t) {
|
|
29
31
|
return c?.resume(t), e.__M4L_TEST_DUMMY_PLAYBACK_DRIVER__?.getState() ?? "stopped";
|
|
30
32
|
}
|
package/package.json
CHANGED
package/web/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './producer/index';
|
|
2
2
|
export * from './consumer/index';
|
|
3
3
|
export * from './runtime/index';
|
|
4
|
-
export * from './host/index';
|
|
5
4
|
export * from './shared/index';
|
|
5
|
+
export * from './host/index';
|
|
6
6
|
export { createRealTimeProducerTools } from '../../../../dist/packages/@m4l/realtime-runtime/web';
|
|
7
7
|
export type { RealTimeProducerTools } from '@m4l/realtime-runtime';
|
|
8
8
|
export type { RealTimeDummyCoordinate, RealTimeDummyDeletePhase, RealTimeDummyDeleteSegment, RealTimeDummyDeviceBlueprint, RealTimeDummyDrivePhase, RealTimeDummyDriveSegment, RealTimeDummyExecutionPhase, RealTimeDummyExecutionPhaseBase, RealTimeDummyExecutionPlan, RealTimeDummyExecutionPlanSegment, RealTimeDummyExecutionStateOverrides, RealTimeDummyGeneratedRouteArtifact, RealTimeDummyGeneratedRouteArtifactSampledPoint, RealTimeDummyGeneratedRoutesCatalog, RealTimeDummyGooglePolylineQuality, RealTimeDummyGoogleRoutingPreference, RealTimeDummyGoogleTrafficModel, RealTimeDummyGoogleTrafficSpeedCategory, RealTimeDummyGoogleTravelMode, RealTimeDummyIdlePhase, RealTimeDummyIdleSegment, RealTimeDummyNumericRangeExpectation, RealTimeDummyRouteSeed, RealTimeDummyRouteSeedIntermediate, RealTimeDummyRouteSeedLocation, RealTimeDummyRouteSeedPassThrough, RealTimeDummyRouteTemplate, RealTimeDummyRouteWaypoint, RealTimeDummyScenarioDefinition, RealTimeDummyScenarioDevice, RealTimeDummySimulationConfig, RealTimeDummySimulationPlayback, RealTimeDummySimulationPresetDefinition, } from '../dummy/index';
|
package/web/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/gclick-realtime/src/web/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/gclick-realtime/src/web/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,YAAY,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,EAC1B,iCAAiC,EACjC,oCAAoC,EACpC,mCAAmC,EACnC,+CAA+C,EAC/C,mCAAmC,EACnC,kCAAkC,EAClC,oCAAoC,EACpC,+BAA+B,EAC/B,uCAAuC,EACvC,6BAA6B,EAC7B,sBAAsB,EACtB,wBAAwB,EACxB,oCAAoC,EACpC,sBAAsB,EACtB,kCAAkC,EAClC,8BAA8B,EAC9B,iCAAiC,EACjC,0BAA0B,EAC1B,0BAA0B,EAC1B,+BAA+B,EAC/B,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+B,EAC/B,uCAAuC,GACxC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,EAC7C,iCAAiC,EACjC,kCAAkC,EAClC,+BAA+B,GAChC,MAAM,gBAAgB,CAAC"}
|
package/web/index.js
CHANGED
|
@@ -14,18 +14,18 @@ import { createAtmosphereRealtimeRuntime as d } from "./runtime/runtimeAtmospher
|
|
|
14
14
|
import { getOrCreateGClickRealtimeRuntime as v } from "./runtime/runtimeRegistry.js";
|
|
15
15
|
import { createGetOrCreateGClickRealtimeRuntime as U, disposeGClickRealtimeRuntime as g } from "./runtime/runtimeRegistry.shared.js";
|
|
16
16
|
import { getOrCreateGClickAtmosphereRealtimeRuntime as H } from "./runtime/runtimeRegistryAtmosphereOnly.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
17
|
+
import { EnumResourceTypesIds as Y, PROCCESS_MESSAGES_INTERVAL as z, REALTIME_CONSUMER_SOTORE_ID as K, REALTIME_PRODUCER_SOTORE_ID as V, RESOURCE_TYPE_DEVICES as b } from "./shared/constants.js";
|
|
18
|
+
import { createGClickDevicesAtmosphereResourceType as q, createGClickDevicesHotStartupSnapshot as w, createGClickDevicesStartupSnapshot as B, createGClickDevicesStartupSnapshotMessages as J } from "./host/devicesResourceType.js";
|
|
19
|
+
import { launchGClickAtmosphereHostRuntime as W, launchGClickDummyHostRuntime as X, resolveGClickRealtimeTools as Z } from "./host/hostRuntime.js";
|
|
20
|
+
import { createGClickAtmosphereRuntimeConfigs as ee, createGClickAtmosphereRuntimeKey as re, createGClickAtmosphereStartupSnapshots as te, createGClickDummyRuntimeKey as oe, launchGClickRealtimeHostRuntime as me, normalizeGClickRealtimeFallbackTransport as ie, normalizeGClickRealtimeSessionId as ae, resolveGClickRealtimeAtmosphereHost as le } from "./host/launchContract.js";
|
|
21
21
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
Y as EnumResourceTypesIds,
|
|
23
|
+
z as PROCCESS_MESSAGES_INTERVAL,
|
|
24
|
+
K as REALTIME_CONSUMER_SOTORE_ID,
|
|
25
|
+
V as REALTIME_PRODUCER_SOTORE_ID,
|
|
26
26
|
m as REAL_TIME_DUMMY_DEFAULT_PRESET_ID,
|
|
27
27
|
i as REAL_TIME_DUMMY_SIMULATION_PRESETS,
|
|
28
|
-
|
|
28
|
+
b as RESOURCE_TYPE_DEVICES,
|
|
29
29
|
k as RealTimeConsumerContext,
|
|
30
30
|
_ as RealTimeConsumerProvider,
|
|
31
31
|
s as RealTimeDummySimulationPresetId,
|
|
@@ -33,14 +33,14 @@ export {
|
|
|
33
33
|
C as RealTimeProducerProvider,
|
|
34
34
|
x as SourceDataFactory,
|
|
35
35
|
d as createAtmosphereRealtimeRuntime,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
ee as createGClickAtmosphereRuntimeConfigs,
|
|
37
|
+
re as createGClickAtmosphereRuntimeKey,
|
|
38
|
+
te as createGClickAtmosphereStartupSnapshots,
|
|
39
|
+
q as createGClickDevicesAtmosphereResourceType,
|
|
40
|
+
w as createGClickDevicesHotStartupSnapshot,
|
|
41
|
+
B as createGClickDevicesStartupSnapshot,
|
|
42
|
+
J as createGClickDevicesStartupSnapshotMessages,
|
|
43
|
+
oe as createGClickDummyRuntimeKey,
|
|
44
44
|
U as createGetOrCreateGClickRealtimeRuntime,
|
|
45
45
|
P as createRealTimeConsumerStore,
|
|
46
46
|
c as createRealTimeDummyResourceTypeConfigFromPreset,
|
|
@@ -51,13 +51,13 @@ export {
|
|
|
51
51
|
g as disposeGClickRealtimeRuntime,
|
|
52
52
|
H as getOrCreateGClickAtmosphereRealtimeRuntime,
|
|
53
53
|
v as getOrCreateGClickRealtimeRuntime,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
W as launchGClickAtmosphereHostRuntime,
|
|
55
|
+
X as launchGClickDummyHostRuntime,
|
|
56
|
+
me as launchGClickRealtimeHostRuntime,
|
|
57
|
+
ie as normalizeGClickRealtimeFallbackTransport,
|
|
58
|
+
ae as normalizeGClickRealtimeSessionId,
|
|
59
|
+
le as resolveGClickRealtimeAtmosphereHost,
|
|
60
|
+
Z as resolveGClickRealtimeTools,
|
|
61
61
|
A as useRealTimeConsumer,
|
|
62
62
|
T as useRealTimeProducer
|
|
63
63
|
};
|