@axium/core 0.5.3 → 0.5.4
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/dist/api.d.ts +10 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -28,6 +28,13 @@ export interface NewSessionResponse {
|
|
|
28
28
|
userId: string;
|
|
29
29
|
token: string;
|
|
30
30
|
}
|
|
31
|
+
export interface AppMetadata {
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly name?: string;
|
|
34
|
+
readonly version?: string;
|
|
35
|
+
readonly image?: string;
|
|
36
|
+
readonly icon?: string;
|
|
37
|
+
}
|
|
31
38
|
/**
|
|
32
39
|
* Types for all API endpoints
|
|
33
40
|
* @internal
|
|
@@ -43,6 +50,9 @@ export interface _apiTypes {
|
|
|
43
50
|
plugins: Record<string, string>;
|
|
44
51
|
};
|
|
45
52
|
};
|
|
53
|
+
apps: {
|
|
54
|
+
GET: AppMetadata[];
|
|
55
|
+
};
|
|
46
56
|
session: {
|
|
47
57
|
GET: Session & {
|
|
48
58
|
user: User;
|