@holochain-syn/client 0.6.0 → 0.8.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/client.d.ts CHANGED
@@ -1,28 +1,30 @@
1
- import type { AgentPubKey, EntryHash, AppAgentClient } from '@holochain/client';
1
+ import type { AgentPubKey, EntryHash, AppAgentClient, AnyDhtHash } from '@holochain/client';
2
2
  import { EntryRecord, ZomeClient } from '@holochain-open-dev/utils';
3
- import { Commit, CreateCommitInput, CreateWorkspaceInput, SynMessage, SynSignal, UpdateWorkspaceTipInput, Workspace } from './types';
3
+ import { Document, Commit, SessionMessage, SynSignal, Workspace } from './types.js';
4
4
  export declare class SynClient extends ZomeClient<SynSignal> {
5
5
  client: AppAgentClient;
6
6
  roleName: string;
7
7
  zomeName: string;
8
8
  constructor(client: AppAgentClient, roleName: string, zomeName?: string);
9
- /** Roots */
10
- createRoot(commit: Commit): Promise<EntryRecord<Commit>>;
11
- getAllRoots(): Promise<Array<EntryHash>>;
9
+ /** Documents */
10
+ createDocument(document: Document): Promise<EntryRecord<Document>>;
11
+ getDocumentsWithTag(tag: string): Promise<Array<AnyDhtHash>>;
12
+ getDocument(documentHash: AnyDhtHash): Promise<EntryRecord<Document> | undefined>;
13
+ tagDocument(documentHash: AnyDhtHash, tag: string): Promise<void>;
14
+ removeDocumentTag(documentHash: AnyDhtHash, tag: string): Promise<void>;
12
15
  /** Commits */
13
- createCommit(input: CreateCommitInput): Promise<EntryRecord<Commit>>;
16
+ createCommit(commit: Commit): Promise<EntryRecord<Commit>>;
14
17
  getCommit(commitHash: EntryHash): Promise<EntryRecord<Commit> | undefined>;
15
- getCommitsForRoot(root_hash: EntryHash): Promise<Array<EntryHash>>;
18
+ getCommitsForDocument(documentHash: AnyDhtHash): Promise<Array<EntryHash>>;
16
19
  /** Workspaces */
17
- createWorkspace(input: CreateWorkspaceInput): Promise<EntryRecord<Workspace>>;
20
+ createWorkspace(workspace: Workspace, initial_commit_hash: EntryHash): Promise<EntryRecord<Workspace>>;
18
21
  getWorkspace(workspace_hash: EntryHash): Promise<EntryRecord<Workspace> | undefined>;
19
- getWorkspacesForRoot(root_hash: EntryHash): Promise<Array<EntryHash>>;
20
- getWorkspaceCommits(workspaceHash: EntryHash): Promise<Array<EntryHash>>;
22
+ getWorkspacesForDocument(documentHash: AnyDhtHash): Promise<Array<EntryHash>>;
21
23
  getWorkspaceTips(workspaceHash: EntryHash): Promise<Array<EntryHash>>;
22
- updateWorkspaceTip(input: UpdateWorkspaceTipInput): Promise<void>;
24
+ updateWorkspaceTip(workspace_hash: EntryHash, new_tip_hash: EntryHash, previous_commit_hashes: Array<EntryHash>): Promise<void>;
23
25
  getWorkspaceSessionParticipants(workspace_hash: EntryHash): Promise<Array<AgentPubKey>>;
24
26
  getWorkspaceEditors(workspace_hash: EntryHash): Promise<Array<AgentPubKey>>;
25
27
  joinWorkspaceSession(workspace_hash: EntryHash): Promise<AgentPubKey[]>;
26
28
  leaveWorkspaceSession(workspace_hash: EntryHash): Promise<void>;
27
- sendMessage(recipients: Array<AgentPubKey>, message: SynMessage): Promise<void>;
29
+ sendMessage(recipients: Array<AgentPubKey>, message: SessionMessage): Promise<void>;
28
30
  }
package/dist/client.js CHANGED
@@ -6,17 +6,35 @@ export class SynClient extends ZomeClient {
6
6
  this.roleName = roleName;
7
7
  this.zomeName = zomeName;
8
8
  }
9
- /** Roots */
10
- async createRoot(commit) {
11
- const record = await this.callZome('create_root', commit);
9
+ /** Documents */
10
+ async createDocument(document) {
11
+ const record = await this.callZome('create_document', document);
12
12
  return new EntryRecord(record);
13
13
  }
14
- async getAllRoots() {
15
- return this.callZome('get_all_roots', null);
14
+ async getDocumentsWithTag(tag) {
15
+ return this.callZome('get_documents_with_tag', tag);
16
+ }
17
+ async getDocument(documentHash) {
18
+ const record = await this.callZome('get_document', documentHash);
19
+ if (!record)
20
+ return undefined;
21
+ return new EntryRecord(record);
22
+ }
23
+ async tagDocument(documentHash, tag) {
24
+ return this.callZome('tag_document', {
25
+ document_hash: documentHash,
26
+ tag,
27
+ });
28
+ }
29
+ async removeDocumentTag(documentHash, tag) {
30
+ return this.callZome('remove_document_tag', {
31
+ document_hash: documentHash,
32
+ tag,
33
+ });
16
34
  }
17
35
  /** Commits */
18
- async createCommit(input) {
19
- const record = await this.callZome('create_commit', input);
36
+ async createCommit(commit) {
37
+ const record = await this.callZome('create_commit', commit);
20
38
  return new EntryRecord(record);
21
39
  }
22
40
  async getCommit(commitHash) {
@@ -25,29 +43,33 @@ export class SynClient extends ZomeClient {
25
43
  return undefined;
26
44
  return new EntryRecord(record);
27
45
  }
28
- async getCommitsForRoot(root_hash) {
29
- return this.callZome('get_commits_for_root', root_hash);
46
+ async getCommitsForDocument(documentHash) {
47
+ return this.callZome('get_commits_for_document', documentHash);
30
48
  }
31
49
  /** Workspaces */
32
- async createWorkspace(input) {
33
- const record = await this.callZome('create_workspace', input);
50
+ async createWorkspace(workspace, initial_commit_hash) {
51
+ const record = await this.callZome('create_workspace', {
52
+ workspace,
53
+ initial_commit_hash,
54
+ });
34
55
  return new EntryRecord(record);
35
56
  }
36
57
  async getWorkspace(workspace_hash) {
37
58
  const workspace = await this.callZome('get_workspace', workspace_hash);
38
59
  return workspace ? new EntryRecord(workspace) : undefined;
39
60
  }
40
- async getWorkspacesForRoot(root_hash) {
41
- return this.callZome('get_workspaces_for_root', root_hash);
42
- }
43
- async getWorkspaceCommits(workspaceHash) {
44
- return this.callZome('get_workspace_commits', workspaceHash);
61
+ async getWorkspacesForDocument(documentHash) {
62
+ return this.callZome('get_workspaces_for_document', documentHash);
45
63
  }
46
64
  async getWorkspaceTips(workspaceHash) {
47
65
  return this.callZome('get_workspace_tips', workspaceHash);
48
66
  }
49
- updateWorkspaceTip(input) {
50
- return this.callZome('update_workspace_tip', input);
67
+ updateWorkspaceTip(workspace_hash, new_tip_hash, previous_commit_hashes) {
68
+ return this.callZome('update_workspace_tip', {
69
+ workspace_hash,
70
+ new_tip_hash,
71
+ previous_commit_hashes,
72
+ });
51
73
  }
52
74
  getWorkspaceSessionParticipants(workspace_hash) {
53
75
  return this.callZome('get_workspace_session_participants', workspace_hash);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAapE,MAAM,OAAO,SAAU,SAAQ,UAAqB;IAClD,YACS,MAAsB,EACtB,QAAgB,EAChB,WAAW,KAAK;QAEvB,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAJ3B,WAAM,GAAN,MAAM,CAAgB;QACtB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,aAAQ,GAAR,QAAQ,CAAQ;IAGzB,CAAC;IAED,YAAY;IACL,KAAK,CAAC,UAAU,CAAC,MAAc;QACpC,MAAM,MAAM,GAAW,MAAM,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAClE,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,WAAW;QACtB,OAAO,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED,cAAc;IACP,KAAK,CAAC,YAAY,CACvB,KAAwB;QAExB,MAAM,MAAM,GAAW,MAAM,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;QACnE,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,SAAS,CACpB,UAAqB;QAErB,MAAM,MAAM,GAAuB,MAAM,IAAI,CAAC,QAAQ,CACpD,YAAY,EACZ,UAAU,CACX,CAAC;QACF,IAAI,CAAC,MAAM;YAAE,OAAO,SAAS,CAAC;QAE9B,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAE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C,UAAU;YACV,OAAO;SACY,CAAC,CAAC;IACzB,CAAC;CACF"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@holochain/serialization/dist/index.d.ts","../../../node_modules/@holochain/client/lib/types.d.ts","../../../node_modules/@holochain/client/lib/hdk/capabilities.d.ts","../../../node_modules/@holochain/client/lib/hdk/countersigning.d.ts","../../../node_modules/@holochain/client/lib/hdk/entry.d.ts","../../../node_modules/@holochain/client/lib/hdk/action.d.ts","../../../node_modules/@holochain/client/lib/hdk/dht-ops.d.ts","../../../node_modules/@holochain/client/lib/hdk/record.d.ts","../../../node_modules/@holochain/client/lib/hdk/index.d.ts","../../../node_modules/@holochain/client/lib/api/common.d.ts","../../../node_modules/@holochain/client/lib/api/admin/types.d.ts","../../../node_modules/emittery/index.d.ts","../../../node_modules/isomorphic-ws/index.d.ts","../../../node_modules/@holochain/client/lib/api/client.d.ts","../../../node_modules/@holochain/client/lib/api/admin/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/admin/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/types.d.ts","../../../node_modules/@holochain/client/lib/api/zome-call-signing.d.ts","../../../node_modules/@holochain/client/lib/api/app/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app/index.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/types.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/index.d.ts","../../../node_modules/@holochain/client/lib/api/index.d.ts","../../../node_modules/@holochain/client/lib/utils/base64.d.ts","../../../node_modules/@holochain/client/lib/utils/fake-hash.d.ts","../../../node_modules/@holochain/client/lib/utils/index.d.ts","../../../node_modules/@holochain/client/lib/index.d.ts","../node_modules/@holochain-open-dev/utils/dist/hash.d.ts","../node_modules/@holochain-open-dev/utils/dist/fake.d.ts","../node_modules/@holochain-open-dev/utils/dist/zome-client.d.ts","../node_modules/@holochain-open-dev/utils/dist/zome-mock.d.ts","../node_modules/@holochain-open-dev/utils/dist/holo-hash-map.d.ts","../node_modules/@holochain-open-dev/utils/dist/map-utils.d.ts","../node_modules/@holochain-open-dev/utils/dist/timestamp.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry-record.d.ts","../node_modules/@holochain-open-dev/utils/dist/record-bag.d.ts","../node_modules/@holochain-open-dev/utils/dist/cell.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry-state.d.ts","../node_modules/@holochain-open-dev/utils/dist/hrl.d.ts","../node_modules/@holochain-open-dev/utils/dist/role-name.d.ts","../node_modules/@holochain-open-dev/utils/dist/index.d.ts","../src/types.ts","../src/client.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@holochain-open-dev/utils/dist/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"3c6d7f6e11e03fbe2edeb9dd1a4640dd2413968ec11083b073ddb567b5c31245","4fa99e1a528208b43260c1da93fe732becff9a156ec5de29664918cfff97fc10","ad79280f777eb527c313c058cfa32a33cbc00cae03e4cf7439b8b495be26b6a1","33c9fb96cbc5eedbae95ac3cadcc2f85667d9ee56dd31a2124d24c0ab7f72fa1","ee5120b397629a6d2e71bdde434766988ef7ec4ab932d12118533cb82a9906ca","2c876fd569c5285d32b4c484d9b6b193c89396cc0f2cbd9e56ad0dead9d97ed3","6a57a81365be52947f544edd399b0f914f95bf229258ecf6f98c573abf5f608b","41a5f23f9818decc69d093b28304169d5cfdcea6ef2f00121ee4c601b4a9b402","cc1c0db444cdbb80a42389bd34a2264ae9a2e14ccf1459c277a2fe3b88af41c6","ec074adf5bc275949c74d731253139c15bd68e8cd6977fdcc2a61b34c7bc2a79","4aa52029ca4e2e704cc37c6160f8b53cfa9be38c83cb2ed0be300a7c597933f8","30ca089ceab52f168e4a30d9c2fe1835743e5c4cbd9ec40b0b9e67b13b9b9dc5","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","ab280df01931f8d2c1a3fa177136fa47e6d6121f4f54fef6cc3753b250a437ee","1c64b10749648e8c29b61333784b120b700bfc1ffc61eea868524ac36c9a5204","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","ed32f4f681592e497d5f1fb1bac9517084a05f9d1134b74f2cae8f1467811bf4","270dbb9c61ca6740b4a3fe13890fbcf613197cd5bc28501e3847528d7a5c6d06","a7a568b55b81c81bf43313ab0476cabdca9c66f849b011922d09695a6437cfc8","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","719e6bc7fd9d9e34a8d9fc6128d530d665683af501f0a62d1fc9aa9121a86bff","6ceb5a99ad7d21a959052e7cab115b1bb8b6769a8912499b3d79097b8e360bca","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","2b8b4e7f06fa6220d6d397aafae2149dbdf8c51c693e9f3c05c87085e8aa28c7","f7e09742d2615dd1d124704163f36a270f29313b5df2b7be8f9ff437d5ba2669","a9f55c819c8784f94956434f04b709e535c2a36aadbba1341e1d3c4f49b1aded","05b97818e0bee1c1a893426a4da7ee912b99e9c7f0032745850daf356b5f6d3d","8e07e510136d912892df588fd9d79f1f26415e879f4b2893f334cd793a9c8577","c59159c20797e8b204907ef63e4a6d3eb061614938f596802f438da946cda7bb","38706f548dcc57c273bea69b4d200ec2332775188e1c89000443bdf66c8924ce","549ceba1065d66a2740edb8474ada9042e3b5e5ae4299cb8a4203031526532a9","23f31f7b828c86d219f54e19e6f98f6629057065a1f8abca67441ecdc36f03df","3f0a0d9d16d7eab231b3ce8797c3294ba03112fb0c99c1dfac9c3b05dcfbb103","b4a9af945c831767b62a09d1b166d63fe5f54d2ec32d7be9682c4c989a5614a4","92428ea53b5f07627f5c1c065e2cc1d17538af7ff317cefc78d7b2372fb2eade","be665a3cda9e02f956a8f724e4df1313b1c1026aaa3dddc92bd93b52b7513b75","6645a016cbd9d1565344bef31b13475be48f47d226189f7fc695516993c8b0b1","99001fe54b9de012d395713d645a08032a8ef7da1d128ab3b0b756c6c49dc8e6","c397491eb2d833ac87d94ae26b4f65cff931d483e6d79725ee12c2e4f2c22231","9a4558eb853e64b4fe11f2decb6aef6444bdca68a8bd2dab62e30b8876ceed80","0d291e21250c05468e257ad28e21bd399c36dcb4ca2be86ed7e0e82d93407c14","a1371c5bc43fec79e535e181c4e51231967d6e6a62ba9507f1d838588218c776",{"version":"cbb8d193e3828bd03a066406d916f6b79b16397bfdc1cd5a55f8d49cb484ebd2","signature":"3329ac216ffd18a39f01ce64330a897fbfbed082d2ae8c031a012707d37da918"},{"version":"95409d5f63be8c24a48a558d09373332ba2845255c04756d28db58ed88e8eb91","signature":"2a1a6d6180a10ad248f90e99519cf8173e4d60a221bdac3557f065d61615463f"},"1bd7bdb278a946e7388b8b2bcec7a5b87aa85132662a06b7eda1030a44232a9e","8820d4b6f3277e897854b14519e56fea0877b0c22d33815081d0ac42c758b75c","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"71b4526fb5932511db801d844180291cbe1d74985ef0994b6e2347b7a9b39e10",{"version":"625b214f6ef885f37e5e38180897227075f4df11e7ac8f89d8c5f12457a791b2","affectsGlobalScope":true},"5d43adfdfaeebcf67b08e28eec221b0898ca55fe3cfdcbce2b571d6bdb0fa6f4","8fe65c60df7504b1bcbaec2a088a2bff5d7b368dc0a7966d0dbe8f1c8939c146",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"9e390110944981c9428647e2aa14fcffafe99cfe87b15f5e805203f0a4ab0153","e2d8f78894fd5164be13866c76774c43c90ca09d139062665d9be8676989ea5e","76f3fbf450d6a290f6dfc4b255d845e3d3983ebe97d355b1549d3ef324389d4b","5c8bd6a332f932c7f7374b95d3cb4f37b3851c0a9ab58a9133944588b14d2675","0434286811d0ec5b4d828aff611fdf86e33d46dd6419f3df9ed92c644d92a14d","9113b9f010e6bf1ff940e1742fd733d66a3d4b020f14800b8d632a9f61a0dc01","2c5517a55ec36c37320f3202e87905bded4d9625b8e30b779c9ba635df599430",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"32a7b6e7275912b8fbb8c143ff4eeb92b72f83155b48988c30761d69ffeb60f7","affectsGlobalScope":true},"2fb37a76de96cabd401e61bbdd4016799fc24585f96f494bfccb63825ed3fea6","c9cf880485dd30cda73200d52fe126accab426bbb21dc6d3fcdf8541265675c1","cb0cda9e99405f1b8118d46f9535e8f9681bb47c9f83bb3ceb80e99af4d93fee","1bedee1d03d259bf856a1c8cd7c183f1eea9a905f5b02978ecfa47161e597602","5262206d8fe3089bbd1a076cea3da9c9ef6a340e5fa4059c392d400c1964b679","47a0fda775c89671a3705ce925a837cf12b5268bf4ee46a129e12344791c17b6",{"version":"d0a454adb7d0ce354a8c145ef6245d81e2b717fe6908142522eafc2661229e75","affectsGlobalScope":true},"6467de6d1b3c0f03867347567d2d4c33fbea7a572082203149b2c2a591fea13f","4de63c30726b2c653278d8432f5b28cd8ac2afd112dd2f9b025b9bec70d53655","9aff938f442b8e8d5fc5e78c79fed33db2149a3428518519a5fc4d1b7d269d62",{"version":"e626f299569eefa361164975aae1df5e43d2f1b4fde2dc73f882920c6c8db51c","affectsGlobalScope":true},{"version":"087686bf5f9ed81b703f92a2e0544ed494dac0da42aba0ec517f8ffd8352da8b","affectsGlobalScope":true},"bfe95d6a23ba0bc20a0cde03b53d4530ba2bc7f98a92da6ef36bb3ed8ee1a8ab","61e02d13e598146b83a754e285b186da796ff1372893fa64ee1f939284958a07","9b974e1a1d5df0df99045d82407704e5e9ff0e66f497ae4fed5a3a091d46fbea","0db6e6dc5e6caad7389b6287f74e62c0e7fe3dd5b6cd39de0c62907fffbd0576","4e1e712f478183a6a3ff8937a22557d6327e403d7467bfb6b3372c11d82cb76f","24f824ad358f6799e6a2409e248ede18652cae6ce124e9fd41faf13d7a0a1324","f59166827125fba0699710f461c206a25889636c23e2c1383b3053010717ca24","e94f2232bbd613dfaa65c586fe6911734cabc679670e5915b374bec69a716c36","4b73a5ad969173b5ab7047023e477eed5faee5aabb768439b75cee6e9d0b03a2","6d581bc758d3f4c35052d87f6f40c9a4c87f1906ce80de842ce1ef4df17f5b97",{"version":"a54ee34c2cc03ec4bbf0c9b10a08b9f909a21b3314f90a743de7b12b85867cef","affectsGlobalScope":true},{"version":"da89bfd4e3191339bb141434d8e714039617939fa7fc92b3924c288d053ec804","affectsGlobalScope":true},"b860ef7c7864bc87e8e0ebbf1cc6e51a6733926c017f8282e595490495a3f0eb","d3295359ae7abb41a1781105fefb501065ae81d4957ce539b8e513d0ac720c1d","b8e1cba3aedc0673796772a9c30b1343a0f188454b48ddf507b56e0fccbcb7a8","18af2140d025adf83a9a2933c245b4c95f822020e7fedb02c92592e72dfae12a",{"version":"66d3421e032f6fb8474f31e7ff0d54994dea1ff736d4303d24ea67240116f806","affectsGlobalScope":true},{"version":"803daee46683593a3cfd2949bed70bb21b4e36adcaa3d3b43ffd036ed361f832","affectsGlobalScope":true},"b76a0cbccf8d46bfbdf34f20af3de072b613813327e7eea74a5f9bdd55bb683a","6d4161785afef5bbfa5ffb4e607fcb2594b6e8dcbc40557f01ae22b3f67a4b72","30a211c426e095de60924262e4e43455ee7c88975aba4136eced97ee0de9b22d",{"version":"31a3c2c16b0d7e45f15c13648e22635bc873068a1cc1c36a2b4894711587202a","affectsGlobalScope":true},"9a6a91f0cd6a2bd8635bb68c4ae38e3602d4064c9fb74617e7094ae3bf5fe7c2",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"13e851ee5f3dad116583e14e9d3f4aaf231194bbb6f4b969dc7446ae98a3fa73"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"experimentalDecorators":true,"module":99,"noEmitOnError":true,"noErrorTruncation":true,"noImplicitAny":false,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":4},"fileIdsList":[[53,57,134],[44,51,52,66,134],[44,45,52,53,56,134],[63,64,134],[54,62,66,70,134],[44,53,54,59,61,63,134],[59,61,134],[44,52,53,134],[44,45,52,54,56,59,60,134],[54,55,134],[44,134],[43,52,56,58,60,62,65,134],[44,45,134],[44,47,134],[44,53,134],[44,47,48,134],[44,45,46,134],[45,46,47,48,49,50,134],[47,48,134],[44,51,66,69,134],[134],[67,68,134],[88,134],[91,134],[92,97,125,134],[93,104,105,112,122,133,134],[93,94,104,112,134],[95,134],[96,97,105,113,134],[97,122,130,134],[98,100,104,112,134],[99,134],[100,101,134],[104,134],[102,104,134],[104,105,106,122,133,134],[104,105,106,119,122,125,134],[134,138],[100,104,107,112,122,133,134],[104,105,107,108,112,122,130,133,134],[107,109,122,130,133,134],[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],[104,110,134],[111,133,134,138],[100,104,112,122,134],[113,134],[114,134],[91,115,134],[116,132,134,138],[117,134],[118,134],[104,119,120,134],[119,121,134,136],[92,104,122,123,124,125,134],[92,122,124,134],[122,123,134],[125,134],[126,134],[91,122,134],[104,128,129,134],[128,129,134],[97,112,122,130,134],[131,134],[112,132,134],[92,107,118,133,134],[97,134],[122,134,135],[111,134,136],[134,137],[92,97,104,106,115,122,133,134,136,138],[122,134,139],[70,134],[70,78,79,134],[71,72,73,74,75,76,77,78,79,80,81,82,83,134],[70,75,134],[70,75,78,134],[54,70,134],[70,84,85,134],[85,86,134],[70,85,142],[70]],"referencedMap":[[58,1],[53,2],[57,3],[65,4],[63,5],[64,6],[62,7],[59,8],[61,9],[56,10],[52,11],[66,12],[60,13],[48,14],[45,15],[46,14],[49,16],[47,17],[51,18],[50,19],[70,20],[44,21],[67,11],[68,11],[69,22],[43,21],[88,23],[89,23],[91,24],[92,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,32],[100,33],[101,33],[103,34],[102,35],[104,34],[105,36],[106,37],[90,38],[140,21],[107,39],[108,40],[109,41],[141,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,52],[120,52],[121,53],[122,54],[124,55],[123,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[132,64],[133,65],[134,66],[135,67],[136,68],[137,69],[138,70],[139,71],[54,21],[55,21],[8,21],[10,21],[9,21],[2,21],[11,21],[12,21],[13,21],[14,21],[15,21],[16,21],[17,21],[18,21],[3,21],[4,21],[22,21],[19,21],[20,21],[21,21],[23,21],[24,21],[25,21],[5,21],[26,21],[27,21],[28,21],[29,21],[6,21],[33,21],[30,21],[31,21],[32,21],[34,21],[7,21],[35,21],[40,21],[41,21],[36,21],[37,21],[38,21],[39,21],[1,21],[42,21],[80,72],[78,72],[81,73],[72,72],[71,72],[75,72],[82,72],[84,74],[76,75],[79,76],[83,72],[77,72],[73,77],[74,77],[86,78],[87,79],[85,72]],"exportedModulesMap":[[58,1],[53,2],[57,3],[65,4],[63,5],[64,6],[62,7],[59,8],[61,9],[56,10],[52,11],[66,12],[60,13],[48,14],[45,15],[46,14],[49,16],[47,17],[51,18],[50,19],[70,20],[44,21],[67,11],[68,11],[69,22],[43,21],[88,23],[89,23],[91,24],[92,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,32],[100,33],[101,33],[103,34],[102,35],[104,34],[105,36],[106,37],[90,38],[140,21],[107,39],[108,40],[109,41],[141,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,52],[120,52],[121,53],[122,54],[124,55],[123,56],[125,57],[126,58],[127,59],[128,60],[129,61],[130,62],[131,63],[132,64],[133,65],[134,66],[135,67],[136,68],[137,69],[138,70],[139,71],[54,21],[55,21],[8,21],[10,21],[9,21],[2,21],[11,21],[12,21],[13,21],[14,21],[15,21],[16,21],[17,21],[18,21],[3,21],[4,21],[22,21],[19,21],[20,21],[21,21],[23,21],[24,21],[25,21],[5,21],[26,21],[27,21],[28,21],[29,21],[6,21],[33,21],[30,21],[31,21],[32,21],[34,21],[7,21],[35,21],[40,21],[41,21],[36,21],[37,21],[38,21],[39,21],[1,21],[42,21],[80,72],[78,72],[81,73],[72,72],[71,72],[75,72],[82,72],[84,74],[76,75],[79,76],[83,72],[77,72],[73,77],[74,77],[86,80],[87,79],[85,81]],"semanticDiagnosticsPerFile":[58,53,57,65,63,64,62,59,61,56,52,66,60,48,45,46,49,47,51,50,70,44,67,68,69,43,88,89,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,90,140,107,108,109,141,110,111,112,113,114,115,116,117,118,119,120,121,122,124,123,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,54,55,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,80,78,81,72,71,75,82,84,76,79,83,77,73,74,86,87,85]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@holochain/serialization/dist/index.d.ts","../../../node_modules/@holochain/client/lib/types.d.ts","../../../node_modules/@holochain/client/lib/hdk/capabilities.d.ts","../../../node_modules/@holochain/client/lib/hdk/countersigning.d.ts","../../../node_modules/@holochain/client/lib/hdk/entry.d.ts","../../../node_modules/@holochain/client/lib/hdk/action.d.ts","../../../node_modules/@holochain/client/lib/hdk/dht-ops.d.ts","../../../node_modules/@holochain/client/lib/hdk/record.d.ts","../../../node_modules/@holochain/client/lib/hdk/index.d.ts","../../../node_modules/@holochain/client/lib/api/common.d.ts","../../../node_modules/@holochain/client/lib/api/admin/types.d.ts","../../../node_modules/emittery/index.d.ts","../../../node_modules/isomorphic-ws/index.d.ts","../../../node_modules/@holochain/client/lib/api/client.d.ts","../../../node_modules/@holochain/client/lib/api/admin/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/admin/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/types.d.ts","../../../node_modules/@holochain/client/lib/api/zome-call-signing.d.ts","../../../node_modules/@holochain/client/lib/api/app/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app/index.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/types.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app-agent/index.d.ts","../../../node_modules/@holochain/client/lib/api/index.d.ts","../../../node_modules/@holochain/client/lib/utils/base64.d.ts","../../../node_modules/@holochain/client/lib/utils/fake-hash.d.ts","../../../node_modules/@holochain/client/lib/utils/index.d.ts","../../../node_modules/@holochain/client/lib/index.d.ts","../node_modules/@holochain-open-dev/utils/dist/hash.d.ts","../node_modules/@holochain-open-dev/utils/dist/fake.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry.d.ts","../node_modules/@holochain-open-dev/utils/dist/action-committed-signal.d.ts","../node_modules/@holochain-open-dev/utils/dist/zome-client.d.ts","../node_modules/@holochain-open-dev/utils/dist/zome-mock.d.ts","../node_modules/@holochain-open-dev/utils/dist/holo-hash-map.d.ts","../node_modules/@holochain-open-dev/utils/dist/map-utils.d.ts","../node_modules/@holochain-open-dev/utils/dist/timestamp.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry-record.d.ts","../node_modules/@holochain-open-dev/utils/dist/record-bag.d.ts","../node_modules/@holochain-open-dev/utils/dist/cell.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry-state.d.ts","../node_modules/@holochain-open-dev/utils/dist/hrl.d.ts","../node_modules/@holochain-open-dev/utils/dist/role-name.d.ts","../node_modules/@holochain-open-dev/utils/dist/index.d.ts","../src/types.ts","../src/client.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"3c6d7f6e11e03fbe2edeb9dd1a4640dd2413968ec11083b073ddb567b5c31245","4fa99e1a528208b43260c1da93fe732becff9a156ec5de29664918cfff97fc10","ad79280f777eb527c313c058cfa32a33cbc00cae03e4cf7439b8b495be26b6a1","33c9fb96cbc5eedbae95ac3cadcc2f85667d9ee56dd31a2124d24c0ab7f72fa1","ee5120b397629a6d2e71bdde434766988ef7ec4ab932d12118533cb82a9906ca","2c876fd569c5285d32b4c484d9b6b193c89396cc0f2cbd9e56ad0dead9d97ed3","6a57a81365be52947f544edd399b0f914f95bf229258ecf6f98c573abf5f608b","41a5f23f9818decc69d093b28304169d5cfdcea6ef2f00121ee4c601b4a9b402","cc1c0db444cdbb80a42389bd34a2264ae9a2e14ccf1459c277a2fe3b88af41c6","ec074adf5bc275949c74d731253139c15bd68e8cd6977fdcc2a61b34c7bc2a79","4aa52029ca4e2e704cc37c6160f8b53cfa9be38c83cb2ed0be300a7c597933f8","30ca089ceab52f168e4a30d9c2fe1835743e5c4cbd9ec40b0b9e67b13b9b9dc5","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","ab280df01931f8d2c1a3fa177136fa47e6d6121f4f54fef6cc3753b250a437ee","1c64b10749648e8c29b61333784b120b700bfc1ffc61eea868524ac36c9a5204","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","ed32f4f681592e497d5f1fb1bac9517084a05f9d1134b74f2cae8f1467811bf4","270dbb9c61ca6740b4a3fe13890fbcf613197cd5bc28501e3847528d7a5c6d06","a7a568b55b81c81bf43313ab0476cabdca9c66f849b011922d09695a6437cfc8","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","719e6bc7fd9d9e34a8d9fc6128d530d665683af501f0a62d1fc9aa9121a86bff","6ceb5a99ad7d21a959052e7cab115b1bb8b6769a8912499b3d79097b8e360bca","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","2b8b4e7f06fa6220d6d397aafae2149dbdf8c51c693e9f3c05c87085e8aa28c7","f7e09742d2615dd1d124704163f36a270f29313b5df2b7be8f9ff437d5ba2669","a9f55c819c8784f94956434f04b709e535c2a36aadbba1341e1d3c4f49b1aded","05b97818e0bee1c1a893426a4da7ee912b99e9c7f0032745850daf356b5f6d3d","8e07e510136d912892df588fd9d79f1f26415e879f4b2893f334cd793a9c8577","6f82bfed1baafbc20cb7226adfa22a5ec61fc0332e0e669c28bb5e81b4fc248c","38706f548dcc57c273bea69b4d200ec2332775188e1c89000443bdf66c8924ce","714b0982b23aab486508e45fc04af9e88932dc8cba3f7647aac32fd3ec21d41c","0dfc2ded3356c698a8f5bfa3ce7ca868d1edbb008b60c13be6fd5d86711ec5c7","549ceba1065d66a2740edb8474ada9042e3b5e5ae4299cb8a4203031526532a9","23f31f7b828c86d219f54e19e6f98f6629057065a1f8abca67441ecdc36f03df","3f0a0d9d16d7eab231b3ce8797c3294ba03112fb0c99c1dfac9c3b05dcfbb103","b4a9af945c831767b62a09d1b166d63fe5f54d2ec32d7be9682c4c989a5614a4","92428ea53b5f07627f5c1c065e2cc1d17538af7ff317cefc78d7b2372fb2eade","be665a3cda9e02f956a8f724e4df1313b1c1026aaa3dddc92bd93b52b7513b75","6645a016cbd9d1565344bef31b13475be48f47d226189f7fc695516993c8b0b1","99001fe54b9de012d395713d645a08032a8ef7da1d128ab3b0b756c6c49dc8e6","c397491eb2d833ac87d94ae26b4f65cff931d483e6d79725ee12c2e4f2c22231","9a4558eb853e64b4fe11f2decb6aef6444bdca68a8bd2dab62e30b8876ceed80","0d291e21250c05468e257ad28e21bd399c36dcb4ca2be86ed7e0e82d93407c14","45f937f94d62f5d1ae3f6b172748d9430f824225bc31acf179e6fddd4a0f442a",{"version":"1cb652422c3fa90a2daa13fc2a89bca23b7cb53c2099005566f510a3be12f851","signature":"fab6ba635dc341e76186138320d760c7b149ff85989fc36fb1ec383460e38aeb"},{"version":"1af254320a7b18259d81fa622b2c3acf38b20bd4e0ebd4b21b3db9698958a981","signature":"d3f79adfcf1bfedd8757365496cab99f7f3eb822b9679eea395662143c131afe"},"1bd7bdb278a946e7388b8b2bcec7a5b87aa85132662a06b7eda1030a44232a9e","8820d4b6f3277e897854b14519e56fea0877b0c22d33815081d0ac42c758b75c","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"71b4526fb5932511db801d844180291cbe1d74985ef0994b6e2347b7a9b39e10",{"version":"625b214f6ef885f37e5e38180897227075f4df11e7ac8f89d8c5f12457a791b2","affectsGlobalScope":true},"5d43adfdfaeebcf67b08e28eec221b0898ca55fe3cfdcbce2b571d6bdb0fa6f4","8fe65c60df7504b1bcbaec2a088a2bff5d7b368dc0a7966d0dbe8f1c8939c146",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"9e390110944981c9428647e2aa14fcffafe99cfe87b15f5e805203f0a4ab0153","e2d8f78894fd5164be13866c76774c43c90ca09d139062665d9be8676989ea5e","76f3fbf450d6a290f6dfc4b255d845e3d3983ebe97d355b1549d3ef324389d4b","5c8bd6a332f932c7f7374b95d3cb4f37b3851c0a9ab58a9133944588b14d2675","0434286811d0ec5b4d828aff611fdf86e33d46dd6419f3df9ed92c644d92a14d","9113b9f010e6bf1ff940e1742fd733d66a3d4b020f14800b8d632a9f61a0dc01","2c5517a55ec36c37320f3202e87905bded4d9625b8e30b779c9ba635df599430",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"32a7b6e7275912b8fbb8c143ff4eeb92b72f83155b48988c30761d69ffeb60f7","affectsGlobalScope":true},"2fb37a76de96cabd401e61bbdd4016799fc24585f96f494bfccb63825ed3fea6","c9cf880485dd30cda73200d52fe126accab426bbb21dc6d3fcdf8541265675c1","cb0cda9e99405f1b8118d46f9535e8f9681bb47c9f83bb3ceb80e99af4d93fee","1bedee1d03d259bf856a1c8cd7c183f1eea9a905f5b02978ecfa47161e597602","5262206d8fe3089bbd1a076cea3da9c9ef6a340e5fa4059c392d400c1964b679","47a0fda775c89671a3705ce925a837cf12b5268bf4ee46a129e12344791c17b6",{"version":"d0a454adb7d0ce354a8c145ef6245d81e2b717fe6908142522eafc2661229e75","affectsGlobalScope":true},"6467de6d1b3c0f03867347567d2d4c33fbea7a572082203149b2c2a591fea13f","4de63c30726b2c653278d8432f5b28cd8ac2afd112dd2f9b025b9bec70d53655","9aff938f442b8e8d5fc5e78c79fed33db2149a3428518519a5fc4d1b7d269d62",{"version":"e626f299569eefa361164975aae1df5e43d2f1b4fde2dc73f882920c6c8db51c","affectsGlobalScope":true},{"version":"087686bf5f9ed81b703f92a2e0544ed494dac0da42aba0ec517f8ffd8352da8b","affectsGlobalScope":true},"bfe95d6a23ba0bc20a0cde03b53d4530ba2bc7f98a92da6ef36bb3ed8ee1a8ab","61e02d13e598146b83a754e285b186da796ff1372893fa64ee1f939284958a07","9b974e1a1d5df0df99045d82407704e5e9ff0e66f497ae4fed5a3a091d46fbea","0db6e6dc5e6caad7389b6287f74e62c0e7fe3dd5b6cd39de0c62907fffbd0576","4e1e712f478183a6a3ff8937a22557d6327e403d7467bfb6b3372c11d82cb76f","24f824ad358f6799e6a2409e248ede18652cae6ce124e9fd41faf13d7a0a1324","f59166827125fba0699710f461c206a25889636c23e2c1383b3053010717ca24","e94f2232bbd613dfaa65c586fe6911734cabc679670e5915b374bec69a716c36","4b73a5ad969173b5ab7047023e477eed5faee5aabb768439b75cee6e9d0b03a2","6d581bc758d3f4c35052d87f6f40c9a4c87f1906ce80de842ce1ef4df17f5b97",{"version":"a54ee34c2cc03ec4bbf0c9b10a08b9f909a21b3314f90a743de7b12b85867cef","affectsGlobalScope":true},{"version":"da89bfd4e3191339bb141434d8e714039617939fa7fc92b3924c288d053ec804","affectsGlobalScope":true},"b860ef7c7864bc87e8e0ebbf1cc6e51a6733926c017f8282e595490495a3f0eb","d3295359ae7abb41a1781105fefb501065ae81d4957ce539b8e513d0ac720c1d","b8e1cba3aedc0673796772a9c30b1343a0f188454b48ddf507b56e0fccbcb7a8","18af2140d025adf83a9a2933c245b4c95f822020e7fedb02c92592e72dfae12a",{"version":"66d3421e032f6fb8474f31e7ff0d54994dea1ff736d4303d24ea67240116f806","affectsGlobalScope":true},{"version":"803daee46683593a3cfd2949bed70bb21b4e36adcaa3d3b43ffd036ed361f832","affectsGlobalScope":true},"b76a0cbccf8d46bfbdf34f20af3de072b613813327e7eea74a5f9bdd55bb683a","6d4161785afef5bbfa5ffb4e607fcb2594b6e8dcbc40557f01ae22b3f67a4b72","30a211c426e095de60924262e4e43455ee7c88975aba4136eced97ee0de9b22d",{"version":"31a3c2c16b0d7e45f15c13648e22635bc873068a1cc1c36a2b4894711587202a","affectsGlobalScope":true},"9a6a91f0cd6a2bd8635bb68c4ae38e3602d4064c9fb74617e7094ae3bf5fe7c2",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"13e851ee5f3dad116583e14e9d3f4aaf231194bbb6f4b969dc7446ae98a3fa73"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"experimentalDecorators":true,"module":99,"noEmitOnError":true,"noErrorTruncation":true,"noImplicitAny":false,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":4},"fileIdsList":[[53,57,136],[44,51,52,66,136],[44,45,52,53,56,136],[63,64,136],[54,62,66,70,136],[44,53,54,59,61,63,136],[59,61,136],[44,52,53,136],[44,45,52,54,56,59,60,136],[54,55,136],[44,136],[43,52,56,58,60,62,65,136],[44,45,136],[44,47,136],[44,53,136],[44,47,48,136],[44,45,46,136],[45,46,47,48,49,50,136],[47,48,136],[44,51,66,69,136],[136],[67,68,136],[90,136],[93,136],[94,99,127,136],[95,106,107,114,124,135,136],[95,96,106,114,136],[97,136],[98,99,107,115,136],[99,124,132,136],[100,102,106,114,136],[101,136],[102,103,136],[106,136],[104,106,136],[106,107,108,124,135,136],[106,107,108,121,124,127,136],[136,140],[102,106,109,114,124,135,136],[106,107,109,110,114,124,132,135,136],[109,111,124,132,135,136],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],[106,112,136],[113,135,136,140],[102,106,114,124,136],[115,136],[116,136],[93,117,136],[118,134,136,140],[119,136],[120,136],[106,121,122,136],[121,123,136,138],[94,106,124,125,126,127,136],[94,124,126,136],[124,125,136],[127,136],[128,136],[93,124,136],[106,130,131,136],[130,131,136],[99,114,124,132,136],[133,136],[114,134,136],[94,109,120,135,136],[99,136],[124,136,137],[113,136,138],[136,139],[94,99,106,108,117,124,135,136,138,140],[124,136,141],[70,136],[70,80,81,136],[71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,136],[70,77,136],[70,77,80,136],[54,70,136],[70,86,87,136],[87,88,136],[70,86,136],[70,86,87],[70,86]],"referencedMap":[[58,1],[53,2],[57,3],[65,4],[63,5],[64,6],[62,7],[59,8],[61,9],[56,10],[52,11],[66,12],[60,13],[48,14],[45,15],[46,14],[49,16],[47,17],[51,18],[50,19],[70,20],[44,21],[67,11],[68,11],[69,22],[43,21],[90,23],[91,23],[93,24],[94,25],[95,26],[96,27],[97,28],[98,29],[99,30],[100,31],[101,32],[102,33],[103,33],[105,34],[104,35],[106,34],[107,36],[108,37],[92,38],[142,21],[109,39],[110,40],[111,41],[143,42],[112,43],[113,44],[114,45],[115,46],[116,47],[117,48],[118,49],[119,50],[120,51],[121,52],[122,52],[123,53],[124,54],[126,55],[125,56],[127,57],[128,58],[129,59],[130,60],[131,61],[132,62],[133,63],[134,64],[135,65],[136,66],[137,67],[138,68],[139,69],[140,70],[141,71],[54,21],[55,21],[8,21],[10,21],[9,21],[2,21],[11,21],[12,21],[13,21],[14,21],[15,21],[16,21],[17,21],[18,21],[3,21],[4,21],[22,21],[19,21],[20,21],[21,21],[23,21],[24,21],[25,21],[5,21],[26,21],[27,21],[28,21],[29,21],[6,21],[33,21],[30,21],[31,21],[32,21],[34,21],[7,21],[35,21],[40,21],[41,21],[36,21],[37,21],[38,21],[39,21],[1,21],[42,21],[74,72],[82,72],[80,72],[83,73],[73,72],[72,72],[71,72],[77,72],[84,72],[86,74],[78,75],[81,76],[85,72],[79,72],[75,77],[76,77],[88,78],[89,79],[87,80]],"exportedModulesMap":[[58,1],[53,2],[57,3],[65,4],[63,5],[64,6],[62,7],[59,8],[61,9],[56,10],[52,11],[66,12],[60,13],[48,14],[45,15],[46,14],[49,16],[47,17],[51,18],[50,19],[70,20],[44,21],[67,11],[68,11],[69,22],[43,21],[90,23],[91,23],[93,24],[94,25],[95,26],[96,27],[97,28],[98,29],[99,30],[100,31],[101,32],[102,33],[103,33],[105,34],[104,35],[106,34],[107,36],[108,37],[92,38],[142,21],[109,39],[110,40],[111,41],[143,42],[112,43],[113,44],[114,45],[115,46],[116,47],[117,48],[118,49],[119,50],[120,51],[121,52],[122,52],[123,53],[124,54],[126,55],[125,56],[127,57],[128,58],[129,59],[130,60],[131,61],[132,62],[133,63],[134,64],[135,65],[136,66],[137,67],[138,68],[139,69],[140,70],[141,71],[54,21],[55,21],[8,21],[10,21],[9,21],[2,21],[11,21],[12,21],[13,21],[14,21],[15,21],[16,21],[17,21],[18,21],[3,21],[4,21],[22,21],[19,21],[20,21],[21,21],[23,21],[24,21],[25,21],[5,21],[26,21],[27,21],[28,21],[29,21],[6,21],[33,21],[30,21],[31,21],[32,21],[34,21],[7,21],[35,21],[40,21],[41,21],[36,21],[37,21],[38,21],[39,21],[1,21],[42,21],[74,72],[82,72],[80,72],[83,73],[73,72],[72,72],[71,72],[77,72],[84,72],[86,74],[78,75],[81,76],[85,72],[79,72],[75,77],[76,77],[88,81],[89,79],[87,82]],"semanticDiagnosticsPerFile":[58,53,57,65,63,64,62,59,61,56,52,66,60,48,45,46,49,47,51,50,70,44,67,68,69,43,90,91,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,92,142,109,110,111,143,112,113,114,115,116,117,118,119,120,121,122,123,124,126,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,54,55,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,74,82,80,83,73,72,71,77,84,86,78,81,85,79,75,76,88,89,87]},"version":"4.9.5"}
package/dist/types.d.ts CHANGED
@@ -1,6 +1,11 @@
1
- import { AgentPubKey, EntryHash, Record } from '@holochain/client';
1
+ import { ActionCommittedSignal } from '@holochain-open-dev/utils';
2
+ import { AgentPubKey, AnyDhtHash, EntryHash } from '@holochain/client';
3
+ export interface Document {
4
+ meta: Uint8Array | undefined;
5
+ }
2
6
  export interface Commit {
3
7
  state: Uint8Array;
8
+ document_hash: AnyDhtHash;
4
9
  previous_commit_hashes: Array<EntryHash>;
5
10
  authors: Array<AgentPubKey>;
6
11
  witnesses: Array<AgentPubKey>;
@@ -8,40 +13,24 @@ export interface Commit {
8
13
  }
9
14
  export interface Workspace {
10
15
  name: String;
11
- root_hash: EntryHash;
16
+ document_hash: EntryHash;
12
17
  }
13
18
  /** Client API */
14
- export interface CreateCommitInput {
15
- commit: Commit;
16
- root_hash: EntryHash;
17
- }
18
- export interface CreateWorkspaceInput {
19
- workspace: Workspace;
20
- initial_commit_hash: EntryHash;
21
- }
22
- export interface UpdateWorkspaceTipInput {
23
- workspace_hash: EntryHash;
24
- new_tip_hash: EntryHash;
25
- previous_commit_hashes: Array<EntryHash>;
26
- }
27
- export type SynMessage = ({
28
- type: 'WorkspaceMessage';
29
- } & WorkspaceMessage) | {
30
- type: 'NewRoot';
31
- root: Record;
32
- };
33
19
  export interface SendMessageInput {
34
20
  recipients: Array<AgentPubKey>;
35
- message: SynMessage;
21
+ message: SessionMessage;
36
22
  }
37
- export interface WorkspaceMessage {
23
+ export interface SessionMessage {
38
24
  workspace_hash: EntryHash;
39
25
  payload: MessagePayload;
40
26
  }
41
27
  export type MessagePayload = {
42
- type: 'JoinWorkspace';
28
+ type: 'JoinSession';
43
29
  } | {
44
- type: 'LeaveWorkspace';
30
+ type: 'LeaveSession';
31
+ } | {
32
+ type: 'NewCommit';
33
+ new_commit_hash: EntryHash;
45
34
  } | {
46
35
  type: 'ChangeNotice';
47
36
  state_changes: Uint8Array[];
@@ -54,7 +43,16 @@ export type MessagePayload = {
54
43
  type: 'Heartbeat';
55
44
  known_participants: Array<AgentPubKey>;
56
45
  };
57
- export interface SynSignal {
46
+ export type EntryTypes = ({
47
+ type: 'Commit';
48
+ } & Commit) | ({
49
+ type: 'Document';
50
+ } & Document) | ({
51
+ type: 'Workspace';
52
+ } & Workspace);
53
+ export type LinkTypes = 'TagToDocument' | 'DocumentToWorkspaces' | 'DocumentToCommits' | 'WorkspaceToTip' | 'WorkspaceToParticipant';
54
+ export type SynSignal = {
55
+ type: 'SessionMessage';
58
56
  provenance: AgentPubKey;
59
- message: SynMessage;
60
- }
57
+ message: SessionMessage;
58
+ } | ActionCommittedSignal<EntryTypes, LinkTypes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holochain-syn/client",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@holochain/client": "^0.16.1",
20
- "@holochain-open-dev/utils": "^0.16.0",
20
+ "@holochain-open-dev/utils": "^0.16.3",
21
21
  "@msgpack/msgpack": "^2.7.0",
22
22
  "automerge": "^1.0.1-preview.7"
23
23
  },