@xyo-network/diviner-transform-model 5.3.29 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,269 +38,6 @@ bun add {{name}}
38
38
 
39
39
  See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
40
 
41
- ## Reference
42
-
43
- ### packages
44
-
45
- ### modules
46
-
47
- ### packages
48
-
49
- ### diviner
50
-
51
- ### packages
52
-
53
- ### transform
54
-
55
- ### packages
56
-
57
- ### model
58
-
59
- ### .temp-typedoc
60
-
61
- ### functions
62
-
63
- ### <a id="isTransformDivinerQueryPayload"></a>isTransformDivinerQueryPayload
64
-
65
- [**@xyo-network/diviner-transform-model**](#../README)
66
-
67
- ***
68
-
69
- ```ts
70
- function isTransformDivinerQueryPayload(x?): x is TransformDivinerQueryPayload;
71
- ```
72
-
73
- ## Parameters
74
-
75
- ### x?
76
-
77
- `Payload` \| `null`
78
-
79
- ## Returns
80
-
81
- `x is TransformDivinerQueryPayload`
82
-
83
- ### interfaces
84
-
85
- ### <a id="TransformSettings"></a>TransformSettings
86
-
87
- [**@xyo-network/diviner-transform-model**](#../README)
88
-
89
- ***
90
-
91
- ## Properties
92
-
93
- ### transformMethod?
94
-
95
- ```ts
96
- optional transformMethod?: string;
97
- ```
98
-
99
- ### <a id="TransformerSettings"></a>TransformerSettings
100
-
101
- [**@xyo-network/diviner-transform-model**](#../README)
102
-
103
- ***
104
-
105
- ## Properties
106
-
107
- ### jsonPathExpression?
108
-
109
- ```ts
110
- optional jsonPathExpression?: string;
111
- ```
112
-
113
- ### type-aliases
114
-
115
- ### <a id="PayloadTransformer"></a>PayloadTransformer
116
-
117
- [**@xyo-network/diviner-transform-model**](#../README)
118
-
119
- ***
120
-
121
- ```ts
122
- type PayloadTransformer<TSource, TDestination> = (payload) => TDestination;
123
- ```
124
-
125
- ## Type Parameters
126
-
127
- ### TSource
128
-
129
- `TSource` *extends* `Payload` = `Payload`
130
-
131
- ### TDestination
132
-
133
- `TDestination` *extends* `Payload` = `Payload`
134
-
135
- ## Parameters
136
-
137
- ### payload
138
-
139
- `TSource`
140
-
141
- ## Returns
142
-
143
- `TDestination`
144
-
145
- ### <a id="PayloadValueTransformer"></a>PayloadValueTransformer
146
-
147
- [**@xyo-network/diviner-transform-model**](#../README)
148
-
149
- ***
150
-
151
- ```ts
152
- type PayloadValueTransformer<TSource> = (payload) => JsonValue;
153
- ```
154
-
155
- ## Type Parameters
156
-
157
- ### TSource
158
-
159
- `TSource` *extends* `Payload` = `Payload`
160
-
161
- ## Parameters
162
-
163
- ### payload
164
-
165
- `TSource`
166
-
167
- ## Returns
168
-
169
- `JsonValue`
170
-
171
- ### <a id="Transform"></a>Transform
172
-
173
- [**@xyo-network/diviner-transform-model**](#../README)
174
-
175
- ***
176
-
177
- ```ts
178
- type Transform = Payload<{
179
- transform: TransformDictionary;
180
- }, TransformDivinerSchema>;
181
- ```
182
-
183
- ### <a id="TransformDictionary"></a>TransformDictionary
184
-
185
- [**@xyo-network/diviner-transform-model**](#../README)
186
-
187
- ***
188
-
189
- ```ts
190
- type TransformDictionary = object;
191
- ```
192
-
193
- ## Index Signature
194
-
195
- ```ts
196
- [key: string]: string
197
- ```
198
-
199
- ### <a id="TransformDivinerConfig"></a>TransformDivinerConfig
200
-
201
- [**@xyo-network/diviner-transform-model**](#../README)
202
-
203
- ***
204
-
205
- ```ts
206
- type TransformDivinerConfig = DivinerConfig<object & object>;
207
- ```
208
-
209
- ### <a id="TransformDivinerConfigSchema"></a>TransformDivinerConfigSchema
210
-
211
- [**@xyo-network/diviner-transform-model**](#../README)
212
-
213
- ***
214
-
215
- ```ts
216
- type TransformDivinerConfigSchema = typeof TransformDivinerConfigSchema;
217
- ```
218
-
219
- ### <a id="TransformDivinerQueryPayload"></a>TransformDivinerQueryPayload
220
-
221
- [**@xyo-network/diviner-transform-model**](#../README)
222
-
223
- ***
224
-
225
- ```ts
226
- type TransformDivinerQueryPayload = Query<object & Partial<TransformSettings>>;
227
- ```
228
-
229
- ### <a id="TransformDivinerQuerySchema"></a>TransformDivinerQuerySchema
230
-
231
- [**@xyo-network/diviner-transform-model**](#../README)
232
-
233
- ***
234
-
235
- ```ts
236
- type TransformDivinerQuerySchema = typeof TransformDivinerQuerySchema;
237
- ```
238
-
239
- ### <a id="TransformDivinerSchema"></a>TransformDivinerSchema
240
-
241
- [**@xyo-network/diviner-transform-model**](#../README)
242
-
243
- ***
244
-
245
- ```ts
246
- type TransformDivinerSchema = typeof TransformDivinerSchema;
247
- ```
248
-
249
- ### variables
250
-
251
- ### <a id="TransformDivinerConfigSchema"></a>TransformDivinerConfigSchema
252
-
253
- [**@xyo-network/diviner-transform-model**](#../README)
254
-
255
- ***
256
-
257
- ```ts
258
- const TransformDivinerConfigSchema: string & object;
259
- ```
260
-
261
- ## Type Declaration
262
-
263
- ### \_\_schema
264
-
265
- ```ts
266
- readonly __schema: true;
267
- ```
268
-
269
- ### <a id="TransformDivinerQuerySchema"></a>TransformDivinerQuerySchema
270
-
271
- [**@xyo-network/diviner-transform-model**](#../README)
272
-
273
- ***
274
-
275
- ```ts
276
- const TransformDivinerQuerySchema: string & object;
277
- ```
278
-
279
- ## Type Declaration
280
-
281
- ### \_\_schema
282
-
283
- ```ts
284
- readonly __schema: true;
285
- ```
286
-
287
- ### <a id="TransformDivinerSchema"></a>TransformDivinerSchema
288
-
289
- [**@xyo-network/diviner-transform-model**](#../README)
290
-
291
- ***
292
-
293
- ```ts
294
- const TransformDivinerSchema: "network.xyo.diviner.transform" & object;
295
- ```
296
-
297
- ## Type Declaration
298
-
299
- ### \_\_schema
300
-
301
- ```ts
302
- readonly __schema: true;
303
- ```
304
41
 
305
42
 
306
43
  [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
@@ -1,8 +1,6 @@
1
1
  import type { Payload } from '@xyo-network/payload-model';
2
2
  import type { TransformDivinerSchema } from '../Schema.ts';
3
- export type TransformDictionary = {
4
- [key: string]: string;
5
- };
3
+ export type TransformDictionary = Record<string, string>;
6
4
  export type Transform = Payload<{
7
5
  transform: TransformDictionary;
8
6
  }, TransformDivinerSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"Transform.d.ts","sourceRoot":"","sources":["../../../src/Payload/Transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAE1D,MAAM,MAAM,mBAAmB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE3D,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,SAAS,EAAE,mBAAmB,CAAA;CAC/B,EACD,sBAAsB,CACvB,CAAA"}
1
+ {"version":3,"file":"Transform.d.ts","sourceRoot":"","sources":["../../../src/Payload/Transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAE1D,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAExD,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B;IAIE,SAAS,EAAE,mBAAmB,CAAA;CAC/B,EACD,sBAAsB,CACvB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-transform-model",
3
- "version": "5.3.29",
3
+ "version": "5.4.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,12 +22,10 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
- "import": "./dist/neutral/index.mjs",
26
25
  "default": "./dist/neutral/index.mjs"
27
26
  },
28
27
  "./package.json": "./package.json"
29
28
  },
30
- "types": "dist/neutral/index.d.ts",
31
29
  "files": [
32
30
  "dist",
33
31
  "!**/*.bench.*",
@@ -36,28 +34,26 @@
36
34
  "README.md"
37
35
  ],
38
36
  "dependencies": {
39
- "@xyo-network/diviner-model": "~5.3.29",
40
- "@xyo-network/payload-model": "~5.3.29"
37
+ "@xyo-network/diviner-model": "~5.4.0",
38
+ "@xyo-network/payload-model": "~5.4.0"
41
39
  },
42
40
  "devDependencies": {
43
41
  "@opentelemetry/api": "^1.9.1",
44
- "@xylabs/sdk-js": "^5.0.95",
45
- "@xylabs/ts-scripts-common": "~7.8.4",
46
- "@xylabs/ts-scripts-pnpm": "~7.8.4",
47
- "@xylabs/tsconfig": "~7.8.4",
48
- "axios": "^1.14.0",
42
+ "@xylabs/sdk-js": "^5.0.97",
43
+ "@xylabs/toolchain": "~7.10.8",
44
+ "@xylabs/tsconfig": "~7.10.8",
49
45
  "pako": "~2.1.0",
50
46
  "typescript": "~5.9.3",
51
47
  "zod": "^4.3.6",
52
- "@xyo-network/manifest-model": "~5.3.29",
53
- "@xyo-network/previous-hash-store-model": "~5.3.29",
54
- "@xyo-network/module-model": "~5.3.29",
55
- "@xyo-network/account-model": "~5.3.29"
48
+ "@xyo-network/account-model": "~5.4.0",
49
+ "@xyo-network/module-model": "~5.4.0",
50
+ "@xyo-network/manifest-model": "~5.4.0",
51
+ "@xyo-network/previous-hash-store-model": "~5.4.0"
56
52
  },
57
53
  "peerDependencies": {
58
- "@xylabs/sdk-js": "^5",
59
- "@xyo-network/account-model": "~5.3.29",
60
- "@xyo-network/module-model": "~5.3.29"
54
+ "@xylabs/sdk-js": "^5.0.97",
55
+ "@xyo-network/account-model": "~5.4",
56
+ "@xyo-network/module-model": "~5.4"
61
57
  },
62
58
  "publishConfig": {
63
59
  "access": "public"