@fayz-ai/admin 0.59.0 → 0.60.0
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/dist/components/shared/ConnectionIndicator.d.ts +10 -0
- package/dist/components/shared/ConnectionIndicator.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +666 -526
- package/dist/index.js.map +1 -1
- package/dist/lib/connection.d.ts +6 -0
- package/dist/lib/connection.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type BackendConnection = 'online' | 'degraded' | 'server-down' | 'offline' | 'checking';
|
|
2
|
+
/** One round: decides the state. Exported for tests. */
|
|
3
|
+
export declare function probeBackend(): Promise<BackendConnection>;
|
|
4
|
+
/** The backend connection as this page sees it; probing runs while anyone reads it. */
|
|
5
|
+
export declare function useBackendConnection(): BackendConnection;
|
|
6
|
+
//# sourceMappingURL=connection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/lib/connection.ts"],"names":[],"mappings":"AAyBA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAA;AA+B9F,wDAAwD;AACxD,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAW/D;AAmDD,uFAAuF;AACvF,wBAAgB,oBAAoB,IAAI,iBAAiB,CAExD"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"fayz": {
|
|
4
4
|
"status": "beta"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.60.0",
|
|
7
7
|
"description": "Fayz SDK admin layer — the admin shell, CRUD engine, multi-tenancy, billing, permissions and org management",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"sideEffects": [
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@fayz-ai/core": "^0.59.0",
|
|
64
64
|
"@fayz-ai/db": "^0.24.3",
|
|
65
65
|
"@fayz-ai/sdk": "^0.59.0",
|
|
66
|
-
"@fayz-ai/tasks": "^0.
|
|
67
|
-
"@fayz-ai/ui": "^0.
|
|
66
|
+
"@fayz-ai/tasks": "^0.60.0",
|
|
67
|
+
"@fayz-ai/ui": "^0.60.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@supabase/supabase-js": "^2.45.0",
|