@vertigis/viewer-spec 59.0.0 → 59.1.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/messaging/mobile.d.ts +2 -0
- package/messaging/registry/photos.d.ts +12 -1
- package/messaging/registry/photos.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/mobile.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import type { Command } from "../Command.js";
|
|
|
2
2
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
3
|
import type { Event } from "../Event.js";
|
|
4
4
|
import { EventRegistry } from "../EventRegistry.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { Operation } from "../Operation.js";
|
|
6
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
7
|
+
import type { EnhancedFileData, Photo, VisualElement } from "../mobile.js";
|
|
6
8
|
/**
|
|
7
9
|
* Arguments for the "photos.display-details" command.
|
|
8
10
|
*/
|
|
@@ -36,6 +38,15 @@ export declare class PhotosCommands extends CommandRegistry {
|
|
|
36
38
|
*/
|
|
37
39
|
get hideDetails(): Command;
|
|
38
40
|
}
|
|
41
|
+
export declare class PhotoOperations extends OperationRegistry {
|
|
42
|
+
protected readonly _prefix = "photos";
|
|
43
|
+
/**
|
|
44
|
+
* Takes a photo using the device camera.
|
|
45
|
+
*
|
|
46
|
+
* @mobileOnly
|
|
47
|
+
*/
|
|
48
|
+
get takePhoto(): Operation<EnhancedFileData>;
|
|
49
|
+
}
|
|
39
50
|
export declare class PhotosEvents extends EventRegistry {
|
|
40
51
|
protected readonly _prefix = "photos";
|
|
41
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class PhotosCommands extends t{_prefix="photos";get displayDetails(){return this._get("display-details")}get hideDetails(){return this._get("hide-details")}}export class PhotosEvents extends e{_prefix="photos";get detailsHidden(){return this._get("details-hidden")}}
|
|
1
|
+
import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class PhotosCommands extends t{_prefix="photos";get displayDetails(){return this._get("display-details")}get hideDetails(){return this._get("hide-details")}}export class PhotoOperations extends s{_prefix="photos";get takePhoto(){return this._get("take-photo")}}export class PhotosEvents extends e{_prefix="photos";get detailsHidden(){return this._get("details-hidden")}}
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED