@apps-in-toss/web-framework 0.0.8 → 0.0.9
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/LICENSE +674 -0
- package/README.md +20 -0
- package/bin.js +2 -1
- package/dist/{chunk-MHAJE5QI.js → cli/chunk-HDRFXOPA.js} +30 -1
- package/dist/cli/chunk-RUDG2MMT.js +173587 -0
- package/dist/cli/index.js +96440 -0
- package/dist/{lib-EUN4APCZ.js → cli/lib-NMFBQRQ2.js} +1 -1
- package/dist/cli/typescript-THSIDFIK.js +6 -0
- package/dist/config/index.d.ts +40 -60
- package/dist/config/index.js +4 -7975
- package/dist/prebuilt/dev.android.js +155780 -0
- package/dist/prebuilt/dev.ios.js +155721 -0
- package/dist/prebuilt/prod.android.js +20 -0
- package/dist/prebuilt/prod.ios.js +20 -0
- package/dist/prebuilt/prod.json +14 -0
- package/hermesc/0_72_6/linux64-bin/hermesc +0 -0
- package/hermesc/0_72_6/osx-bin/hermesc +0 -0
- package/hermesc/0_72_6/win64-bin/hermesc.exe +0 -0
- package/hermesc/0_72_6/win64-bin/icudt64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuin64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuio64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icutest64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icutu64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuuc64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/msvcp140.dll +0 -0
- package/hermesc/0_72_6/win64-bin/vcruntime140.dll +0 -0
- package/hermesc/0_72_6/win64-bin/vcruntime140_1.dll +0 -0
- package/package.json +52 -29
- package/src-web/appLogin.d.ts +31 -0
- package/src-web/fetchAlbumPhotos.d.ts +1 -1
- package/src-web/getCurrentLocation.d.ts +47 -10
- package/src-web/index.d.ts +1 -0
- package/src-web/index.js +1 -1
- package/src-web/startUpdateLocation.d.ts +44 -10
- package/dist/chunk-5AYTRYXW.js +0 -27
- package/dist/cli.cjs +0 -4598
- package/dist/cli.d.cts +0 -3
- package/dist/cli.d.ts +0 -3
- package/dist/cli.js +0 -3555
- package/dist/config/index.cjs +0 -7976
- package/dist/config/index.d.cts +0 -73
- package/dist/lib-OD73GAMK.js +0 -1007
- package/react-native/.babelrc +0 -41
- package/react-native/ait.d.ts +0 -8
- package/react-native/context.ts +0 -10
- package/react-native/index.ts +0 -4
- package/react-native/pages/_404.tsx +0 -1
- package/react-native/pages/index.tsx +0 -10
- package/react-native/react-native.config.cjs +0 -3
- package/react-native/src/_app.tsx +0 -12
|
@@ -2,7 +2,7 @@ import { createRequire } from 'module'; const require = createRequire(import.met
|
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
init_esm_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HDRFXOPA.js";
|
|
6
6
|
|
|
7
7
|
// ../../.yarn/cache/typanion-npm-3.14.0-0a46072207-8b03b19844.zip/node_modules/typanion/lib/index.js
|
|
8
8
|
var require_lib = __commonJS({
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,50 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
scopes: OAuthScope[];
|
|
38
|
-
}, {
|
|
39
|
-
scopes: OAuthScope[];
|
|
40
|
-
}>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
permissions: Permission[];
|
|
43
|
-
oauth: {
|
|
44
|
-
scopes: OAuthScope[];
|
|
45
|
-
};
|
|
1
|
+
type PermissionReadWrite = 'read' | 'write';
|
|
2
|
+
type PermissionAccess = 'access';
|
|
3
|
+
type ClipboardPermission = {
|
|
4
|
+
name: 'clipboard';
|
|
5
|
+
access: PermissionReadWrite;
|
|
6
|
+
};
|
|
7
|
+
type GeolocationPermission = {
|
|
8
|
+
name: 'geolocation';
|
|
9
|
+
access: PermissionAccess;
|
|
10
|
+
};
|
|
11
|
+
type ContactsPermission = {
|
|
12
|
+
name: 'contacts';
|
|
13
|
+
access: PermissionReadWrite;
|
|
14
|
+
};
|
|
15
|
+
type PhotosPermission = {
|
|
16
|
+
name: 'photos';
|
|
17
|
+
access: PermissionReadWrite;
|
|
18
|
+
};
|
|
19
|
+
type CameraPermission = {
|
|
20
|
+
name: 'camera';
|
|
21
|
+
access: PermissionAccess;
|
|
22
|
+
};
|
|
23
|
+
type Permission = ClipboardPermission | GeolocationPermission | ContactsPermission | PhotosPermission | CameraPermission;
|
|
24
|
+
/**
|
|
25
|
+
* OAuth 인증시 사용할 수 있는 Scope 값이에요.
|
|
26
|
+
*
|
|
27
|
+
* - `user_name`: 유저 이름이에요.
|
|
28
|
+
* - `user_phone`: 유저 휴대폰 번호예요.
|
|
29
|
+
* - `user_birthday`: 유저 생년월일이에요.
|
|
30
|
+
* - `user_ci`: 유저를 식별하는 키인 CI(Connection Information) 값이에요.
|
|
31
|
+
* - `user_gender`: 유저의 성별이에요.
|
|
32
|
+
* - `user_nationality`: 유저의 국적이에요.
|
|
33
|
+
* - `user_email`: 유저의 이메일이에요. 토스 회원의 email이 존재하지 않는 경우 null 응답을 반환해요.
|
|
34
|
+
*/
|
|
35
|
+
type OAuthScope = 'user_name' | 'user_phone' | 'user_birthday' | 'user_ci' | 'user_gender' | 'user_nationality' | 'user_email';
|
|
36
|
+
interface AppsInTossWebConfig {
|
|
46
37
|
appName: string;
|
|
47
|
-
outdir: string;
|
|
48
38
|
web: {
|
|
49
39
|
port: number;
|
|
50
40
|
commands: {
|
|
@@ -52,22 +42,12 @@ declare const AppsInTossConfigSchema: z.ZodObject<{
|
|
|
52
42
|
build: string;
|
|
53
43
|
};
|
|
54
44
|
};
|
|
55
|
-
}, {
|
|
56
45
|
permissions: Permission[];
|
|
57
46
|
oauth: {
|
|
58
47
|
scopes: OAuthScope[];
|
|
59
48
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
commands: {
|
|
64
|
-
dev: string;
|
|
65
|
-
build: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
outdir?: string | undefined;
|
|
69
|
-
}>;
|
|
70
|
-
type AppsInTossConfig = z.infer<typeof AppsInTossConfigSchema>;
|
|
71
|
-
declare const defineConfig: (config: z.input<typeof AppsInTossConfigSchema>) => Promise<BedrockConfigResponse>;
|
|
49
|
+
outdir?: string;
|
|
50
|
+
}
|
|
51
|
+
declare const defineConfig: (config: AppsInTossWebConfig) => AppsInTossWebConfig;
|
|
72
52
|
|
|
73
|
-
export { type
|
|
53
|
+
export { type AppsInTossWebConfig, defineConfig };
|