@dyno-cloud/schema 0.0.0-stage → 0.1.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.
Files changed (115) hide show
  1. package/json/budget.schema.json +239 -0
  2. package/json/catalogue.schema.json +2217 -0
  3. package/json/compare.schema.json +823 -0
  4. package/json/devices.json +399 -0
  5. package/json/doctor.schema.json +144 -0
  6. package/json/driver-message.schema.json +912 -0
  7. package/json/dyno-toml.schema.json +80 -0
  8. package/json/exposure-checkpoint.schema.json +97 -0
  9. package/json/games.schema.json +66 -0
  10. package/json/library-bucket.schema.json +22 -0
  11. package/json/library.schema.json +19 -0
  12. package/json/measures.json +407 -0
  13. package/json/probe-event.schema.json +465 -0
  14. package/json/result.schema.json +2140 -0
  15. package/json/run-request.schema.json +161 -0
  16. package/json/unclean-exit.schema.json +99 -0
  17. package/package.json +22 -4
  18. package/ts/AssetChange.ts +8 -0
  19. package/ts/AssetChangeKind.ts +6 -0
  20. package/ts/AssignedRole.ts +7 -0
  21. package/ts/AudioState.ts +6 -0
  22. package/ts/BrowserEngine.ts +6 -0
  23. package/ts/BudgetId.ts +6 -0
  24. package/ts/BudgetLimit.ts +8 -0
  25. package/ts/BudgetRef.ts +15 -0
  26. package/ts/BudgetVerdict.ts +22 -0
  27. package/ts/BuildLink.ts +6 -0
  28. package/ts/BuildManifest.ts +17 -0
  29. package/ts/CatalogueEntry.ts +7 -0
  30. package/ts/CatalogueResult.ts +22 -0
  31. package/ts/CheckResult.ts +16 -0
  32. package/ts/CompareDeterministic.ts +42 -0
  33. package/ts/CompareResult.ts +12 -0
  34. package/ts/CompareRun.ts +17 -0
  35. package/ts/ContextKind.ts +6 -0
  36. package/ts/Covers.ts +6 -0
  37. package/ts/Deterministic.ts +35 -0
  38. package/ts/DeviceClass.ts +6 -0
  39. package/ts/DeviceEntry.ts +25 -0
  40. package/ts/DeviceKind.ts +6 -0
  41. package/ts/DoctorCheck.ts +16 -0
  42. package/ts/DoctorCheckId.ts +6 -0
  43. package/ts/DoctorReport.ts +20 -0
  44. package/ts/DriverInfo.ts +10 -0
  45. package/ts/DriverMessage.ts +37 -0
  46. package/ts/Environment.ts +13 -0
  47. package/ts/EnvironmentBrowser.ts +23 -0
  48. package/ts/EnvironmentDevice.ts +27 -0
  49. package/ts/EnvironmentOs.ts +12 -0
  50. package/ts/Evidence.ts +11 -0
  51. package/ts/ExposureCheckpoint.ts +9 -0
  52. package/ts/ExposureSample.ts +15 -0
  53. package/ts/FileKind.ts +6 -0
  54. package/ts/Finding.ts +29 -0
  55. package/ts/Fix.ts +22 -0
  56. package/ts/FixAction.ts +7 -0
  57. package/ts/FrameState.ts +6 -0
  58. package/ts/GameHookKind.ts +6 -0
  59. package/ts/HostProfile.ts +47 -0
  60. package/ts/Inputs.ts +34 -0
  61. package/ts/Library.ts +6 -0
  62. package/ts/LibraryBucket.ts +6 -0
  63. package/ts/LiveFrame.ts +19 -0
  64. package/ts/Machine.ts +14 -0
  65. package/ts/ManifestFile.ts +12 -0
  66. package/ts/Measure.ts +50 -0
  67. package/ts/MeasureChange.ts +14 -0
  68. package/ts/MeasureEntry.ts +13 -0
  69. package/ts/MeasureId.ts +6 -0
  70. package/ts/MeasureItem.ts +15 -0
  71. package/ts/MeasureStatus.ts +6 -0
  72. package/ts/MeasureValue.ts +7 -0
  73. package/ts/MemorySample.ts +24 -0
  74. package/ts/MessageDirection.ts +6 -0
  75. package/ts/Method.ts +6 -0
  76. package/ts/OsName.ts +6 -0
  77. package/ts/ProbeEvent.ts +48 -0
  78. package/ts/ProcessMemory.ts +22 -0
  79. package/ts/ProcessRole.ts +6 -0
  80. package/ts/ProfileRef.ts +6 -0
  81. package/ts/Quantity.ts +7 -0
  82. package/ts/RelPath.ts +9 -0
  83. package/ts/Release.ts +12 -0
  84. package/ts/ResultRef.ts +15 -0
  85. package/ts/RuleId.ts +6 -0
  86. package/ts/RunCoverage.ts +8 -0
  87. package/ts/RunInfo.ts +56 -0
  88. package/ts/RunMark.ts +6 -0
  89. package/ts/RunRequest.ts +24 -0
  90. package/ts/Scenario.ts +6 -0
  91. package/ts/Scope.ts +12 -0
  92. package/ts/Severity.ts +6 -0
  93. package/ts/Shard.ts +17 -0
  94. package/ts/Source.ts +6 -0
  95. package/ts/SourceKind.ts +7 -0
  96. package/ts/Statistic.ts +7 -0
  97. package/ts/Status.ts +9 -0
  98. package/ts/Target.ts +15 -0
  99. package/ts/Tier.ts +9 -0
  100. package/ts/TierReport.ts +26 -0
  101. package/ts/Timeline.ts +21 -0
  102. package/ts/TimelineMark.ts +11 -0
  103. package/ts/TimelineMethod.ts +6 -0
  104. package/ts/TimelineProcess.ts +22 -0
  105. package/ts/ToolBuild.ts +14 -0
  106. package/ts/Uncertainty.ts +19 -0
  107. package/ts/UncertaintyKind.ts +6 -0
  108. package/ts/UncleanExit.ts +16 -0
  109. package/ts/Unit.ts +6 -0
  110. package/ts/Verdict.ts +6 -0
  111. package/ts/VerdictChange.ts +12 -0
  112. package/ts/Versions.ts +22 -0
  113. package/ts/Viewport.ts +6 -0
  114. package/ts/index.ts +97 -0
  115. package/README.md +0 -3
@@ -0,0 +1,22 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * One process's memory in a `memory` message.
5
+ */
6
+ export type ProcessMemory = { pid: number,
7
+ /**
8
+ * What the browser calls the process, such as "renderer" or "gpu-process".
9
+ */
10
+ kind: string,
11
+ /**
12
+ * The memory that only this process holds (see `TimelineMethod`).
13
+ */
14
+ private_bytes: number,
15
+ /**
16
+ * Resident memory, shared pages included. Null when not read.
17
+ */
18
+ resident_bytes: number | null,
19
+ /**
20
+ * Resident shared memory. Null when not read.
21
+ */
22
+ shared_bytes: number | null, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The part a process plays in the run, as far as the driver can tell.
5
+ */
6
+ export type ProcessRole = "game" | "page" | "gpu" | "browser" | "other";
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Which host profile, and which version of it, a result used.
5
+ */
6
+ export type ProfileRef = { name: string, version: number, };
package/ts/Quantity.ts ADDED
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * What a measure counts, whatever the source or the reading. A site groups measures by it, so
5
+ * the textures a build holds and the textures a run uploaded sit in one row.
6
+ */
7
+ export type Quantity = "files" | "download_bytes" | "compressed_bytes" | "duplicate_bytes" | "textures" | "audio" | "stereo_sounds" | "mono_safe_stereo_sounds" | "sprite_silence" | "audio_silence" | "antialias" | "resolution_uncapped" | "render_backend" | "canvas" | "libraries" | "external_urls" | "script_bytes" | "first_frame_time" | "ready_time" | "audio_rate" | "canvas_contexts" | "js_heap" | "audio_running" | "frame_rate" | "allocated_bytes" | "frame_dpr" | "frame_requests" | "webgl_renderer" | "footprint" | "spins" | "memory" | "kills";
package/ts/RelPath.ts ADDED
@@ -0,0 +1,9 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * A path relative to the build root, with '/' between parts on every platform.
5
+ *
6
+ * Construction normalizes the separators, so the same file gives the same bytes in a result on
7
+ * macOS, Linux and Windows.
8
+ */
9
+ export type RelPath = string;
package/ts/Release.ts ADDED
@@ -0,0 +1,12 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Labels the caller gives. Outside the hash, so two callers who name a release differently
5
+ * still get the same hash.
6
+ */
7
+ export type Release = { game: string | null, version: string | null,
8
+ /**
9
+ * The game's id on the dyno site, a UUID: from `--game-id`, or from the `dyno.toml` entry
10
+ * for the build. Null when neither gives one.
11
+ */
12
+ game_id?: string | null, };
@@ -0,0 +1,15 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { Status } from "./Status";
3
+
4
+ /**
5
+ * One side of a comparison.
6
+ */
7
+ export type ResultRef = { result_hash: string,
8
+ /**
9
+ * Whether `result_hash` matches the result's deterministic part.
10
+ */
11
+ hash_matches: boolean, build_id: string | null, status: Status,
12
+ /**
13
+ * The dyno version that made the result.
14
+ */
15
+ tool: string, };
package/ts/RuleId.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Every rule that Phases 1 and 2 name. Field reports reuse these ids.
5
+ */
6
+ export type RuleId = "audio.pcm_over_budget" | "audio.stereo" | "audio.silence_share" | "render.antialias_or_resolution" | "textures.over_budget" | "files.duplicate" | "files.unreferenced" | "contract.ready_in_time" | "contract.no_audio_before_active" | "contract.throttled_while_inactive" | "diagnostic.alloc_before_active";
@@ -0,0 +1,8 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Whether the browser and device runs that a check asked for gave every required measure.
5
+ *
6
+ * It sits in the deterministic part, so the status and exit code never read the run part.
7
+ */
8
+ export type RunCoverage = "not_requested" | "complete" | "missing" | "invalid";
package/ts/RunInfo.ts ADDED
@@ -0,0 +1,56 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { BuildLink } from "./BuildLink";
3
+ import type { DriverInfo } from "./DriverInfo";
4
+ import type { Environment } from "./Environment";
5
+ import type { Finding } from "./Finding";
6
+ import type { Machine } from "./Machine";
7
+ import type { Measure } from "./Measure";
8
+ import type { Release } from "./Release";
9
+ import type { Target } from "./Target";
10
+ import type { TierReport } from "./TierReport";
11
+ import type { Timeline } from "./Timeline";
12
+ import type { ToolBuild } from "./ToolBuild";
13
+
14
+ /**
15
+ * What differs between machines and runs. The hash excludes it.
16
+ *
17
+ * A field that a later dyno added is missing from a result that an earlier one wrote, so a
18
+ * reader treats a missing or null field as not known.
19
+ */
20
+ export type RunInfo = {
21
+ /**
22
+ * A UUID v4 that dyno makes when the check starts. Each game of a games file gets its own,
23
+ * and an upload sends it again when it is retried, so the site keeps one run.
24
+ */
25
+ run_id?: string | null,
26
+ /**
27
+ * How the run's evidence ties to the build.
28
+ */
29
+ build_link?: BuildLink | null,
30
+ /**
31
+ * What actually ran: the browser, the OS and the device. Null when there was no browser or
32
+ * device run, or when the run failed before the browser said what it was.
33
+ */
34
+ environment?: Environment | null,
35
+ /**
36
+ * RFC 3339 UTC time the check started.
37
+ */
38
+ started_at: string, duration_ms: number, machine: Machine, tool_build: ToolBuild, target: Target, release: Release,
39
+ /**
40
+ * The browser driver. Null when there was no browser run.
41
+ */
42
+ driver: DriverInfo | null,
43
+ /**
44
+ * Browser, device and model measures. Sorted by id.
45
+ */
46
+ measures: Array<Measure>,
47
+ /**
48
+ * Lab rule findings, such as the host contract checks. Sorted by rule id, then by the
49
+ * finding's canonical JSON.
50
+ */
51
+ findings: Array<Finding>, tier: TierReport,
52
+ /**
53
+ * The memory of each browser process through the browser run, with the run's steps. Null
54
+ * when the driver read none, such as on a machine without a sampler.
55
+ */
56
+ timeline?: Timeline | null, };
package/ts/RunMark.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The steps of a run. They sort in the order they are declared.
5
+ */
6
+ export type RunMark = "navigated" | "idle" | "activated" | "deactivated" | "frame_document" | "purged" | "killed" | "over_memory_limit";
@@ -0,0 +1,24 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { HostProfile } from "./HostProfile";
3
+ import type { Scenario } from "./Scenario";
4
+
5
+ /**
6
+ * What dyno asks a driver to run.
7
+ */
8
+ export type RunRequest = { protocol_version: number,
9
+ /**
10
+ * The full launch URL, query string included. It never goes into a result.
11
+ */
12
+ launch_url: string, host_profile: HostProfile, scenario: Scenario,
13
+ /**
14
+ * Demo spins to play after load (Phase 2). Null for a load-and-idle run.
15
+ */
16
+ spins: number | null,
17
+ /**
18
+ * The game frame is idle after this long with no new requests.
19
+ */
20
+ idle_after_ms: number,
21
+ /**
22
+ * The driver stops and sends an error after this long.
23
+ */
24
+ timeout_ms: number, };
package/ts/Scenario.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The harness scenario of a browser run.
5
+ */
6
+ export type Scenario = "alone" | "aged" | "overlap";
package/ts/Scope.ts ADDED
@@ -0,0 +1,12 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { Covers } from "./Covers";
3
+
4
+ /**
5
+ * What a value covers, and what it does not.
6
+ */
7
+ export type Scope = { covers: Covers,
8
+ /**
9
+ * Plain-English parts the value leaves out, such as "a.ogg: did not decode". Sorted. Any
10
+ * entry makes the value partial, so a budget reads it as a floor.
11
+ */
12
+ not_covered: Array<string>, };
package/ts/Severity.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The verdict a flag gives when it is on.
5
+ */
6
+ export type Severity = "allow" | "warn" | "fail";
package/ts/Shard.ts ADDED
@@ -0,0 +1,17 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Shard I of N, written "I/N" with I from 1 to N. Game k in id order, counting from 0, falls
5
+ * in shard (k mod N) + 1.
6
+ *
7
+ * `Shard::new` and deserializing both check that 1 <= I <= N, so every shard is valid.
8
+ */
9
+ export type Shard = {
10
+ /**
11
+ * I, from 1 to N.
12
+ */
13
+ index: number,
14
+ /**
15
+ * N, the number of shards.
16
+ */
17
+ count: number, };
package/ts/Source.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Where a value comes from.
5
+ */
6
+ export type Source = "static" | "lab" | "device" | "model" | "field";
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * What a texture upload with no source path held. Facts only: an allocation
5
+ * with no pixels is often a render target, but the probe does not see what fills it.
6
+ */
7
+ export type SourceKind = "empty" | "canvas";
@@ -0,0 +1,7 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Which reading of a quantity a measure is: over the build's files, by idle, at idle or at its
5
+ * peak, for example.
6
+ */
7
+ export type Statistic = "all_files" | "all_files_at48k" | "all_files_at24k" | "largest" | "since_navigation" | "by_idle" | "to_playable" | "at_idle" | "while_inactive" | "peak" | "median_peak_over_baseline" | "modelled_active" | "modelled_inactive" | "during_spins" | "peak_during_spins" | "growth_per100_spins" | "peak_during_bonus" | "of_runs";
package/ts/Status.ts ADDED
@@ -0,0 +1,9 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The overall status of a result. The exit code comes from it alone.
5
+ *
6
+ * When several statuses apply, the worst wins. From worst to best: fail, invalid, incomplete,
7
+ * warn, pass. The variants below are not declared in that order.
8
+ */
9
+ export type Status = "pass" | "warn" | "fail" | "incomplete" | "invalid";
package/ts/Target.ts ADDED
@@ -0,0 +1,15 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The target as given on the command line.
5
+ */
6
+ export type Target = {
7
+ /**
8
+ * The build folder or .zip path as given. Null when none.
9
+ */
10
+ build: string | null,
11
+ /**
12
+ * The launch URL without its user info, query string or fragment, which can carry passwords
13
+ * and session ids. Null when none.
14
+ */
15
+ launch_url: string | null, };
package/ts/Tier.ts ADDED
@@ -0,0 +1,9 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * A provisional tier. The worst gate sets it.
5
+ *
6
+ * A line is a modelled footprint limit on the reference iPhone. The proposed lines are 500 MB
7
+ * while active and 250 MB while inactive. The phone calibration sets them.
8
+ */
9
+ export type Tier = "playable" | "blocked" | "preloadable";
@@ -0,0 +1,26 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { DeviceClass } from "./DeviceClass";
3
+ import type { MeasureStatus } from "./MeasureStatus";
4
+ import type { Tier } from "./Tier";
5
+
6
+ /**
7
+ * The provisional Reels tier. Report-only: it decides nothing in Phase 1.
8
+ */
9
+ export type TierReport = {
10
+ /**
11
+ * Estimated once the model is calibrated. Unsupported with no launch URL, because the
12
+ * total needs a JS heap reading.
13
+ */
14
+ status: MeasureStatus,
15
+ /**
16
+ * Null unless the status is estimated.
17
+ */
18
+ tier: Tier | null, device_class: DeviceClass,
19
+ /**
20
+ * The plan phase that builds the tier.
21
+ */
22
+ phase: number,
23
+ /**
24
+ * Why there is no tier. Null otherwise.
25
+ */
26
+ reason: string | null, };
package/ts/Timeline.ts ADDED
@@ -0,0 +1,21 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { TimelineMark } from "./TimelineMark";
3
+ import type { TimelineMethod } from "./TimelineMethod";
4
+ import type { TimelineProcess } from "./TimelineProcess";
5
+
6
+ /**
7
+ * The memory of each browser process through one run.
8
+ */
9
+ export type Timeline = { method: TimelineMethod,
10
+ /**
11
+ * The time between samples that the sampler asked for. A busy machine can make it longer.
12
+ */
13
+ every_ms: number,
14
+ /**
15
+ * The run's steps, on the samples' clock. Sorted by time, then step.
16
+ */
17
+ marks: Array<TimelineMark>,
18
+ /**
19
+ * Every process the sampler saw. Sorted by pid.
20
+ */
21
+ processes: Array<TimelineProcess>, };
@@ -0,0 +1,11 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { RunMark } from "./RunMark";
3
+
4
+ /**
5
+ * One step of the run, on the timeline's clock.
6
+ */
7
+ export type TimelineMark = { mark: RunMark,
8
+ /**
9
+ * Since the navigation, on the driver's clock.
10
+ */
11
+ t_ms: number, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * How a timeline's samples were read.
5
+ */
6
+ export type TimelineMethod = "proc" | "xctrace" | "sysmontap";
@@ -0,0 +1,22 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { MemorySample } from "./MemorySample";
3
+ import type { ProcessRole } from "./ProcessRole";
4
+
5
+ /**
6
+ * One process of the browser, and its memory through the run.
7
+ */
8
+ export type TimelineProcess = {
9
+ /**
10
+ * The OS process id. It only tells processes apart within this run.
11
+ */
12
+ pid: number, role: ProcessRole,
13
+ /**
14
+ * What the browser calls the process, such as "renderer", "gpu-process" or
15
+ * "utility:network.mojom.NetworkService", or its name, such as
16
+ * "com.apple.WebKit.WebContent".
17
+ */
18
+ kind: string,
19
+ /**
20
+ * Sorted by time.
21
+ */
22
+ samples: Array<MemorySample>, };
@@ -0,0 +1,14 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The dyno binary that made the result.
5
+ */
6
+ export type ToolBuild = { version: string,
7
+ /**
8
+ * The commit the binary was built from. Null for a local build.
9
+ */
10
+ git_sha: string | null,
11
+ /**
12
+ * "debug" or "release".
13
+ */
14
+ profile: string, };
@@ -0,0 +1,19 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { UncertaintyKind } from "./UncertaintyKind";
3
+
4
+ /**
5
+ * How close a value is to the truth.
6
+ */
7
+ export type Uncertainty = { kind: UncertaintyKind,
8
+ /**
9
+ * The lowest likely value, in the measure's unit.
10
+ */
11
+ low: number | null,
12
+ /**
13
+ * The highest likely value, in the measure's unit.
14
+ */
15
+ high: number | null,
16
+ /**
17
+ * A short plain-English note, such as "0 to 23% below the decoded size".
18
+ */
19
+ note: string | null, };
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The kind of uncertainty.
5
+ */
6
+ export type UncertaintyKind = "exact" | "floor" | "range" | "model_error" | "unknown";
@@ -0,0 +1,16 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { LiveFrame } from "./LiveFrame";
3
+ import type { ProfileRef } from "./ProfileRef";
4
+
5
+ /**
6
+ * An observed unclean exit: the last page died with game frames live. Never sampled.
7
+ */
8
+ export type UncleanExit = { schema_version: number,
9
+ /**
10
+ * The host profile, such as reels version 0.
11
+ */
12
+ host_profile: ProfileRef,
13
+ /**
14
+ * The game frames that were live when the page died.
15
+ */
16
+ frames: Array<LiveFrame>, };
package/ts/Unit.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The unit of a value. Sizes are always integer bytes. Only a change in size can be negative.
5
+ */
6
+ export type Unit = "bytes" | "bytes_change" | "ms" | "count" | "hertz" | "basis_points" | "milli" | "flag" | "text";
package/ts/Verdict.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The outcome of one budget, rule or doctor check.
5
+ */
6
+ export type Verdict = "pass" | "warn" | "fail" | "incomplete";
@@ -0,0 +1,12 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ import type { BudgetId } from "./BudgetId";
3
+ import type { Verdict } from "./Verdict";
4
+
5
+ /**
6
+ * One budget verdict that changed.
7
+ */
8
+ export type VerdictChange = { budget: BudgetId,
9
+ /**
10
+ * Null when the side has no verdict for this budget.
11
+ */
12
+ base: Verdict | null, head: Verdict | null, };
package/ts/Versions.ts ADDED
@@ -0,0 +1,22 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * The versions of everything that shapes a result.
5
+ */
6
+ export type Versions = {
7
+ /**
8
+ * The schema version. `CheckResult::new` sets it.
9
+ */
10
+ schema: number,
11
+ /**
12
+ * The dyno version, such as "0.1.0".
13
+ */
14
+ tool: string,
15
+ /**
16
+ * The version of the budget and rule logic in `dyno-score`.
17
+ */
18
+ scoring: number,
19
+ /**
20
+ * The fitted memory model's version. Null until the phone calibration sets one.
21
+ */
22
+ model: string | null, };
package/ts/Viewport.ts ADDED
@@ -0,0 +1,6 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * A size in CSS pixels.
5
+ */
6
+ export type Viewport = { width: number, height: number, };
package/ts/index.ts ADDED
@@ -0,0 +1,97 @@
1
+ // Generated by dyno-schema. Do not edit this file manually.
2
+ export type * from "./AssetChange";
3
+ export type * from "./AssetChangeKind";
4
+ export type * from "./AssignedRole";
5
+ export type * from "./AudioState";
6
+ export type * from "./BrowserEngine";
7
+ export type * from "./BudgetId";
8
+ export type * from "./BudgetLimit";
9
+ export type * from "./BudgetRef";
10
+ export type * from "./BudgetVerdict";
11
+ export type * from "./BuildLink";
12
+ export type * from "./BuildManifest";
13
+ export type * from "./CatalogueEntry";
14
+ export type * from "./CatalogueResult";
15
+ export type * from "./CheckResult";
16
+ export type * from "./CompareDeterministic";
17
+ export type * from "./CompareResult";
18
+ export type * from "./CompareRun";
19
+ export type * from "./ContextKind";
20
+ export type * from "./Covers";
21
+ export type * from "./Deterministic";
22
+ export type * from "./DeviceClass";
23
+ export type * from "./DeviceEntry";
24
+ export type * from "./DeviceKind";
25
+ export type * from "./DoctorCheck";
26
+ export type * from "./DoctorCheckId";
27
+ export type * from "./DoctorReport";
28
+ export type * from "./DriverInfo";
29
+ export type * from "./DriverMessage";
30
+ export type * from "./Environment";
31
+ export type * from "./EnvironmentBrowser";
32
+ export type * from "./EnvironmentDevice";
33
+ export type * from "./EnvironmentOs";
34
+ export type * from "./Evidence";
35
+ export type * from "./ExposureCheckpoint";
36
+ export type * from "./ExposureSample";
37
+ export type * from "./FileKind";
38
+ export type * from "./Finding";
39
+ export type * from "./Fix";
40
+ export type * from "./FixAction";
41
+ export type * from "./FrameState";
42
+ export type * from "./GameHookKind";
43
+ export type * from "./HostProfile";
44
+ export type * from "./Inputs";
45
+ export type * from "./Library";
46
+ export type * from "./LibraryBucket";
47
+ export type * from "./LiveFrame";
48
+ export type * from "./Machine";
49
+ export type * from "./ManifestFile";
50
+ export type * from "./Measure";
51
+ export type * from "./MeasureChange";
52
+ export type * from "./MeasureEntry";
53
+ export type * from "./MeasureId";
54
+ export type * from "./MeasureItem";
55
+ export type * from "./MeasureStatus";
56
+ export type * from "./MeasureValue";
57
+ export type * from "./MemorySample";
58
+ export type * from "./MessageDirection";
59
+ export type * from "./Method";
60
+ export type * from "./OsName";
61
+ export type * from "./ProbeEvent";
62
+ export type * from "./ProcessMemory";
63
+ export type * from "./ProcessRole";
64
+ export type * from "./ProfileRef";
65
+ export type * from "./Quantity";
66
+ export type * from "./RelPath";
67
+ export type * from "./Release";
68
+ export type * from "./ResultRef";
69
+ export type * from "./RuleId";
70
+ export type * from "./RunCoverage";
71
+ export type * from "./RunInfo";
72
+ export type * from "./RunMark";
73
+ export type * from "./RunRequest";
74
+ export type * from "./Scenario";
75
+ export type * from "./Scope";
76
+ export type * from "./Severity";
77
+ export type * from "./Shard";
78
+ export type * from "./Source";
79
+ export type * from "./SourceKind";
80
+ export type * from "./Statistic";
81
+ export type * from "./Status";
82
+ export type * from "./Target";
83
+ export type * from "./Tier";
84
+ export type * from "./TierReport";
85
+ export type * from "./Timeline";
86
+ export type * from "./TimelineMark";
87
+ export type * from "./TimelineMethod";
88
+ export type * from "./TimelineProcess";
89
+ export type * from "./ToolBuild";
90
+ export type * from "./Uncertainty";
91
+ export type * from "./UncertaintyKind";
92
+ export type * from "./UncleanExit";
93
+ export type * from "./Unit";
94
+ export type * from "./Verdict";
95
+ export type * from "./VerdictChange";
96
+ export type * from "./Versions";
97
+ export type * from "./Viewport";
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.