@buildpad/mcp 0.1.5 → 0.1.7
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/index.js +149 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5260,10 +5260,10 @@ import { fileURLToPath } from "url";
|
|
|
5260
5260
|
// src/registry.ts
|
|
5261
5261
|
function loadRegistry() {
|
|
5262
5262
|
return JSON.parse(`{
|
|
5263
|
-
"$schema": "https://
|
|
5263
|
+
"$schema": "https://raw.githubusercontent.com/microbuild-ui/ui/refs/heads/main/packages/registry.json",
|
|
5264
5264
|
"version": "1.0.0",
|
|
5265
5265
|
"name": "buildpad",
|
|
5266
|
-
"description": "A collection of copy-and-own components for building DaaS-compatible
|
|
5266
|
+
"description": "A collection of copy-and-own components for building DaaS-compatible Nextjs frontends",
|
|
5267
5267
|
"license": "MIT",
|
|
5268
5268
|
"repository": "https://github.com/microbuild-ui/ui",
|
|
5269
5269
|
"meta": {
|
|
@@ -5428,6 +5428,22 @@ function loadRegistry() {
|
|
|
5428
5428
|
"source": "services/src/daas-context.tsx",
|
|
5429
5429
|
"target": "lib/buildpad/services/daas-context.tsx"
|
|
5430
5430
|
},
|
|
5431
|
+
{
|
|
5432
|
+
"source": "services/src/auth/index.ts",
|
|
5433
|
+
"target": "lib/buildpad/services/auth/index.ts"
|
|
5434
|
+
},
|
|
5435
|
+
{
|
|
5436
|
+
"source": "services/src/auth/session.ts",
|
|
5437
|
+
"target": "lib/buildpad/services/auth/session.ts"
|
|
5438
|
+
},
|
|
5439
|
+
{
|
|
5440
|
+
"source": "services/src/auth/enforcer.ts",
|
|
5441
|
+
"target": "lib/buildpad/services/auth/enforcer.ts"
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
"source": "services/src/auth/filter-to-query.ts",
|
|
5445
|
+
"target": "lib/buildpad/services/auth/filter-to-query.ts"
|
|
5446
|
+
},
|
|
5431
5447
|
{
|
|
5432
5448
|
"source": "cli/templates/lib/services/index.ts",
|
|
5433
5449
|
"target": "lib/buildpad/services/index.ts"
|
|
@@ -5473,6 +5489,10 @@ function loadRegistry() {
|
|
|
5473
5489
|
"source": "hooks/src/useRelationM2A.ts",
|
|
5474
5490
|
"target": "lib/buildpad/hooks/useRelationM2A.ts"
|
|
5475
5491
|
},
|
|
5492
|
+
{
|
|
5493
|
+
"source": "hooks/src/useRelationPermissionsM2A.ts",
|
|
5494
|
+
"target": "lib/buildpad/hooks/useRelationPermissionsM2A.ts"
|
|
5495
|
+
},
|
|
5476
5496
|
{
|
|
5477
5497
|
"source": "hooks/src/useSelection.ts",
|
|
5478
5498
|
"target": "lib/buildpad/hooks/useSelection.ts"
|
|
@@ -5509,6 +5529,34 @@ function loadRegistry() {
|
|
|
5509
5529
|
"source": "hooks/src/useCollections.ts",
|
|
5510
5530
|
"target": "lib/buildpad/hooks/useCollections.ts"
|
|
5511
5531
|
},
|
|
5532
|
+
{
|
|
5533
|
+
"source": "hooks/src/useRelationMultipleM2M.ts",
|
|
5534
|
+
"target": "lib/buildpad/hooks/useRelationMultipleM2M.ts"
|
|
5535
|
+
},
|
|
5536
|
+
{
|
|
5537
|
+
"source": "hooks/src/useRelationPermissionsM2M.ts",
|
|
5538
|
+
"target": "lib/buildpad/hooks/useRelationPermissionsM2M.ts"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"source": "hooks/src/useRelationPermissionsM2O.ts",
|
|
5542
|
+
"target": "lib/buildpad/hooks/useRelationPermissionsM2O.ts"
|
|
5543
|
+
},
|
|
5544
|
+
{
|
|
5545
|
+
"source": "hooks/src/useFieldMetadata.ts",
|
|
5546
|
+
"target": "lib/buildpad/hooks/useFieldMetadata.ts"
|
|
5547
|
+
},
|
|
5548
|
+
{
|
|
5549
|
+
"source": "hooks/src/useAuth.ts",
|
|
5550
|
+
"target": "lib/buildpad/hooks/useAuth.ts"
|
|
5551
|
+
},
|
|
5552
|
+
{
|
|
5553
|
+
"source": "hooks/src/usePermissions.ts",
|
|
5554
|
+
"target": "lib/buildpad/hooks/usePermissions.ts"
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"source": "hooks/src/useDaaSContext.tsx",
|
|
5558
|
+
"target": "lib/buildpad/hooks/useDaaSContext.tsx"
|
|
5559
|
+
},
|
|
5512
5560
|
{
|
|
5513
5561
|
"source": "cli/templates/lib/hooks/index.ts",
|
|
5514
5562
|
"target": "lib/buildpad/hooks/index.ts"
|
|
@@ -6383,6 +6431,10 @@ function loadRegistry() {
|
|
|
6383
6431
|
{
|
|
6384
6432
|
"source": "ui-interfaces/src/list-m2m/ListM2MInterface.tsx",
|
|
6385
6433
|
"target": "components/ui/list-m2m-interface.tsx"
|
|
6434
|
+
},
|
|
6435
|
+
{
|
|
6436
|
+
"source": "ui-interfaces/src/list-m2m/translations.ts",
|
|
6437
|
+
"target": "components/ui/list-m2m/translations.ts"
|
|
6386
6438
|
}
|
|
6387
6439
|
],
|
|
6388
6440
|
"dependencies": [
|
|
@@ -6397,7 +6449,8 @@ function loadRegistry() {
|
|
|
6397
6449
|
],
|
|
6398
6450
|
"registryDependencies": [
|
|
6399
6451
|
"collection-form",
|
|
6400
|
-
"collection-list"
|
|
6452
|
+
"collection-list",
|
|
6453
|
+
"list-m2a"
|
|
6401
6454
|
],
|
|
6402
6455
|
"interface": {
|
|
6403
6456
|
"id": "list-m2m",
|
|
@@ -6417,14 +6470,18 @@ function loadRegistry() {
|
|
|
6417
6470
|
}
|
|
6418
6471
|
},
|
|
6419
6472
|
{
|
|
6420
|
-
"name": "
|
|
6421
|
-
"title": "
|
|
6422
|
-
"description": "Many-to-One
|
|
6473
|
+
"name": "select-dropdown-m2o",
|
|
6474
|
+
"title": "SelectDropdownM2O",
|
|
6475
|
+
"description": "Many-to-One dropdown selector with search and modal",
|
|
6423
6476
|
"category": "relational",
|
|
6424
6477
|
"files": [
|
|
6425
6478
|
{
|
|
6426
|
-
"source": "ui-interfaces/src/
|
|
6427
|
-
"target": "components/ui/
|
|
6479
|
+
"source": "ui-interfaces/src/select-dropdown-m2o/SelectDropdownM2O.tsx",
|
|
6480
|
+
"target": "components/ui/select-dropdown-m2o.tsx"
|
|
6481
|
+
},
|
|
6482
|
+
{
|
|
6483
|
+
"source": "ui-interfaces/src/select-dropdown-m2o/SelectDropdownM2OInterface.tsx",
|
|
6484
|
+
"target": "components/ui/select-dropdown-m2o-interface.tsx"
|
|
6428
6485
|
}
|
|
6429
6486
|
],
|
|
6430
6487
|
"dependencies": [
|
|
@@ -6442,7 +6499,7 @@ function loadRegistry() {
|
|
|
6442
6499
|
"collection-list"
|
|
6443
6500
|
],
|
|
6444
6501
|
"interface": {
|
|
6445
|
-
"id": "
|
|
6502
|
+
"id": "select-dropdown-m2o",
|
|
6446
6503
|
"name": "Many to One",
|
|
6447
6504
|
"icon": "IconArrowRight",
|
|
6448
6505
|
"types": [
|
|
@@ -6458,13 +6515,14 @@ function loadRegistry() {
|
|
|
6458
6515
|
"order": 3,
|
|
6459
6516
|
"supported": true,
|
|
6460
6517
|
"recommended": true,
|
|
6461
|
-
"hasOptions": true
|
|
6518
|
+
"hasOptions": true,
|
|
6519
|
+
"aliases": ["list-m2o"]
|
|
6462
6520
|
}
|
|
6463
6521
|
},
|
|
6464
6522
|
{
|
|
6465
6523
|
"name": "list-o2m",
|
|
6466
6524
|
"title": "ListO2M",
|
|
6467
|
-
"description": "One-to-Many relationship interface",
|
|
6525
|
+
"description": "One-to-Many relationship interface with changeset staging, permission gates, batch edit, drag-and-drop reorder, unique FK / singleton guards, nested template rendering, and dynamic filter interpolation",
|
|
6468
6526
|
"category": "relational",
|
|
6469
6527
|
"files": [
|
|
6470
6528
|
{
|
|
@@ -6512,6 +6570,14 @@ function loadRegistry() {
|
|
|
6512
6570
|
{
|
|
6513
6571
|
"source": "ui-interfaces/src/list-m2a/ListM2A.tsx",
|
|
6514
6572
|
"target": "components/ui/list-m2a.tsx"
|
|
6573
|
+
},
|
|
6574
|
+
{
|
|
6575
|
+
"source": "ui-interfaces/src/list-m2a/JunctionItemForm.tsx",
|
|
6576
|
+
"target": "components/ui/list-m2a/JunctionItemForm.tsx"
|
|
6577
|
+
},
|
|
6578
|
+
{
|
|
6579
|
+
"source": "ui-interfaces/src/list-m2a/render-template.ts",
|
|
6580
|
+
"target": "components/ui/list-m2a/render-template.ts"
|
|
6515
6581
|
}
|
|
6516
6582
|
],
|
|
6517
6583
|
"dependencies": [
|
|
@@ -6641,6 +6707,69 @@ function loadRegistry() {
|
|
|
6641
6707
|
"hasOptions": true
|
|
6642
6708
|
}
|
|
6643
6709
|
},
|
|
6710
|
+
{
|
|
6711
|
+
"name": "group-accordion",
|
|
6712
|
+
"title": "GroupAccordion",
|
|
6713
|
+
"description": "Accordion-style group with expandable sections",
|
|
6714
|
+
"category": "layout",
|
|
6715
|
+
"files": [
|
|
6716
|
+
{
|
|
6717
|
+
"source": "ui-interfaces/src/group-accordion/GroupAccordion.tsx",
|
|
6718
|
+
"target": "components/ui/group-accordion.tsx"
|
|
6719
|
+
}
|
|
6720
|
+
],
|
|
6721
|
+
"dependencies": [
|
|
6722
|
+
"@mantine/core",
|
|
6723
|
+
"@tabler/icons-react"
|
|
6724
|
+
],
|
|
6725
|
+
"internalDependencies": [],
|
|
6726
|
+
"interface": {
|
|
6727
|
+
"id": "group-accordion",
|
|
6728
|
+
"name": "Accordion Group",
|
|
6729
|
+
"icon": "IconLayoutList",
|
|
6730
|
+
"types": [
|
|
6731
|
+
"alias"
|
|
6732
|
+
],
|
|
6733
|
+
"localTypes": [
|
|
6734
|
+
"group"
|
|
6735
|
+
],
|
|
6736
|
+
"group": "group",
|
|
6737
|
+
"order": 2,
|
|
6738
|
+
"supported": true,
|
|
6739
|
+
"hasOptions": true
|
|
6740
|
+
}
|
|
6741
|
+
},
|
|
6742
|
+
{
|
|
6743
|
+
"name": "group-raw",
|
|
6744
|
+
"title": "GroupRaw",
|
|
6745
|
+
"description": "Transparent group wrapper that renders children inline",
|
|
6746
|
+
"category": "layout",
|
|
6747
|
+
"files": [
|
|
6748
|
+
{
|
|
6749
|
+
"source": "ui-interfaces/src/group-raw/GroupRaw.tsx",
|
|
6750
|
+
"target": "components/ui/group-raw.tsx"
|
|
6751
|
+
}
|
|
6752
|
+
],
|
|
6753
|
+
"dependencies": [
|
|
6754
|
+
"@mantine/core"
|
|
6755
|
+
],
|
|
6756
|
+
"internalDependencies": [],
|
|
6757
|
+
"interface": {
|
|
6758
|
+
"id": "group-raw",
|
|
6759
|
+
"name": "Raw Group",
|
|
6760
|
+
"icon": "IconSquare",
|
|
6761
|
+
"types": [
|
|
6762
|
+
"alias"
|
|
6763
|
+
],
|
|
6764
|
+
"localTypes": [
|
|
6765
|
+
"group"
|
|
6766
|
+
],
|
|
6767
|
+
"group": "group",
|
|
6768
|
+
"order": 3,
|
|
6769
|
+
"supported": true,
|
|
6770
|
+
"hasOptions": false
|
|
6771
|
+
}
|
|
6772
|
+
},
|
|
6644
6773
|
{
|
|
6645
6774
|
"name": "slider",
|
|
6646
6775
|
"title": "Slider",
|
|
@@ -6702,7 +6831,8 @@ function loadRegistry() {
|
|
|
6702
6831
|
"@tiptap/extension-subscript",
|
|
6703
6832
|
"@tiptap/extension-placeholder",
|
|
6704
6833
|
"@tiptap/extension-color",
|
|
6705
|
-
"@tiptap/extension-text-style"
|
|
6834
|
+
"@tiptap/extension-text-style",
|
|
6835
|
+
"@tiptap/extension-underline"
|
|
6706
6836
|
],
|
|
6707
6837
|
"internalDependencies": [],
|
|
6708
6838
|
"interface": {
|
|
@@ -6802,6 +6932,10 @@ function loadRegistry() {
|
|
|
6802
6932
|
"source": "ui-form/src/components/FormFieldInterface.tsx",
|
|
6803
6933
|
"target": "components/ui/vform/components/FormFieldInterface.tsx"
|
|
6804
6934
|
},
|
|
6935
|
+
{
|
|
6936
|
+
"source": "ui-form/src/components/FormGroupField.tsx",
|
|
6937
|
+
"target": "components/ui/vform/components/FormGroupField.tsx"
|
|
6938
|
+
},
|
|
6805
6939
|
{
|
|
6806
6940
|
"source": "ui-form/src/components/index.ts",
|
|
6807
6941
|
"target": "components/ui/vform/components/index.ts"
|
|
@@ -6862,12 +6996,14 @@ function loadRegistry() {
|
|
|
6862
6996
|
"files",
|
|
6863
6997
|
"upload",
|
|
6864
6998
|
"list-m2m",
|
|
6865
|
-
"
|
|
6999
|
+
"select-dropdown-m2o",
|
|
6866
7000
|
"list-o2m",
|
|
6867
7001
|
"list-m2a",
|
|
6868
7002
|
"divider",
|
|
6869
7003
|
"notice",
|
|
6870
7004
|
"group-detail",
|
|
7005
|
+
"group-accordion",
|
|
7006
|
+
"group-raw",
|
|
6871
7007
|
"rich-text-html",
|
|
6872
7008
|
"rich-text-markdown",
|
|
6873
7009
|
"map",
|