@telemetryos/root-sdk 1.15.0 → 1.16.1
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/CHANGELOG.md +26 -0
- package/dist/applications.d.ts +102 -23
- package/dist/client.d.ts +12 -2
- package/dist/dependency-store.d.ts +103 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1752 -1545
- package/dist/media.d.ts +3 -6
- package/dist/store.d.ts +2 -2
- package/package.json +2 -2
- /package/dist/{client.spec.d.ts → client.test.d.ts} +0 -0
- /package/dist/{currency.spec.d.ts → currency.test.d.ts} +0 -0
- /package/dist/{index.spec.d.ts → index.test.d.ts} +0 -0
- /package/dist/{navigation.spec.d.ts → navigation.test.d.ts} +0 -0
- /package/dist/{weather.spec.d.ts → weather.test.d.ts} +0 -0
package/dist/media.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Client } from './client.js';
|
|
2
|
-
type MediaContentUser = {};
|
|
3
2
|
export type MediaContent = {
|
|
4
3
|
id: string;
|
|
5
4
|
contentFolderId: string;
|
|
@@ -9,10 +8,6 @@ export type MediaContent = {
|
|
|
9
8
|
thumbnailUrl: string;
|
|
10
9
|
keys: string[];
|
|
11
10
|
publicUrls: string[];
|
|
12
|
-
hidden: boolean;
|
|
13
|
-
validFrom?: Date;
|
|
14
|
-
validTo?: Date;
|
|
15
|
-
createdBy?: MediaContentUser;
|
|
16
11
|
transcodedAt?: Date;
|
|
17
12
|
createdAt: Date;
|
|
18
13
|
updatedAt: Date;
|
|
@@ -79,9 +74,11 @@ export declare class Media {
|
|
|
79
74
|
* Opens a full-screen media picker dialog in the host window.
|
|
80
75
|
* This allows users to browse folders, view media, and select an item.
|
|
81
76
|
*
|
|
77
|
+
* Uses a subscription pattern internally so the picker can remain open
|
|
78
|
+
* indefinitely without hitting the 30-second request timeout.
|
|
79
|
+
*
|
|
82
80
|
* @param options Optional picker options including content type filter and current value
|
|
83
81
|
* @returns A promise that resolves to the selected media, or null if cancelled
|
|
84
82
|
*/
|
|
85
83
|
openPicker(options?: MediaPickerOptions): Promise<MediaSelection | null>;
|
|
86
84
|
}
|
|
87
|
-
export {};
|
package/dist/store.d.ts
CHANGED
|
@@ -62,9 +62,9 @@ export declare class Store {
|
|
|
62
62
|
*/
|
|
63
63
|
export declare class StoreSlice {
|
|
64
64
|
_kind: string;
|
|
65
|
-
_namespace: string
|
|
65
|
+
_namespace: string;
|
|
66
66
|
_client: Client;
|
|
67
|
-
constructor(kind: string, namespace: string
|
|
67
|
+
constructor(kind: string, namespace: string, client: Client);
|
|
68
68
|
/**
|
|
69
69
|
* Saves a value in the store.
|
|
70
70
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telemetryos/root-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "The official TelemetryOS root application sdk package. Provides types and apis for building root TelemetryOS applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "",
|
|
36
36
|
"repository": "github:TelemetryTV/Application-API",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@telemetryos/sdk-bridge": "^1.
|
|
38
|
+
"@telemetryos/sdk-bridge": "^1.16.1",
|
|
39
39
|
"zod": "^3.24.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|