@rslsp1/fa-app-tools 10.3.4 → 10.3.5
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/index.d.mts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +345 -83
- package/dist/index.mjs +643 -381
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ import { Node, Edge } from '@xyflow/react';
|
|
|
6
6
|
import * as zustand_vanilla from 'zustand/vanilla';
|
|
7
7
|
import { F as FeatureSliceId, b as SliceContract, a as PersistenceDescriptor, W as WorkspacePersistence, P as PersistedSlice, L as LoadResult, g as WriteResult, f as WorkspaceTabId, C as CommandResult, R as RequestContext, Q as QueryResult } from './contracts-B3AbzYQ4.mjs';
|
|
8
8
|
|
|
9
|
-
var version = "10.3.
|
|
9
|
+
var version = "10.3.5";
|
|
10
10
|
|
|
11
11
|
declare function useOnClickOutside(ref: RefObject<HTMLElement | null>, handler: (e: MouseEvent | TouchEvent) => void): void;
|
|
12
12
|
|
|
@@ -341,7 +341,13 @@ type FlowBridgeRequest = {
|
|
|
341
341
|
method: 'GET';
|
|
342
342
|
path: '/flow-app/probe-bundle';
|
|
343
343
|
tokenSuffix?: string;
|
|
344
|
+
} | {
|
|
345
|
+
target: 'devMcp' | 'prodMcp';
|
|
346
|
+
method: 'GET';
|
|
347
|
+
path: `/flow-app/bundle/${FlowAppBundleFile}`;
|
|
348
|
+
tokenSuffix?: string;
|
|
344
349
|
};
|
|
350
|
+
type FlowAppBundleFile = 'react-runtime.js' | 'app.js' | 'master.css';
|
|
345
351
|
interface FlowBridgeResponse {
|
|
346
352
|
ok: boolean;
|
|
347
353
|
transport: string | null;
|
|
@@ -353,9 +359,26 @@ interface FlowBridgeResponse {
|
|
|
353
359
|
roundTripMs: number;
|
|
354
360
|
error: FlowBridgeError | null;
|
|
355
361
|
}
|
|
362
|
+
type FlowBridgeConnection = {
|
|
363
|
+
ok: true;
|
|
364
|
+
env: 'dev' | 'prod';
|
|
365
|
+
server: string;
|
|
366
|
+
waitedMs: number;
|
|
367
|
+
} | {
|
|
368
|
+
ok: false;
|
|
369
|
+
error: FlowBridgeError;
|
|
370
|
+
waitedMs: number;
|
|
371
|
+
};
|
|
356
372
|
interface FlowBridgeClient {
|
|
373
|
+
/** App-Proxy (#639): bittet um Freigabe fuer dieses Dokument; erfuellt erst nach Entscheidung im Popup. */
|
|
374
|
+
connect?(env: 'dev' | 'prod', options?: {
|
|
375
|
+
timeoutMs?: number;
|
|
376
|
+
}): Promise<FlowBridgeConnection>;
|
|
357
377
|
status(): Promise<FlowBridgeStatus>;
|
|
358
|
-
|
|
378
|
+
/** `timeoutMs` ersetzt das Warten der Seite fuer diesen Request (App-Bundle: laenger als das Extension-Timeout). */
|
|
379
|
+
request(request: FlowBridgeRequest, options?: {
|
|
380
|
+
timeoutMs?: number;
|
|
381
|
+
}): Promise<FlowBridgeResponse>;
|
|
359
382
|
}
|
|
360
383
|
interface FlowBridgeClientOptions {
|
|
361
384
|
target?: EventTarget;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Node, Edge } from '@xyflow/react';
|
|
|
6
6
|
import * as zustand_vanilla from 'zustand/vanilla';
|
|
7
7
|
import { F as FeatureSliceId, b as SliceContract, a as PersistenceDescriptor, W as WorkspacePersistence, P as PersistedSlice, L as LoadResult, g as WriteResult, f as WorkspaceTabId, C as CommandResult, R as RequestContext, Q as QueryResult } from './contracts-B3AbzYQ4.js';
|
|
8
8
|
|
|
9
|
-
var version = "10.3.
|
|
9
|
+
var version = "10.3.5";
|
|
10
10
|
|
|
11
11
|
declare function useOnClickOutside(ref: RefObject<HTMLElement | null>, handler: (e: MouseEvent | TouchEvent) => void): void;
|
|
12
12
|
|
|
@@ -341,7 +341,13 @@ type FlowBridgeRequest = {
|
|
|
341
341
|
method: 'GET';
|
|
342
342
|
path: '/flow-app/probe-bundle';
|
|
343
343
|
tokenSuffix?: string;
|
|
344
|
+
} | {
|
|
345
|
+
target: 'devMcp' | 'prodMcp';
|
|
346
|
+
method: 'GET';
|
|
347
|
+
path: `/flow-app/bundle/${FlowAppBundleFile}`;
|
|
348
|
+
tokenSuffix?: string;
|
|
344
349
|
};
|
|
350
|
+
type FlowAppBundleFile = 'react-runtime.js' | 'app.js' | 'master.css';
|
|
345
351
|
interface FlowBridgeResponse {
|
|
346
352
|
ok: boolean;
|
|
347
353
|
transport: string | null;
|
|
@@ -353,9 +359,26 @@ interface FlowBridgeResponse {
|
|
|
353
359
|
roundTripMs: number;
|
|
354
360
|
error: FlowBridgeError | null;
|
|
355
361
|
}
|
|
362
|
+
type FlowBridgeConnection = {
|
|
363
|
+
ok: true;
|
|
364
|
+
env: 'dev' | 'prod';
|
|
365
|
+
server: string;
|
|
366
|
+
waitedMs: number;
|
|
367
|
+
} | {
|
|
368
|
+
ok: false;
|
|
369
|
+
error: FlowBridgeError;
|
|
370
|
+
waitedMs: number;
|
|
371
|
+
};
|
|
356
372
|
interface FlowBridgeClient {
|
|
373
|
+
/** App-Proxy (#639): bittet um Freigabe fuer dieses Dokument; erfuellt erst nach Entscheidung im Popup. */
|
|
374
|
+
connect?(env: 'dev' | 'prod', options?: {
|
|
375
|
+
timeoutMs?: number;
|
|
376
|
+
}): Promise<FlowBridgeConnection>;
|
|
357
377
|
status(): Promise<FlowBridgeStatus>;
|
|
358
|
-
|
|
378
|
+
/** `timeoutMs` ersetzt das Warten der Seite fuer diesen Request (App-Bundle: laenger als das Extension-Timeout). */
|
|
379
|
+
request(request: FlowBridgeRequest, options?: {
|
|
380
|
+
timeoutMs?: number;
|
|
381
|
+
}): Promise<FlowBridgeResponse>;
|
|
359
382
|
}
|
|
360
383
|
interface FlowBridgeClientOptions {
|
|
361
384
|
target?: EventTarget;
|