From 46b51f84769a133ef55349e2d80b469c3dfc15f0 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 27 Jan 2024 16:08:15 +0000 Subject: [PATCH] Added expero demo key and snap asset path. --- how-to/integrate-with-snap-basic/README.md | 2 +- .../public/manifest.fin.json | 2 +- how-to/integrate-with-snap/README.md | 2 +- .../public/manifest.fin.json | 2 +- .../public/manifest.fin.json | 3 + .../public/manifest.fin.json | 3 + .../workspace-platform-starter/package.json | 3 +- .../public/fourth.manifest.fin.json | 3 + .../public/manifest.fin.json | 5 +- .../public/pack.manifest.fin.json | 2 +- .../schemas/openfin.manifest.schema.json | 129 ++++--- .../public/schemas/platform-apps.schema.json | 123 +++--- .../public/schemas/settings.schema.json | 277 +++++++------ .../public/schemas/snapshot.schema.json | 87 +++-- .../public/schemas/view.schema.json | 35 +- .../public/schemas/window.schema.json | 39 +- .../public/schemas/wps.manifest.schema.json | 363 ++++++++++-------- .../public/second.manifest.fin.json | 3 + 18 files changed, 654 insertions(+), 429 deletions(-) diff --git a/how-to/integrate-with-snap-basic/README.md b/how-to/integrate-with-snap-basic/README.md index 546cd3e3b6..595ed0e689 100644 --- a/how-to/integrate-with-snap-basic/README.md +++ b/how-to/integrate-with-snap-basic/README.md @@ -12,7 +12,7 @@ This example demonstrates connecting to and using layouts with Snap. The package utilized by this example is [@openfin/snap-sdk](https://www.npmjs.com/package/@openfin/snap-sdk). -> The **@openfin/snap-sdk** is currently in beta, this sample requires the Snap Asset Url for the Snap Server. Please ask OpenFin for the url and then replace the `SNAP_ASSET_URL` in `manifest.fin.json` with it. +> The **@openfin/snap-sdk** is currently in beta. The version of the Snap SDK is referenced in package.json and the app asset defined in manifest.fin.json. ## Getting Started diff --git a/how-to/integrate-with-snap-basic/public/manifest.fin.json b/how-to/integrate-with-snap-basic/public/manifest.fin.json index 1686151a15..8c67e21207 100644 --- a/how-to/integrate-with-snap-basic/public/manifest.fin.json +++ b/how-to/integrate-with-snap-basic/public/manifest.fin.json @@ -44,7 +44,7 @@ }, "appAssets": [ { - "src": "SNAP_ASSET_URL", + "src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip", "alias": "openfin-snap", "version": "0.2.0", "target": "OpenFinSnap.exe", diff --git a/how-to/integrate-with-snap/README.md b/how-to/integrate-with-snap/README.md index 83b9784945..e98c00ddf8 100644 --- a/how-to/integrate-with-snap/README.md +++ b/how-to/integrate-with-snap/README.md @@ -12,7 +12,7 @@ This example demonstrates saving and restoring native applications as part of a The package utilized by this example is [@openfin/snap-sdk](https://www.npmjs.com/package/@openfin/snap-sdk). -> The **@openfin/snap-sdk** is currently in beta, this sample requires the Snap Asset Url for the Snap Server. Please ask OpenFin for the url and then replace the `SNAP_ASSET_URL` in `manifest.fin.json` with it. +> The **@openfin/snap-sdk** is currently in beta. The version of the Snap SDK is referenced in package.json and the app asset defined in manifest.fin.json. ## Getting Started diff --git a/how-to/integrate-with-snap/public/manifest.fin.json b/how-to/integrate-with-snap/public/manifest.fin.json index b1815a87f1..8f98314552 100644 --- a/how-to/integrate-with-snap/public/manifest.fin.json +++ b/how-to/integrate-with-snap/public/manifest.fin.json @@ -47,7 +47,7 @@ }, "appAssets": [ { - "src": "SNAP_ASSET_URL", + "src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip", "alias": "openfin-snap", "version": "0.2.0", "target": "OpenFinSnap.exe", diff --git a/how-to/register-with-home/public/manifest.fin.json b/how-to/register-with-home/public/manifest.fin.json index bbc4558e4c..3f0dcf8efd 100644 --- a/how-to/register-with-home/public/manifest.fin.json +++ b/how-to/register-with-home/public/manifest.fin.json @@ -63,6 +63,9 @@ "icon": "http://localhost:8080/favicon.ico", "queryMinLength": 3, "queryAgainst": ["title"] + }, + "keys": { + "expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53" } } } diff --git a/how-to/register-with-store/public/manifest.fin.json b/how-to/register-with-store/public/manifest.fin.json index 8066387f55..ecfc350ae5 100644 --- a/how-to/register-with-store/public/manifest.fin.json +++ b/how-to/register-with-store/public/manifest.fin.json @@ -184,6 +184,9 @@ } ] } + }, + "keys": { + "expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53" } } } diff --git a/how-to/workspace-platform-starter/package.json b/how-to/workspace-platform-starter/package.json index bff294743c..6d6bfbeec0 100644 --- a/how-to/workspace-platform-starter/package.json +++ b/how-to/workspace-platform-starter/package.json @@ -45,8 +45,7 @@ "author": "john.mandia@openfin.co", "contributors": [ "adam.saland@openfin.co", - "martyn.janes@openfin.co", - "pj.singh@openfin.co" + "martyn.janes@openfin.co" ], "license": "SEE LICENSE IN LICENSE.MD", "dependencies": { diff --git a/how-to/workspace-platform-starter/public/fourth.manifest.fin.json b/how-to/workspace-platform-starter/public/fourth.manifest.fin.json index e96081ef05..0d587b9890 100644 --- a/how-to/workspace-platform-starter/public/fourth.manifest.fin.json +++ b/how-to/workspace-platform-starter/public/fourth.manifest.fin.json @@ -104,6 +104,9 @@ } } ] + }, + "keys": { + "expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53" } } } diff --git a/how-to/workspace-platform-starter/public/manifest.fin.json b/how-to/workspace-platform-starter/public/manifest.fin.json index 330d8db02d..f88a34feb6 100644 --- a/how-to/workspace-platform-starter/public/manifest.fin.json +++ b/how-to/workspace-platform-starter/public/manifest.fin.json @@ -1712,7 +1712,7 @@ "enabled": false, "id": "workspace-platform-starter", "serverAssetInfo": { - "src": "SNAP_ASSET_URL", + "src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip", "alias": "openfin-snap", "version": "0.2.0", "target": "OpenFinSnap.exe" @@ -1792,6 +1792,9 @@ }, "dialogProvider": { "dialogHtml": "http://localhost:8080/common/popups/dialog/index.html" + }, + "keys": { + "expero": "pk_aa9aeeae6d1949269e73cf6cf477eb53" } } } diff --git a/how-to/workspace-platform-starter/public/pack.manifest.fin.json b/how-to/workspace-platform-starter/public/pack.manifest.fin.json index 640cc33735..fc692a96c4 100644 --- a/how-to/workspace-platform-starter/public/pack.manifest.fin.json +++ b/how-to/workspace-platform-starter/public/pack.manifest.fin.json @@ -859,7 +859,7 @@ "enabled": false, "id": "workspace-platform-starter", "serverAssetInfo": { - "src": "SNAP_ASSET_URL", + "src": "https://cdn.openfin.co/release/snap/0.2.0/snap.zip", "alias": "openfin-snap", "version": "0.2.0", "target": "OpenFinSnap.exe" diff --git a/how-to/workspace-platform-starter/public/schemas/openfin.manifest.schema.json b/how-to/workspace-platform-starter/public/schemas/openfin.manifest.schema.json index 5599d31322..541a2a9e3f 100644 --- a/how-to/workspace-platform-starter/public/schemas/openfin.manifest.schema.json +++ b/how-to/workspace-platform-starter/public/schemas/openfin.manifest.schema.json @@ -12,7 +12,7 @@ "type": "array" }, "AutoResizeOptions": { - "$ref": "#/definitions/__type_25" + "$ref": "#/definitions/__type_26" }, "AutoplayPolicyOptions": { "description": "Autoplay policy to apply to content in the window, can be\n`no-user-gesture-required`, `user-gesture-required`,\n`document-user-activation-required`. Defaults to `no-user-gesture-required`.", @@ -43,7 +43,7 @@ "type": "object" }, "Bounds": { - "$ref": "#/definitions/__type_24" + "$ref": "#/definitions/__type_25" }, "BrowserContentCreationRule": { "additionalProperties": false, @@ -99,7 +99,7 @@ "$ref": "#/definitions/__type_12" }, "ContextGroupStates": { - "$ref": "#/definitions/__type_31" + "$ref": "#/definitions/__type_32" }, "ContextMenuOptions": { "$ref": "#/definitions/__type_3" @@ -108,7 +108,7 @@ "$ref": "#/definitions/__type_2" }, "DefaultDomainSettings": { - "$ref": "#/definitions/__type_36" + "$ref": "#/definitions/__type_37" }, "DipRect": { "additionalProperties": false, @@ -124,10 +124,10 @@ "type": "object" }, "DipScaleRects": { - "$ref": "#/definitions/__type_28" + "$ref": "#/definitions/__type_29" }, "DisplayMetadata_3": { - "$ref": "#/definitions/__type_34" + "$ref": "#/definitions/__type_35" }, "DownloadShelfOptions": { "$ref": "#/definitions/__type_14" @@ -137,28 +137,28 @@ "type": "string" }, "FileDownloadSettings": { - "$ref": "#/definitions/__type_37" + "$ref": "#/definitions/__type_38" }, "Identity_5": { "$ref": "#/definitions/__type_17" }, "InteropBrokerOptions": { - "$ref": "#/definitions/__type_33" + "$ref": "#/definitions/__type_34" }, "InteropConfig": { "$ref": "#/definitions/__type_6" }, "InteropLoggingOptions": { - "$ref": "#/definitions/__type_35" + "$ref": "#/definitions/__type_36" }, "LayoutSnapshot": { "$ref": "#/definitions/__type_15" }, "MonitorDetails": { - "$ref": "#/definitions/__type_30" + "$ref": "#/definitions/__type_31" }, "MonitorInfo": { - "$ref": "#/definitions/__type_26" + "$ref": "#/definitions/__type_27" }, "OpenExternalPermission": { "additionalProperties": false, @@ -379,7 +379,10 @@ "$ref": "#/definitions/__type_23" }, "Partial_8": { - "$ref": "#/definitions/__type_32" + "$ref": "#/definitions/__type_24" + }, + "Partial_9": { + "$ref": "#/definitions/__type_33" }, "PlatformOptions": { "additionalProperties": false, @@ -484,14 +487,14 @@ "type": "number" }, "defaultViewOptions": { - "$ref": "#/definitions/Partial_7", + "$ref": "#/definitions/Partial_8", "description": "**Platforms Only.** Default view options apply to all platform views." }, "defaultWidth": { "type": "number" }, "defaultWindowOptions": { - "$ref": "#/definitions/Partial_8", + "$ref": "#/definitions/Partial_9", "description": "**Platforms Only.** Default window options apply to all platform windows." }, "disableDefaultCommands": { @@ -656,7 +659,7 @@ "type": "object" }, "Point": { - "$ref": "#/definitions/__type_27" + "$ref": "#/definitions/__type_28" }, "PrebuiltContextMenuItem": { "description": "Context menu item with an implementation provided by OpenFin.", @@ -690,7 +693,7 @@ "$ref": "#/definitions/__type_16" }, "RectangleByEdgePositions": { - "$ref": "#/definitions/__type_29" + "$ref": "#/definitions/__type_30" }, "ResizeRegion": { "$ref": "#/definitions/__type_5" @@ -763,7 +766,7 @@ "type": "array" }, "options": { - "$ref": "#/definitions/Partial_7", + "$ref": "#/definitions/Partial_8", "description": "Options for newly-created view." } }, @@ -994,6 +997,10 @@ "includeInSnapshots": { "type": "boolean" }, + "inheritance": { + "$ref": "#/definitions/Partial_7", + "description": "Controls whether an option is inherited from the parent application. Use {