@apps-in-toss/web-framework 0.0.0-dev.1739416338672 → 0.0.0-dev.1740737494440

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.
Files changed (43) hide show
  1. package/ait.js +3 -0
  2. package/bin.js +2 -1
  3. package/config.d.ts +1 -0
  4. package/dist/{chunk-EFYYFBU5.js → chunk-DI2VGQ6M.js} +3 -2
  5. package/dist/chunk-I3ZDGLIW.js +19 -0
  6. package/dist/chunk-LJBVSTWE.js +7687 -0
  7. package/dist/chunk-TZCMTMV7.js +38 -0
  8. package/dist/cli/index.cjs +644 -0
  9. package/dist/cli/index.d.cts +2 -0
  10. package/dist/cli/index.d.ts +2 -0
  11. package/dist/cli/index.js +592 -0
  12. package/dist/cli.cjs +14 -78
  13. package/dist/cli.js +15 -78
  14. package/dist/closeView.d.ts +1 -0
  15. package/dist/config/index.cjs +7962 -0
  16. package/dist/config/index.d.cts +57 -0
  17. package/dist/config/index.d.ts +57 -0
  18. package/dist/config/index.js +290 -0
  19. package/dist/fetchAlbumPhotos.d.ts +75 -0
  20. package/dist/fetchContacts.d.ts +92 -0
  21. package/dist/generateHapticFeedback.d.ts +1 -0
  22. package/dist/getClipboardText.d.ts +42 -0
  23. package/dist/getCurrentLocation.d.ts +109 -0
  24. package/dist/getDeviceId.d.ts +1 -0
  25. package/dist/getLocale.d.ts +1 -0
  26. package/dist/getNetworkStatus.d.ts +1 -0
  27. package/dist/getSchemeUri.d.ts +1 -0
  28. package/dist/index.cjs +0 -45
  29. package/dist/index.d.cts +1 -53
  30. package/dist/index.d.ts +16 -54
  31. package/dist/index.js +1 -9
  32. package/dist/openCamera.d.ts +75 -0
  33. package/dist/plugins/index.cjs +7681 -0
  34. package/dist/plugins/index.d.cts +15 -0
  35. package/dist/plugins/index.d.ts +15 -0
  36. package/dist/plugins/index.js +11 -0
  37. package/dist/setClipboardText.d.ts +34 -0
  38. package/dist/setScreenAwakeMode.d.ts +1 -0
  39. package/dist/setSecureScreen.d.ts +1 -0
  40. package/dist/share.d.ts +1 -0
  41. package/dist/startUpdateLocation.d.ts +151 -0
  42. package/package.json +21 -18
  43. package/react-native/react-native.config.cjs +0 -2
package/ait.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { initialize } from '@apps-in-toss/cli';
3
+ initialize();
package/bin.js CHANGED
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import './dist/cli.js';
2
+ import { initialize } from 'react-native-bedrock/cli';
3
+ initialize();
package/config.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/config';
@@ -1,3 +1,4 @@
1
+ import { createRequire } from 'module'; const require = createRequire(import.meta.url);
1
2
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
3
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
4
  }) : x)(function(x) {
@@ -12,7 +13,7 @@ var getFilename = () => fileURLToPath(import.meta.url);
12
13
  var getDirname = () => path.dirname(getFilename());
13
14
  var __dirname = /* @__PURE__ */ getDirname();
14
15
 
15
- // src/defineConfig.ts
16
+ // src/config/defineConfig.ts
16
17
  import { z } from "zod";
17
18
  var AppsInTossConfigSchema = z.object({
18
19
  appName: z.string(),
@@ -28,7 +29,7 @@ var defineConfig = (config) => {
28
29
  return AppsInTossConfigSchema.parse(config);
29
30
  };
30
31
 
31
- // src/loadConfig.ts
32
+ // src/config/loadConfig.ts
32
33
  import { cosmiconfig } from "cosmiconfig";
33
34
  import { TypeScriptLoader } from "cosmiconfig-typescript-loader";
34
35
  var loadConfig = async () => {
@@ -0,0 +1,19 @@
1
+ import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // ../../.yarn/__virtual__/tsup-virtual-dfda26f750/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js
10
+ import { fileURLToPath } from "url";
11
+ import path from "path";
12
+ var getFilename = () => fileURLToPath(import.meta.url);
13
+ var getDirname = () => path.dirname(getFilename());
14
+ var __dirname = /* @__PURE__ */ getDirname();
15
+
16
+ export {
17
+ __require,
18
+ __dirname
19
+ };