@vertigis/viewer-spec 48.8.0 → 48.9.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.
@@ -6,6 +6,11 @@ import { EventRegistry } from "../EventRegistry.js";
6
6
  import type { Operation } from "../Operation.js";
7
7
  import { OperationRegistry } from "../OperationRegistry.js";
8
8
  import type { Blob } from "../common.js";
9
+ /**
10
+ * Information about a specific app. Only available in the Geocortex Mobile Viewer.
11
+ */
12
+ export interface GcxAppInfo {
13
+ }
9
14
  /**
10
15
  * Arguments for the app started events. Only available in the Geocortex Mobile Viewer.
11
16
  */
@@ -91,6 +96,25 @@ export declare class AppEvents extends EventRegistry {
91
96
  * @mobileOnly
92
97
  */
93
98
  get backgrounded(): Event;
99
+ /**
100
+ * Raised when the app is interrupted temporarily (eg. Pull down
101
+ * notifications, control center, or OS level prompt or alert).
102
+ *
103
+ * @mobileOnly
104
+ */
105
+ get interrupted(): Event;
106
+ /**
107
+ * Raised when a custom app is started.
108
+ *
109
+ * @mobileOnly
110
+ */
111
+ get customStarted(): Event<SpecificAppArgs>;
112
+ /**
113
+ * Raised when a generic app is started.
114
+ *
115
+ * @mobileOnly
116
+ */
117
+ get genericAppStarted(): Event;
94
118
  /**
95
119
  * Raised when a specific app is started within the generic app.
96
120
  *
@@ -98,12 +122,35 @@ export declare class AppEvents extends EventRegistry {
98
122
  */
99
123
  get specificAppStarted(): Event<SpecificAppArgs>;
100
124
  /**
101
- * Raised when the app is interrupted temporarily (eg. Pull down
102
- * notifications, control center, or OS level prompt or alert).
125
+ * Raised when returning to the app selector screen from a specific app in Go.
103
126
  *
104
127
  * @mobileOnly
105
128
  */
106
- get interrupted(): Event;
129
+ get goingToAppSelector(): Event;
130
+ /**
131
+ * Raised when an app has been refreshed.
132
+ *
133
+ * @mobileOnly
134
+ */
135
+ get refreshed(): Event<SpecificAppArgs>;
136
+ /**
137
+ * Raised when an app refresh is beginning.
138
+ *
139
+ * @mobileOnly
140
+ */
141
+ get refreshing(): Event;
142
+ /**
143
+ * Raised when an app is favorited.
144
+ *
145
+ * @mobileOnly
146
+ */
147
+ get favorited(): Event<GcxAppInfo>;
148
+ /**
149
+ * Raised when an app is unfavorited.
150
+ *
151
+ * @mobileOnly
152
+ */
153
+ get unfavorited(): Event<GcxAppInfo>;
107
154
  }
108
155
  export declare class AppCustomEvents extends EventRegistry {
109
156
  /**
@@ -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 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")}}
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 interrupted(){return this._messages.event("app.interrupted")}get customStarted(){return this._messages.event("app.custom.started")}get genericAppStarted(){return this._messages.event("app.generic.started")}get specificAppStarted(){return this._messages.event("app.generic.specific-app-started")}get goingToAppSelector(){return this._messages.event("app.navigating-to-app-selector")}get refreshed(){return this._messages.event("app.refreshed")}get refreshing(){return this._messages.event("app.refreshing")}get favorited(){return this._messages.event("app.favorited")}get unfavorited(){return this._messages.event("app.unfavorited")}}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")}}
@@ -928,6 +928,15 @@
928
928
  "app.backgrounded"
929
929
  ]
930
930
  },
931
+ "app.custom-started": {
932
+ "description": "Raised when a custom app is started.",
933
+ "enum": [
934
+ "app.custom-started"
935
+ ]
936
+ },
937
+ "app.custom-started:input": {
938
+ "$ref": "#/definitions/SpecificAppArgs"
939
+ },
931
940
  "app.custom.started": {
932
941
  "description": "Raised when a custom app is started.",
933
942
  "enum": [
@@ -937,6 +946,21 @@
937
946
  "app.custom.started:input": {
938
947
  "$ref": "#/definitions/SpecificAppArgs"
939
948
  },
949
+ "app.favorited": {
950
+ "description": "Raised when an app is favorited.",
951
+ "enum": [
952
+ "app.favorited"
953
+ ]
954
+ },
955
+ "app.favorited:input": {
956
+ "$ref": "GcxAppInfo"
957
+ },
958
+ "app.generic-app-started": {
959
+ "description": "Raised when a generic app is started.",
960
+ "enum": [
961
+ "app.generic-app-started"
962
+ ]
963
+ },
940
964
  "app.generic.apps-listed": {
941
965
  "description": "Raised when apps are listed within the generic app.",
942
966
  "enum": [
@@ -952,12 +976,33 @@
952
976
  "app.generic.started"
953
977
  ]
954
978
  },
979
+ "app.going-to-app-selector": {
980
+ "description": "Raised when returning to the app selector screen from a specific app in Go.",
981
+ "enum": [
982
+ "app.going-to-app-selector"
983
+ ]
984
+ },
955
985
  "app.interrupted": {
956
986
  "description": "Raised when the app is interrupted temporarily (eg. Pull down notifications, control center, or OS level prompt or alert).",
957
987
  "enum": [
958
988
  "app.interrupted"
959
989
  ]
960
990
  },
991
+ "app.refreshed": {
992
+ "description": "Raised when an app has been refreshed.",
993
+ "enum": [
994
+ "app.refreshed"
995
+ ]
996
+ },
997
+ "app.refreshed:input": {
998
+ "$ref": "#/definitions/SpecificAppArgs"
999
+ },
1000
+ "app.refreshing": {
1001
+ "description": "Raised when an app refresh is beginning.",
1002
+ "enum": [
1003
+ "app.refreshing"
1004
+ ]
1005
+ },
961
1006
  "app.specific-app-started": {
962
1007
  "description": "Raised when a specific app is started within the generic app.",
963
1008
  "enum": [
@@ -967,6 +1012,15 @@
967
1012
  "app.specific-app-started:input": {
968
1013
  "$ref": "#/definitions/SpecificAppArgs"
969
1014
  },
1015
+ "app.unfavorited": {
1016
+ "description": "Raised when an app is unfavorited.",
1017
+ "enum": [
1018
+ "app.unfavorited"
1019
+ ]
1020
+ },
1021
+ "app.unfavorited:input": {
1022
+ "$ref": "GcxAppInfo"
1023
+ },
970
1024
  "auth.sign-in-cancelled": {
971
1025
  "description": "Raised when the user cancels a sign-in challenge.",
972
1026
  "enum": [
@@ -9559,21 +9613,42 @@
9559
9613
  {
9560
9614
  "$ref": "#/definitions/app.backgrounded"
9561
9615
  },
9616
+ {
9617
+ "$ref": "#/definitions/app.custom-started"
9618
+ },
9562
9619
  {
9563
9620
  "$ref": "#/definitions/app.custom.started"
9564
9621
  },
9622
+ {
9623
+ "$ref": "#/definitions/app.favorited"
9624
+ },
9625
+ {
9626
+ "$ref": "#/definitions/app.generic-app-started"
9627
+ },
9565
9628
  {
9566
9629
  "$ref": "#/definitions/app.generic.apps-listed"
9567
9630
  },
9568
9631
  {
9569
9632
  "$ref": "#/definitions/app.generic.started"
9570
9633
  },
9634
+ {
9635
+ "$ref": "#/definitions/app.going-to-app-selector"
9636
+ },
9571
9637
  {
9572
9638
  "$ref": "#/definitions/app.interrupted"
9573
9639
  },
9640
+ {
9641
+ "$ref": "#/definitions/app.refreshed"
9642
+ },
9643
+ {
9644
+ "$ref": "#/definitions/app.refreshing"
9645
+ },
9574
9646
  {
9575
9647
  "$ref": "#/definitions/app.specific-app-started"
9576
9648
  },
9649
+ {
9650
+ "$ref": "#/definitions/app.unfavorited"
9651
+ },
9577
9652
  {
9578
9653
  "$ref": "#/definitions/auth.sign-in-cancelled"
9579
9654
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "48.8.0",
3
+ "version": "48.9.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export declare const version = "48.8.0";
4
+ export declare const version = "48.9.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export const version = "48.8.0";
4
+ export const version = "48.9.0";