@comergehq/studio 0.1.1
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 +21 -0
- package/README.md +19 -0
- package/dist/assets/images/merge.svg +3 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +6419 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6448 -0
- package/dist/index.mjs.map +1 -0
- package/dist/merge-72UG27QV.svg +3 -0
- package/package.json +69 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Comerge
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="486" height="486" viewBox="0 0 486 486" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M237.025 0H243.664C254.876 95.0361 275.236 175.597 304.743 241.684C334.249 307.478 367.002 357.774 403 392.572L389.722 486C361.691 458.22 338.233 429.417 319.349 399.59C300.464 369.764 284.531 335.843 271.548 297.829C258.565 259.522 246.615 214.343 235.697 162.292L237.91 161.415C228.468 214.928 217.993 261.569 206.485 301.338C194.978 341.107 179.634 375.904 160.455 405.731C141.571 435.265 115.752 462.022 83 486L96.278 392.572C124.014 369.179 147.62 336.72 167.094 295.197C186.864 253.381 202.65 206.886 214.452 155.713C226.255 104.247 233.779 52.343 237.025 0Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
import { SupabaseClient } from '@supabase/supabase-js';
|
|
4
|
+
|
|
5
|
+
type ComergeStudioProps = {
|
|
6
|
+
/**
|
|
7
|
+
* App to open in the runtime and studio.
|
|
8
|
+
*/
|
|
9
|
+
appId: string;
|
|
10
|
+
/**
|
|
11
|
+
* App root key exposed by the bundle (defaults to MicroMain).
|
|
12
|
+
*/
|
|
13
|
+
appKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional callback for a “home” button.
|
|
16
|
+
*/
|
|
17
|
+
onNavigateHome?: () => void;
|
|
18
|
+
style?: ViewStyle;
|
|
19
|
+
};
|
|
20
|
+
declare function ComergeStudio({ appId, appKey, onNavigateHome, style, }: ComergeStudioProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function setSupabaseClient(client: SupabaseClient): void;
|
|
23
|
+
|
|
24
|
+
export { ComergeStudio, type ComergeStudioProps, setSupabaseClient };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
import { SupabaseClient } from '@supabase/supabase-js';
|
|
4
|
+
|
|
5
|
+
type ComergeStudioProps = {
|
|
6
|
+
/**
|
|
7
|
+
* App to open in the runtime and studio.
|
|
8
|
+
*/
|
|
9
|
+
appId: string;
|
|
10
|
+
/**
|
|
11
|
+
* App root key exposed by the bundle (defaults to MicroMain).
|
|
12
|
+
*/
|
|
13
|
+
appKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional callback for a “home” button.
|
|
16
|
+
*/
|
|
17
|
+
onNavigateHome?: () => void;
|
|
18
|
+
style?: ViewStyle;
|
|
19
|
+
};
|
|
20
|
+
declare function ComergeStudio({ appId, appKey, onNavigateHome, style, }: ComergeStudioProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function setSupabaseClient(client: SupabaseClient): void;
|
|
23
|
+
|
|
24
|
+
export { ComergeStudio, type ComergeStudioProps, setSupabaseClient };
|