@almadar/core 10.72.0 → 10.74.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/{effect-BftJTKJZ.d.ts → effect-C0MRXCwF.d.ts} +10 -1
- package/dist/{entityAccess-OcrfCefK.d.ts → entityAccess-CpfvoNOd.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/{index-cXViQbl2.d.ts → index-D4jODKSD.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +132 -5
- 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 +279 -7
- package/dist/patterns/index.js +132 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +35 -1
- package/dist/patterns/patterns-registry.json +95 -2
- package/dist/patterns/registry.json +95 -2
- package/dist/patterns/services-registry.json +35 -1
- package/dist/{schema-8n8qR2Rb.d.ts → schema-DJY7OUOM.d.ts} +2 -2
- package/dist/{trait-BRv7XO6_.d.ts → trait-D1zKrxnf.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js.map +1 -1
- package/dist/{types-RhC1qunQ.d.ts → types-BdiOJCat.d.ts} +11 -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-29T18:15:51.642Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -13304,6 +13304,12 @@ var patterns_registry_default = {
|
|
|
13304
13304
|
],
|
|
13305
13305
|
description: "Custom sidebar footer (optional). When omitted, the sidebar has no footer \u2014 apps that need Settings/etc. add them via navItems."
|
|
13306
13306
|
},
|
|
13307
|
+
sidebarContent: {
|
|
13308
|
+
types: [
|
|
13309
|
+
"node"
|
|
13310
|
+
],
|
|
13311
|
+
description: "Optional content region rendered between the nav links and the footer \u2014 a page tree or any consumer navigation surface; scrolls independently and takes the sidebar's remaining height. Hidden in the collapsed rail."
|
|
13312
|
+
},
|
|
13307
13313
|
currentPath: {
|
|
13308
13314
|
types: [
|
|
13309
13315
|
"string"
|
|
@@ -25371,6 +25377,23 @@ var patterns_registry_default = {
|
|
|
25371
25377
|
],
|
|
25372
25378
|
description: "Currently selected file path"
|
|
25373
25379
|
},
|
|
25380
|
+
selectedId: {
|
|
25381
|
+
types: [
|
|
25382
|
+
"string"
|
|
25383
|
+
],
|
|
25384
|
+
description: 'Currently selected node id, in flat `items` mode: the row highlights and every ancestor auto-expands so the selection is always visible \u2014 the "you are here" a navigation tree needs.'
|
|
25385
|
+
},
|
|
25386
|
+
look: {
|
|
25387
|
+
types: [
|
|
25388
|
+
"string"
|
|
25389
|
+
],
|
|
25390
|
+
description: "Visual treatment for flat `items` mode: `files` (default) keeps the monospace file-browser look; `nav` renders a sidebar navigation tree \u2014 regular font, document icons, roomier hit areas.",
|
|
25391
|
+
enumValues: [
|
|
25392
|
+
"files",
|
|
25393
|
+
"nav"
|
|
25394
|
+
],
|
|
25395
|
+
default: "files"
|
|
25396
|
+
},
|
|
25374
25397
|
onFileSelect: {
|
|
25375
25398
|
types: [
|
|
25376
25399
|
"function"
|
|
@@ -25398,6 +25421,32 @@ var patterns_registry_default = {
|
|
|
25398
25421
|
],
|
|
25399
25422
|
default: ""
|
|
25400
25423
|
},
|
|
25424
|
+
onNodeAction: {
|
|
25425
|
+
types: [
|
|
25426
|
+
"function"
|
|
25427
|
+
],
|
|
25428
|
+
description: "Called from the row's hover action button, in flat `items` mode; carries that node's id. Presence-gated: binding it renders the action.",
|
|
25429
|
+
kind: "callback",
|
|
25430
|
+
callbackArgs: [
|
|
25431
|
+
{
|
|
25432
|
+
name: "id",
|
|
25433
|
+
type: "string"
|
|
25434
|
+
}
|
|
25435
|
+
],
|
|
25436
|
+
default: ""
|
|
25437
|
+
},
|
|
25438
|
+
nodeActionIcon: {
|
|
25439
|
+
types: [
|
|
25440
|
+
"string"
|
|
25441
|
+
],
|
|
25442
|
+
description: "Icon for the row hover action (default: plus)."
|
|
25443
|
+
},
|
|
25444
|
+
nodeActionLabel: {
|
|
25445
|
+
types: [
|
|
25446
|
+
"string"
|
|
25447
|
+
],
|
|
25448
|
+
description: "Accessible label/tooltip for the row hover action."
|
|
25449
|
+
},
|
|
25401
25450
|
className: {
|
|
25402
25451
|
types: [
|
|
25403
25452
|
"string"
|
|
@@ -47775,6 +47824,19 @@ var patterns_registry_default = {
|
|
|
47775
47824
|
],
|
|
47776
47825
|
description: "Muted byline under the title; hidden when empty"
|
|
47777
47826
|
},
|
|
47827
|
+
coverImage: {
|
|
47828
|
+
types: [
|
|
47829
|
+
"string"
|
|
47830
|
+
],
|
|
47831
|
+
description: "Cover/hero image URL painted as a full-bleed banner above the header row (Notion/article-hero shape); hidden when empty"
|
|
47832
|
+
},
|
|
47833
|
+
icon: {
|
|
47834
|
+
types: [
|
|
47835
|
+
"icon",
|
|
47836
|
+
"string"
|
|
47837
|
+
],
|
|
47838
|
+
description: "Document icon rendered beside the title (a file glyph, a domain icon); hidden when empty"
|
|
47839
|
+
},
|
|
47778
47840
|
value: {
|
|
47779
47841
|
types: [
|
|
47780
47842
|
"string"
|
|
@@ -47939,6 +48001,7 @@ var patterns_registry_default = {
|
|
|
47939
48001
|
family: "core",
|
|
47940
48002
|
description: "DocumentDetails \u2014 the document's metadata as a compact settings card for the rail beside a DocumentPanel, each property committing in place.",
|
|
47941
48003
|
capabilities: "document settings, page details, post settings sidebar, metadata panel, document properties, publish settings",
|
|
48004
|
+
fieldsContract: "display",
|
|
47942
48005
|
suggestedFor: [
|
|
47943
48006
|
"document",
|
|
47944
48007
|
"details",
|
|
@@ -47998,7 +48061,8 @@ var patterns_registry_default = {
|
|
|
47998
48061
|
"text",
|
|
47999
48062
|
"boolean",
|
|
48000
48063
|
"select",
|
|
48001
|
-
"readonly"
|
|
48064
|
+
"readonly",
|
|
48065
|
+
"image"
|
|
48002
48066
|
]
|
|
48003
48067
|
},
|
|
48004
48068
|
options: {
|
|
@@ -48022,6 +48086,11 @@ var patterns_registry_default = {
|
|
|
48022
48086
|
"boolean",
|
|
48023
48087
|
"percent"
|
|
48024
48088
|
]
|
|
48089
|
+
},
|
|
48090
|
+
type: {
|
|
48091
|
+
types: [
|
|
48092
|
+
"string"
|
|
48093
|
+
]
|
|
48025
48094
|
}
|
|
48026
48095
|
}
|
|
48027
48096
|
}
|
|
@@ -48045,6 +48114,30 @@ var patterns_registry_default = {
|
|
|
48045
48114
|
}
|
|
48046
48115
|
]
|
|
48047
48116
|
},
|
|
48117
|
+
relationEvent: {
|
|
48118
|
+
types: [
|
|
48119
|
+
"string"
|
|
48120
|
+
],
|
|
48121
|
+
description: "Makes relation chips clickable: emitted with { field, id, name } when a hydrated relation value (or one row of a many-relation) is clicked \u2014 the host routes it to the linked record's own surface.",
|
|
48122
|
+
kind: "event-ref",
|
|
48123
|
+
emitPayloadSchema: [
|
|
48124
|
+
{
|
|
48125
|
+
name: "field",
|
|
48126
|
+
type: "string",
|
|
48127
|
+
required: true
|
|
48128
|
+
},
|
|
48129
|
+
{
|
|
48130
|
+
name: "id",
|
|
48131
|
+
type: "string",
|
|
48132
|
+
required: true
|
|
48133
|
+
},
|
|
48134
|
+
{
|
|
48135
|
+
name: "name",
|
|
48136
|
+
type: "string",
|
|
48137
|
+
required: true
|
|
48138
|
+
}
|
|
48139
|
+
]
|
|
48140
|
+
},
|
|
48048
48141
|
title: {
|
|
48049
48142
|
types: [
|
|
48050
48143
|
"string"
|
|
@@ -48083,7 +48176,7 @@ var patterns_registry_default = {
|
|
|
48083
48176
|
// src/patterns/integrators-registry.json
|
|
48084
48177
|
var integrators_registry_default = {
|
|
48085
48178
|
version: "1.0.0",
|
|
48086
|
-
exportedAt: "2026-08-
|
|
48179
|
+
exportedAt: "2026-08-29T08:09:09.100Z",
|
|
48087
48180
|
integrators: {
|
|
48088
48181
|
github: {
|
|
48089
48182
|
name: "github",
|
|
@@ -49873,6 +49966,40 @@ var integrators_registry_default = {
|
|
|
49873
49966
|
url: "string"
|
|
49874
49967
|
}
|
|
49875
49968
|
},
|
|
49969
|
+
{
|
|
49970
|
+
name: "uploadMany",
|
|
49971
|
+
description: "",
|
|
49972
|
+
params: [
|
|
49973
|
+
{
|
|
49974
|
+
name: "bucket",
|
|
49975
|
+
type: "string",
|
|
49976
|
+
required: true,
|
|
49977
|
+
description: ""
|
|
49978
|
+
},
|
|
49979
|
+
{
|
|
49980
|
+
name: "files",
|
|
49981
|
+
type: "array",
|
|
49982
|
+
required: true,
|
|
49983
|
+
description: ""
|
|
49984
|
+
},
|
|
49985
|
+
{
|
|
49986
|
+
name: "acl",
|
|
49987
|
+
type: "'public' | 'private'",
|
|
49988
|
+
required: false,
|
|
49989
|
+
description: ""
|
|
49990
|
+
},
|
|
49991
|
+
{
|
|
49992
|
+
name: "maxSize",
|
|
49993
|
+
type: "number",
|
|
49994
|
+
required: false,
|
|
49995
|
+
description: ""
|
|
49996
|
+
}
|
|
49997
|
+
],
|
|
49998
|
+
responseShape: {
|
|
49999
|
+
items: "array",
|
|
50000
|
+
count: "number"
|
|
50001
|
+
}
|
|
50002
|
+
},
|
|
49876
50003
|
{
|
|
49877
50004
|
name: "download",
|
|
49878
50005
|
description: "",
|
|
@@ -50965,7 +51092,7 @@ var integrators_registry_default = {
|
|
|
50965
51092
|
// src/patterns/component-mapping.json
|
|
50966
51093
|
var component_mapping_default = {
|
|
50967
51094
|
version: "1.0.0",
|
|
50968
|
-
exportedAt: "2026-08-
|
|
51095
|
+
exportedAt: "2026-08-29T18:15:51.642Z",
|
|
50969
51096
|
mappings: {
|
|
50970
51097
|
"page-header": {
|
|
50971
51098
|
component: "PageHeader",
|
|
@@ -52385,7 +52512,7 @@ var component_mapping_default = {
|
|
|
52385
52512
|
// src/patterns/event-contracts.json
|
|
52386
52513
|
var event_contracts_default = {
|
|
52387
52514
|
version: "1.0.0",
|
|
52388
|
-
exportedAt: "2026-08-
|
|
52515
|
+
exportedAt: "2026-08-29T18:15:51.642Z",
|
|
52389
52516
|
contracts: {
|
|
52390
52517
|
form: {
|
|
52391
52518
|
emits: [
|