@apps-in-toss/web-framework 0.0.0-dev.1741252452371 → 0.0.0-dev.1741344445455
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 +2 -1
- package/dist/chunk-HDRFXOPA.js +63 -0
- package/dist/chunk-RUDG2MMT.js +173587 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +96083 -0
- package/dist/config/index.d.ts +10 -11
- package/dist/config/index.js +3705 -7608
- package/dist/lib-NMFBQRQ2.js +1007 -0
- package/dist/prebuilt/dev.android.js +155739 -0
- package/dist/prebuilt/dev.ios.js +155680 -0
- package/dist/prebuilt/prod.android.js +5 -0
- package/dist/prebuilt/prod.android.js.map +7 -0
- package/dist/prebuilt/prod.ios.js +5 -0
- package/dist/prebuilt/prod.ios.js.map +7 -0
- package/dist/prebuilt/prod.json +14 -0
- package/dist/typescript-THSIDFIK.js +6 -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 +49 -29
- package/src-web/appLogin.d.ts +31 -0
- package/src-web/index.d.ts +1 -0
- package/src-web/index.js +1 -1
- package/dist/config/index.cjs +0 -7976
- package/dist/config/index.d.cts +0 -73
- 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
package/dist/config/index.d.cts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Permission, OAuthScope } from '@apps-in-toss/framework/plugins';
|
|
2
|
-
import { BedrockConfigResponse } from 'react-native-bedrock/config';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare const AppsInTossConfigSchema: z.ZodObject<{
|
|
6
|
-
appName: z.ZodString;
|
|
7
|
-
web: z.ZodObject<{
|
|
8
|
-
port: z.ZodNumber;
|
|
9
|
-
commands: z.ZodObject<{
|
|
10
|
-
dev: z.ZodString;
|
|
11
|
-
build: z.ZodString;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
dev: string;
|
|
14
|
-
build: string;
|
|
15
|
-
}, {
|
|
16
|
-
dev: string;
|
|
17
|
-
build: string;
|
|
18
|
-
}>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
port: number;
|
|
21
|
-
commands: {
|
|
22
|
-
dev: string;
|
|
23
|
-
build: string;
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
26
|
-
port: number;
|
|
27
|
-
commands: {
|
|
28
|
-
dev: string;
|
|
29
|
-
build: string;
|
|
30
|
-
};
|
|
31
|
-
}>;
|
|
32
|
-
permissions: z.ZodArray<z.ZodType<Permission, z.ZodTypeDef, Permission>, "many">;
|
|
33
|
-
outdir: z.ZodDefault<z.ZodString>;
|
|
34
|
-
oauth: z.ZodObject<{
|
|
35
|
-
scopes: z.ZodArray<z.ZodType<OAuthScope, z.ZodTypeDef, OAuthScope>, "many">;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
scopes: OAuthScope[];
|
|
38
|
-
}, {
|
|
39
|
-
scopes: OAuthScope[];
|
|
40
|
-
}>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
permissions: Permission[];
|
|
43
|
-
oauth: {
|
|
44
|
-
scopes: OAuthScope[];
|
|
45
|
-
};
|
|
46
|
-
appName: string;
|
|
47
|
-
outdir: string;
|
|
48
|
-
web: {
|
|
49
|
-
port: number;
|
|
50
|
-
commands: {
|
|
51
|
-
dev: string;
|
|
52
|
-
build: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}, {
|
|
56
|
-
permissions: Permission[];
|
|
57
|
-
oauth: {
|
|
58
|
-
scopes: OAuthScope[];
|
|
59
|
-
};
|
|
60
|
-
appName: string;
|
|
61
|
-
web: {
|
|
62
|
-
port: number;
|
|
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>;
|
|
72
|
-
|
|
73
|
-
export { type AppsInTossConfig, defineConfig };
|
package/react-native/.babelrc
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": [
|
|
3
|
-
[
|
|
4
|
-
"@babel/preset-env",
|
|
5
|
-
{
|
|
6
|
-
"targets": {
|
|
7
|
-
"ie": 11
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
["@babel/preset-typescript"],
|
|
12
|
-
[
|
|
13
|
-
"@babel/preset-react",
|
|
14
|
-
{
|
|
15
|
-
"runtime": "automatic"
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
],
|
|
19
|
-
"plugins": [
|
|
20
|
-
["@apps-in-toss/babel-plugin-json", { "jsonPath": "./.bedrock/metadata.json", "identifierName": "Ait" }],
|
|
21
|
-
["@babel/plugin-transform-flow-strip-types"],
|
|
22
|
-
[
|
|
23
|
-
"@babel/plugin-proposal-class-properties",
|
|
24
|
-
{
|
|
25
|
-
"loose": true
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"@babel/plugin-proposal-private-property-in-object",
|
|
30
|
-
{
|
|
31
|
-
"loose": true
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"@babel/plugin-proposal-private-methods",
|
|
36
|
-
{
|
|
37
|
-
"loose": true
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
]
|
|
41
|
-
}
|
package/react-native/ait.d.ts
DELETED
package/react-native/context.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const files = new Map();
|
|
2
|
-
|
|
3
|
-
files.set('./index.tsx', require('./pages/index.tsx'));
|
|
4
|
-
files.set('./_404.tsx', require('./pages/_404.tsx'));
|
|
5
|
-
|
|
6
|
-
export function context(id: string) {
|
|
7
|
-
return files.get(id);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
context.keys = () => Array.from(files.keys());
|
package/react-native/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './index';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
import { Bedrock, type InitialProps } from 'react-native-bedrock';
|
|
3
|
-
import { context } from '../context';
|
|
4
|
-
|
|
5
|
-
function AppContainer({ children }: PropsWithChildren<InitialProps>) {
|
|
6
|
-
return <>{children}</>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export default Bedrock.registerApp(AppContainer, {
|
|
10
|
-
appName: Ait.appName, // this auto replace appName to Ait.appName
|
|
11
|
-
context,
|
|
12
|
-
});
|