@xyo-network/archivist-mongodb 2.86.0-rc.1 → 2.86.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.
@@ -12,88 +12,25 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
12
12
  readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta>;
13
13
  ensureIndexes(): Promise<void>;
14
14
  address: Lowercase<string>;
15
- config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
16
- readonly archivist?: string | undefined;
17
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
18
- readonly name?: string | undefined;
19
- readonly paging?: Record<string, {
20
- size?: number | undefined;
21
- }> | undefined;
22
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
23
- schema: "network.xyo.module.mongodb.config";
24
- readonly security?: {
25
- readonly allowAnonymous?: boolean | undefined;
26
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
27
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
28
- } | undefined;
29
- readonly sign?: boolean | undefined;
30
- readonly storeQueries?: boolean | undefined;
31
- readonly timestamp?: boolean | undefined;
32
- } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
33
- readonly archivist?: string | undefined;
34
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
- readonly name?: string | undefined;
36
- readonly paging?: Record<string, {
37
- size?: number | undefined;
38
- }> | undefined;
39
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
40
- schema: "network.xyo.module.mongodb.config";
41
- readonly security?: {
42
- readonly allowAnonymous?: boolean | undefined;
43
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
44
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
45
- } | undefined;
46
- readonly sign?: boolean | undefined;
47
- readonly storeQueries?: boolean | undefined;
48
- readonly timestamp?: boolean | undefined;
49
- } & {
15
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
50
16
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
51
17
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
52
18
  schema: "network.xyo.module.mongodb.config";
19
+ }, "schema"> & {
20
+ schema: "network.xyo.module.mongodb.config";
53
21
  }, "schema"> & {
54
22
  schema: string;
55
23
  };
56
24
  id: string;
57
25
  params: import("@xylabs/object").BaseParamsFields & {
58
26
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
59
- config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
60
- readonly archivist?: string | undefined;
61
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
62
- readonly name?: string | undefined;
63
- readonly paging?: Record<string, {
64
- size?: number | undefined;
65
- }> | undefined;
66
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
67
- schema: "network.xyo.module.mongodb.config";
68
- readonly security?: {
69
- readonly allowAnonymous?: boolean | undefined;
70
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
71
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
72
- } | undefined;
73
- readonly sign?: boolean | undefined;
74
- readonly storeQueries?: boolean | undefined;
75
- readonly timestamp?: boolean | undefined;
76
- } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
77
- readonly archivist?: string | undefined;
78
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
79
- readonly name?: string | undefined;
80
- readonly paging?: Record<string, {
81
- size?: number | undefined;
82
- }> | undefined;
83
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
84
- schema: "network.xyo.module.mongodb.config";
85
- readonly security?: {
86
- readonly allowAnonymous?: boolean | undefined;
87
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
88
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
89
- } | undefined;
90
- readonly sign?: boolean | undefined;
91
- readonly storeQueries?: boolean | undefined;
92
- readonly timestamp?: boolean | undefined;
93
- } & {
27
+ addToResolvers?: boolean | undefined;
28
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
94
29
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
95
30
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
96
31
  schema: "network.xyo.module.mongodb.config";
32
+ }, "schema"> & {
33
+ schema: "network.xyo.module.mongodb.config";
97
34
  }, "schema"> & {
98
35
  schema: string;
99
36
  };
@@ -105,114 +42,54 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
105
42
  };
106
43
  previousHash: () => import("@xylabs/promise").Promisable<string | undefined, never>;
107
44
  queries: string[];
108
- query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
45
+ query: <T extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
109
46
  query: Lowercase<string>;
110
47
  resultSet?: string | undefined;
111
48
  schema: "network.xyo.boundwitness";
112
49
  }, "schema"> & {
113
50
  schema: "network.xyo.boundwitness";
114
- } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
51
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
115
52
  query: Lowercase<string>;
116
53
  resultSet?: string | undefined;
117
54
  schema: "network.xyo.boundwitness";
118
55
  }, "schema"> & {
119
56
  schema: "network.xyo.boundwitness";
120
- }, TConf extends import("@xyo-network/payload-model").SchemaFields & object & {
121
- readonly archivist?: string | undefined;
122
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
123
- readonly name?: string | undefined;
124
- readonly paging?: Record<string, {
125
- size?: number | undefined;
126
- }> | undefined;
127
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
57
+ }, TConf extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
128
58
  schema: "network.xyo.module.config";
129
- readonly security?: {
130
- readonly allowAnonymous?: boolean | undefined;
131
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
132
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
133
- } | undefined;
134
- readonly sign?: boolean | undefined;
135
- readonly storeQueries?: boolean | undefined;
136
- readonly timestamp?: boolean | undefined;
137
- } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
138
- readonly archivist?: string | undefined;
139
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
140
- readonly name?: string | undefined;
141
- readonly paging?: Record<string, {
142
- size?: number | undefined;
143
- }> | undefined;
144
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
59
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
145
60
  schema: "network.xyo.module.config";
146
- readonly security?: {
147
- readonly allowAnonymous?: boolean | undefined;
148
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
149
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
150
- } | undefined;
151
- readonly sign?: boolean | undefined;
152
- readonly storeQueries?: boolean | undefined;
153
- readonly timestamp?: boolean | undefined;
154
- } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
61
+ }>(query: T, payloads?: ({
155
62
  schema: string;
156
- } & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<{
63
+ } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<{
157
64
  schema: string;
158
- } & object, import("@xyo-network/payload-model").SchemaFields & object & {
65
+ } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
159
66
  message?: string | undefined;
160
67
  name?: string | undefined;
161
68
  query?: Lowercase<string> | undefined;
162
69
  schema: "network.xyo.error.module";
163
70
  sources?: Lowercase<string>[] | undefined;
164
- }, import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
71
+ }, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
165
72
  schema: "network.xyo.boundwitness";
166
73
  }>, never>;
167
- queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
74
+ queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
168
75
  query: Lowercase<string>;
169
76
  resultSet?: string | undefined;
170
77
  schema: "network.xyo.boundwitness";
171
78
  }, "schema"> & {
172
79
  schema: "network.xyo.boundwitness";
173
- } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
80
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
174
81
  query: Lowercase<string>;
175
82
  resultSet?: string | undefined;
176
83
  schema: "network.xyo.boundwitness";
177
84
  }, "schema"> & {
178
85
  schema: "network.xyo.boundwitness";
179
- }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
180
- readonly archivist?: string | undefined;
181
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
182
- readonly name?: string | undefined;
183
- readonly paging?: Record<string, {
184
- size?: number | undefined;
185
- }> | undefined;
186
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
86
+ }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
187
87
  schema: "network.xyo.module.config";
188
- readonly security?: {
189
- readonly allowAnonymous?: boolean | undefined;
190
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
191
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
192
- } | undefined;
193
- readonly sign?: boolean | undefined;
194
- readonly storeQueries?: boolean | undefined;
195
- readonly timestamp?: boolean | undefined;
196
- } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
197
- readonly archivist?: string | undefined;
198
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
199
- readonly name?: string | undefined;
200
- readonly paging?: Record<string, {
201
- size?: number | undefined;
202
- }> | undefined;
203
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
88
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
204
89
  schema: "network.xyo.module.config";
205
- readonly security?: {
206
- readonly allowAnonymous?: boolean | undefined;
207
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
208
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
209
- } | undefined;
210
- readonly sign?: boolean | undefined;
211
- readonly storeQueries?: boolean | undefined;
212
- readonly timestamp?: boolean | undefined;
213
- } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
90
+ }>(query: T_1, payloads?: ({
214
91
  schema: string;
215
- } & object)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
92
+ } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
216
93
  start?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
217
94
  stop?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
218
95
  eventData: import("@xyo-network/module-model").ModuleEventData<object>;
@@ -1 +1 @@
1
- {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAKnE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAwB,oBAAoB,EAAsB,MAAM,8BAA8B,CAAA;AAK7G,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;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AAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;cAK1B,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;cAyBxD,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;cAkBhE,YAAY;CAKtC"}
@@ -12,88 +12,25 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
12
12
  readonly payloads: import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdk<PayloadWithMongoMeta>;
13
13
  ensureIndexes(): Promise<void>;
14
14
  address: Lowercase<string>;
15
- config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
16
- readonly archivist?: string | undefined;
17
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
18
- readonly name?: string | undefined;
19
- readonly paging?: Record<string, {
20
- size?: number | undefined;
21
- }> | undefined;
22
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
23
- schema: "network.xyo.module.mongodb.config";
24
- readonly security?: {
25
- readonly allowAnonymous?: boolean | undefined;
26
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
27
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
28
- } | undefined;
29
- readonly sign?: boolean | undefined;
30
- readonly storeQueries?: boolean | undefined;
31
- readonly timestamp?: boolean | undefined;
32
- } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
33
- readonly archivist?: string | undefined;
34
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
- readonly name?: string | undefined;
36
- readonly paging?: Record<string, {
37
- size?: number | undefined;
38
- }> | undefined;
39
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
40
- schema: "network.xyo.module.mongodb.config";
41
- readonly security?: {
42
- readonly allowAnonymous?: boolean | undefined;
43
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
44
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
45
- } | undefined;
46
- readonly sign?: boolean | undefined;
47
- readonly storeQueries?: boolean | undefined;
48
- readonly timestamp?: boolean | undefined;
49
- } & {
15
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
50
16
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
51
17
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
52
18
  schema: "network.xyo.module.mongodb.config";
19
+ }, "schema"> & {
20
+ schema: "network.xyo.module.mongodb.config";
53
21
  }, "schema"> & {
54
22
  schema: string;
55
23
  };
56
24
  id: string;
57
25
  params: import("@xylabs/object").BaseParamsFields & {
58
26
  account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
59
- config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
60
- readonly archivist?: string | undefined;
61
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
62
- readonly name?: string | undefined;
63
- readonly paging?: Record<string, {
64
- size?: number | undefined;
65
- }> | undefined;
66
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
67
- schema: "network.xyo.module.mongodb.config";
68
- readonly security?: {
69
- readonly allowAnonymous?: boolean | undefined;
70
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
71
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
72
- } | undefined;
73
- readonly sign?: boolean | undefined;
74
- readonly storeQueries?: boolean | undefined;
75
- readonly timestamp?: boolean | undefined;
76
- } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
77
- readonly archivist?: string | undefined;
78
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
79
- readonly name?: string | undefined;
80
- readonly paging?: Record<string, {
81
- size?: number | undefined;
82
- }> | undefined;
83
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
84
- schema: "network.xyo.module.mongodb.config";
85
- readonly security?: {
86
- readonly allowAnonymous?: boolean | undefined;
87
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
88
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
89
- } | undefined;
90
- readonly sign?: boolean | undefined;
91
- readonly storeQueries?: boolean | undefined;
92
- readonly timestamp?: boolean | undefined;
93
- } & {
27
+ addToResolvers?: boolean | undefined;
28
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
94
29
  boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
95
30
  payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
96
31
  schema: "network.xyo.module.mongodb.config";
32
+ }, "schema"> & {
33
+ schema: "network.xyo.module.mongodb.config";
97
34
  }, "schema"> & {
98
35
  schema: string;
99
36
  };
@@ -105,114 +42,54 @@ declare const MongoDBArchivistBase: (abstract new (...args: any[]) => {
105
42
  };
106
43
  previousHash: () => import("@xylabs/promise").Promisable<string | undefined, never>;
107
44
  queries: string[];
108
- query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
45
+ query: <T extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
109
46
  query: Lowercase<string>;
110
47
  resultSet?: string | undefined;
111
48
  schema: "network.xyo.boundwitness";
112
49
  }, "schema"> & {
113
50
  schema: "network.xyo.boundwitness";
114
- } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
51
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
115
52
  query: Lowercase<string>;
116
53
  resultSet?: string | undefined;
117
54
  schema: "network.xyo.boundwitness";
118
55
  }, "schema"> & {
119
56
  schema: "network.xyo.boundwitness";
120
- }, TConf extends import("@xyo-network/payload-model").SchemaFields & object & {
121
- readonly archivist?: string | undefined;
122
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
123
- readonly name?: string | undefined;
124
- readonly paging?: Record<string, {
125
- size?: number | undefined;
126
- }> | undefined;
127
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
57
+ }, TConf extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
128
58
  schema: "network.xyo.module.config";
129
- readonly security?: {
130
- readonly allowAnonymous?: boolean | undefined;
131
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
132
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
133
- } | undefined;
134
- readonly sign?: boolean | undefined;
135
- readonly storeQueries?: boolean | undefined;
136
- readonly timestamp?: boolean | undefined;
137
- } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
138
- readonly archivist?: string | undefined;
139
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
140
- readonly name?: string | undefined;
141
- readonly paging?: Record<string, {
142
- size?: number | undefined;
143
- }> | undefined;
144
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
59
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
145
60
  schema: "network.xyo.module.config";
146
- readonly security?: {
147
- readonly allowAnonymous?: boolean | undefined;
148
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
149
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
150
- } | undefined;
151
- readonly sign?: boolean | undefined;
152
- readonly storeQueries?: boolean | undefined;
153
- readonly timestamp?: boolean | undefined;
154
- } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
61
+ }>(query: T, payloads?: ({
155
62
  schema: string;
156
- } & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<{
63
+ } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<{
157
64
  schema: string;
158
- } & object, import("@xyo-network/payload-model").SchemaFields & object & {
65
+ } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
159
66
  message?: string | undefined;
160
67
  name?: string | undefined;
161
68
  query?: Lowercase<string> | undefined;
162
69
  schema: "network.xyo.error.module";
163
70
  sources?: Lowercase<string>[] | undefined;
164
- }, import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
71
+ }, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
165
72
  schema: "network.xyo.boundwitness";
166
73
  }>, never>;
167
- queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
74
+ queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
168
75
  query: Lowercase<string>;
169
76
  resultSet?: string | undefined;
170
77
  schema: "network.xyo.boundwitness";
171
78
  }, "schema"> & {
172
79
  schema: "network.xyo.boundwitness";
173
- } = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
80
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
174
81
  query: Lowercase<string>;
175
82
  resultSet?: string | undefined;
176
83
  schema: "network.xyo.boundwitness";
177
84
  }, "schema"> & {
178
85
  schema: "network.xyo.boundwitness";
179
- }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
180
- readonly archivist?: string | undefined;
181
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
182
- readonly name?: string | undefined;
183
- readonly paging?: Record<string, {
184
- size?: number | undefined;
185
- }> | undefined;
186
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
86
+ }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
187
87
  schema: "network.xyo.module.config";
188
- readonly security?: {
189
- readonly allowAnonymous?: boolean | undefined;
190
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
191
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
192
- } | undefined;
193
- readonly sign?: boolean | undefined;
194
- readonly storeQueries?: boolean | undefined;
195
- readonly timestamp?: boolean | undefined;
196
- } & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
197
- readonly archivist?: string | undefined;
198
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
199
- readonly name?: string | undefined;
200
- readonly paging?: Record<string, {
201
- size?: number | undefined;
202
- }> | undefined;
203
- readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
88
+ } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
204
89
  schema: "network.xyo.module.config";
205
- readonly security?: {
206
- readonly allowAnonymous?: boolean | undefined;
207
- readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
208
- readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
209
- } | undefined;
210
- readonly sign?: boolean | undefined;
211
- readonly storeQueries?: boolean | undefined;
212
- readonly timestamp?: boolean | undefined;
213
- } & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
90
+ }>(query: T_1, payloads?: ({
214
91
  schema: string;
215
- } & object)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
92
+ } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean, never>;
216
93
  start?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
217
94
  stop?: (() => import("@xylabs/promise").Promisable<boolean, never>) | undefined;
218
95
  eventData: import("@xyo-network/module-model").ModuleEventData<object>;
@@ -1 +1 @@
1
- {"version":3,"file":"Archivist.d.ts","sourceRoot":"","sources":["../../src/Archivist.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAKnE,OAAO,EAAE,OAAO,EA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;;;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,IAAI,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;cAyBxD,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;cAkBhE,YAAY;CAKtC"}
@@ -1,7 +1,7 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
2
+ export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
3
3
  schema: "network.xyo.boundwitness";
4
4
  })[], ({
5
5
  schema: string;
6
- } & object)[]]>;
6
+ } & import("@xyo-network/payload-model").PayloadFields)[]]>;
7
7
  //# sourceMappingURL=validByType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;eAuBpD,CAAA"}
1
+ {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;2DAuBpD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
2
+ export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
3
3
  schema: "network.xyo.boundwitness";
4
4
  })[], ({
5
5
  schema: string;
6
- } & object)[]]>;
6
+ } & import("@xyo-network/payload-model").PayloadFields)[]]>;
7
7
  //# sourceMappingURL=validByType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;eAuBpD,CAAA"}
1
+ {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;2DAuBpD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { Payload } from '@xyo-network/payload-model';
2
- export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & object & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
2
+ export declare const validByType: (payloads?: Payload[]) => Promise<[(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
3
3
  schema: "network.xyo.boundwitness";
4
4
  })[], ({
5
5
  schema: string;
6
- } & object)[]]>;
6
+ } & import("@xyo-network/payload-model").PayloadFields)[]]>;
7
7
  //# sourceMappingURL=validByType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;eAuBpD,CAAA"}
1
+ {"version":3,"file":"validByType.d.ts","sourceRoot":"","sources":["../../../src/lib/validByType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,eAAO,MAAM,WAAW,cAAoB,OAAO,EAAE;;;;2DAuBpD,CAAA"}
package/package.json CHANGED
@@ -10,32 +10,32 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/exists": "^3.0.6",
14
- "@xylabs/hex": "^3.0.6",
15
- "@xyo-network/archivist-abstract": "^2.92.0-rc.9",
16
- "@xyo-network/archivist-model": "^2.92.0-rc.9",
17
- "@xyo-network/archivist-model-mongodb": "~2.86.0-rc.1",
18
- "@xyo-network/boundwitness-model": "^2.92.0-rc.9",
19
- "@xyo-network/boundwitness-wrapper": "^2.92.0-rc.9",
20
- "@xyo-network/module-abstract-mongodb": "~2.86.0-rc.1",
21
- "@xyo-network/payload-builder": "^2.92.0-rc.9",
22
- "@xyo-network/payload-model": "^2.92.0-rc.9",
23
- "@xyo-network/payload-mongodb": "~2.86.0-rc.1",
24
- "@xyo-network/payload-wrapper": "^2.92.0-rc.9"
13
+ "@xylabs/exists": "^3.0.24",
14
+ "@xylabs/hex": "^3.0.24",
15
+ "@xyo-network/archivist-abstract": "^2.93.4",
16
+ "@xyo-network/archivist-model": "^2.93.4",
17
+ "@xyo-network/archivist-model-mongodb": "~2.86.1",
18
+ "@xyo-network/boundwitness-model": "^2.93.4",
19
+ "@xyo-network/boundwitness-wrapper": "^2.93.4",
20
+ "@xyo-network/module-abstract-mongodb": "~2.86.1",
21
+ "@xyo-network/payload-builder": "^2.93.4",
22
+ "@xyo-network/payload-model": "^2.93.4",
23
+ "@xyo-network/payload-mongodb": "~2.86.1",
24
+ "@xyo-network/payload-wrapper": "^2.93.4"
25
25
  },
26
26
  "devDependencies": {
27
- "@xylabs/arraybuffer": "^3.0.6",
28
- "@xylabs/jest-helpers": "^3.0.6",
29
- "@xylabs/ts-scripts-yarn3": "^3.4.1",
30
- "@xylabs/tsconfig": "^3.4.1",
31
- "@xyo-network/account": "^2.92.0-rc.9",
32
- "@xyo-network/account-model": "^2.92.0-rc.9",
33
- "@xyo-network/archivist-wrapper": "^2.92.0-rc.9",
34
- "@xyo-network/boundwitness-builder": "^2.92.0-rc.9",
35
- "@xyo-network/sdk-xyo-mongo-js": "~2.86.0-rc.1",
27
+ "@xylabs/arraybuffer": "^3.0.24",
28
+ "@xylabs/jest-helpers": "^3.0.24",
29
+ "@xylabs/ts-scripts-yarn3": "^3.5.2",
30
+ "@xylabs/tsconfig": "^3.5.2",
31
+ "@xyo-network/account": "^2.93.4",
32
+ "@xyo-network/account-model": "^2.93.4",
33
+ "@xyo-network/archivist-wrapper": "^2.93.4",
34
+ "@xyo-network/boundwitness-builder": "^2.93.4",
35
+ "@xyo-network/sdk-xyo-mongo-js": "~2.86.1",
36
36
  "fake-indexeddb": "^4.0.2",
37
37
  "jest": "^29.7.0",
38
- "typescript": "^5.3.3"
38
+ "typescript": "^5.4.3"
39
39
  },
40
40
  "description": "Primary SDK for using XYO Protocol 2.0",
41
41
  "types": "dist/node/index.d.ts",
@@ -76,7 +76,6 @@
76
76
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
77
77
  },
78
78
  "sideEffects": false,
79
- "version": "2.86.0-rc.1",
80
- "type": "module",
81
- "stableVersion": "2.85.0"
79
+ "version": "2.86.1",
80
+ "type": "module"
82
81
  }