@almadar/core 10.66.0 → 10.68.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.d.ts +3 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BTXY2wl8.d.ts → effect-Jn7yEAFH.d.ts} +11 -4
- package/dist/{entityAccess-B5nbSI6L.d.ts → entityAccess-BgJpQUj8.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-BNEx05jQ.d.ts → index-DOO0VFpW.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +170 -13
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +310 -16
- package/dist/patterns/index.js +157 -12
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +43 -2
- package/dist/patterns/patterns-registry.json +112 -8
- package/dist/patterns/registry.json +112 -8
- package/dist/patterns/services-registry.json +164 -50
- package/dist/{schema-DwFRl8ZS.d.ts → schema-CUBQXBqc.d.ts} +2 -2
- package/dist/{trait-CzOtZitc.d.ts → trait-unQtwJp-.d.ts} +17 -10
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +13 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C0NIDJ5X.d.ts → types-DffEpxk1.d.ts} +2 -2
- package/package.json +1 -1
package/dist/patterns/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// src/patterns/patterns-registry.json
|
|
4
4
|
var patterns_registry_default = {
|
|
5
5
|
version: "1.0.0",
|
|
6
|
-
exportedAt: "2026-08-
|
|
6
|
+
exportedAt: "2026-08-24T09:35:40.638Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -1628,7 +1628,29 @@ var patterns_registry_default = {
|
|
|
1628
1628
|
},
|
|
1629
1629
|
relation: {
|
|
1630
1630
|
types: [
|
|
1631
|
-
"
|
|
1631
|
+
"object"
|
|
1632
|
+
],
|
|
1633
|
+
properties: {
|
|
1634
|
+
entity: {
|
|
1635
|
+
types: [
|
|
1636
|
+
"string"
|
|
1637
|
+
]
|
|
1638
|
+
},
|
|
1639
|
+
cardinality: {
|
|
1640
|
+
types: [
|
|
1641
|
+
"string"
|
|
1642
|
+
],
|
|
1643
|
+
enumValues: [
|
|
1644
|
+
"one",
|
|
1645
|
+
"many",
|
|
1646
|
+
"one-to-many",
|
|
1647
|
+
"many-to-one",
|
|
1648
|
+
"many-to-many"
|
|
1649
|
+
]
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
required: [
|
|
1653
|
+
"entity"
|
|
1632
1654
|
]
|
|
1633
1655
|
}
|
|
1634
1656
|
},
|
|
@@ -2193,7 +2215,10 @@ var patterns_registry_default = {
|
|
|
2193
2215
|
],
|
|
2194
2216
|
enumValues: [
|
|
2195
2217
|
"one",
|
|
2196
|
-
"many"
|
|
2218
|
+
"many",
|
|
2219
|
+
"one-to-many",
|
|
2220
|
+
"many-to-one",
|
|
2221
|
+
"many-to-many"
|
|
2197
2222
|
]
|
|
2198
2223
|
}
|
|
2199
2224
|
},
|
|
@@ -2738,7 +2763,10 @@ var patterns_registry_default = {
|
|
|
2738
2763
|
],
|
|
2739
2764
|
enumValues: [
|
|
2740
2765
|
"one",
|
|
2741
|
-
"many"
|
|
2766
|
+
"many",
|
|
2767
|
+
"one-to-many",
|
|
2768
|
+
"many-to-one",
|
|
2769
|
+
"many-to-many"
|
|
2742
2770
|
]
|
|
2743
2771
|
}
|
|
2744
2772
|
},
|
|
@@ -3059,7 +3087,10 @@ var patterns_registry_default = {
|
|
|
3059
3087
|
],
|
|
3060
3088
|
enumValues: [
|
|
3061
3089
|
"one",
|
|
3062
|
-
"many"
|
|
3090
|
+
"many",
|
|
3091
|
+
"one-to-many",
|
|
3092
|
+
"many-to-one",
|
|
3093
|
+
"many-to-many"
|
|
3063
3094
|
]
|
|
3064
3095
|
}
|
|
3065
3096
|
},
|
|
@@ -3604,7 +3635,10 @@ var patterns_registry_default = {
|
|
|
3604
3635
|
],
|
|
3605
3636
|
enumValues: [
|
|
3606
3637
|
"one",
|
|
3607
|
-
"many"
|
|
3638
|
+
"many",
|
|
3639
|
+
"one-to-many",
|
|
3640
|
+
"many-to-one",
|
|
3641
|
+
"many-to-many"
|
|
3608
3642
|
]
|
|
3609
3643
|
}
|
|
3610
3644
|
},
|
|
@@ -25222,8 +25256,7 @@ var patterns_registry_default = {
|
|
|
25222
25256
|
types: [
|
|
25223
25257
|
"array"
|
|
25224
25258
|
],
|
|
25225
|
-
description: "The tree data",
|
|
25226
|
-
required: true,
|
|
25259
|
+
description: "The tree data (pre-nested). Ignored when `items` is provided.",
|
|
25227
25260
|
items: {
|
|
25228
25261
|
types: [
|
|
25229
25262
|
"object"
|
|
@@ -25277,6 +25310,43 @@ var patterns_registry_default = {
|
|
|
25277
25310
|
]
|
|
25278
25311
|
}
|
|
25279
25312
|
},
|
|
25313
|
+
items: {
|
|
25314
|
+
types: [
|
|
25315
|
+
"array"
|
|
25316
|
+
],
|
|
25317
|
+
description: "Flat node list, nested by `parentId` at render time \u2014 takes precedence over `tree` when provided. A `parentId` with no matching row renders that node as a root rather than dropping it.",
|
|
25318
|
+
items: {
|
|
25319
|
+
types: [
|
|
25320
|
+
"object"
|
|
25321
|
+
],
|
|
25322
|
+
properties: {
|
|
25323
|
+
id: {
|
|
25324
|
+
types: [
|
|
25325
|
+
"string"
|
|
25326
|
+
]
|
|
25327
|
+
},
|
|
25328
|
+
label: {
|
|
25329
|
+
types: [
|
|
25330
|
+
"string"
|
|
25331
|
+
]
|
|
25332
|
+
},
|
|
25333
|
+
parentId: {
|
|
25334
|
+
types: [
|
|
25335
|
+
"string"
|
|
25336
|
+
]
|
|
25337
|
+
},
|
|
25338
|
+
icon: {
|
|
25339
|
+
types: [
|
|
25340
|
+
"string"
|
|
25341
|
+
]
|
|
25342
|
+
}
|
|
25343
|
+
},
|
|
25344
|
+
required: [
|
|
25345
|
+
"id",
|
|
25346
|
+
"label"
|
|
25347
|
+
]
|
|
25348
|
+
}
|
|
25349
|
+
},
|
|
25280
25350
|
selectedPath: {
|
|
25281
25351
|
types: [
|
|
25282
25352
|
"string"
|
|
@@ -25296,6 +25366,20 @@ var patterns_registry_default = {
|
|
|
25296
25366
|
}
|
|
25297
25367
|
]
|
|
25298
25368
|
},
|
|
25369
|
+
onNodeSelect: {
|
|
25370
|
+
types: [
|
|
25371
|
+
"function"
|
|
25372
|
+
],
|
|
25373
|
+
description: "Called when a node is clicked, in flat `items` mode; carries the selected node's id. Presence-gated: binding this prop is what turns on the click-to-select affordance, mirroring Badge's `onRemove`.",
|
|
25374
|
+
kind: "callback",
|
|
25375
|
+
callbackArgs: [
|
|
25376
|
+
{
|
|
25377
|
+
name: "id",
|
|
25378
|
+
type: "string"
|
|
25379
|
+
}
|
|
25380
|
+
],
|
|
25381
|
+
default: ""
|
|
25382
|
+
},
|
|
25299
25383
|
className: {
|
|
25300
25384
|
types: [
|
|
25301
25385
|
"string"
|
|
@@ -39455,6 +39539,26 @@ var patterns_registry_default = {
|
|
|
39455
39539
|
description: "gridStep prop",
|
|
39456
39540
|
default: 1
|
|
39457
39541
|
},
|
|
39542
|
+
backgroundColor: {
|
|
39543
|
+
types: [
|
|
39544
|
+
"string"
|
|
39545
|
+
],
|
|
39546
|
+
description: "Canvas fill color; `var(--token, fallback)` strings resolve against the active theme. Default transparent."
|
|
39547
|
+
},
|
|
39548
|
+
gridColor: {
|
|
39549
|
+
types: [
|
|
39550
|
+
"string"
|
|
39551
|
+
],
|
|
39552
|
+
description: "Grid line color; resolves theme tokens (default `var(--color-border, #9ca3af)`).",
|
|
39553
|
+
default: "var(--color-border, #9ca3af)"
|
|
39554
|
+
},
|
|
39555
|
+
axisColor: {
|
|
39556
|
+
types: [
|
|
39557
|
+
"string"
|
|
39558
|
+
],
|
|
39559
|
+
description: "Axis line color; resolves theme tokens (default `var(--color-muted-foreground, #374151)`).",
|
|
39560
|
+
default: "var(--color-muted-foreground, #374151)"
|
|
39561
|
+
},
|
|
39458
39562
|
showTickLabels: {
|
|
39459
39563
|
types: [
|
|
39460
39564
|
"boolean"
|
|
@@ -47655,7 +47759,7 @@ var patterns_registry_default = {
|
|
|
47655
47759
|
// src/patterns/integrators-registry.json
|
|
47656
47760
|
var integrators_registry_default = {
|
|
47657
47761
|
version: "1.0.0",
|
|
47658
|
-
exportedAt: "2026-08-
|
|
47762
|
+
exportedAt: "2026-08-23T09:11:28.111Z",
|
|
47659
47763
|
integrators: {
|
|
47660
47764
|
github: {
|
|
47661
47765
|
name: "github",
|
|
@@ -48321,6 +48425,12 @@ var integrators_registry_default = {
|
|
|
48321
48425
|
type: "string",
|
|
48322
48426
|
required: true,
|
|
48323
48427
|
description: ""
|
|
48428
|
+
},
|
|
48429
|
+
{
|
|
48430
|
+
name: "from",
|
|
48431
|
+
type: "string",
|
|
48432
|
+
required: false,
|
|
48433
|
+
description: ""
|
|
48324
48434
|
}
|
|
48325
48435
|
],
|
|
48326
48436
|
responseShape: {
|
|
@@ -48384,6 +48494,24 @@ var integrators_registry_default = {
|
|
|
48384
48494
|
type: "string",
|
|
48385
48495
|
required: false,
|
|
48386
48496
|
description: ""
|
|
48497
|
+
},
|
|
48498
|
+
{
|
|
48499
|
+
name: "htmlBody",
|
|
48500
|
+
type: "string",
|
|
48501
|
+
required: false,
|
|
48502
|
+
description: "HTML content; when present `body` becomes the plain-text alternative."
|
|
48503
|
+
},
|
|
48504
|
+
{
|
|
48505
|
+
name: "replyTo",
|
|
48506
|
+
type: "string",
|
|
48507
|
+
required: false,
|
|
48508
|
+
description: ""
|
|
48509
|
+
},
|
|
48510
|
+
{
|
|
48511
|
+
name: "templateId",
|
|
48512
|
+
type: "string",
|
|
48513
|
+
required: false,
|
|
48514
|
+
description: "Provider template reference (SendGrid dynamic templates; Resend rejects it loudly)."
|
|
48387
48515
|
}
|
|
48388
48516
|
],
|
|
48389
48517
|
responseShape: {
|
|
@@ -49466,11 +49594,18 @@ var integrators_registry_default = {
|
|
|
49466
49594
|
type: "number",
|
|
49467
49595
|
required: false,
|
|
49468
49596
|
description: ""
|
|
49597
|
+
},
|
|
49598
|
+
{
|
|
49599
|
+
name: "continuationToken",
|
|
49600
|
+
type: "string",
|
|
49601
|
+
required: false,
|
|
49602
|
+
description: ""
|
|
49469
49603
|
}
|
|
49470
49604
|
],
|
|
49471
49605
|
responseShape: {
|
|
49472
49606
|
keys: "array",
|
|
49473
|
-
truncated: "boolean"
|
|
49607
|
+
truncated: "boolean",
|
|
49608
|
+
nextToken: "string"
|
|
49474
49609
|
}
|
|
49475
49610
|
},
|
|
49476
49611
|
{
|
|
@@ -50060,6 +50195,16 @@ var integrators_registry_default = {
|
|
|
50060
50195
|
ok: "boolean",
|
|
50061
50196
|
message: "string"
|
|
50062
50197
|
}
|
|
50198
|
+
},
|
|
50199
|
+
{
|
|
50200
|
+
name: "rotate",
|
|
50201
|
+
description: "",
|
|
50202
|
+
params: [],
|
|
50203
|
+
responseShape: {
|
|
50204
|
+
rotated: "number",
|
|
50205
|
+
alreadyCurrent: "number",
|
|
50206
|
+
unreadable: "number"
|
|
50207
|
+
}
|
|
50063
50208
|
}
|
|
50064
50209
|
]
|
|
50065
50210
|
},
|
|
@@ -50496,7 +50641,7 @@ var integrators_registry_default = {
|
|
|
50496
50641
|
// src/patterns/component-mapping.json
|
|
50497
50642
|
var component_mapping_default = {
|
|
50498
50643
|
version: "1.0.0",
|
|
50499
|
-
exportedAt: "2026-08-
|
|
50644
|
+
exportedAt: "2026-08-24T09:35:40.638Z",
|
|
50500
50645
|
mappings: {
|
|
50501
50646
|
"page-header": {
|
|
50502
50647
|
component: "PageHeader",
|
|
@@ -51906,7 +52051,7 @@ var component_mapping_default = {
|
|
|
51906
52051
|
// src/patterns/event-contracts.json
|
|
51907
52052
|
var event_contracts_default = {
|
|
51908
52053
|
version: "1.0.0",
|
|
51909
|
-
exportedAt: "2026-08-
|
|
52054
|
+
exportedAt: "2026-08-24T09:35:40.638Z",
|
|
51910
52055
|
contracts: {
|
|
51911
52056
|
form: {
|
|
51912
52057
|
emits: [
|