@techtulp/choremanji-types 1.4.5 → 1.4.6
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/theme.types.d.ts +30 -0
- package/dist/theme.types.js +2 -0
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -34,3 +34,4 @@ __exportStar(require("./dashboard-data.type"), exports);
|
|
|
34
34
|
__exportStar(require("./app-home-data.type"), exports);
|
|
35
35
|
__exportStar(require("./account-deletion.types"), exports);
|
|
36
36
|
__exportStar(require("./data-export.types"), exports);
|
|
37
|
+
__exportStar(require("./theme.types"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface ThemeType {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
thumbnail_url: string;
|
|
6
|
+
version: string;
|
|
7
|
+
is_deprecated: boolean;
|
|
8
|
+
is_free: boolean;
|
|
9
|
+
asset_size_mb: number;
|
|
10
|
+
created_at: Date;
|
|
11
|
+
}
|
|
12
|
+
export interface ThemeOwnershipType {
|
|
13
|
+
id: string;
|
|
14
|
+
theme_id: string;
|
|
15
|
+
acquired_version: string;
|
|
16
|
+
created_at: Date;
|
|
17
|
+
theme?: ThemeType;
|
|
18
|
+
}
|
|
19
|
+
export interface ThemeAssignmentType {
|
|
20
|
+
id: string;
|
|
21
|
+
theme_id: string;
|
|
22
|
+
is_active: boolean;
|
|
23
|
+
created_at: Date;
|
|
24
|
+
theme?: ThemeType;
|
|
25
|
+
}
|
|
26
|
+
export interface ThemeWithOwnershipType extends ThemeType {
|
|
27
|
+
is_owned: boolean;
|
|
28
|
+
is_assigned?: boolean;
|
|
29
|
+
assigned_children?: string[];
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techtulp/choremanji-types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
|
-
"files": [
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
7
9
|
"scripts": {
|
|
8
10
|
"build": "tsc",
|
|
9
11
|
"prepublishOnly": "npm run build"
|