@almadar/core 10.36.0 → 10.38.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/dist/{builders-CBL9rED-.d.ts → builders-BoyWDFfH.d.ts} +175 -174
- package/dist/builders.d.ts +4 -3
- package/dist/builders.js +30 -17
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Cd6ibbZc.d.ts → effect-5kg4MCeB.d.ts} +33 -1561
- package/dist/entity-CVylqnAf.d.ts +1559 -0
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +7 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -3
- package/dist/factory-runtime/index.js +30 -17
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +471 -22
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +119 -0
- package/dist/mock/index.js +695 -0
- package/dist/mock/index.js.map +1 -0
- package/dist/patterns/component-mapping.json +16 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +897 -6
- package/dist/patterns/index.js +396 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +21 -1
- package/dist/patterns/patterns-registry.json +355 -1
- package/dist/patterns/registry.json +355 -1
- package/dist/patterns/services-registry.json +104 -0
- package/dist/{trait-X5mQAMtW.d.ts → trait-Bnd3i_2G.d.ts} +69 -40
- package/dist/types/index.d.ts +11 -9
- package/dist/types/index.js +71 -18
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DujRcijG.d.ts → types-BE598tvP.d.ts} +3 -3
- package/package.json +6 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-07-
|
|
3
|
+
"exportedAt": "2026-07-26T06:18:13.545Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -40319,6 +40319,360 @@
|
|
|
40319
40319
|
"description": "className prop"
|
|
40320
40320
|
}
|
|
40321
40321
|
}
|
|
40322
|
+
},
|
|
40323
|
+
"import-preview-tree": {
|
|
40324
|
+
"type": "import-preview-tree",
|
|
40325
|
+
"category": "component",
|
|
40326
|
+
"tier": "molecules",
|
|
40327
|
+
"family": "core",
|
|
40328
|
+
"description": "ImportPreviewTree component",
|
|
40329
|
+
"suggestedFor": [
|
|
40330
|
+
"import",
|
|
40331
|
+
"preview",
|
|
40332
|
+
"tree",
|
|
40333
|
+
"import preview tree"
|
|
40334
|
+
],
|
|
40335
|
+
"typicalSize": "medium",
|
|
40336
|
+
"propsSchema": {
|
|
40337
|
+
"units": {
|
|
40338
|
+
"types": [
|
|
40339
|
+
"array"
|
|
40340
|
+
],
|
|
40341
|
+
"description": "Staged units to preview",
|
|
40342
|
+
"required": true,
|
|
40343
|
+
"items": {
|
|
40344
|
+
"types": [
|
|
40345
|
+
"object"
|
|
40346
|
+
],
|
|
40347
|
+
"properties": {
|
|
40348
|
+
"ref": {
|
|
40349
|
+
"types": [
|
|
40350
|
+
"string"
|
|
40351
|
+
]
|
|
40352
|
+
},
|
|
40353
|
+
"targetEntity": {
|
|
40354
|
+
"types": [
|
|
40355
|
+
"string"
|
|
40356
|
+
]
|
|
40357
|
+
},
|
|
40358
|
+
"fields": {
|
|
40359
|
+
"types": [
|
|
40360
|
+
"object"
|
|
40361
|
+
],
|
|
40362
|
+
"mapValue": {
|
|
40363
|
+
"types": [
|
|
40364
|
+
"object"
|
|
40365
|
+
],
|
|
40366
|
+
"freeform": true
|
|
40367
|
+
}
|
|
40368
|
+
},
|
|
40369
|
+
"parentRef": {
|
|
40370
|
+
"types": [
|
|
40371
|
+
"string"
|
|
40372
|
+
]
|
|
40373
|
+
}
|
|
40374
|
+
},
|
|
40375
|
+
"required": [
|
|
40376
|
+
"ref",
|
|
40377
|
+
"targetEntity",
|
|
40378
|
+
"fields"
|
|
40379
|
+
]
|
|
40380
|
+
}
|
|
40381
|
+
},
|
|
40382
|
+
"skipped": {
|
|
40383
|
+
"types": [
|
|
40384
|
+
"array"
|
|
40385
|
+
],
|
|
40386
|
+
"description": "Elements skipped during extraction, with reasons",
|
|
40387
|
+
"items": {
|
|
40388
|
+
"types": [
|
|
40389
|
+
"object"
|
|
40390
|
+
],
|
|
40391
|
+
"properties": {
|
|
40392
|
+
"ref": {
|
|
40393
|
+
"types": [
|
|
40394
|
+
"string"
|
|
40395
|
+
]
|
|
40396
|
+
},
|
|
40397
|
+
"reason": {
|
|
40398
|
+
"types": [
|
|
40399
|
+
"string"
|
|
40400
|
+
]
|
|
40401
|
+
}
|
|
40402
|
+
},
|
|
40403
|
+
"required": [
|
|
40404
|
+
"ref",
|
|
40405
|
+
"reason"
|
|
40406
|
+
]
|
|
40407
|
+
},
|
|
40408
|
+
"default": []
|
|
40409
|
+
},
|
|
40410
|
+
"entityDisplay": {
|
|
40411
|
+
"types": [
|
|
40412
|
+
"object"
|
|
40413
|
+
],
|
|
40414
|
+
"description": "Entity name → display labels; falls back to the entity name",
|
|
40415
|
+
"required": true,
|
|
40416
|
+
"mapValue": {
|
|
40417
|
+
"types": [
|
|
40418
|
+
"object"
|
|
40419
|
+
],
|
|
40420
|
+
"properties": {
|
|
40421
|
+
"singular": {
|
|
40422
|
+
"types": [
|
|
40423
|
+
"string"
|
|
40424
|
+
]
|
|
40425
|
+
},
|
|
40426
|
+
"plural": {
|
|
40427
|
+
"types": [
|
|
40428
|
+
"string"
|
|
40429
|
+
]
|
|
40430
|
+
}
|
|
40431
|
+
},
|
|
40432
|
+
"required": [
|
|
40433
|
+
"singular",
|
|
40434
|
+
"plural"
|
|
40435
|
+
]
|
|
40436
|
+
}
|
|
40437
|
+
},
|
|
40438
|
+
"onConfirm": {
|
|
40439
|
+
"types": [
|
|
40440
|
+
"function"
|
|
40441
|
+
],
|
|
40442
|
+
"description": "Called when the user confirms the staged import",
|
|
40443
|
+
"kind": "callback",
|
|
40444
|
+
"callbackArgs": []
|
|
40445
|
+
},
|
|
40446
|
+
"onCancel": {
|
|
40447
|
+
"types": [
|
|
40448
|
+
"function"
|
|
40449
|
+
],
|
|
40450
|
+
"description": "Called when the user cancels the staged import",
|
|
40451
|
+
"kind": "callback",
|
|
40452
|
+
"callbackArgs": []
|
|
40453
|
+
},
|
|
40454
|
+
"confirmLabel": {
|
|
40455
|
+
"types": [
|
|
40456
|
+
"string"
|
|
40457
|
+
],
|
|
40458
|
+
"description": "Confirm button label",
|
|
40459
|
+
"default": "Confirm import"
|
|
40460
|
+
},
|
|
40461
|
+
"cancelLabel": {
|
|
40462
|
+
"types": [
|
|
40463
|
+
"string"
|
|
40464
|
+
],
|
|
40465
|
+
"description": "Cancel button label",
|
|
40466
|
+
"default": "Cancel"
|
|
40467
|
+
},
|
|
40468
|
+
"indent": {
|
|
40469
|
+
"types": [
|
|
40470
|
+
"number"
|
|
40471
|
+
],
|
|
40472
|
+
"description": "Indent per tree depth in px (default: 16)",
|
|
40473
|
+
"default": 16
|
|
40474
|
+
},
|
|
40475
|
+
"className": {
|
|
40476
|
+
"types": [
|
|
40477
|
+
"string"
|
|
40478
|
+
],
|
|
40479
|
+
"description": "Additional CSS classes"
|
|
40480
|
+
}
|
|
40481
|
+
}
|
|
40482
|
+
},
|
|
40483
|
+
"import-progress": {
|
|
40484
|
+
"type": "import-progress",
|
|
40485
|
+
"category": "component",
|
|
40486
|
+
"tier": "molecules",
|
|
40487
|
+
"family": "core",
|
|
40488
|
+
"description": "ImportProgress component",
|
|
40489
|
+
"suggestedFor": [
|
|
40490
|
+
"import",
|
|
40491
|
+
"progress",
|
|
40492
|
+
"import progress"
|
|
40493
|
+
],
|
|
40494
|
+
"typicalSize": "medium",
|
|
40495
|
+
"propsSchema": {
|
|
40496
|
+
"step": {
|
|
40497
|
+
"types": [
|
|
40498
|
+
"string"
|
|
40499
|
+
],
|
|
40500
|
+
"description": "Current lifecycle step",
|
|
40501
|
+
"required": true,
|
|
40502
|
+
"enumValues": [
|
|
40503
|
+
"fetching",
|
|
40504
|
+
"mapping",
|
|
40505
|
+
"reviewing",
|
|
40506
|
+
"committing",
|
|
40507
|
+
"done",
|
|
40508
|
+
"failed"
|
|
40509
|
+
]
|
|
40510
|
+
},
|
|
40511
|
+
"counts": {
|
|
40512
|
+
"types": [
|
|
40513
|
+
"object"
|
|
40514
|
+
],
|
|
40515
|
+
"description": "Unit counts",
|
|
40516
|
+
"properties": {
|
|
40517
|
+
"staged": {
|
|
40518
|
+
"types": [
|
|
40519
|
+
"number"
|
|
40520
|
+
]
|
|
40521
|
+
},
|
|
40522
|
+
"committed": {
|
|
40523
|
+
"types": [
|
|
40524
|
+
"number"
|
|
40525
|
+
]
|
|
40526
|
+
},
|
|
40527
|
+
"failed": {
|
|
40528
|
+
"types": [
|
|
40529
|
+
"number"
|
|
40530
|
+
]
|
|
40531
|
+
}
|
|
40532
|
+
}
|
|
40533
|
+
},
|
|
40534
|
+
"labels": {
|
|
40535
|
+
"types": [
|
|
40536
|
+
"object"
|
|
40537
|
+
],
|
|
40538
|
+
"description": "Step label overrides",
|
|
40539
|
+
"mapValue": {
|
|
40540
|
+
"types": [
|
|
40541
|
+
"string"
|
|
40542
|
+
]
|
|
40543
|
+
}
|
|
40544
|
+
},
|
|
40545
|
+
"className": {
|
|
40546
|
+
"types": [
|
|
40547
|
+
"string"
|
|
40548
|
+
],
|
|
40549
|
+
"description": "Additional CSS classes"
|
|
40550
|
+
}
|
|
40551
|
+
}
|
|
40552
|
+
},
|
|
40553
|
+
"import-source-picker": {
|
|
40554
|
+
"type": "import-source-picker",
|
|
40555
|
+
"category": "component",
|
|
40556
|
+
"tier": "molecules",
|
|
40557
|
+
"family": "core",
|
|
40558
|
+
"description": "ImportSourcePicker component",
|
|
40559
|
+
"suggestedFor": [
|
|
40560
|
+
"import",
|
|
40561
|
+
"source",
|
|
40562
|
+
"picker",
|
|
40563
|
+
"import source picker"
|
|
40564
|
+
],
|
|
40565
|
+
"typicalSize": "medium",
|
|
40566
|
+
"propsSchema": {
|
|
40567
|
+
"sources": {
|
|
40568
|
+
"types": [
|
|
40569
|
+
"array"
|
|
40570
|
+
],
|
|
40571
|
+
"description": "Source options to render",
|
|
40572
|
+
"required": true,
|
|
40573
|
+
"items": {
|
|
40574
|
+
"types": [
|
|
40575
|
+
"object"
|
|
40576
|
+
],
|
|
40577
|
+
"properties": {
|
|
40578
|
+
"id": {
|
|
40579
|
+
"types": [
|
|
40580
|
+
"string"
|
|
40581
|
+
]
|
|
40582
|
+
},
|
|
40583
|
+
"label": {
|
|
40584
|
+
"types": [
|
|
40585
|
+
"string"
|
|
40586
|
+
]
|
|
40587
|
+
},
|
|
40588
|
+
"description": {
|
|
40589
|
+
"types": [
|
|
40590
|
+
"string"
|
|
40591
|
+
]
|
|
40592
|
+
},
|
|
40593
|
+
"icon": {
|
|
40594
|
+
"types": [
|
|
40595
|
+
"icon",
|
|
40596
|
+
"string"
|
|
40597
|
+
]
|
|
40598
|
+
},
|
|
40599
|
+
"kind": {
|
|
40600
|
+
"types": [
|
|
40601
|
+
"string"
|
|
40602
|
+
],
|
|
40603
|
+
"enumValues": [
|
|
40604
|
+
"action",
|
|
40605
|
+
"file"
|
|
40606
|
+
]
|
|
40607
|
+
},
|
|
40608
|
+
"accept": {
|
|
40609
|
+
"types": [
|
|
40610
|
+
"string"
|
|
40611
|
+
]
|
|
40612
|
+
},
|
|
40613
|
+
"multiple": {
|
|
40614
|
+
"types": [
|
|
40615
|
+
"boolean"
|
|
40616
|
+
]
|
|
40617
|
+
},
|
|
40618
|
+
"disabled": {
|
|
40619
|
+
"types": [
|
|
40620
|
+
"boolean"
|
|
40621
|
+
]
|
|
40622
|
+
}
|
|
40623
|
+
},
|
|
40624
|
+
"required": [
|
|
40625
|
+
"id",
|
|
40626
|
+
"label"
|
|
40627
|
+
]
|
|
40628
|
+
}
|
|
40629
|
+
},
|
|
40630
|
+
"onSelect": {
|
|
40631
|
+
"types": [
|
|
40632
|
+
"function"
|
|
40633
|
+
],
|
|
40634
|
+
"description": "Called with the source id when an 'action' option is picked",
|
|
40635
|
+
"kind": "callback",
|
|
40636
|
+
"callbackArgs": [
|
|
40637
|
+
{
|
|
40638
|
+
"name": "sourceId",
|
|
40639
|
+
"type": "string"
|
|
40640
|
+
}
|
|
40641
|
+
]
|
|
40642
|
+
},
|
|
40643
|
+
"onFilesSelected": {
|
|
40644
|
+
"types": [
|
|
40645
|
+
"function"
|
|
40646
|
+
],
|
|
40647
|
+
"description": "Called with the chosen files when a 'file' option resolves",
|
|
40648
|
+
"kind": "callback",
|
|
40649
|
+
"callbackArgs": [
|
|
40650
|
+
{
|
|
40651
|
+
"name": "files",
|
|
40652
|
+
"type": "array"
|
|
40653
|
+
}
|
|
40654
|
+
],
|
|
40655
|
+
"nonEmittable": true
|
|
40656
|
+
},
|
|
40657
|
+
"title": {
|
|
40658
|
+
"types": [
|
|
40659
|
+
"string"
|
|
40660
|
+
],
|
|
40661
|
+
"description": "Optional heading above the options"
|
|
40662
|
+
},
|
|
40663
|
+
"moreSources": {
|
|
40664
|
+
"types": [
|
|
40665
|
+
"node"
|
|
40666
|
+
],
|
|
40667
|
+
"description": "Generic slot for additional sources rendered below the options"
|
|
40668
|
+
},
|
|
40669
|
+
"className": {
|
|
40670
|
+
"types": [
|
|
40671
|
+
"string"
|
|
40672
|
+
],
|
|
40673
|
+
"description": "Additional CSS classes"
|
|
40674
|
+
}
|
|
40675
|
+
}
|
|
40322
40676
|
}
|
|
40323
40677
|
},
|
|
40324
40678
|
"categories": [
|
|
@@ -623,6 +623,73 @@
|
|
|
623
623
|
],
|
|
624
624
|
"credentials": []
|
|
625
625
|
},
|
|
626
|
+
"migration": {
|
|
627
|
+
"name": "migration",
|
|
628
|
+
"description": "Migration service — import external data (notes, docs, references) into the system",
|
|
629
|
+
"category": "infrastructure",
|
|
630
|
+
"package": "@almadar-io/migration",
|
|
631
|
+
"actions": [
|
|
632
|
+
{
|
|
633
|
+
"name": "listDocuments",
|
|
634
|
+
"description": "List the documents available from an import source.",
|
|
635
|
+
"params": [
|
|
636
|
+
{
|
|
637
|
+
"name": "source",
|
|
638
|
+
"type": "ServiceParams",
|
|
639
|
+
"required": true,
|
|
640
|
+
"description": "ImportSource descriptor (kind + source-specific config)"
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"responseShape": {
|
|
644
|
+
"documents": "array"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "fetchDocument",
|
|
649
|
+
"description": "Fetch one document's content from an import source.",
|
|
650
|
+
"params": [
|
|
651
|
+
{
|
|
652
|
+
"name": "source",
|
|
653
|
+
"type": "ServiceParams",
|
|
654
|
+
"required": true,
|
|
655
|
+
"description": "ImportSource descriptor (kind + source-specific config)"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "documentId",
|
|
659
|
+
"type": "string",
|
|
660
|
+
"required": true,
|
|
661
|
+
"description": ""
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"responseShape": {
|
|
665
|
+
"document": "object"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "commit",
|
|
670
|
+
"description": "Commit staged import units through the host's sink.",
|
|
671
|
+
"params": [
|
|
672
|
+
{
|
|
673
|
+
"name": "jobId",
|
|
674
|
+
"type": "string",
|
|
675
|
+
"required": true,
|
|
676
|
+
"description": ""
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "units",
|
|
680
|
+
"type": "array",
|
|
681
|
+
"required": true,
|
|
682
|
+
"description": "ImportUnit[] staged for commit"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"responseShape": {
|
|
686
|
+
"committed": "number",
|
|
687
|
+
"failed": "array"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"credentials": []
|
|
692
|
+
},
|
|
626
693
|
"skills": {
|
|
627
694
|
"name": "skills",
|
|
628
695
|
"description": "Skills service — AI-powered schema generation",
|
|
@@ -1675,6 +1742,43 @@
|
|
|
1675
1742
|
}
|
|
1676
1743
|
]
|
|
1677
1744
|
},
|
|
1745
|
+
"database": {
|
|
1746
|
+
"name": "database",
|
|
1747
|
+
"description": "Database integration — read-only SQL queries over external connections",
|
|
1748
|
+
"category": "infrastructure",
|
|
1749
|
+
"package": "@almadar/integrations",
|
|
1750
|
+
"actions": [
|
|
1751
|
+
{
|
|
1752
|
+
"name": "query",
|
|
1753
|
+
"description": "",
|
|
1754
|
+
"params": [
|
|
1755
|
+
{
|
|
1756
|
+
"name": "connectionRef",
|
|
1757
|
+
"type": "string",
|
|
1758
|
+
"required": true,
|
|
1759
|
+
"description": ""
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "sql",
|
|
1763
|
+
"type": "string",
|
|
1764
|
+
"required": true,
|
|
1765
|
+
"description": ""
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "params",
|
|
1769
|
+
"type": "DatabaseQueryParamValue[]",
|
|
1770
|
+
"required": false,
|
|
1771
|
+
"description": ""
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"responseShape": {
|
|
1775
|
+
"rows": "DatabaseRow[]",
|
|
1776
|
+
"rowCount": "number"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"credentials": []
|
|
1781
|
+
},
|
|
1678
1782
|
"storage": {
|
|
1679
1783
|
"name": "storage",
|
|
1680
1784
|
"description": "Object storage — upload, download, delete, list files",
|