@dxos/client-protocol 0.8.4-main.dedc0f3 → 0.8.4-main.e8ec1fe
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/lib/browser/chunk-HIQWFHOK.mjs +25 -0
- package/dist/lib/browser/chunk-HIQWFHOK.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +17 -43
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/types/index.mjs +9 -0
- package/dist/lib/browser/types/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-TN3JZMTK.mjs +27 -0
- package/dist/lib/node-esm/chunk-TN3JZMTK.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +16 -43
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/types/index.mjs +10 -0
- package/dist/lib/node-esm/types/index.mjs.map +7 -0
- package/dist/types/src/echo.d.ts +8 -14
- package/dist/types/src/echo.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/service-definitions.d.ts +0 -2
- package/dist/types/src/service-definitions.d.ts.map +1 -1
- package/dist/types/src/space.d.ts +9 -1
- package/dist/types/src/space.d.ts.map +1 -1
- package/dist/types/src/timeouts.d.ts +4 -0
- package/dist/types/src/timeouts.d.ts.map +1 -1
- package/dist/types/src/{schema.d.ts → types/Properties.d.ts} +3 -3
- package/dist/types/src/types/Properties.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -15
- package/src/echo.ts +10 -19
- package/src/index.ts +1 -1
- package/src/service-definitions.ts +0 -7
- package/src/space.ts +10 -1
- package/src/timeouts.ts +5 -0
- package/src/{schema.ts → types/Properties.ts} +2 -2
- package/src/types/index.ts +5 -0
- package/dist/types/src/schema.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/client.ts":{"bytes":710,"imports":[],"format":"esm"},"src/config.ts":{"bytes":6067,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5819,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/client.ts":{"bytes":710,"imports":[],"format":"esm"},"src/config.ts":{"bytes":6067,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5819,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9357,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":565,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service-definitions.ts":{"bytes":9009,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/timeouts.ts":{"bytes":3417,"imports":[],"format":"esm"},"src/types/Properties.ts":{"bytes":2952,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":467,"imports":[{"path":"src/types/Properties.ts","kind":"import-statement","original":"./Properties"}],"format":"esm"},"src/index.ts":{"bytes":1082,"imports":[{"path":"src/client.ts","kind":"import-statement","original":"./client"},{"path":"src/config.ts","kind":"import-statement","original":"./config"},{"path":"src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"src/service-definitions.ts","kind":"import-statement","original":"./service-definitions"},{"path":"src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17530},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-TN3JZMTK.mjs","kind":"import-statement"},{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","ENV_DX_CONFIG","ENV_DX_NO_AGENT","ENV_DX_PROFILE","ENV_DX_PROFILE_DEFAULT","EXPECTED_CONFIG_VERSION","IMPORT_SPACE_TIMEOUT","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","PropertiesType","RESOURCE_LOCK_TIMEOUT","STATUS_TIMEOUT","TYPE_PROPERTIES","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfilePath","iframeServiceBundle","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"src/index.ts","inputs":{"src/client.ts":{"bytesInOutput":81},"src/index.ts":{"bytesInOutput":0},"src/config.ts":{"bytesInOutput":841},"src/invitations/encoder.ts":{"bytesInOutput":1355},"src/invitations/index.ts":{"bytesInOutput":0},"src/invitations/invitations.ts":{"bytesInOutput":1921},"src/service-definitions.ts":{"bytesInOutput":1548},"src/timeouts.ts":{"bytesInOutput":256}},"bytes":7248},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-TN3JZMTK.mjs","kind":"import-statement"}],"exports":["PropertiesType","TYPE_PROPERTIES"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":252},"dist/lib/node-esm/chunk-TN3JZMTK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1546},"dist/lib/node-esm/chunk-TN3JZMTK.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true}],"exports":["PropertiesType","TYPE_PROPERTIES"],"inputs":{"src/types/Properties.ts":{"bytesInOutput":559},"src/types/index.ts":{"bytesInOutput":0}},"bytes":772}}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
PropertiesType,
|
|
4
|
+
TYPE_PROPERTIES
|
|
5
|
+
} from "../chunk-TN3JZMTK.mjs";
|
|
6
|
+
export {
|
|
7
|
+
PropertiesType,
|
|
8
|
+
TYPE_PROPERTIES
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
package/dist/types/src/echo.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import type { MulticastObservable } from '@dxos/async';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Queryable } from '@dxos/echo-db';
|
|
3
3
|
import type { PublicKey, SpaceId } from '@dxos/keys';
|
|
4
4
|
import type { Invitation, SpaceArchive } from '@dxos/protocols/proto/dxos/client/services';
|
|
5
5
|
import type { AuthenticatingInvitation } from './invitations';
|
|
6
|
-
import type { PropertiesTypeProps } from './schema';
|
|
7
6
|
import type { Space } from './space';
|
|
7
|
+
import type { PropertiesTypeProps } from './types';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Public database API.
|
|
10
10
|
*/
|
|
11
|
-
export interface Echo extends MulticastObservable<Space[]
|
|
12
|
-
/**
|
|
13
|
-
* Resolves when the default space is available.
|
|
14
|
-
*/
|
|
15
|
-
waitUntilReady(): Promise<void>;
|
|
11
|
+
export interface Echo extends MulticastObservable<Space[]>, Queryable {
|
|
16
12
|
/**
|
|
17
13
|
* Observable which indicates when the default space is available.
|
|
18
14
|
*/
|
|
@@ -34,6 +30,10 @@ export interface Echo extends MulticastObservable<Space[]> {
|
|
|
34
30
|
* Returns the default space.
|
|
35
31
|
*/
|
|
36
32
|
get default(): Space;
|
|
33
|
+
/**
|
|
34
|
+
* Resolves when the default space is available.
|
|
35
|
+
*/
|
|
36
|
+
waitUntilReady(): Promise<void>;
|
|
37
37
|
/**
|
|
38
38
|
* Creates a new space.
|
|
39
39
|
*/
|
|
@@ -47,11 +47,5 @@ export interface Echo extends MulticastObservable<Space[]> {
|
|
|
47
47
|
*/
|
|
48
48
|
join(invitation: Invitation | string): AuthenticatingInvitation;
|
|
49
49
|
joinBySpaceKey(spaceKey: PublicKey): Promise<Space>;
|
|
50
|
-
/**
|
|
51
|
-
* Query all spaces.
|
|
52
|
-
* @param filter
|
|
53
|
-
* @param options
|
|
54
|
-
*/
|
|
55
|
-
query: QueryFn;
|
|
56
50
|
}
|
|
57
51
|
//# sourceMappingURL=echo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"echo.d.ts","sourceRoot":"","sources":["../../../src/echo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"echo.d.ts","sourceRoot":"","sources":["../../../src/echo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;GAEG;AAEH,MAAM,WAAW,IAAK,SAAQ,mBAAmB,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS;IACnE;;OAEG;IAEH,IAAI,OAAO,IAAI,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE5C;;OAEG;IACH,GAAG,IAAI,KAAK,EAAE,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;IAEpC;;;OAGG;IACH,GAAG,CAAC,QAAQ,EAAE,SAAS,GAAG,KAAK,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,IAAI,OAAO,IAAI,KAAK,CAAC;IAErB;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhC;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEnD;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAE9C;;OAEG;IACH,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,wBAAwB,CAAC;IAEhE,cAAc,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,mBAAmB,QAAQ,CAAC;AAC5B,mBAAmB,QAAQ,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,SAAS,CAAC;AAC7B,mBAAmB,SAAS,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,mBAAmB,QAAQ,CAAC;AAC5B,mBAAmB,QAAQ,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,SAAS,CAAC;AAC7B,mBAAmB,SAAS,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Event } from '@dxos/async';
|
|
2
|
-
import type { FunctionRegistryService } from '@dxos/protocols/proto/dxos/agent/functions';
|
|
3
2
|
import type { ContactsService, DevicesService, EdgeAgentService, IdentityService, InvitationsService, LoggingService, NetworkService, SpacesService, SystemService } from '@dxos/protocols/proto/dxos/client/services';
|
|
4
3
|
import type { DevtoolsHost } from '@dxos/protocols/proto/dxos/devtools/host';
|
|
5
4
|
import type { QueryService } from '@dxos/protocols/proto/dxos/echo/query';
|
|
@@ -20,7 +19,6 @@ export type ClientServices = {
|
|
|
20
19
|
DataService: DataService;
|
|
21
20
|
ContactsService: ContactsService;
|
|
22
21
|
EdgeAgentService: EdgeAgentService;
|
|
23
|
-
FunctionRegistryService: FunctionRegistryService;
|
|
24
22
|
DevtoolsHost: DevtoolsHost;
|
|
25
23
|
TracingService: TracingService;
|
|
26
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-definitions.d.ts","sourceRoot":"","sources":["../../../src/service-definitions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"service-definitions.d.ts","sourceRoot":"","sources":["../../../src/service-definitions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACd,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,KAAK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AAgB,EAAE,aAAa,CAAC,gBAAgB,CAE5D,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC,kBAAkB,CAEhE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type CleanupFn, type MulticastObservable } from '@dxos/async';
|
|
2
2
|
import { type SpecificCredential } from '@dxos/credentials';
|
|
3
|
-
import { type AnyLiveObject, type EchoDatabase, type QueueFactory } from '@dxos/echo-db';
|
|
3
|
+
import { type AnyLiveObject, type EchoDatabase, type QueueFactory, type SpaceSyncState } from '@dxos/echo-db';
|
|
4
4
|
import { type PublicKey, type SpaceId } from '@dxos/keys';
|
|
5
5
|
import { type Contact, type CreateEpochRequest, type Invitation, type SpaceArchive, type Space as SpaceData, type SpaceMember, type SpaceState, type UpdateMemberRoleRequest } from '@dxos/protocols/proto/dxos/client/services';
|
|
6
6
|
import { type EdgeReplicationSetting } from '@dxos/protocols/proto/dxos/echo/metadata';
|
|
@@ -23,6 +23,14 @@ export interface SpaceInternal {
|
|
|
23
23
|
*/
|
|
24
24
|
migrate(): Promise<void>;
|
|
25
25
|
setEdgeReplicationPreference(setting: EdgeReplicationSetting): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Waits until the space is fully synced with EDGE.
|
|
28
|
+
* @throws If the EDGE sync is disabled.
|
|
29
|
+
*/
|
|
30
|
+
syncToEdge(opts?: {
|
|
31
|
+
onProgress: (state: SpaceSyncState.PeerState | undefined) => void;
|
|
32
|
+
timeout?: number;
|
|
33
|
+
}): Promise<void>;
|
|
26
34
|
export(): Promise<SpaceArchive>;
|
|
27
35
|
}
|
|
28
36
|
export interface Space {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/space.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EA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I,WAAW,IAAI,mBAAmB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAEhE,IAAI,OAAO,IAAI,mBAAmB,CAAC,WAAW,EAAE,CAAC,CAAC;IAElD;;OAEG;IAEH,IAAI,QAAQ,IAAI,aAAa,CAAC;IAG9B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtB;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhC,cAAc,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC;IAGzC,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,qBAAqB,CAAC;IAE5D,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAGpF,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,KAAK,SAAS,CAAC;CACpF"}
|
|
@@ -23,6 +23,10 @@ export declare const LOAD_PROPERTIES_TIMEOUT = 3000;
|
|
|
23
23
|
* Timeout for creating new spaces.
|
|
24
24
|
*/
|
|
25
25
|
export declare const CREATE_SPACE_TIMEOUT = 5000;
|
|
26
|
+
/**
|
|
27
|
+
* Timeout for creating new spaces.
|
|
28
|
+
*/
|
|
29
|
+
export declare const IMPORT_SPACE_TIMEOUT = 30000;
|
|
26
30
|
/**
|
|
27
31
|
* Timeout for loading of control feeds.
|
|
28
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeouts.d.ts","sourceRoot":"","sources":["../../../src/timeouts.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAS,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,YAAY,QAAS,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,cAAc,QAAS,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,qBAAqB,OAAQ,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,oBAAoB,OAAQ,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,0BAA0B,OAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"timeouts.d.ts","sourceRoot":"","sources":["../../../src/timeouts.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAS,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,YAAY,QAAS,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,cAAc,QAAS,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,qBAAqB,OAAQ,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,oBAAoB,OAAQ,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAS,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,0BAA0B,OAAQ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { Type } from '@dxos/echo';
|
|
3
3
|
import { Queue } from '@dxos/echo-db';
|
|
4
4
|
export declare const TYPE_PROPERTIES = "dxos.org/type/Properties";
|
|
5
|
-
declare const PropertiesType_base: import("@dxos/echo
|
|
5
|
+
declare const PropertiesType_base: import("@dxos/echo/internal").TypedObjectPrototype<import("@dxos/echo/internal").TypedObjectFields<{
|
|
6
6
|
name: Schema.optional<typeof Schema.String>;
|
|
7
7
|
hue: Schema.optional<typeof Schema.String>;
|
|
8
8
|
icon: Schema.optional<typeof Schema.String>;
|
|
@@ -19,4 +19,4 @@ export declare class PropertiesType extends PropertiesType_base {
|
|
|
19
19
|
}
|
|
20
20
|
export type PropertiesTypeProps = Pick<PropertiesType, 'name' | 'hue' | 'icon' | 'invocationTraceQueue'>;
|
|
21
21
|
export {};
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=Properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Properties.d.ts","sourceRoot":"","sources":["../../../../src/types/Properties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,eAAO,MAAM,eAAe,6BAA6B,CAAC;;;;;;;;;;;;;;AAG1D,qBAAa,cAAe,SAAQ,mBAYnC;CAAG;AAGJ,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
|