@astrale-os/shell-react 0.3.0 → 0.3.2-beta
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/application/apps/app-host.d.ts +0 -1
- package/dist/application/apps/app-logo.d.ts +0 -1
- package/dist/application/apps/apps.hook.d.ts +0 -1
- package/dist/application/apps/open-app.hook.d.ts +0 -1
- package/dist/application/index.d.ts +0 -1
- package/dist/application/spaces/current-space.hook.d.ts +0 -1
- package/dist/application/spaces/current-space.store.d.ts +0 -1
- package/dist/application/spaces/space.hook.d.ts +0 -1
- package/dist/application/spaces/spaces.hook.d.ts +0 -1
- package/dist/application/user/user.hook.d.ts +0 -1
- package/dist/application/user/user.store.d.ts +0 -1
- package/dist/auth/act-as.context.d.ts +0 -1
- package/dist/auth/auth.hook.d.ts +0 -1
- package/dist/auth/can.hook.d.ts +0 -1
- package/dist/auth/index.d.ts +0 -1
- package/dist/auth/self.hook.d.ts +0 -1
- package/dist/auth/session-kernel.d.ts +0 -1
- package/dist/components/astrale.d.ts +0 -1
- package/dist/components/boundaries.d.ts +0 -1
- package/dist/components/can.d.ts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/graph/action.d.ts +0 -1
- package/dist/graph/async.d.ts +0 -1
- package/dist/graph/call/call.hook.d.ts +0 -1
- package/dist/graph/call/stream.hook.d.ts +0 -1
- package/dist/graph/graph.context.d.ts +0 -1
- package/dist/graph/guards.error.d.ts +0 -1
- package/dist/graph/index.d.ts +0 -1
- package/dist/graph/memory/read/envelope.d.ts +0 -1
- package/dist/graph/memory/read/idle.d.ts +0 -1
- package/dist/graph/query-definition.hook.d.ts +0 -1
- package/dist/graph/resource.d.ts +0 -1
- package/dist/graph/store.d.ts +0 -1
- package/dist/host/actions.hook.d.ts +0 -1
- package/dist/host/components.d.ts +0 -1
- package/dist/host/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/intents/emit-intent.hook.d.ts +0 -1
- package/dist/intents/envelope.d.ts +0 -1
- package/dist/intents/index.d.ts +0 -1
- package/dist/intents/listen-intent.hook.d.ts +0 -1
- package/dist/intents/reply.d.ts +0 -1
- package/dist/intents/resolve-intent-target.d.ts +0 -1
- package/dist/intents/send-intent.hook.d.ts +0 -1
- package/dist/navigation/adapters/adapter.d.ts +0 -1
- package/dist/navigation/adapters/memory.adapter.d.ts +0 -1
- package/dist/navigation/adapters/url.adapter.d.ts +0 -1
- package/dist/navigation/codec.d.ts +0 -1
- package/dist/navigation/history.d.ts +0 -1
- package/dist/navigation/hooks/ancestors.hook.d.ts +0 -1
- package/dist/navigation/hooks/location.hook.d.ts +0 -1
- package/dist/navigation/hooks/navigate.hook.d.ts +0 -1
- package/dist/navigation/hooks/scope.hook.d.ts +0 -1
- package/dist/navigation/index.d.ts +0 -1
- package/dist/navigation/link.d.ts +0 -1
- package/dist/navigation/location.d.ts +0 -1
- package/dist/navigation/scope.context.d.ts +0 -1
- package/dist/navigation/snapshot.d.ts +0 -1
- package/dist/navigation/view-key.d.ts +0 -1
- package/dist/schema/action.hook.d.ts +0 -1
- package/dist/schema/domain.hook.d.ts +0 -1
- package/dist/schema/index.d.ts +0 -1
- package/dist/schema/kernel.hook.d.ts +0 -1
- package/dist/schema/mutation.hook.d.ts +0 -1
- package/dist/schema/object.hook.d.ts +0 -1
- package/dist/schema/relation.hook.d.ts +0 -1
- package/dist/selection/index.d.ts +0 -1
- package/dist/selection/live.d.ts +0 -1
- package/dist/selection/scope.context.d.ts +0 -1
- package/dist/selection/selection.hook.d.ts +0 -1
- package/dist/session/boot/boot.d.ts +0 -1
- package/dist/session/boot/ownership.d.ts +0 -1
- package/dist/session/boot/status.d.ts +0 -1
- package/dist/session/connection/connection.hook.d.ts +0 -1
- package/dist/session/connection/connection.store.d.ts +0 -1
- package/dist/session/index.d.ts +0 -1
- package/dist/session/kernel-client.hook.d.ts +0 -1
- package/dist/session/kernel-instance.hook.d.ts +0 -1
- package/dist/session/provider.d.ts +0 -1
- package/dist/session/session.context.d.ts +0 -1
- package/dist/session/shell.hook.d.ts +0 -1
- package/dist/window/adopt.d.ts +0 -1
- package/dist/window/hooks/close-guard.hook.d.ts +0 -1
- package/dist/window/hooks/target-node.hook.d.ts +0 -1
- package/dist/window/hooks/views-for.hook.d.ts +0 -1
- package/dist/window/hooks/window.hook.d.ts +0 -1
- package/dist/window/hooks/windows.hook.d.ts +0 -1
- package/dist/window/host.d.ts +0 -1
- package/dist/window/hub.d.ts +0 -1
- package/dist/window/index.d.ts +0 -1
- package/dist/window/lifecycle/mount.d.ts +0 -1
- package/dist/window/lifecycle/states.d.ts +0 -1
- package/dist/window/placement.d.ts +0 -1
- package/dist/window/stage.d.ts +0 -1
- package/package.json +16 -16
- package/dist/application/apps/app-host.d.ts.map +0 -1
- package/dist/application/apps/app-logo.d.ts.map +0 -1
- package/dist/application/apps/apps.hook.d.ts.map +0 -1
- package/dist/application/apps/open-app.hook.d.ts.map +0 -1
- package/dist/application/index.d.ts.map +0 -1
- package/dist/application/spaces/current-space.hook.d.ts.map +0 -1
- package/dist/application/spaces/current-space.store.d.ts.map +0 -1
- package/dist/application/spaces/space.hook.d.ts.map +0 -1
- package/dist/application/spaces/spaces.hook.d.ts.map +0 -1
- package/dist/application/user/user.hook.d.ts.map +0 -1
- package/dist/application/user/user.store.d.ts.map +0 -1
- package/dist/auth/act-as.context.d.ts.map +0 -1
- package/dist/auth/auth.hook.d.ts.map +0 -1
- package/dist/auth/can.hook.d.ts.map +0 -1
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/self.hook.d.ts.map +0 -1
- package/dist/auth/session-kernel.d.ts.map +0 -1
- package/dist/components/astrale.d.ts.map +0 -1
- package/dist/components/boundaries.d.ts.map +0 -1
- package/dist/components/can.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/graph/action.d.ts.map +0 -1
- package/dist/graph/async.d.ts.map +0 -1
- package/dist/graph/call/call.hook.d.ts.map +0 -1
- package/dist/graph/call/stream.hook.d.ts.map +0 -1
- package/dist/graph/graph.context.d.ts.map +0 -1
- package/dist/graph/guards.error.d.ts.map +0 -1
- package/dist/graph/index.d.ts.map +0 -1
- package/dist/graph/memory/read/envelope.d.ts.map +0 -1
- package/dist/graph/memory/read/idle.d.ts.map +0 -1
- package/dist/graph/query-definition.hook.d.ts.map +0 -1
- package/dist/graph/resource.d.ts.map +0 -1
- package/dist/graph/store.d.ts.map +0 -1
- package/dist/host/actions.hook.d.ts.map +0 -1
- package/dist/host/components.d.ts.map +0 -1
- package/dist/host/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/intents/emit-intent.hook.d.ts.map +0 -1
- package/dist/intents/envelope.d.ts.map +0 -1
- package/dist/intents/index.d.ts.map +0 -1
- package/dist/intents/listen-intent.hook.d.ts.map +0 -1
- package/dist/intents/reply.d.ts.map +0 -1
- package/dist/intents/resolve-intent-target.d.ts.map +0 -1
- package/dist/intents/send-intent.hook.d.ts.map +0 -1
- package/dist/navigation/adapters/adapter.d.ts.map +0 -1
- package/dist/navigation/adapters/memory.adapter.d.ts.map +0 -1
- package/dist/navigation/adapters/url.adapter.d.ts.map +0 -1
- package/dist/navigation/codec.d.ts.map +0 -1
- package/dist/navigation/history.d.ts.map +0 -1
- package/dist/navigation/hooks/ancestors.hook.d.ts.map +0 -1
- package/dist/navigation/hooks/location.hook.d.ts.map +0 -1
- package/dist/navigation/hooks/navigate.hook.d.ts.map +0 -1
- package/dist/navigation/hooks/scope.hook.d.ts.map +0 -1
- package/dist/navigation/index.d.ts.map +0 -1
- package/dist/navigation/link.d.ts.map +0 -1
- package/dist/navigation/location.d.ts.map +0 -1
- package/dist/navigation/scope.context.d.ts.map +0 -1
- package/dist/navigation/snapshot.d.ts.map +0 -1
- package/dist/navigation/view-key.d.ts.map +0 -1
- package/dist/schema/action.hook.d.ts.map +0 -1
- package/dist/schema/domain.hook.d.ts.map +0 -1
- package/dist/schema/index.d.ts.map +0 -1
- package/dist/schema/kernel.hook.d.ts.map +0 -1
- package/dist/schema/mutation.hook.d.ts.map +0 -1
- package/dist/schema/object.hook.d.ts.map +0 -1
- package/dist/schema/relation.hook.d.ts.map +0 -1
- package/dist/selection/index.d.ts.map +0 -1
- package/dist/selection/live.d.ts.map +0 -1
- package/dist/selection/scope.context.d.ts.map +0 -1
- package/dist/selection/selection.hook.d.ts.map +0 -1
- package/dist/session/boot/boot.d.ts.map +0 -1
- package/dist/session/boot/ownership.d.ts.map +0 -1
- package/dist/session/boot/status.d.ts.map +0 -1
- package/dist/session/connection/connection.hook.d.ts.map +0 -1
- package/dist/session/connection/connection.store.d.ts.map +0 -1
- package/dist/session/index.d.ts.map +0 -1
- package/dist/session/kernel-client.hook.d.ts.map +0 -1
- package/dist/session/kernel-instance.hook.d.ts.map +0 -1
- package/dist/session/provider.d.ts.map +0 -1
- package/dist/session/session.context.d.ts.map +0 -1
- package/dist/session/shell.hook.d.ts.map +0 -1
- package/dist/window/adopt.d.ts.map +0 -1
- package/dist/window/hooks/close-guard.hook.d.ts.map +0 -1
- package/dist/window/hooks/target-node.hook.d.ts.map +0 -1
- package/dist/window/hooks/views-for.hook.d.ts.map +0 -1
- package/dist/window/hooks/window.hook.d.ts.map +0 -1
- package/dist/window/hooks/windows.hook.d.ts.map +0 -1
- package/dist/window/host.d.ts.map +0 -1
- package/dist/window/hub.d.ts.map +0 -1
- package/dist/window/index.d.ts.map +0 -1
- package/dist/window/lifecycle/mount.d.ts.map +0 -1
- package/dist/window/lifecycle/states.d.ts.map +0 -1
- package/dist/window/placement.d.ts.map +0 -1
- package/dist/window/stage.d.ts.map +0 -1
|
@@ -20,4 +20,3 @@ export interface AppHostProps {
|
|
|
20
20
|
}
|
|
21
21
|
/** Resolve and mount an installed Domain through the ordinary Shell View lifecycle. */
|
|
22
22
|
export declare const AppHost: import("react").ForwardRefExoticComponent<AppHostProps & import("react").RefAttributes<ViewHostHandle>>;
|
|
23
|
-
//# sourceMappingURL=app-host.d.ts.map
|
|
@@ -3,4 +3,3 @@ import type { App, ResolvedView } from '@astrale-os/shell';
|
|
|
3
3
|
import type { Action } from '../../graph/action.js';
|
|
4
4
|
/** Resolve one installed Domain's ordinary entry View. */
|
|
5
5
|
export declare function useOpenApp(): Action<[App | Key.Origin], ResolvedView | null>;
|
|
6
|
-
//# sourceMappingURL=open-app.hook.d.ts.map
|
|
@@ -13,4 +13,3 @@ export type { AppHostFallbackState, AppHostProps } from './apps/app-host.js';
|
|
|
13
13
|
export { AppLogo } from './apps/app-logo.js';
|
|
14
14
|
export type { AppLogoProps } from './apps/app-logo.js';
|
|
15
15
|
export type { App, NodeTarget, ResolvedView, SpaceNode, UserNode } from '@astrale-os/shell';
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,4 +2,3 @@ import type { NodeTarget } from '@astrale-os/shell';
|
|
|
2
2
|
import type { CurrentSpaceResult } from './current-space.hook.js';
|
|
3
3
|
export type SpaceResult = CurrentSpaceResult;
|
|
4
4
|
export declare function useSpace(ref: NodeTarget | null | undefined): SpaceResult;
|
|
5
|
-
//# sourceMappingURL=space.hook.d.ts.map
|
|
@@ -32,4 +32,3 @@ export declare function isOsPlaneAvailable(shell: Shell): boolean;
|
|
|
32
32
|
export declare function primeUser(shell: Shell): Promise<void>;
|
|
33
33
|
/** Kick off `me()` lazily (a shell that was never primed) and cache a suspense cell. */
|
|
34
34
|
export declare function loadUser(shell: Shell): UserEntry;
|
|
35
|
-
//# sourceMappingURL=user.store.d.ts.map
|
package/dist/auth/auth.hook.d.ts
CHANGED
package/dist/auth/can.hook.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export type PolicyObject = NodeId | {
|
|
|
9
9
|
* invoked callable remains the authorization enforcement point.
|
|
10
10
|
*/
|
|
11
11
|
export declare function useCan(policy: PathLike | PolicyRef | null | undefined, object: PolicyObject | null | undefined): boolean | undefined;
|
|
12
|
-
//# sourceMappingURL=can.hook.d.ts.map
|
package/dist/auth/index.d.ts
CHANGED
package/dist/auth/self.hook.d.ts
CHANGED
package/dist/components/can.d.ts
CHANGED
|
@@ -3,4 +3,3 @@ export { ConnectionBoundary, CredentialBoundary, defaultViewError, defaultViewLo
|
|
|
3
3
|
export type { ViewErrorBoundaryProps } from './boundaries.js';
|
|
4
4
|
export { Astrale } from './astrale.js';
|
|
5
5
|
export type { AstraleProps } from './astrale.js';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/graph/action.d.ts
CHANGED
|
@@ -19,4 +19,3 @@ export interface Action<A extends unknown[], R> {
|
|
|
19
19
|
* fields are re-stamped each render, so reads stay current across settlements.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useAction<A extends unknown[], R>(fn: (...args: A) => Promise<R>): Action<A, R>;
|
|
22
|
-
//# sourceMappingURL=action.d.ts.map
|
package/dist/graph/async.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export interface AsyncResource<T> extends ReadState {
|
|
|
8
8
|
* retained through a pending refetch or a failure (§1.1).
|
|
9
9
|
*/
|
|
10
10
|
export declare function useAsyncResource<T>(load: (() => Promise<T>) | null, empty: T, deps: readonly unknown[]): AsyncResource<T>;
|
|
11
|
-
//# sourceMappingURL=async.d.ts.map
|
|
@@ -8,4 +8,3 @@ export interface CallOptions extends SessionRequestOptions {
|
|
|
8
8
|
export type CallResult = Value;
|
|
9
9
|
export declare function useCall(call: Call | null, options?: CallOptions): Action<[], CallResult>;
|
|
10
10
|
export declare function useCall<A extends unknown[]>(author: ((...args: A) => Call) | null, options?: CallOptions): Action<A, CallResult>;
|
|
11
|
-
//# sourceMappingURL=call.hook.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface StreamHandle<A extends unknown[] = unknown[], T = StreamItem> {
|
|
|
17
17
|
cancel(): void;
|
|
18
18
|
}
|
|
19
19
|
export declare function useStream<A extends unknown[] = []>(author: CallAuthor<A> | null, options?: StreamOptions): StreamHandle<A, StreamItem>;
|
|
20
|
-
//# sourceMappingURL=stream.hook.d.ts.map
|
|
@@ -2,4 +2,3 @@ import type { GraphStore } from '@astrale-os/sdk/client/store';
|
|
|
2
2
|
/** Optional exact Client GraphStore supplied by an injected Shell adapter. */
|
|
3
3
|
export declare const GraphContext: import("react").Context<GraphStore | null>;
|
|
4
4
|
export type { GraphStore };
|
|
5
|
-
//# sourceMappingURL=graph.context.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { ClientError } from '@astrale-os/sdk/client';
|
|
|
5
5
|
import { NodeUnavailableError } from '@astrale-os/sdk/client';
|
|
6
6
|
export declare function isClientError(error: unknown): error is ClientError;
|
|
7
7
|
export declare function isNodeUnavailableError(error: unknown): error is NodeUnavailableError;
|
|
8
|
-
//# sourceMappingURL=guards.error.d.ts.map
|
package/dist/graph/index.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export type { CallAuthor, KernelStream, StreamHandle, StreamItem, StreamOptions,
|
|
|
9
9
|
export type { Action } from './action.js';
|
|
10
10
|
export type { GraphStore } from './graph.context.js';
|
|
11
11
|
export { ClientError, NodeUnavailableError, ProtocolError, ResponseError, StaleRouteError, TransportError, isClientError, isNodeUnavailableError, } from './guards.error.js';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,4 +7,3 @@ export interface QueryResourceOptions {
|
|
|
7
7
|
}
|
|
8
8
|
/** Execute one named SDK Query definition exclusively through the current GraphStore. */
|
|
9
9
|
export declare function useQuery<Input, Output>(definition: QueryDefinition<Input, Output> | null, input: Input, options?: QueryResourceOptions): GraphResource<Output>;
|
|
10
|
-
//# sourceMappingURL=query-definition.hook.d.ts.map
|
package/dist/graph/resource.d.ts
CHANGED
|
@@ -31,4 +31,3 @@ export interface StoreResourceOptions<Output> {
|
|
|
31
31
|
/** Adapt exact Store pages into a tear-free React resource without a parallel entity cache. */
|
|
32
32
|
export declare function useStoreResource<Query extends QueryAST, Output>(query: Query | null, pageSize: number, project: (response: StoreQueryResponse<Query>) => Output, options?: StoreResourceOptions<Output>): GraphResource<Output>;
|
|
33
33
|
export declare function retainRefreshScheduler(store: GraphStore, identity: string, refresh: () => Promise<void>, interval: number, when: 'always' | 'visible'): () => void;
|
|
34
|
-
//# sourceMappingURL=resource.d.ts.map
|
package/dist/graph/store.d.ts
CHANGED
package/dist/host/index.d.ts
CHANGED
|
@@ -2,4 +2,3 @@ export { useExternalOpen, useHostCapabilities, useHostDialog, useNotify, useOpen
|
|
|
2
2
|
export type { ExternalOpenApi, HostDialogApi, NotifyApi, OpenViewApi, RequestAccessApi, } from './actions.hook.js';
|
|
3
3
|
export { HostDialog, NestedView, Notify, RequestAccess } from './components.js';
|
|
4
4
|
export { HostCapabilityUnavailableError } from './actions.hook.js';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -29,4 +29,3 @@ export type { PathLike } from '@astrale-os/sdk/graph/path';
|
|
|
29
29
|
export type { AuthApi, Identity, PolicyDecisionInput } from '@astrale-os/sdk/auth';
|
|
30
30
|
export type { DomainBinding } from '@astrale-os/shell';
|
|
31
31
|
export type { App, CloseResult, CredentialSnapshot, HostCapabilities, IntentRegistry, KernelClient, MountCredential, NodeTarget, Shell, ShellConfig, SpaceNode, UserNode, ViewLocation, ViewPresentation, ViewPresentationRequest, Window, } from '@astrale-os/shell';
|
|
32
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/intents/index.d.ts
CHANGED
|
@@ -5,4 +5,3 @@ export type { EmitIntent } from './emit-intent.hook.js';
|
|
|
5
5
|
export { useSendIntent } from './send-intent.hook.js';
|
|
6
6
|
export type { SendIntent } from './send-intent.hook.js';
|
|
7
7
|
export type { IntentPayload, IntentReply } from './envelope.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface IntentCtx<K extends keyof IntentRegistry> {
|
|
|
13
13
|
* answers a correlated request once.
|
|
14
14
|
*/
|
|
15
15
|
export declare function useIntent<K extends keyof IntentRegistry>(name: K, handler: (payload: IntentPayload<K>, ctx: IntentCtx<K>) => void | Promise<void>): void;
|
|
16
|
-
//# sourceMappingURL=listen-intent.hook.d.ts.map
|
package/dist/intents/reply.d.ts
CHANGED
|
@@ -6,4 +6,3 @@
|
|
|
6
6
|
import type { Shell } from '@astrale-os/shell';
|
|
7
7
|
/** Deliver a reply to whichever channel the request arrived on. Best-effort. */
|
|
8
8
|
export declare function sendReply(shell: Shell, sender: string, correlationId: string, result: unknown): void;
|
|
9
|
-
//# sourceMappingURL=reply.d.ts.map
|
|
@@ -6,4 +6,3 @@ import type { SerializedLocation } from '../history.js';
|
|
|
6
6
|
import type { NavAdapter } from './adapter.js';
|
|
7
7
|
/** In-memory adapter — the default scope backing (per-pane state, no URL). */
|
|
8
8
|
export declare function memoryAdapter(initial?: SerializedLocation): NavAdapter;
|
|
9
|
-
//# sourceMappingURL=memory.adapter.d.ts.map
|
|
@@ -57,4 +57,3 @@ export declare function useNavigation<Routes extends NavigationRoutes>(navigatio
|
|
|
57
57
|
}>;
|
|
58
58
|
export type NavigationTarget<Definition> = Definition extends NavigationDefinition<infer Routes> ? RouteTarget<Routes> : never;
|
|
59
59
|
export {};
|
|
60
|
-
//# sourceMappingURL=codec.d.ts.map
|
|
@@ -15,4 +15,3 @@ export type { NavAdapter } from './adapters/adapter.js';
|
|
|
15
15
|
export type { NavLocation } from './location.js';
|
|
16
16
|
export type { NavSnapshot, SerializedLocation } from './history.js';
|
|
17
17
|
export type { NavTarget } from './snapshot.js';
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -18,4 +18,3 @@ export interface NavLocation {
|
|
|
18
18
|
export declare const IDLE_LOCATION: NavLocation;
|
|
19
19
|
export declare function buildLocation(entry: SerializedLocation | null, result: PointResult | null): NavLocation;
|
|
20
20
|
export type { Node, NodeId };
|
|
21
|
-
//# sourceMappingURL=location.d.ts.map
|
|
@@ -14,4 +14,3 @@ export type NavTarget = PathLike | Node | {
|
|
|
14
14
|
export declare function serializeTarget(target: NavTarget): SerializedLocation;
|
|
15
15
|
/** Drop restored entries that no longer resolve under the authenticated Graph capability. */
|
|
16
16
|
export declare function revalidateAndPrune(history: NavHistory, store: GraphStore, shell: Shell): Promise<boolean>;
|
|
17
|
-
//# sourceMappingURL=snapshot.d.ts.map
|
|
@@ -45,4 +45,3 @@ export interface DomainAction<Args extends unknown[], Result> {
|
|
|
45
45
|
/** Invoke one schema-declared Function or Method and invalidate Store by explicit policy. */
|
|
46
46
|
export declare function useAction<C extends Callable>(callable: C, options?: ActionOptions): DomainAction<ActionArgs<C>, CallableResultOf<C>>;
|
|
47
47
|
export {};
|
|
48
|
-
//# sourceMappingURL=action.hook.d.ts.map
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export { useDynamicObject, useObject } from './object.hook.js';
|
|
|
8
8
|
export type { RichReadOptions } from './object.hook.js';
|
|
9
9
|
export { RelationUnavailableError, useRelation } from './relation.hook.js';
|
|
10
10
|
export type { RelationOptions, RelationResource, RelationUnavailable } from './relation.hook.js';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,4 +2,3 @@ import type { DomainBinding } from '@astrale-os/shell';
|
|
|
2
2
|
import { KernelSchema } from '@astrale-os/sdk/schema';
|
|
3
3
|
/** The verified, exactly typed Kernel Domain binding. */
|
|
4
4
|
export declare function useKernel(): DomainBinding<typeof KernelSchema>;
|
|
5
|
-
//# sourceMappingURL=kernel.hook.d.ts.map
|
|
@@ -6,4 +6,3 @@ export interface MutationOptions {
|
|
|
6
6
|
}
|
|
7
7
|
/** Execute one named SDK Mutation definition through GraphStore optimism/invalidation. */
|
|
8
8
|
export declare function useMutation<Input, Output>(definition: Mutation<Input, Output>, options?: MutationOptions): DomainAction<[Input], Output>;
|
|
9
|
-
//# sourceMappingURL=mutation.hook.d.ts.map
|
|
@@ -10,4 +10,3 @@ export interface RichReadOptions {
|
|
|
10
10
|
export declare function useObject<Class extends ResolvedClass<'node'>>(definition: Class, target: PathLike | null | undefined, options?: RichReadOptions): GraphResource<BoundNode<Class> | null>;
|
|
11
11
|
/** Explicitly untyped point read for inspectors; it never impersonates `useObject`. */
|
|
12
12
|
export declare function useDynamicObject(target: PathLike | null | undefined, options?: RichReadOptions): GraphResource<Node | null>;
|
|
13
|
-
//# sourceMappingURL=object.hook.d.ts.map
|
|
@@ -53,4 +53,3 @@ export interface RelationOptions<Role extends EndpointRole, To> {
|
|
|
53
53
|
/** Traverse one directed resolved Edge Class and bind the selected opposite Nodes. */
|
|
54
54
|
export declare function useRelation<Relation extends ResolvedClass<'edge'>, Role extends EndpointRole, To extends ResolvedClass<'node'>, Source extends ResolvedClass<'node'>>(relation: Relation, source: BoundNode<Source> | null | undefined, options: RelationOptions<Role, To>): RelationResource<BoundNode<To>, EffectiveCardinality<Relation, Role, To>>;
|
|
55
55
|
export {};
|
|
56
|
-
//# sourceMappingURL=relation.hook.d.ts.map
|
package/dist/selection/live.d.ts
CHANGED
|
@@ -10,4 +10,3 @@ export interface ResolvedSelection {
|
|
|
10
10
|
}
|
|
11
11
|
/** Resolve selected identities through the authenticated GraphApi; no fake live subscription. */
|
|
12
12
|
export declare function useResolvedNodes(orderedIds: readonly NodeId[]): ResolvedSelection;
|
|
13
|
-
//# sourceMappingURL=live.d.ts.map
|
|
@@ -4,4 +4,3 @@ export declare function isShellConfig(config: ShellConfig | Shell): config is Sh
|
|
|
4
4
|
/** Stable ownership key. Capability objects intentionally use reference identity. */
|
|
5
5
|
export declare function configIdentity(config: ShellConfig | Shell): string;
|
|
6
6
|
export declare function resolveSelf(shell: Shell): Promise<SelfNode | null>;
|
|
7
|
-
//# sourceMappingURL=boot.d.ts.map
|
|
@@ -15,4 +15,3 @@ export declare function cancelTeardown(shell: Shell): void;
|
|
|
15
15
|
/** Defer a shell's dispose one macrotask, resetting the owning ref when it fires. */
|
|
16
16
|
export declare function scheduleTeardown(shell: Shell, ref: BootRef): void;
|
|
17
17
|
export declare function disposeShell(shell: Shell): void;
|
|
18
|
-
//# sourceMappingURL=ownership.d.ts.map
|
package/dist/session/index.d.ts
CHANGED
|
@@ -6,4 +6,3 @@ export { useKernelInstance } from './kernel-instance.hook.js';
|
|
|
6
6
|
export type { KernelInstance } from './kernel-instance.hook.js';
|
|
7
7
|
export { useConnection } from './connection/connection.hook.js';
|
|
8
8
|
export type { ConnectionStatus, ConnectionValue } from './connection/connection.store.js';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/window/adopt.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ import type { GraphResource } from '../../graph/resource.js';
|
|
|
8
8
|
export declare function useTargetNode(): GraphResource<Node | null>;
|
|
9
9
|
/** Reactive canonical target Path; null represents an explicit parent clear. */
|
|
10
10
|
export declare function useTargetPath(): Path | null;
|
|
11
|
-
//# sourceMappingURL=target-node.hook.d.ts.map
|
package/dist/window/host.d.ts
CHANGED
package/dist/window/hub.d.ts
CHANGED
package/dist/window/index.d.ts
CHANGED
|
@@ -12,4 +12,3 @@ export { useCloseGuard } from './hooks/close-guard.hook.js';
|
|
|
12
12
|
export type { CloseGuard, CloseVerdict } from './hooks/close-guard.hook.js';
|
|
13
13
|
export type { WindowState } from './lifecycle/states.js';
|
|
14
14
|
export type { ResolvedView } from '@astrale-os/shell';
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -30,4 +30,3 @@ export declare function createStageController(container: HTMLElement): StageCont
|
|
|
30
30
|
/** Measure an anchor element's viewport box. */
|
|
31
31
|
export declare function rectOf(el: HTMLElement): SlotRect;
|
|
32
32
|
export declare function sameRect(a: SlotRect, b: SlotRect): boolean;
|
|
33
|
-
//# sourceMappingURL=placement.d.ts.map
|
package/dist/window/stage.d.ts
CHANGED