@xyo-network/archivist-mongodb 2.82.0 → 2.84.0-rc.1

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.
Files changed (102) hide show
  1. package/dist/browser/Archivist.d.cts +50 -61
  2. package/dist/browser/Archivist.d.cts.map +1 -1
  3. package/dist/browser/Archivist.d.mts +50 -61
  4. package/dist/browser/Archivist.d.mts.map +1 -1
  5. package/dist/browser/Archivist.d.ts +50 -61
  6. package/dist/browser/Archivist.d.ts.map +1 -1
  7. package/dist/browser/index.cjs +68 -54
  8. package/dist/browser/index.cjs.map +1 -1
  9. package/dist/browser/index.js +68 -54
  10. package/dist/browser/index.js.map +1 -1
  11. package/dist/browser/lib/index.d.cts +1 -2
  12. package/dist/browser/lib/index.d.cts.map +1 -1
  13. package/dist/browser/lib/index.d.mts +1 -2
  14. package/dist/browser/lib/index.d.mts.map +1 -1
  15. package/dist/browser/lib/index.d.ts +1 -2
  16. package/dist/browser/lib/index.d.ts.map +1 -1
  17. package/dist/browser/lib/toPayloadWithMongoMeta.d.cts +5 -0
  18. package/dist/browser/lib/toPayloadWithMongoMeta.d.cts.map +1 -0
  19. package/dist/browser/lib/toPayloadWithMongoMeta.d.mts +5 -0
  20. package/dist/browser/lib/toPayloadWithMongoMeta.d.mts.map +1 -0
  21. package/dist/browser/lib/toPayloadWithMongoMeta.d.ts +5 -0
  22. package/dist/browser/lib/toPayloadWithMongoMeta.d.ts.map +1 -0
  23. package/dist/browser/lib/toReturnValue.d.cts +1 -2
  24. package/dist/browser/lib/toReturnValue.d.cts.map +1 -1
  25. package/dist/browser/lib/toReturnValue.d.mts +1 -2
  26. package/dist/browser/lib/toReturnValue.d.mts.map +1 -1
  27. package/dist/browser/lib/toReturnValue.d.ts +1 -2
  28. package/dist/browser/lib/toReturnValue.d.ts.map +1 -1
  29. package/dist/browser/lib/validByType.d.cts +3 -7
  30. package/dist/browser/lib/validByType.d.cts.map +1 -1
  31. package/dist/browser/lib/validByType.d.mts +3 -7
  32. package/dist/browser/lib/validByType.d.mts.map +1 -1
  33. package/dist/browser/lib/validByType.d.ts +3 -7
  34. package/dist/browser/lib/validByType.d.ts.map +1 -1
  35. package/dist/node/Archivist.d.cts +50 -61
  36. package/dist/node/Archivist.d.cts.map +1 -1
  37. package/dist/node/Archivist.d.mts +50 -61
  38. package/dist/node/Archivist.d.mts.map +1 -1
  39. package/dist/node/Archivist.d.ts +50 -61
  40. package/dist/node/Archivist.d.ts.map +1 -1
  41. package/dist/node/index.cjs +182 -0
  42. package/dist/node/index.cjs.map +1 -0
  43. package/dist/node/index.js +86 -99
  44. package/dist/node/index.js.map +1 -1
  45. package/dist/node/lib/index.d.cts +1 -2
  46. package/dist/node/lib/index.d.cts.map +1 -1
  47. package/dist/node/lib/index.d.mts +1 -2
  48. package/dist/node/lib/index.d.mts.map +1 -1
  49. package/dist/node/lib/index.d.ts +1 -2
  50. package/dist/node/lib/index.d.ts.map +1 -1
  51. package/dist/node/lib/toPayloadWithMongoMeta.d.cts +5 -0
  52. package/dist/node/lib/toPayloadWithMongoMeta.d.cts.map +1 -0
  53. package/dist/node/lib/toPayloadWithMongoMeta.d.mts +5 -0
  54. package/dist/node/lib/toPayloadWithMongoMeta.d.mts.map +1 -0
  55. package/dist/node/lib/toPayloadWithMongoMeta.d.ts +5 -0
  56. package/dist/node/lib/toPayloadWithMongoMeta.d.ts.map +1 -0
  57. package/dist/node/lib/toReturnValue.d.cts +1 -2
  58. package/dist/node/lib/toReturnValue.d.cts.map +1 -1
  59. package/dist/node/lib/toReturnValue.d.mts +1 -2
  60. package/dist/node/lib/toReturnValue.d.mts.map +1 -1
  61. package/dist/node/lib/toReturnValue.d.ts +1 -2
  62. package/dist/node/lib/toReturnValue.d.ts.map +1 -1
  63. package/dist/node/lib/validByType.d.cts +3 -7
  64. package/dist/node/lib/validByType.d.cts.map +1 -1
  65. package/dist/node/lib/validByType.d.mts +3 -7
  66. package/dist/node/lib/validByType.d.mts.map +1 -1
  67. package/dist/node/lib/validByType.d.ts +3 -7
  68. package/dist/node/lib/validByType.d.ts.map +1 -1
  69. package/package.json +32 -30
  70. package/src/Archivist.ts +35 -19
  71. package/src/lib/index.ts +1 -2
  72. package/src/lib/toPayloadWithMongoMeta.ts +10 -0
  73. package/src/lib/toReturnValue.ts +3 -9
  74. package/src/lib/validByType.ts +10 -6
  75. package/dist/browser/lib/toBoundWitnessWithMeta.d.cts +0 -5
  76. package/dist/browser/lib/toBoundWitnessWithMeta.d.cts.map +0 -1
  77. package/dist/browser/lib/toBoundWitnessWithMeta.d.mts +0 -5
  78. package/dist/browser/lib/toBoundWitnessWithMeta.d.mts.map +0 -1
  79. package/dist/browser/lib/toBoundWitnessWithMeta.d.ts +0 -5
  80. package/dist/browser/lib/toBoundWitnessWithMeta.d.ts.map +0 -1
  81. package/dist/browser/lib/toPayloadWithMeta.d.cts +0 -4
  82. package/dist/browser/lib/toPayloadWithMeta.d.cts.map +0 -1
  83. package/dist/browser/lib/toPayloadWithMeta.d.mts +0 -4
  84. package/dist/browser/lib/toPayloadWithMeta.d.mts.map +0 -1
  85. package/dist/browser/lib/toPayloadWithMeta.d.ts +0 -4
  86. package/dist/browser/lib/toPayloadWithMeta.d.ts.map +0 -1
  87. package/dist/node/index.mjs +0 -141
  88. package/dist/node/index.mjs.map +0 -1
  89. package/dist/node/lib/toBoundWitnessWithMeta.d.cts +0 -5
  90. package/dist/node/lib/toBoundWitnessWithMeta.d.cts.map +0 -1
  91. package/dist/node/lib/toBoundWitnessWithMeta.d.mts +0 -5
  92. package/dist/node/lib/toBoundWitnessWithMeta.d.mts.map +0 -1
  93. package/dist/node/lib/toBoundWitnessWithMeta.d.ts +0 -5
  94. package/dist/node/lib/toBoundWitnessWithMeta.d.ts.map +0 -1
  95. package/dist/node/lib/toPayloadWithMeta.d.cts +0 -4
  96. package/dist/node/lib/toPayloadWithMeta.d.cts.map +0 -1
  97. package/dist/node/lib/toPayloadWithMeta.d.mts +0 -4
  98. package/dist/node/lib/toPayloadWithMeta.d.mts.map +0 -1
  99. package/dist/node/lib/toPayloadWithMeta.d.ts +0 -4
  100. package/dist/node/lib/toPayloadWithMeta.d.ts.map +0 -1
  101. package/src/lib/toBoundWitnessWithMeta.ts +0 -9
  102. package/src/lib/toPayloadWithMeta.ts +0 -6
@@ -1,27 +1,25 @@
1
1
  import { AbstractArchivist } from '@xyo-network/archivist-abstract';
2
2
  import { Payload } from '@xyo-network/payload-model';
3
+ import { PayloadWithMongoMeta } from '@xyo-network/payload-mongodb';
3
4
  declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
4
- _boundWitnessSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMeta> | undefined;
5
- _payloadSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-mongodb").PayloadMetaBase & {
6
- schema: string;
7
- }> | undefined;
5
+ _boundWitnessSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMongoMeta> | undefined;
6
+ _payloadSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta> | undefined;
8
7
  readonly boundWitnessSdkConfig: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkConfig;
9
- readonly boundWitnesses: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMeta>;
8
+ readonly boundWitnesses: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMongoMeta>;
10
9
  readonly jobQueue: import("@xyo-network/node-core-model").JobQueue;
11
10
  readonly payloadSdkConfig: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkConfig;
12
- readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-mongodb").PayloadMetaBase & {
13
- schema: string;
14
- }>;
11
+ readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta>;
15
12
  ensureIndexes(): Promise<void>;
16
13
  address: string;
17
- config: import("@xyo-network/payload-model").SchemaFields & Omit<{
18
- accountDerivationPath?: string | undefined;
19
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
14
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
15
+ readonly archivist?: string | undefined;
20
16
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
21
17
  readonly name?: string | undefined;
22
18
  readonly paging?: Record<string, {
23
19
  size?: number | undefined;
24
20
  }> | undefined;
21
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
22
+ schema: "network.xyo.module.mongodb.config";
25
23
  readonly security?: {
26
24
  readonly allowAnonymous?: boolean | undefined;
27
25
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -30,14 +28,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
30
28
  readonly sign?: boolean | undefined;
31
29
  readonly storeQueries?: boolean | undefined;
32
30
  readonly timestamp?: boolean | undefined;
33
- } & import("@xyo-network/module-model").ArchivingModuleConfig & Omit<import("@xyo-network/payload-model").SchemaFields & Omit<{
34
- accountDerivationPath?: string | undefined;
35
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
31
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
32
+ readonly archivist?: string | undefined;
36
33
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
37
34
  readonly name?: string | undefined;
38
35
  readonly paging?: Record<string, {
39
36
  size?: number | undefined;
40
37
  }> | undefined;
38
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
39
+ schema: "network.xyo.module.mongodb.config";
41
40
  readonly security?: {
42
41
  readonly allowAnonymous?: boolean | undefined;
43
42
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -46,27 +45,25 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
46
45
  readonly sign?: boolean | undefined;
47
46
  readonly storeQueries?: boolean | undefined;
48
47
  readonly timestamp?: boolean | undefined;
49
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
48
+ } & {
50
49
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
51
50
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
52
51
  schema: "network.xyo.module.mongodb.config";
53
- }, "schema"> & {
54
- schema: "network.xyo.module.mongodb.config";
55
- }, "schema"> & {
56
- schema: string;
57
52
  }, "schema"> & {
58
53
  schema: string;
59
54
  };
60
- params: import("@xyo-network/core").BaseParamsFields & {
55
+ id: string;
56
+ params: import("@xylabs/object").BaseParamsFields & {
61
57
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
62
- config: import("@xyo-network/payload-model").SchemaFields & Omit<{
63
- accountDerivationPath?: string | undefined;
64
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
58
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
59
+ readonly archivist?: string | undefined;
65
60
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
66
61
  readonly name?: string | undefined;
67
62
  readonly paging?: Record<string, {
68
63
  size?: number | undefined;
69
64
  }> | undefined;
65
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
66
+ schema: "network.xyo.module.mongodb.config";
70
67
  readonly security?: {
71
68
  readonly allowAnonymous?: boolean | undefined;
72
69
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -75,14 +72,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
75
72
  readonly sign?: boolean | undefined;
76
73
  readonly storeQueries?: boolean | undefined;
77
74
  readonly timestamp?: boolean | undefined;
78
- } & import("@xyo-network/module-model").ArchivingModuleConfig & Omit<import("@xyo-network/payload-model").SchemaFields & Omit<{
79
- accountDerivationPath?: string | undefined;
80
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
75
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
76
+ readonly archivist?: string | undefined;
81
77
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
82
78
  readonly name?: string | undefined;
83
79
  readonly paging?: Record<string, {
84
80
  size?: number | undefined;
85
81
  }> | undefined;
82
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
83
+ schema: "network.xyo.module.mongodb.config";
86
84
  readonly security?: {
87
85
  readonly allowAnonymous?: boolean | undefined;
88
86
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -91,19 +89,14 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
91
89
  readonly sign?: boolean | undefined;
92
90
  readonly storeQueries?: boolean | undefined;
93
91
  readonly timestamp?: boolean | undefined;
94
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
92
+ } & {
95
93
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
96
94
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
97
95
  schema: "network.xyo.module.mongodb.config";
98
- }, "schema"> & {
99
- schema: "network.xyo.module.mongodb.config";
100
- }, "schema"> & {
101
- schema: string;
102
96
  }, "schema"> & {
103
97
  schema: string;
104
98
  };
105
99
  ephemeralQueryAccountEnabled?: boolean | undefined;
106
- wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
107
100
  } & {
108
101
  boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
109
102
  jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
@@ -111,26 +104,27 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
111
104
  };
112
105
  previousHash: () => import("@xylabs/promise").Promisable<string | undefined, never>;
113
106
  queries: string[];
114
- query: <T extends import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
107
+ query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
115
108
  query: string;
116
109
  resultSet?: string | undefined;
117
110
  schema: "network.xyo.boundwitness";
118
111
  }, "schema"> & {
119
112
  schema: "network.xyo.boundwitness";
120
- } = import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
113
+ } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
121
114
  query: string;
122
115
  resultSet?: string | undefined;
123
116
  schema: "network.xyo.boundwitness";
124
117
  }, "schema"> & {
125
118
  schema: "network.xyo.boundwitness";
126
- }, TConf extends import("@xyo-network/payload-model").SchemaFields & {
127
- accountDerivationPath?: string | undefined;
128
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
119
+ }, TConf extends import("@xyo-network/payload-model").SchemaFields & object & {
120
+ readonly archivist?: string | undefined;
129
121
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
130
122
  readonly name?: string | undefined;
131
123
  readonly paging?: Record<string, {
132
124
  size?: number | undefined;
133
125
  }> | undefined;
126
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
127
+ schema: "network.xyo.module.config";
134
128
  readonly security?: {
135
129
  readonly allowAnonymous?: boolean | undefined;
136
130
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -139,16 +133,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
139
133
  readonly sign?: boolean | undefined;
140
134
  readonly storeQueries?: boolean | undefined;
141
135
  readonly timestamp?: boolean | undefined;
142
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
143
- schema: "network.xyo.module.config";
144
- } = import("@xyo-network/payload-model").SchemaFields & {
145
- accountDerivationPath?: string | undefined;
146
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
136
+ } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
137
+ readonly archivist?: string | undefined;
147
138
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
148
139
  readonly name?: string | undefined;
149
140
  readonly paging?: Record<string, {
150
141
  size?: number | undefined;
151
142
  }> | undefined;
143
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
144
+ schema: "network.xyo.module.config";
152
145
  readonly security?: {
153
146
  readonly allowAnonymous?: boolean | undefined;
154
147
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -157,31 +150,30 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
157
150
  readonly sign?: boolean | undefined;
158
151
  readonly storeQueries?: boolean | undefined;
159
152
  readonly timestamp?: boolean | undefined;
160
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
161
- schema: "network.xyo.module.config";
162
- }>(query: T, payloads?: {
153
+ } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
163
154
  schema: string;
164
- }[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult, never>;
165
- queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
155
+ } & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult, never>;
156
+ queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
166
157
  query: string;
167
158
  resultSet?: string | undefined;
168
159
  schema: "network.xyo.boundwitness";
169
160
  }, "schema"> & {
170
161
  schema: "network.xyo.boundwitness";
171
- } = import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
162
+ } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
172
163
  query: string;
173
164
  resultSet?: string | undefined;
174
165
  schema: "network.xyo.boundwitness";
175
166
  }, "schema"> & {
176
167
  schema: "network.xyo.boundwitness";
177
- }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & {
178
- accountDerivationPath?: string | undefined;
179
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
168
+ }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
169
+ readonly archivist?: string | undefined;
180
170
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
181
171
  readonly name?: string | undefined;
182
172
  readonly paging?: Record<string, {
183
173
  size?: number | undefined;
184
174
  }> | undefined;
175
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
176
+ schema: "network.xyo.module.config";
185
177
  readonly security?: {
186
178
  readonly allowAnonymous?: boolean | undefined;
187
179
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -190,16 +182,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
190
182
  readonly sign?: boolean | undefined;
191
183
  readonly storeQueries?: boolean | undefined;
192
184
  readonly timestamp?: boolean | undefined;
193
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
194
- schema: "network.xyo.module.config";
195
- } = import("@xyo-network/payload-model").SchemaFields & {
196
- accountDerivationPath?: string | undefined;
197
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
185
+ } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
186
+ readonly archivist?: string | undefined;
198
187
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
199
188
  readonly name?: string | undefined;
200
189
  readonly paging?: Record<string, {
201
190
  size?: number | undefined;
202
191
  }> | undefined;
192
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
193
+ schema: "network.xyo.module.config";
203
194
  readonly security?: {
204
195
  readonly allowAnonymous?: boolean | undefined;
205
196
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -208,11 +199,9 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
208
199
  readonly sign?: boolean | undefined;
209
200
  readonly storeQueries?: boolean | undefined;
210
201
  readonly timestamp?: boolean | undefined;
211
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
212
- schema: "network.xyo.module.config";
213
- }>(query: T_1, payloads?: {
202
+ } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
214
203
  schema: string;
215
- }[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
204
+ } & object)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
216
205
  start?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
217
206
  stop?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
218
207
  eventData: import("@xyo-network/module-model").ModuleEventData<object>;
@@ -233,7 +222,7 @@ export declare class MongoDBArchivist extends MongoDBArchivistBase {
233
222
  readonly queries: string[];
234
223
  head(): Promise<Payload | undefined>;
235
224
  protected getHandler(hashes: string[]): Promise<Payload[]>;
236
- protected insertHandler(payloads?: Payload[]): Promise<Payload[]>;
225
+ protected insertHandler(payloads: Payload[]): Promise<Payload[]>;
237
226
  protected startHandler(): Promise<boolean>;
238
227
  }
239
228
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAInE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAMpD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAwC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,OAAgB,aAAa,WAAwD;IAErF,SAAkB,OAAO,EAAE,MAAM,EAAE,CAAiD;IAErE,IAAI,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAK1B,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAQhD,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAiBvD,YAAY;CAKtC"}
1
+ {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAInE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAKnE,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAwC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,OAAgB,aAAa,WAAwD;IAErF,SAAkB,OAAO,EAAE,MAAM,EAAE,CAAiD;IAErE,IAAI,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAK1B,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAuBhD,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAkBtD,YAAY;CAKtC"}
@@ -1,27 +1,25 @@
1
1
  import { AbstractArchivist } from '@xyo-network/archivist-abstract';
2
2
  import { Payload } from '@xyo-network/payload-model';
3
+ import { PayloadWithMongoMeta } from '@xyo-network/payload-mongodb';
3
4
  declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
4
- _boundWitnessSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMeta> | undefined;
5
- _payloadSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-mongodb").PayloadMetaBase & {
6
- schema: string;
7
- }> | undefined;
5
+ _boundWitnessSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMongoMeta> | undefined;
6
+ _payloadSdk: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta> | undefined;
8
7
  readonly boundWitnessSdkConfig: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkConfig;
9
- readonly boundWitnesses: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMeta>;
8
+ readonly boundWitnesses: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-mongodb").BoundWitnessWithMongoMeta>;
10
9
  readonly jobQueue: import("@xyo-network/node-core-model").JobQueue;
11
10
  readonly payloadSdkConfig: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkConfig;
12
- readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-mongodb").PayloadMetaBase & {
13
- schema: string;
14
- }>;
11
+ readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta>;
15
12
  ensureIndexes(): Promise<void>;
16
13
  address: string;
17
- config: import("@xyo-network/payload-model").SchemaFields & Omit<{
18
- accountDerivationPath?: string | undefined;
19
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
14
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
15
+ readonly archivist?: string | undefined;
20
16
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
21
17
  readonly name?: string | undefined;
22
18
  readonly paging?: Record<string, {
23
19
  size?: number | undefined;
24
20
  }> | undefined;
21
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
22
+ schema: "network.xyo.module.mongodb.config";
25
23
  readonly security?: {
26
24
  readonly allowAnonymous?: boolean | undefined;
27
25
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -30,14 +28,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
30
28
  readonly sign?: boolean | undefined;
31
29
  readonly storeQueries?: boolean | undefined;
32
30
  readonly timestamp?: boolean | undefined;
33
- } & import("@xyo-network/module-model").ArchivingModuleConfig & Omit<import("@xyo-network/payload-model").SchemaFields & Omit<{
34
- accountDerivationPath?: string | undefined;
35
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
31
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
32
+ readonly archivist?: string | undefined;
36
33
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
37
34
  readonly name?: string | undefined;
38
35
  readonly paging?: Record<string, {
39
36
  size?: number | undefined;
40
37
  }> | undefined;
38
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
39
+ schema: "network.xyo.module.mongodb.config";
41
40
  readonly security?: {
42
41
  readonly allowAnonymous?: boolean | undefined;
43
42
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -46,27 +45,25 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
46
45
  readonly sign?: boolean | undefined;
47
46
  readonly storeQueries?: boolean | undefined;
48
47
  readonly timestamp?: boolean | undefined;
49
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
48
+ } & {
50
49
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
51
50
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
52
51
  schema: "network.xyo.module.mongodb.config";
53
- }, "schema"> & {
54
- schema: "network.xyo.module.mongodb.config";
55
- }, "schema"> & {
56
- schema: string;
57
52
  }, "schema"> & {
58
53
  schema: string;
59
54
  };
60
- params: import("@xyo-network/core").BaseParamsFields & {
55
+ id: string;
56
+ params: import("@xylabs/object").BaseParamsFields & {
61
57
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
62
- config: import("@xyo-network/payload-model").SchemaFields & Omit<{
63
- accountDerivationPath?: string | undefined;
64
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
58
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
59
+ readonly archivist?: string | undefined;
65
60
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
66
61
  readonly name?: string | undefined;
67
62
  readonly paging?: Record<string, {
68
63
  size?: number | undefined;
69
64
  }> | undefined;
65
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
66
+ schema: "network.xyo.module.mongodb.config";
70
67
  readonly security?: {
71
68
  readonly allowAnonymous?: boolean | undefined;
72
69
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -75,14 +72,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
75
72
  readonly sign?: boolean | undefined;
76
73
  readonly storeQueries?: boolean | undefined;
77
74
  readonly timestamp?: boolean | undefined;
78
- } & import("@xyo-network/module-model").ArchivingModuleConfig & Omit<import("@xyo-network/payload-model").SchemaFields & Omit<{
79
- accountDerivationPath?: string | undefined;
80
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
75
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
76
+ readonly archivist?: string | undefined;
81
77
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
82
78
  readonly name?: string | undefined;
83
79
  readonly paging?: Record<string, {
84
80
  size?: number | undefined;
85
81
  }> | undefined;
82
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
83
+ schema: "network.xyo.module.mongodb.config";
86
84
  readonly security?: {
87
85
  readonly allowAnonymous?: boolean | undefined;
88
86
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -91,19 +89,14 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
91
89
  readonly sign?: boolean | undefined;
92
90
  readonly storeQueries?: boolean | undefined;
93
91
  readonly timestamp?: boolean | undefined;
94
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
92
+ } & {
95
93
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
96
94
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
97
95
  schema: "network.xyo.module.mongodb.config";
98
- }, "schema"> & {
99
- schema: "network.xyo.module.mongodb.config";
100
- }, "schema"> & {
101
- schema: string;
102
96
  }, "schema"> & {
103
97
  schema: string;
104
98
  };
105
99
  ephemeralQueryAccountEnabled?: boolean | undefined;
106
- wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
107
100
  } & {
108
101
  boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
109
102
  jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
@@ -111,26 +104,27 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
111
104
  };
112
105
  previousHash: () => import("@xylabs/promise").Promisable<string | undefined, never>;
113
106
  queries: string[];
114
- query: <T extends import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
107
+ query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
115
108
  query: string;
116
109
  resultSet?: string | undefined;
117
110
  schema: "network.xyo.boundwitness";
118
111
  }, "schema"> & {
119
112
  schema: "network.xyo.boundwitness";
120
- } = import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
113
+ } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
121
114
  query: string;
122
115
  resultSet?: string | undefined;
123
116
  schema: "network.xyo.boundwitness";
124
117
  }, "schema"> & {
125
118
  schema: "network.xyo.boundwitness";
126
- }, TConf extends import("@xyo-network/payload-model").SchemaFields & {
127
- accountDerivationPath?: string | undefined;
128
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
119
+ }, TConf extends import("@xyo-network/payload-model").SchemaFields & object & {
120
+ readonly archivist?: string | undefined;
129
121
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
130
122
  readonly name?: string | undefined;
131
123
  readonly paging?: Record<string, {
132
124
  size?: number | undefined;
133
125
  }> | undefined;
126
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
127
+ schema: "network.xyo.module.config";
134
128
  readonly security?: {
135
129
  readonly allowAnonymous?: boolean | undefined;
136
130
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -139,16 +133,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
139
133
  readonly sign?: boolean | undefined;
140
134
  readonly storeQueries?: boolean | undefined;
141
135
  readonly timestamp?: boolean | undefined;
142
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
143
- schema: "network.xyo.module.config";
144
- } = import("@xyo-network/payload-model").SchemaFields & {
145
- accountDerivationPath?: string | undefined;
146
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
136
+ } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
137
+ readonly archivist?: string | undefined;
147
138
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
148
139
  readonly name?: string | undefined;
149
140
  readonly paging?: Record<string, {
150
141
  size?: number | undefined;
151
142
  }> | undefined;
143
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
144
+ schema: "network.xyo.module.config";
152
145
  readonly security?: {
153
146
  readonly allowAnonymous?: boolean | undefined;
154
147
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -157,31 +150,30 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
157
150
  readonly sign?: boolean | undefined;
158
151
  readonly storeQueries?: boolean | undefined;
159
152
  readonly timestamp?: boolean | undefined;
160
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
161
- schema: "network.xyo.module.config";
162
- }>(query: T, payloads?: {
153
+ } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
163
154
  schema: string;
164
- }[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult, never>;
165
- queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
155
+ } & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult, never>;
156
+ queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
166
157
  query: string;
167
158
  resultSet?: string | undefined;
168
159
  schema: "network.xyo.boundwitness";
169
160
  }, "schema"> & {
170
161
  schema: "network.xyo.boundwitness";
171
- } = import("@xyo-network/payload-model").SchemaFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
162
+ } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
172
163
  query: string;
173
164
  resultSet?: string | undefined;
174
165
  schema: "network.xyo.boundwitness";
175
166
  }, "schema"> & {
176
167
  schema: "network.xyo.boundwitness";
177
- }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & {
178
- accountDerivationPath?: string | undefined;
179
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
168
+ }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
169
+ readonly archivist?: string | undefined;
180
170
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
181
171
  readonly name?: string | undefined;
182
172
  readonly paging?: Record<string, {
183
173
  size?: number | undefined;
184
174
  }> | undefined;
175
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
176
+ schema: "network.xyo.module.config";
185
177
  readonly security?: {
186
178
  readonly allowAnonymous?: boolean | undefined;
187
179
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -190,16 +182,15 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
190
182
  readonly sign?: boolean | undefined;
191
183
  readonly storeQueries?: boolean | undefined;
192
184
  readonly timestamp?: boolean | undefined;
193
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
194
- schema: "network.xyo.module.config";
195
- } = import("@xyo-network/payload-model").SchemaFields & {
196
- accountDerivationPath?: string | undefined;
197
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
185
+ } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
186
+ readonly archivist?: string | undefined;
198
187
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
199
188
  readonly name?: string | undefined;
200
189
  readonly paging?: Record<string, {
201
190
  size?: number | undefined;
202
191
  }> | undefined;
192
+ readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
193
+ schema: "network.xyo.module.config";
203
194
  readonly security?: {
204
195
  readonly allowAnonymous?: boolean | undefined;
205
196
  readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
@@ -208,11 +199,9 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
208
199
  readonly sign?: boolean | undefined;
209
200
  readonly storeQueries?: boolean | undefined;
210
201
  readonly timestamp?: boolean | undefined;
211
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
212
- schema: "network.xyo.module.config";
213
- }>(query: T_1, payloads?: {
202
+ } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
214
203
  schema: string;
215
- }[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
204
+ } & object)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
216
205
  start?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
217
206
  stop?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
218
207
  eventData: import("@xyo-network/module-model").ModuleEventData<object>;
@@ -233,7 +222,7 @@ export declare class MongoDBArchivist extends MongoDBArchivistBase {
233
222
  readonly queries: string[];
234
223
  head(): Promise<Payload | undefined>;
235
224
  protected getHandler(hashes: string[]): Promise<Payload[]>;
236
- protected insertHandler(payloads?: Payload[]): Promise<Payload[]>;
225
+ protected insertHandler(payloads: Payload[]): Promise<Payload[]>;
237
226
  protected startHandler(): Promise<boolean>;
238
227
  }
239
228
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAInE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAMpD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAwC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,OAAgB,aAAa,WAAwD;IAErF,SAAkB,OAAO,EAAE,MAAM,EAAE,CAAiD;IAErE,IAAI,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAK1B,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAQhD,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAiBvD,YAAY;CAKtC"}
1
+ {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAInE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAKnE,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAwC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,OAAgB,aAAa,WAAwD;IAErF,SAAkB,OAAO,EAAE,MAAM,EAAE,CAAiD;IAErE,IAAI,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAK1B,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAuBhD,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;cAkBtD,YAAY;CAKtC"}