@vertigis/viewer-spec 61.18.2 → 61.20.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/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/messaging/registry/auth.d.ts +39 -0
- package/messaging/registry/map.d.ts +447 -50
- package/messaging/registry/tasks.d.ts +1 -1
- package/messaging/schema/common-action.reference.json +1 -0
- package/messaging/schema/common-action.schema.json +1 -2
- package/messaging/schema/common-event.reference.json +1 -0
- package/messaging/schema/common-event.schema.json +1 -2
- package/messaging/schema/mobile-action.reference.json +1 -0
- package/messaging/schema/mobile-action.schema.json +1 -2
- package/messaging/schema/mobile-event.reference.json +1 -0
- package/messaging/schema/mobile-event.schema.json +1 -2
- package/messaging/schema/web-action.reference.json +1 -0
- package/messaging/schema/web-action.schema.json +1 -2
- package/messaging/schema/web-auth-command-definitions.md +9 -4
- package/messaging/schema/web-auth-operation-definitions.md +15 -0
- package/messaging/schema/web-event.reference.json +1 -0
- package/messaging/schema/web-event.schema.json +1 -2
- package/messaging/schema/web-map-command-definitions.md +433 -53
- package/messaging/schema/web-tasks-operation-definitions.md +2 -2
- package/package.json +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
# command: auth.sign-in
|
|
2
2
|
Description: Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by VertiGIS Studio Mobile. Default is true.
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
**Example:** Reload the map after signing in.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
```
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
name: "auth.sign-in",
|
|
10
|
+
arguments: true,
|
|
11
|
+
},
|
|
12
|
+
];
|
|
13
|
+
```
|
|
9
14
|
|
|
10
15
|
Inputs: `boolean`
|
|
11
16
|
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# operation: auth.get-current-user
|
|
2
2
|
Description: Gets the user that is currently signed into the application.
|
|
3
3
|
|
|
4
|
+
**Example:** Display a notification after obtaining the current user.
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
[
|
|
8
|
+
"auth.get-current-user",
|
|
9
|
+
{
|
|
10
|
+
name: "ui.display-notification",
|
|
11
|
+
arguments: {
|
|
12
|
+
message: "Signed in as a portal user.",
|
|
13
|
+
category: "info",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
```
|
|
18
|
+
|
|
4
19
|
Inputs: `None`
|
|
5
20
|
|
|
6
21
|
Outputs: `Principal`
|