@onmark/cli 0.4.0 → 0.5.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/onmark-release.json +47 -47
- package/package.json +4 -4
- package/packages/authoring/dist/src/presentation.js +127 -6
- package/packages/bundler/dist/src/authored_html.d.ts +2 -0
- package/packages/bundler/dist/src/authored_html.js +30 -0
- package/packages/bundler/dist/src/command.js +10 -6
- package/packages/bundler/dist/src/generated/bundle-manifest.d.ts +4 -5
- package/packages/bundler/dist/src/generated/bundle-manifest.js +1 -0
- package/packages/bundler/dist/src/presentation.d.ts +1 -1
- package/packages/bundler/dist/src/presentation.js +13 -2
- package/packages/runtime/dist/src/generated/browser-request.d.ts +5 -1
- package/packages/runtime/dist/src/generated/browser-response.d.ts +46 -1
- package/packages/runtime/dist/src/generated/bundle-layout.d.ts +1 -1
- package/packages/runtime/dist/src/generated/bundle-layout.js +1 -0
- package/packages/runtime/dist/src/generated/runtime-contract.d.ts +3 -1
- package/packages/runtime/dist/src/generated/runtime-contract.js +3 -1
- package/packages/runtime/dist/src/generated/validators.js +1172 -465
- package/packages/runtime/dist/src/index.d.ts +3 -3
- package/packages/runtime/dist/src/index.js +1 -1
- package/packages/runtime/dist/src/presentation.d.ts +8 -3
- package/packages/runtime/dist/src/presentation.js +97 -7
- package/packages/runtime/dist/src/session.d.ts +7 -3
- package/packages/runtime/dist/src/session.js +17 -9
- package/packages/runtime/dist/src/types.d.ts +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const BUNDLE_ASSET_DIRECTORY: "assets/sha256";
|
|
2
2
|
export declare const PRESENTATION_TEMPORAL_CAPABILITIES: readonly ["sequential", "randomAccess"];
|
|
3
3
|
export type PresentationTemporalCapability = (typeof PRESENTATION_TEMPORAL_CAPABILITIES)[number];
|
|
4
|
-
export declare const PRESENTATION_VISUAL_CAPABILITIES: readonly ["browserComposite", "separableOverlay"];
|
|
4
|
+
export declare const PRESENTATION_VISUAL_CAPABILITIES: readonly ["browserComposite", "separableBackdrop", "separableOverlay"];
|
|
5
5
|
export type PresentationVisualCapability = (typeof PRESENTATION_VISUAL_CAPABILITIES)[number];
|
|
6
6
|
export declare const PRESENTATION_FRAME_BEHAVIORS: readonly ["perFrame", "placementBounded"];
|
|
7
7
|
export type PresentationFrameBehavior = (typeof PRESENTATION_FRAME_BEHAVIORS)[number];
|
|
@@ -6,6 +6,7 @@ export const PRESENTATION_TEMPORAL_CAPABILITIES = Object.freeze([
|
|
|
6
6
|
]);
|
|
7
7
|
export const PRESENTATION_VISUAL_CAPABILITIES = Object.freeze([
|
|
8
8
|
"browserComposite",
|
|
9
|
+
"separableBackdrop",
|
|
9
10
|
"separableOverlay",
|
|
10
11
|
]);
|
|
11
12
|
export const PRESENTATION_FRAME_BEHAVIORS = Object.freeze([
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const RUNTIME_HOST_NAME: "__ONMARK_RUNTIME__";
|
|
2
|
-
export declare const BROWSER_PROTOCOL_VERSION:
|
|
2
|
+
export declare const BROWSER_PROTOCOL_VERSION: 5;
|
|
3
3
|
export declare const MAX_BROWSER_VIDEOS: 10000;
|
|
4
|
+
export declare const MAX_BROWSER_MEDIA_LAYOUTS: 16;
|
|
5
|
+
export declare const BROWSER_OBJECT_POSITION_SCALE: 1000000;
|
|
4
6
|
export declare const MAX_BROWSER_TRANSITIONS: 10000;
|
|
5
7
|
export declare const MAX_BROWSER_OVERLAYS: 10000;
|
|
6
8
|
export declare const MAX_BROWSER_OVERLAY_TEXT_CHARACTERS: 65536;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// Generated by `cargo xtask schema`; edit Rust protocol types instead.
|
|
2
2
|
export const RUNTIME_HOST_NAME = "__ONMARK_RUNTIME__";
|
|
3
|
-
export const BROWSER_PROTOCOL_VERSION =
|
|
3
|
+
export const BROWSER_PROTOCOL_VERSION = 5;
|
|
4
4
|
export const MAX_BROWSER_VIDEOS = 10000;
|
|
5
|
+
export const MAX_BROWSER_MEDIA_LAYOUTS = 16;
|
|
6
|
+
export const BROWSER_OBJECT_POSITION_SCALE = 1000000;
|
|
5
7
|
export const MAX_BROWSER_TRANSITIONS = 10000;
|
|
6
8
|
export const MAX_BROWSER_OVERLAYS = 10000;
|
|
7
9
|
export const MAX_BROWSER_OVERLAY_TEXT_CHARACTERS = 65536;
|