@pi-r/android 0.7.2 → 0.7.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/README.md +6 -6
- package/data/google-maven-snapshot.json +1 -1
- package/data/google-maven.json +1 -1
- package/index.d.ts +6 -6
- package/index.js +24 -23
- package/package.json +28 -28
- package/template/AndroidManifest.xml +24 -24
- package/template/java/build.gradle +38 -38
- package/template/java/static/build.gradle +3 -3
- package/template/java+kotlin/build.gradle +43 -43
- package/template/java+kotlin/static/build.gradle +4 -4
- package/template/kotlin/build.gradle.kts +45 -45
- package/template/kotlin/settings.gradle.kts +17 -17
- package/template/kotlin/static/build.gradle.kts +4 -4
- package/types/index.d.ts +76 -76
- package/types/squared.d.ts +55 -55
package/types/squared.d.ts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import type { FinalizedElement, ControllerSettingsDirectoryUI as IControllerSettingsDirectoryUI } from '@e-mc/types/lib/squared';
|
|
2
|
-
|
|
3
|
-
import type { RequestData as IRequestData } from '@e-mc/types/lib/node';
|
|
4
|
-
|
|
5
|
-
export interface DocumentOutput {
|
|
6
|
-
targetAPI?: number | string;
|
|
7
|
-
manifest?: ManifestData;
|
|
8
|
-
namespace?: string;
|
|
9
|
-
applicationId?: string;
|
|
10
|
-
profileable?: boolean | ArrayOf<string>;
|
|
11
|
-
dependencies?: string[];
|
|
12
|
-
dependencyScopes?: boolean | 1 | ArrayOf<DependencyScopes | "snapshot">;
|
|
13
|
-
directories?: ControllerSettingsDirectoryUI;
|
|
14
|
-
elements?: FinalizedElement[];
|
|
15
|
-
projectName?: string;
|
|
16
|
-
mainParentDir?: string;
|
|
17
|
-
mainSrcDir?: string;
|
|
18
|
-
mainActivityFile?: string;
|
|
19
|
-
javaVersion?: number | string;
|
|
20
|
-
versionName?: string;
|
|
21
|
-
versionCode?: number;
|
|
22
|
-
dataBinding?: boolean;
|
|
23
|
-
commands?: ArrayOf<ArrayOf<string>>;
|
|
24
|
-
extensionData?: PlainObject;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface RequestData extends IRequestData, DocumentOutput {}
|
|
28
|
-
|
|
29
|
-
export interface ManifestData extends PlainObject {
|
|
30
|
-
package?: string;
|
|
31
|
-
application?: {
|
|
32
|
-
supportsRtl?: boolean;
|
|
33
|
-
label?: string;
|
|
34
|
-
theme?: string;
|
|
35
|
-
metaData?: { name?: string; resource?: string; value?: string }[];
|
|
36
|
-
activity?: ObjectMap<{
|
|
37
|
-
layout?: {
|
|
38
|
-
defaultWidth?: string;
|
|
39
|
-
defaultHeight?: string;
|
|
40
|
-
minWidth?: string;
|
|
41
|
-
minHeight?: string;
|
|
42
|
-
gravity?: string;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
activityName?: string;
|
|
46
|
-
fontProvider?: string;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface ControllerSettingsDirectoryUI extends IControllerSettingsDirectoryUI {
|
|
51
|
-
main: string;
|
|
52
|
-
animation: string;
|
|
53
|
-
theme: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
1
|
+
import type { FinalizedElement, ControllerSettingsDirectoryUI as IControllerSettingsDirectoryUI } from '@e-mc/types/lib/squared';
|
|
2
|
+
|
|
3
|
+
import type { RequestData as IRequestData } from '@e-mc/types/lib/node';
|
|
4
|
+
|
|
5
|
+
export interface DocumentOutput {
|
|
6
|
+
targetAPI?: number | string;
|
|
7
|
+
manifest?: ManifestData;
|
|
8
|
+
namespace?: string;
|
|
9
|
+
applicationId?: string;
|
|
10
|
+
profileable?: boolean | ArrayOf<string>;
|
|
11
|
+
dependencies?: string[];
|
|
12
|
+
dependencyScopes?: boolean | 1 | ArrayOf<DependencyScopes | "snapshot">;
|
|
13
|
+
directories?: ControllerSettingsDirectoryUI;
|
|
14
|
+
elements?: FinalizedElement[];
|
|
15
|
+
projectName?: string;
|
|
16
|
+
mainParentDir?: string;
|
|
17
|
+
mainSrcDir?: string;
|
|
18
|
+
mainActivityFile?: string;
|
|
19
|
+
javaVersion?: number | string;
|
|
20
|
+
versionName?: string;
|
|
21
|
+
versionCode?: number;
|
|
22
|
+
dataBinding?: boolean;
|
|
23
|
+
commands?: ArrayOf<ArrayOf<string>>;
|
|
24
|
+
extensionData?: PlainObject;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface RequestData extends IRequestData, DocumentOutput {}
|
|
28
|
+
|
|
29
|
+
export interface ManifestData extends PlainObject {
|
|
30
|
+
package?: string;
|
|
31
|
+
application?: {
|
|
32
|
+
supportsRtl?: boolean;
|
|
33
|
+
label?: string;
|
|
34
|
+
theme?: string;
|
|
35
|
+
metaData?: { name?: string; resource?: string; value?: string }[];
|
|
36
|
+
activity?: ObjectMap<{
|
|
37
|
+
layout?: {
|
|
38
|
+
defaultWidth?: string;
|
|
39
|
+
defaultHeight?: string;
|
|
40
|
+
minWidth?: string;
|
|
41
|
+
minHeight?: string;
|
|
42
|
+
gravity?: string;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
activityName?: string;
|
|
46
|
+
fontProvider?: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface ControllerSettingsDirectoryUI extends IControllerSettingsDirectoryUI {
|
|
51
|
+
main: string;
|
|
52
|
+
animation: string;
|
|
53
|
+
theme: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
56
|
export type DependencyScopes = "compile" | "provided" | "runtime" | "test";
|