@vertigis/viewer-spec 46.2.0 → 46.3.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.
|
@@ -57,6 +57,18 @@ export declare class AppCommands extends CommandRegistry {
|
|
|
57
57
|
* @mobileOnly
|
|
58
58
|
*/
|
|
59
59
|
get refresh(): Command;
|
|
60
|
+
/**
|
|
61
|
+
* Adds the currently loaded app to the user's Favorites collection.
|
|
62
|
+
*
|
|
63
|
+
* @mobileOnly
|
|
64
|
+
*/
|
|
65
|
+
get favorite(): Command;
|
|
66
|
+
/**
|
|
67
|
+
* Removes the currently loaded app from the user's Favorites collection.
|
|
68
|
+
*
|
|
69
|
+
* @mobileOnly
|
|
70
|
+
*/
|
|
71
|
+
get unfavorite(): Command;
|
|
60
72
|
/**
|
|
61
73
|
* Loads a project's app config and updates the application's current state,
|
|
62
74
|
* accordingly. If more than one file is provided, only the first will be
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class AppCommands extends CommandRegistry{get goToAppSelector(){return this._messages.command("app.go-to-app-selector")}get refresh(){return this._messages.command("app.refresh")}get loadProject(){return this._messages.command("app.load-project")}}export class AppEvents extends EventRegistry{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages)}get activated(){return this._messages.event("app.activated")}get backgrounded(){return this._messages.event("app.backgrounded")}get specificAppStarted(){return this._messages.event("app.specific-app-started")}get interrupted(){return this._messages.event("app.interrupted")}}export class AppCustomEvents extends EventRegistry{get started(){return this._messages.event("app.custom.started")}}export class AppGenericEvents extends EventRegistry{get started(){return this._messages.event("app.generic.started")}get appsListed(){return this._messages.event("app.generic.apps-listed")}}export class AppOperations extends OperationRegistry{get getVersion(){return this._messages.operation("app.get-version")}get createProject(){return this._messages.operation("app.create-project")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class AppCommands extends CommandRegistry{get goToAppSelector(){return this._messages.command("app.go-to-app-selector")}get refresh(){return this._messages.command("app.refresh")}get favorite(){return this._messages.command("app.favorite")}get unfavorite(){return this._messages.command("app.unfavorite")}get loadProject(){return this._messages.command("app.load-project")}}export class AppEvents extends EventRegistry{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages)}get activated(){return this._messages.event("app.activated")}get backgrounded(){return this._messages.event("app.backgrounded")}get specificAppStarted(){return this._messages.event("app.specific-app-started")}get interrupted(){return this._messages.event("app.interrupted")}}export class AppCustomEvents extends EventRegistry{get started(){return this._messages.event("app.custom.started")}}export class AppGenericEvents extends EventRegistry{get started(){return this._messages.event("app.generic.started")}get appsListed(){return this._messages.event("app.generic.apps-listed")}}export class AppOperations extends OperationRegistry{get getVersion(){return this._messages.operation("app.get-version")}get createProject(){return this._messages.operation("app.create-project")}}
|
|
@@ -3074,6 +3074,12 @@
|
|
|
3074
3074
|
],
|
|
3075
3075
|
"type": "object"
|
|
3076
3076
|
},
|
|
3077
|
+
"app.favorite": {
|
|
3078
|
+
"description": "Adds the currently loaded app to the user's Favorites collection.",
|
|
3079
|
+
"enum": [
|
|
3080
|
+
"app.favorite"
|
|
3081
|
+
]
|
|
3082
|
+
},
|
|
3077
3083
|
"app.go-to-app-selector": {
|
|
3078
3084
|
"description": "Returns to the Geocortex Go view where the user can select a different app. Only enabled if the current app was launched through Geocortex Go.",
|
|
3079
3085
|
"enum": [
|
|
@@ -3086,6 +3092,12 @@
|
|
|
3086
3092
|
"app.refresh"
|
|
3087
3093
|
]
|
|
3088
3094
|
},
|
|
3095
|
+
"app.unfavorite": {
|
|
3096
|
+
"description": "Removes the currently loaded app from the user's Favorites collection.",
|
|
3097
|
+
"enum": [
|
|
3098
|
+
"app.unfavorite"
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3089
3101
|
"auth.get-current-user": {
|
|
3090
3102
|
"description": "Gets the user that is currently signed into the application.",
|
|
3091
3103
|
"enum": [
|
|
@@ -15465,12 +15477,18 @@
|
|
|
15465
15477
|
],
|
|
15466
15478
|
"type": "object"
|
|
15467
15479
|
},
|
|
15480
|
+
{
|
|
15481
|
+
"$ref": "#/definitions/app.favorite"
|
|
15482
|
+
},
|
|
15468
15483
|
{
|
|
15469
15484
|
"$ref": "#/definitions/app.go-to-app-selector"
|
|
15470
15485
|
},
|
|
15471
15486
|
{
|
|
15472
15487
|
"$ref": "#/definitions/app.refresh"
|
|
15473
15488
|
},
|
|
15489
|
+
{
|
|
15490
|
+
"$ref": "#/definitions/app.unfavorite"
|
|
15491
|
+
},
|
|
15474
15492
|
{
|
|
15475
15493
|
"$ref": "#/definitions/auth.sign-in"
|
|
15476
15494
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED