@expo/repack-app 0.0.5 → 0.1.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.
- package/assets/apktool_2.10.0.jar +0 -0
- package/build/android/apktool.d.ts +21 -0
- package/build/android/apktool.js +165 -0
- package/build/android/build-tools.d.ts +7 -14
- package/build/android/build-tools.js +26 -60
- package/build/android/index.js +45 -14
- package/build/android/resources.d.ts +54 -3
- package/build/android/resources.js +109 -114
- package/build/cli.js +18 -4
- package/build/expo.d.ts +11 -0
- package/build/expo.js +74 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +15 -0
- package/build/ios/build-tools.d.ts +5 -1
- package/build/ios/build-tools.js +37 -2
- package/build/ios/index.d.ts +1 -1
- package/build/ios/index.js +33 -15
- package/build/ios/resources.d.ts +19 -2
- package/build/ios/resources.js +50 -5
- package/build/types.d.ts +19 -2
- package/package.json +16 -4
- package/assets/Configuration.proto +0 -216
- package/assets/Resources.proto +0 -648
- package/build/android/Resources.types.d.ts +0 -93
- package/build/android/Resources.types.js +0 -5
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types mapped from the Resoruces.proto file.
|
|
3
|
-
*/
|
|
4
|
-
export interface XmlNode {
|
|
5
|
-
element?: XmlElement;
|
|
6
|
-
text?: string;
|
|
7
|
-
source: SourcePosition;
|
|
8
|
-
}
|
|
9
|
-
export interface XmlElement {
|
|
10
|
-
namespaceDeclaration: XmlNamespace[];
|
|
11
|
-
namespaceUri: string;
|
|
12
|
-
name: string;
|
|
13
|
-
attribute: XmlAttribute[];
|
|
14
|
-
child: XmlNode[];
|
|
15
|
-
}
|
|
16
|
-
export interface XmlNamespace {
|
|
17
|
-
prefix: string;
|
|
18
|
-
uri: string;
|
|
19
|
-
source: SourcePosition;
|
|
20
|
-
}
|
|
21
|
-
export interface XmlAttribute {
|
|
22
|
-
namespaceUri: string;
|
|
23
|
-
name: string;
|
|
24
|
-
value: string;
|
|
25
|
-
source: SourcePosition | null;
|
|
26
|
-
resourceId: number;
|
|
27
|
-
compiledItem: Item | null;
|
|
28
|
-
}
|
|
29
|
-
export interface Item {
|
|
30
|
-
ref?: unknown;
|
|
31
|
-
str?: {
|
|
32
|
-
value: string;
|
|
33
|
-
};
|
|
34
|
-
rawStr?: {
|
|
35
|
-
value: string;
|
|
36
|
-
};
|
|
37
|
-
styledStr?: unknown;
|
|
38
|
-
file?: unknown;
|
|
39
|
-
id?: unknown;
|
|
40
|
-
prim?: {
|
|
41
|
-
booleanValue?: boolean;
|
|
42
|
-
intDecimalValue?: number;
|
|
43
|
-
floatValue?: number;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export interface Source {
|
|
47
|
-
pathIdx: number;
|
|
48
|
-
position: SourcePosition;
|
|
49
|
-
}
|
|
50
|
-
export interface SourcePosition {
|
|
51
|
-
lineNumber: number;
|
|
52
|
-
columnNumber: number;
|
|
53
|
-
}
|
|
54
|
-
export interface ResourceTable {
|
|
55
|
-
stringPool: StringPool;
|
|
56
|
-
package: Package[];
|
|
57
|
-
overlayable: unknown[];
|
|
58
|
-
toolFingerprint: unknown[];
|
|
59
|
-
dynamicRefTable: unknown;
|
|
60
|
-
}
|
|
61
|
-
export interface StringPool {
|
|
62
|
-
data: unknown;
|
|
63
|
-
}
|
|
64
|
-
export interface Package {
|
|
65
|
-
packageId: number;
|
|
66
|
-
packageName: string;
|
|
67
|
-
type: Type[];
|
|
68
|
-
}
|
|
69
|
-
export interface Type {
|
|
70
|
-
typeId: number;
|
|
71
|
-
name: string;
|
|
72
|
-
entry: Entry[];
|
|
73
|
-
}
|
|
74
|
-
export interface Entry {
|
|
75
|
-
entryId: number;
|
|
76
|
-
name: string;
|
|
77
|
-
visibility: unknown;
|
|
78
|
-
allowNew: unknown;
|
|
79
|
-
overlayableItem: unknown;
|
|
80
|
-
configValue: ConfigValue[];
|
|
81
|
-
stagedId: unknown;
|
|
82
|
-
}
|
|
83
|
-
export interface ConfigValue {
|
|
84
|
-
config: unknown;
|
|
85
|
-
value: Value;
|
|
86
|
-
}
|
|
87
|
-
export interface Value {
|
|
88
|
-
source: Source;
|
|
89
|
-
comment: string;
|
|
90
|
-
weak: boolean;
|
|
91
|
-
item?: Item;
|
|
92
|
-
compoundValue?: unknown;
|
|
93
|
-
}
|