@candypoets/nipworker 0.0.26 → 0.0.34
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/generated/nostr/fb/buffer-full.d.ts +27 -0
- package/dist/generated/nostr/fb/buffer-full.d.ts.map +1 -0
- package/dist/generated/nostr/fb/cashu-data.d.ts +24 -0
- package/dist/generated/nostr/fb/cashu-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/code-data.d.ts +28 -0
- package/dist/generated/nostr/fb/code-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/connection-status.d.ts +32 -0
- package/dist/generated/nostr/fb/connection-status.d.ts.map +1 -0
- package/dist/generated/nostr/fb/contact.d.ts +35 -0
- package/dist/generated/nostr/fb/contact.d.ts.map +1 -0
- package/dist/generated/nostr/fb/content-block.d.ts +43 -0
- package/dist/generated/nostr/fb/content-block.d.ts.map +1 -0
- package/dist/generated/nostr/fb/content-data.d.ts +23 -0
- package/dist/generated/nostr/fb/content-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/count-response.d.ts +27 -0
- package/dist/generated/nostr/fb/count-response.d.ts.map +1 -0
- package/dist/generated/nostr/fb/dleqproof.d.ts +32 -0
- package/dist/generated/nostr/fb/dleqproof.d.ts.map +1 -0
- package/dist/generated/nostr/fb/emoji.d.ts +28 -0
- package/dist/generated/nostr/fb/emoji.d.ts.map +1 -0
- package/dist/generated/nostr/fb/eoce.d.ts +24 -0
- package/dist/generated/nostr/fb/eoce.d.ts.map +1 -0
- package/dist/generated/nostr/fb/event-pointer.d.ts +38 -0
- package/dist/generated/nostr/fb/event-pointer.d.ts.map +1 -0
- package/dist/generated/nostr/fb/hashtag-data.d.ts +24 -0
- package/dist/generated/nostr/fb/hashtag-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/history-tag.d.ts +36 -0
- package/dist/generated/nostr/fb/history-tag.d.ts.map +1 -0
- package/dist/generated/nostr/fb/image-data.d.ts +28 -0
- package/dist/generated/nostr/fb/image-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind0-parsed.d.ts +100 -0
- package/dist/generated/nostr/fb/kind0-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind1-parsed.d.ts +50 -0
- package/dist/generated/nostr/fb/kind1-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind10002-parsed.d.ts +25 -0
- package/dist/generated/nostr/fb/kind10002-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind10019-parsed.d.ts +38 -0
- package/dist/generated/nostr/fb/kind10019-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind17-parsed.d.ts +42 -0
- package/dist/generated/nostr/fb/kind17-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind17375-parsed.d.ts +38 -0
- package/dist/generated/nostr/fb/kind17375-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind3-parsed.d.ts +25 -0
- package/dist/generated/nostr/fb/kind3-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind39089-parsed.d.ts +43 -0
- package/dist/generated/nostr/fb/kind39089-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind4-parsed.d.ts +39 -0
- package/dist/generated/nostr/fb/kind4-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind6-parsed.d.ts +22 -0
- package/dist/generated/nostr/fb/kind6-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind7-parsed.d.ts +42 -0
- package/dist/generated/nostr/fb/kind7-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind7374-parsed.d.ts +31 -0
- package/dist/generated/nostr/fb/kind7374-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind7375-parsed.d.ts +41 -0
- package/dist/generated/nostr/fb/kind7375-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind7376-parsed.d.ts +58 -0
- package/dist/generated/nostr/fb/kind7376-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind9321-parsed.d.ts +56 -0
- package/dist/generated/nostr/fb/kind9321-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/kind9735-parsed.d.ts +64 -0
- package/dist/generated/nostr/fb/kind9735-parsed.d.ts.map +1 -0
- package/dist/generated/nostr/fb/link-preview-data.d.ts +36 -0
- package/dist/generated/nostr/fb/link-preview-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/media-group-data.d.ts +25 -0
- package/dist/generated/nostr/fb/media-group-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/media-item.d.ts +25 -0
- package/dist/generated/nostr/fb/media-item.d.ts.map +1 -0
- package/dist/generated/nostr/fb/message-type.d.ts +9 -0
- package/dist/generated/nostr/fb/message-type.d.ts.map +1 -0
- package/dist/generated/nostr/fb/message.d.ts +19 -0
- package/dist/generated/nostr/fb/message.d.ts.map +1 -0
- package/dist/generated/nostr/fb/mint-info.d.ts +31 -0
- package/dist/generated/nostr/fb/mint-info.d.ts.map +1 -0
- package/dist/generated/nostr/fb/mint-proofs.d.ts +31 -0
- package/dist/generated/nostr/fb/mint-proofs.d.ts.map +1 -0
- package/dist/generated/nostr/fb/nostr-data.d.ts +38 -0
- package/dist/generated/nostr/fb/nostr-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/nostr-event.d.ts +49 -0
- package/dist/generated/nostr/fb/nostr-event.d.ts.map +1 -0
- package/dist/generated/nostr/fb/parsed-data-union.d.ts +19 -0
- package/dist/generated/nostr/fb/parsed-data-union.d.ts.map +1 -0
- package/dist/generated/nostr/fb/parsed-data.d.ts +39 -0
- package/dist/generated/nostr/fb/parsed-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/parsed-event.d.ts +71 -0
- package/dist/generated/nostr/fb/parsed-event.d.ts.map +1 -0
- package/dist/generated/nostr/fb/profile-pointer.d.ts +31 -0
- package/dist/generated/nostr/fb/profile-pointer.d.ts.map +1 -0
- package/dist/generated/nostr/fb/proof-union.d.ts +41 -0
- package/dist/generated/nostr/fb/proof-union.d.ts.map +1 -0
- package/dist/generated/nostr/fb/proof.d.ts +41 -0
- package/dist/generated/nostr/fb/proof.d.ts.map +1 -0
- package/dist/generated/nostr/fb/proofs.d.ts +25 -0
- package/dist/generated/nostr/fb/proofs.d.ts.map +1 -0
- package/dist/generated/nostr/fb/reaction-type.d.ts +7 -0
- package/dist/generated/nostr/fb/reaction-type.d.ts.map +1 -0
- package/dist/generated/nostr/fb/relay-info.d.ts +30 -0
- package/dist/generated/nostr/fb/relay-info.d.ts.map +1 -0
- package/dist/generated/nostr/fb/request.d.ts +74 -0
- package/dist/generated/nostr/fb/request.d.ts.map +1 -0
- package/dist/generated/nostr/fb/string-vec.d.ts +27 -0
- package/dist/generated/nostr/fb/string-vec.d.ts.map +1 -0
- package/dist/generated/nostr/fb/subscribe-kind.d.ts +9 -0
- package/dist/generated/nostr/fb/subscribe-kind.d.ts.map +1 -0
- package/dist/generated/nostr/fb/valid-proofs.d.ts +25 -0
- package/dist/generated/nostr/fb/valid-proofs.d.ts.map +1 -0
- package/dist/generated/nostr/fb/video-data.d.ts +28 -0
- package/dist/generated/nostr/fb/video-data.d.ts.map +1 -0
- package/dist/generated/nostr/fb/worker-message.d.ts +37 -0
- package/dist/generated/nostr/fb/worker-message.d.ts.map +1 -0
- package/dist/generated/nostr/fb/zap-request.d.ts +42 -0
- package/dist/generated/nostr/fb/zap-request.d.ts.map +1 -0
- package/dist/generated/nostr/fb.d.ts +55 -0
- package/dist/generated/nostr/fb.d.ts.map +1 -0
- package/dist/hooks.d.ts +3 -2
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +4 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index2.js +1 -1
- package/dist/index2.js.map +1 -1
- package/dist/lib/ByteString.d.ts +32 -0
- package/dist/lib/ByteString.d.ts.map +1 -0
- package/dist/lib/ConnectionTracker.d.ts +23 -0
- package/dist/lib/ConnectionTracker.d.ts.map +1 -0
- package/dist/lib/NarrowTypes.d.ts +55 -0
- package/dist/lib/NarrowTypes.d.ts.map +1 -0
- package/dist/lib/{sharedBuffer.d.ts → SharedBuffer.d.ts} +4 -4
- package/dist/lib/SharedBuffer.d.ts.map +1 -0
- package/dist/message-type.js +1 -0
- package/dist/message-type.js.map +1 -0
- package/dist/types/index.d.ts +64 -49
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils.d.ts +16 -22
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +4 -3
- package/dist/index3.js +0 -1
- package/dist/index3.js.map +0 -1
- package/dist/lib/sharedBuffer.d.ts.map +0 -1
- package/dist/types/kind0.d.ts +0 -24
- package/dist/types/kind0.d.ts.map +0 -1
- package/dist/types/kind1.d.ts +0 -17
- package/dist/types/kind1.d.ts.map +0 -1
- package/dist/types/kind10002.d.ts +0 -7
- package/dist/types/kind10002.d.ts.map +0 -1
- package/dist/types/kind10019.d.ts +0 -9
- package/dist/types/kind10019.d.ts.map +0 -1
- package/dist/types/kind17.d.ts +0 -4
- package/dist/types/kind17.d.ts.map +0 -1
- package/dist/types/kind17375.d.ts +0 -7
- package/dist/types/kind17375.d.ts.map +0 -1
- package/dist/types/kind3.d.ts +0 -7
- package/dist/types/kind3.d.ts.map +0 -1
- package/dist/types/kind39089.d.ts +0 -11
- package/dist/types/kind39089.d.ts.map +0 -1
- package/dist/types/kind4.d.ts +0 -9
- package/dist/types/kind4.d.ts.map +0 -1
- package/dist/types/kind6.d.ts +0 -6
- package/dist/types/kind6.d.ts.map +0 -1
- package/dist/types/kind7.d.ts +0 -18
- package/dist/types/kind7.d.ts.map +0 -1
- package/dist/types/kind7374.d.ts +0 -6
- package/dist/types/kind7374.d.ts.map +0 -1
- package/dist/types/kind7375.d.ts +0 -9
- package/dist/types/kind7375.d.ts.map +0 -1
- package/dist/types/kind7376.d.ts +0 -16
- package/dist/types/kind7376.d.ts.map +0 -1
- package/dist/types/kind9321.d.ts +0 -11
- package/dist/types/kind9321.d.ts.map +0 -1
- package/dist/types/kind9735.d.ts +0 -15
- package/dist/types/kind9735.d.ts.map +0 -1
- package/dist/types/proofs.d.ts +0 -21
- package/dist/types/proofs.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parsed-data-union.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/parsed-data-union.ts"],"names":[],"mappings":"AAKA,oBAAY,eAAe;IACzB,WAAW,IAAI;IACf,WAAW,IAAI;IACf,WAAW,IAAI;IACf,WAAW,IAAI;IACf,WAAW,IAAI;IACf,WAAW,IAAI;IACf,YAAY,KAAK;IACjB,cAAc,OAAO;IACrB,cAAc,OAAO;IACrB,cAAc,OAAO;IACrB,cAAc,OAAO;IACrB,cAAc,OAAO;IACrB,eAAe,QAAQ;IACvB,eAAe,QAAQ;IACvB,eAAe,QAAQ;IACvB,eAAe,QAAQ;CACxB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Kind0Parsed } from '../../nostr/fb/kind0-parsed.js';
|
|
2
|
+
import { Kind10002Parsed } from '../../nostr/fb/kind10002-parsed.js';
|
|
3
|
+
import { Kind10019Parsed } from '../../nostr/fb/kind10019-parsed.js';
|
|
4
|
+
import { Kind17375Parsed } from '../../nostr/fb/kind17375-parsed.js';
|
|
5
|
+
import { Kind17Parsed } from '../../nostr/fb/kind17-parsed.js';
|
|
6
|
+
import { Kind1Parsed } from '../../nostr/fb/kind1-parsed.js';
|
|
7
|
+
import { Kind39089Parsed } from '../../nostr/fb/kind39089-parsed.js';
|
|
8
|
+
import { Kind3Parsed } from '../../nostr/fb/kind3-parsed.js';
|
|
9
|
+
import { Kind4Parsed } from '../../nostr/fb/kind4-parsed.js';
|
|
10
|
+
import { Kind6Parsed } from '../../nostr/fb/kind6-parsed.js';
|
|
11
|
+
import { Kind7374Parsed } from '../../nostr/fb/kind7374-parsed.js';
|
|
12
|
+
import { Kind7375Parsed } from '../../nostr/fb/kind7375-parsed.js';
|
|
13
|
+
import { Kind7376Parsed } from '../../nostr/fb/kind7376-parsed.js';
|
|
14
|
+
import { Kind7Parsed } from '../../nostr/fb/kind7-parsed.js';
|
|
15
|
+
import { Kind9321Parsed } from '../../nostr/fb/kind9321-parsed.js';
|
|
16
|
+
import { Kind9735Parsed } from '../../nostr/fb/kind9735-parsed.js';
|
|
17
|
+
|
|
18
|
+
export declare enum ParsedData {
|
|
19
|
+
NONE = 0,
|
|
20
|
+
Kind0Parsed = 1,
|
|
21
|
+
Kind1Parsed = 2,
|
|
22
|
+
Kind3Parsed = 3,
|
|
23
|
+
Kind4Parsed = 4,
|
|
24
|
+
Kind6Parsed = 5,
|
|
25
|
+
Kind7Parsed = 6,
|
|
26
|
+
Kind17Parsed = 7,
|
|
27
|
+
Kind10002Parsed = 8,
|
|
28
|
+
Kind10019Parsed = 9,
|
|
29
|
+
Kind17375Parsed = 10,
|
|
30
|
+
Kind39089Parsed = 11,
|
|
31
|
+
Kind7374Parsed = 12,
|
|
32
|
+
Kind7375Parsed = 13,
|
|
33
|
+
Kind7376Parsed = 14,
|
|
34
|
+
Kind9321Parsed = 15,
|
|
35
|
+
Kind9735Parsed = 16
|
|
36
|
+
}
|
|
37
|
+
export declare function unionToParsedData(type: ParsedData, accessor: (obj: Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed) => Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed | null): Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed | null;
|
|
38
|
+
export declare function unionListToParsedData(type: ParsedData, accessor: (index: number, obj: Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed) => Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed | null, index: number): Kind0Parsed | Kind10002Parsed | Kind10019Parsed | Kind17375Parsed | Kind17Parsed | Kind1Parsed | Kind39089Parsed | Kind3Parsed | Kind4Parsed | Kind6Parsed | Kind7374Parsed | Kind7375Parsed | Kind7376Parsed | Kind7Parsed | Kind9321Parsed | Kind9735Parsed | null;
|
|
39
|
+
//# sourceMappingURL=parsed-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parsed-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/parsed-data.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAgB,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAoB,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAoB,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAoB,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAiB,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EA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fb/kind10002-parsed.js';
|
|
4
|
+
import { Kind10019ParsedT } from '../../nostr/fb/kind10019-parsed.js';
|
|
5
|
+
import { Kind17375ParsedT } from '../../nostr/fb/kind17375-parsed.js';
|
|
6
|
+
import { Kind17ParsedT } from '../../nostr/fb/kind17-parsed.js';
|
|
7
|
+
import { Kind1ParsedT } from '../../nostr/fb/kind1-parsed.js';
|
|
8
|
+
import { Kind39089ParsedT } from '../../nostr/fb/kind39089-parsed.js';
|
|
9
|
+
import { Kind3ParsedT } from '../../nostr/fb/kind3-parsed.js';
|
|
10
|
+
import { Kind4ParsedT } from '../../nostr/fb/kind4-parsed.js';
|
|
11
|
+
import { Kind6ParsedT } from '../../nostr/fb/kind6-parsed.js';
|
|
12
|
+
import { Kind7374ParsedT } from '../../nostr/fb/kind7374-parsed.js';
|
|
13
|
+
import { Kind7375ParsedT } from '../../nostr/fb/kind7375-parsed.js';
|
|
14
|
+
import { Kind7376ParsedT } from '../../nostr/fb/kind7376-parsed.js';
|
|
15
|
+
import { Kind7ParsedT } from '../../nostr/fb/kind7-parsed.js';
|
|
16
|
+
import { Kind9321ParsedT } from '../../nostr/fb/kind9321-parsed.js';
|
|
17
|
+
import { Kind9735ParsedT } from '../../nostr/fb/kind9735-parsed.js';
|
|
18
|
+
import { ParsedData } from '../../nostr/fb/parsed-data.js';
|
|
19
|
+
import { Request, RequestT } from '../../nostr/fb/request.js';
|
|
20
|
+
|
|
21
|
+
import * as flatbuffers from 'flatbuffers';
|
|
22
|
+
export declare class ParsedEvent implements flatbuffers.IUnpackableObject<ParsedEventT> {
|
|
23
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
24
|
+
bb_pos: number;
|
|
25
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): ParsedEvent;
|
|
26
|
+
static getRootAsParsedEvent(bb: flatbuffers.ByteBuffer, obj?: ParsedEvent): ParsedEvent;
|
|
27
|
+
static getSizePrefixedRootAsParsedEvent(bb: flatbuffers.ByteBuffer, obj?: ParsedEvent): ParsedEvent;
|
|
28
|
+
id(): ByteString | null;
|
|
29
|
+
id(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
30
|
+
pubkey(): ByteString | null;
|
|
31
|
+
pubkey(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
32
|
+
kind(): number;
|
|
33
|
+
createdAt(): number;
|
|
34
|
+
parsedType(): ParsedData;
|
|
35
|
+
parsed<T extends flatbuffers.Table>(obj: any): any | null;
|
|
36
|
+
requests(index: number, obj?: Request): Request | null;
|
|
37
|
+
requestsLength(): number;
|
|
38
|
+
relays(index: number): ByteString;
|
|
39
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
40
|
+
relaysLength(): number;
|
|
41
|
+
static startParsedEvent(builder: flatbuffers.Builder): void;
|
|
42
|
+
static addId(builder: flatbuffers.Builder, idOffset: flatbuffers.Offset): void;
|
|
43
|
+
static addPubkey(builder: flatbuffers.Builder, pubkeyOffset: flatbuffers.Offset): void;
|
|
44
|
+
static addKind(builder: flatbuffers.Builder, kind: number): void;
|
|
45
|
+
static addCreatedAt(builder: flatbuffers.Builder, createdAt: number): void;
|
|
46
|
+
static addParsedType(builder: flatbuffers.Builder, parsedType: ParsedData): void;
|
|
47
|
+
static addParsed(builder: flatbuffers.Builder, parsedOffset: flatbuffers.Offset): void;
|
|
48
|
+
static addRequests(builder: flatbuffers.Builder, requestsOffset: flatbuffers.Offset): void;
|
|
49
|
+
static createRequestsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
50
|
+
static startRequestsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
51
|
+
static addRelays(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): void;
|
|
52
|
+
static createRelaysVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
53
|
+
static startRelaysVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
54
|
+
static endParsedEvent(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
55
|
+
static createParsedEvent(builder: flatbuffers.Builder, idOffset: flatbuffers.Offset, pubkeyOffset: flatbuffers.Offset, kind: number, createdAt: number, parsedType: ParsedData, parsedOffset: flatbuffers.Offset, requestsOffset: flatbuffers.Offset, relaysOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
56
|
+
unpack(): ParsedEventT;
|
|
57
|
+
unpackTo(_o: ParsedEventT): void;
|
|
58
|
+
}
|
|
59
|
+
export declare class ParsedEventT implements flatbuffers.IGeneratedObject {
|
|
60
|
+
id: ByteString | Uint8Array | null;
|
|
61
|
+
pubkey: ByteString | Uint8Array | null;
|
|
62
|
+
kind: number;
|
|
63
|
+
createdAt: number;
|
|
64
|
+
parsedType: ParsedData;
|
|
65
|
+
parsed: Kind0ParsedT | Kind10002ParsedT | Kind10019ParsedT | Kind17375ParsedT | Kind17ParsedT | Kind1ParsedT | Kind39089ParsedT | Kind3ParsedT | Kind4ParsedT | Kind6ParsedT | Kind7374ParsedT | Kind7375ParsedT | Kind7376ParsedT | Kind7ParsedT | Kind9321ParsedT | Kind9735ParsedT | null;
|
|
66
|
+
requests: (RequestT)[];
|
|
67
|
+
relays: (string)[];
|
|
68
|
+
constructor(id?: ByteString | Uint8Array | null, pubkey?: ByteString | Uint8Array | null, kind?: number, createdAt?: number, parsedType?: ParsedData, parsed?: Kind0ParsedT | Kind10002ParsedT | Kind10019ParsedT | Kind17375ParsedT | Kind17ParsedT | Kind1ParsedT | Kind39089ParsedT | Kind3ParsedT | Kind4ParsedT | Kind6ParsedT | Kind7374ParsedT | Kind7375ParsedT | Kind7376ParsedT | Kind7ParsedT | Kind9321ParsedT | Kind9735ParsedT | null, requests?: (RequestT)[], relays?: (string)[]);
|
|
69
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=parsed-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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YAAY,GAAC,eAAe,GAAC,eAAe,GAAC,IAAW,EACnQ,QAAQ,GAAE,CAAC,QAAQ,CAAC,EAAO,EAC3B,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO;IAIhC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAkBpD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
export declare class ProfilePointer implements flatbuffers.IUnpackableObject<ProfilePointerT> {
|
|
5
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
6
|
+
bb_pos: number;
|
|
7
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): ProfilePointer;
|
|
8
|
+
static getRootAsProfilePointer(bb: flatbuffers.ByteBuffer, obj?: ProfilePointer): ProfilePointer;
|
|
9
|
+
static getSizePrefixedRootAsProfilePointer(bb: flatbuffers.ByteBuffer, obj?: ProfilePointer): ProfilePointer;
|
|
10
|
+
publicKey(): ByteString | null;
|
|
11
|
+
publicKey(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
12
|
+
relays(index: number): ByteString;
|
|
13
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
14
|
+
relaysLength(): number;
|
|
15
|
+
static startProfilePointer(builder: flatbuffers.Builder): void;
|
|
16
|
+
static addPublicKey(builder: flatbuffers.Builder, publicKeyOffset: flatbuffers.Offset): void;
|
|
17
|
+
static addRelays(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): void;
|
|
18
|
+
static createRelaysVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
19
|
+
static startRelaysVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
20
|
+
static endProfilePointer(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
21
|
+
static createProfilePointer(builder: flatbuffers.Builder, publicKeyOffset: flatbuffers.Offset, relaysOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
22
|
+
unpack(): ProfilePointerT;
|
|
23
|
+
unpackTo(_o: ProfilePointerT): void;
|
|
24
|
+
}
|
|
25
|
+
export declare class ProfilePointerT implements flatbuffers.IGeneratedObject {
|
|
26
|
+
publicKey: ByteString | Uint8Array | null;
|
|
27
|
+
relays: (string)[];
|
|
28
|
+
constructor(publicKey?: ByteString | Uint8Array | null, relays?: (string)[]);
|
|
29
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=profile-pointer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-pointer.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/profile-pointer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,cAAe,YAAW,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC;IACnF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,cAAc;IAM5D,MAAM,CAAC,uBAAuB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,cAAc,GAAE,cAAc;IAI7F,MAAM,CAAC,mCAAmC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,cAAc,GAAE,cAAc;IAKzG,SAAS,IAAI,UAAU,GAAC,IAAI;IAC5B,SAAS,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAG,UAAU,GAAC,UAAU,GAAC,IAAI;IAM5E,MAAM,CAAC,KAAK,EAAE,M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G,WAAW,CAAC,MAAM;CASpD"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
import { DLEQProof, DLEQProofT } from '../../nostr/fb/dleqproof.js';
|
|
3
|
+
|
|
4
|
+
import * as flatbuffers from 'flatbuffers';
|
|
5
|
+
export declare class ProofUnion implements flatbuffers.IUnpackableObject<ProofUnionT> {
|
|
6
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
7
|
+
bb_pos: number;
|
|
8
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): ProofUnion;
|
|
9
|
+
static getRootAsProofUnion(bb: flatbuffers.ByteBuffer, obj?: ProofUnion): ProofUnion;
|
|
10
|
+
static getSizePrefixedRootAsProofUnion(bb: flatbuffers.ByteBuffer, obj?: ProofUnion): ProofUnion;
|
|
11
|
+
amount(): bigint;
|
|
12
|
+
id(): ByteString | null;
|
|
13
|
+
id(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
14
|
+
secret(): ByteString | null;
|
|
15
|
+
secret(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
16
|
+
c(): ByteString | null;
|
|
17
|
+
c(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
18
|
+
dleq(obj?: DLEQProof): DLEQProof | null;
|
|
19
|
+
version(): number;
|
|
20
|
+
static startProofUnion(builder: flatbuffers.Builder): void;
|
|
21
|
+
static addAmount(builder: flatbuffers.Builder, amount: bigint): void;
|
|
22
|
+
static addId(builder: flatbuffers.Builder, idOffset: flatbuffers.Offset): void;
|
|
23
|
+
static addSecret(builder: flatbuffers.Builder, secretOffset: flatbuffers.Offset): void;
|
|
24
|
+
static addC(builder: flatbuffers.Builder, cOffset: flatbuffers.Offset): void;
|
|
25
|
+
static addDleq(builder: flatbuffers.Builder, dleqOffset: flatbuffers.Offset): void;
|
|
26
|
+
static addVersion(builder: flatbuffers.Builder, version: number): void;
|
|
27
|
+
static endProofUnion(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
28
|
+
unpack(): ProofUnionT;
|
|
29
|
+
unpackTo(_o: ProofUnionT): void;
|
|
30
|
+
}
|
|
31
|
+
export declare class ProofUnionT implements flatbuffers.IGeneratedObject {
|
|
32
|
+
amount: bigint;
|
|
33
|
+
id: ByteString | Uint8Array | null;
|
|
34
|
+
secret: ByteString | Uint8Array | null;
|
|
35
|
+
c: ByteString | Uint8Array | null;
|
|
36
|
+
dleq: DLEQProofT | null;
|
|
37
|
+
version: number;
|
|
38
|
+
constructor(amount?: bigint, id?: ByteString | Uint8Array | null, secret?: ByteString | Uint8Array | null, c?: ByteString | Uint8Array | null, dleq?: DLEQProofT | null, version?: number);
|
|
39
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=proof-union.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-union.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/proof-union.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGpE,qBAAa,UAAW,YAAW,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC;IAC3E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,UAAU;IAMxD,MAAM,CAAC,mBAAmB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,UAAU,GAAE,UAAU;IAIjF,MAAM,CAAC,+BAA+B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,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pE,MAAM,IAAI,WAAW;IAYrB,QAAQ,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI;CAQ9B;AAED,qBAAa,WAAY,YAAW,WAAW,CAAC,gBAAgB;IAEvD,MAAM,EAAE,MAAM;IACd,EAAE,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;IAC9B,MAAM,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;IAClC,CAAC,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;IAC7B,IAAI,EAAE,UAAU,GAAC,IAAI;IACrB,OAAO,EAAE,MAAM;gBALf,MAAM,GAAE,MAAoB,EAC5B,EAAE,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW,EACrC,MAAM,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW,EACzC,CAAC,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW,EACpC,IAAI,GAAE,UAAU,GAAC,IAAW,EAC5B,OAAO,GAAE,MAAU;IAI5B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAgBpD"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
import { DLEQProof, DLEQProofT } from '../../nostr/fb/dleqproof.js';
|
|
3
|
+
|
|
4
|
+
import * as flatbuffers from 'flatbuffers';
|
|
5
|
+
export declare class Proof implements flatbuffers.IUnpackableObject<ProofT> {
|
|
6
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
7
|
+
bb_pos: number;
|
|
8
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): Proof;
|
|
9
|
+
static getRootAsProof(bb: flatbuffers.ByteBuffer, obj?: Proof): Proof;
|
|
10
|
+
static getSizePrefixedRootAsProof(bb: flatbuffers.ByteBuffer, obj?: Proof): Proof;
|
|
11
|
+
amount(): bigint;
|
|
12
|
+
id(): ByteString | null;
|
|
13
|
+
id(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
14
|
+
secret(): ByteString | null;
|
|
15
|
+
secret(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
16
|
+
c(): ByteString | null;
|
|
17
|
+
c(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
18
|
+
dleq(obj?: DLEQProof): DLEQProof | null;
|
|
19
|
+
version(): number;
|
|
20
|
+
static startProof(builder: flatbuffers.Builder): void;
|
|
21
|
+
static addAmount(builder: flatbuffers.Builder, amount: bigint): void;
|
|
22
|
+
static addId(builder: flatbuffers.Builder, idOffset: flatbuffers.Offset): void;
|
|
23
|
+
static addSecret(builder: flatbuffers.Builder, secretOffset: flatbuffers.Offset): void;
|
|
24
|
+
static addC(builder: flatbuffers.Builder, cOffset: flatbuffers.Offset): void;
|
|
25
|
+
static addDleq(builder: flatbuffers.Builder, dleqOffset: flatbuffers.Offset): void;
|
|
26
|
+
static addVersion(builder: flatbuffers.Builder, version: number): void;
|
|
27
|
+
static endProof(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
28
|
+
unpack(): ProofT;
|
|
29
|
+
unpackTo(_o: ProofT): void;
|
|
30
|
+
}
|
|
31
|
+
export declare class ProofT implements flatbuffers.IGeneratedObject {
|
|
32
|
+
amount: bigint;
|
|
33
|
+
id: ByteString | Uint8Array | null;
|
|
34
|
+
secret: ByteString | Uint8Array | null;
|
|
35
|
+
c: ByteString | Uint8Array | null;
|
|
36
|
+
dleq: DLEQProofT | null;
|
|
37
|
+
version: number;
|
|
38
|
+
constructor(amount?: bigint, id?: ByteString | Uint8Array | null, secret?: ByteString | Uint8Array | null, c?: ByteString | Uint8Array | null, dleq?: DLEQProofT | null, version?: number);
|
|
39
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=proof.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/f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CAAC,MAAM;CAgBpD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Proof, ProofT } from '../../nostr/fb/proof.js';
|
|
2
|
+
import * as flatbuffers from 'flatbuffers';
|
|
3
|
+
export declare class Proofs implements flatbuffers.IUnpackableObject<ProofsT> {
|
|
4
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
+
bb_pos: number;
|
|
6
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): Proofs;
|
|
7
|
+
static getRootAsProofs(bb: flatbuffers.ByteBuffer, obj?: Proofs): Proofs;
|
|
8
|
+
static getSizePrefixedRootAsProofs(bb: flatbuffers.ByteBuffer, obj?: Proofs): Proofs;
|
|
9
|
+
proofs(index: number, obj?: Proof): Proof | null;
|
|
10
|
+
proofsLength(): number;
|
|
11
|
+
static startProofs(builder: flatbuffers.Builder): void;
|
|
12
|
+
static addProofs(builder: flatbuffers.Builder, proofsOffset: flatbuffers.Offset): void;
|
|
13
|
+
static createProofsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
14
|
+
static startProofsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
15
|
+
static endProofs(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
16
|
+
static createProofs(builder: flatbuffers.Builder, proofsOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
17
|
+
unpack(): ProofsT;
|
|
18
|
+
unpackTo(_o: ProofsT): void;
|
|
19
|
+
}
|
|
20
|
+
export declare class ProofsT implements flatbuffers.IGeneratedObject {
|
|
21
|
+
proofs: (ProofT)[];
|
|
22
|
+
constructor(proofs?: (ProofT)[]);
|
|
23
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=proofs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proofs.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/proofs.ts"],"names":[],"m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AAC,MAAM;IAMpG,MAAM,IAAI,OAAO;IAOjB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI;CAG1B;AAED,qBAAa,OAAQ,YAAW,WAAW,CAAC,gBAAgB;IAEnD,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE;gBAAlB,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO;IAIhC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reaction-type.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/reaction-type.ts"],"names":[],"mappings":"AAKA,oBAAY,YAAY;IACtB,IAAI,IAAI;IACR,OAAO,IAAI;IACX,KAAK,IAAI;IACT,MAAM,IAAI;CACX"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
export declare class RelayInfo implements flatbuffers.IUnpackableObject<RelayInfoT> {
|
|
5
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
6
|
+
bb_pos: number;
|
|
7
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): RelayInfo;
|
|
8
|
+
static getRootAsRelayInfo(bb: flatbuffers.ByteBuffer, obj?: RelayInfo): RelayInfo;
|
|
9
|
+
static getSizePrefixedRootAsRelayInfo(bb: flatbuffers.ByteBuffer, obj?: RelayInfo): RelayInfo;
|
|
10
|
+
url(): ByteString | null;
|
|
11
|
+
url(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
12
|
+
read(): boolean;
|
|
13
|
+
write(): boolean;
|
|
14
|
+
static startRelayInfo(builder: flatbuffers.Builder): void;
|
|
15
|
+
static addUrl(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset): void;
|
|
16
|
+
static addRead(builder: flatbuffers.Builder, read: boolean): void;
|
|
17
|
+
static addWrite(builder: flatbuffers.Builder, write: boolean): void;
|
|
18
|
+
static endRelayInfo(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
19
|
+
static createRelayInfo(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset, read: boolean, write: boolean): flatbuffers.Offset;
|
|
20
|
+
unpack(): RelayInfoT;
|
|
21
|
+
unpackTo(_o: RelayInfoT): void;
|
|
22
|
+
}
|
|
23
|
+
export declare class RelayInfoT implements flatbuffers.IGeneratedObject {
|
|
24
|
+
url: ByteString | Uint8Array | null;
|
|
25
|
+
read: boolean;
|
|
26
|
+
write: boolean;
|
|
27
|
+
constructor(url?: ByteString | Uint8Array | null, read?: boolean, write?: boolean);
|
|
28
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=relay-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relay-info.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/relay-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,SAAU,YAAW,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,SAAS;IAMvD,MAAM,CAAC,kBAAkB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;IAI9E,MAAM,CAAC,8BAA8B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;IAK1F,GAAG,IAAI,UAAU,GAAC,IAA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string-vec.js';
|
|
3
|
+
|
|
4
|
+
import * as flatbuffers from 'flatbuffers';
|
|
5
|
+
export declare class Request implements flatbuffers.IUnpackableObject<RequestT> {
|
|
6
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
7
|
+
bb_pos: number;
|
|
8
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): Request;
|
|
9
|
+
static getRootAsRequest(bb: flatbuffers.ByteBuffer, obj?: Request): Request;
|
|
10
|
+
static getSizePrefixedRootAsRequest(bb: flatbuffers.ByteBuffer, obj?: Request): Request;
|
|
11
|
+
ids(index: number): ByteString;
|
|
12
|
+
ids(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
13
|
+
idsLength(): number;
|
|
14
|
+
authors(index: number): ByteString;
|
|
15
|
+
authors(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
16
|
+
authorsLength(): number;
|
|
17
|
+
kinds(index: number): number | null;
|
|
18
|
+
kindsLength(): number;
|
|
19
|
+
kindsArray(): Uint16Array | null;
|
|
20
|
+
tags(index: number, obj?: StringVec): StringVec | null;
|
|
21
|
+
tagsLength(): number;
|
|
22
|
+
limit(): number;
|
|
23
|
+
since(): number;
|
|
24
|
+
until(): number;
|
|
25
|
+
relays(index: number): ByteString;
|
|
26
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
27
|
+
relaysLength(): number;
|
|
28
|
+
closeOnEose(): boolean;
|
|
29
|
+
cacheFirst(): boolean;
|
|
30
|
+
static startRequest(builder: flatbuffers.Builder): void;
|
|
31
|
+
static addIds(builder: flatbuffers.Builder, idsOffset: flatbuffers.Offset): void;
|
|
32
|
+
static createIdsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
33
|
+
static startIdsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
34
|
+
static addAuthors(builder: flatbuffers.Builder, authorsOffset: flatbuffers.Offset): void;
|
|
35
|
+
static createAuthorsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
36
|
+
static startAuthorsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
37
|
+
static addKinds(builder: flatbuffers.Builder, kindsOffset: flatbuffers.Offset): void;
|
|
38
|
+
static createKindsVector(builder: flatbuffers.Builder, data: number[] | Uint16Array): flatbuffers.Offset;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated This Uint8Array overload will be removed in the future.
|
|
41
|
+
*/
|
|
42
|
+
static createKindsVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset;
|
|
43
|
+
static startKindsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
44
|
+
static addTags(builder: flatbuffers.Builder, tagsOffset: flatbuffers.Offset): void;
|
|
45
|
+
static createTagsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
46
|
+
static startTagsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
47
|
+
static addLimit(builder: flatbuffers.Builder, limit: number): void;
|
|
48
|
+
static addSince(builder: flatbuffers.Builder, since: number): void;
|
|
49
|
+
static addUntil(builder: flatbuffers.Builder, until: number): void;
|
|
50
|
+
static addRelays(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): void;
|
|
51
|
+
static createRelaysVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
52
|
+
static startRelaysVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
53
|
+
static addCloseOnEose(builder: flatbuffers.Builder, closeOnEose: boolean): void;
|
|
54
|
+
static addCacheFirst(builder: flatbuffers.Builder, cacheFirst: boolean): void;
|
|
55
|
+
static endRequest(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
56
|
+
static createRequest(builder: flatbuffers.Builder, idsOffset: flatbuffers.Offset, authorsOffset: flatbuffers.Offset, kindsOffset: flatbuffers.Offset, tagsOffset: flatbuffers.Offset, limit: number, since: number, until: number, relaysOffset: flatbuffers.Offset, closeOnEose: boolean, cacheFirst: boolean): flatbuffers.Offset;
|
|
57
|
+
unpack(): RequestT;
|
|
58
|
+
unpackTo(_o: RequestT): void;
|
|
59
|
+
}
|
|
60
|
+
export declare class RequestT implements flatbuffers.IGeneratedObject {
|
|
61
|
+
ids: (string)[];
|
|
62
|
+
authors: (string)[];
|
|
63
|
+
kinds: (number)[];
|
|
64
|
+
tags: (StringVecT)[];
|
|
65
|
+
limit: number;
|
|
66
|
+
since: number;
|
|
67
|
+
until: number;
|
|
68
|
+
relays: (string)[];
|
|
69
|
+
closeOnEose: boolean;
|
|
70
|
+
cacheFirst: boolean;
|
|
71
|
+
constructor(ids?: (string)[], authors?: (string)[], kinds?: (number)[], tags?: (StringVecT)[], limit?: number, since?: number, until?: number, relays?: (string)[], closeOnEose?: boolean, cacheFirst?: boolean);
|
|
72
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGrE,qBAAa,OAAQ,YAAW,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC;IACrE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,OAAO;IAMrD,MAAM,CAAC,gBAAgB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,OAAO,GAAE,OAAO;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AgBlB,QAAQ,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI;CAY3B;AAED,qBAAa,QAAS,YAAW,WAAW,CAAC,gBAAgB;IAEpD,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;IACf,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE;IACnB,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE;IACpB,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE;IAClB,WAAW,EAAE,OAAO;IACpB,UAAU,EAAE,OAAO;gBATnB,GAAG,GAAE,CAAC,MAAM,CAAC,EAAO,EACpB,OAAO,GAAE,CAAC,MAAM,CAAC,EAAO,EACxB,KAAK,GAAE,CAAC,MAAM,CAAC,EAAO,EACtB,IAAI,GAAE,CAAC,UAAU,CAAC,EAAO,EACzB,KAAK,GAAE,MAAU,EACjB,KAAK,GAAE,MAAU,EACjB,KAAK,GAAE,MAAU,EACjB,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO,EACvB,WAAW,GAAE,OAAe,EAC5B,UAAU,GAAE,OAAe;IAIpC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAoBpD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
export declare class StringVec implements flatbuffers.IUnpackableObject<StringVecT> {
|
|
5
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
6
|
+
bb_pos: number;
|
|
7
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): StringVec;
|
|
8
|
+
static getRootAsStringVec(bb: flatbuffers.ByteBuffer, obj?: StringVec): StringVec;
|
|
9
|
+
static getSizePrefixedRootAsStringVec(bb: flatbuffers.ByteBuffer, obj?: StringVec): StringVec;
|
|
10
|
+
items(index: number): ByteString;
|
|
11
|
+
items(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
|
|
12
|
+
itemsLength(): number;
|
|
13
|
+
static startStringVec(builder: flatbuffers.Builder): void;
|
|
14
|
+
static addItems(builder: flatbuffers.Builder, itemsOffset: flatbuffers.Offset): void;
|
|
15
|
+
static createItemsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
16
|
+
static startItemsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
17
|
+
static endStringVec(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
18
|
+
static createStringVec(builder: flatbuffers.Builder, itemsOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
19
|
+
unpack(): StringVecT;
|
|
20
|
+
unpackTo(_o: StringVecT): void;
|
|
21
|
+
}
|
|
22
|
+
export declare class StringVecT implements flatbuffers.IGeneratedObject {
|
|
23
|
+
items: (string)[];
|
|
24
|
+
constructor(items?: (string)[]);
|
|
25
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=string-vec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string-vec.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/string-vec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,SAAU,YAAW,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,SAAS;IAMvD,MAAM,CAAC,kBAAkB,CAAC,EAAE,E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|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe-kind.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/subscribe-kind.ts"],"names":[],"mappings":"AAKA,oBAAY,aAAa;IACvB,WAAW,IAAI;IACf,YAAY,IAAI;IAChB,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,IAAI,IAAI;IACR,UAAU,IAAI;CACf"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MintProofs, MintProofsT } from '../../nostr/fb/mint-proofs.js';
|
|
2
|
+
import * as flatbuffers from 'flatbuffers';
|
|
3
|
+
export declare class ValidProofs implements flatbuffers.IUnpackableObject<ValidProofsT> {
|
|
4
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
+
bb_pos: number;
|
|
6
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): ValidProofs;
|
|
7
|
+
static getRootAsValidProofs(bb: flatbuffers.ByteBuffer, obj?: ValidProofs): ValidProofs;
|
|
8
|
+
static getSizePrefixedRootAsValidProofs(bb: flatbuffers.ByteBuffer, obj?: ValidProofs): ValidProofs;
|
|
9
|
+
proofs(index: number, obj?: MintProofs): MintProofs | null;
|
|
10
|
+
proofsLength(): number;
|
|
11
|
+
static startValidProofs(builder: flatbuffers.Builder): void;
|
|
12
|
+
static addProofs(builder: flatbuffers.Builder, proofsOffset: flatbuffers.Offset): void;
|
|
13
|
+
static createProofsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
14
|
+
static startProofsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
15
|
+
static endValidProofs(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
16
|
+
static createValidProofs(builder: flatbuffers.Builder, proofsOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
17
|
+
unpack(): ValidProofsT;
|
|
18
|
+
unpackTo(_o: ValidProofsT): void;
|
|
19
|
+
}
|
|
20
|
+
export declare class ValidProofsT implements flatbuffers.IGeneratedObject {
|
|
21
|
+
proofs: (MintProofsT)[];
|
|
22
|
+
constructor(proofs?: (MintProofsT)[]);
|
|
23
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=valid-proofs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valid-proofs.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/valid-proofs.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGxE,qBAAa,WAAY,YAAW,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC;IAC7E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,WAAW;IAMzD,MAAM,CAAC,oBAAoB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,WAAW,GAAE,WAAW;IAIpF,MAAM,CAAC,gCAAgC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,WAAW,GAAE,WAAW;IAKhG,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAC,UAAU,GAAE,UAAU,GAAC,IAAI;IAKtD,YAAY,IAAG,MAAM;IAKrB,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAInD,MAAM,CAAC,SAAS,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,YAAY,EAAC,WAAW,CAAC,MAAM;IAI7E,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,WAAW,CAAC,MAAM,EAAE,GAAE,WAAW,CAAC,MAAM;IAQpG,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAC,MAAM;IAIrE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMrE,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,YAAY,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMzG,MAAM,IAAI,YAAY;IAOtB,QAAQ,CAAC,EAAE,EAAE,YAAY,GAAG,IAAI;CAG/B;AAED,qBAAa,YAAa,YAAW,WAAW,CAAC,gBAAgB;IAExD,MAAM,EAAE,CAAC,WAAW,CAAC,EAAE;gBAAvB,MAAM,GAAE,CAAC,WAAW,CAAC,EAAO;IAIrC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
+
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
export declare class VideoData implements flatbuffers.IUnpackableObject<VideoDataT> {
|
|
5
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
6
|
+
bb_pos: number;
|
|
7
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): VideoData;
|
|
8
|
+
static getRootAsVideoData(bb: flatbuffers.ByteBuffer, obj?: VideoData): VideoData;
|
|
9
|
+
static getSizePrefixedRootAsVideoData(bb: flatbuffers.ByteBuffer, obj?: VideoData): VideoData;
|
|
10
|
+
url(): ByteString | null;
|
|
11
|
+
url(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
12
|
+
thumbnail(): ByteString | null;
|
|
13
|
+
thumbnail(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
|
|
14
|
+
static startVideoData(builder: flatbuffers.Builder): void;
|
|
15
|
+
static addUrl(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset): void;
|
|
16
|
+
static addThumbnail(builder: flatbuffers.Builder, thumbnailOffset: flatbuffers.Offset): void;
|
|
17
|
+
static endVideoData(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
18
|
+
static createVideoData(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset, thumbnailOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
19
|
+
unpack(): VideoDataT;
|
|
20
|
+
unpackTo(_o: VideoDataT): void;
|
|
21
|
+
}
|
|
22
|
+
export declare class VideoDataT implements flatbuffers.IGeneratedObject {
|
|
23
|
+
url: ByteString | Uint8Array | null;
|
|
24
|
+
thumbnail: ByteString | Uint8Array | null;
|
|
25
|
+
constructor(url?: ByteString | Uint8Array | null, thumbnail?: ByteString | Uint8Array | null);
|
|
26
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=video-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/video-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,SAAU,YAAW,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,SAAS;IAMvD,MAAM,CAAC,kBAAkB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;IAI9E,MAAM,CAAC,8BAA8B,CAAC,EAAE,EAAC,WAAW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@
|
|
|
1
|
+
import { BufferFullT } from '../../nostr/fb/buffer-full.js';
|
|
2
|
+
import { ConnectionStatusT } from '../../nostr/fb/connection-status.js';
|
|
3
|
+
import { CountResponseT } from '../../nostr/fb/count-response.js';
|
|
4
|
+
import { EoceT } from '../../nostr/fb/eoce.js';
|
|
5
|
+
import { Message } from '../../nostr/fb/message.js';
|
|
6
|
+
import { MessageType } from '../../nostr/fb/message-type.js';
|
|
7
|
+
import { ParsedEventT } from '../../nostr/fb/parsed-event.js';
|
|
8
|
+
import { ValidProofsT } from '../../nostr/fb/valid-proofs.js';
|
|
9
|
+
import * as flatbuffers from 'flatbuffers';
|
|
10
|
+
export declare class WorkerMessage implements flatbuffers.IUnpackableObject<WorkerMessageT> {
|
|
11
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
12
|
+
bb_pos: number;
|
|
13
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): WorkerMessage;
|
|
14
|
+
static getRootAsWorkerMessage(bb: flatbuffers.ByteBuffer, obj?: WorkerMessage): WorkerMessage;
|
|
15
|
+
static getSizePrefixedRootAsWorkerMessage(bb: flatbuffers.ByteBuffer, obj?: WorkerMessage): WorkerMessage;
|
|
16
|
+
type(): MessageType;
|
|
17
|
+
contentType(): Message;
|
|
18
|
+
content<T extends flatbuffers.Table>(obj: any): any | null;
|
|
19
|
+
static startWorkerMessage(builder: flatbuffers.Builder): void;
|
|
20
|
+
static addType(builder: flatbuffers.Builder, type: MessageType): void;
|
|
21
|
+
static addContentType(builder: flatbuffers.Builder, contentType: Message): void;
|
|
22
|
+
static addContent(builder: flatbuffers.Builder, contentOffset: flatbuffers.Offset): void;
|
|
23
|
+
static endWorkerMessage(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
+
static finishWorkerMessageBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
|
|
25
|
+
static finishSizePrefixedWorkerMessageBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
|
|
26
|
+
static createWorkerMessage(builder: flatbuffers.Builder, type: MessageType, contentType: Message, contentOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
27
|
+
unpack(): WorkerMessageT;
|
|
28
|
+
unpackTo(_o: WorkerMessageT): void;
|
|
29
|
+
}
|
|
30
|
+
export declare class WorkerMessageT implements flatbuffers.IGeneratedObject {
|
|
31
|
+
type: MessageType;
|
|
32
|
+
contentType: Message;
|
|
33
|
+
content: BufferFullT | ConnectionStatusT | CountResponseT | EoceT | ParsedEventT | ValidProofsT | null;
|
|
34
|
+
constructor(type?: MessageType, contentType?: Message, content?: BufferFullT | ConnectionStatusT | CountResponseT | EoceT | ParsedEventT | ValidProofsT | null);
|
|
35
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=worker-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-message.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/worker-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAc,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAoB,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAiB,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAQ,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAe,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAe,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAG3E,qBAAa,aAAc,YAAW,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC;IACjF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAA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