@agentshouse/app-bridge 0.1.0-c8d8dc6285bbd → 0.1.0-c8d97d63f2350

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/calls.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- export type ChosenFile = {
2
- name: string;
3
- blob: Blob;
4
- };
5
- export type FileDeclaration = {
6
- name: string;
7
- mediaType: string;
8
- byteLength: number;
9
- contentHash: string;
10
- };
11
- export declare function declaredFile(file: ChosenFile): Promise<FileDeclaration>;
@@ -1,15 +0,0 @@
1
- export type Paths<V> = Readonly<Record<string, V>>;
2
- export declare function entriesIn<V>(map: Paths<V>): Generator<readonly [string, V]>;
3
- export declare function keysIn(...maps: readonly Paths<unknown>[]): Generator<number, Set<string>, void>;
4
- export declare function sortedKeys(map: Paths<unknown>): Generator<number, readonly string[], void>;
5
- export declare function sorting(keys: Iterable<string>): Generator<number, readonly string[], void>;
6
- export declare function sharing<V>(map: Paths<V>): Generator<number, Paths<V>, void>;
7
- export declare function shared<V>(map: Paths<V>): Paths<V>;
8
- export declare function patched<V>(base: Paths<V>, set: Iterable<readonly [string, V]>, removed?: Iterable<string>): Paths<V>;
9
- export declare function patching<V>(base: Paths<V>, set: Iterable<readonly [string, V]>, removed?: Iterable<string>): Generator<number, Paths<V>, void>;
10
- export declare function sizeOf<V>(map: Paths<V>): number;
11
- export declare function differences<V>(left: Paths<V>, right: Paths<V>, same?: (left: V, right: V) => boolean): Generator<number, ReadonlySet<string>, void>;
12
- export declare function differing<V>(left: Paths<V>, right: Paths<V>, same?: (left: V, right: V) => boolean): ReadonlySet<string>;
13
- export declare function drafted<V>(base: Paths<V>): Record<string, V>;
14
- export declare function settled<V>(draft: Record<string, V>): Paths<V>;
15
- export declare function settling<V>(draft: Record<string, V>): Generator<number, Paths<V>, void>;
@@ -1,9 +0,0 @@
1
- import type { Refusal } from '../mdmodel/index.js';
2
- export type Unconfirmed = {
3
- kind: 'unconfirmed';
4
- };
5
- export type Refused = {
6
- kind: 'refused';
7
- refusal: Refusal;
8
- };
9
- export declare const unconfirmed: Unconfirmed;