@xyo-network/manifest-model 5.3.24 → 5.3.26

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 (2) hide show
  1. package/README.md +632 -10
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -1,23 +1,645 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/manifest-model
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
13
+
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
17
+
18
+ Using yarn:
4
19
 
5
- Version: 5.0.2
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
6
23
 
7
- Primary SDK for using XYO Protocol 2.0
24
+ Using pnpm:
8
25
 
9
- ## Documentation
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
10
29
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__manifest-model)
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### manifest
46
+
47
+ ### packages
48
+
49
+ ### model
50
+
51
+ ### .temp-typedoc
52
+
53
+ ### functions
54
+
55
+ ### <a id="isManifest"></a>isManifest
56
+
57
+ [**@xyo-network/manifest-model**](#../README)
58
+
59
+ ***
60
+
61
+ ```ts
62
+ function isManifest(value): value is Manifest;
63
+ ```
64
+
65
+ ## Parameters
66
+
67
+ ### value
68
+
69
+ `unknown`
70
+
71
+ ## Returns
72
+
73
+ `value is Manifest`
74
+
75
+ ### interfaces
76
+
77
+ ### <a id="ConfigManifest"></a>ConfigManifest
78
+
79
+ [**@xyo-network/manifest-model**](#../README)
80
+
81
+ ***
82
+
83
+ ## Properties
84
+
85
+ ### accountPath?
86
+
87
+ ```ts
88
+ optional accountPath?: string;
89
+ ```
90
+
91
+ ***
92
+
93
+ ### features?
94
+
95
+ ```ts
96
+ optional features?: string[];
97
+ ```
98
+
99
+ ***
100
+
101
+ ### labels?
102
+
103
+ ```ts
104
+ optional labels?: Record<string, string | undefined>;
105
+ ```
106
+
107
+ ***
108
+
109
+ ### language?
110
+
111
+ ```ts
112
+ optional language?: string;
113
+ ```
114
+
115
+ ***
116
+
117
+ ### name
118
+
119
+ ```ts
120
+ name: string;
121
+ ```
122
+
123
+ ***
124
+
125
+ ### os?
126
+
127
+ ```ts
128
+ optional os?: string;
129
+ ```
130
+
131
+ ***
132
+
133
+ ### schema
134
+
135
+ ```ts
136
+ schema: Schema;
137
+ ```
138
+
139
+ ### <a id="Manifest"></a>Manifest
140
+
141
+ [**@xyo-network/manifest-model**](#../README)
142
+
143
+ ***
144
+
145
+ ## Extended by
146
+
147
+ - [`ModuleManifest`](#ModuleManifest)
148
+ - [`PackageManifest`](#PackageManifest)
149
+
150
+ ## Properties
151
+
152
+ ### description?
153
+
154
+ ```ts
155
+ optional description?: string;
156
+ ```
157
+
158
+ ### <a id="ModuleManifest"></a>ModuleManifest
159
+
160
+ [**@xyo-network/manifest-model**](#../README)
161
+
162
+ ***
163
+
164
+ ## Extends
165
+
166
+ - [`Manifest`](#Manifest)
167
+
168
+ ## Extended by
169
+
170
+ - [`NodeManifest`](#NodeManifest)
171
+
172
+ ## Properties
173
+
174
+ ### description?
175
+
176
+ ```ts
177
+ optional description?: string;
178
+ ```
179
+
180
+ ### Inherited from
181
+
182
+ [`Manifest`](#Manifest).[`description`](Manifest.md#description)
183
+
184
+ ***
185
+
186
+ ### config
187
+
188
+ ```ts
189
+ config: ConfigManifest;
190
+ ```
191
+
192
+ ***
193
+
194
+ ### lazyStart?
195
+
196
+ ```ts
197
+ optional lazyStart?: boolean;
198
+ ```
199
+
200
+ ***
201
+
202
+ ### status?
203
+
204
+ ```ts
205
+ optional status?: object;
206
+ ```
207
+
208
+ ### address
209
+
210
+ ```ts
211
+ address: BrandedAddress;
212
+ ```
213
+
214
+ ### children?
215
+
216
+ ```ts
217
+ optional children?: Record<BrandedAddress, string | null>;
218
+ ```
219
+
220
+ ### <a id="NodeManifest"></a>NodeManifest
221
+
222
+ [**@xyo-network/manifest-model**](#../README)
223
+
224
+ ***
225
+
226
+ ## Extends
227
+
228
+ - [`ModuleManifest`](#ModuleManifest)
229
+
230
+ ## Extended by
231
+
232
+ - [`NodeManifestPayload`](#NodeManifestPayload)
233
+
234
+ ## Properties
235
+
236
+ ### description?
237
+
238
+ ```ts
239
+ optional description?: string;
240
+ ```
241
+
242
+ ### Inherited from
243
+
244
+ [`ModuleManifest`](#ModuleManifest).[`description`](ModuleManifest.md#description)
245
+
246
+ ***
247
+
248
+ ### modules?
249
+
250
+ ```ts
251
+ optional modules?: object;
252
+ ```
253
+
254
+ ### private?
255
+
256
+ ```ts
257
+ optional private?: (
258
+ | ModuleManifest
259
+ | ModuleAlias)[];
260
+ ```
261
+
262
+ ### public?
263
+
264
+ ```ts
265
+ optional public?: (
266
+ | ModuleManifest
267
+ | ModuleAlias)[];
268
+ ```
269
+
270
+ ***
271
+
272
+ ### config
273
+
274
+ ```ts
275
+ config: ConfigManifest;
276
+ ```
277
+
278
+ ### Inherited from
279
+
280
+ [`ModuleManifest`](#ModuleManifest).[`config`](ModuleManifest.md#config)
281
+
282
+ ***
283
+
284
+ ### lazyStart?
285
+
286
+ ```ts
287
+ optional lazyStart?: boolean;
288
+ ```
289
+
290
+ ### Inherited from
291
+
292
+ [`ModuleManifest`](#ModuleManifest).[`lazyStart`](ModuleManifest.md#lazystart)
293
+
294
+ ***
295
+
296
+ ### status?
297
+
298
+ ```ts
299
+ optional status?: object;
300
+ ```
301
+
302
+ ### address
303
+
304
+ ```ts
305
+ address: BrandedAddress;
306
+ ```
307
+
308
+ ### children?
309
+
310
+ ```ts
311
+ optional children?: Record<BrandedAddress, string | null>;
312
+ ```
313
+
314
+ ### Inherited from
315
+
316
+ [`ModuleManifest`](#ModuleManifest).[`status`](ModuleManifest.md#status)
317
+
318
+ ### <a id="NodeManifestPayload"></a>NodeManifestPayload
319
+
320
+ [**@xyo-network/manifest-model**](#../README)
321
+
322
+ ***
323
+
324
+ ## Extends
325
+
326
+ - [`NodeManifest`](#NodeManifest)
327
+
328
+ ## Properties
329
+
330
+ ### description?
331
+
332
+ ```ts
333
+ optional description?: string;
334
+ ```
335
+
336
+ ### Inherited from
337
+
338
+ [`NodeManifest`](#NodeManifest).[`description`](NodeManifest.md#description)
339
+
340
+ ***
341
+
342
+ ### modules?
343
+
344
+ ```ts
345
+ optional modules?: object;
346
+ ```
347
+
348
+ ### private?
349
+
350
+ ```ts
351
+ optional private?: (
352
+ | ModuleManifest
353
+ | ModuleAlias)[];
354
+ ```
355
+
356
+ ### public?
357
+
358
+ ```ts
359
+ optional public?: (
360
+ | ModuleManifest
361
+ | ModuleAlias)[];
362
+ ```
363
+
364
+ ### Inherited from
365
+
366
+ [`NodeManifest`](#NodeManifest).[`modules`](NodeManifest.md#modules)
367
+
368
+ ***
369
+
370
+ ### config
371
+
372
+ ```ts
373
+ config: ConfigManifest;
374
+ ```
375
+
376
+ ### Inherited from
377
+
378
+ [`NodeManifest`](#NodeManifest).[`config`](NodeManifest.md#config)
379
+
380
+ ***
381
+
382
+ ### lazyStart?
383
+
384
+ ```ts
385
+ optional lazyStart?: boolean;
386
+ ```
387
+
388
+ ### Inherited from
389
+
390
+ [`NodeManifest`](#NodeManifest).[`lazyStart`](NodeManifest.md#lazystart)
391
+
392
+ ***
393
+
394
+ ### status?
395
+
396
+ ```ts
397
+ optional status?: object;
398
+ ```
399
+
400
+ ### address
401
+
402
+ ```ts
403
+ address: BrandedAddress;
404
+ ```
405
+
406
+ ### children?
407
+
408
+ ```ts
409
+ optional children?: Record<BrandedAddress, string | null>;
410
+ ```
411
+
412
+ ### Inherited from
413
+
414
+ [`NodeManifest`](#NodeManifest).[`status`](NodeManifest.md#status)
415
+
416
+ ***
417
+
418
+ ### schema
419
+
420
+ ```ts
421
+ schema: "network.xyo.node.manifest" & object;
422
+ ```
423
+
424
+ ### Type Declaration
425
+
426
+ #### \_\_schema
427
+
428
+ ```ts
429
+ readonly __schema: true;
430
+ ```
431
+
432
+ ### <a id="PackageManifest"></a>PackageManifest
433
+
434
+ [**@xyo-network/manifest-model**](#../README)
435
+
436
+ ***
437
+
438
+ ## Extends
439
+
440
+ - [`Manifest`](#Manifest)
441
+
442
+ ## Properties
443
+
444
+ ### description?
445
+
446
+ ```ts
447
+ optional description?: string;
448
+ ```
449
+
450
+ ### Inherited from
451
+
452
+ [`Manifest`](#Manifest).[`description`](Manifest.md#description)
453
+
454
+ ***
455
+
456
+ ### modules?
457
+
458
+ ```ts
459
+ optional modules?: Record<ModuleAlias, ModuleManifest>;
460
+ ```
461
+
462
+ ***
463
+
464
+ ### nodes
465
+
466
+ ```ts
467
+ nodes: NodeManifest[];
468
+ ```
469
+
470
+ ### type-aliases
471
+
472
+ ### <a id="DappPackageManifestPayloadSchema"></a>DappPackageManifestPayloadSchema
473
+
474
+ [**@xyo-network/manifest-model**](#../README)
475
+
476
+ ***
477
+
478
+ ```ts
479
+ type DappPackageManifestPayloadSchema = typeof DappPackageManifestPayloadSchema;
480
+ ```
481
+
482
+ ### <a id="ModuleAlias"></a>ModuleAlias
483
+
484
+ [**@xyo-network/manifest-model**](#../README)
485
+
486
+ ***
487
+
488
+ ```ts
489
+ type ModuleAlias = Brand<string, {
490
+ __moduleAlias: true;
491
+ }>;
492
+ ```
493
+
494
+ ### <a id="ModuleManifestPayload"></a>ModuleManifestPayload
495
+
496
+ [**@xyo-network/manifest-model**](#../README)
497
+
498
+ ***
499
+
500
+ ```ts
501
+ type ModuleManifestPayload = Payload<ModuleManifest,
502
+ | ModuleManifestPayloadSchema
503
+ | NodeManifestPayloadSchema>;
504
+ ```
505
+
506
+ ### <a id="ModuleManifestPayloadSchema"></a>ModuleManifestPayloadSchema
507
+
508
+ [**@xyo-network/manifest-model**](#../README)
509
+
510
+ ***
511
+
512
+ ```ts
513
+ type ModuleManifestPayloadSchema = typeof ModuleManifestPayloadSchema;
514
+ ```
515
+
516
+ ### <a id="NodeManifestPayloadSchema"></a>NodeManifestPayloadSchema
517
+
518
+ [**@xyo-network/manifest-model**](#../README)
519
+
520
+ ***
521
+
522
+ ```ts
523
+ type NodeManifestPayloadSchema = typeof NodeManifestPayloadSchema;
524
+ ```
525
+
526
+ ### <a id="PackageManifestPayload"></a>PackageManifestPayload
527
+
528
+ [**@xyo-network/manifest-model**](#../README)
529
+
530
+ ***
531
+
532
+ ```ts
533
+ type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>;
534
+ ```
535
+
536
+ ### <a id="PackageManifestPayloadSchema"></a>PackageManifestPayloadSchema
537
+
538
+ [**@xyo-network/manifest-model**](#../README)
539
+
540
+ ***
541
+
542
+ ```ts
543
+ type PackageManifestPayloadSchema = typeof PackageManifestPayloadSchema;
544
+ ```
545
+
546
+ ### variables
547
+
548
+ ### <a id="DappPackageManifestPayloadSchema"></a>DappPackageManifestPayloadSchema
549
+
550
+ [**@xyo-network/manifest-model**](#../README)
551
+
552
+ ***
553
+
554
+ ```ts
555
+ const DappPackageManifestPayloadSchema: "network.xyo.manifest.package.dapp" & object;
556
+ ```
557
+
558
+ ## Type Declaration
559
+
560
+ ### \_\_schema
561
+
562
+ ```ts
563
+ readonly __schema: true;
564
+ ```
565
+
566
+ ### <a id="ModuleManifestPayloadSchema"></a>ModuleManifestPayloadSchema
567
+
568
+ [**@xyo-network/manifest-model**](#../README)
569
+
570
+ ***
571
+
572
+ ```ts
573
+ const ModuleManifestPayloadSchema: "network.xyo.module.manifest" & object;
574
+ ```
575
+
576
+ ## Type Declaration
577
+
578
+ ### \_\_schema
579
+
580
+ ```ts
581
+ readonly __schema: true;
582
+ ```
583
+
584
+ ### <a id="NodeManifestPayloadSchema"></a>NodeManifestPayloadSchema
585
+
586
+ [**@xyo-network/manifest-model**](#../README)
587
+
588
+ ***
589
+
590
+ ```ts
591
+ const NodeManifestPayloadSchema: "network.xyo.node.manifest" & object;
592
+ ```
593
+
594
+ ## Type Declaration
595
+
596
+ ### \_\_schema
597
+
598
+ ```ts
599
+ readonly __schema: true;
600
+ ```
601
+
602
+ ### <a id="PackageManifestPayloadSchema"></a>PackageManifestPayloadSchema
603
+
604
+ [**@xyo-network/manifest-model**](#../README)
605
+
606
+ ***
607
+
608
+ ```ts
609
+ const PackageManifestPayloadSchema: "network.xyo.manifest.package" & object;
610
+ ```
611
+
612
+ ## Type Declaration
613
+
614
+ ### \_\_schema
615
+
616
+ ```ts
617
+ readonly __schema: true;
618
+ ```
619
+
620
+ ### <a id="isPackageManifestPayload"></a>isPackageManifestPayload
621
+
622
+ [**@xyo-network/manifest-model**](#../README)
623
+
624
+ ***
625
+
626
+ ```ts
627
+ const isPackageManifestPayload: (x?) => x is PackageManifestPayload;
628
+ ```
629
+
630
+ ## Parameters
631
+
632
+ ### x?
633
+
634
+ `unknown`
635
+
636
+ ## Returns
18
637
 
19
- ## Credits
638
+ `x is PackageManifestPayload`
20
639
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
640
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
641
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
642
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/manifest-model.svg
643
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/manifest-model
644
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/manifest-model.svg
645
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/manifest-model",
3
- "version": "5.3.24",
3
+ "version": "5.3.26",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,11 +22,11 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
+ "import": "./dist/neutral/index.mjs",
25
26
  "default": "./dist/neutral/index.mjs"
26
27
  },
27
28
  "./package.json": "./package.json"
28
29
  },
29
- "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
@@ -36,15 +36,15 @@
36
36
  "README.md"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/payload-model": "~5.3.24"
39
+ "@xyo-network/payload-model": "~5.3.26"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@opentelemetry/api": "^1.9.1",
43
- "@types/node": "^25.5.0",
44
- "@xylabs/sdk-js": "^5.0.93",
45
- "@xylabs/ts-scripts-common": "~7.6.16",
46
- "@xylabs/ts-scripts-pnpm": "~7.6.16",
47
- "@xylabs/tsconfig": "~7.6.16",
43
+ "@types/node": "^25.5.2",
44
+ "@xylabs/sdk-js": "^5.0.94",
45
+ "@xylabs/ts-scripts-common": "~7.7.5",
46
+ "@xylabs/ts-scripts-pnpm": "~7.7.5",
47
+ "@xylabs/tsconfig": "~7.7.5",
48
48
  "acorn": "^8.16.0",
49
49
  "axios": "^1.14.0",
50
50
  "esbuild": "^0.28.0",