@apps-in-toss/framework 0.0.5 → 0.0.7
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/bin.js +4 -0
- package/dist/config/index.cjs +33172 -0
- package/dist/config/index.d.cts +37 -0
- package/dist/config/index.d.ts +37 -0
- package/dist/config/index.js +33177 -0
- package/dist/index.cjs +135 -94
- package/dist/index.d.cts +27 -20
- package/dist/index.d.ts +27 -20
- package/dist/index.js +129 -93
- package/dist/jest/index.cjs +24 -0
- package/dist/jest/index.d.cts +1 -0
- package/dist/jest/index.d.ts +1 -0
- package/dist/jest/index.js +4 -0
- package/dist/plugins/index.cjs +33154 -0
- package/dist/plugins/index.d.cts +36 -0
- package/dist/plugins/index.d.ts +36 -0
- package/dist/plugins/index.js +33159 -0
- package/package.json +27 -12
- package/plugins.d.ts +1 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as _react_native_bedrock_cli from '@react-native-bedrock/cli';
|
|
2
|
+
|
|
3
|
+
type PermissionReadWrite = 'read' | 'write';
|
|
4
|
+
type PermissionAccess = 'access';
|
|
5
|
+
type ClipboardPermission = {
|
|
6
|
+
name: 'clipboard';
|
|
7
|
+
access: PermissionReadWrite;
|
|
8
|
+
};
|
|
9
|
+
type GeolocationPermission = {
|
|
10
|
+
name: 'geolocation';
|
|
11
|
+
access: PermissionAccess;
|
|
12
|
+
};
|
|
13
|
+
type ContactsPermission = {
|
|
14
|
+
name: 'contacts';
|
|
15
|
+
access: PermissionReadWrite;
|
|
16
|
+
};
|
|
17
|
+
type PhotosPermission = {
|
|
18
|
+
name: 'photos';
|
|
19
|
+
access: PermissionReadWrite;
|
|
20
|
+
};
|
|
21
|
+
type CameraPermission = {
|
|
22
|
+
name: 'camera';
|
|
23
|
+
access: PermissionAccess;
|
|
24
|
+
};
|
|
25
|
+
type Permission = ClipboardPermission | GeolocationPermission | ContactsPermission | PhotosPermission | CameraPermission;
|
|
26
|
+
|
|
27
|
+
interface AppsInTossPluginOptions {
|
|
28
|
+
permissions: Permission[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface AppsInTossConfig extends AppsInTossPluginOptions {
|
|
32
|
+
appName: string;
|
|
33
|
+
rootDir?: string;
|
|
34
|
+
}
|
|
35
|
+
declare function defineConfig({ appName, rootDir, ...pluginOptions }: AppsInTossConfig): Promise<_react_native_bedrock_cli.BedrockConfigResponse>;
|
|
36
|
+
|
|
37
|
+
export { defineConfig };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as _react_native_bedrock_cli from '@react-native-bedrock/cli';
|
|
2
|
+
|
|
3
|
+
type PermissionReadWrite = 'read' | 'write';
|
|
4
|
+
type PermissionAccess = 'access';
|
|
5
|
+
type ClipboardPermission = {
|
|
6
|
+
name: 'clipboard';
|
|
7
|
+
access: PermissionReadWrite;
|
|
8
|
+
};
|
|
9
|
+
type GeolocationPermission = {
|
|
10
|
+
name: 'geolocation';
|
|
11
|
+
access: PermissionAccess;
|
|
12
|
+
};
|
|
13
|
+
type ContactsPermission = {
|
|
14
|
+
name: 'contacts';
|
|
15
|
+
access: PermissionReadWrite;
|
|
16
|
+
};
|
|
17
|
+
type PhotosPermission = {
|
|
18
|
+
name: 'photos';
|
|
19
|
+
access: PermissionReadWrite;
|
|
20
|
+
};
|
|
21
|
+
type CameraPermission = {
|
|
22
|
+
name: 'camera';
|
|
23
|
+
access: PermissionAccess;
|
|
24
|
+
};
|
|
25
|
+
type Permission = ClipboardPermission | GeolocationPermission | ContactsPermission | PhotosPermission | CameraPermission;
|
|
26
|
+
|
|
27
|
+
interface AppsInTossPluginOptions {
|
|
28
|
+
permissions: Permission[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface AppsInTossConfig extends AppsInTossPluginOptions {
|
|
32
|
+
appName: string;
|
|
33
|
+
rootDir?: string;
|
|
34
|
+
}
|
|
35
|
+
declare function defineConfig({ appName, rootDir, ...pluginOptions }: AppsInTossConfig): Promise<_react_native_bedrock_cli.BedrockConfigResponse>;
|
|
36
|
+
|
|
37
|
+
export { defineConfig };
|