@pi-r/android 0.7.2 → 0.8.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.
@@ -1,7 +1,33 @@
1
- import type { FinalizedElement, ControllerSettingsDirectoryUI as IControllerSettingsDirectoryUI } from '@e-mc/types/lib/squared';
2
-
3
1
  import type { RequestData as IRequestData } from '@e-mc/types/lib/node';
4
2
 
3
+ interface BoxRect<T = number> {
4
+ top: T;
5
+ right: T;
6
+ bottom: T;
7
+ left: T;
8
+ }
9
+
10
+ interface BoxRectDimension extends BoxRect, Dimension {
11
+ numberOfLines?: number;
12
+ overflow?: boolean;
13
+ }
14
+
15
+ export interface FinalizedElement {
16
+ documentId: string;
17
+ bounds: BoxRectDimension;
18
+ css: PlainObject;
19
+ outerWrapperIds?: string[];
20
+ }
21
+
22
+ export interface ConditionProperty {
23
+ conditionText: string;
24
+ }
25
+
26
+ export interface CssConditionData extends ConditionProperty {
27
+ name?: string;
28
+ conditionText: string;
29
+ }
30
+
5
31
  export interface DocumentOutput {
6
32
  targetAPI?: number | string;
7
33
  manifest?: ManifestData;
@@ -9,7 +35,7 @@ export interface DocumentOutput {
9
35
  applicationId?: string;
10
36
  profileable?: boolean | ArrayOf<string>;
11
37
  dependencies?: string[];
12
- dependencyScopes?: boolean | 1 | ArrayOf<DependencyScopes | "snapshot">;
38
+ dependencyScopes?: boolean | 1 | ArrayOf<DependencyScopes | "snapshot" | "constraints">;
13
39
  directories?: ControllerSettingsDirectoryUI;
14
40
  elements?: FinalizedElement[];
15
41
  projectName?: string;
@@ -17,6 +43,8 @@ export interface DocumentOutput {
17
43
  mainSrcDir?: string;
18
44
  mainActivityFile?: string;
19
45
  javaVersion?: number | string;
46
+ jvmToolchain?: number | string;
47
+ versionCatalog?: boolean;
20
48
  versionName?: string;
21
49
  versionCode?: number;
22
50
  dataBinding?: boolean;
@@ -47,7 +75,13 @@ export interface ManifestData extends PlainObject {
47
75
  };
48
76
  }
49
77
 
50
- export interface ControllerSettingsDirectoryUI extends IControllerSettingsDirectoryUI {
78
+ export interface ControllerSettingsDirectoryUI {
79
+ layout: string;
80
+ string: string;
81
+ font: string;
82
+ image: string;
83
+ video: string;
84
+ audio: string;
51
85
  main: string;
52
86
  animation: string;
53
87
  theme: string;